:root {
    --color-primary: #00939C;
    --color-secondary: #0A1931;
    --color-accent: #EB4061;
    --color-background-light: #FFFFFF;
    --color-background-gray: #F4F4F4;
    --color-text: #212529;
    --color-text-light: #F4F4F4;
    --color-accent-hover: #E05C00;

    --pastel-pink: #FCE7EE;
    --pastel-blue: #E3F0FB;
    --pastel-green: #E3F7EC;
    --pastel-purple: #EDE7FB;
    --pastel-yellow: #FDF3DC;

    --shadow-soft: 0 10px 30px rgba(10, 25, 49, 0.08);
    --shadow-hover: 0 16px 40px rgba(10, 25, 49, 0.14);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

/* Базовые сбросы */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: var(--color-text); background-color: var(--color-background-light); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2 { font-weight: 800; color: var(--color-secondary); }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- ГЛАВНАЯ НАВИГАЦИЯ --- */
.main-nav {
    background: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 2px 12px rgba(10,25,49,0.06);
}
.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
    width: 38px; height: 38px;
    object-fit: contain; display: block; flex-shrink: 0;
}
.logo-word { font-weight: 800; font-size: 1.3em; color: var(--color-secondary); letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    text-decoration: none; color: var(--color-text); font-weight: 600; font-size: 0.95em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-cta {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: background-color 0.3s, transform 0.15s;
}
.nav-cta:hover { background: var(--color-accent-hover); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--color-secondary); border-radius: 3px; }

/* --- HERO --- */
.hero {
    position: relative;
    padding: 70px 0 90px;
    overflow: hidden;
    background: linear-gradient(120deg, var(--pastel-pink) 0%, var(--pastel-blue) 55%, var(--pastel-green) 100%);
}
.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}
.hero-content { flex: 1 1 480px; }
.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.7);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8em;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(32px, 5.5vw, 54px);
    color: var(--color-secondary);
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.1;
}
.hero-subtitle {
    font-size: clamp(18px, 2.4vw, 24px);
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    padding: 16px 34px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1em;
    box-shadow: var(--shadow-soft);
    transition: background-color 0.3s, transform 0.15s;
}
.hero-cta:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

.hero-visual {
    flex: 1 1 420px;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-blob {
    position: absolute;
    width: 380px; height: 380px;
    background: linear-gradient(135deg, #fff, var(--pastel-blue));
    border-radius: 44% 56% 60% 40% / 45% 40% 60% 55%;
    top: 0; right: 10%;
    z-index: 0;
    opacity: 0.9;
}
.hero-dots {
    position: absolute;
    top: -10px; left: 0;
    width: 110px; height: 110px;
    background-image: radial-gradient(circle, rgba(10,25,49,0.35) 1.6px, transparent 1.6px);
    background-size: 16px 16px;
    z-index: 3;
}
.hero-image-card {
    position: relative;
    z-index: 1;
    width: 340px;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 6px solid #fff;
}
.hero-image-card img { width: 100%; height: 420px; object-fit: cover; }

.hero-support-bubble {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}
.hero-support-bubble .support-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--pastel-green); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-support-bubble .support-icon svg { width: 18px; height: 18px; color: var(--color-primary); }
.hero-support-bubble .support-label { font-size: 0.75em; opacity: 0.6; display: block; }
.hero-support-bubble .support-phone { font-weight: 700; color: var(--color-secondary); text-decoration: none; font-size: 0.95em; }

.hero-squiggle {
    position: absolute;
    bottom: 30px;
    right: -20px;
    width: 70px;
    opacity: 0.5;
    z-index: 0;
}

/* --- Секции и заголовки --- */
.section { padding: 80px 0; position: relative; }
.section-eyebrow {
    display: block;
    text-align: center;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85em;
    margin-bottom: 10px;
}
.section-header { font-size: 2em; margin-bottom: 14px; }
.section-sub {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
    color: var(--color-text);
    opacity: 0.75;
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2-video { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 820px; margin: 0 auto; }

/* Карточки гео — фиксированно по 2 в ряд */
.rare-geo-section .grid-3 { grid-template-columns: repeat(2, 1fr); }

/* --- Этапы (Категории) --- */
.steps-section { background: var(--color-background-gray); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 20px;
}
.step-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 32px 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.step-icon-circle {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.step-icon-circle svg { width: 26px; height: 26px; color: var(--color-secondary); }
.step-card:nth-child(6n+1) .step-icon-circle { background: var(--pastel-blue); }
.step-card:nth-child(6n+2) .step-icon-circle { background: var(--pastel-pink); }
.step-card:nth-child(6n+3) .step-icon-circle { background: var(--pastel-green); }
.step-card:nth-child(6n+4) .step-icon-circle { background: var(--pastel-purple); }
.step-card:nth-child(6n+5) .step-icon-circle { background: var(--pastel-yellow); }
.step-card:nth-child(6n+6) .step-icon-circle { background: var(--pastel-blue); }
.step-number {
    position: absolute; top: 26px; right: 26px;
    font-weight: 800; font-size: 1.4em; color: var(--color-background-gray);
}
.step-card h4 { font-size: 1.05em; color: var(--color-secondary); margin-bottom: 10px; text-transform: uppercase; }
.step-card p { font-size: 0.92em; opacity: 0.75; }

/* --- Преимущества --- */
.benefits-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 34px 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefits-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.benefits-icon-circle {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--pastel-blue);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.benefits-icon-circle svg { width: 26px; height: 26px; color: var(--color-primary); }
.benefits-card:nth-child(2) .benefits-icon-circle { background: var(--pastel-pink); }
.benefits-card:nth-child(2) .benefits-icon-circle svg { color: var(--color-accent); }
.benefits-card:nth-child(3) .benefits-icon-circle { background: var(--pastel-green); }
.benefits-card h3 { font-size: 1.2em; color: var(--color-secondary); margin-bottom: 12px; }
.benefits-card p { font-size: 0.93em; opacity: 0.8; }

/* --- Свои офферы (эксклюзив) --- */
.exclusive-section { background: var(--color-background-gray); }
.exclusive-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 34px 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.exclusive-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.exclusive-card-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--pastel-blue);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4em;
}
.exclusive-card:nth-child(2) .exclusive-card-icon { background: var(--pastel-pink); }
.exclusive-card:nth-child(3) .exclusive-card-icon { background: var(--pastel-green); }
.exclusive-card h3 { font-size: 1.2em; color: var(--color-secondary); margin-bottom: 12px; }
.exclusive-card p { font-size: 0.93em; opacity: 0.8; }

/* --- Редкие гео --- */
.geo-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.geo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.geo-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.geo-card-top h4 { font-size: 1.05em; color: var(--color-secondary); }
.geo-tag {
    background: var(--pastel-blue);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.75em;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
    flex-shrink: 0;
}
.geo-card p { font-size: 0.92em; opacity: 0.78; }

/* --- CTA ROW (переиспользуемая строка "текст + кнопка") --- */
.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 34px;
    padding: 28px 32px;
    background: var(--color-background-gray);
    border-radius: var(--radius-lg);
}
.cta-row-text {
    font-weight: 700;
    color: var(--color-secondary);
    max-width: 520px;
}

/* --- Видео карточки --- */
.video-tutorials { background: var(--color-background-gray); }
.video-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.video-card h4 { padding: 20px 20px 10px 20px; margin: 0; font-size: 1.15rem; color: var(--color-secondary); line-height: 1.3; }
.video-card p { padding: 0 20px 25px 20px; margin: 0; font-size: 0.92rem; opacity: 0.75; flex-grow: 1; }

.video-preview { position: relative; cursor: pointer; width: 100%; padding-bottom: 56.25%; background: #000; }
.video-preview img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.video-card:hover .video-preview img { transform: scale(1.05); }
.video-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: rgba(255,255,255,0.92); color: var(--color-secondary);
    font-size: 0.75em; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 50px;
    display: flex; align-items: center; gap: 6px;
}
.video-badge svg { width: 12px; height: 12px; }

.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: var(--color-accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 2;
    box-shadow: 0 6px 18px rgba(235,64,97,0.45);
}
.play-button::after {
    content: ""; border-style: solid; border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white; margin-left: 5px;
}

/* --- Модальное окно --- */
.video-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; }
.modal-overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.9); }
.modal-content { position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 900px; }
.modal-video-container { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius-md); overflow: hidden; }
.modal-video-container iframe { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.modal-close { position: absolute; top: -40px; right: 0; color: white; font-size: 35px; background: none; border: none; cursor: pointer; }

/* --- Контакт-баннер --- */
.contact-banner {
    background: linear-gradient(90deg, var(--color-primary), #00b4c0);
    border-radius: var(--radius-lg);
    margin: 0 auto -70px;
    max-width: 1100px;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-hover);
}
.contact-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 44px;
}
.contact-banner-text { color: #fff; font-weight: 700; font-size: 1.25em; }
.contact-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92em;
    transition: background-color 0.25s;
}
.contact-chip:hover { background: rgba(255,255,255,0.3); }
.contact-chip svg { width: 16px; height: 16px; }

/* --- FAQ --- */
.faq-section { background: var(--color-background-gray); padding-top: 130px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: background-color 0.25s;
}
.faq-item.active { background: var(--color-primary); }
.faq-question-toggle {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; background: none; border: none; cursor: pointer;
    font-size: 1.05em; font-weight: 700; text-align: left; color: var(--color-secondary);
}
.faq-item.active .faq-question-toggle { color: #fff; }
.faq-icon {
    flex-shrink: 0; margin-left: 16px;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--color-background-gray);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--color-secondary);
    transition: background-color 0.25s, color 0.25s;
}
.faq-item.active .faq-icon { background: rgba(255,255,255,0.25); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease-out; padding: 0 24px; }
.faq-answer p, .faq-answer li { color: rgba(255,255,255,0.92); }
.faq-item.active .faq-answer { padding-bottom: 22px; }
.faq-item:not(.active) .faq-answer { color: var(--color-text); }

/* --- Финальный CTA --- */
.final-cta {
    margin: 90px auto 0;
    max-width: 1100px;
    background: linear-gradient(120deg, var(--color-secondary), #14335c);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 220px; height: 220px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.18) 2px, transparent 2px);
    background-size: 18px 18px;
}
.final-cta-text { color: #fff; font-size: 2em; font-weight: 800; margin-bottom: 26px; position: relative; z-index: 1; }
.final-cta .hero-cta { position: relative; z-index: 1; }

/* --- Footer --- */
footer { background: var(--color-secondary); color: white; padding: 70px 0 30px; margin-top: 90px; }
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-block .logo-link { margin-bottom: 14px; }
.footer-logo-block .logo-word { color: #fff; }
.footer-col h4 { color: var(--color-primary); margin-bottom: 16px; font-size: 1.05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--color-text-light); text-decoration: none; opacity: 0.85; }
.footer-col ul a:hover { color: var(--color-primary); opacity: 1; }
.footer-bottom { padding-top: 24px; text-align: center; opacity: 0.55; font-size: 0.85em; }

/* --- Адаптивность --- */
@media (max-width: 980px) {
    .main-nav .container { position: relative; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        background: #fff;
        padding: 20px 24px;
        gap: 18px;
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-hover);
        z-index: 600;
    }
    .nav-toggle { display: flex; }
    .hero .container { flex-direction: column; }
    .hero-visual { min-height: 340px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .rare-geo-section .grid-3 { grid-template-columns: 1fr; }
    .grid-2-video { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .contact-banner-inner { flex-direction: column; text-align: center; }
    .faq-section { padding-top: 160px; }
    .hero-image-card img { height: 320px; }
    .cta-row { flex-direction: column; text-align: center; }
}
