

/* Start:/local/css/eurospace-home-demo.css?178505610842737*/
/* EUROSPACE: общие стили двух тестовых главных */
.es-demo{--brown:#52291c;--dark:#35170f;--cream:#f7f2ee;--line:#e2d7d0;--muted:#786a64;color:var(--brown);background:#fff}.es-demo *{box-sizing:border-box}.es-demo h1,.es-demo h2,.es-demo h3,.es-demo p{margin-top:0}.es-demo h1{max-width:850px;margin-bottom:22px;font-size:clamp(34px,4vw,58px);line-height:1.06;color:var(--dark)}.es-demo h2{margin-bottom:12px;font-size:clamp(28px,3vw,42px);line-height:1.12;color:var(--dark)}.es-demo h3{color:var(--dark)}.es-demo-switch{border-bottom:1px solid var(--line)}.es-demo-switch .container{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:10px;padding-bottom:10px;font-size:14px}.es-demo-switch span{color:var(--muted)}.es-demo-switch a{padding:6px 13px;border:1px solid var(--line);border-radius:999px;text-decoration:none}.es-demo-switch a.is-active{border-color:var(--brown);color:#fff;background:var(--brown)}
.es-demo-hero{padding:54px 0}.es-demo-hero--light{background:radial-gradient(circle at 86% 12%,rgba(122,73,55,.13),transparent 28%),linear-gradient(135deg,#fff 0%,#fbf7f4 62%,#efe5de 100%)}.es-demo-hero--dark{color:#fff;background:linear-gradient(110deg,#2f140d,#6a3827)}.es-demo-hero--dark h1,.es-demo-hero--dark h2,.es-demo-hero--dark .es-demo-lead{color:#fff}.es-demo-hero__grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr);gap:48px;align-items:center}.es-demo-kicker{display:block;margin-bottom:12px;color:#885946;font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.es-demo-hero--dark .es-demo-kicker,.es-demo-contact-band .es-demo-kicker{color:#dec3b4}.es-demo-lead{max-width:760px;margin-bottom:28px;color:var(--muted);font-size:19px;line-height:1.55}.es-demo-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px}.es-demo .main-btn,.es-demo-secondary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 24px;border-radius:7px;text-decoration:none}.es-demo-secondary-btn{border:1px solid var(--brown);color:var(--brown);background:transparent}.es-demo-hero--dark .es-demo-secondary-btn,.es-demo-contact-band .es-demo-secondary-btn{border-color:rgba(255,255,255,.58);color:#fff}.es-demo-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:760px}.es-demo-facts>div{padding:14px 16px;border:1px solid rgba(90,43,29,.12);border-radius:10px;background:rgba(255,255,255,.65)}.es-demo-facts strong,.es-demo-facts span{display:block}.es-demo-facts span{color:var(--muted);font-size:13px}.es-demo-hero-card{padding:30px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.92);box-shadow:0 16px 45px rgba(90,43,29,.09)}.es-demo-hero-card--dark{border-color:rgba(255,255,255,.18);color:#fff;background:rgba(255,255,255,.08);box-shadow:none}.es-demo-hero-card h2{font-size:27px}.es-demo-hero-card p,.es-demo-hero-card small{color:var(--muted);line-height:1.55}.es-demo-hero-card small{display:block;margin-top:16px}.es-demo-hero-card__label{display:inline-block;margin-bottom:12px;color:#8b5c47;font-size:13px;font-weight:700;text-transform:uppercase}.es-demo-check-list{display:grid;gap:12px;margin:20px 0 0;padding:0;list-style:none}.es-demo-check-list li{position:relative;padding-left:25px}.es-demo-check-list li:before{position:absolute;left:0;content:'✓';color:#e4c6b7}
.es-demo-section{padding:62px 0}.es-demo-section--muted{background:var(--cream)}.es-demo-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.es-demo-section-heading p{max-width:760px;margin-bottom:0;color:var(--muted);line-height:1.5}.es-demo-section-heading>a{flex:0 0 auto;font-weight:700;text-decoration:none}.es-demo-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.es-demo-service-card{position:relative;display:flex;min-height:154px;padding:22px 18px;border:1px solid var(--line);border-radius:10px;color:var(--brown);background:#fff;text-decoration:none;transition:.2s}.es-demo-service-card:hover{border-color:rgba(82,41,28,.55);color:var(--brown);transform:translateY(-3px);box-shadow:0 14px 28px rgba(90,43,29,.08)}.es-demo-service-card__num{flex:0 0 38px;color:#b89a8b;font-size:13px;font-weight:700}.es-demo-service-card__body{display:block;padding-right:15px}.es-demo-service-card__body strong,.es-demo-service-card__body span{display:block}.es-demo-service-card__body strong{margin-bottom:8px;font-size:17px;line-height:1.25}.es-demo-service-card__body span{color:var(--muted);font-size:14px;line-height:1.45}.es-demo-service-card__arrow{position:absolute;right:16px;bottom:15px;font-size:20px}
.es-demo-price-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}.es-demo-price-layout--expert{grid-template-columns:minmax(0,1fr) 360px}.es-demo-price-browser{position:relative;scroll-margin-top:120px}.es-demo-price-navigation{margin-bottom:18px}.es-demo-price-tabs,.es-demo-price-navigation .price-tabs,.es-demo-price-navigation .price-subtabs,.es-demo-price-navigation .price-languages,.es-demo-price-navigation .price-legalization{display:flex;gap:9px;margin-bottom:12px;overflow-x:auto;padding-bottom:4px}.es-demo-price-tabs a,.es-demo-price-navigation button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:6px;color:var(--brown);background:#fff;white-space:nowrap;text-decoration:none;cursor:pointer}.es-demo-price-tabs a.is-active,.es-demo-price-navigation button.active{border-color:var(--brown);color:#fff;background:var(--brown)}.es-demo-price-navigation .hidden{display:none!important}.es-demo-price-status{min-height:22px;margin-bottom:8px;color:var(--muted);font-size:14px}.es-demo-price-browser.is-loading .es-demo-price-content{opacity:.48;pointer-events:none}.es-demo-price-content{position:relative;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;transition:opacity .2s}.es-demo-price-content.is-clipped{max-height:620px}.es-demo-price-content .container{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}.es-demo-price-fade{position:absolute;right:0;bottom:0;left:0;height:110px;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 82%)}.es-demo-price-aside,.es-demo-order-sidebar{padding:26px;border:1px solid var(--line);border-radius:10px;background:#fff}.es-demo-price-aside{position:sticky;top:20px}.es-demo-price-aside p,.es-demo-order-sidebar>p{color:var(--muted);line-height:1.5}.es-demo-price-aside__contact{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.es-demo-price-aside__contact span,.es-demo-price-aside__contact a{display:block}.es-demo-price-aside__contact span{margin-bottom:6px;color:var(--muted);font-size:13px}.es-demo-price-aside__contact a{font-size:18px;font-weight:700;text-decoration:none}.es-demo-center-action{display:flex;justify-content:center;margin-top:18px}
.es-demo-order-panel{padding:30px;border:1px solid var(--line);border-radius:12px;background:var(--cream)}.es-demo-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.es-demo-order-form.is-compact .es-demo-order-grid{grid-template-columns:1fr;gap:12px}.es-demo-order-form .form-group{margin-bottom:0}.es-demo-order-form .form-control{width:100%}.es-demo-file-label{width:100%;min-height:48px}.es-demo-order-bottom{display:grid;grid-template-columns:auto minmax(280px,1fr);gap:28px;align-items:start;margin-top:22px}.es-demo-order-form.is-compact .es-demo-order-bottom{grid-template-columns:1fr;gap:14px}.es-demo-submit{position:relative;min-width:190px}.es-demo-consents{display:grid;gap:8px}.es-demo-consents label{margin-bottom:0}.es-demo-trust{padding:35px 0;border-top:1px solid var(--line)}.es-demo-trust__grid,.es-demo-expertise{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.es-demo-trust__grid strong,.es-demo-trust__grid span{display:block}.es-demo-trust__grid span{color:var(--muted);font-size:14px}.es-demo-metrics{border-bottom:1px solid var(--line)}.es-demo-metrics__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.es-demo-metrics__grid>div{padding:22px 24px;border-right:1px solid var(--line)}.es-demo-metrics__grid>div:last-child{border-right:0}.es-demo-metrics strong,.es-demo-metrics span{display:block}.es-demo-metrics span{color:var(--muted);font-size:13px}.es-demo-expertise article{padding:24px;border-top:3px solid var(--brown);background:var(--cream)}.es-demo-expertise article>span{display:block;margin-bottom:20px;color:#ad8d7c}.es-demo-expertise p{margin-bottom:0;color:var(--muted);line-height:1.5}.es-demo-contact-band{padding:48px 0;color:#fff;background:var(--dark)}.es-demo-contact-band .container{display:flex;align-items:center;justify-content:space-between;gap:28px}.es-demo-contact-band h2{max-width:780px;margin-bottom:0;color:#fff}.es-demo-contact-band__actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:1200px){.es-demo-services,.es-demo-expertise{grid-template-columns:repeat(2,minmax(0,1fr))}.es-demo-trust__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:992px){.es-demo-hero__grid,.es-demo-price-layout,.es-demo-price-layout--expert{grid-template-columns:1fr}.es-demo-price-aside{position:static}.es-demo-metrics__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.es-demo-contact-band .container{align-items:flex-start;flex-direction:column}}@media(max-width:768px){.es-demo-hero,.es-demo-section{padding:42px 0}.es-demo-section-heading{align-items:flex-start;flex-direction:column}.es-demo-facts,.es-demo-order-grid,.es-demo-order-bottom,.es-demo-services,.es-demo-expertise,.es-demo-trust__grid{grid-template-columns:1fr}.es-demo-order-panel,.es-demo-price-aside,.es-demo-order-sidebar,.es-demo-hero-card{padding:20px}}@media(max-width:520px){.es-demo h1{font-size:34px}.es-demo h2{font-size:28px}.es-demo-lead{font-size:17px}.es-demo-metrics__grid{grid-template-columns:1fr}.es-demo-actions,.es-demo-contact-band__actions{flex-direction:column;align-items:stretch}}


/* v3: постоянные индексируемые подменю прайса */

.es-demo-price-nav-levels {
    display: grid;
    gap: 10px;
}

.es-demo-price-tabs--main {
    margin-bottom: 0 !important;
}

.es-demo-price-submenu-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.es-demo-price-submenu-row__title {
    margin-right: 2px;
    color: var(--brown-dark);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.es-demo-price-submenu-row__divider {
    width: 1px;
    height: 28px;
    margin: 0 4px;
    background: var(--line);
}

.es-demo-price-submenu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.es-demo-price-submenu-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--brown);
    background: #fff;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    transition:
        border-color .2s ease,
        color .2s ease,
        background .2s ease;
}

.es-demo-price-submenu-links a:hover {
    border-color: var(--brown);
    color: var(--brown);
}

.es-demo-price-submenu-links a.is-active {
    border-color: var(--brown);
    color: #fff;
    background: var(--brown);
}

@media (max-width: 992px) {
    .es-demo-price-submenu-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .es-demo-price-submenu-row__divider {
        width: 100%;
        height: 1px;
        margin: 3px 0;
    }
}

@media (max-width: 520px) {
    .es-demo-price-submenu-links {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .es-demo-price-submenu-links a {
        justify-content: flex-start;
        width: 100%;
    }
}


/* v4: исправление переполнения прайса и адаптивной сетки */

.es-demo {
    overflow-x: hidden;
}

.es-demo-price-layout,
.es-demo-price-layout > *,
.es-demo-price-browser,
.es-demo-price-navigation,
.es-demo-price-nav-levels {
    min-width: 0;
}

.es-demo-price-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 290px);
}

.es-demo-price-layout--expert {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.es-demo-price-tabs--main {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

.es-demo-price-tabs--main a {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 9px 10px;
    white-space: normal !important;
    text-align: center;
    line-height: 1.2;
}

.es-demo-price-submenu-row--translations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.es-demo-price-submenu-group {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 9px;
    min-width: 0;
    padding: 3px;
}

.es-demo-price-submenu-group + .es-demo-price-submenu-group {
    padding-left: 16px;
    border-left: 1px solid var(--line);
}

.es-demo-price-submenu-row--translations .es-demo-price-submenu-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.es-demo-price-submenu-row--translations .es-demo-price-submenu-links a {
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
    white-space: normal;
    text-align: center;
}

.es-demo-price-submenu-row--legalization {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
}

.es-demo-price-submenu-row--legalization .es-demo-price-submenu-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 130px));
    width: 100%;
}

.es-demo-price-submenu-row--legalization .es-demo-price-submenu-links a {
    width: 100%;
}

@media (max-width: 1280px) {
    .es-demo-price-layout,
    .es-demo-price-layout--expert {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-price-aside {
        position: static;
    }

    .es-demo-price-aside,
    .es-demo-order-sidebar {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .es-demo-price-tabs--main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-demo-price-submenu-row--translations {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-price-submenu-group + .es-demo-price-submenu-group {
        padding-top: 14px;
        padding-left: 3px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .es-demo-price-submenu-row--legalization {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 9px;
    }
}

@media (max-width: 680px) {
    .es-demo-price-submenu-row--translations .es-demo-price-submenu-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-price-submenu-row--legalization .es-demo-price-submenu-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-demo-price-submenu-links a {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .es-demo-price-tabs--main,
    .es-demo-price-submenu-row--legalization .es-demo-price-submenu-links {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* v5: два варианта поведения подменю */

/* Версия 1: Перевод и Легализация не дублируются в верхнем меню. */
.es-demo-price-nav-levels--persistent .es-demo-price-tabs--main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Версия 2: строка появляется только для выбранного раздела. */
.es-demo-price-nav-levels--contextual [data-price-submenu] {
    display: none;
}

.es-demo-price-nav-levels--contextual [data-price-submenu].is-visible {
    display: grid;
    animation: esDemoSubmenuIn .22s ease both;
}

@keyframes esDemoSubmenuIn {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .es-demo-price-nav-levels--persistent .es-demo-price-tabs--main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .es-demo-price-nav-levels--persistent .es-demo-price-tabs--main {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* v6: адрес раздела меняется через History API */
.es-demo-price-browser {
    scroll-margin-top: 18px;
}


/* v8: заголовок выбранного прайса и описание услуги */

.es-demo-price-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: start;
    margin: 8px 0 18px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.es-demo-price-heading__text {
    min-width: 0;
}

.es-demo-price-heading__text .es-demo-kicker {
    margin-bottom: 7px;
}

.es-demo-price-heading h3 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(23px, 2.2vw, 32px);
    line-height: 1.18;
}

.es-demo-price-description {
    width: min(100%, 310px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    overflow: hidden;
}

.es-demo-price-description summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    padding: 11px 15px;
    color: var(--brown);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.es-demo-price-description summary::-webkit-details-marker {
    display: none;
}

.es-demo-price-description summary:hover {
    background: rgba(82, 41, 28, .05);
}

.es-demo-price-description__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

.es-demo-price-description[open]
    .es-demo-price-description__icon {
    transform: rotate(45deg);
}

.es-demo-price-description__body {
    padding: 0 15px 15px;
    border-top: 1px solid var(--line);
}

.es-demo-price-description__body p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 760px) {
    .es-demo-price-heading {
        grid-template-columns: minmax(0, 1fr);
        padding: 17px;
    }

    .es-demo-price-description {
        width: 100%;
        max-width: none;
    }
}


/* v9: компактная кнопка под названием, описание на всю ширину */

.es-demo-price-heading {
    display: block;
    padding: 20px 22px;
}

.es-demo-price-heading__text {
    display: block;
    width: 100%;
}

.es-demo-price-heading h3 {
    max-width: none;
}

.es-demo-price-description {
    display: block;
    width: 100%;
    max-width: none;
    margin-top: 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.es-demo-price-description summary {
    display: inline-flex;
    width: auto;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--brown);
    background: var(--cream);
    font-size: 14px;
    line-height: 1.2;
}

.es-demo-price-description summary:hover {
    border-color: var(--brown);
    background: rgba(82, 41, 28, .06);
}

.es-demo-price-description__icon {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
    font-size: 16px;
}

.es-demo-price-description__body {
    width: 100%;
    margin-top: 10px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
}

.es-demo-price-description__body p {
    margin: 0;
}

@media (max-width: 760px) {
    .es-demo-price-heading {
        padding: 17px;
    }

    .es-demo-price-description summary {
        min-height: 32px;
        padding: 5px 9px;
        font-size: 13px;
    }

    .es-demo-price-description__body {
        padding: 14px;
    }
}


/* v10: компактная вертикальная компоновка */

/* Основные секции */
.es-demo-section {
    padding-top: 34px;
    padding-bottom: 34px;
}

.es-demo-section-heading {
    margin-bottom: 18px;
}

.es-demo-section-heading h2 {
    margin-bottom: 6px;
}

.es-demo-section-heading p {
    margin-top: 6px;
}

/* Первый экран */
.es-demo-hero {
    padding-top: 36px;
    padding-bottom: 36px;
}

.es-demo-hero h1 {
    margin-bottom: 14px;
}

.es-demo-lead {
    margin-bottom: 20px;
}

.es-demo-actions {
    margin-bottom: 22px;
}

/* Блок услуг */
.es-demo-services {
    gap: 10px;
}

.es-demo-service-card {
    min-height: 118px;
    padding: 16px 15px;
}

.es-demo-service-card__num {
    flex-basis: 30px;
}

.es-demo-service-card__body strong {
    margin-bottom: 5px;
    font-size: 16px;
}

.es-demo-service-card__body span {
    font-size: 13px;
    line-height: 1.35;
}

.es-demo-service-card__arrow {
    right: 13px;
    bottom: 10px;
}

/* Навигация прайса */
.es-demo-price-tabs {
    margin-bottom: 12px;
}

.es-demo-price-nav-levels {
    gap: 8px;
}

.es-demo-price-submenu-row {
    padding: 8px 10px;
}

.es-demo-price-submenu-row--translations {
    gap: 10px;
}

.es-demo-price-submenu-group {
    gap: 7px;
}

.es-demo-price-submenu-group + .es-demo-price-submenu-group {
    padding-left: 12px;
}

/* Заголовок выбранного прайса */
.es-demo-price-heading {
    margin-top: 10px;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.es-demo-price-heading__text .es-demo-kicker {
    margin-bottom: 4px;
}

.es-demo-price-heading h3 {
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.12;
}

.es-demo-price-description {
    margin-top: 9px;
}

.es-demo-price-description__body {
    margin-top: 8px;
    padding: 12px 14px;
}

/* Прайс и боковой блок */
.es-demo-price-layout {
    gap: 18px;
}

.es-demo-price-aside,
.es-demo-order-sidebar {
    padding: 20px;
}

.es-demo-price-aside h3,
.es-demo-order-sidebar h3 {
    margin-bottom: 8px;
}

/* Форма */
.es-demo-order-panel {
    padding: 22px;
}

.es-demo-order-grid {
    gap: 13px;
}

.es-demo-order-bottom {
    margin-top: 16px;
}

/* Преимущества и нижние блоки */
.es-demo-trust {
    padding-top: 24px;
    padding-bottom: 24px;
}

.es-demo-metrics__grid > div {
    padding: 16px 20px;
}

.es-demo-expertise {
    gap: 12px;
}

.es-demo-expertise article {
    padding: 18px;
}

.es-demo-expertise article > span {
    margin-bottom: 12px;
}

.es-demo-contact-band {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Убираем лишнее пространство, которое иногда создают
   вложенные контейнеры старых шаблонов прайса */
.es-demo-price-content > .translation-section_body,
.es-demo-price-content > .translation-section_mod-body,
.es-demo-price-content > .unified-inner_section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.es-demo-price-content > .translation-section_body > .container,
.es-demo-price-content > .translation-section_mod-body > .container,
.es-demo-price-content > .unified-inner_section > .container {
    padding-top: 0 !important;
}

/* Уменьшаем отступ перед самой таблицей */
.es-demo-price-content .translation-section_body,
.es-demo-price-content .translation-section_mod-body,
.es-demo-price-content .unified-inner_section {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .es-demo-section {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .es-demo-hero {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .es-demo-section-heading {
        margin-bottom: 15px;
    }

    .es-demo-service-card {
        min-height: 104px;
        padding: 14px;
    }

    .es-demo-price-heading {
        padding: 13px 14px;
    }

    .es-demo-order-panel,
    .es-demo-price-aside,
    .es-demo-order-sidebar {
        padding: 16px;
    }
}


/* v11: максимально компактный заголовок блока услуг */

.es-demo-section--services {
    padding-top: 18px;
    padding-bottom: 22px;
}

.es-demo-section-heading--services {
    display: block;
    margin: 0 0 8px;
    padding: 0;
}

.es-demo-section-heading--services > div {
    display: block;
    margin: 0;
    padding: 0;
}

.es-demo-section-heading--services h2 {
    display: block;
    margin: 0 0 2px !important;
    padding: 0 !important;
    line-height: 1.08;
}

/* Отключаем декоративные точки/линии и их скрытую высоту
   из основного шаблона сайта. */
.es-demo-section-heading--services h2::before,
.es-demo-section-heading--services h2::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    content: none !important;
}

.es-demo-section-heading--services p {
    display: block;
    max-width: 1100px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.35;
}

/* Расстояние от пояснения до карточек оставляем небольшим,
   но визуально различимым. */
.es-demo-section-heading--services + .es-demo-services {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .es-demo-section--services {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .es-demo-section-heading--services {
        margin-bottom: 6px;
    }

    .es-demo-section-heading--services h2 {
        margin-bottom: 2px !important;
    }

    .es-demo-section-heading--services + .es-demo-services {
        margin-top: 6px;
    }
}


/* v12: только содержательные элементы без служебных подписей */

/* Убираем декоративные точки/линии во всех заголовках демо-страниц. */
.es-demo .es-demo-section-heading h2::before,
.es-demo .es-demo-section-heading h2::after,
.es-demo .es-demo-price-heading h3::before,
.es-demo .es-demo-price-heading h3::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    content: none !important;
}

/* После удаления подписи и пояснения заголовок прайса
   располагается непосредственно над меню. */
.es-demo-section--muted .es-demo-section-heading {
    margin-bottom: 10px;
}

.es-demo-section--muted .es-demo-section-heading h2 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Название выбранного раздела без дополнительной подписи. */
.es-demo-price-heading {
    margin-top: 8px;
    margin-bottom: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.es-demo-price-heading__text .es-demo-kicker {
    display: none !important;
}

.es-demo-price-heading h3 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Удалённые абзацы не должны оставлять пустое место. */
.es-demo-section-heading > div:empty,
.es-demo-section-heading p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ============================================================
   v13: полноценная мобильная адаптация
   ============================================================ */

.es-demo {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.es-demo img,
.es-demo svg,
.es-demo video,
.es-demo iframe {
    max-width: 100%;
    height: auto;
}

.es-demo a,
.es-demo button,
.es-demo summary,
.es-demo input,
.es-demo textarea,
.es-demo select {
    touch-action: manipulation;
}

/* Планшеты и небольшие ноутбуки */
@media (max-width: 1024px) {
    .es-demo > section > .container,
    .es-demo-switch > .container {
        width: auto !important;
        max-width: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .es-demo-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .es-demo-hero-card {
        width: 100%;
        max-width: none;
    }

    .es-demo-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-demo-price-layout,
    .es-demo-price-layout--expert {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-price-aside,
    .es-demo-order-sidebar {
        position: static;
        width: 100%;
        max-width: none;
    }

    .es-demo-trust__grid,
    .es-demo-expertise {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Телефоны */
@media (max-width: 767px) {
    .es-demo {
        --mobile-pad: 14px;
    }

    .es-demo > section > .container,
    .es-demo-switch > .container {
        padding-right: var(--mobile-pad) !important;
        padding-left: var(--mobile-pad) !important;
    }

    /* Переключатель тестовых версий */
    .es-demo-switch .container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }

    .es-demo-switch span {
        display: none;
    }

    .es-demo-switch a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 38px;
        padding: 6px 8px;
        border-radius: 7px;
        font-size: 12px;
        line-height: 1.15;
        text-align: center;
    }

    /* Типографика */
    .es-demo h1 {
        max-width: none;
        margin-bottom: 10px;
        font-size: clamp(29px, 9vw, 38px);
        line-height: 1.06;
    }

    .es-demo h2 {
        margin-bottom: 5px;
        font-size: clamp(25px, 7.5vw, 31px);
        line-height: 1.08;
    }

    .es-demo h3 {
        font-size: 21px;
        line-height: 1.15;
    }

    .es-demo-kicker {
        margin-bottom: 6px;
        font-size: 11px;
        letter-spacing: .07em;
    }

    /* Первый экран */
    .es-demo-hero {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .es-demo-hero__grid {
        gap: 14px;
    }

    .es-demo-lead {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.4;
    }

    .es-demo-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 12px;
    }

    .es-demo .main-btn,
    .es-demo-secondary-btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 9px 10px;
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
    }

    .es-demo-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        max-width: none;
    }

    .es-demo-facts > div {
        min-width: 0;
        padding: 8px 7px;
        border-radius: 7px;
    }

    .es-demo-facts strong {
        font-size: 14px;
        line-height: 1.15;
    }

    .es-demo-facts span {
        margin-top: 2px;
        font-size: 10px;
        line-height: 1.2;
    }

    .es-demo-hero-card {
        padding: 15px;
        border-radius: 9px;
        box-shadow: none;
    }

    .es-demo-hero-card h2 {
        margin-bottom: 6px;
        font-size: 22px;
    }

    .es-demo-hero-card p {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.35;
    }

    .es-demo-hero-card small {
        margin-top: 9px;
        font-size: 12px;
    }

    .es-demo-check-list {
        gap: 7px;
        margin-top: 10px;
        font-size: 14px;
    }

    /* Секции */
    .es-demo-section,
    .es-demo-section--services {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .es-demo-section-heading,
    .es-demo-section-heading--services {
        display: block;
        margin-bottom: 8px;
    }

    .es-demo-section-heading p,
    .es-demo-section-heading--services p {
        margin: 2px 0 0 !important;
        font-size: 14px;
        line-height: 1.35;
    }

    /* Карточки услуг: две компактные карточки в ряд */
    .es-demo-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .es-demo-service-card {
        min-height: 90px;
        padding: 11px 10px;
        border-radius: 8px;
    }

    .es-demo-service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .es-demo-service-card__num {
        flex-basis: 25px;
        font-size: 11px;
    }

    .es-demo-service-card__body {
        min-width: 0;
        padding-right: 8px;
    }

    .es-demo-service-card__body strong {
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .es-demo-service-card__body span {
        display: none;
    }

    .es-demo-service-card__arrow {
        right: 8px;
        bottom: 6px;
        font-size: 17px;
    }

    /* Прайс */
    .es-demo-price-layout {
        gap: 12px;
    }

    .es-demo-price-navigation {
        margin-bottom: 8px;
    }

    .es-demo-price-nav-levels {
        gap: 6px;
    }

    .es-demo-price-tabs--main,
    .es-demo-price-nav-levels--persistent .es-demo-price-tabs--main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .es-demo-price-tabs--main a {
        min-height: 44px;
        padding: 7px 6px;
        border-radius: 6px;
        font-size: 13px;
        line-height: 1.15;
    }

    .es-demo-price-submenu-row,
    .es-demo-price-submenu-row--translations,
    .es-demo-price-submenu-row--legalization {
        padding: 8px;
        border-radius: 7px;
    }

    .es-demo-price-submenu-row--translations {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .es-demo-price-submenu-group {
        gap: 5px;
        padding: 0;
    }

    .es-demo-price-submenu-group + .es-demo-price-submenu-group {
        padding-top: 8px;
        padding-left: 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .es-demo-price-submenu-row__title {
        font-size: 12px;
        line-height: 1.25;
        white-space: normal;
    }

    .es-demo-price-submenu-row--translations
        .es-demo-price-submenu-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .es-demo-price-submenu-row--legalization {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .es-demo-price-submenu-row--legalization
        .es-demo-price-submenu-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .es-demo-price-submenu-links a {
        min-height: 42px;
        padding: 6px 4px;
        border-radius: 5px;
        font-size: 12px;
        line-height: 1.12;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .es-demo-price-status {
        min-height: 0;
        margin: 0;
        font-size: 12px;
    }

    .es-demo-price-heading {
        margin-top: 7px;
        margin-bottom: 8px;
        padding: 11px 12px;
        border-radius: 8px;
    }

    .es-demo-price-heading h3 {
        font-size: 21px;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .es-demo-price-description {
        margin-top: 7px;
    }

    .es-demo-price-description summary {
        min-height: 38px;
        padding: 7px 9px;
        font-size: 13px;
    }

    .es-demo-price-description__body {
        margin-top: 6px;
        padding: 11px;
        font-size: 14px;
    }

    /* Широкие таблицы не растягивают страницу:
       прокручивается только содержимое прайса */
    .es-demo-price-content {
        max-width: 100%;
        border-radius: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .es-demo-price-content table {
        min-width: 620px;
    }

    .es-demo-price-content th,
    .es-demo-price-content td {
        font-size: 14px;
    }

    .es-demo-price-content button,
    .es-demo-price-content .btn-order {
        min-height: 40px;
    }

    /* Боковая карточка после прайса */
    .es-demo-price-aside,
    .es-demo-order-sidebar {
        padding: 14px;
        border-radius: 8px;
    }

    .es-demo-price-aside h3,
    .es-demo-order-sidebar h3 {
        margin-bottom: 6px;
        font-size: 21px;
    }

    .es-demo-price-aside p,
    .es-demo-order-sidebar > p {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.35;
    }

    .es-demo-price-aside__contact {
        margin-top: 12px;
        padding-top: 11px;
    }

    /* Формы */
    .es-demo-order-panel {
        padding: 13px;
        border-radius: 8px;
    }

    .es-demo-order-grid,
    .es-demo-order-form.is-compact .es-demo-order-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .es-demo-order-form input[type="text"],
    .es-demo-order-form input[type="email"],
    .es-demo-order-form input[type="tel"],
    .es-demo-order-form textarea,
    .es-demo-order-form select {
        min-height: 44px;
        font-size: 16px !important;
    }

    .es-demo-order-form textarea {
        min-height: 96px;
    }

    .es-demo-file-label {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 9px 10px;
        text-align: center;
    }

    .es-demo-order-bottom,
    .es-demo-order-form.is-compact .es-demo-order-bottom {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 11px;
    }

    .es-demo-submit {
        width: 100%;
        min-width: 0;
    }

    .es-demo-consents {
        gap: 6px;
        font-size: 12px;
        line-height: 1.3;
    }

    /* Новости, преимущества, контакты */
    .es-demo-news-limit .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .es-demo-trust {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .es-demo-trust__grid,
    .es-demo-expertise {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .es-demo-trust__grid > div,
    .es-demo-expertise article {
        padding: 12px;
    }

    .es-demo-contact-band {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .es-demo-contact-band .container,
    .es-demo-contact-band__actions {
        width: 100%;
    }

    .es-demo-contact-band__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-metrics__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-demo-metrics__grid > div {
        padding: 12px;
    }
}

/* Узкие телефоны */
@media (max-width: 420px) {
    .es-demo {
        --mobile-pad: 11px;
    }

    .es-demo-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-hero-card {
        padding: 13px;
    }

    .es-demo-facts > div {
        padding: 7px 4px;
    }

    .es-demo-facts strong {
        font-size: 13px;
    }

    .es-demo-facts span {
        font-size: 9px;
    }

    .es-demo-price-tabs--main,
    .es-demo-price-nav-levels--persistent .es-demo-price-tabs--main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .es-demo-price-submenu-row--translations
        .es-demo-price-submenu-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .es-demo-price-submenu-links a {
        font-size: 11px;
    }

    .es-demo-price-content table {
        min-width: 580px;
    }
}

/* Очень узкие экраны */
@media (max-width: 350px) {
    .es-demo-services {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-price-tabs--main,
    .es-demo-price-nav-levels--persistent .es-demo-price-tabs--main {
        grid-template-columns: minmax(0, 1fr);
    }

    .es-demo-price-submenu-row--translations
        .es-demo-price-submenu-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* На сенсорных устройствах не применяем hover-сдвиги */
@media (hover: none) and (pointer: coarse) {
    .es-demo-service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .es-demo a,
    .es-demo button,
    .es-demo summary {
        -webkit-tap-highlight-color: rgba(82, 41, 28, .12);
    }
}


/* v14: новый адаптивный карточный прайс */
.es-demo-price-content .es-price-list {
    min-width: 0;
    max-width: 100%;
}

.es-demo-price-content .es-price-card {
    max-width: 100%;
}


/* v15: на мобильном блок перевода показывается первым */

@media (max-width: 767px) {
    .es-demo-price-nav-levels {
        display: flex;
        flex-direction: column;
    }

    .es-demo-price-submenu-row--translations {
        order: 1;
    }

    .es-demo-price-tabs--main {
        order: 2;
    }

    .es-demo-price-submenu-row--legalization {
        order: 3;
    }
}


/* v16: блоки перевода первыми на всех экранах */

.es-demo-price-nav-levels {
    display: flex;
    flex-direction: column;
}

.es-demo-price-submenu-row--translations {
    order: 1;
}

.es-demo-price-tabs--main {
    order: 2;
}

.es-demo-price-submenu-row--legalization {
    order: 3;
}

/* End */
/* /local/css/eurospace-home-demo.css?178505610842737 */
