/* ==========================================================================
   CSS VARIABLES & SOFT UI DESIGN (VENILIK.ONE)
   ========================================================================== */
:root {
    --brand-primary: #ea580c; 
    --brand-light: #f97316;   
    --brand-dark: #c2410c;    
    --bg-main: #fff7ed;       
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border-color: #fdba74;
    --radius-round: 30px;
    --radius-soft: 16px;
    --shadow-card: 0 10px 25px -5px rgba(234, 88, 12, 0.1);
    --transition-smooth: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--text-dark); }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
img { width: 100%; height: auto; display: block; border-radius: var(--radius-soft); }
ul { list-style: none; }

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 60px 0; }
@media (min-width: 768px) { .section-pad { padding: 100px 0; } }

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }

.zigzag-row { display: flex; flex-direction: column; gap: 40px; margin-bottom: 60px; align-items: center; }
@media (min-width: 992px) {
    .zigzag-row { flex-direction: row; gap: 50px; margin-bottom: 80px; }
    .zigzag-row:nth-child(even) { flex-direction: row-reverse; }
    .zigzag-col { flex: 1; width: 100%; }
}

/* ==========================================================================
   STRICT HEADER & MOBILE NAV (TAILWIND UTILITY CLASSES)
   ========================================================================== */
.site-header { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; width: 100%; }
.relative { position: relative; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.space-x-8 > * + * { margin-left: 2rem; }
.hidden { display: none; }

.logo { font-size: 1.8rem; font-weight: 900; color: var(--brand-primary); letter-spacing: -0.5px; padding: 15px 0; }

.hamburger { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 15px 0; }
.hamburger .line { width: 30px; height: 3px; background-color: var(--brand-primary); border-radius: 3px; transition: 0.3s; }

/* ИСПРАВЛЕННАЯ ЛОГИКА БУРГЕР МЕНЮ */
.mobile-nav { 
    display: none; /* <--- ИСПРАВЛЕНИЕ: скрываем по умолчанию */
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: var(--bg-white); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    padding: 20px; 
    border-top: 1px solid #e2e8f0; 
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 15px; }
.mobile-nav a { font-weight: 700; color: var(--text-dark); display: block; padding: 10px 0; }

/* Показываем мобильное меню только если нажат чекбокс */
#menu-toggle:checked ~ .mobile-nav { display: block; }

.navigation a { font-weight: 700; color: var(--text-gray); }
.navigation a:hover { color: var(--brand-primary); }

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .hamburger { display: none; }
    .site-header { padding: 5px 0; }
    /* На всякий случай жестко скрываем мобильное меню на ПК */
    .mobile-nav { display: none !important; } 
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-split { display: flex; flex-direction: column; padding-top: 40px; gap: 40px; }
@media (min-width: 992px) {
    .hero-split { flex-direction: row; align-items: center; min-height: 80vh; padding-top: 60px; }
    .hero-text { flex: 1; padding-right: 40px; }
    .hero-visual { flex: 1; }
}
.hero-text h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-text p { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 30px; }
.hero-visual img { border-radius: var(--radius-round); box-shadow: var(--shadow-card); object-fit: cover; max-height: 500px; }

/* ==========================================================================
   BUTTONS & CARDS
   ========================================================================== */
.btn-main, .btn-outline { display: inline-block; padding: 14px 30px; border-radius: 50px; font-weight: 800; font-size: 1rem; cursor: pointer; text-align: center; }
@media (min-width: 768px) { .btn-main, .btn-outline { padding: 18px 40px; font-size: 1.1rem; } }
.btn-main { background: var(--brand-primary); color: var(--bg-white); box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3); border: none; }
.btn-main:hover { background: var(--brand-dark); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--brand-primary); border: 2px solid var(--brand-primary); }
.btn-outline:hover { background: var(--brand-primary); color: var(--bg-white); }

.soft-card { background: var(--bg-white); border-radius: var(--radius-soft); padding: 30px 20px; box-shadow: var(--shadow-card); border: 1px solid rgba(253, 186, 116, 0.3); }
@media (min-width: 768px) { .soft-card { border-radius: var(--radius-round); padding: 50px 40px; } }

.manifesto-box { margin-top: 30px; padding: 25px 20px; background: var(--bg-main); border-left: 6px solid var(--brand-primary); border-radius: var(--radius-soft); }
@media (min-width: 768px) { .manifesto-box { margin-top: 50px; padding: 40px; } }

.icon-circle { width: 60px; height: 60px; background: var(--bg-main); color: var(--brand-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
@media (min-width: 768px) { .icon-circle { width: 80px; height: 80px; font-size: 2rem; } }

/* ==========================================================================
   FORMS
   ========================================================================== */
.custom-form { background: var(--bg-white); padding: 30px 20px; border-radius: var(--radius-soft); box-shadow: var(--shadow-card); width: 100%; }
@media (min-width: 768px) { .custom-form { padding: 50px; border-radius: var(--radius-round); } }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-control { width: 100%; padding: 15px; border: 2px solid #e2e8f0; border-radius: var(--radius-soft); font-family: inherit; font-size: 1rem; background: #f8fafc; }
.form-control:focus { outline: none; border-color: var(--brand-primary); background: var(--bg-white); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-area { background: var(--text-dark); color: #cbd5e1; padding: 60px 0 30px; margin-top: 60px; border-top-left-radius: 30px; border-top-right-radius: 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.footer-title { color: var(--bg-white); font-size: 1.25rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--brand-primary); }
.footer-copy { text-align: center; border-top: 1px solid #334155; padding-top: 20px; font-size: 0.9rem; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: var(--text-dark); color: white; transform: translateY(0); transition: transform 0.4s ease; }
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.95rem; }
#cookie-banner a { color: var(--brand-primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept { background: var(--brand-primary); color: white; border: none; padding: 10px 20px; border-radius: 5px; font-weight: bold; cursor: pointer; }
.cookie-btn-decline { background: transparent; color: white; border: 1px solid var(--text-gray); padding: 10px 20px; border-radius: 5px; cursor: pointer; }
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}