/* ===== ШРИФТЫ ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===== ЦВЕТОВАЯ СХЕМА ===== */
:root {
    --bg-main: #F4F1EA;
    --accent: #7E94BF;
    --text-dark: #1F2937;
    --text-light: #71717c;
    --card-bg: #ffffff;
    --border-light: #e5e2db;
    --shadow-sm: 0 1px 4px rgba(44,58,75,0.03);
    --shadow-md: 0 4px 12px rgba(44,58,75,0.04);
    --shadow-lg: 0 10px 24px rgba(44,58,75,0.05);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

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

body {
    font-family: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    background-image: radial-gradient(rgba(126,148,191,0.25) 1px, transparent 1px);
    background-size: 28px 28px;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ===== ТЕКСТУРЫ ===== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    mix-blend-mode: multiply;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(ellipse 600px 400px at 0% 30%, rgba(126,148,191,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 100% 70%, rgba(126,148,191,0.04) 0%, transparent 70%);
}

.texture-card-bg {
    position: relative;
}
.texture-card-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(126,148,191,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(126,148,191,0.02) 0%, transparent 50%);
}

h1, h2, h3, .section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== ХЕДЕР ===== */
header {
    position: sticky;
    top: 15px;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(31,41,55,.08);
    border-radius: 22px;
    padding: 14px 24px;
    box-shadow: 0 10px 25px rgba(31,41,55,.04);
    gap: 20px;
}

.logo a { text-decoration: none; color: inherit; display: inline-block; }

.logo-css {
    position: relative;
    display: inline-block;
    height: 90px;
    width: 240px;
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1;
}
.logo-circle {
    position: absolute;
    top: 0; left: 14px;
    width: 88px; height: 88px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
}
.logo-b {
    position: absolute; top: 16px; left: 0;
    font-size: 1.3rem; font-weight: 700;
    color: var(--text-dark); line-height: 1;
}
.logo-line1 {
    position: absolute; top: 16px; left: 20px;
    font-size: 1.3rem; font-weight: 700;
    color: var(--text-dark); letter-spacing: 2px;
    text-transform: uppercase;
}
.logo-line2 {
    position: absolute; top: 36px; left: 72px;
    font-size: 0.6rem; font-weight: 600;
    color: var(--accent); letter-spacing: 3px;
    text-transform: uppercase; opacity: 0.8;
}
.logo-line3 {
    position: absolute; top: 54px; left: 20px;
    font-size: 1rem; font-weight: 700;
    color: var(--text-dark); letter-spacing: 2px;
    text-transform: uppercase;
}
.logo a::after {
    content: ''; display: block;
    width: 30px; height: 2px;
    background: var(--accent); margin-top: 8px;
    transition: width 0.3s;
}
.logo a:hover::after { width: 70px; }

/* ===== HERO ===== */
.hero-center {
    text-align: center;
    padding-top: 100px !important;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50% 50%;
    box-shadow: 0 8px 24px rgba(44,58,75,0.06);
    background: linear-gradient(rgba(244,241,234, 0.85), rgba(244,241,234, 0.85)), url('../assets/hero.jfif') center/cover no-repeat;
}
.hero-center::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 700px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126,148,191,0.12) 0%, rgba(126,148,191,0) 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}
.hero-center::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126,148,191,0.08) 0%, rgba(126,148,191,0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-center .container {
    display: flex; flex-direction: column; align-items: center;
    max-width: 800px;
}
.hero-center h2 {
    font-size: 2.8rem !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
}
.hero-center p {
    font-size: 1.15rem !important;
    margin-top: 20px !important;
}
.hero-button-wrapper { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ===== КНОПКИ ===== */
.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px 34px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(126,148,191,.12);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(126,148,191,0.3);
    background: #6f86b0;
}
.btn-primary:disabled {
    opacity: 0.6; cursor: not-allowed; transform: none;
}

.btn-outline {
    background: rgba(126,148,191,0.08);
    border: 1px solid var(--accent);
    padding: 13px 32px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    color: var(--text-dark);
}
.btn-outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(126,148,191,0.3);
    transform: translateY(-2px);
}

/* ===== СЕКЦИИ ===== */
section {
    padding: 130px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(126,148,191,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(126,148,191,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
section > * {
    position: relative;
    z-index: 1;
}

/* ===== ДЕКОРАТИВНЫЕ РАЗДЕЛИТЕЛИ ===== */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
    width: 100%;
}
.section-divider .divider-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.35;
}
.section-divider .divider-line:first-child {
    background: linear-gradient(90deg, transparent, var(--accent));
}
.section-divider .divider-line:last-child {
    background: linear-gradient(90deg, var(--accent), transparent);
}
.section-divider .divider-diamond {
    width: 6px;
    height: 6px;
    background: var(--accent);
    transform: rotate(45deg);
    opacity: 0.5;
    flex-shrink: 0;
}

.section-divider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
}
.section-divider-dots .dot-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.25;
}
.section-divider-dots .dot-divider:nth-child(2) {
    width: 6px;
    height: 6px;
    opacity: 0.4;
}
.section-divider-dots .dot-divider:nth-child(3) {
    width: 4px;
    height: 4px;
    opacity: 0.25;
}

.section-wave {
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}
.section-wave svg {
    display: block;
    width: 100%;
    height: 24px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 52px;
    color: var(--text-dark);
    position: relative;
}
.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin-top: 18px;
    background: var(--accent);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: -40px 0 52px;
    line-height: 1.5;
}

/* ===== СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ===== */
.privacy-section {
    padding: 100px 0 130px;
}
.privacy-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.privacy-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 48px;
}
.privacy-content {
    max-width: 800px;
}
.privacy-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 40px 0 16px;
    color: var(--text-dark);
}
.privacy-content h2:first-of-type {
    margin-top: 0;
}
.privacy-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 14px;
}
.privacy-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.privacy-content ul li {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}
.privacy-content ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}
.privacy-content a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.privacy-content a:hover {
    text-decoration: underline;
}
.contacts-ul {
    list-style: none;
    padding: 0;
}
.contacts-ul li {
    padding-left: 0 !important;
    margin-bottom: 6px !important;
}
.contacts-ul li::before {
    display: none !important;
}
.privacy-effective-note {
    margin-top: 48px;
    padding: 20px 24px;
    background: rgba(126,148,191,0.08);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    font-size: 0.95rem;
}

/* ===== СТАТИЧНЫЕ БЛОКИ-ВСТАВКИ ===== */
.executive-note {
    text-align: center;
    padding: 0 0 80px;
}

.executive-note p {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.executive-note h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.trust-section {
    text-align: center;
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.trust-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.trust-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 20px;
}

.trust-section p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== КАРТОЧКИ ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.35s cubic-bezier(0.2,0.9,0.4,1);
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-dark);
}
.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-card-img {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--border-light);
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img {
    transform: scale(1.05);
}
.service-card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.case-card-img {
    width: 100%;
    height: 170px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--border-light);
    margin-bottom: 4px;
}
.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.case-card:hover .case-card-img img {
    transform: scale(1.05);
}

/* ===== ПРЕМИУМ-БЛОК ===== */
.premium-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 52px 48px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.premium-compare::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(126,148,191,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.premium-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}
.premium-list { list-style: none; }
.premium-list li {
    margin-bottom: 18px;
    padding-left: 32px;
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.premium-list li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    color: var(--accent);
    background: rgba(126,148,191,0.1);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
}

/* ===== СТАТИСТИКА ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 32px;
    text-align: center;
}
.stat-item {
    padding: 8px 0;
}
.stat-number {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
}
.stat-item p {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ===== КЕЙСЫ ===== */
.case-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.2,0.9,0.4,1);
    display: flex; flex-direction: column; gap: 14px;
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.case-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem; font-weight: 600;
    color: var(--text-dark); line-height: 1.3;
}
.case-details { display: flex; flex-direction: column; gap: 8px; }
.case-field { display: flex; flex-direction: column; gap: 1px; }
.case-label {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--accent);
}
.case-value {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.4;
}
.case-result {
    margin-top: auto;
    background: rgba(126,148,191,0.07);
    border-radius: var(--radius-sm);
    padding: 16px;
    border-left: 3px solid var(--accent);
}
.case-result-label {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--accent); display: block; margin-bottom: 3px;
}
.case-result-value {
    font-size: 0.88rem; font-weight: 600;
    color: var(--text-dark); line-height: 1.4;
}

/* ===== КАРУСЕЛЬ ===== */
.reviews-carousel {
    position: relative; max-width: 800px; margin: 0 auto;
}
.reviews-container { overflow: hidden; border-radius: var(--radius-lg); }
.reviews-wrapper { display: flex; transition: transform 0.4s ease-in-out; }
.review-slide { flex: 0 0 100%; padding: 0; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 50%; width: 44px; height: 44px;
    cursor: pointer; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; z-index: 10;
    box-shadow: var(--shadow-sm); color: var(--text-dark);
}
.carousel-btn:hover {
    background: var(--accent); color: white; border-color: var(--accent);
}
.carousel-prev { left: -16px; }
.carousel-next { right: -16px; }
.dots-container { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border-light); cursor: pointer; transition: all 0.3s;
}
.dot.active {
    background: var(--accent); width: 28px; border-radius: 10px;
}

/* ===== FAQ ===== */
.faq-centered {
    display: flex; flex-direction: column; gap: 14px;
    max-width: 720px; margin: 0 auto;
}
.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden; transition: border-color 0.3s;
}
.faq-item.active { border-color: var(--accent); }
.faq-question {
    padding: 20px 28px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1.05rem;
    color: var(--text-dark); transition: background 0.2s;
}
.faq-question:hover { background: rgba(126,148,191,0.04); }
.faq-question .faq-icon {
    font-size: 1.2rem; transition: transform 0.3s;
    color: var(--accent); flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; padding: 0 28px;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--text-light); font-size: 0.95rem; line-height: 1.6;
}
.faq-item.active .faq-answer {
    max-height: 300px; padding: 0 28px 22px 28px;
}

/* ===== ФОРМЫ ===== */
.form-centered { max-width: 520px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }

.checkbox-group { margin-bottom: 12px; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}
.checkbox-label a:hover {
    opacity: 0.8;
}

/* ===== COOKIE-BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 0 20px 20px;
    pointer-events: none;
}
.cookie-banner.hidden {
    display: none !important;
}
.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(44,58,75,0.1);
    pointer-events: auto;
}
.cookie-banner-content p {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}
.cookie-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    white-space: nowrap;
}

input, textarea {
    width: 100%; padding: 16px 20px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: 'Manrope', sans-serif;
    transition: all 0.25s;
    background: var(--card-bg);
    color: var(--text-dark);
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(126,148,191,0.12);
}

/* ===== КОНТАКТЫ ===== */
.contact-icon {
    background: var(--card-bg);
    border-radius: 100px;
    padding: 14px 28px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none; color: var(--text-dark);
    font-weight: 500; font-size: 0.9rem;
    border: 1px solid var(--border-light);
    transition: all 0.25s;
}
.contact-icon:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(126,148,191,0.2);
}

.bg-contacts {
    text-align: center;
}

.contacts-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.contacts-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 540px;
    margin: -36px auto 44px;
    line-height: 1.6;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

/* ===== ЛИД-МАГНИТ ===== */
.lead-magnet-inline {
    display: flex; align-items: center; gap: 48px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 48px 52px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.lead-magnet-inline-content { flex: 1; }
.lead-magnet-badge {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(126,148,191,0.1);
    padding: 5px 16px; border-radius: 100px; margin-bottom: 16px;
}
.lead-magnet-inline-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem; font-weight: 600;
    color: var(--text-dark); line-height: 1.3; margin-bottom: 12px;
}
.lead-magnet-inline-content p {
    color: var(--text-light); font-size: 0.95rem;
    line-height: 1.6; margin-bottom: 24px; max-width: 480px;
}
.lead-magnet-inline-visual { flex-shrink: 0; }
.lead-magnet-pdf-icon {
    width: 110px; height: 140px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px solid var(--border-light);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    box-shadow: var(--shadow-sm); position: relative;
}
.lead-magnet-pdf-icon::after {
    content: ''; position: absolute; top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 22px 22px 0;
    border-color: transparent var(--accent) transparent transparent;
    border-radius: 0 16px 0 0;
}
.pdf-icon-big { font-size: 2.6rem; line-height: 1; }
.pdf-label {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(126,148,191,0.1);
    padding: 2px 12px; border-radius: 20px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44,58,75,0.55);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 48px 40px 40px;
    max-width: 460px; width: 100%;
    position: relative; text-align: center;
    box-shadow: 0 32px 64px rgba(44,58,75,0.15);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none;
    font-size: 1.2rem; cursor: pointer;
    color: var(--text-light);
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.05); color: var(--text-dark); }
.modal-icon { font-size: 2.8rem; display: block; margin-bottom: 16px; }
.modal-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem; font-weight: 600;
    color: var(--text-dark); line-height: 1.3; margin-bottom: 8px;
}
.modal-content p {
    color: var(--text-light);
    font-size: 0.92rem; margin-bottom: 28px;
}

/* ===== СТРАНИЦЫ УСЛУГ ===== */
.service-hero {
    text-align: center;
    padding: 80px 0 60px;
    max-width: 720px;
    margin: 0 auto;
}
.service-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.15;
}
.service-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 0 0 60px;
}
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.2,0.9,0.4,1);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-steps {
    counter-reset: step;
}
.service-steps .feature-card {
    counter-increment: step;
}
.service-steps .feature-card h3::before {
    content: counter(step) ". ";
    color: var(--accent);
}

.service-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 28px;
    text-align: center;
}

.cta-section {
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    margin: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60%; right: -10%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(126,148,191,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ФОНОВЫЕ ИЗОБРАЖЕНИЯ СЕКЦИЙ ===== */

.bg-about {
    background: rgba(244,241,234, 0.9);
}
.bg-about::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../assets/onas.jpg') center/cover no-repeat;
    filter: blur(6px);
    z-index: 0;
    pointer-events: none;
}
.bg-about::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(244,241,234, 0.9);
    z-index: 0;
    pointer-events: none;
}

.bg-stats {
    background: linear-gradient(rgba(244,241,234, 0.85), rgba(244,241,234, 0.85)), url('../assets/burovcifrah.jpg') center/cover no-repeat;
}
.bg-stats::before,
.bg-stats::after {
    display: none;
}

.bg-services {
    background: rgba(244,241,234, 0.85);
}
.bg-services::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../assets/uslugi.jfif') center/cover no-repeat;
    filter: blur(2px);
    z-index: 0;
    pointer-events: none;
}
.bg-services::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(244,241,234, 0.85);
    z-index: 0;
    pointer-events: none;
}

.bg-premium {
    background: rgba(244,241,234, 0.9);
}
.bg-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('../assets/sravnenie.jpg') center/cover no-repeat;
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
}
.bg-premium::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(244,241,234, 0.9);
    z-index: 0;
    pointer-events: none;
}

.bg-guide {
    background: linear-gradient(rgba(244,241,234, 0.8), rgba(244,241,234, 0.8)), url('../assets/lid-magnit.jpg') center/cover no-repeat;
}
.bg-guide::before,
.bg-guide::after {
    display: none;
}

.bg-cases {
    background: linear-gradient(rgba(244,241,234, 0.85), rgba(244,241,234, 0.85)), url('../assets/rezutati.jfif') center/cover no-repeat;
}
.bg-cases::before,
.bg-cases::after {
    display: none;
}

.bg-form {
    position: relative;
}
.bg-form::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseForm'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseForm)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 150px 150px;
}
.bg-form::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(126,148,191,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ===== ВСПОМОГАТЕЛЬНЫЕ СТИЛИ ===== */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}
.about-stat-item {
    text-align: center; padding: 20px;
}
.about-stat-icon {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    background: rgba(126,148,191,0.1);
    border-radius: 20px;
    margin: 0 auto 16px;
}
.about-stat-icon i { color: var(--accent); font-size: 1.5rem; }
.about-stat-item h3 {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 10px;
}
.about-stat-item p {
    color: var(--text-light); font-size: 0.9rem;
}

.cards-grid,
.stats-grid,
.about-stats-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== ПОДВАЛ ===== */
.premium-footer {
    background: #ffffff;
    border-top: 1px solid #e5e2db;
    padding: 70px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-brand {
    padding-top: 24px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}
.footer-brand p {
    max-width: 420px;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-links-wrapper h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-width: 180px;
    padding: 14px 18px;
    border: 1px solid rgba(31,41,55,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.8);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all .25s ease;
}

.footer-links a:hover {
    transform: translateX(6px);
    border-color: var(--accent);
    background: rgba(126,148,191,.04);
}

.footer-bottom {
    border-top: 1px solid #e5e2db;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-light);
    font-size: .85rem;
}

.footer-privacy {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
}
.footer-privacy:hover {
    text-decoration: underline;
}

/* ===== DESKTOP NAV ===== */
.desktop-nav {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(31,41,55,.08);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

.desktop-nav a {
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: .25s ease;
}
.desktop-nav a:hover {
    background: rgba(126,148,191,.08);
    color: var(--accent);
}

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

/* ===== MOBILE HEADER ===== */
.mobile-menu-btn{
    display:none;
    width:48px;
    height:48px;
    border:none;
    background:none;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    gap:5px;
}

.mobile-menu-btn span{
    display:block;
    width:24px;
    height:2px;
    background:var(--text-dark);
    transition:.3s;
}

.mobile-menu{
    display:none;
}

@media(max-width:768px){
    .header-flex{
        padding:14px 18px;
    }
    .header-btn{
        display:none;
    }
    .mobile-menu-btn{
        display:flex;
    }
    .logo-css{
        width:180px;
        height:64px;
    }
    .logo-circle{
        width:60px;height:60px;left:10px;
    }
    .logo-b{
        top:10px;left:0;font-size:1rem;
    }
    .logo-line1{
        top:10px;left:14px;font-size:1rem;
    }
    .logo-line2{
        top:24px;left:48px;font-size:.5rem;
    }
    .logo-line3{
        top:38px;left:14px;font-size:.8rem;
    }
    .mobile-menu{
        display:none;
        position:absolute;
        top:100%;left:0;width:100%;
        background:rgba(255,255,255,.96);
        backdrop-filter:blur(16px);
        border-bottom:1px solid var(--border-light);
        padding:20px 24px;
        flex-direction:column;
        gap:12px;
    }
    .mobile-menu.active{
        display:flex;
    }
    .mobile-menu a{
        padding:14px 0;
        text-decoration:none;
        color:var(--text-dark);
        font-weight:600;
        border-bottom:1px solid rgba(31,41,55,.06);
    }
    .mobile-menu a:hover{
        color:var(--accent);
    }
    .mobile-menu-btn.active span:nth-child(1){
        transform:rotate(45deg) translate(4px,5px);
    }
    .mobile-menu-btn.active span:nth-child(2){
        opacity:0;
    }
    .mobile-menu-btn.active span:nth-child(3){
        transform:rotate(-45deg) translate(5px,-5px);
    }
}

/* ===== ЕДИНЫЙ МОБИЛЬНЫЙ МЕДИА-ЗАПРОС (≤768px) ===== */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    section { padding: 72px 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 36px; }
    .hero-center { padding-top: 72px !important; border-radius: 0 !important; }
    .hero-center h2 { font-size: 2rem !important; }
    .hero-center p { font-size: 1rem !important; }
    .premium-compare { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
    .about-stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .carousel-prev { left: -8px; }
    .carousel-next { right: -8px; }
    .carousel-btn { width: 36px; height: 36px; font-size: 1rem; }
    .lead-magnet-inline { flex-direction: column; text-align: center; padding: 36px 28px; gap: 24px; }
    .lead-magnet-inline-content p { max-width: 100%; }
    .lead-magnet-inline-visual { display: none; }
    .modal-content { padding: 40px 24px 32px; }
    .hero-button-wrapper { flex-direction: column; align-items: center; }
    header { padding: 10px 0; }
    .executive-note { padding: 56px 0; }
    .executive-note h2 { font-size: 1.4rem; }
    .trust-section { padding: 64px 0; }
    .trust-section h2 { font-size: 1.5rem; }
    .privacy-section { padding: 72px 0; }
    .privacy-title { font-size: 1.8rem; }
    .privacy-content h2 { font-size: 1.2rem; }

    /* Убираем все декоративные овалы */
    section::before,
    section::after,
    .hero-center::before,
    .hero-center::after,
    .premium-compare::before,
    .cta-section::before,
    .service-hero::before,
    .service-hero::after,
    .bg-form::after,
    body::after {
        display: none !important;
    }

    .service-card,
    .case-card,
    .premium-compare,
    .lead-magnet-inline,
    .faq-item,
    .feature-card,
    .cta-section,
    .contact-icon,
    .contact-card,
    .modal-content {
        border-radius: 0;
    }

    /* Футер — центрируем */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-brand {
        width: 100%;
    }
    .footer-brand p {
        max-width: 100%;
    }

    .footer-links-wrapper {
        width: 100%;
    }
    .footer-links-wrapper h4 {
        text-align: center;
    }
    .footer-links {
        align-items: center;
        gap: 12px;
    }
    .footer-links a {
        min-width: unset;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Cookie-баннер на мобилке */
    .cookie-banner-content {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px;
    }
    .cookie-btn {
        width: 100%;
    }

    /* Контакты */
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .contact-card {
        padding: 24px 12px;
    }
    .bg-contacts .section-title {
        text-align: center;
    }
    .contacts-subtitle {
        margin: -24px auto 32px;
    }
}

@media (max-width: 480px) {
    .hero-center h2 { font-size: 1.6rem !important; }
    .section-title { font-size: 1.5rem; }
    .service-card { padding: 28px 24px; }
    .service-card h3 { font-size: 1.3rem; }
    .premium-compare { padding: 24px 20px; }
    .lead-magnet-inline { padding: 28px 20px; }
    .lead-magnet-inline-content h3 { font-size: 1.3rem; }
    .contacts-grid { grid-template-columns: 1fr; }
    .privacy-title { font-size: 1.5rem; }
    .privacy-content h2 { font-size: 1.1rem; }
    .privacy-section { padding: 48px 0 72px; }
}
