:root {
    --bg: #F7F5F0;          
    --surface: #FFFFFF;     
    --text: #1A2B23;        
    --text-muted: #5C6B63;  
    --primary: #0A3622;     
    --accent: #C5A059;      
    --border: #E2E0D8;
    
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; cursor: none; }
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; cursor: none; }
button { border: none; background: none; cursor: none; font-family: inherit; }
.container { width: min(1300px, 92%); margin: 0 auto; }

/* КУРСОР */
.cursor {
    width: 36px; height: 36px; border: 1.5px solid var(--accent); border-radius: 50%;
    position: fixed; top: 0; left: 0; 
    pointer-events: none !important; /* Клики проходят сквозь курсор */
    z-index: 99998;
    transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s;
}
.cursor-dot {
    width: 6px; height: 6px; background: var(--primary); border-radius: 50%;
    position: fixed; top: 0; left: 0; 
    pointer-events: none !important; /* Клики проходят сквозь точку */
    z-index: 99999;
    transform: translate(-50%, -50%);
}
.cursor.hover { width: 50px; height: 50px; background: rgba(197, 160, 89, 0.1); }
@media (max-width: 1024px) { html, a, button { cursor: auto; } .cursor, .cursor-dot { display: none; } }

/* ШАПКА */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 0; border-bottom: 1px solid rgba(26, 43, 35, 0.05);
    background: rgba(247, 245, 240, 0.9); backdrop-filter: blur(15px);
}
.header__inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 1px; }
.logo span { color: var(--accent); font-style: italic; }
.nav { display: flex; gap: 2.5rem; }
.nav__link { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s; }
.nav__link:hover { color: var(--primary); }
.header__actions { display: flex; align-items: center; gap: 1.5rem; }
.header__phone { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; }
.header__phone:hover { color: var(--accent); }

/* Кнопки */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 1rem 2rem; font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
    border-radius: 4px; transition: all 0.3s ease;
}
.btn--primary { background: var(--primary); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: var(--primary); }
.btn--outline { border: 1px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--bg); }
.btn--sm { padding: 0.6rem 1.5rem; font-size: 0.85rem; }

/* ГЕРОЙ */
.hero { padding: 12rem 0 8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero__badge { font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; color: var(--accent); margin-bottom: 2rem; text-transform: uppercase; }
.hero__title { font-family: var(--font-serif); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 400; line-height: 1.05; margin-bottom: 2rem; }
.hero__title em { color: var(--primary); font-style: italic; }
.hero__desc { font-size: 1.15rem; color: var(--text-muted); max-width: 500px; margin-bottom: 3rem; }
.hero__actions { display: flex; gap: 1.5rem; }

/* Параллакс визуал */
.hero__visual { position: relative; perspective: 1000px; }
.hero-image-box {
    position: relative; border-radius: 12px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 54, 34, 0.1);
    transform-style: preserve-3d; transition: transform 0.1s ease-out;
}
.hero-img { width: 100%; height: 500px; object-fit: cover; display: block; transform: translateZ(20px) scale(1.05); }
.hero-img-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem;
    background: linear-gradient(transparent, rgba(10, 54, 34, 0.9));
    transform: translateZ(30px);
}
.trust-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--bg); padding: 0.6rem 1.2rem; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem; color: var(--primary);
}
.trust-icon { color: var(--accent); font-weight: bold; }

/* СТАТИСТИКА */
.stats-section {
    background: var(--primary); padding: 4rem 0; color: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-item { border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-serif); font-size: 4rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.95rem; color: rgba(247, 245, 240, 0.7); letter-spacing: 1px; text-transform: uppercase; }

/* СЕКЦИИ */
.section { padding: 8rem 0; }
.section--cream { background: #F0EDE5; }
.section--dark { background: var(--primary); color: var(--bg); padding: 8rem 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.section__title { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 400; line-height: 1.1; }
.section__desc { color: var(--text-muted); font-size: 1rem; max-width: 300px; text-align: right; }

/* АККОРДЕОН */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 2.5rem 0; text-align: left; transition: all 0.3s;
}
.accordion-header:hover { padding-left: 1rem; }
.accordion-title { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; color: var(--text); transition: color 0.3s; }
.accordion-header:hover .accordion-title { color: var(--primary); }
.accordion-icon { font-size: 2rem; color: var(--accent); font-weight: 300; transition: transform 0.4s ease; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); }

.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.accordion-content { padding: 0 0 2.5rem 1rem; max-width: 800px; }
.accordion-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1rem; }
.accordion-content strong { color: var(--text); }

/* =========================================
   ПРОЦЕСС (ПРЕМИАЛЬНАЯ СЕТКА С СКРЕПКАМИ)
   ========================================= */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.process-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(10, 54, 34, 0.03);
    margin-top: 20px; /* Отступ, чтобы скрепка не перекрывала текст */
}

/* НОВАЯ СКРЕПКА (ЧЕТКАЯ И РЕЗКАЯ) */
.paperclip {
    position: absolute;
    top: -25px; 
    left: 30px;
    width: 40px;  /* Пропорции 1:2.2 */
    height: 88px;
    transform: rotate(12deg);
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(2px 5px 4px rgba(0, 0, 0, 0.25)); /* Тень в CSS, а не в SVG */
}

/* Золотая полоска слева при наведении */
.process-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px 0 0 8px;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 54, 34, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

.process-card:hover::before {
    opacity: 1;
}

.process-card__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.process-card__num {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    font-weight: 600;
}

.process-card__line {
    flex: 1;
    height: 1px;
    background: var(--border);
    transition: background 0.3s;
}

.process-card:hover .process-card__line {
    background: rgba(197, 160, 89, 0.4);
}

.process-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.process-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* КОНТАКТЫ */
.support-box {
    display: grid; grid-template-columns: 1.2fr 0.8fr;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px; padding: 5rem; gap: 4rem; align-items: center;
}
.support-badge { font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; color: var(--accent); margin-bottom: 1.5rem; text-transform: uppercase; }
.support-title { font-family: var(--font-serif); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.1; margin-bottom: 1.5rem; }
.support-desc { color: rgba(247, 245, 240, 0.7); font-size: 1.1rem; margin-bottom: 3rem; max-width: 450px; }
.support-phone {
    display: inline-flex; align-items: center; gap: 1rem;
    font-family: var(--font-serif); font-size: 3rem; font-weight: 600; color: var(--bg);
    transition: color 0.3s; margin-bottom: 3rem;
}
.support-phone:hover { color: var(--accent); }
.phone-icon { font-size: 2rem; }
.support-messengers { display: flex; gap: 1rem; }
.messenger-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px;
    color: var(--bg); font-weight: 600; font-size: 0.95rem; transition: all 0.3s;
}
.messenger-btn:hover { background: var(--bg); color: var(--primary); border-color: var(--bg); }

/* =========================================
   3D ЗОЛОТОЙ КЛЮЧ С БИРКОЙ (УВЕЛИЧЕННЫЙ)
   ========================================= */
.support-visual { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
    height: 100%; 
    min-height: 450px;
    perspective: 1200px; 
}

.support-visual::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border: 3px double var(--accent); 
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3), inset 0 0 15px rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    animation: rotateRing 30s linear infinite;
    pointer-events: none;
}

.support-visual::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(197, 160, 89, 0.6);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite reverse;
    pointer-events: none;
}

.key-3d-container {
    position: relative;
    width: 450px;
    height: 450px; 
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float3D 6s ease-in-out infinite;
    transform-style: preserve-3d;
    z-index: 2;
}

.key-3d-svg {
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
}

@keyframes float3D {
    0%, 100% { 
        transform: translateY(0) rotateY(-10deg) rotateX(5deg); 
    }
    50% { 
        transform: translateY(-25px) rotateY(15deg) rotateX(-5deg); 
    }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ПОДВАЛ И КУКИ */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer__inner { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-muted); }
.footer__link:hover { color: var(--primary); }

.cookie-banner {
    position: fixed; bottom: -150px; left: 50%; transform: translateX(-50%);
    width: min(800px, 95%); background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem;
    z-index: 100000; /* ВАЖНО: Выше курсора, чтобы кнопка нажималась */
    transition: bottom 0.5s; box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.cookie-banner.show { bottom: 20px; }
.cookie-banner p { font-size: 0.9rem; color: var(--text); }
.cookie-banner a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* АДАПТИВ */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero__desc { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero-img { height: 400px; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 2rem; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
    
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .section__desc { text-align: left; max-width: 100%; }
    
    .support-box { grid-template-columns: 1fr; padding: 3rem; text-align: center; }
    .support-desc { margin-inline: auto; }
    .support-messengers { justify-content: center; }
    .support-visual { display: none; }

    .process-grid {
        grid-template-columns: 1fr; 
        gap: 3rem; /* Больше отступа из-за скрепок */
    }
}

@media (max-width: 768px) {
    .nav, .header__phone { display: none; }
    .hero { padding: 10rem 0 4rem; }
    .hero__title { font-size: 3rem; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    
    .accordion-header { padding: 1.5rem 0; }
    .accordion-title { font-size: 1.3rem; }
    .accordion-content { padding-left: 0; }
    
    .process-card {
        padding: 2rem;
        margin-top: 15px;
    }
    
    .process-card__num {
        font-size: 2.5rem;
    }

    .paperclip {
        top: -20px;
        left: 20px;
        width: 32px;
        height: 70px;
    }
    
    .support-phone { font-size: 2rem; }
    .support-messengers { flex-direction: column; }
    
    .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* ФИКС БАННЕРА НА МОБИЛКАХ */
    .cookie-banner { 
        flex-direction: column; 
        text-align: center; 
        gap: 1rem; 
        bottom: -300px; 
    }
    .cookie-banner.show { 
        bottom: 20px; 
    }
}