/* ============================================
   AFLANCE HOME PAGE — Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy: #03045E;
  --lime: #B3FF2D;
  --lime-hover: #D4FF7A;
  --bg: #F7F8FA;
  --charcoal: #1A1A1A;
  --slate: #5C6B87;
  --border: #E4E7EF;
  --white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-pill: 50px;
  --shadow-sm: 0 2px 8px rgba(3,4,94,0.04);
  --shadow-md: 0 8px 24px rgba(3,4,94,0.06);
  --shadow-lg: 0 12px 32px rgba(3,4,94,0.08);
  --shadow-xl: 0 20px 48px rgba(3,4,94,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--charcoal); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-light { background: var(--bg); }
.text-center { text-align: center; }
.eyebrow { font-family: var(--font-body); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--lime); margin-bottom: 16px; display: inline-block; }
.section-title { font-family: var(--font-heading); font-size: 42px; font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.section-subtitle { font-family: var(--font-body); font-size: 18px; color: var(--slate); max-width: 640px; line-height: 1.7; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 16px; padding: 14px 32px; border-radius: var(--radius-pill); transition: all var(--transition); white-space: nowrap; }
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(179,255,45,0.3); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #050578; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* --- HEADER / NAV --- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: all var(--transition); }
.site-header.scrolled { background: rgba(3,4,94,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px 0; box-shadow: 0 4px 20px rgba(3,4,94,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.logo .logo-dot { color: var(--lime); }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.85); transition: color var(--transition); }
.nav-menu a:hover { color: var(--lime); }
.header-cta .btn { font-size: 14px; padding: 10px 24px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; z-index: 1001; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: all var(--transition); }

/* --- HERO --- */
.hero { background: var(--navy); min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(179,255,45,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 55% 45%; gap: 48px; align-items: center; }
.hero-eyebrow { color: var(--lime); }
.hero h1 { font-family: var(--font-heading); font-size: 60px; font-weight: 800; color: var(--white); line-height: 1.08; margin-bottom: 20px; }
.hero h1 .accent { color: var(--lime); }
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,0.75); max-width: 540px; line-height: 1.7; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.trust-item { font-size: 15px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 8px; }
.trust-item .check { color: var(--lime); font-weight: 700; font-size: 18px; }

/* Dashboard Card */
.dashboard-card { background: rgba(255,255,255,0.04); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 32px; animation: float 6s ease-in-out infinite; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dashboard-label { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.dashboard-live { font-size: 12px; color: var(--lime); display: flex; align-items: center; gap: 6px; }
.dashboard-live::before { content: ''; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; animation: pulse 2s infinite; }
.stat-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.stat-chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 16px; }
.stat-chip .chip-value { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--lime); }
.stat-chip .chip-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.pillar-system { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.pillar-mini { background: rgba(179,255,45,0.08); border: 1px solid rgba(179,255,45,0.15); border-radius: 10px; padding: 10px 8px; text-align: center; }
.pillar-mini .pillar-name { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 0.5px; }
.pillar-mini .pillar-desc { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.dashboard-testimonial { background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 16px; margin-top: 16px; }
.testimonial-stars-mini { color: var(--lime); font-size: 14px; margin-bottom: 8px; }
.testimonial-snippet { font-size: 13px; color: rgba(255,255,255,0.7); font-style: italic; line-height: 1.5; }

/* --- MARQUEE --- */
.marquee-section { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: scroll-left 35s linear infinite; width: max-content; }
.marquee-track.paused { animation-play-state: paused; }
.marquee-item { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.8); padding: 0 20px; display: flex; align-items: center; gap: 20px; }
.marquee-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; display: inline-block; flex-shrink: 0; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- PLATFORMS --- */
.platforms-section { padding: 72px 0; }
.platforms-grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.platform-logo { filter: grayscale(100%); opacity: 0.4; transition: all var(--transition); max-height: 36px; }
.platform-logo:hover { filter: grayscale(0%); opacity: 1; }
.platform-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--slate); filter: grayscale(100%); opacity: 0.5; transition: all var(--transition); }
.platform-item:hover { filter: grayscale(0%); opacity: 1; color: var(--navy); }
.platform-icon { width: 32px; height: 32px; }

/* --- SERVICES GRID --- */
.services-section { padding: 100px 0; }
.filter-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.filter-tab { font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 10px 24px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--white); color: var(--charcoal); cursor: pointer; transition: all var(--transition); }
.filter-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-tab:hover:not(.active) { background: var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-md); padding: 32px; border: 1px solid var(--border); transition: all var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card.hidden { display: none; }
.card-icon { width: 56px; height: 56px; background: var(--navy); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 24px; height: 24px; stroke: var(--lime); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--slate); line-height: 1.6; margin-bottom: 16px; }
.pillar-tag { font-family: var(--font-heading); font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--navy); background: rgba(179,255,45,0.2); padding: 4px 14px; border-radius: var(--radius-pill); display: inline-block; letter-spacing: 0.5px; }

/* --- PROCESS --- */
.process-section { padding: 100px 0; background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 56px; position: relative; }
.process-step { text-align: center; position: relative; }
.step-number { font-family: var(--font-heading); font-size: 52px; font-weight: 800; color: rgba(3,4,94,0.06); line-height: 1; margin-bottom: 16px; }
.process-step .step-icon { width: 64px; height: 64px; background: rgba(179,255,45,0.12); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.process-step .step-icon svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 2; }
.process-step h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 15px; color: var(--slate); line-height: 1.6; max-width: 240px; margin: 0 auto; }

/* --- WHY AFLANCE --- */
.why-section { background: var(--navy); padding: 100px 0; position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(179,255,45,0.06) 0%, transparent 70%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.why-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 32px; backdrop-filter: blur(8px); transition: all var(--transition); }
.why-card:hover { border-color: var(--lime); transform: translateY(-4px); background: rgba(255,255,255,0.06); }
.why-card .card-icon { width: 56px; height: 56px; background: rgba(179,255,45,0.12); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-card .card-icon svg { width: 24px; height: 24px; stroke: var(--lime); fill: none; stroke-width: 2; }
.why-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.why-card p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* --- CASE STUDY --- */
.casestudy-section { padding: 100px 0; }
.casestudy-card { background: var(--navy); border-radius: var(--radius-lg); padding: 64px; position: relative; overflow: hidden; }
.casestudy-card::before { content: ''; position: absolute; top: -80px; right: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(179,255,45,0.12) 0%, transparent 70%); pointer-events: none; }
.casestudy-card::after { content: ''; position: absolute; bottom: -60px; left: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(179,255,45,0.06) 0%, transparent 70%); pointer-events: none; }
.casestudy-card .eyebrow { color: var(--lime); }
.casestudy-card h2 { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.casestudy-card > p { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 700px; }
.casestudy-stats { display: flex; gap: 48px; margin: 40px 0; flex-wrap: wrap; }
.stat-block { text-align: center; }
.stat-value { font-family: var(--font-heading); font-size: 48px; font-weight: 700; color: var(--lime); line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 8px; }
.casestudy-timeline { display: flex; gap: 0; align-items: stretch; margin-top: 40px; flex-wrap: wrap; }
.timeline-step { flex: 1; min-width: 160px; background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 20px 16px; text-align: center; position: relative; }
.timeline-step:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--lime); font-size: 18px; font-weight: 700; z-index: 1; }
.timeline-step .step-num { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.timeline-step .step-text { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8); }
.casestudy-note { font-size: 13px; color: rgba(255,255,255,0.4); font-style: italic; margin-top: 24px; }

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--navy); padding: 100px 0; overflow: hidden; }
.testimonials-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: none; cursor: grab; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials-track:active { cursor: grabbing; }
.testimonial-card { min-width: 380px; max-width: 420px; flex-shrink: 0; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 32px; scroll-snap-align: start; transition: border-color var(--transition); }
.testimonial-card:hover { border-color: rgba(179,255,45,0.3); }
.testimonial-stars { color: var(--lime); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.7; font-style: italic; }
.testimonial-author { margin-top: 20px; }
.testimonial-author .name { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--white); }
.testimonial-author .role { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all var(--transition); }
.carousel-btn:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: all var(--transition); }
.carousel-dot.active { background: var(--lime); width: 28px; border-radius: 5px; }

/* --- TEAM --- */
.team-section { padding: 100px 0; }
.team-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 56px; }
.team-member { text-align: center; max-width: 200px; }
.team-photo-wrap { width: 160px; height: 160px; border-radius: 50%; border: 3px solid var(--lime); padding: 4px; margin: 0 auto; transition: box-shadow var(--transition); overflow: hidden; }
.team-photo-wrap:hover { box-shadow: 0 0 24px rgba(179,255,45,0.25); }
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), #0a0a8a); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 40px; font-weight: 700; color: var(--lime); }
.team-name { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--navy); margin-top: 16px; }
.team-role { font-size: 14px; color: var(--slate); margin-top: 4px; }

/* --- FAQ --- */
.faq-section { padding: 100px 0; background: var(--white); }
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-family: var(--font-heading); font-size: 18px; font-weight: 500; color: var(--navy); text-align: left; background: none; border: none; cursor: pointer; transition: color var(--transition); }
.faq-question:hover { color: var(--lime); }
.faq-icon { font-size: 22px; font-weight: 300; color: var(--slate); transition: transform var(--transition), color var(--transition); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--lime); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 24px 0; font-size: 16px; color: var(--slate); line-height: 1.7; }

/* --- CONTACT --- */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 40% 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: rgba(179,255,45,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 2; }
.contact-info-item h4 { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 15px; color: var(--slate); }
.contact-info-item a:hover { color: var(--lime); }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 48px; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; font-family: var(--font-body); font-size: 16px; padding: 14px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--charcoal); background: var(--bg); transition: border-color var(--transition), box-shadow var(--transition); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(3,4,94,0.08); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; margin-top: 8px; }

/* --- CTA BANNER --- */
.cta-banner { background: var(--lime); padding: 80px 0; text-align: center; }
.cta-banner h2 { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.cta-banner p { font-size: 18px; color: rgba(3,4,94,0.7); margin-bottom: 32px; }

/* --- NEWSLETTER --- */
.newsletter-strip { background: var(--navy); padding: 48px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.newsletter-text { font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: var(--white); }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-input { font-family: var(--font-body); font-size: 15px; padding: 14px 24px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-pill); color: var(--white); min-width: 300px; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-input:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,0.12); }

/* --- FOOTER --- */
.site-footer { background: var(--navy); padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo .logo-dot { color: var(--lime); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }
.footer-heading { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: var(--lime); }

/* --- COOKIE BANNER --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--navy); color: var(--white); padding: 16px 24px; z-index: 9999; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.2); }
.cookie-banner.hidden { display: none; }
.cookie-text { font-size: 14px; color: rgba(255,255,255,0.8); }
.cookie-text a { color: var(--lime); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--lime); color: var(--navy); font-family: var(--font-heading); font-weight: 600; font-size: 14px; padding: 8px 20px; border-radius: var(--radius-pill); }
.cookie-decline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); font-size: 14px; padding: 8px 20px; border-radius: var(--radius-pill); }

/* --- WHATSAPP FLOAT --- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 9998; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.35); transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* --- ANIMATIONS --- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(179,255,45,0.4); } 70% { box-shadow: 0 0 0 8px rgba(179,255,45,0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { opacity: 0; }
.fade-in-up.visible { animation: fadeInUp 0.6s ease forwards; }

/* --- RESPONSIVE: 1024px --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-visual { margin-top: 48px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- RESPONSIVE: 768px --- */
@media (max-width: 768px) {
  .section-padding { padding: 72px 0; }
  .section-title { font-size: 32px; }
  .hero h1 { font-size: 40px; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .casestudy-card { padding: 40px 24px; }
  .casestudy-stats { gap: 24px; }
  .stat-value { font-size: 36px; }
  .casestudy-timeline { flex-direction: column; gap: 12px; }
  .timeline-step:not(:last-child)::after { content: '↓'; position: static; transform: none; display: block; margin-top: 8px; }
  .testimonial-card { min-width: 300px; }
  .team-grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--navy); flex-direction: column; padding: 100px 32px 32px; gap: 0; transition: right var(--transition); box-shadow: -4px 0 20px rgba(0,0,0,0.3); }
  .nav-menu.open { right: 0; }
  .nav-menu a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.06); display: block; width: 100%; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .form-row-2 { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-input { min-width: unset; width: 100%; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .cookie-banner { flex-direction: column; text-align: center; }
}

/* --- RESPONSIVE: 480px --- */
@media (max-width: 480px) {
  .section-padding { padding: 56px 0; }
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .trust-row { flex-direction: column; gap: 12px; align-items: center; }
  .stat-chips { grid-template-columns: 1fr; }
  .pillar-system { grid-template-columns: repeat(2, 1fr); }
  .team-photo-wrap { width: 120px; height: 120px; }
  .casestudy-card h2 { font-size: 28px; }
  .cta-banner h2 { font-size: 28px; }
  .platforms-grid { gap: 24px; }
}

/* Hide Astra elements on front page if needed */
.home .ast-above-header, .home .ast-below-header { display: none; }