:root {
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --accent: #0f172a; /* Темно-синий/черный */
    --blue: #3b82f6;
    --text-main: #334155;
    --text-dim: #64748b;
    --container: 1240px;
    --shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; outline: none; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-main);
    margin: 0;
    line-height: 1.5;
}

h1, h2, h3, h4, .brand-logo { font-family: 'Syne', sans-serif; }

.main-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 25px;
}

/* Header */
.app-header {
    height: 85px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 26px;
    text-decoration: none;
    color: var(--accent);
    font-weight: 800;
}

.brand-logo span { color: var(--blue); }

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    margin-left: 30px;
    font-size: 14px;
    transition: 0.3s;
}

.nav-link:hover { color: var(--blue); }

.nav-link.special {
    background: var(--blue);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}

/* --- Исправленный Hero Section --- */
.hero-screen {
    padding: 80px 0 120px;
    background: radial-gradient(circle at 10% 20%, #eff6ff 0%, #ffffff 40%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Текст чуть шире картинки */
    align-items: center;
    gap: 60px;
}

.hero-tag {
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
}

.stars { color: #facc15; font-size: 18px; margin-bottom: 4px; }
.hero-trust span { font-size: 13px; color: var(--text-dim); font-weight: 500; }

/* Блок с картинкой */
.hero-image-box {
    position: relative;
    z-index: 1;
}

.hero-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 40px 100px 40px 40px; /* Асимметричное скругление для стиля */
    box-shadow: 20px 40px 80px rgba(0,0,0,0.1);
}

.hero-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--blue);
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero-experience-badge strong { font-size: 24px; font-family: 'Syne'; }
.hero-experience-badge span { font-size: 12px; opacity: 0.9; }

/* Декоративное пятно на фоне */
.hero-blob {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 300px;
    height: 300px;
    background: var(--blue);
    filter: blur(120px);
    opacity: 0.1;
    z-index: -1;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image-box {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-subtitle { margin: 0 auto 40px; }
    
    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }

    .hero-main-img {
        height: 350px;
    }
    .brand-logo{
        font-size: 16px;
    }
}
/* Services */
.section-padding { padding: 100px 0; }

.section-title { font-size: 2.5rem; margin-bottom: 15px; color: var(--accent); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-tile {
    background: var(--bg-soft);
    padding: 45px;
    border-radius: 24px;
    transition: 0.3s;
    position: relative;
}

.service-tile:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow);
}

.tile-num {
    font-size: 50px;
    opacity: 0.05;
    position: absolute;
    top: 30px;
    right: 40px;
}

.tile-price {
    display: block;
    margin-top: 20px;
    font-weight: 800;
    color: var(--blue);
    font-size: 1.2rem;
}

/* Workflow Section (Исправленный) */
.workflow-bg {
    background: var(--accent);
    color: white;
}

.workflow-wrap {
    display: flex;
    align-items: center;
    gap: 80px;
}

.workflow-info { flex: 1; }

.section-title.white { color: white; margin-bottom: 40px; }

.step-list { display: flex; flex-direction: column; gap: 35px; }

.step-item { display: flex; gap: 20px; }

.step-count {
    width: 45px;
    height: 45px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.step-text h4 { margin: 0 0 5px; color: white; font-size: 1.2rem; }
.step-text p { margin: 0; color: #94a3b8; font-size: 0.95rem; }

.workflow-image { flex: 1; }
.workflow-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Booking Card */
.booking-card {
    background: var(--blue);
    border-radius: 32px;
    padding: 60px;
    color: white;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.modern-form input, .modern-form select {
    width: 100%;
    padding: 18px 25px;
    border-radius: 12px;
    border: none;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.prime-button {
    background: var(--accent);
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.prime-button:hover { transform: scale(1.03); opacity: 0.9; }
.full-width { width: 100%; }

.error-label { color: #ffeb3b; font-size: 13px; display: block; margin-top: -10px; margin-bottom: 10px; }

/* Social */
.social-float { position: fixed; bottom: 30px; right: 30px; z-index: 100; }
.social-circle {
    width: 55px; height: 55px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; text-decoration: none; margin-top: 10px; font-weight: 800;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.viber { background: #7360f2; }
.telegram { background: #0088cc; }

/* Footer */
.app-footer { background: #f1f5f9; padding: 60px 0 30px; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 40px; }

/* Responsive */
@media (max-width: 992px) {
    .workflow-wrap, .booking-grid, .footer-top { flex-direction: column; grid-template-columns: 1fr; gap: 40px; }
    .main-navigation { display: none; }
    .hero-screen { text-align: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .section-title { font-size: 2rem; }
}
/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--blue);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Достаточно для текста */
}

/* Dynamic Price */
.dynamic-price {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border: 1px border dashed rgba(255,255,255,0.3);
}

.price-label {
    display: block;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.price-value {
    font-size: 2rem;
    font-family: 'Syne';
    font-weight: 800;
}