:root {
    --water: #15a3ad;
    --water-2: #2bc6cf;
    --nature: #3fa66b;
    --deep: #0e2233;
    --ink: #1b2a33;
    --muted: #5d6f78;
    --bg: #f3f8f7;
    --surface: #ffffff;
    --line: #dce8e6;
    --bg2: #ecf5f3;
    --shadow: 0 10px 30px rgba(14, 34, 51, .08);
    --radius: 16px;
    --maxw: 1180px;
}

[data-theme="dark"] {
    --bg: #0b1820;
    --surface: #122630;
    --ink: #e6f0f0;
    --muted: #8aa0a3;
    --line: #1d3744;
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: #c8ffe133;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.wrap {
    width: min(var(--maxw), 92vw);
    margin: 0 auto;
}

.section {
    padding: 90px 0;
}

.section .wrap {
    position: relative;
    z-index: 2;
}

.muted {
    color: var(--muted);
}

/* кнопки / CTA */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(120deg, var(--water), var(--nature));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 8px 20px rgba(21, 163, 173, .35);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(21, 163, 173, .45);
}

.btn.ghost {
    background: transparent;
    color: var(--water);
    border: 1.5px solid var(--water);
    box-shadow: none;
}

/* шапка */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--water), var(--nature));
}

.logo img {
    margin-top: 4px;
    height: 42px;
    width: auto;
    border-radius: 6px;
    padding: 7px 0 7px 0;
}

[data-theme="dark"] .logo img {
    background: transparent;
    padding: 0;
}

.menu {
    display: flex;
    gap: 26px;
    list-style: none;
    font-weight: 500;
}

.menu a {
    position: relative;
    padding: 6px 0;
    color: var(--muted);
    transition: color .2s;
}

.menu a:hover, .menu a.active {
    color: var(--ink);
}

.menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--water);
    border-radius: 2px;
}

.tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 1.1rem;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--ink);
}

/* hero */
.hero {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
}

.hero .wrap {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    max-width: 14ch;
}

.hero p {
    margin: 22px 0 32px;
    font-size: 1.15rem;
    max-width: 46ch;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--water) 14%, transparent);
    color: var(--water);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 22px;
}

.bubbles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    pointer-events: none;
}

/* пузырьки на весь body (под контентом) */
.bubbles.body-fixed {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
}

/* секции */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .8rem;
    font-weight: 700;
    color: var(--water);
}

.h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    letter-spacing: -.02em;
    margin: 10px 0 14px;
}

[data-theme="dark"] .section.tint,
[data-theme="dark"] .section.tint .h2,
[data-theme="dark"] .section.tint .eyebrow {
    color: #0e2233;
}

.lead {
    color: var(--muted);
    max-width: 60ch;
}

/* карточки */
.grid {
    display: grid;
    gap: 22px;
    margin-top: 40px;
}

.grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--water);
    box-shadow: 0 18px 38px rgba(21, 163, 173, .20);
}

.card .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: color-mix(in srgb, var(--water) 14%, transparent);
    margin-bottom: 14px;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    font-size: .95rem;
}

/* шаги */
.steps {
    counter-reset: s;
    margin-top: 40px;
    display: grid;
    gap: 18px;
}

.step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.step::before {
    counter-increment: s;
    content: counter(s);
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(120deg, var(--water), var(--nature));
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* счётчики */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .25s, border-color .25s;
}

.stat:hover {
    transform: translateY(-4px);
    border-color: var(--water);
}

.stat .num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--water);
    line-height: 1;
}

.stat .lbl {
    color: var(--muted);
    margin-top: 8px;
    font-size: .92rem;
}

/* CTA-полоса */
.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--deep), var(--water) 55%, var(--nature));
    color: #fff;
    border-radius: 24px;
    padding: 56px;
    text-align: center;
}

.cta .wrap {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta p {
    opacity: .85;
    margin: 12px 0 26px;
}

.cta .btn {
    background: #fff;
    color: var(--deep);
    box-shadow: none;
}

/* форма */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field label {
    font-size: .9rem;
    font-weight: 600;
}

.field-hint {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 4px;
}

.field input, .field textarea, .field select {
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
}

.field input:focus, .field textarea:focus {
    outline: 2px solid var(--water);
    border-color: var(--water);
}

/* лента новостей/блога */
.post {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.post .thumb {
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--water), var(--nature));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
}

.post h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--water);
    background: color-mix(in srgb, var(--water) 12%, transparent);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* каталог */
.product {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s;
}

.product:hover {
    transform: translateY(-4px);
}

.product .pic {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--water-2), var(--nature));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2.4rem;
}

.product .body {
    padding: 20px;
}

.product .price {
    font-weight: 800;
    color: var(--water);
    font-size: 1.2rem;
    margin: 8px 0;
}

.product .body p {
    color: var(--muted);
    font-size: .92rem;
}

/* портфолио */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.proj {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.proj .pic {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--deep), var(--water));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
}

.proj .body {
    padding: 16px;
}

.proj .body p {
    color: var(--muted);
    font-size: .9rem;
}

/* футер */
footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--deep), var(--water) 55%, var(--nature));
    color: #fff;
    padding: 50px 0 30px;
    margin-top: 40px;
}

.foot {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.foot h4 {
    font-size: .95rem;
    margin-bottom: 12px;
}

.foot ul {
    list-style: none;
    display: grid;
    gap: 8px;
    color: rgba(255, 255, 255, .85);
    font-size: .92rem;
}

.foot .about {
    color: rgba(255, 255, 255, .8);
    max-width: 34ch;
}

.foot-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foot-menu a {
    color: rgba(255, 255, 255, .85);
    font-size: .92rem;
    transition: color .2s;
}

.foot-menu a:hover {
    color: #fff;
}

/* анимационные хелперы */
.reveal {
    opacity: 0;
    transform: translateY(28px);
}

/* адаптив */
.vswitch {
    display: flex;
    align-items: center;
    gap: 8px
}

.vswitch select {
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    cursor: pointer
}

.vswitch select:focus {
    outline: 2px solid var(--water)
}

.vh {
    font-size: .8rem;
    color: var(--muted)
}

@media (max-width: 900px) {
    .menu {
        position: fixed;
        inset: 68px 0 auto 0;
        flex-direction: column;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 10px 0;
        transform: translateY(-130%);
        transition: transform .3s;
        box-shadow: var(--shadow);
    }

    .menu.open {
        transform: translateY(0);
    }

    .menu li {
        padding: 0;
        border-bottom: 1px solid var(--line);
    }

    .menu li > a {
        display: block;
        padding: 12px 6vw;
    }

    .burger {
        display: block;
    }

    .grid.cols-3, .grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
    }

    .foot {
        grid-template-columns: 1fr 1fr;
    }

    .post {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 36px 22px;
    }
}

@media (max-width: 560px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .foot {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    header .logo {
        gap: 6px;
        font-size: 1rem;
    }

    header .logo img {
        height: 30px;
        padding: 4px;
    }
}

/* планшет 641-1024: компактный логотип и меню */
@media (min-width: 641px) and (max-width: 1024px) {
    header .logo {
        gap: 8px;
        font-size: 1.05rem;
    }

    header .logo img {
        height: 32px;
        padding: 5px;
    }

    .menu {
        gap: 18px;
        font-size: .85rem;
        font-weight: 400;
    }
}

/* 1024x600 (landscape): меню в гамбургер */
@media (max-width: 1024px) and (max-height: 700px) {
    .menu {
        position: fixed;
        inset: 68px 0 auto 0;
        flex-direction: column;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 10px 0;
        transform: translateY(-130%);
        transition: transform .3s;
        box-shadow: var(--shadow);
    }

    .menu.open {
        transform: translateY(0);
    }

    .menu li {
        padding: 0;
        border-bottom: 1px solid var(--line);
    }

    .menu li > a {
        display: block;
        padding: 12px 6vw;
    }

    .burger {
        display: block;
    }
}

.hero {
    background: linear-gradient(120deg, var(--deep), var(--water) 55%, var(--nature));
    background-size: 200% 200%;
    animation: heroFloat 16s ease infinite;
    color: #fff;
}

@keyframes heroFloat {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero .btn:not(.ghost) {
    animation: btnPulse 2.6s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(21, 163, 173, .35);
    }
    50% {
        box-shadow: 0 8px 30px rgba(21, 163, 173, .6);
    }
}

.hero h1, .hero p {
    color: #fff;
}

.hero p {
    color: rgba(255, 255, 255, .9);
}

.hero .badge {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.hero .btn.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .7);
}

.hero .btn.ghost:hover {
    background: rgba(255, 255, 255, .12);
}

/* каталог на главной */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 2%;
    justify-content: center
}

.cat-card {
    position: relative;
    aspect-ratio: 460 / 315;
    max-width: 100%;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14, 34, 51, .2)
}

.cat-labels {
    position: absolute;
    bottom: 7px;
    left: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none
}

.cat-title {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    background: rgba(34, 154, 160, .8);
    box-shadow: 5px 6px .5rem rgba(0, 0, 0, .3);
    font-size: 1rem;
    border-radius: 0 1rem 1rem 0;
    line-height: normal;
    padding: 5px 20px
}

.cat-burst {
    display: inline-block;
    max-width: 100%;
    color: #044d00;
    background: rgba(216, 255, 224, .9);
    border-radius: 0 0 4rem 0;
    line-height: normal;
    padding: .1rem 1rem 0 .5rem;
    box-shadow: 3px 3px .5rem rgba(0, 0, 0, .2)
}

.cat-fallback {
    position: absolute;
    top: 24%;
    left: 0;
    max-width: 100%;
    color: #fff;
    background: rgba(34, 154, 160, .8);
    padding: 5px 20px;
    border-radius: 0 1rem 1rem 0;
    font-size: 1rem
}

@media (max-width: 640px) {
    .cat-grid {
        grid-template-columns: 1fr
    }
}

/* ===== Контентные страницы (классика) ===== */

/* заголовок страницы */
.pagehead {
    padding: 60px 0 20px;
}

.pagehead .eyebrow {
    margin-bottom: 8px;
}

.pagehead h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    max-width: 24ch;
}

.lead-muted {
    color: var(--muted);
    max-width: 60ch;
    margin-top: 10px;
}

/* хлебные крошки */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.crumbs a {
    color: var(--water);
    transition: color .2s;
}

.crumbs a:hover {
    color: var(--ink);
}

.crumbs .sep {
    opacity: .5;
}

.crumbs .cur {
    color: var(--ink);
    font-weight: 600;
}

/* фильтр каталога */
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin: 26px 0 34px;
}

.filter-panel .row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-panel .field {
    min-width: 220px;
    margin: 0;
}

.filter-panel .reset {
    font-size: .88rem;
    color: var(--muted);
    border-bottom: 1px dashed var(--line);
    padding-bottom: 2px;
    transition: color .2s;
}

.filter-panel .reset:hover {
    color: var(--water);
}

/* карточки-плитки списков (товары/услуги/статьи/проекты/документы) */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.tiles-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.tile {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.tile:hover {
    transform: translateY(-6px);
    border-color: var(--water);
    box-shadow: 0 18px 38px rgba(21, 163, 173, .20);
}

.tile .tile-media {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--water-2), var(--nature));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
    overflow: hidden;
}

.tile .tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tile .tile-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 20px;
}

.tile .tile-title {
    font-size: 1.15rem;
    letter-spacing: -.01em;
}

.tile .tile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    color: var(--muted);
    font-size: .86rem;
}

.tile .tile-meta b {
    color: var(--ink);
    font-weight: 600;
}

.tile .tile-desc {
    color: var(--muted);
    font-size: .92rem;
    flex: 1;
}

.tile .tile-btn {
    margin-top: 6px;
}

.tile .tile-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.tile .price {
    font-weight: 800;
    color: var(--water);
    font-size: 1.1rem;
}

/* цена/стоимость услуги крупно */
.price-lg {
    font-weight: 800;
    color: var(--water);
    font-size: 1.5rem;
    margin: 14px 0;
}

/* контент статьи/услуги и типографика */
.rich {
    color: var(--ink);
    line-height: 1.75;
}

.rich h2 {
    font-size: 1.5rem;
    letter-spacing: -.01em;
    margin: 34px 0 14px;
}

.rich h3 {
    font-size: 1.2rem;
    margin: 26px 0 10px;
}

.rich p {
    margin: 12px 0;
    color: var(--muted);
}

.rich p b, .rich p strong {
    color: var(--ink);
}

.rich ul, .rich ol {
    margin: 12px 0 12px 22px;
    color: var(--muted);
}

.rich li {
    margin: 6px 0;
}

.rich img {
    max-width: 100%;
    height: auto !important;
    border-radius: 12px;
    display: block;
    margin: 18px 0;
}

.rich table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
    margin: 18px 0;
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

.rich td, .rich th {
    border: 1px solid var(--line);
    padding: 10px 14px;
    text-align: left;
    word-break: break-word;
}

.rich th {
    background: var(--bg2);
    font-weight: 700;
    white-space: nowrap;
}

.rich a {
    color: var(--water);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich blockquote {
    border-left: 3px solid var(--water);
    padding: 4px 18px;
    color: var(--muted);
    font-style: italic;
    margin: 16px 0;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 28px;
}

.article-card .article-body {
    padding: 20px;
}

.featured-top {
    padding: 70px 0 30px;
    background-size: cover;
    background-position: center;
}

.glass-box {
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: inline-block;
    max-width: 720px;
    box-shadow: var(--shadow);
}

/* таблица характеристик */
.specs {
    width: 100%;
    border-collapse: collapse;
    font-size: .97rem;
    margin: 22px 0;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.specs td, .specs th {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.specs tr:last-child td {
    border-bottom: none;
}

.specs th {
    background: var(--bg2);
    font-weight: 600;
    width: 38%;
    color: var(--muted);
}

.specs td {
    color: var(--ink);
}

/* преимущества — плитки с галочкой */
.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.checklist .item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    font-size: .94rem;
    box-shadow: var(--shadow);
}

.checklist .item::before {
    content: "✓";
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--nature);
    color: #fff;
    font-weight: 800;
    font-size: .8rem;
}

/* шаги (как мы работаем) */
.steps {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

/* аккордеон FAQ через <details> */
.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    transition: background .2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--water) 14%, transparent);
    color: var(--water);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform .25s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    background: var(--bg2);
}

.faq-body {
    padding: 0 22px 20px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-body .rich {
    color: inherit;
}

.faq-body .rich p {
    color: var(--muted);
}

.faq-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.faq-actions .btn-sm {
    padding: 8px 14px;
    font-size: .82rem;
    background: none;
    border: 1px solid var(--line);
    color: var(--muted);
    box-shadow: none;
}

.faq-actions .btn-sm:hover {
    border-color: var(--water);
    color: var(--water);
}

/* карусель */
.carouselx {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.carouselx .slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.carouselx .slides::-webkit-scrollbar {
    display: none;
}

.carouselx .slide {
    flex: none;
    width: 100%;
    scroll-snap-align: start;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
    background: var(--bg2);
    position: relative;
    cursor: zoom-in;
}

.carouselx .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carouselx .dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.carouselx .dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--line);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.carouselx .dots button.on {
    background: var(--water);
    transform: scale(1.25);
}

.carouselx .arr {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(4px);
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background .2s, color .2s;
    display: grid;
    place-items: center;
}

.carouselx .arr:hover {
    background: var(--water);
    color: #fff;
}

.carouselx .arr.prevx {
    left: 12px;
}

.carouselx .arr.nextx {
    right: 12px;
}

/* зум изображения */
.zoomx {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 20, 30, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}

.zoomx.open {
    display: flex;
}

.zoomx img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.zoomx .zoomx-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* сайдбар при детальном просмотре */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
    margin-top: 26px;
    overflow-x: hidden;
}

/* карточка товара без сайдбара — вся ширина */
.detail-grid.detail-single {
    grid-template-columns: 1fr;
    gap: 0;
}

.detail-grid.detail-single .carouselx {
    width: 35%;
    float: right;
    margin: 0 0 24px 28px;
}

.detail-grid.detail-single::after {
    content: "";
    display: block;
    clear: both;
}

.detail-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.side-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    display: grid;
    gap: 14px;
}

.side-card h4 {
    font-size: 1.02rem;
}

.side-card p {
    color: var(--muted);
    font-size: .92rem;
}

/* форма */
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-grid .span-2 {
    grid-column: span 2;
}

.form-check-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: var(--muted);
    margin: 12px 0;
}

.form-check-inline input {
    width: 17px;
    height: 17px;
    accent-color: var(--water);
}

.alert-success {
    background: color-mix(in srgb, var(--nature) 16%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--nature) 40%, var(--line));
    color: var(--ink);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: .94rem;
    margin-bottom: 18px;
}

/* контакты-блоки */
.contact-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 26px 0;
}

.contact-block {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 20px;
    transition: transform .25s, border-color .25s;
}

.contact-block:hover {
    transform: translateY(-4px);
    border-color: var(--water);
}

.contact-block .ic {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: color-mix(in srgb, var(--water) 14%, transparent);
    color: var(--water);
}

.contact-block h4 {
    font-size: 1.02rem;
    margin-bottom: 10px;
}

.contact-block .cb-body {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.7;
}

.contact-block .cb-body a {
    color: var(--ink);
    transition: color .2s;
}

.contact-block .cb-body a:hover {
    color: var(--water);
}

.contact-block .cb-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 1.2rem;
}

.contact-block .cb-social a {
    color: var(--muted);
    transition: color .2s;
}

.contact-block .cb-social a:hover {
    color: var(--water);
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin: 26px 0;
}

#contact-map {
    margin: 20px auto;
}

.map-frame iframe, .map-frame div, .map-frame section {
    width: 100%;
}

.map-frame > div {
    min-height: 380px;
}

/* контакты: мобильная адаптация */
@media (max-width: 560px) {
    .pagehead {
        padding: 40px 0 16px;
    }

    .form-card {
        padding: 18px 16px;
        margin: 20px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .span-2 {
        grid-column: auto;
    }

    .form-grid .field input,
    .form-grid .field textarea {
        font-size: 16px;
    }

    .form-card .btn {
        width: 100%;
    }

    .contact-blocks {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-block {
        padding: 22px 16px;
    }

    .contact-block .cb-social a {
        padding: 6px;
        display: inline-flex;
    }

    .map-frame > div {
        min-height: 260px;
    }

    .map-frame {
        margin: 18px 0;
    }

    /* на телефоне показываем контакты выше формы */
    .contacts-page {
        display: flex;
        flex-direction: column;
    }

    .contacts-form {
        order: 2;
    }

    .contacts-blocks-wrap {
        order: 1;
    }

    .contacts-text {
        order: 3;
    }

    .contacts-map {
        order: 4;
    }
}

@media (min-width: 561px) and (max-width: 900px) {
    .contact-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

.carouselx .carousel-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(14, 34, 51, .55);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    pointer-events: none;
}

.carouselx .carousel-current {
    font-weight: 700;
}
.btn {
    min-height: 44px;
}

.nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.crumbs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

footer a,
.footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
}

.burger {
    min-width: 44px;
    min-height: 44px;
}

.carouselx .arr {
    width: 44px;
    height: 44px;
}

.consultation-modal-close,
.survey-modal-close,
.video-modal-close,
.qx {
    min-width: 44px;
    min-height: 44px;
}

/* sticky CTA на мобилке */
.sticky-cta {
    display: none;
}

@media (max-width: 640px) {
    .sticky-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 800;
        display: flex;
        justify-content: center;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--surface) 92%, transparent);
        backdrop-filter: blur(8px);
        border-top: 1px solid var(--line);
        transform: translateY(100%);
        transition: transform .25s ease;
    }

    .sticky-cta.is-visible {
        transform: translateY(0);
    }

    .sticky-cta-btn {
        width: 100%;
        max-width: 420px;
    }
}

/* пагинация */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}

.pager.pager-top {
    justify-content: flex-end;
    margin-top: 0;
    margin-bottom: 16px;
}

.pager a, .pager span {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-weight: 600;
    font-size: .92rem;
    transition: color .2s, border-color .2s, background .2s;
}

.pager a:hover {
    color: var(--water);
    border-color: var(--water);
}

.pager .on {
    background: linear-gradient(120deg, var(--water), var(--nature));
    border-color: transparent;
    color: #fff;
}

.pager .disabledx {
    opacity: .45;
    pointer-events: none;
}

/* шаринг статьи */
.social-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.social-share__title {
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
}

.social-share__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-share__item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, opacity .2s;
}

.social-share__item::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: #fff;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}

.social-share__item:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.social-share__item_twitter {
    background: #1da1f2;
}

.social-share__item_twitter::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z'/%3E%3C/svg%3E");
}

.social-share__item_fb {
    background: #1877f2;
}

.social-share__item_fb::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.social-share__item_vk {
    background: #0077ff;
}

.social-share__item_vk::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.785 16.241s.288-.032.436-.194c.136-.148.132-.427.132-.427s-.02-1.304.576-1.496c.588-.19 1.341 1.26 2.14 1.818.605.422 1.064.33 1.064.33l2.137-.03s1.117-.071.587-.964c-.043-.073-.308-.65-1.588-1.838-1.34-1.242-1.16-1.041.453-3.19.984-1.312 1.377-2.112 1.254-2.454-.117-.325-.84-.24-.84-.24l-2.4.015s-.18-.024-.31.056c-.126.078-.207.258-.207.258s-.375.978-.873 1.81c-1.052 1.756-1.473 1.85-1.645 1.74-.4-.258-.3-1.036-.3-1.588 0-1.727.262-2.447-.51-2.634-.256-.062-.445-.104-1.1-.11-.835-.01-1.542.003-1.942.199-.265.13-.47.418-.344.434.156.021.505.095.69.352.24.333.232 1.077.232 1.077s.138 2.052-.322 2.303c-.315.172-.747-.18-1.674-1.787-.474-.826-.833-1.737-.833-1.737s-.068-.17-.195-.24c-.154-.085-.37-.112-.37-.112l-2.286.015s-.344.01-.47.158c-.112.132-.008.405-.008.405s1.736 4.09 3.701 6.147c1.802 1.888 3.851 1.764z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.785 16.241s.288-.032.436-.194c.136-.148.132-.427.132-.427s-.02-1.304.576-1.496c.588-.19 1.341 1.26 2.14 1.818.605.422 1.064.33 1.064.33l2.137-.03s1.117-.071.587-.964c-.043-.073-.308-.65-1.588-1.838-1.34-1.242-1.16-1.041.453-3.19.984-1.312 1.377-2.112 1.254-2.454-.117-.325-.84-.24-.84-.24l-2.4.015s-.18-.024-.31.056c-.126.078-.207.258-.207.258s-.375.978-.873 1.81c-1.052 1.756-1.473 1.85-1.645 1.74-.4-.258-.3-1.036-.3-1.588 0-1.727.262-2.447-.51-2.634-.256-.062-.445-.104-1.1-.11-.835-.01-1.542.003-1.942.199-.265.13-.47.418-.344.434.156.021.505.095.69.352.24.333.232 1.077.232 1.077s.138 2.052-.322 2.303c-.315.172-.747-.18-1.674-1.787-.474-.826-.833-1.737-.833-1.737s-.068-.17-.195-.24c-.154-.085-.37-.112-.37-.112l-2.286.015s-.344.01-.47.158c-.112.132-.008.405-.008.405s1.736 4.09 3.701 6.147c1.802 1.888 3.851 1.764z'/%3E%3C/svg%3E");
}

.social-share__item_telegram {
    background: #229ed9;
}

.social-share__item_telegram::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 000 12a12 12 0 0012 12 12 12 0 0012-12A12 12 0 0012 0a12 12 0 00-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 01.171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.944 0A12 12 0 000 12a12 12 0 0012 12 12 12 0 0012-12A12 12 0 0012 0a12 12 0 00-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 01.171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
}

/* видео-оверлей на карточке */
.video-trigger {
    position: relative;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    background: rgba(14, 34, 51, .3);
    transition: background .25s;
}

.video-trigger:hover .video-play-overlay {
    background: rgba(14, 34, 51, .5);
}

.video-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--water), var(--nature));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

/* видео-плеер */
.video-frame {
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 26px;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 900px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }

    .tiles {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 560px) {
    .filter-panel .field {
        min-width: 100%;
    }

    .tiles {
        grid-template-columns: 1fr;
    }

    .tiles-2 {
        grid-template-columns: 1fr !important;
    }

    .detail-grid.detail-single .carouselx {
        width: 100%;
        float: none;
        margin-left: 0;
    }
}

/* отзывы: блоки в 2 ряда, высота по большему, текст по центру */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: stretch;
}

.reviews-grid .review-card {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.reviews-grid .review-stars {
    color: #f6b73c;
    letter-spacing: 3px;
    font-size: 1.05rem;
    line-height: 1;
}

.reviews-grid .review-text {
    flex: 1;
    margin: 0;
}

.reviews-grid .review-author {
    margin: 0;
    padding: 30px 0;
    border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* карусель отзывов на главной (1 ряд, автопрокрутка + ручное листание) */
.reviews-carousel {
    margin-top: 40px;
    padding-bottom: 56px;
}

.reviews-carousel .splide__slide {
    display: flex;
    height: auto;
}

.reviews-carousel-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    margin: 0;
}

.reviews-carousel-card .reviews-stars {
    color: #f6b73c;
    letter-spacing: 3px;
    font-size: 1.05rem;
    line-height: 1;
}

.reviews-carousel-card .reviews-text {
    flex: 1;
    margin: 0;
}

.reviews-carousel-card .reviews-author {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-weight: 600;
}

.reviews-carousel .splide__arrow {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.reviews-carousel .splide__arrow svg {
    fill: var(--water);
}

.reviews-carousel .splide__pagination__page {
    background: var(--line);
    opacity: 1;
}

.reviews-carousel .splide__pagination__page.is-active {
    background: var(--water);
}
