/* ============================================================
   WHIEDA — полный style.css
   Палитра из easyspot.ru/products/akt-far.php
   ============================================================ */

:root {
    --primary: #0d6b5c;
    --primary-dark: #094f44;
    --primary-light: #14b8a6;
    --accent: #b8924a;
    --accent-light: #d4a85f;
    --text: #1a1a1a;
    --text-light: #555;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 35px rgba(0,0,0,0.12);
    --radius: 12px;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== HEADER ========== */
header {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 100;
}
.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 0;
}
.logo {
    font-size: 28px; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}
.menu {
    display: flex; gap: 28px; list-style: none; align-items: center;
}
.menu > li { position: relative; }
.menu > li > a {
    text-decoration: none; color: var(--text);
    font-weight: 600; font-size: 15px;
    transition: color 0.3s;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 0;
}
.menu > li > a:hover,
.menu > li > a.active,
.menu > li.active > a { color: var(--primary); }

.menu > li > a i { font-size: 10px; opacity: 0.6; transition: transform 0.3s; }
.menu > li:hover > a i { transform: rotate(180deg); }

/* Выпадающее меню */
.dropdown {
    position: absolute; top: 100%; left: -16px;
    min-width: 300px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    padding: 12px;
    list-style: none;
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--border);
    max-height: 420px; overflow-y: auto;
}
.has-dropdown:hover .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: all 0.2s;
}
.dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.dd-emoji { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }

/* Кнопки */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white; text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700; transition: all 0.3s;
    border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(13,107,92,0.3);
    font-size: 15px; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13,107,92,0.4); }
.btn-gold { background: var(--gradient-gold); box-shadow: 0 4px 15px rgba(184,146,74,0.3); }
.btn-gold:hover { box-shadow: 0 8px 25px rgba(184,146,74,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #e8f3f0 50%, #ffffff 100%);
    padding: 100px 0;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute;
    top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(13,107,92,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-block; padding: 8px 20px;
    background: var(--gradient-gold); color: white;
    border-radius: 100px; font-size: 14px; font-weight: 700;
    margin-bottom: 24px; box-shadow: 0 4px 15px rgba(184,146,74,0.3);
}
.hero h1 {
    font-size: 52px; line-height: 1.1; font-weight: 800;
    margin-bottom: 24px; letter-spacing: -0.5px;
}
.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 19px; color: var(--text-light); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
    background: var(--gradient-primary);
    border-radius: 24px; min-height: 450px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 60px rgba(13,107,92,0.3);
}
.hero-visual::before {
    content: ''; position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-icon {
    font-size: 180px; color: white;
    position: relative; z-index: 1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero: картинка прибора */
.hero-visual img.hero-image {
    width: 100%; height: 100%;
    min-height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    position: relative; z-index: 1;
}

/* ========== SECTIONS ========== */
section { padding: 90px 0; }
.section-tag {
    color: var(--accent); font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 16px; display: inline-block;
    padding: 6px 16px; background: rgba(184,146,74,0.1);
    border-radius: 100px;
}
.section-title {
    font-size: 42px; font-weight: 800;
    margin-bottom: 20px; line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    font-size: 18px; color: var(--text-light);
    line-height: 1.7; max-width: 700px;
}
.section-header {
    text-align: center; max-width: 800px;
    margin: 0 auto 60px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ========== WHAT IS ========== */
.what-is { background: var(--bg); }
.what-is-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.what-is-content h3 { font-size: 28px; margin-bottom: 20px; color: var(--primary); }
.what-is-content p {
    color: var(--text-light); font-size: 17px;
    line-height: 1.8; margin-bottom: 16px;
}
.what-is-quote {
    background: var(--bg-light); padding: 28px;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius); margin-top: 24px;
    font-style: italic; color: var(--text);
}
.what-is-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.level-card {
    background: white; padding: 28px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    transition: all 0.3s; border: 2px solid transparent;
}
.level-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}
.level-card .icon { font-size: 42px; margin-bottom: 12px; }
.level-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.level-card p { font-size: 14px; color: var(--text-light); }

/* ========== HOW IT WORKS ========== */
.how-works { background: var(--bg-light); }
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.work-card {
    background: white; padding: 32px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    transition: all 0.3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.work-card .number {
    width: 60px; height: 60px;
    background: var(--gradient-primary); color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(13,107,92,0.3);
}
.work-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.work-card p { color: var(--text-light); line-height: 1.7; font-size: 15px; }

/* ========== INDICATIONS ========== */
.indications { background: var(--bg); }
.indications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.indication-card {
    background: linear-gradient(135deg, #f7fbfa 0%, #ffffff 100%);
    padding: 28px; border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
}
.indication-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent);
}
.indication-card .icon { font-size: 36px; margin-bottom: 12px; }
.indication-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.indication-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ========== RESULTS ========== */
.results {
    background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 100%);
    color: white; position: relative; overflow: hidden;
}
.results::before {
    content: ''; position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184,146,74,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.results .section-title {
    -webkit-text-fill-color: white;
    background: none; color: white;
}
.results .section-subtitle { color: rgba(255,255,255,0.85); }
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px; position: relative; z-index: 1;
}
.result-card {
    background: rgba(255,255,255,0.05);
    padding: 32px; border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}
.result-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent);
    transform: translateY(-5px);
}
.result-tag {
    display: inline-block; padding: 6px 14px;
    background: var(--gradient-gold); color: white;
    border-radius: 100px; font-size: 12px; font-weight: 700;
    margin-bottom: 16px; letter-spacing: 0.5px;
}
.result-card h4 { font-size: 20px; margin-bottom: 14px; color: white; line-height: 1.3; }
.result-card p { color: rgba(255,255,255,0.85); line-height: 1.7; font-size: 15px; }
.result-author {
    margin-top: 20px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px; color: var(--accent-light); font-weight: 600;
}

/* ========== COMBINATION ========== */
.combination { background: var(--bg-light); }
.combo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.combo-card {
    background: white; padding: 32px;
    border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow); transition: all 0.3s;
}
.combo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.combo-card .icon { font-size: 48px; margin-bottom: 16px; }
.combo-card h4 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.combo-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ========== PROTOCOL ========== */
.protocol { background: var(--bg); }
.protocol-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: start;
}
.protocol-box {
    background: var(--bg-light); padding: 36px;
    border-radius: var(--radius);
    border-top: 4px solid var(--primary);
}
.protocol-box h3 { font-size: 24px; margin-bottom: 20px; color: var(--primary); }
.protocol-box ul { list-style: none; }
.protocol-box li {
    padding: 12px 0 12px 32px; position: relative;
    font-size: 15px; color: var(--text); line-height: 1.6;
    border-bottom: 1px solid var(--border);
}
.protocol-box li:last-child { border-bottom: none; }
.protocol-box li::before {
    content: '✓'; position: absolute; left: 0; top: 12px;
    width: 22px; height: 22px;
    background: var(--gradient-primary); color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 12px;
}

/* ========== CONTRAINDICATIONS ========== */
.contra { background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%); }
.contra-wrap {
    background: white; padding: 40px;
    border-radius: var(--radius);
    border-left: 5px solid #e53e3e;
    box-shadow: var(--shadow);
    max-width: 800px; margin: 0 auto;
}
.contra-wrap h3 { font-size: 24px; color: #e53e3e; margin-bottom: 20px; }
.contra-wrap ul { list-style: none; }
.contra-wrap li {
    padding: 12px 0 12px 32px; position: relative;
    font-size: 16px; color: var(--text);
}
.contra-wrap li::before {
    content: '⚠'; position: absolute; left: 0;
    color: #e53e3e; font-weight: 700; font-size: 18px;
}

/* ========== SPECIAL OFFER ========== */
.special {
    background: var(--gradient-gold);
    padding: 80px 0; color: white; text-align: center;
}
.special h2 { font-size: 40px; font-weight: 800; margin-bottom: 20px; color: white; }
.special p {
    font-size: 18px; margin-bottom: 32px; opacity: 0.95;
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.special-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 900px; margin: 40px auto;
}
.special-item {
    background: rgba(255,255,255,0.15);
    padding: 28px; border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}
.special-item .num { font-size: 36px; font-weight: 800; color: white; margin-bottom: 8px; }
.special-item .label { font-size: 15px; color: rgba(255,255,255,0.95); }

/* ========== CTA FORM ========== */
.cta { background: var(--bg-light); }
.form-wrapper {
    max-width: 600px; margin: 0 auto;
    background: white; padding: 48px;
    border-radius: 20px; box-shadow: var(--shadow-hover);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-weight: 600;
    margin-bottom: 8px; font-size: 14px; color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px; font-family: inherit;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,107,92,0.1);
}
.form-wrapper .btn { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }
.form-note {
    font-size: 13px; color: var(--text-light);
    text-align: center; margin-top: 16px;
}
.form-disclaimer-box {
    text-align: center; margin-top: 30px;
    padding: 24px; background: white;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.form-disclaimer-box p { font-size: 14px; color: var(--text-light); margin: 0; }

/* ========== FOOTER ========== */
footer {
    background: #0f172a; color: #94a3b8;
    padding: 40px 0; text-align: center; font-size: 14px;
}
footer p { margin-bottom: 8px; }
.footer-disclaimer {
    font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 10px;
}

/* ========== HERO STATS (главная) ========== */
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-top: 40px; padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat strong {
    display: block; font-size: 32px; font-weight: 800;
    color: var(--primary); line-height: 1; margin-bottom: 6px;
}
.stat span {
    font-size: 12px; color: var(--text-light);
    text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}

/* ========== ABOUT GRID (главная) ========== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* ========== PRODUCTS GRID (главная) ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.product-card {
    position: relative;
    background: white; padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex; flex-direction: column;
    border: 2px solid transparent;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.product-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--gradient-gold); color: white;
    font-size: 12px; font-weight: 700;
    padding: 5px 14px; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.06em;
}
.product-emoji { font-size: 48px; margin-bottom: 20px; }
.product-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.product-card p {
    font-size: 15px; color: var(--text-light);
    margin-bottom: 20px; flex: 1; line-height: 1.7;
}
.product-price {
    font-size: 18px; font-weight: 700;
    color: var(--primary); margin-bottom: 20px;
}
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ========== CAREER LADDER  ========== */
.career-ladder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.career-step {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(13,107,92,0.08);
    transition: all 0.3s;
    border: 1.5px solid var(--border);
}
.career-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(13,107,92,0.15);
    border-color: var(--primary);
}
.career-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(13,107,92,0.3);
}
.career-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}
.career-income {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.career-req {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== GOLDEN TRIANGLE  ========== */
.golden-triangle {
    margin-top: 40px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    border: 1px solid var(--border-hover);
    color: var(--text);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.golden-triangle h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    position: relative;
    color: var(--accent);
}
.golden-triangle p {
    opacity: 0.9;
    font-size: 1rem;
    position: relative;
}

/* ========== PAGE HEADER (внутренние страницы) ========== */
.page-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #e8f3f0 50%, #ffffff 100%);
    padding: 80px 0 60px; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute;
    top: -30%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(13,107,92,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    font-size: 46px; font-weight: 800;
    line-height: 1.15; margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.page-header h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header p {
    font-size: 18px; color: var(--text-light);
    max-width: 700px; line-height: 1.7;
}
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); text-decoration: none;
    font-size: 14px; font-weight: 600;
    margin-bottom: 24px;
    padding: 8px 16px; background: white;
    border-radius: 100px; box-shadow: var(--shadow);
    transition: all 0.3s;
}
.back-link:hover { transform: translateX(-4px); box-shadow: var(--shadow-hover); }

/* ========== REVIEWS ========== */
.review-card {
    background: white; padding: 32px;
    border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.review-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.review-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.review-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--gradient-primary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 20px; flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(13,107,92,0.3);
}
.review-header strong { display: block; font-size: 16px; color: var(--text); }
.review-header span { font-size: 14px; color: var(--text-light); }
.review-body p {
    font-size: 15px; color: var(--text-light);
    margin-bottom: 14px; line-height: 1.75;
}
.review-link {
    color: var(--primary); font-weight: 600;
    font-size: 14px; text-decoration: none;
}
.review-link:hover { text-decoration: underline; }

/* ========== VIDEO EMBED ========== */
.video-section { background: var(--bg); }
.video-embed {
    position: relative;
    width: 100%; max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    background: #000;
}
.video-embed iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: 0;
}

/* ========== DISCLAIMER ========== */
.disclaimer-section {
    padding: 40px 0; background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.disclaimer-text {
    font-size: 14px; color: var(--text-light);
    text-align: center; max-width: 760px; margin: 0 auto;
    padding: 20px 24px; background: white;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    line-height: 1.7;
}

/* ========== NAV TOGGLE (mobile) ========== */
.nav-toggle {
    display: none; background: none; border: none;
    flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--primary); border-radius: 2px; transition: 0.3s;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    .menu {
        display: none;
        flex-direction: column; gap: 4px;
        align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0;
        background: white; padding: 20px;
        box-shadow: var(--shadow-hover);
        z-index: 999;
    }
    .menu.open { display: flex; }
    .menu > li { width: 100%; }
    .menu > li > a {
        padding: 14px 12px;
        justify-content: space-between;
    }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none;
        padding: 0 0 0 16px;
        max-height: none; min-width: 0;
    }
    .dropdown a { padding: 10px 12px; font-size: 13px; }

    .hero-grid, .what-is-grid, .protocol-wrap {
        grid-template-columns: 1fr; gap: 40px;
    }
    .hero h1 { font-size: 38px; }
    .page-header h1 { font-size: 36px; }
    .section-title { font-size: 32px; }
    .special-grid { grid-template-columns: 1fr; }
    .form-wrapper { padding: 32px 24px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat strong { font-size: 26px; }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 30px; }
    .hero-icon { font-size: 120px; }
    section { padding: 60px 0; }
    .what-is-visual { grid-template-columns: 1fr; }
    .page-header { padding: 60px 0 40px; }
    .page-header h1 { font-size: 28px; }
}
 /* ========== CONTACTS ========== */
.section { padding: 90px 0; background: var(--bg); }

.section-label {
    display: inline-block;
    color: var(--accent); font-weight: 700; font-size: 13px;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 6px 18px;
    background: var(--accent-soft);
    border: 1px solid rgba(184,146,74,0.25);
    border-radius: 100px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(13,107,92,0.08);
    border: 1.5px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(13,107,92,0.15);
    border-color: var(--primary);
}
.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}
.contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}
.contact-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.contact-card a:hover {
    text-decoration: underline;
}
/* ========== FAQ ACCORDION ========== */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary { position: relative; transition: color 0.2s; }
.faq-item summary:hover { color: var(--primary-dark); }
.faq-item[open] summary { color: var(--primary-dark); margin-bottom: 8px; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item summary span { transition: transform 0.3s; display: inline-block; }
.faq-item {
    border-left: 3px solid transparent;
    transition: all 0.3s;
}
.faq-item[open] {
    border-left-color: var(--accent);
}

/* ============ ВЕРХНЯЯ ПЛАШКА ============ */
/* ============ ВЕРХНЯЯ ПЛАШКА ============ */
.top-bar {
    background: linear-gradient(135deg, #0d6b5c 0%, #0a5348 100%);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* Слоганы */
.partner-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.partner-line i {
    color: #7ed9c2;   /* светло-зелёный акцент для иконки */
}

.partner-line--right {
    margin-left: auto;
}

/* Блок контактов */
.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: 24px;
}

/* ---------- Телефон ---------- */
.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.top-bar-phone:hover,
.top-bar-phone:focus {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.top-bar-phone i {
    font-size: 12px;
    color: #7ed9c2;
}

/* ---------- Кнопка MAX ---------- */
.top-bar-max {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.25s, max-width 0.25s;
    overflow: hidden;
    max-width: 34px;
}

.top-bar-max:hover,
.top-bar-max:focus {
    background: rgba(255, 255, 255, 0.28);
    max-width: 200px;
}

.top-bar-max img {
    display: block;
    border-radius: 4px;
    flex-shrink: 0;
}

.top-bar-max__label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s 0.05s, transform 0.2s 0.05s;
    pointer-events: none;
}

.top-bar-max:hover .top-bar-max__label,
.top-bar-max:focus .top-bar-max__label {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Мобильные ---------- */
@media (max-width: 768px) {
    .top-bar-inner {
        justify-content: center;
        gap: 10px;
    }
    .partner-line--right {
        display: none;
    }
    .top-bar-contacts {
        margin-left: 0;
        gap: 14px;
    }
    .top-bar-phone {
        font-size: 13px;
    }
    .top-bar-max {
        max-width: 34px !important;
    }
    .top-bar-max__label {
        display: none;
    }
}

/* ========== НАВИГАЦИЯ ========== */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    position: relative;
}
.nav-cta {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========== ЛОГОТИП ЭВИТАС ========== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
}

/* ========== ИКОНКА ЛОГОТИПА (PNG) ========== */
.logo-icon-img {
    display: block;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    /* Если PNG имеет белый фон, а вы хотите его убрать — используйте mix-blend-mode */
    /* mix-blend-mode: multiply; */
}

/* Иконка в подвале — чуть меньше */
/* ========== ЛОГОТИП В ПОДВАЛЕ ========== */
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-decoration: none;
    margin: 0 0 16px 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 100%;
    line-height: 1;
}

.footer-logo-icon {
    display: block;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    flex: 0 0 32px;
    object-fit: contain;
    margin: 0;
    padding: 0;
    align-self: center;
}

.footer-logo-text {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
    white-space: nowrap;
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    padding: 0;
}

/* ========== СЛОГАН В ШАПКЕ ========== */
.nav-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 6px 0;
    margin-left: 8px;
    display: inline-block;
    line-height: 1.3;
    max-width: 180px;
    text-align: right;
}

/* ========== ЛОГОТИП В ПОДВАЛЕ ========== */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-logo .logo-icon-svg {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    flex: 0 0 32px;
}

.footer-logo .logo-text {
    font-size: 22px;
}

/* ========== НАВИГАЦИЯ ========== */
.nav-cta {
    white-space: nowrap;
}

/* ========== ПОДВАЛ —  «В СТОЛБИК» ========== */
.site-footer,
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 24px;
    font-size: 14px;
}
.site-footer .container,
footer .container {
    display: block;
}

/* Сетка подвала — 4 колонки */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-col {
    display: block;
    min-width: 0;
}

.footer-col h4 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}
.footer-col li {
    display: block;
    margin: 0 0 10px;
    line-height: 1.4;
}
.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: inline-block;
}
.footer-col a:hover {
    color: #14b8a6;
}
.footer-col p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #94a3b8;
}

/* Брендовая колонка подвала */
.footer-col-brand {
    padding-right: 20px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
    letter-spacing: 0.02em;
}
.footer-slogan {
    font-size: 14px;
    color: #cbd5e1;
    margin: 0 0 10px;
    line-height: 1.5;
    font-weight: 500;
}
.footer-partner {
    font-size: 13px;
    color: var(--accent-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    line-height: 1.5;
}
.footer-partner i {
    font-size: 13px;
}

/* Нижняя строка подвала */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}
.footer-bottom p {
    margin: 0 0 6px;
    line-height: 1.6;
    color: #94a3b8;
}
.footer-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ========== АДАПТИВ ПОДВАЛА ========== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 8px;
    }
}
@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        text-align: center;
    }
    .partner-line {
        justify-content: center;
        white-space: normal;
    }
    .partner-line--right {
        margin-left: 0;
        text-align: center;
    }
}
@media (max-width: 1200px) {
    .nav-tagline {
        font-size: 12px;
        max-width: 150px;
    }
}

@media (max-width: 992px) {
    .nav-tagline {
        display: none;  /* Скрываем слоган на планшетах и мобильных — там мало места */
    }
}



/* ========== HERO: подпись партнёра ========== */
.hero-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d6b5c 0%, #14b8a6 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 15px rgba(13,107,92,0.25);
}
.hero-partner-badge i {
    color: var(--accent-light);
    font-size: 13px;
}
/* ========== ДВЕ ВОЗМОЖНОСТИ WHIEDA ========== */
.independence-section {
    background: linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%);
    padding: 90px 0;
    position: relative;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.opportunity-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px;
    border: 2px solid var(--border);
    box-shadow: 0 8px 30px rgba(13, 107, 92, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.opportunity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.opportunity-business::before {
    background: linear-gradient(90deg, #0d6b5c 0%, #14b8a6 100%);
}

.opportunity-health::before {
    background: linear-gradient(90deg, #b8924a 0%, #d4a85f 100%);
}

.opportunity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13, 107, 92, 0.12);
    border-color: var(--primary);
}

.opportunity-health:hover {
    border-color: var(--accent);
}

.opportunity-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1;
}

.opportunity-business .opportunity-icon {
    background: linear-gradient(135deg, #e6f5f1 0%, #d4eee7 100%);
}

.opportunity-health .opportunity-icon {
    background: linear-gradient(135deg, #faf4e6 0%, #f5e6c8 100%);
}

.opportunity-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.25;
}

.opportunity-card > p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.opportunity-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opportunity-features li {
    font-size: 14px;
    color: var(--text);
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.5;
}

.opportunity-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 11px;
    color: #ffffff;
}

.opportunity-business .opportunity-features li::before {
    background: linear-gradient(135deg, #0d6b5c 0%, #14b8a6 100%);
}

.opportunity-health .opportunity-features li::before {
    background: linear-gradient(135deg, #b8924a 0%, #d4a85f 100%);
}

.opportunity-quote {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    padding: 20px 22px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}

.opportunity-health .opportunity-quote {
    border-left-color: var(--accent);
}

.opportunity-quote i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 12px;
}

.opportunity-health .opportunity-quote i {
    color: var(--accent);
}

.opportunity-author {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
}

.opportunity-health .opportunity-author {
    color: var(--accent);
}

.opportunity-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.opportunity-stat {
    text-align: center;
}

.opportunity-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.opportunity-health .opportunity-stat strong {
    color: var(--accent);
}

.opportunity-stat span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.opportunity-btn {
    margin-top: auto;
    align-self: flex-start;
    width: 100%;
    justify-content: center;
}

.opportunity-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    line-height: 1.7;
}

.opportunity-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* Адаптив */
@media (max-width: 900px) {
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .opportunity-card {
        padding: 32px 28px;
    }
    .independence-section {
        padding: 60px 0;
    }
}

@media (max-width: 640px) {
    .opportunity-card h3 {
        font-size: 19px;
    }
    .opportunity-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .opportunity-stat strong {
        font-size: 17px;
    }
}


./* ========== ОПЫТ ПРИМЕНЕНИЯ (список в столбик) ========== */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr;   /* всегда одна колонка */
    gap: 14px;
    margin-bottom: 32px;
    max-width: 700px;              /* чтобы карточки не растягивались на всю ширину */
    margin-left: auto;
    margin-right: auto;
}

.experience-card {
    display: flex;
    flex-direction: row;            /* иконка + текст в одну строку */
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    border-left: 4px solid var(--primary);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(13,107,92,0.06);
}

.experience-card:hover {
    transform: translateX(4px);
    border-left-color: var(--accent);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.experience-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.experience-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    flex: 1;
}

.experience-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap 0.3s;
}

.experience-card:hover .experience-link {
    gap: 10px;
}

.experience-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    max-width: 700px;
    margin: 40px auto 0;           /* 40px сверху — отступ от grid */
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    line-height: 1.6;
}

.experience-note i {
    color: var(--accent);
    margin-right: 8px;
}

@media (max-width: 640px) {
    .experience-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 18px 20px;
    }
    .experience-title {
        font-size: 16px;
    }
    .experience-link {
        align-self: flex-end;
    }
}
/* ========== КЕЙС: ДВЕ КАРТИНКИ РЯДОМ ========== */
.case-two {
    background: var(--bg);
    padding: 60px 0;
}

.case-two-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* текст слева, фото справа */
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.case-two-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.case-two-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 14px;
}

.case-two-text p strong {
    color: var(--text);
    font-weight: 700;
}

.case-two-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    font-size: 13px !important;
    color: var(--text-light);
    line-height: 1.6;
}

.case-two-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* Две картинки рядом */
.case-two-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* две картинки в ряд */
    gap: 14px;
}

.case-two-photo {
    margin: 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13,107,92,0.08);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.case-two-photo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.case-two-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;              /* фиксируем пропорцию, чтобы до/после были одинаковыми */
    object-fit: cover;
    background: var(--bg-light);
}

.case-two-photo figcaption {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

/* Кнопки под кейсом */
.case-two-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Адаптив */
@media (max-width: 900px) {
    .case-two-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .case-two-text h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .case-two-photos {
        gap: 10px;
    }
    .case-two-photo figcaption {
        font-size: 12px;
        padding: 8px;
    }
}
/* ========== РЕЗУЛЬТАТ В ДИНАМИКЕ: список кейсов ========== */
.case-two {
    background: var(--bg);
    padding: 80px 0;
}

/* Один кейс = текст слева + 2 фото справа */
.case-item {
    padding: 40px 0;
    /*border-bottom: 1px solid var(--border);*/
}
.case-item:first-of-type {
    padding-top: 0;
}
.case-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.case-two-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* текст слева, фото справа */
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.case-two-text h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.3;
}

.case-two-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 14px;
}

.case-two-text p strong {
    color: var(--text);
    font-weight: 700;
}

/* Две картинки рядом */
.case-two-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.case-two-photo {
    margin: 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13,107,92,0.08);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.case-two-photo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.case-two-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--bg-light);
}

.case-two-photo figcaption {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

/* Примечание — общее для всех кейсов */
.case-two-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}
.case-two-note i {
    color: var(--accent);
    margin-right: 8px;
}
.case-two-note--global {
    max-width: 780px;
    margin: 40px auto 0;
    text-align: center;
}

/* Кнопки под всеми кейсами */
.case-two-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Адаптив */
@media (max-width: 900px) {
    .case-two-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .case-two-text h3 {
        font-size: 19px;
    }
    .case-item {
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    .case-two {
        padding: 60px 0;
    }
    .case-two-photos {
        gap: 10px;
    }
    .case-two-photo figcaption {
        font-size: 12px;
        padding: 8px;
    }
}
/* ========== МАРКЕТИНГ-ПЛАН ========== */
.marketing {
    background: var(--bg);
    padding: 80px 0;
}

.marketing-block {
    max-width: 1000px;
    margin: 0 auto 48px;
    padding: 36px 32px;
    background: white;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 20px rgba(13,107,92,0.06);
}

.marketing-block:last-of-type {
    margin-bottom: 0;
}

.marketing-h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.marketing-block > p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}

.marketing-block > p strong {
    color: var(--text);
    font-weight: 700;
}

/* Таблицы */
.marketing-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.marketing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}

.marketing-table thead {
    background: var(--bg-light);
}

.marketing-table th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--border);
}

.marketing-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    line-height: 1.5;
}

.marketing-table tr:last-child td {
    border-bottom: none;
}

.marketing-table td strong {
    color: var(--text);
    font-weight: 700;
}

/* Примеры */
.marketing-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.marketing-example {
    background: var(--bg-light);
    padding: 20px 22px;
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.example-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.example-calc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.example-calc strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.example-split {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Примечания */
.marketing-note {
    font-size: 13px !important;
    color: var(--text-light);
    line-height: 1.7;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    margin-top: 16px;
}

.marketing-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* CTA */
.marketing-cta {
    text-align: center;
    margin-top: 48px;
}

/* Адаптив */
@media (max-width: 900px) {
    .marketing-block {
        padding: 28px 22px;
    }
    .marketing-h3 {
        font-size: 19px;
    }
    .marketing-table {
        font-size: 13px;
    }
    .marketing-table th,
    .marketing-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 640px) {
    .marketing-examples {
        grid-template-columns: 1fr;
    }
    .example-calc strong {
        font-size: 16px;
    }
}
/* ========== HERO: ПАРТНЁРСТВО ========== */
.partner-hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #e8f3f0 50%, #ffffff 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13,107,92,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.partner-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Левая колонка */
.partner-hero-content {
    max-width: 640px;
}

.partner-hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: var(--text);
}

.partner-hero-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* Статистика */
.partner-hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.partner-stat strong {
    display: block;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 8px;
}

.partner-stat span {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Кнопки */
.partner-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Правая колонка: карточка */
.partner-hero-card {
    background: white;
    border-radius: 24px;
    padding: 12px 28px;
    box-shadow: 0 20px 60px rgba(13,107,92,0.12);
    border: 1px solid var(--border);
}

.partner-hero-card-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.partner-hero-card-item:last-child {
    border-bottom: none;
}

.partner-hero-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6b5c 0%, #14b8a6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(13,107,92,0.25);
}

.partner-hero-card-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.partner-hero-card-text span {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 992px) {
    .partner-hero {
        padding: 60px 0 70px;
    }
    .partner-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .partner-hero-title {
        font-size: 38px;
    }
    .partner-hero-subtitle {
        font-size: 16px;
    }
    .partner-stat strong {
        font-size: 34px;
    }
    .partner-hero-stats {
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .partner-hero-title {
        font-size: 30px;
    }
    .partner-stat strong {
        font-size: 28px;
    }
    .partner-hero-card {
        padding: 8px 20px;
    }
    .partner-hero-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }
}
/* ========== ПРЕИМУЩЕСТВА (benefits) ========== */
.benefits {
    background: var(--bg);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-6px);
    background: white;
    border-color: var(--border);
    box-shadow: 0 20px 50px rgba(13,107,92,0.1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0d6b5c 0%, #b8924a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 28px;
    box-shadow: 0 8px 20px rgba(13,107,92,0.2);
    position: relative;
}

/* Затемнение под эмодзи, чтобы смотрелось аккуратно */
.benefit-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(13,107,92,0.85) 0%, rgba(184,146,74,0.85) 100%);
    z-index: 0;
}

.benefit-icon {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.benefit-icon > * {
    position: relative;
    z-index: 1;
}

/* Для эмодзи внутри — оборачиваем в span, если нужно */
.benefit-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Адаптив */
@media (max-width: 992px) {
    .benefits {
        padding: 60px 0;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .benefit-card {
        padding: 32px 26px;
    }
    .benefit-card h3 {
        font-size: 19px;
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .benefit-card {
        padding: 28px 22px;
    }
    .benefit-icon {
        width: 56px;
        height: 56px;
        font-size: 26px;
        margin-bottom: 20px;
    }
}
/* ========== КАРЬЕРНАЯ ЛЕСТНИЦА ========== */
.career {
    background: var(--bg-light);
    padding: 80px 0;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.career-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.career-card--gold::before {
    background: var(--gradient-gold);
}

.career-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13,107,92,0.12);
    border-color: var(--primary);
}

/* Иконка с короной и фигуркой */
.career-card-icon {
    position: relative;
    width: 80px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.career-crown {
    font-size: 32px;
    line-height: 1;
    margin-bottom: -4px;
    filter: drop-shadow(0 4px 8px rgba(184,146,74,0.4));
}

.career-figure {
    font-size: 44px;
    line-height: 1;
    filter: grayscale(100%);
    opacity: 0.85;
}

.career-card--gold .career-figure {
    filter: none;
    opacity: 1;
}

.career-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.3;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-card--gold .career-card-title {
    color: var(--accent);
}

.career-card-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    margin-top: auto;
}

.career-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13px;
}

.career-row:last-child {
    border-bottom: none;
}

.career-row span {
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    white-space: nowrap;
}

.career-row strong {
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    text-align: right;
}

.career-card--gold .career-row strong {
    color: var(--accent);
}

/* Адаптив */
@media (max-width: 1100px) {
    .career-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .career {
        padding: 60px 0;
    }
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .career-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .career-card {
        padding: 24px 20px;
    }
    .career-card-title {
        min-height: auto;
        font-size: 16px;
    }
}
/* ========== ПРО ПРИБОР (product-feature) ========== */
.product-feature {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 0;
}

.product-feature-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Визуальная часть */
.product-feature-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(13,107,92,0.15);
    background: linear-gradient(135deg, #0d6b5c 0%, #14b8a6 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
}

.product-feature-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Контент */
.product-feature-content h2 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.product-feature-content > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.product-feature-content > p strong {
    color: var(--text);
    font-weight: 700;
}

/* Список */
.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

.product-feature-list li i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Примечание */
.product-feature-note {
    font-size: 13px !important;
    color: var(--text-light);
    line-height: 1.6;
    padding: 14px 18px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    margin: 20px 0 28px;
}

.product-feature-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* Кнопки */
.product-feature-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Адаптив */
@media (max-width: 900px) {
    .product-feature {
        padding: 60px 0;
    }
    .product-feature-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-feature-visual {
        min-height: 300px;
    }
    .product-feature-visual img {
        min-height: 300px;
    }
    .product-feature-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .product-feature-content h2 {
        font-size: 22px;
    }
    .product-feature-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================================
   EXIT-INTENT POPUP
   ============================================================ */
body.exit-popup-open { overflow: hidden; }

.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.exit-popup[hidden] { display: none; }

.exit-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 40, 36, 0.72);
    backdrop-filter: blur(3px);
    animation: exitFadeIn .25s ease;
}

.exit-popup__box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    animation: exitPopIn .3s cubic-bezier(.34, 1.4, .64, 1);
}

@keyframes exitFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes exitPopIn  { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

.exit-popup__close {
    position: absolute;
    top: 12px; right: 12px;
    width: 38px; height: 38px;
    border: none;
    background: var(--bg-light, #f3f6f5);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--text-muted, #666);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.exit-popup__close:hover { background: var(--accent, #0d6b5c); color: #fff; }

.exit-popup__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.exit-popup__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent, #0d6b5c);
    background: rgba(13, 107, 92, .1);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.exit-popup__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--text, #12261f);
}

.exit-popup__desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted, #555);
    margin: 0 0 20px;
}

.exit-popup__btn { width: auto; }

.exit-popup__note {
    font-size: 12px;
    color: var(--text-muted, #888);
    margin: 10px 0 0;
}

.exit-popup__qr {
    text-align: center;
    flex-shrink: 0;
}
.exit-popup__qr img {
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border, #e5eae8);
    background: #fff;
}
.exit-popup__qr span {
    display: block;
    font-size: 12px;
    color: var(--text-muted, #777);
    margin-top: 8px;
}

/* ---------- Мобильные: QR скрываем, кнопка на всю ширину ---------- */
@media (max-width: 640px) {
    .exit-popup__box { padding: 24px 20px; border-radius: 16px; }
    .exit-popup__content { grid-template-columns: 1fr; gap: 0; }
    .exit-popup__qr { display: none; }           /* QR не нужен на телефоне */
    .exit-popup__title { font-size: 20px; }
    .exit-popup__btn { width: 100%; justify-content: center; }
}
/* ============ ВЕРХНЯЯ ПЛАШКА: контакты ============ */
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.top-bar-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.2s;
}

.top-bar-phone:hover {
    opacity: 0.85;
}

.top-bar-phone i {
    font-size: 12px;
}

.top-bar-max {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.top-bar-max:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.top-bar-max img {
    display: block;
    border-radius: 4px;
}

/* На мобильных прячем текст, оставляем только иконку + телефон */
@media (max-width: 640px) {
    .top-bar-max span {
        display: none;
    }
    .top-bar-max {
        padding: 4px 8px;
    }
    .top-bar-phone {
        font-size: 13px;
    }
}
/* ---------- Кнопка Telegram в шапке ---------- */
.top-bar-tg {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.25s, max-width 0.25s;
    overflow: hidden;
    max-width: 34px;
}

.top-bar-tg:hover,
.top-bar-tg:focus {
    background: rgba(255, 255, 255, 0.28);
    max-width: 220px;
}

.top-bar-tg img {
    display: block;
    border-radius: 50%;
    flex-shrink: 0;
    background: #29B6F6;      /* фирменный голубой Telegram */
    padding: 2px;
}

.top-bar-tg__label {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s 0.05s, transform 0.2s 0.05s;
    pointer-events: none;
}

.top-bar-tg:hover .top-bar-tg__label,
.top-bar-tg:focus .top-bar-tg__label {
    opacity: 1;
    transform: translateX(0);
}

/* На мобильных — только иконка */
@media (max-width: 768px) {
    .top-bar-tg {
        max-width: 34px !important;
    }
    .top-bar-tg__label {
        display: none;
    }
}
/* ---------- Мессенджеры в подвале ---------- */
/* ============================================================
   МЕССЕНДЖЕРЫ В ПОДВАЛЕ — ФИНАЛЬНАЯ ВЕРСИЯ
   ============================================================ */
.footer-messengers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

/* Общие свойства для обеих кнопок */
.footer-tg-btn,
.footer-max-btn {
    display: inline-flex !important;
    flex-direction: row !important;      /* логотип и текст В ОДНУ строку */
    align-items: center !important;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-decoration: none !important;
    color: #ffffff !important;           /* БЕЛЫЙ текст — принудительно */
    white-space: nowrap;
    width: fit-content;
    min-width: 180px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    border: none;
}

.footer-tg-btn:hover,
.footer-tg-btn:focus,
.footer-max-btn:hover,
.footer-max-btn:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

/* Логотип */
.footer-tg-btn img,
.footer-max-btn img {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.18);
    padding: 2px;
}

/* Текст */
.footer-tg-btn span,
.footer-max-btn span {
    display: inline-block;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

/* Отдельные цвета кнопок */
.footer-tg-btn {
    background: linear-gradient(135deg, #29B6F6 0%, #1E88E5 100%);
}
.footer-tg-btn:hover {
     box-shadow: 0 4px 12px rgba(41, 182, 246, 0.45);
}

.footer-max-btn {
    background: linear-gradient(135deg, #4A90E2 0%, #9B59D6 100%);
}
.footer-max-btn:hover {
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.45);
}

/* На мобильных — кнопки растягиваются на всю ширину колонки */
@media (max-width: 640px) {
    .footer-tg-btn,
    .footer-max-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
}
/* ============================================================
   ОТЗЫВЫ В МЕССЕНДЖЕРАХ (на страницах отзывов)
   ============================================================ */
.reviews-messengers {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.reviews-messengers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.reviews-messengers__card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
    border-radius: 16px;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    min-height: 96px;
}

.reviews-messengers__card:hover,
.reviews-messengers__card:focus {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-4px);
}

/* Фирменные фоны */
.reviews-messengers__card--max {
    background: linear-gradient(135deg, #4A90E2 0%, #9B59D6 100%);
}
.reviews-messengers__card--max:hover {
    box-shadow: 0 14px 35px rgba(74, 144, 226, 0.45);
}

.reviews-messengers__card--tg {
    background: linear-gradient(135deg, #29B6F6 0%, #1E88E5 100%);
}
.reviews-messengers__card--tg:hover {
    box-shadow: 0 14px 35px rgba(41, 182, 246, 0.45);
}

/* Иконка */
.reviews-messengers__icon {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.reviews-messengers__icon img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Текст */
.reviews-messengers__text {
    flex: 1;
    min-width: 0;
}

.reviews-messengers__text strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.25;
    margin-bottom: 4px;
}

.reviews-messengers__text span {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.4;
}

/* Стрелка */
.reviews-messengers__arrow {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: transform 0.25s, background 0.25s;
}

.reviews-messengers__card:hover .reviews-messengers__arrow {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(4px);
}

/* Мобильные */
@media (max-width: 768px) {
    .reviews-messengers {
        padding: 60px 0;
    }
    .reviews-messengers__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .reviews-messengers__card {
        padding: 22px 20px;
        gap: 16px;
        min-height: 84px;
    }
    .reviews-messengers__icon {
        flex: 0 0 52px;
        width: 52px;
        height: 52px;
    }
    .reviews-messengers__icon img {
        width: 30px;
        height: 30px;
    }
    .reviews-messengers__text strong {
        font-size: 16px;
    }
    .reviews-messengers__text span {
        font-size: 13px;
    }
}
/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    font-weight: 500;
}
.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.breadcrumbs a:hover {
    opacity: 0.75;
    text-decoration: underline;
}
.breadcrumbs span {
    color: var(--text-light);
    opacity: 0.7;
}