/* ==========================================================================
   FIU — Financial Intelligence & Fraud Investigation Agency
   Global stylesheet (self-contained, no framework)
   Palette: Emerald + Gold on Ink, over warm paper
   ========================================================================== */

:root{
  /* Brand */
  --brand:        #0E7A4B;   /* emerald (links / accents on light) */
  --brand-deep:   #0B5D3B;   /* primary emerald */
  --brand-900:    #073A25;   /* deepest emerald */
  --gold:         #C9A227;   /* warm gold accent */
  --gold-bright:  #E7C24B;

  /* Ink / neutrals */
  --ink:          #0C1A26;   /* dark sections / footer */
  --ink-soft:     #13293A;
  --paper:        #F5F3EC;   /* page background (warm off-white) */
  --paper-2:      #EDEAE0;
  --surface:      #FFFFFF;   /* cards */
  --text:         #17241D;   /* body text */
  --text-soft:    #55615A;   /* muted text */
  --line:         #E4E0D4;   /* warm hairline border */
  --line-strong:  #D6D1C1;

  /* Effects */
  --ring:         rgba(11,93,59,.30);
  --shadow-sm:    0 2px 10px rgba(12,26,38,.06);
  --shadow-md:    0 12px 30px rgba(12,26,38,.10);
  --shadow-lg:    0 24px 60px rgba(12,26,38,.16);

  /* Layout */
  --container:    1200px;
  --radius:       18px;
  --radius-sm:    12px;
  --radius-pill:  999px;

  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ------------------------------- Reset ---------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--paper);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:var(--brand); text-decoration:none; }
a:hover{ color:var(--brand-deep); }
h1,h2,h3,h4,h5{ font-family:var(--font-head); color:var(--ink); line-height:1.15; margin:0 0 .5em; letter-spacing:-.02em; font-weight:600; }
p{ margin:0 0 1rem; }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:3px solid var(--ring); outline-offset:2px; border-radius:6px; }

/* ------------------------------ Helpers --------------------------------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:clamp(18px,4vw,40px); }
.section{ padding-block:clamp(56px,8vw,104px); position:relative; }
.section--paper2{ background:var(--paper-2); }
.section--ink{ background:var(--ink); color:#DCE6DF; }
.section--ink h2,.section--ink h3{ color:#fff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--font-head); font-weight:600; font-size:.78rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--brand-deep);
  margin-bottom:1rem;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--gold); border-radius:2px; }
.section--ink .eyebrow{ color:var(--gold-bright); }

.section-head{ max-width:720px; margin-bottom:clamp(32px,5vw,56px); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.75rem,3.4vw,2.6rem); }
.section-head p{ color:var(--text-soft); font-size:1.05rem; margin-top:.35rem; }
.section--ink .section-head p{ color:#AFC0B5; }

.lead{ font-size:1.08rem; color:var(--text-soft); }

/* ------------------------------ Buttons --------------------------------- */
.btn{
  --btn-bg:var(--brand-deep); --btn-fg:#fff;
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--font-head); font-weight:600; font-size:.95rem;
  padding:.85rem 1.5rem; border-radius:var(--radius-pill);
  background:var(--btn-bg); color:var(--btn-fg); border:1.5px solid transparent;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; transition:transform .18s ease; }
.btn:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); color:#fff; }
.btn:hover svg{ transform:translateX(3px); }
.btn--gold{ --btn-bg:var(--gold); --btn-fg:var(--ink); }
.btn--gold:hover{ background:var(--gold-bright); color:var(--ink); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn--ghost:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.btn--on-ink{ background:transparent; color:#fff; border-color:rgba(255,255,255,.35); }
.btn--on-ink:hover{ background:#fff; color:var(--ink); }
.btn--lg{ padding:1rem 1.9rem; font-size:1rem; }

/* ------------------------------ Top bar --------------------------------- */
.topbar{
  background:var(--ink); color:#B9C7BD; font-size:.85rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:42px; }
.topbar a{ color:#B9C7BD; }
.topbar a:hover{ color:var(--gold-bright); }
.topbar__meta{ display:flex; gap:1.6rem; align-items:center; flex-wrap:wrap; }
.topbar__meta span{ display:inline-flex; align-items:center; gap:.45rem; }
.topbar__meta svg{ width:15px; height:15px; color:var(--gold); }
.topbar__social{ display:flex; gap:.9rem; }
.topbar__social a{ display:inline-grid; place-items:center; width:26px; height:26px; }
.topbar__social svg{ width:15px; height:15px; }

/* ------------------------------ Header ---------------------------------- */
.site-header{
  position:sticky; top:0; z-index:60; background:rgba(245,243,236,.88);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled{ box-shadow:var(--shadow-sm); background:rgba(245,243,236,.96); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:1.25rem; min-height:74px; }

/* Brand / logo */
.brand{ display:inline-flex; align-items:center; gap:.7rem; }
.brand__emblem{ width:42px; height:42px; flex:0 0 auto; }
.brand__text{ display:flex; flex-direction:column; line-height:1; }
.brand__name{ font-family:var(--font-head); font-weight:700; font-size:1.5rem; color:var(--ink); letter-spacing:.02em; }
.brand__name b{ color:var(--brand-deep); }
.brand__tag{ font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-soft); margin-top:3px; }

/* Nav */
.nav{ display:flex; align-items:center; gap:.35rem; }
.nav a{
  font-family:var(--font-head); font-weight:500; font-size:.98rem; color:var(--ink);
  padding:.5rem .85rem; border-radius:var(--radius-pill); position:relative;
}
.nav a::after{
  content:""; position:absolute; left:.85rem; right:.85rem; bottom:.28rem; height:2px;
  background:var(--gold); border-radius:2px; transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.nav a:hover,.nav a.active{ color:var(--brand-deep); }
.nav a:hover::after,.nav a.active::after{ transform:scaleX(1); }

.header__actions{ display:flex; align-items:center; gap:.75rem; }
.nav-toggle{ display:none; width:44px; height:44px; border:1px solid var(--line-strong); background:var(--surface); border-radius:12px; cursor:pointer; align-items:center; justify-content:center; }
.nav-toggle svg{ width:22px; height:22px; color:var(--ink); }

/* ------------------------------ Hero ------------------------------------ */
.hero{
  position:relative; color:#EAF1EC; overflow:hidden;
  background:linear-gradient(135deg, #0B3D2A 0%, #0C1A26 62%);
}
/* Per-slide full-bleed art backgrounds (crossfade) */
.hero__bgs{ position:absolute; inset:0; z-index:0; }
.hero__bg{ position:absolute; inset:0; opacity:0; transition:opacity 1.1s ease; }
.hero__bg.active{ opacity:1; }
.hero__art{ width:100%; height:100%; display:block; }
/* Legibility overlay: dark on the left (where the copy sits), clearer on the right */
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(7,26,18,.93) 0%, rgba(9,20,30,.70) 40%, rgba(9,20,30,.20) 76%, rgba(9,20,30,.05) 100%),
    linear-gradient(0deg, rgba(9,20,30,.72) 0%, transparent 46%);
}
.hero__grid-lines{ position:absolute; inset:0; z-index:1; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:56px 56px; mask-image:radial-gradient(circle at 72% 30%, #000 0%, transparent 68%); pointer-events:none; }
.hero__inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,5vw,64px); align-items:center; padding-block:clamp(60px,9vw,120px); }

.slider{ position:relative; }
.slide{ display:none; animation:fadeUp .6s ease both; }
.slide.active{ display:block; }
.slide__pre{ display:inline-flex; align-items:center; gap:.6rem; font-family:var(--font-head); font-weight:600; font-size:.8rem; letter-spacing:.15em; text-transform:uppercase; color:var(--gold-bright); margin-bottom:1.1rem; }
.slide__pre::before{ content:""; width:26px; height:2px; background:var(--gold); }
.slide h1{ color:#fff; font-size:clamp(2rem,4.6vw,3.4rem); line-height:1.08; margin-bottom:1.1rem; }
.slide p{ color:#B6C7BC; font-size:1.08rem; max-width:38rem; margin-bottom:1.8rem; }
.slide__actions{ display:flex; gap:.8rem; flex-wrap:wrap; }

.slider__nav{ display:flex; align-items:center; gap:1rem; margin-top:2.4rem; }
.slider__dots{ display:flex; gap:.55rem; }
.slider__dots button{ width:34px; height:5px; border-radius:3px; border:0; background:rgba(255,255,255,.22); cursor:pointer; padding:0; transition:background .2s ease; }
.slider__dots button.active{ background:var(--gold); }
.slider__arrows{ display:flex; gap:.5rem; margin-left:auto; }
.slider__arrows button{ width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.25); background:transparent; color:#fff; cursor:pointer; display:grid; place-items:center; transition:background .2s ease, border-color .2s ease; }
.slider__arrows button:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.5); }
.slider__arrows svg{ width:20px; height:20px; }

/* Hero side card */
.hero__card{
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14); border-radius:24px; padding:26px;
  backdrop-filter:blur(6px); box-shadow:var(--shadow-lg);
}
.hero__card h3{ color:#fff; font-size:1.15rem; margin-bottom:1.2rem; display:flex; align-items:center; gap:.6rem; }
.hero__card h3 svg{ width:22px; height:22px; color:var(--gold-bright); }
.hero__stats{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.hero__stat{ background:rgba(12,26,38,.4); border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:16px; }
.hero__stat .num{ font-family:var(--font-head); font-weight:700; font-size:1.7rem; color:var(--gold-bright); }
.hero__stat .lbl{ font-size:.82rem; color:#AFC0B5; margin-top:2px; }
.hero__assurance{ display:flex; align-items:center; gap:.6rem; margin-top:16px; font-size:.9rem; color:#B6C7BC; }
.hero__assurance svg{ width:20px; height:20px; color:var(--brand); flex:0 0 auto; }

/* Trust strip */
.trust{ background:var(--ink-soft); border-top:1px solid rgba(255,255,255,.06); }
.trust .container{ display:flex; align-items:center; gap:clamp(18px,4vw,48px); flex-wrap:wrap; justify-content:center; padding-block:20px; }
.trust span{ font-family:var(--font-head); font-weight:600; letter-spacing:.06em; color:#7f9488; font-size:.95rem; text-transform:uppercase; display:inline-flex; align-items:center; gap:.5rem; }
.trust span svg{ width:18px; height:18px; color:var(--gold); }

/* ------------------------- Feature / focus cards ------------------------ */
.grid{ display:grid; gap:clamp(18px,2.4vw,26px); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 26px; box-shadow:var(--shadow-sm); position:relative; overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--line-strong); }
.card:hover::before{ transform:scaleX(1); }
.card__icon{
  width:56px; height:56px; border-radius:14px; display:grid; place-items:center; margin-bottom:18px;
  background:linear-gradient(135deg, rgba(14,122,75,.14), rgba(201,162,39,.14));
  color:var(--brand-deep); border:1px solid var(--line);
}
.card__icon svg{ width:28px; height:28px; }
.card h3{ font-size:1.15rem; margin-bottom:.5rem; }
.card p{ color:var(--text-soft); font-size:.96rem; margin:0; }
.card__index{ position:absolute; top:20px; right:22px; font-family:var(--font-head); font-weight:700; font-size:2.2rem; color:var(--paper-2); line-height:1; }

/* ------------------------------ About ----------------------------------- */
.about{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,64px); align-items:center; }
.about__body p{ color:var(--text-soft); }
.about__body h2{ font-size:clamp(1.7rem,3.2vw,2.4rem); }
.about__actions{ margin-top:1.6rem; }
.about__panel{ position:relative; }
.stat-cards{ display:grid; gap:18px; }
.stat-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:18px;
}
.stat-card__icon{ width:58px; height:58px; border-radius:14px; flex:0 0 auto; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--brand-deep),var(--brand-900)); }
.stat-card__icon svg{ width:28px; height:28px; }
.stat-card--gold .stat-card__icon{ background:linear-gradient(135deg,var(--gold),#a9861a); color:var(--ink); }
.stat-card .amount{ font-family:var(--font-head); font-weight:700; font-size:1.9rem; color:var(--ink); line-height:1; }
.stat-card .caption{ font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-soft); margin-top:6px; }
.about__badge{ position:absolute; inset:auto -14px -22px auto; z-index:3; background:var(--ink); color:#fff; border-radius:16px; padding:14px 18px; box-shadow:var(--shadow-lg); font-family:var(--font-head); display:flex; align-items:center; gap:10px; }
.about__badge svg{ width:24px; height:24px; color:var(--gold-bright); }
.about__badge b{ display:block; font-size:1.05rem; }
.about__badge span{ font-size:.75rem; color:#AFC0B5; font-family:var(--font-body); }

/* ------------------------------ Counters -------------------------------- */
.counters{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(18px,2.4vw,30px); }
.counter{ text-align:center; padding:14px; position:relative; }
.counter:not(:last-child)::after{ content:""; position:absolute; right:0; top:15%; height:70%; width:1px; background:rgba(255,255,255,.12); }
.counter .num{ font-family:var(--font-head); font-weight:700; font-size:clamp(2.4rem,5vw,3.4rem); color:#fff; line-height:1; }
.counter .num .suffix{ color:var(--gold-bright); }
.counter .lbl{ color:#AFC0B5; font-size:.95rem; margin-top:.6rem; max-width:15rem; margin-inline:auto; }

/* ------------------------------ Services -------------------------------- */
.service{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 28px; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column;
}
.service:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.service__icon{ width:54px; height:54px; border-radius:14px; display:grid; place-items:center; margin-bottom:18px; color:#fff; background:linear-gradient(135deg,var(--brand-deep),var(--brand-900)); }
.service__icon svg{ width:26px; height:26px; }
.service h3{ font-size:1.18rem; margin-bottom:.55rem; }
.service p{ color:var(--text-soft); font-size:.96rem; margin-bottom:1.2rem; }
.service__link{ margin-top:auto; font-family:var(--font-head); font-weight:600; font-size:.92rem; display:inline-flex; align-items:center; gap:.4rem; color:var(--brand-deep); }
.service__link svg{ width:16px; height:16px; transition:transform .18s ease; }
.service:hover .service__link svg{ transform:translateX(4px); }

/* ---------------------------- Testimonials ------------------------------ */
.testi{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:16px;
}
.testi__quote{ color:var(--gold); }
.testi__quote svg{ width:34px; height:34px; }
.testi p{ color:var(--text); font-size:1rem; margin:0; }
.testi__person{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.avatar{ width:46px; height:46px; border-radius:50%; flex:0 0 auto; display:grid; place-items:center; font-family:var(--font-head); font-weight:700; color:#fff; font-size:1.05rem; }
.testi__meta b{ display:block; font-family:var(--font-head); color:var(--ink); font-size:.98rem; }
.testi__meta span{ font-size:.82rem; color:var(--text-soft); }
.stars{ display:flex; gap:2px; color:var(--gold); }
.stars svg{ width:16px; height:16px; }

/* ------------------------------ CTA band -------------------------------- */
.cta-band{ position:relative; overflow:hidden; border-radius:26px; padding:clamp(36px,6vw,64px); text-align:center;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(201,162,39,.22), transparent 60%),
    linear-gradient(135deg, var(--brand-900), var(--ink));
  color:#fff; box-shadow:var(--shadow-lg);
}
.cta-band h2{ color:#fff; font-size:clamp(1.6rem,3.4vw,2.5rem); max-width:22ch; margin-inline:auto; }
.cta-band p{ color:#B6C7BC; max-width:44ch; margin:1rem auto 1.8rem; }
.cta-band .btn-row{ display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; }

/* ------------------------------ FAQ ------------------------------------- */
.faq{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(32px,5vw,64px); align-items:start; }
.faq__aside h2{ font-size:clamp(1.6rem,3vw,2.3rem); }
.faq__aside p{ color:var(--text-soft); }
.faq__list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:var(--surface); border:1px solid var(--line); border-radius:14px; overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease; }
.faq-item.open{ border-color:var(--brand); box-shadow:var(--shadow-sm); }
.faq-q{ width:100%; text-align:left; background:none; border:0; cursor:pointer; padding:20px 22px; display:flex; align-items:center; justify-content:space-between; gap:1rem; font-family:var(--font-head); font-weight:600; font-size:1.02rem; color:var(--ink); }
.faq-q .ico{ width:30px; height:30px; flex:0 0 auto; border-radius:50%; display:grid; place-items:center; background:var(--paper-2); color:var(--brand-deep); transition:transform .25s ease, background .25s ease, color .25s ease; }
.faq-item.open .faq-q .ico{ background:var(--brand-deep); color:#fff; transform:rotate(45deg); }
.faq-q .ico svg{ width:16px; height:16px; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a__inner{ padding:0 22px 20px; color:var(--text-soft); }

/* ------------------------------ Footer ---------------------------------- */
.footer{ background:var(--ink); color:#AFC0B5; }
.footer__cta{ border-bottom:1px solid rgba(255,255,255,.08); }
.footer__cta .container{ display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; padding-block:clamp(32px,5vw,52px); }
.footer__cta h2{ color:#fff; font-size:clamp(1.5rem,3vw,2.2rem); margin:0; }
.footer__cta p{ margin:.5rem 0 0; color:#8FA396; }
.footer__main{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.3fr; gap:clamp(28px,4vw,52px); padding-block:clamp(48px,6vw,72px); }
.footer__brand .brand__name{ color:#fff; }
.footer__brand .brand__name b{ color:var(--gold-bright); }
.footer__brand .brand__tag{ color:#8FA396; }
.footer__brand p{ margin-top:1.1rem; color:#8FA396; font-size:.95rem; max-width:32ch; }
.footer h4{ color:#fff; font-family:var(--font-head); font-size:.95rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer__links a{ color:#AFC0B5; display:inline-block; padding:.3rem 0; font-size:.96rem; }
.footer__links a:hover{ color:var(--gold-bright); padding-left:4px; transition:padding .15s ease; }
.footer__contact li{ display:flex; gap:.7rem; align-items:flex-start; margin-bottom:1rem; font-size:.95rem; }
.footer__contact svg{ width:20px; height:20px; color:var(--gold); flex:0 0 auto; margin-top:2px; }
.footer__bottom{ border-top:1px solid rgba(255,255,255,.08); }
.footer__bottom .container{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding-block:22px; font-size:.88rem; color:#8FA396; }
.footer__social{ display:flex; gap:.7rem; }
.footer__social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.16); display:grid; place-items:center; color:#AFC0B5; transition:background .2s ease, color .2s ease, border-color .2s ease; }
.footer__social a:hover{ background:var(--gold); color:var(--ink); border-color:var(--gold); }
.footer__social svg{ width:17px; height:17px; }

/* ------------------------- Contact page --------------------------------- */
.page-hero{ position:relative; color:#EAF1EC; overflow:hidden;
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(201,162,39,.16), transparent 60%),
    linear-gradient(135deg, #0B3D2A 0%, #0C1A26 65%);
  padding-block:clamp(56px,8vw,96px);
}
.page-hero .eyebrow{ color:var(--gold-bright); }
.page-hero h1{ color:#fff; font-size:clamp(2rem,4.4vw,3rem); }
.page-hero p{ color:#B6C7BC; font-size:1.1rem; max-width:44ch; }
.breadcrumb{ font-size:.85rem; color:#8FA396; margin-bottom:1.2rem; }
.breadcrumb a{ color:#B6C7BC; }

.contact-layout{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(28px,4vw,52px); align-items:start; }
.form-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(24px,3vw,40px); box-shadow:var(--shadow-md); }
.form-card h2{ font-size:1.5rem; }
.form-card > p{ color:var(--text-soft); margin-bottom:1.5rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:16px; display:flex; flex-direction:column; }
.field label{ font-family:var(--font-head); font-weight:600; font-size:.86rem; margin-bottom:.4rem; color:var(--ink); }
.field label .req{ color:#c0392b; }
.field input,.field textarea,.field select{
  font-family:var(--font-body); font-size:.98rem; color:var(--text);
  padding:.85rem 1rem; border:1.5px solid var(--line-strong); border-radius:12px; background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease; width:100%;
}
.field textarea{ resize:vertical; min-height:140px; }
.field input:focus,.field textarea:focus,.field select:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 4px var(--ring); }
.field .error-msg{ color:#c0392b; font-size:.82rem; margin-top:.35rem; display:none; }
.field.invalid input,.field.invalid textarea{ border-color:#c0392b; }
.field.invalid .error-msg{ display:block; }
.form-note{ font-size:.82rem; color:var(--text-soft); margin-top:.6rem; display:flex; gap:.5rem; align-items:flex-start; }
.form-note svg{ width:16px; height:16px; color:var(--brand); flex:0 0 auto; margin-top:2px; }
.form-alert{ padding:14px 16px; border-radius:12px; font-size:.95rem; margin-bottom:18px; display:flex; gap:.6rem; align-items:center; }
.form-alert svg{ width:20px; height:20px; flex:0 0 auto; }
.form-alert--ok{ background:rgba(14,122,75,.1); color:var(--brand-900); border:1px solid rgba(14,122,75,.3); }
.form-alert--err{ background:rgba(192,57,43,.08); color:#8e2318; border:1px solid rgba(192,57,43,.25); }

.contact-aside{ display:flex; flex-direction:column; gap:16px; }
.info-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); display:flex; gap:16px; align-items:flex-start; }
.info-card__icon{ width:50px; height:50px; border-radius:13px; flex:0 0 auto; display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--brand-deep),var(--brand-900)); }
.info-card__icon svg{ width:24px; height:24px; }
.info-card h3{ font-size:1.02rem; margin-bottom:.25rem; }
.info-card p,.info-card a{ color:var(--text-soft); font-size:.95rem; margin:0; }
.info-card a:hover{ color:var(--brand-deep); }
.map-card{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow-sm); background:var(--surface); }
.map-card iframe{ width:100%; height:240px; border:0; display:block; filter:grayscale(.15); }

/* --------------------- Permanent "Total Recovered" badge ---------------- */
.recovered-badge{
  position:fixed; left:20px; bottom:20px; z-index:45;
  display:flex; align-items:center; gap:13px;
  background:linear-gradient(135deg, var(--ink), var(--ink-soft));
  color:#fff; border:1px solid rgba(201,162,39,.40);
  border-radius:16px; padding:12px 20px 12px 13px;
  box-shadow:var(--shadow-lg);
  animation:badgeIn .6s .25s both;
}
@keyframes badgeIn{ from{ opacity:0; transform:translateY(18px) scale(.96); } to{ opacity:1; transform:none; } }
.recovered-badge__icon{
  width:44px; height:44px; border-radius:12px; flex:0 0 auto; display:grid; place-items:center;
  color:var(--ink); background:linear-gradient(135deg, var(--gold-bright), #a9861a);
}
.recovered-badge__icon svg{ width:23px; height:23px; }
.recovered-badge__body{ display:flex; flex-direction:column; line-height:1.15; }
.recovered-badge__label{
  font-size:.7rem; letter-spacing:.09em; text-transform:uppercase; color:#AFC0B5;
  display:flex; align-items:center; gap:.45rem; font-family:var(--font-head); font-weight:600;
}
.recovered-badge__amount{
  font-family:var(--font-head); font-weight:700; font-size:1.55rem; color:var(--gold-bright);
  font-variant-numeric:tabular-nums; letter-spacing:-.01em;
}
.live-dot{ width:8px; height:8px; border-radius:50%; background:#3ad07f; animation:livePulse 2s infinite; }
@keyframes livePulse{
  0%{ box-shadow:0 0 0 0 rgba(58,208,127,.55); }
  70%{ box-shadow:0 0 0 8px rgba(58,208,127,0); }
  100%{ box-shadow:0 0 0 0 rgba(58,208,127,0); }
}
@media (max-width:560px){
  .recovered-badge{ left:12px; bottom:12px; gap:10px; padding:9px 15px 9px 10px; border-radius:14px; }
  .recovered-badge__icon{ width:38px; height:38px; }
  .recovered-badge__amount{ font-size:1.28rem; }
  .recovered-badge__label{ font-size:.64rem; }
}
@media (prefers-reduced-motion:reduce){ .recovered-badge{ animation:none; } .live-dot{ animation:none; } }

/* ------------------------------ Animations ------------------------------ */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(16px);} to{ opacity:1; transform:translateY(0);} }
/* Content is visible by default; only hidden pre-animation when JS is active */
.reveal{ transition:opacity .6s ease, transform .6s ease; }
html.js .reveal{ opacity:0; transform:translateY(24px); }
html.js .reveal.in{ opacity:1; transform:none; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width:1080px){
  .hero__inner{ grid-template-columns:1fr; }
  .hero__card{ display:none; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .footer__main{ grid-template-columns:1fr 1fr; }
}
@media (max-width:880px){
  .about,.faq,.contact-layout{ grid-template-columns:1fr; }
  .counters{ grid-template-columns:1fr 1fr; gap:34px; }
  .counter:not(:last-child)::after{ display:none; }
  .topbar{ display:none; }
  .nav{
    position:fixed; inset:0 0 0 auto; width:min(84vw,320px); background:var(--surface);
    flex-direction:column; align-items:stretch; gap:.2rem; padding:88px 22px 22px;
    box-shadow:var(--shadow-lg); transform:translateX(100%); transition:transform .28s ease; z-index:55;
  }
  .nav.open{ transform:translateX(0); }
  .nav a{ padding:.9rem 1rem; border-radius:12px; font-size:1.05rem; }
  .nav a::after{ display:none; }
  .nav a:hover,.nav a.active{ background:var(--paper-2); }
  .nav-toggle{ display:inline-flex; }
  .header__cta.btn{ display:none; }
  body.nav-open{ overflow:hidden; }
  .nav-backdrop{ position:fixed; inset:0; background:rgba(12,26,38,.5); opacity:0; visibility:hidden; transition:opacity .25s ease; z-index:54; }
  .nav-backdrop.show{ opacity:1; visibility:visible; }
}
@media (max-width:560px){
  .grid-4,.grid-3,.grid-2,.form-row{ grid-template-columns:1fr; }
  .counters{ grid-template-columns:1fr 1fr; }
  .slide__actions{ flex-direction:column; align-items:flex-start; }
  .footer__main{ grid-template-columns:1fr; }
  .footer__cta .container{ flex-direction:column; align-items:flex-start; }
  .about__badge{ position:static; margin-top:16px; display:inline-flex; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
