/* =====================================================================
   Стоматология «Ченгши» — stom-chengshi.ru
   Восточноазиатская тема: тушь и рисовая бумага, киноварь и латунь,
   лунные арки (лунные ворота), решётка меандр, печати-иероглифы.
   Bootstrap — только сетка и раскрывающиеся блоки.
   ===================================================================== */

:root {
    --aqua:      #16A8AD;   /* аквамарин — основной цвет */
    --aqua-dk:   #0D7F85;
    --aqua-lt:   #7FD4D2;
    --aqua-soft: rgba(22, 168, 173, .09);
    --deep:      #0E3A3E;   /* глубокая бирюза — тёмные плашки */

    --ink:       #12292B;   /* заголовки */
    --ink-2:     #4F6668;   /* основной текст */
    --paper:     #F7FBFB;   /* фон */
    --paper-2:   #E9F5F4;   /* тон для чередования секций */
    --white:     #FFFFFF;

    --line:      rgba(22, 168, 173, .30);
    --line-soft: rgba(18, 41, 43, .11);
    --line-inv:  rgba(127, 212, 210, .3);

    --disp: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --sans: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    --gut: clamp(20px, 5vw, 72px);
}

/* ---------- База ---------- */
html { scroll-behavior: auto; }

body {
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.72;
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--disp); font-weight: 700; color: var(--ink);
    letter-spacing: -.018em; line-height: 1.22;
    overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual;
}
p { margin-bottom: 1.05rem; }
a { color: var(--aqua); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--aqua-dk); text-decoration: underline; text-underline-offset: 3px; }
strong, b { color: var(--ink); font-weight: 500; }
::selection { background: var(--aqua); color: #fff; }

.display-x {
    font-family: var(--disp); font-weight: 700; letter-spacing: -.025em; line-height: 1.14;
    font-size: clamp(1.85rem, 4.1vw, 3.3rem); color: var(--ink);
    overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; text-wrap: pretty;
}
.display-s {
    font-family: var(--disp); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink);
    overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; text-wrap: pretty;
}
.lead-x { font-size: clamp(1.02rem, 1.3vw, 1.16rem); line-height: 1.68; color: var(--ink-2); }

/* ---------- Восточные мотивы ---------- */

/* Надзаголовок раздела: печать + название + латунная черта */
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.eyebrow__txt {
    font-family: var(--disp); font-weight: 600; font-size: 12px;
    letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); max-width: 180px; }
.eyebrow--inv .eyebrow__txt { color: var(--paper-2); }
.eyebrow--inv::after { background: var(--line-inv); }

/* Малый лейбл вместо технических скобок */
.lbl {
    display: block; font-family: var(--disp); font-weight: 600; font-size: 11px;
    letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-dk); margin-bottom: 10px;
}
.lbl--ink { color: var(--aqua); }

/* Порядковый иероглиф в карточке */
.num {
    display: inline-flex; justify-self: start; align-items: center; justify-content: center;
    min-width: 34px; height: 26px; padding: 0 8px; border: 1px solid var(--line); border-radius: 3px;
    font-family: var(--disp); font-weight: 700; font-size: 12px; letter-spacing: .1em;
    color: var(--aqua); line-height: 1;
}

/* Иконка направления */
.ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white);
    color: var(--aqua); font-size: 25px; line-height: 1; margin-bottom: 18px;
}
.ico i { display: block; }

/* ---------- Секции ---------- */
.sec { padding: clamp(56px, 7.5vw, 108px) 0; }
.sec--bone { background: var(--paper-2); }
.sec--ink { background: var(--deep); color: rgba(247, 251, 251, .76); }
.sec--ink h1, .sec--ink h2, .sec--ink h3, .sec--ink h4 { color: var(--paper); }

.wrap { width: min(1280px, 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-narrow { width: min(900px, 100% - var(--gut) * 2); margin-inline: auto; }

.sec-head { max-width: 940px; margin-bottom: clamp(34px, 4.4vw, 60px); }
.sec-head p { margin-top: 18px; }

/* ---------- Кнопки ---------- */
.btn-x {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--disp); font-weight: 600; font-size: 12.5px;
    letter-spacing: .13em; text-transform: uppercase;
    padding: 16px 30px; border: 1px solid var(--aqua); border-radius: 3px;
    background: var(--aqua); color: #fff; cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-x:hover, .btn-x:focus {
    background: var(--aqua-dk); border-color: var(--aqua-dk); color: #fff; text-decoration: none;
}
.btn-x--ghost {
    background: transparent; color: var(--ink); border-color: var(--aqua-dk);
    box-shadow: inset 0 0 0 1px rgba(22, 168, 173, .3);
}
.btn-x--ghost:hover { background: var(--aqua-dk); border-color: var(--aqua-dk); color: #fff; }
.btn-x--light {
    background: transparent; color: var(--paper); border-color: var(--aqua-lt);
    box-shadow: inset 0 0 0 1px rgba(217, 195, 154, .25);
}
.btn-x--light:hover { background: var(--aqua-lt); border-color: var(--aqua-lt); color: var(--ink); }
.btn-x--sm { padding: 11px 20px; font-size: 11.5px; }

/* ---------- Служебная полоса ---------- */
.strip {
    background: var(--aqua); color: rgba(247, 251, 251, .7);
    font-family: var(--disp); font-weight: 600; font-size: 11.5px; letter-spacing: .1em;
    border-bottom: 1px solid var(--aqua-dk);
}
.strip a { color: var(--paper); }
.strip a:hover { color: #fff; text-decoration: none; }
.strip__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 10px 0; }
.strip__row > div { display: flex; align-items: center; gap: 26px; }

/* ---------- Шапка ---------- */
.head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 14px 0 0; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); flex: 0 0 auto; }
.brand__name {
    display: block; font-family: var(--disp); font-weight: 700; font-size: 22px;
    letter-spacing: -.01em; color: var(--ink); line-height: 1.1;
}
.brand__sub {
    display: block; font-family: var(--disp); font-weight: 600; font-size: 10px;
    letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-dk); margin-top: 4px;
}

.nav-x {
    display: flex; align-items: center; order: 3; width: 100%;
    justify-content: space-between; gap: 4px;
    border-top: 1px solid var(--line-soft); margin-top: 14px;
}
.nav-x a {
    font-family: var(--disp); font-weight: 600; font-size: 12.5px;
    letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
    padding: 13px 0; border-bottom: 2px solid transparent; transition: color .2s ease;
}
.nav-x a:hover, .nav-x a.is-active { color: var(--aqua); border-bottom-color: var(--aqua); text-decoration: none; }

.burger {
    margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 5px;
    background: transparent; display: none; align-items: center; justify-content: center;
    font-size: 20px; color: var(--ink); cursor: pointer;
}
.head__cta { margin-left: auto; }

/* На узких экранах бренд ужимаем, чтобы кнопка меню осталась в одной строке */
@media (max-width: 575.98px) {
    .brand__mark { width: 44px; height: 44px; }
    .brand__name { font-size: 18px; }
    .brand__sub { font-size: 8.5px; letter-spacing: .1em; }
    .head__row { gap: 12px; }
    .burger { width: 44px; height: 44px; }
}

@media (max-width: 1199.98px) {
    .burger { display: flex; }
    .head__cta { display: none; }
    .nav-x { display: none; flex-direction: column; align-items: stretch; gap: 0; }
    .nav-x.is-open { display: flex; }
    .nav-x a { padding: 14px 2px; border-bottom: 1px solid var(--line-soft); }
    .head__row { padding-bottom: 14px; }
}

.progress-x { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--aqua); z-index: 2000; }

/* ---------- Герой ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero__slide { position: relative; display: none; }
.hero__slide.is-on { display: block; }
.hero__img--tall { object-position: center 42%; }
.hero__img {
    width: 100%; height: clamp(440px, 70vh, 680px);
    object-fit: cover; object-position: center; display: block; filter: saturate(.9);
}
.hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(14,58,62,.94) 0%, rgba(14,58,62,.85) 40%, rgba(14,58,62,.36) 80%, rgba(14,58,62,.2) 100%);
}
.hero__inner { position: absolute; inset: 0; display: flex; align-items: center; }
.hero__box { max-width: 900px; }
.hero__kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--aqua-lt); margin-bottom: 22px;
}
.hero__kicker::before { content: ""; width: 30px; height: 1px; background: var(--aqua-dk); }
.hero h1, .hero h2 {
    font-family: var(--disp); font-weight: 700; color: #fff;
    font-size: clamp(1.85rem, 4.2vw, 3.5rem); line-height: 1.16; letter-spacing: -.025em; margin-bottom: 28px;
    overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__nav { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; align-items: center; }
.hero__dot {
    font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: .1em;
    background: none; border: 0; padding: 0 2px 5px; color: rgba(247, 251, 251, .5);
    border-bottom: 2px solid transparent; cursor: pointer; transition: color .2s ease;
}
.hero__dot.is-on { color: #fff; border-bottom-color: var(--aqua); }

/* ---------- Показатели ---------- */
.facts {
    background: var(--deep); color: var(--paper);
    position: relative; z-index: 4; border-bottom: 1px solid var(--aqua);
}
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts__cell {
    padding: clamp(26px, 3.4vw, 46px) clamp(18px, 2.6vw, 40px);
    border-left: 1px solid var(--line-inv);
}
.facts__cell:first-child { border-left: 0; padding-left: 0; }
.facts__num {
    font-family: var(--disp); font-weight: 700; color: #fff;
    font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.03em; margin-bottom: 12px;
}
.facts__txt { font-size: 14.5px; color: rgba(247, 251, 251, .68); margin: 0; }
.facts__note { padding: 0 0 22px; font-size: 12.5px; color: rgba(247, 251, 251, .45); margin: 0; }
@media (max-width: 767.98px) {
    .facts__grid { grid-template-columns: 1fr; }
    .facts__cell { border-left: 0; border-top: 1px solid var(--line-inv); padding-left: 0; }
    .facts__cell:first-child { border-top: 0; }
}

/* ---------- Предупреждение ---------- */
.warn {
    display: inline-block; font-family: var(--disp); font-weight: 600; font-size: 11.5px;
    letter-spacing: .04em; color: var(--aqua-dk); border: 1px solid rgba(22, 168, 173, .32);
    border-radius: 3px; padding: 8px 15px; background: var(--aqua-soft);
}
.note { font-size: 13px; line-height: 1.65; color: var(--ink-2); opacity: .82; }

/* ---------- О компании ---------- */
.about__grid h2 { font-size: clamp(1.85rem, 3.3vw, 3rem); }
.about__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.about__media { position: relative; }
.about__media img {
    width: 100%; height: clamp(380px, 46vw, 560px); object-fit: cover; display: block;
    border-radius: 10px;
}
.about__media figcaption {
    font-family: var(--disp); font-weight: 600; font-size: 10.5px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--aqua-dk); text-align: center; padding-top: 16px; margin-top: 14px;
    border-top: 1px solid var(--line);
}
.pull {
    font-family: var(--disp); font-weight: 600;
    font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.5;
    color: var(--ink); border-left: 3px solid var(--aqua); padding: 6px 0 6px 24px; margin: 30px 0;
}
.checks { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.checks li {
    display: flex; gap: 16px; align-items: center; padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--disp); font-weight: 600; font-size: 14px; color: var(--ink);
}
@media (max-width: 991.98px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Услуги ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.svc {
    grid-column: span 2; display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.svc--wide { grid-column: span 3; }
.svc__media { overflow: hidden; }
.svc__media img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform .6s ease; }
.svc--wide .svc__media img { height: 330px; }
.svc:hover { box-shadow: 0 14px 34px rgba(14, 58, 62, .14); transform: translateY(-3px); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__body { padding: clamp(20px, 2.3vw, 30px); flex-grow: 1; }
.svc__body h3 { font-size: 1.24rem; margin: 14px 0 10px; }
.svc__body p { margin: 0; font-size: 15px; }
.svc--cta {
    background: var(--deep); border-color: var(--aqua-dk); grid-column: span 6;
    padding: clamp(26px, 3vw, 44px); display: grid; grid-template-columns: 1fr auto;
    gap: 20px 40px; align-items: center;
}
.svc--cta:hover { transform: none; box-shadow: none; }
.svc--cta h3 { color: var(--paper); font-size: 1.5rem; margin: 0 0 12px; grid-column: 1; }
.svc--cta p { color: rgba(247, 251, 251, .72); margin: 0; max-width: 620px; grid-column: 1; }
.svc--cta .num { grid-column: 1 / -1; justify-self: start; border-color: var(--line-inv); color: var(--aqua-lt); }
.svc--cta .btn-x { grid-column: 2; grid-row: 2 / span 2; align-self: center; justify-self: end; }
@media (max-width: 991.98px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
    .svc, .svc--wide { grid-column: span 1; }
    .svc--wide .svc__media img { height: 250px; }
    .svc--cta { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .svc--cta h3, .svc--cta p, .svc--cta .btn-x { grid-column: 1; }
    .svc--cta .btn-x { grid-row: auto; justify-self: start; }
}
@media (max-width: 575.98px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Косметология ---------- */
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cols > div {
    padding: 36px clamp(18px, 2vw, 28px); text-align: center;
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.cols h4 { font-size: 1.1rem; margin: 0 0 10px; }
.cols p { font-size: 14.5px; margin: 0; }
@media (max-width: 991.98px) { .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .cols { grid-template-columns: 1fr; } }

/* ---------- Преимущества ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-6 > div {
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    padding: clamp(24px, 2.6vw, 34px);
}
.sec--bone .grid-6 > div, .sec--bone .cols > div { background: var(--paper); }
.grid-6 h4 { font-size: 1.1rem; margin: 0 0 10px; }
.grid-6 p { font-size: 14.5px; margin: 0; }
@media (max-width: 991.98px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .grid-6 { grid-template-columns: 1fr; } }

/* ---------- Галерея клиники ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.shot { position: relative; overflow: hidden; grid-column: span 2; border-radius: 6px; border: 1px solid var(--line); }
.shot img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.05); }
.shot--tall { grid-column: span 3; border-radius: 10px; }
.shot--tall img { height: 400px; }
.shot__cap {
    position: absolute; left: 0; bottom: 0; right: 0; z-index: 2;
    padding: 24px 18px 14px; color: #fff; text-align: center;
    font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
    background: linear-gradient(to top, rgba(14, 58, 62, .92), rgba(14, 58, 62, 0));
}
@media (max-width: 991.98px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .shot, .shot--tall { grid-column: span 1; }
    .shot--tall img { height: 300px; }
}
@media (max-width: 575.98px) { .mosaic { grid-template-columns: 1fr; } }

/* ---------- Документы ---------- */
.docs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.doc {
    background: var(--white); display: flex; flex-direction: column; text-decoration: none;
    padding: 14px; border: 1px solid var(--line); border-radius: 5px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.doc:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(14, 58, 62, .14); }
.doc img { width: 100%; height: 200px; object-fit: contain; display: block; background: #fff; }
.doc span {
    display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft);
    font-size: 11.5px; line-height: 1.45; color: var(--ink-2); text-align: center;
}
@media (max-width: 991.98px) { .docs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .docs { grid-template-columns: repeat(2, 1fr); } .doc img { height: 150px; } }

/* ---------- Цены ---------- */
.tariffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: clamp(32px, 4vw, 52px); }
.tariff {
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    padding: clamp(26px, 3vw, 42px); text-align: center; position: relative;
}
.tariff h4 {
    font-family: var(--disp); font-weight: 600; font-size: 11.5px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px;
}
.tariff .price {
    font-family: var(--disp); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700;
    letter-spacing: -.03em; color: var(--aqua); line-height: 1;
}
.tariff .price small {
    display: block; font-family: var(--disp); font-weight: 600; font-size: 11px;
    letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-dk); margin-bottom: 10px;
}
@media (max-width: 575.98px) { .tariffs { grid-template-columns: 1fr; } }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
table.tbl-x { width: 100%; border-collapse: collapse; min-width: 640px; margin: 0; }
table.tbl-x thead th {
    background: var(--aqua); color: var(--paper);
    font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    padding: 16px 18px; text-align: left; border: 0;
}
table.tbl-x thead th + th { text-align: right; width: 170px; }
table.tbl-x td { padding: 14px 18px; border-top: 1px solid var(--line-soft); font-size: 14.5px; vertical-align: top; }
table.tbl-x td + td { text-align: right; font-family: var(--disp); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
table.tbl-x tbody tr:hover { background: var(--paper-2); }
.cell-ru { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(18, 41, 43, .32); }
.cell-cn { color: var(--aqua-dk); }

/* ---------- Этапы ---------- */
.rail { border-top: 1px solid var(--line); }
.step-x {
    display: grid; grid-template-columns: 72px 1fr 1fr; gap: clamp(16px, 3vw, 48px);
    padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line-soft); align-items: start;
}
.step-x__n {
    width: 56px; height: 56px; border-radius: 50%; background: var(--aqua); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--disp); font-weight: 700; font-size: 20px; line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 0 4px rgba(22, 168, 173, .3);
}
.step-x h4 { font-size: 1.2rem; margin: 0; padding-top: 12px; }
.step-x p { margin: 0; padding-top: 12px; font-size: 15px; }
@media (max-width: 767.98px) {
    .step-x { grid-template-columns: 56px 1fr; }
    .step-x p { grid-column: 2; padding-top: 6px; }
}

/* ---------- Отзывы ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev {
    background: var(--white); display: flex; flex-direction: column;
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.rev__media { position: relative; }
.rev__media img { width: 100%; height: 230px; object-fit: cover; display: block; }
.rev__badge {
    position: absolute; top: 12px; left: 12px; background: var(--aqua); color: #fff; border-radius: 3px;
    font-family: var(--disp); font-weight: 600; font-size: 10px; letter-spacing: .14em;
    text-transform: uppercase; padding: 6px 11px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.rev__body { padding: clamp(22px, 2.3vw, 30px); display: flex; flex-direction: column; flex-grow: 1; }
.rev__q { font-family: var(--disp); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--aqua-dk); display: block; margin-bottom: 14px; }
.rev__body p { font-size: 14.8px; line-height: 1.68; }
.rev__who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.rev__who b { display: block; font-family: var(--disp); font-weight: 700; font-size: 14px; color: var(--ink); }
.rev__who span { font-family: var(--disp); font-weight: 600; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua-dk); }
@media (max-width: 991.98px) { .revs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .revs { grid-template-columns: 1fr; } }

/* ---------- Раскрывающиеся блоки ---------- */
.acc { border-top: 1px solid var(--line); }
.acc .accordion-item { border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; margin: 0; }
.acc .accordion-button {
    background: transparent; box-shadow: none; padding: 24px 46px 24px 0; border-radius: 0;
    font-family: var(--disp); font-weight: 700; font-size: clamp(1rem, 1.35vw, 1.16rem);
    color: var(--ink); letter-spacing: -.012em; line-height: 1.45;
    overflow-wrap: break-word; transition: color .2s ease;
}
.acc .accordion-button:hover { color: var(--aqua); }
.acc .accordion-button:not(.collapsed) { background: transparent; color: var(--aqua); box-shadow: none; }
.acc .accordion-button::after {
    content: "\F64D"; font-family: "bootstrap-icons"; background: none !important;
    width: auto; height: auto; font-size: 15px; color: var(--aqua); transform: none;
    position: absolute; right: 6px; top: 50%; margin-top: -11px; transition: none;
}
.acc .accordion-button:not(.collapsed)::after { content: "\F2EA"; }
.acc .accordion-body { padding: 0 0 30px; max-width: 900px; }

.article-body h3 {
    font-family: var(--disp); font-size: 1.16rem; font-weight: 700; color: var(--ink);
    margin: 30px 0 14px; letter-spacing: -.015em; display: flex; gap: 10px; align-items: baseline;
}
.article-body h3::before { content: "\25C6"; color: var(--aqua-dk); font-size: 11px; flex: 0 0 auto; }
.article-body h3:first-of-type { margin-top: 0; }
.article-body p { margin-bottom: 15px; }
.article-cover {
    width: 100%; max-width: 100%; height: auto; max-height: 360px; object-fit: cover;
    display: block; margin-bottom: 26px; border-radius: 10px; border: 1px solid var(--line);
}
.article-body ul { padding-left: 0; list-style: none; margin-bottom: 18px; }
.article-body ul > li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.article-body ul > li::before {
    content: "\25C6"; position: absolute; left: 0; top: 1px; color: var(--aqua-dk); font-size: 10px;
}
.article-body ol { padding-left: 20px; margin-bottom: 18px; }
.article-body ol > li { margin-bottom: 10px; }
.article-body .price-note {
    border: 1px solid var(--line); border-left: 3px solid var(--aqua-dk); border-radius: 4px;
    padding: 14px 18px; margin: 8px 0 20px; font-size: 14.5px; background: var(--paper-2);
}
.article-body .price-note b { color: var(--aqua-dk); }
.article-meta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--disp); font-weight: 600; font-size: 10.5px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--aqua-dk); margin-bottom: 18px;
}
@media (max-width: 768px) { .article-cover { max-height: 230px; } }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.contact-a { background: var(--deep); color: rgba(247, 251, 251, .78); padding: clamp(30px, 4vw, 58px); }
.contact-a h3, .contact-a h4 { color: var(--paper); }
.contact-a a { color: var(--paper); border-bottom: 1px solid var(--aqua-dk); }
.contact-a a:hover { color: var(--aqua-lt); text-decoration: none; }
.contact-b {
    background: var(--white); padding: clamp(30px, 4vw, 58px);
    display: flex; flex-direction: column; justify-content: center;
}
.cline { display: block; padding: 18px 0; border-top: 1px solid var(--line-inv); }
.cline:first-of-type { border-top: 0; padding-top: 0; }
.cline__k {
    font-family: var(--disp); font-weight: 600; font-size: 10.5px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--aqua-dk); display: block; margin-bottom: 6px;
}
.cline__v { font-size: 16px; color: var(--paper); }
.msg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.msg-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid var(--aqua-dk); border-radius: 3px; color: var(--paper); padding: 15px 12px;
    font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}
.msg-btn:hover { background: var(--aqua-dk); color: var(--ink); text-decoration: none; }
.msg-btn img { width: 20px; height: 20px; object-fit: cover; border-radius: 4px; }
@media (max-width: 767.98px) { .contact-grid { grid-template-columns: 1fr; } .msg-row { grid-template-columns: 1fr; } }

/* ---------- Подвал ---------- */
.foot { background: var(--deep); color: rgba(247, 251, 251, .64); padding: clamp(48px, 6vw, 80px) 0 0; border-top: 3px solid var(--aqua); }
.foot h3, .foot h4 { color: var(--paper); }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 56px); padding-bottom: 46px; }
.foot__ttl {
    font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--aqua-dk); margin-bottom: 20px;
}
.foot__links { display: flex; flex-direction: column; gap: 9px; }
.foot__links a { color: rgba(247, 251, 251, .78); font-size: 14.5px; }
.foot__links a:hover { color: var(--aqua-lt); text-decoration: none; }
.foot a { color: rgba(247, 251, 251, .85); }
.foot p { font-size: 14.5px; }
.foot .brand__name { color: var(--paper); }
.foot .brand__sub { color: var(--aqua-dk); }
.foot__legal { border-top: 1px solid var(--line-inv); padding: 26px 0; }
.foot__legal p { font-size: 12.5px; line-height: 1.75; color: rgba(247, 251, 251, .5); }
.foot__legal a { color: rgba(247, 251, 251, .8); border-bottom: 1px solid var(--aqua-dk); }
.foot__legal strong { color: rgba(247, 251, 251, .85); font-weight: 500; }
.foot__bottom {
    border-top: 1px solid var(--line-inv); padding: 20px 0;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
}
.foot__bottom p {
    font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .1em;
    color: rgba(247, 251, 251, .45); margin: 0; text-transform: uppercase;
}
.soc { display: flex; gap: 10px; }
.soc a {
    width: 46px; height: 46px; border: 1px solid var(--aqua-dk); border-radius: 5px;
    display: flex; align-items: center; justify-content: center; color: var(--paper);
    font-size: 20px; overflow: hidden; transition: background .2s ease, color .2s ease;
}
.soc a:hover { background: var(--aqua-dk); color: var(--ink); }
.soc img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991.98px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .foot__cols { grid-template-columns: 1fr; } }

/* ---------- Плавающие кнопки ---------- */
.dock { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: 10px; }
.dock a {
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--paper); font-size: 22px; overflow: hidden;
    box-shadow: 0 6px 18px rgba(14, 58, 62, .3); transition: transform .2s ease;
}
.dock a:hover { transform: scale(1.07); }
.dock__max { background: var(--white); padding: 0; }
.dock__max img { width: 100%; height: 100%; object-fit: cover; }
.dock__tg { background: var(--deep); border: 1px solid var(--aqua-dk); }
.dock__up { background: var(--aqua); font-size: 19px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 6px 18px rgba(14,58,62,.3); }
@media (max-width: 575.98px) { .dock { right: 12px; bottom: 12px; } .dock a { width: 46px; height: 46px; font-size: 19px; } }

/* ---------- Загрузчик ---------- */
#boot {
    position: fixed; inset: 0; background: var(--paper); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .35s ease, visibility 0s linear .35s; opacity: 1; visibility: visible;
}
.boot__dot {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid var(--line); border-top-color: var(--aqua);
    animation: boot-spin .8s linear infinite;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .boot__dot { animation: none; } }
#boot.is-off { opacity: 0; visibility: hidden; }

/* ---------- Служебное ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.16, .84, .44, 1); }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
    .shot img, .svc__media img, .svc, .doc { transition: none; }
}

/* ---------- Правовая страница ---------- */
.legal h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.legal h4 { font-size: 1.14rem; margin: 34px 0 12px; display: flex; gap: 10px; align-items: baseline; }
.legal h4::before { content: "\25C6"; color: var(--aqua-dk); font-size: 11px; flex: 0 0 auto; }
.legal .callout {
    border: 1px solid var(--line); border-left: 3px solid var(--aqua-dk); border-radius: 4px;
    background: var(--white); padding: 20px 24px; margin-bottom: 30px;
}
