/* ===== ПЕРЕМЕННЫЕ ===== */

:root {
    /* ===== БАЗА ===== */
    --bg-color: #ffffff;
    --text-color: #000000;

    /* ===== ОСНОВНЫЕ ЦВЕТА ===== */
    --color-primary: #2e582e;
    --color-primary-dark: #1f3f1f;
    --color-primary-light: #eef3ee;

    /* ===== ТЕКСТ ===== */
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #555555;
    --text-muted-light: #70751a;

    /* ===== ФОНЫ ===== */
    --bg-white: #ffffff;
    --bg-light: #f5f8fa;
    --bg-green-light: #eef3ee;
    --bg-green-pale: #f0f7f0;
    --bg-green-promo: #f0fdf4;
    --bg-box: #f6f9f8;
    --bg-gray: #e0e0e0;
    --bg-gray-light: #f0f0f0;

    /* ===== ГРАНИЦЫ ===== */
    --border-light: #eeeeee;
    --border-gray: rgba(0, 0, 0, 0.1);
    --border-menu: rgba(255, 255, 255, 0.1);

    /* ===== ТЕНИ ===== */
    --shadow-header: rgba(0, 0, 0, 0.05);
    --shadow-card: rgba(0, 0, 0, 0.06);
    --shadow-card-hover: rgba(0, 0, 0, 0.12);
    --shadow-table: rgba(0, 0, 0, 0.09);
    --shadow-map: rgba(0, 0, 0, 0.08);
    --shadow-floating: rgba(46, 88, 46, 0.4);
    --shadow-floating-hover: rgba(46, 88, 46, 0.5);
    --shadow-menu: rgba(0, 0, 0, 0.3);
    --shadow-tooltip: rgba(0, 0, 0, 0.2);
    --shadow-social-btn: rgba(0, 0, 0, 0.15);

    /* ===== АКЦЕНТНЫЕ ЦВЕТА ===== */
    --color-red: #e30a0a;
    --color-blue: #2b67c0;
    --color-blue-dark: #253a6f;
    --color-purple: #4e0066;
    --color-yellow-green: #70751a;
    --color-green: #009966;
    --color-green-dark: #006644;
    --color-green-alt: #229653;
    --color-border-accent: #2f2e58;

    /* ===== СОЦСЕТИ ===== */
    --social-phone: #2e582e;
    --social-viber: #7360f2;
    --social-telegram: #0088cc;
    --social-whatsapp: #25d366;
    --social-facebook: #1877f2;
    --social-email: #ea4335;

    /* ===== ГРАДИЕНТ ИНСТАГРАМА ===== */
    --social-instagram-yellow: #fdf497;
    --social-instagram-red: #fd5949;
    --social-instagram-pink: #d6249f;
    --social-instagram-blue: #285aeb;

    /* ===== ОБЩИЕ ===== */
    --color-white: #ffffff;
    --color-black: #000000;

    /* ===== КОРЗИНА / ПРОЧЕЕ ===== */
    --color-on-primary: #ffffff;
    --btn-in-cart-bg: #888888;
    --bg-category-row: rgba(0, 0, 0, 0.04);
    --link-accent: #037bf3;
    --overlay: rgba(0, 0, 0, 0.5);
}


/* ===== АКЦИОННЫЙ БЛОК ===== */
.promo-box {
    margin: 20px auto;
    padding: 24px;
    max-width: 650px;
    background: rgba(231, 76, 60, 0.06);
    border: 1px solid rgba(231, 76, 60, 0.25);
    border-radius: 12px;
    color: #2c3e50;
    text-align: left;
}

.promo-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #157e21;
    text-align: center;
    letter-spacing: 0.3px;
}

.promo-intro {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.5;
    text-align: center;
}

.promo-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(231, 76, 60, 0.2);
}

.promo-item:last-of-type {
    border-bottom: none;
}

.promo-price {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #157c21;
}

.promo-sub {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-style: normal;
}

.promo-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(231, 76, 60, 0.2);
    font-size: 0.9rem;
    color: #e74c3c;
    line-height: 1.5;
    text-align: center;
    font-style: italic;
}

/* ===== акции  ===== */
@media (max-width: 600px) {
    .promo-box {
        margin: 10px auto;
        padding: 14px 12px;
        border-radius: 10px;
    }

    .promo-title {
        font-size: 1rem;
        margin-bottom: 6px;
        line-height: 1.25;
    }

    .promo-intro {
        font-size: 0.78rem;
        margin-bottom: 10px;
        line-height: 1.35;
        color: #666;
    }

    .promo-item {
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .promo-price {
        font-size: 0.92rem;
        margin-bottom: 3px;
    }

    .promo-sub {
        font-size: 0.75rem;
        line-height: 1.3;
        color: #666;
    }

    .promo-note {
        margin-top: 8px;
        padding-top: 8px;
        font-size: 0.72rem;
        line-height: 1.3;
    }
}



[data-theme="dark"] {
    /* ===== БАЗА ===== */
    --bg-color: #121814;
    --text-color: #e2e8e4;

    /* ===== ОСНОВНЫЕ ЦВЕТА ===== */
    --color-primary: #4e8b4e;
    --color-primary-dark: #3a6b3a;
    --color-primary-light: #1e2e22;

    /* ===== ТЕКСТ ===== */
    --text-primary: #f0f4f1;
    --text-secondary: #c5d0c8;
    --text-muted: #94a398;
    --text-muted-light: #b2b852;

    /* ===== ФОНЫ ===== */
    --bg-white: #1a231d;
    --bg-light: #161e18;
    --bg-green-light: #1e2c21;
    --bg-green-pale: #18261b;
    --bg-green-promo: #182b1e;
    --bg-box: #202d24;
    --bg-gray: #2d3a30;
    --bg-gray-light: #253228;

    /* ===== ГРАНИЦЫ ===== */
    --border-light: #2a382d;
    --border-gray: rgba(255, 255, 255, 0.12);
    --border-menu: rgba(255, 255, 255, 0.15);

    /* ===== ТЕНИ ===== */
    --shadow-header: rgba(0, 0, 0, 0.5);
    --shadow-card: rgba(0, 0, 0, 0.4);
    --shadow-card-hover: rgba(0, 0, 0, 0.6);
    --shadow-table: rgba(0, 0, 0, 0.4);
    --shadow-map: rgba(0, 0, 0, 0.5);
    --shadow-floating: rgba(78, 139, 78, 0.4);
    --shadow-floating-hover: rgba(78, 139, 78, 0.6);
    --shadow-menu: rgba(0, 0, 0, 0.7);
    --shadow-tooltip: rgba(0, 0, 0, 0.5);
    --shadow-social-btn: rgba(0, 0, 0, 0.4);

    /* ===== АКЦЕНТНЫЕ ЦВЕТА ===== */
    --color-red: #ff5252;
    --color-blue: #5b92e5;
    --color-blue-dark: #4a63a8;
    --color-purple: #b366cc;
    --color-yellow-green: #a3a832;
    --color-green: #26c68a;
    --color-green-dark: #38b37e;
    --color-green-alt: #3cd07a;
    --color-border-accent: #6362ab;

    /* ===== СОЦСЕТИ ===== */
    --social-bg: #1e2e22;

    /* ===== ОБЩИЕ ===== */
    --color-white: #1a231d;
    --color-black: #f0f4f1;

    /* ===== КОРЗИНА / ПРОЧЕЕ ===== */
    --color-on-primary: #ffffff;
    --btn-in-cart-bg: #5f6f63;
    --bg-category-row: rgba(255, 255, 255, 0.06);
    --link-accent: #4aa3ff;
    --overlay: rgba(0, 0, 0, 0.65);
}

/* ===== RESET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.3s ease;
    transition: background 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
}

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

ul {
    list-style: none;
}

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

section,
[id] {
    scroll-margin-top: 70px;
}

.toggle {
    position: relative;
    box-sizing: border-box;
    width: 84px;
    height: 42px;
}

.toggle input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.toggle label {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    user-select: none;
}

.toggle label:before {
    content: '';
    width: 84px;
    height: 42px;
    position: relative;
    display: inline-block;
    background: var(--color-primary-light);
    border-radius: 46px;
    border: 4px solid var(--color-primary-light);
    box-sizing: border-box;
    transition: 0.2s ease-in;
}

.toggle label:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    left: 10px;
    top: 12px;
    z-index: 2;
    background: #fff;
    box-sizing: border-box;
    transition: 0.2s ease-in;
}

.toggle .txt-off,
.toggle .txt-on {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: bold;
    font-family: sans-serif;
    z-index: 1;
    pointer-events: none;
}

.toggle .txt-off {
    right: 12px;
    color: #FFF;
}

.toggle .txt-on {
    left: 12px;
    color: #000;
}

.toggle input[type="checkbox"]:checked+label:before {
    background: #FFF;
}

.toggle input[type="checkbox"]:checked+label:after {
    left: 58px;
    background: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.btn:hover {
    background: var(--color-primary-dark);
}

.text-green {
    color: var(--color-primary);
}

.bg-light {
    background: var(--bg-light);
}

.bg-green-light {
    background: var(--bg-green-light);
}

#subscriptions .section-subsubtitle {
    text-align: center;
    font-size: 1.0rem;
    color: var(--color-red);
    margin-top: 27px;
    font-weight: bold;
}

.subscriptions-footer {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
}


.certificates-section {
    padding: 60px 0;
}

.certificates-box {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 24px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-card);
}

.certificates-box h3 {
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 1.4rem;
    text-align: center;
}

.certificates-table {
    width: fit-content;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.certificates-table th,
.certificates-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.certificates-table th {
    background: var(--bg-green-light);
    color: var(--color-primary);
}

.certificates-table td:last-child {
    color: var(--color-green);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.certificate-notes {
    margin-top: 20px;
    color: var(--color-red);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.certificate-notes p+p {
    margin-top: 8px;
}

@media (max-width: 480px) {
    .certificates-box {
        padding: 18px 12px;
    }

    .certificates-table {
        width: 100%;
    }

    .certificates-table th,
    .certificates-table td {
        padding: 9px 8px;
        font-size: 0.9rem;
    }
}

/* ===== HEADER ===== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow-header);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);

    -webkit-mask-image: url("/static/imgs/logo.svg");
    mask-image: url("/static/imgs/logo.svg");

    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.logo span strong {
    color: var(--color-primary);
}

nav.desktop-menu {
    display: flex;
    gap: 24px;
    font-weight: 600;
    font-size: 0.95rem;
}

nav.desktop-menu a {
    transition: color 0.2s;
}

nav.desktop-menu a:hover {
    color: var(--color-primary);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 3px;
    background: var(--color-black);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--bg-color);
    color: var(--text-color);
    padding: 60px 30px;
    transition: left 0.3s ease;
    z-index: 2000;
    box-shadow: 2px 0 20px var(--shadow-menu);
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
}

.mobile-menu a {
    display: block;
    color: var(--text-color);
    font-size: 1.2rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-menu);
    font-weight: 500;
}

.mobile-menu a:hover {
    opacity: 0.8;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

@media (max-width: 960px) {
    nav.desktop-menu {
        display: none;
    }

    .burger {
        display: flex;
    }
}

/* ===== FLOATING BUTTON ===== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-primary-light);
    border: none;
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--shadow-floating);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px var(--shadow-floating-hover);
}

.floating-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 480px) {
    .floating-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
        bottom: 20px;
        right: 16px;
    }
}

/* ===== HERO ===== */
.hero {
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
}

.hero img {
    border-radius: 20px;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    margin-top: 20px;
    box-shadow: 0 4px 20px var(--shadow-map);
}

/* ===== ADVANTAGES ===== */
.advantages {
    padding: 60px 0;
    transition: background 0.3s ease;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.advantage-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.advantage-item .icon {
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat center;
    mask-size: contain;
    background-color: var(--color-primary);
    flex-shrink: 0;
}

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

.advantage-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== SOCIAL PROGRAM ===== */
.social-program {
    padding: 40px 0;
    background: var(--bg-green-pale);
    transition: background 0.3s ease;
}

.social-program .box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 32px 36px;
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--shadow-card);
    border-left: 6px solid var(--color-border-accent);
}

.social-program h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.social-program p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.social-program .highlight {
    font-weight: 600;
    color: var(--color-red);
}

.social-program .highlight span {
    font-weight: 700;
    color: var(--color-blue);
}

.price-section {
    padding: 40px 0;
    transition: background 0.3s ease;
}

.price-section p {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-red);
    margin-top: 24px;
    font-weight: bold;
}

.price-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.price-tabs button {
    padding: 10px 28px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background: var(--bg-gray);
    color: var(--color-purple);
}

.price-tabs button:first-child {
    border-radius: 8px 0 0 8px;
}

.price-tabs button:last-child {
    border-radius: 0 8px 8px 0;
}

.price-tabs button:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.price-tabs .active {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

.price-tabs .inactive {
    background: var(--bg-gray);
    color: var(--color-yellow-green);
}

.price-table-wrap {
    background: var(--color-white);
    border-radius: 14px;
    box-shadow: 0 4px 14px var(--shadow-table);
    overflow: hidden;
    max-width: 780px;
    margin: 0 auto;
}

.price-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.price-table-wrap th,
.price-table-wrap td {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.price-table-wrap th:nth-child(1),
.price-table-wrap td:nth-child(1) {
    width: 50%;
}

.price-table-wrap th:nth-child(2),
.price-table-wrap td:nth-child(2) {
    width: 25%;
    text-align: center;
}

.price-table-wrap th:nth-child(3),
.price-table-wrap td:nth-child(3) {
    width: 25%;
    text-align: right;
}

.price-table-wrap th {
    background: var(--bg-gray-light);
    font-weight: 700;
    color: var(--color-green-dark);
}

.price-table-wrap tr:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.price-table-wrap td.price {
    font-weight: 700;
    color: var(--color-green);
}

@media (max-width: 650px) {

    .price-table-wrap th,
    .price-table-wrap td {
        font-size: 0.85rem;
        padding: 10px 8px;
    }

    .price-tabs button {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .price-tabs button:first-child,
    .price-tabs button:last-child {
        border-radius: 6px;
    }
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 20px 0;
}

.card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 28px 22px;
    width: 280px;
    box-shadow: 0 4px 12px var(--shadow-card);
}


.card h3 {
    color: var(--color-green);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card .price-big {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card ul {
    padding-left: 20px;
    list-style: disc;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.card ul li {
    margin-bottom: 4px;
}

.promo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.promo-card {
    background: var(--bg-green-promo);
    border-radius: 12px;
    padding: 24px 22px;
    width: 380px;
    box-shadow: 0 4px 12px var(--shadow-card);
}

.promo-card h4 {
    color: var(--color-green);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.promo-card table {
    width: 100%;
    font-size: 0.95rem;
}

.promo-card td {
    padding: 6px 0;
}

.promo-card td:last-child {
    text-align: right;
    font-weight: 700;
}

.outdoor {
    max-width: 900px;
    margin: 40px auto;
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 4px 32px var(--shadow-header);
    padding: 32px 28px;
}

.outdoor h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 8px;
}

.outdoor .sub {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.outdoor .inner-box {
    background: var(--bg-box);
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 16px;
}

.outdoor .inner-box h4 {
    color: var(--color-green-alt);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.outdoor .inner-box ul {
    list-style: disc;
    padding-left: 20px;
    margin: 8px 0;
}

.outdoor .inner-box ul li {
    margin-bottom: 4px;
}

.vacancies {
    padding: 50px 0;
    background: var(--bg-light);
}

.vacancies .vacancy-list {
    max-width: 800px;
    margin: 0 auto;
}

.vacancies .vacancy-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px var(--shadow-header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.vacancies .vacancy-item h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.vacancies .vacancy-item .badge {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.vacancies .vacancy-item .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    width: 100%;
    margin-top: 4px;
}

.vacancies .vacancy-item .contact {
    font-weight: 600;
    color: var(--color-primary);
}

.contact-section {
    padding: 60px 0;
    background: var(--bg-green-light);
}

.contact-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.contact-info {
    flex: 1 1 300px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info ul {
    margin-bottom: 20px;
}

.contact-info ul li {
    margin-bottom: 8px;
}

.social-icons {
    color: var(--color-primary)
}

.contact-info .social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 20px;
}

.contact-info .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.contact-info .social-icons svg {
    width: 100%;
    height: 100%;
    fill: var(--color-primary);
}

.contact-map {
    flex: 2 1 400px;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-map);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
}


.reviews-section {
    padding: 60px 0;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--color-white);
    padding: 24px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow-card);
    margin-bottom: 30px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rating-summary .score {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.rating-summary .stars,
.review-card .stars {
    color: #ffc107;
    font-size: 1rem;
    display: flex;
    gap: 2px;
}

.rating-summary .count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.reviews-grid {
    position: relative;
    max-height: 580px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.reviews-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* background: linear-gradient(to bottom, transparent, var(--bg-light)); */
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.reviews-grid.expanded {
    max-height: 3000px;
}

.reviews-grid.expanded::after {
    opacity: 0;
}

.show-more-wrap {
    text-align: center;
    margin-top: 24px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--bg-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow-card);
}

.btn-more:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more.active i {
    transform: rotate(180deg);
}

.review-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: var(--bg-color);
    color: var(--text-color);
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-menu);
}

.modal-window h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.modal-window .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 1.5rem;
    color: var(--border-gray);
    cursor: pointer;
    margin: 0;
}

.star-rating-input input:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
    color: #ffc107;
}

footer {
    padding: 30px 20px;
    background: var(--bg-green-light);
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer .copy {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

footer .scroll-top {
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

footer .scroll-top svg {
    width: 16px;
    height: 16px;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .promo-card {
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .contact-map {
        min-height: 250px;
    }

    .contact-map iframe {
        min-height: 250px;
    }

    .outdoor {
        padding: 20px 16px;
    }

    .social-program .box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .floating-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}


.social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow-social-btn);
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-btn i {
    font-size: 22px;
    color: var(--color-white);
}

.social-btn.phone {
    background-color: var(--social-phone);
}

.social-btn.viber {
    background-color: var(--social-viber);
}

.social-btn.telegram {
    background-color: var(--social-telegram);
}

.social-btn.whatsapp {
    background-color: var(--social-whatsapp);
}

.social-btn.instagram {
    background: radial-gradient(circle at 30% 107%, var(--social-instagram-yellow) 0%, var(--social-instagram-yellow) 5%, var(--social-instagram-red) 45%, var(--social-instagram-pink) 60%, var(--social-instagram-blue) 90%);
}

.social-btn.facebook {
    background-color: var(--social-facebook);
}

.social-btn.email {
    background-color: var(--social-email);
}

.social-section {
    padding: 30px 0;
    background: var(--social-bg);
}

.social-section .container {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


.floating-tooltip {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--shadow-tooltip);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 998;
    pointer-events: none;
    animation: floatTooltip 2s ease-in-out infinite;
}

.tooltip-arrow {
    width: 18px;
    height: 18px;
}

@keyframes floatTooltip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 480px) {
    .floating-tooltip {
        bottom: 80px;
        right: 16px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}


.masters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    justify-items: center;
    justify-content: center;
}

.master-card {
    text-align: center;
    width: 100%;
}

.master-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    display: block;
    box-shadow: 0 4px 12px var(--shadow-map);
}

.master-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

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

@media (max-width: 1100px) {
    .masters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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



.gallery-section {
    padding: 40px 0;
    background: var(--color-white, #fff);
}

.carousel {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    aspect-ratio: 4 / 5;
    background: transparent;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

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


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 2;
    user-select: none;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}


.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 10px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots .dot:hover {
    transform: scale(1.15);
}

.carousel-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}


[data-theme="dark"] .gallery-section {
    background: var(--bg-color, #121814);
}

[data-theme="dark"] .carousel {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}


@media (max-width: 600px) {
    .gallery-section {
        padding: 20px 0;
    }

    .carousel {
        border-radius: 12px;
        aspect-ratio: 4 / 5;
        max-width: 100%;
    }

    .carousel-slide img {
        object-fit: contain;

    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
    }
}

.mobile-menu a.menu-oferta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-menu);
    color: #e70808;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.mobile-menu a.menu-oferta:hover {
    color: #7dc47d;
    opacity: 1;
}

/* ===== КЛАССЫ, ВЫНЕСЕННЫЕ ИЗ INLINE-СТИЛЕЙ ===== */

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.promo-note-extra {
    margin-top: 8px;
}

.subscriptions-section {
    padding: 40px 0;
}

.masters-section {
    padding: 60px 0;
}

.price-table-wrap th.col-cart {
    width: 70px;
}

.price-table-wrap .cell-cart {
    text-align: center;
}

.price-table-wrap .category-row {
    font-weight: 700;
    background: var(--bg-category-row);
}

.vacancy-contact {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
}

.vacancy-contact a {
    font-weight: 700;
}

.vacancy-contact-phone {
    display: block;
}

.link-telegram {
    color: var(--link-accent);
}

.link-phone {
    color: var(--color-primary);
}

.reviews-empty {
    text-align: center;
}

/* ===== КОРЗИНА ===== */

/* Кнопка «в кошик» в таблице цен */
.add-to-cart-btn {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
}

.add-to-cart-btn:hover {
    background: var(--color-primary-dark);
}

.add-to-cart-btn.in-cart {
    background: var(--btn-in-cart-bg);
}

/* Плавающая кнопка корзины */
.cart-floating-btn {
    display: flex;
    position: fixed;
    bottom: 200px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-floating);
    z-index: 998;
}

.cart-badge {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    color: var(--color-on-primary);
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
}

.cart-badge.visible {
    display: flex;
}

/* Шторка корзины */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 380px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    color: var(--text-color);
    box-shadow: -2px 0 10px var(--shadow-card-hover);
    z-index: 1001;
    transition: right 0.3s ease;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
}

.cart-header .close-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 20px 0;
}

/* ===== ДВЕ КАРУСЕЛИ РЯДОМ ===== */
.gallery-duo {
    display: flex;
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.gallery-duo .gallery-section {
    flex: 1;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.gallery-duo .carousel {
    max-width: 100%;
}

/* ===== КАРУСЕЛИ РЯДОМ — МОБИЛЬНАЯ ===== */

/* ===== КАРУСЕЛИ НА МОБИЛЬНОМ — В СТОЛБИК ===== */
@media (max-width: 900px) {
    .gallery-duo {
        flex-direction: column;
        gap: 16px;
        padding: 0 12px;
        margin: 16px auto;
        max-width: 100%;
    }

    .gallery-duo .gallery-section {
        width: 100%;
    }

    .gallery-duo .carousel {
        max-width: 100%;
    }
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-info {
    flex: 1;
    padding-right: 10px;
}

.cart-item-title {
    font-weight: 600;
    font-size: 14px;
}

.cart-duration-note {
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-muted);
}

.cart-duration-select {
    margin-top: 5px;
    padding: 4px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    background: var(--bg-white);
    color: var(--text-color);
    font-family: inherit;
    font-size: 13px;
}

.cart-item-side {
    text-align: right;
}

.cart-item-price {
    font-weight: bold;
    font-size: 14px;
}

.cart-item-remove {
    margin-top: 4px;
    border: none;
    background: none;
    color: var(--color-red);
    font-size: 18px;
    cursor: pointer;
}

.cart-footer {
    padding: 16px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-box);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: bold;
}

.cart-footer .form-group {
    margin-top: 10px;
    margin-bottom: 0;
}

.cart-footer .form-group input {
    margin-bottom: 8px;
}

.cart-footer .btn {
    padding: 12px;
}