/* ==========================================================================
   CSS VARIABLES & CARDIO CRIMSON DESIGN (CETEBAF.ICU - VERSION 9)
   ========================================================================== */
:root {
    --brand-crimson: #9f1239; /* Rose 800 - Deep Red/Burgundy */
    --brand-crimson-light: #e11d48; /* Rose 600 */
    --brand-dark: #111827; /* Gray 900 */
    --brand-gray: #4b5563; /* Gray 600 */
    --brand-light: #f3f4f6; /* Gray 100 */
    --bg-page: #ffffff;
    --border-soft: #e5e7eb;
    
    /* Responsive Spacing & Radii */
    --space-sm: clamp(1rem, 2vw, 1.5rem);
    --space-md: clamp(2rem, 4vw, 3rem);
    --space-lg: clamp(3rem, 6vw, 5rem);
    --radius-soft: 12px;
    --radius-pill: 50px;
    
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(159, 18, 57, 0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--brand-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fluid Typography for Mobile/Desktop */
h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.1; color: var(--brand-dark); font-weight: 800; margin-bottom: 1.2rem; letter-spacing: -1px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; color: var(--brand-dark); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); color: var(--brand-dark); font-weight: 600; margin-bottom: 0.8rem; }
p { font-size: clamp(1rem, 1.5vw, 1.125rem); margin-bottom: 1.5rem; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-soft); }
ul { list-style: none; }

/* ==========================================================================
   LAYOUT & CONTAINERS (MOBILE OPTIMIZED)
   ========================================================================== */
.container { 
    width: 100%; 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 20px; /* Safe padding for mobile */
}
.section-pad { padding: var(--space-lg) 0; }

/* ==========================================================================
   STRICT HEADER & MOBILE NAV
   ========================================================================== */
.main-header {
    background-color: var(--bg-page);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 10px; position: relative; }

.logo { font-size: 1.8rem; font-weight: 900; color: var(--brand-dark); letter-spacing: -0.5px; }
.logo span { color: var(--brand-crimson); }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px 0; }
.hamburger .bar { width: 26px; height: 3px; background-color: var(--brand-dark); border-radius: 2px; transition: var(--transition); }
#nav-toggle { display: none; }

/* Desktop Menu */
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 30px; align-items: center; }
.nav-desktop a { font-weight: 600; color: var(--brand-gray); }
.nav-desktop a:hover { color: var(--brand-crimson); }

/* Mobile Menu */
.nav-mobile {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* No 100vw to avoid horizontal scroll */
    background-color: var(--bg-page);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    padding: 10px 20px 20px;
    border-top: 1px solid var(--border-soft);
    z-index: 999;
}
.nav-mobile a { display: block; font-weight: 600; color: var(--brand-dark); padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.nav-mobile li:last-child a { border-bottom: none; }
#nav-toggle:checked ~ .nav-mobile { display: block; }

@media (min-width: 992px) {
    .hamburger { display: none; }
    .nav-desktop { display: block; }
    .nav-mobile { display: none !important; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .hero-wrapper { flex-direction: row; gap: 60px; min-height: 75vh; }
    .hero-content, .hero-visual { flex: 1; }
}
.badge { display: inline-block; padding: 6px 14px; background-color: #ffe4e6; color: var(--brand-crimson); font-size: 0.85rem; font-weight: 700; border-radius: var(--radius-pill); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-weight: 700; border-radius: var(--radius-pill); cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-align: center; font-size: 1.05rem; }
.btn-solid { background-color: var(--brand-crimson); color: white; }
.btn-solid:hover { background-color: var(--brand-dark); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline:hover { background-color: var(--brand-dark); color: white; }

/* ==========================================================================
   GRIDS & CARDS
   ========================================================================== */
.grid-wrap { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 768px) { .grid-wrap { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .grid-half { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; } }

.card { background: var(--brand-light); padding: var(--space-md); border-radius: var(--radius-soft); transition: var(--transition); border: 1px solid var(--border-soft); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); background: white; border-color: #fda4af; }
.card-icon { font-size: 2.5rem; color: var(--brand-crimson); margin-bottom: 20px; }

/* ==========================================================================
   FORM (4 FIELDS)
   ========================================================================== */
.form-card { background: white; padding: var(--space-md); border-radius: var(--radius-soft); box-shadow: var(--shadow-hover); border: 1px solid var(--border-soft); width: 100%; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; color: var(--brand-dark); margin-bottom: 8px; font-size: 0.95rem; }
.form-row input, .form-row textarea { width: 100%; padding: 14px; border: 2px solid var(--border-soft); border-radius: 8px; font-family: inherit; font-size: 1rem; color: var(--brand-dark); transition: var(--transition); background: var(--bg-page); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brand-crimson); background: white; }
.form-row textarea { min-height: 120px; resize: vertical; }

/* ==========================================================================
   FOOTER (CAMPAIGN 2020-2026 STRICT RULE)
   ========================================================================== */
.main-footer { background-color: var(--brand-dark); color: #9ca3af; padding: var(--space-lg) 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.footer-title { color: white; font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: white; }
.campaign-box { background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border-left: 3px solid var(--brand-crimson); margin-top: 15px; }
.campaign-box p { font-size: 0.9rem; margin: 0; color: #e5e7eb; line-height: 1.5; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.9rem; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#cookie-wrap { position: fixed; bottom: 20px; left: 20px; right: 20px; background: var(--brand-dark); color: white; padding: 20px; border-radius: var(--radius-soft); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); display: flex; flex-direction: column; gap: 15px; z-index: 9999; border: 1px solid #374151; transition: transform 0.4s ease; max-width: 800px; margin: 0 auto; }
#cookie-wrap.hidden { transform: translateY(150%); }
#cookie-wrap p { font-size: 0.9rem; margin: 0; color: #d1d5db; }
#cookie-wrap a { color: #fecdd3; text-decoration: underline; }
.cookie-btn { padding: 10px 20px; background: var(--brand-crimson); color: white; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; text-align: center; }
.cookie-btn:hover { background: var(--brand-crimson-light); }
@media (min-width: 600px) { #cookie-wrap { flex-direction: row; align-items: center; justify-content: space-between; } }