/* =====================================================================
   5B Group — "Clean White + Premium" design system
   Headings + Body/UI: Poppins
   Theme-driven tokens (--green, --green-2, --navy, --navy-2, --ice) are
   overridden at runtime by the admin theme panel — keep these names.
   ===================================================================== */

:root {
  /* Brand (overridable by admin theme) */
  --navy: #0a1f3c;
  --navy-2: #12305a;
  --green: #137a48;
  --green-2: #0f633b;
  --ice: #f6faf8;

  /* Premium static accents */
  --gold: #b88a2e;
  --gold-soft: #e9dcbd;

  /* Neutrals */
  --ink: #0c1c30;
  --body: #51606f;
  --muted: #7c8a98;
  --line: #e8edf1;
  --line-2: #dde5ea;
  --cream: #faf7f1;
  --white: #fff;

  /* Shape + depth */
  --r: 18px;
  --r-sm: 12px;
  --r-pill: 999px;
  --sh-sm: 0 2px 10px rgba(12, 28, 48, .05);
  --sh: 0 18px 40px rgba(12, 28, 48, .09);
  --sh-lg: 0 34px 70px rgba(12, 28, 48, .14);

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 44px);
  --section: clamp(44px, 4.5vw, 76px);

  --font-display: 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --font-sans: 'Poppins', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.015em;
}
p { margin: 0 0 1rem; }
a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-2); }
img { max-width: 100%; display: block; }
strong { color: var(--ink); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* word wrap safety */
h1, h2, h3, p, a, span, strong, small, li { overflow-wrap: break-word; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16, .84, .44, 1), transform .8s cubic-bezier(.16, .84, .44, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .8;
}
.eyebrow.is-light { color: var(--gold-soft); }
.eyebrow.is-light::before { background: var(--gold-soft); }
.eyebrow.is-centered { justify-content: center; }

.section-title { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--body); }
.section-head { max-width: 720px; }
.section-head.is-centered { margin: 0 auto; text-align: center; }
.section-head .section-title { margin-bottom: .35em; }
.section-head p { margin: 0; color: var(--muted); }

.section { padding: var(--section) 0; }

/* serif emphasis */
em.accent, .accent { color: var(--green); font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 14px 26px rgba(19, 122, 72, .26); }
.btn-primary:hover { background: var(--green-2); color: #fff; transform: translateY(-3px); box-shadow: 0 20px 34px rgba(19, 122, 72, .32); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green);
}
.text-link .arrow { transition: transform .25s ease; }
.text-link:hover .arrow { transform: translateX(5px); }

/* ============================ HEADER ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 28, 48, .07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height .3s ease;
}
.site-header.scrolled .header-inner { height: 70px; }
/* logoCss from admin sets width/height on this selector — keep it */
.site-header .brand-logo { width: 190px; height: 52px; object-fit: contain; object-position: left center; transition: transform .3s ease; }
.brand:hover .brand-logo { transform: scale(1.02); }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.main-nav a {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  white-space: nowrap;
  padding: 6px 0;
}
.main-nav a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--green);
  transition: width .26s ease;
}
.main-nav a:not(.btn-nav):hover, .main-nav a.active:not(.btn-nav) { color: var(--green); }
.main-nav a:not(.btn-nav):hover::after, .main-nav a.active:not(.btn-nav)::after { width: 100%; }
.btn-nav {
  margin-left: 8px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(19, 122, 72, .24);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-nav::after { display: none; }
.btn-nav:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: 0 14px 26px rgba(19, 122, 72, .3); }
.nav-toggle, .nav-toggle-label { display: none; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(40px, 5vw, 72px);
  background:
    radial-gradient(60% 90% at 88% 8%, rgba(19, 122, 72, .07), transparent 60%),
    radial-gradient(50% 70% at 6% 90%, rgba(183, 138, 46, .08), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--white) 75%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 60, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 60, .025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: .4em;
}
.hero-copy h1 .accent { display: inline; }
.hero-copy .lede { margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 500;
  font-size: .9rem;
}
.hero-trust .dot {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(19, 122, 72, .12);
  color: var(--green);
  font-size: .7rem;
}

/* premium media frame (offset gold/green accent behind image) */
.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(19, 122, 72, .14), rgba(183, 138, 46, .14));
  z-index: 0;
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  object-fit: cover;
}
.hero-media img { height: clamp(340px, 46vw, 540px); }
.hero-badge {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 34px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 22px;
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: var(--sh);
}
.hero-badge .mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.hero-badge strong { display: block; color: var(--ink); font-size: .95rem; }
.hero-badge small { color: var(--muted); font-size: .8rem; }

/* ============================ PILLARS / capability strip ============================ */
.pillars { background: var(--white); border-bottom: 1px solid var(--line); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pillar {
  padding: 38px clamp(18px, 2.4vw, 34px);
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: 0; }
.pillar .ico {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--green);
  font-size: 1.4rem;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.pillar:hover .ico { transform: translateY(-4px); background: var(--green); color: #fff; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pillar p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ============================ SPLIT (intro / who) ============================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
}
.split.is-narrow-left { grid-template-columns: .9fr 1.1fr; }
.split-copy h2 { margin-bottom: .5em; }
.split-copy p { color: var(--body); }

/* checklist used in splits */
.checklist { display: grid; gap: 16px; margin-top: 26px; }
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.checklist .tick {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(19, 122, 72, .12);
  color: var(--green);
  font-size: .75rem;
  margin-top: 2px;
}
.checklist strong { display: block; color: var(--ink); }
.checklist span { color: var(--muted); font-size: .9rem; }

/* numbered feature panel (premium soft card) */
.stat-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.stat-panel div { background: #fff; padding: 30px clamp(18px, 2.4vw, 32px); }
.stat-panel .n { font-family: var(--font-display); font-size: 2.4rem; color: var(--green); line-height: 1; }
.stat-panel strong { display: block; margin-top: 10px; color: var(--ink); }
.stat-panel small { color: var(--muted); font-size: .85rem; }

/* ============================ CARD GRID (solutions) ============================ */
.band-soft { background: linear-gradient(180deg, var(--ice), var(--white)); }
.band-cream { background: var(--cream); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
/* checklist sitting inside a soft card */
.soft-card .checklist { margin-top: 20px; }
.soft-card .checklist span:not(.tick) { color: var(--muted); }
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .35s cubic-bezier(.16, .84, .44, 1), box-shadow .35s ease, border-color .35s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: rgba(19, 122, 72, .3);
}
.feature-card .thumb { overflow: hidden; height: 200px; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, .84, .44, 1); }
.feature-card:hover .thumb img { transform: scale(1.07); }
.feature-card .num {
  position: absolute;
  top: 16px; left: 16px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(10, 31, 60, .82);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.feature-card .body { padding: 26px 26px 28px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

/* simple (image-less) card */
.soft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--sh-sm);
  transition: transform .35s cubic-bezier(.16, .84, .44, 1), box-shadow .35s ease, border-color .35s ease;
}
.soft-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: rgba(19, 122, 72, .3); }
.soft-card .num-badge {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.soft-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.soft-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ============================ BANDS (tinted full-width) ============================ */
.band-navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 100% at 92% 0%, rgba(19, 122, 72, .3), transparent 55%),
    linear-gradient(135deg, #061429, var(--navy));
  color: #fff;
}
.band-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy p { color: rgba(255, 255, 255, .76); }
.band-navy .container { position: relative; z-index: 1; }

/* tag / pill grid (raw materials, industries) */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.tag {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 20px;
  border-radius: var(--r-sm);
  font-weight: 500;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, border-color .28s ease;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
/* light context */
.tag.on-light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--sh-sm);
}
.tag.on-light:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: rgba(19, 122, 72, .3); }
/* dark context */
.tag.on-dark {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}
.tag.on-dark::before { background: var(--gold-soft); }
.tag.on-dark:hover { transform: translateX(5px); background: rgba(255, 255, 255, .1); }

/* ============================ MATERIALS rich list (home) ============================ */
.def-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 48px;
  margin-top: 44px;
}
.def-grid div {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s ease;
}
.def-grid div:hover { border-color: var(--green); }
.def-grid .mk {
  grid-row: span 2;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}
.def-grid strong { color: var(--ink); font-size: .98rem; }
.def-grid p { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }

/* ============================ TIMELINE (process / journey) ============================ */
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 14px; bottom: 14px;
  width: 1px;
  background: linear-gradient(var(--green), var(--gold));
  opacity: .5;
}
.timeline > div {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 22px;
  align-items: start;
}
.timeline .step {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.timeline > div:hover .step { transform: scale(1.06); background: var(--green); color: #fff; }
.timeline strong { color: var(--ink); display: block; margin-top: 6px; }
.timeline p { grid-column: 2; margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

/* ============================ SUBHERO (inner page header) ============================ */
.subhero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5vw, 72px) 0;
  background:
    radial-gradient(50% 80% at 90% 10%, rgba(19, 122, 72, .07), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--white));
  border-bottom: 1px solid var(--line);
}
.subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 31, 60, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 60, .025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 78%);
  mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 78%);
}
.subhero .container { position: relative; z-index: 1; }
.subhero-inner { max-width: 760px; }
.subhero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .35em; }
.subhero .lede { margin: 0; max-width: 640px; }

/* ============================ GROUP units (businesses) ============================ */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

/* feature panel (businesses intro) */
.panel-navy {
  background: linear-gradient(160deg, var(--navy), #061429);
  color: #fff;
  border-radius: var(--r);
  padding: clamp(28px, 3.4vw, 44px);
}
.panel-navy h2 { color: #fff; }
.panel-navy p { color: rgba(255, 255, 255, .76); margin: 0; }
.panel-navy .eyebrow { color: var(--gold-soft); }
.panel-navy .eyebrow::before { background: var(--gold-soft); }

/* split where left is a sticky panel */
.overview-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }

/* mini list rows (structure list) */
.row-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); overflow: hidden; }
.row-list div { background: transparent; padding: 22px 24px; }
.row-list strong { display: block; color: var(--gold-soft); }
.row-list span { color: rgba(255, 255, 255, .74); font-size: .88rem; }

/* ============================ CTA band ============================ */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 120% at 85% 0%, rgba(183, 138, 46, .26), transparent 55%),
    linear-gradient(135deg, var(--green-2), var(--green));
  color: #fff;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(40px, 5vw, 66px) 0;
}
.cta h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cta p { color: rgba(255, 255, 255, .85); margin: 8px 0 0; }
.cta .btn-light { color: var(--green-2); }

/* ============================ CONTACT ============================ */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info h2 { margin-bottom: 8px; }
.office {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.office:first-of-type { border-top: 1px solid var(--line); }
.office h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--green); }
.office p { margin: 3px 0; color: var(--body); }
.office a { color: var(--body); }
.office a:hover { color: var(--green); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--sh);
}
.form-card h2 { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: .9rem; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ice);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(19, 122, 72, .12);
}
.alert { padding: 14px 18px; margin-bottom: 20px; border-radius: var(--r-sm); font-weight: 600; }
.alert-success { background: #e9f7ef; color: var(--green-2); border: 1px solid #bfe5cf; }
.alert-error { background: #fdecec; color: #9f1d1d; border: 1px solid #f1c1c1; }

/* ============================ FAQ ============================ */
.faq { display: grid; gap: 14px; max-width: 820px; margin: 40px auto 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 4px 24px;
  box-shadow: var(--sh-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green); font-size: 1.4rem; transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }

/* ============================ CLIENT MARQUEE ============================ */
.clients { padding: clamp(40px, 5vw, 70px) 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.clients:hover .logo-track { animation-play-state: paused; }
.logo-chip { display: grid; place-items: center; min-width: 130px; height: 56px; opacity: .65; transition: opacity .3s ease; }
.logo-chip:hover { opacity: 1; }
.logo-chip img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); transition: filter .3s ease; }
.logo-chip:hover img { filter: none; }
.logo-chip span { color: var(--muted); font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================ FOOTER ============================ */
.site-footer { background: #06152b; color: #c2cedb; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 76px) 0 40px;
}
.footer-brand .brand-logo-footer { width: 170px; height: auto; object-fit: contain; object-position: center; margin-bottom: 20px; background: #fff; padding: 12px 16px; border-radius: 12px; }
.footer-tag { color: var(--gold-soft); font-weight: 600; margin: 0 0 12px; }
.footer-about { color: #93a3b5; font-size: .9rem; max-width: 340px; margin: 0; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 1rem; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #adbac8; font-size: .9rem; }
.footer-col a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-col p { color: #93a3b5; font-size: .9rem; margin: 0 0 10px; }
.footer-contact a { color: #adbac8; }
.footer-contact a:hover { color: var(--gold-soft); }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #c2cedb;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.social a:hover { transform: translateY(-3px); background: var(--green); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom p, .footer-bottom a { margin: 0; color: #7f90a2; font-size: .82rem; }
.footer-bottom a:hover { color: #c2cedb; }

/* ============================ FLOATING BUTTONS ============================ */
.back-to-top, .whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  z-index: 70;
  box-shadow: var(--sh);
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
}
.back-to-top { right: 24px; background: var(--navy); opacity: 0; visibility: hidden; transform: translateY(12px); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-3px) scale(1.06); }
.whatsapp-bubble { left: 24px; background: #25d366; animation: wapulse 2.6s ease-in-out infinite; }
.whatsapp-bubble:hover { transform: translateY(-3px) scale(1.06); }
@keyframes wapulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 0 0 13px rgba(37, 211, 102, 0); }
}

/* ============================ REVEAL STAGGER ============================ */
.card-grid > .reveal:nth-child(2), .pillar-grid > .reveal:nth-child(2), .unit-grid > .reveal:nth-child(2), .tag-grid > .reveal:nth-child(2) { transition-delay: .08s; }
.card-grid > .reveal:nth-child(3), .pillar-grid > .reveal:nth-child(3), .unit-grid > .reveal:nth-child(3), .tag-grid > .reveal:nth-child(3) { transition-delay: .16s; }
.card-grid > .reveal:nth-child(4), .pillar-grid > .reveal:nth-child(4), .unit-grid > .reveal:nth-child(4), .tag-grid > .reveal:nth-child(4) { transition-delay: .24s; }
.unit-grid > .reveal:nth-child(5), .tag-grid > .reveal:nth-child(5) { transition-delay: .32s; }
.unit-grid > .reveal:nth-child(6), .tag-grid > .reveal:nth-child(6) { transition-delay: .4s; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(1), .pillar:nth-child(2) { border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; margin: -8px;
  }
  .nav-toggle-label span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh);
    transition: max-height .35s ease;
  }
  .nav-toggle:checked ~ .main-nav { max-height: 460px; }
  .main-nav a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .main-nav a:not(.btn-nav)::after { display: none; }
  .btn-nav { margin: 12px var(--gutter); justify-content: center; }

  .hero-grid, .split, .split.is-narrow-left, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: 14px; }
  .media-frame::before { inset: 16px -16px -16px 16px; }
  .def-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid.cols-3, .tag-grid, .def-grid, .unit-grid, .field-row, .stat-panel, .row-list { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: static; margin-top: 16px; }
  .media-frame::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
