/* ============================================================
   GRUPO ZENIT — Design System (official brand)
   Type: Funnel Display · Palette: 4 greens · "Creating what's next."
   ============================================================ */

:root {
  /* ---- Brand palette (from Manual de Marca) ---- */
  --ink:        #1f221b;   /* principal */
  --ink-2:      #262a20;
  --ink-3:      #31362a;
  --olive:      #4a4d3c;
  --sage:       #868364;
  --sage-2:     #a4a081;   /* lighter sage for text/accents on dark */
  --teal:       #1b5b64;
  --teal-2:     #2c8693;   /* brighter petrol for links/accents on dark */

  --line:       rgba(244,244,235,.12);
  --line-soft:  rgba(244,244,235,.07);
  --line-ink:   rgba(31,34,27,.14);

  --paper:      #FFFFFF;
  --paper-2:    #F2F2EC;   /* warm off-white alt */
  --paper-3:    #E8E8DF;

  /* ---- Text ---- */
  --t-hi:       #F4F4EC;
  --t-mid:      rgba(244,244,236,.70);
  --t-low:      rgba(244,244,236,.46);
  --t-ink-hi:   #1f221b;
  --t-ink-mid:  rgba(31,34,27,.66);
  --t-ink-low:  rgba(31,34,27,.44);

  --accent:     var(--teal);
  --accent-2:   var(--teal-2);
  --accent-ink: #F4F4EC;

  /* ---- Type ---- */
  --font: "Funnel Display", system-ui, sans-serif;
  --font-display: "Funnel Display", system-ui, sans-serif;
  --font-sans: "Funnel Display", system-ui, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 68px);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--t-hi);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: #fff; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.0; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 152px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.panel-light .eyebrow { color: var(--teal); }

.display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6.6vw, 96px); line-height: .98; letter-spacing: -0.035em;
}
.h2 { font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -0.03em; line-height: 1.02; }
.lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--t-mid); line-height: 1.6; max-width: 60ch; text-wrap: pretty; }
.panel-light .lead { color: var(--t-ink-mid); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 100px; border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, box-shadow .35s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #F4F4EC; }
.btn-primary:hover { transform: translateY(-2px); background: var(--teal-2); box-shadow: 0 16px 38px -12px rgba(27,91,100,.6); }
.btn-ghost { border-color: var(--line); color: var(--t-hi); background: rgba(244,244,236,.02); }
.btn-ghost:hover { border-color: rgba(244,244,236,.42); background: rgba(244,244,236,.06); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #F4F4EC; }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-3); }
.panel-light .btn-ghost { border-color: var(--line-ink); color: var(--t-ink-hi); background: transparent; }
.panel-light .btn-ghost:hover { border-color: var(--ink); background: rgba(31,34,27,.04); }

/* ---------- Isotipo lockup ---------- */
.iso { display: block; }
.lockup { display: inline-flex; align-items: center; gap: 11px; }
.lockup .iso { width: 34px; height: 34px; flex: none; }
.lockup .wm { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: .92; letter-spacing: -0.02em; }
.lockup .wm span { display: block; }
.brand-lockup { gap: 0; line-height: 0; }
.brand-logo {
  display: block; width: auto; height: 38px; max-width: 154px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .9;
}

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(31,34,27,.85); backdrop-filter: blur(18px) saturate(150%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.nav-logo .brand-logo { height: 38px; max-width: 154px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--t-mid); padding: 9px 11px; border-radius: 8px; letter-spacing: -0.01em; transition: color .25s, background .25s; white-space: nowrap; }
.nav-links a:hover { color: var(--t-hi); background: rgba(244,244,236,.06); }
.nav-links a.active { color: var(--t-hi); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: var(--t-hi); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

.nav-drawer { position: fixed; inset: 0; z-index: 99; background: var(--ink); padding: 96px var(--gutter) 40px; display: none; flex-direction: column; gap: 2px; }
.nav-drawer.open { display: flex; }
.nav-drawer a { font-family: var(--font-display); font-size: 26px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line-soft); color: var(--t-hi); }

@media (max-width: 1120px) { .nav-links { display: none; } .nav-toggle { display: inline-flex; } .nav-cta .btn { display: none; } }

/* ---------- Footer ---------- */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 92px) 36px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-brand .lockup .iso { width: 40px; height: 40px; }
.foot-brand .lockup .wm { font-size: 23px; color: var(--t-hi); }
.foot-brand .brand-logo { height: 46px; max-width: 174px; }
.foot-slogan { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-top: 22px; color: var(--t-hi); }
.foot-slogan b { color: var(--sage-2); font-weight: 700; }
.foot-tag { color: var(--t-mid); max-width: 38ch; margin-top: 14px; font-size: 15px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 24px; }
.foot-legal a { font-size: 14px; color: var(--t-low); transition: color .25s; }
.foot-legal a:hover { color: var(--t-hi); }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
.foot-coln h5 { font-family: var(--font); font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--t-low); margin: 0 0 14px; }
.foot-city { margin-bottom: 15px; }
.foot-city b { display: block; font-size: 15px; color: var(--t-hi); font-weight: 600; }
.foot-city span { font-size: 14px; color: var(--t-mid); }
.foot-city a { font-size: 15px; color: var(--t-mid); transition: color .25s; }
.foot-city a:hover { color: var(--t-hi); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 30px; flex-wrap: wrap; }
.foot-bottom small { color: var(--t-low); font-size: 13.5px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s; color: var(--t-mid); }
.foot-social a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); color: #fff; }
.foot-social svg { width: 17px; height: 17px; }
.foot-email { font-size: 15px; color: var(--t-mid); margin-top: 12px; }
.foot-email a { color: var(--sage-2); }
@media (max-width: 880px){ .foot-top { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px){ .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Chips / panels ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line); color: var(--t-mid); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.panel-light { background: var(--paper); color: var(--t-ink-hi); }
.panel-light .chip { border-color: var(--line-ink); color: var(--t-ink-mid); }
.text-accent { color: var(--sage-2); }
.panel-light .text-accent { color: var(--teal); }

/* ============================================================
   SERVICE PAGE COMPONENTS (shared by the 7 division pages)
   Set page accent with body style="--accent:…; --accent-2:…"
   ============================================================ */

/* ---- Hero ---- */
.svc-hero { position: relative; overflow: hidden; padding: 150px 0 clamp(64px,9vw,110px); background: var(--ink); }
.svc-hero .wrap { position: relative; z-index: 2; }
.svc-hero-iso { position: absolute; z-index: 0; top: 50%; right: -10vw; transform: translateY(-50%); width: min(70vh, 680px); opacity: .55; pointer-events: none; }
.svc-hero-iso circle { fill: color-mix(in oklab, var(--accent) 26%, var(--ink)); }
.svc-hero-iso path { fill: color-mix(in oklab, var(--accent) 40%, var(--ink)); }
.svc-hero h1 { font-size: clamp(40px, 6.4vw, 92px); max-width: 17ch; font-weight: 700; line-height: .98; margin-top: 22px; text-wrap: balance; }
.svc-hero .lead { margin-top: 24px; }
.svc-hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.svc-kicker { display:flex; align-items:center; gap: 14px; flex-wrap: wrap; }

/* ---- Tourism page real imagery ---- */
.tourism-hero { isolation: isolate; background: var(--ink); }
.tourism-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(31,34,27,.94) 0%, rgba(31,34,27,.72) 42%, rgba(31,34,27,.16) 100%),
    linear-gradient(180deg, rgba(31,34,27,.18) 0%, rgba(31,34,27,.78) 100%),
    url("turismo/gal4.JPG") center / cover no-repeat;
  transform: scale(1.02);
}
.tourism-hero .wrap { max-width: 1360px; }
.tourism-logo {
  width: clamp(190px, 18vw, 290px);
  height: auto;
  background: rgba(244,244,236,.94);
  border: 1px solid rgba(244,244,236,.26);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  box-shadow: 0 18px 48px -28px rgba(0,0,0,.72);
}
.tourism-hero .svc-kicker { margin-top: clamp(22px, 3vh, 36px); }
.tourism-hero .lead { color: rgba(244,244,236,.82); }
.tourism-feature-photo { aspect-ratio: 16 / 11; border-color: rgba(244,244,236,.16); }
.tourism-feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,34,27,0) 48%, rgba(31,34,27,.34) 100%);
  pointer-events: none;
}
.tourism-gallery { display: grid; grid-template-columns: 1fr .86fr .86fr; grid-template-rows: repeat(2, minmax(150px, 24vh)); gap: 14px; margin-top: 38px; }
.tourism-shot { position: relative; overflow: hidden; margin: 0; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--ink-2); min-height: 0; }
.tourism-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tourism-shot:hover img { transform: scale(1.05); }
.tourism-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,34,27,.02) 36%, rgba(31,34,27,.76) 100%); pointer-events: none; }
.tourism-shot figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: var(--t-hi); font-size: 14px; font-weight: 600; line-height: 1.25; text-shadow: 0 2px 18px rgba(0,0,0,.42); }
.tourism-shot-wide { grid-column: 1 / 3; }
.tourism-shot-tall { grid-column: 3; grid-row: 1 / 3; }

@media (min-width: 861px) {
  html.slides .svc-hero { padding-block: clamp(104px, 15vh, 150px) clamp(46px, 8vh, 90px); }
  html.slides .svc-hero h1 { font-size: clamp(34px, 9vh, 76px); margin-top: clamp(12px, 1.8vh, 22px); }
  html.slides .svc-hero .lead { margin-top: clamp(12px, 2vh, 24px); font-size: clamp(15px, 2.2vh, 20px); }
  html.slides .svc-hero-cta { margin-top: clamp(18px, 3vh, 34px); }
  html.slides .tourism-gallery { margin-top: clamp(16px, 2.2vh, 34px); grid-template-rows: repeat(2, minmax(116px, 23vh)); }
  html.slides .tourism-logo { width: clamp(168px, 16vh, 250px); padding: 10px 14px; }
  html.slides .tourism-hero .svc-kicker { margin-top: clamp(14px, 2vh, 28px); }
}
@media (max-width: 860px) {
  .tourism-hero-bg {
    background: linear-gradient(180deg, rgba(31,34,27,.82) 0%, rgba(31,34,27,.86) 62%, rgba(31,34,27,.94) 100%),
      url("turismo/gal4.JPG") center / cover no-repeat;
  }
  .tourism-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .tourism-shot,
  .tourism-shot-wide,
  .tourism-shot-tall { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 11; }
  .tourism-shot-tall { aspect-ratio: 4 / 5; }
}

/* ---- Sub-brand cards ("Nuestras Empresas") ---- */
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 50px; }
.bcard { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--ink-2); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; transition: transform .5s var(--ease), border-color .5s; }
.bcard .ph { position: absolute; inset: 0; z-index: -2; background: center/cover no-repeat; transform: scale(1.03); transition: transform .8s var(--ease); }
.bcard::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(31,34,27,.15) 0%, rgba(31,34,27,.35) 45%, rgba(31,34,27,.92) 100%); }
.bcard:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--accent) 55%, transparent); }
.bcard:hover .ph { transform: scale(1.1); }
.bcard .tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.bcard h3 { font-size: 25px; margin: 10px 0 8px; }
.bcard p { color: var(--t-mid); font-size: 14.5px; line-height: 1.5; }
.bcard .arrow { display:inline-flex; align-items:center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--t-hi); }
.bcard .arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.bcard:hover .arrow svg { transform: translateX(4px); }

/* ---- Feature row (alternating) ---- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: center; padding-block: clamp(40px,6vw,72px); }
.feature.flip .feature-media { order: -1; }
.feature-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3.2; border: 1px solid var(--line); background: var(--ink-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.feature h2 { font-size: clamp(28px,3.6vw,48px); margin: 14px 0 18px; letter-spacing: -.03em; }
.feature p { color: var(--t-mid); font-size: 16.5px; line-height: 1.62; max-width: 52ch; }
.feature .mini { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 24px; }
.feature .mini span { font-size: 13.5px; font-weight: 500; padding: 8px 15px; border-radius: 100px; border: 1px solid var(--line); color: var(--t-mid); }
.panel-light .feature p { color: var(--t-ink-mid); }
.panel-light .feature .mini span { border-color: var(--line-ink); color: var(--t-ink-mid); }
.panel-light .feature-media { border-color: var(--line-ink); background: var(--paper-2); }
@media (max-width: 820px){ .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .feature-media { order: 0; } }

/* ---- Branded geometric media tile (isotipo as imagery, per Manual) ---- */
.media-geo { position: relative; display: grid; place-items: center; background: linear-gradient(140deg, color-mix(in oklab, var(--accent) 26%, var(--ink-2)), var(--ink-2) 72%); }
.media-geo svg { width: 56%; opacity: .92; }
.media-geo svg circle { fill: color-mix(in oklab, var(--accent) 40%, var(--ink-2)); }
.media-geo svg path { fill: color-mix(in oklab, var(--accent) 64%, var(--ink-2)); }
.media-geo::after { content:""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(244,244,236,.07) 60%, transparent 82%); }
.bcard .media-geo { position: absolute; inset: 0; z-index: -2; }
.bcard .media-geo svg { width: 64%; }

/* ---- Results band ---- */
.results { background: var(--ink-2); border-block: 1px solid var(--line); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); }
.rstat { padding: clamp(34px,5vw,56px) var(--gutter); border-left: 1px solid var(--line); }
.rstat:first-child { border-left: 0; }
.rstat b { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px,5vw,68px); letter-spacing: -.03em; display:block; line-height: 1; color: var(--t-hi); }
.rstat span { color: var(--t-mid); font-size: 14.5px; margin-top: 12px; display:block; max-width: 24ch; }
@media (max-width: 680px){ .rstat { border-left: 0; border-top: 1px solid var(--line); } .rstat:first-child{ border-top: 0; } }

/* ---- Big quote / closing ---- */
.quote { text-align: center; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px,4vw,52px); letter-spacing: -.03em; line-height: 1.08; max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.quote .by { margin-top: 26px; color: var(--accent-2); font-weight: 600; letter-spacing: .04em; }

/* ---- Service list (chips of offerings) ---- */
.svc-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 14px; margin-top: 48px; }
.svc-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; background: var(--ink-2); transition: transform .4s var(--ease), border-color .4s; }
.svc-item:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 50%, transparent); }
.svc-item .n { font-family: var(--font-display); font-weight: 700; color: var(--accent-2); font-size: 14px; letter-spacing: .08em; }
.svc-item h4 { font-size: 20px; margin: 14px 0 8px; }
.svc-item p { color: var(--t-mid); font-size: 14.5px; line-height: 1.5; }
.panel-light .svc-item { background: var(--paper-2); border-color: var(--line-ink); }
.panel-light .svc-item p { color: var(--t-ink-mid); }
.panel-light .svc-item .n { color: var(--teal); }
/* ---- Brand showcase grid (lifestyle tiles w/ logo baked in) ---- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 44px; }
.brand-tile { position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--ink-2); }
.brand-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.brand-tile:hover img { transform: scale(1.06); }
.brand-tile::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(244,244,236,.04); border-radius: inherit; }
.panel-light .brand-tile { border-color: var(--line-ink); }
/* ---- Product cards ---- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 44px; }
.pcard { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--accent) 55%, transparent); }
.pcard .pimg { aspect-ratio: 1/1; background: #f4f4ec; display: grid; place-items: center; }
.pcard .pimg img { width: 100%; height: 100%; object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.pcard .pbody { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 5px; }
.pcard .pbrand { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.pcard .pname { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--t-hi); }
.pcard .pprice { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--t-hi); margin-top: 6px; }
.panel-light .pcard { background: var(--paper-2); border-color: var(--line-ink); }
.panel-light .pcard .pname, .panel-light .pcard .pprice { color: var(--ink); }
/* real-asset icon chip (contains a brand PNG icon over a dark disc) */
.svc-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line); margin-bottom: 16px; }
.svc-ico img { width: 30px; height: 30px; object-fit: contain; }
.panel-light .svc-ico { background: #1f221b; border-color: transparent; }
.svc-item.has-ico .n { display: none; }
/* world map / map screenshot sit on their own contained surface */
.feature-media.media-photo { aspect-ratio: 16/11; background: var(--ink-2); display: grid; place-items: center; }
.feature-media.media-photo img { object-fit: contain; padding: 8px; }
.feature-media.media-map img { object-fit: cover; padding: 0; }
.panel-light .results { background: var(--paper-2); }

/* ---- CTA (shared) ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(48px,7vw,100px); text-align: center; background: var(--ink-2); border: 1px solid var(--line); }
.cta-band .wm { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 420px; opacity: .5; z-index: 0; pointer-events:none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(30px,4.6vw,62px); }
.cta-band .lead { margin: 20px auto 32px; text-align: center; }
.cta-band .slogan { font-family: var(--font-display); font-weight: 600; color: var(--accent-2); letter-spacing:.02em; margin-bottom: 8px; }
.cta-band .slogan b { color: var(--t-hi); font-weight: 700; }
.cta-band .wm circle { fill: var(--ink-3); }
.cta-band .wm path { fill: color-mix(in oklab, var(--accent) 34%, var(--ink-2)); }

/* ============================================================
   PRESENTATION MODE — full-section scroll-snap ("slides")
   Activated by shared.js (adds .slides to <html>). Each top-level
   <section> becomes a viewport-tall slide that snaps on scroll.
   ============================================================ */
html.slides { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
html.slides body > section,
html.slides body > .foot { scroll-snap-align: start; scroll-snap-stop: always; }
html.slides body > section {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}
/* hero keeps its own internal alignment but still fills a slide */
html.slides body > .hero,
html.slides body > .svc-hero { min-height: 100svh; }

/* ---- compact content so each slide fits the viewport (no inner mini-scroll) ---- */
@media (min-width: 861px) {
  /* section chrome + headings scale with viewport height */
  html.slides body > section.section { padding-block: clamp(26px, 5vh, 80px); }
  html.slides .section .h2,
  html.slides .div-head h2 { font-size: clamp(22px, 4vh, 52px); line-height: 1.04; }

  /* HERO — stats band is now in-flow; type/margins shrink with height */
  html.slides .hero-inner { padding-block: clamp(46px, 8vh, 96px) clamp(14px, 2.2vh, 32px); }
  html.slides .hero h1 { font-size: clamp(30px, 6.2vh, 92px); margin-top: clamp(10px, 1.8vh, 22px); }
  html.slides .hero .lead { font-size: clamp(14px, 2vh, 23px); margin-top: clamp(10px, 2vh, 26px); }
  html.slides .hero-meta { margin-bottom: clamp(10px, 2vh, 28px); }
  html.slides .hero-cta { margin-top: clamp(14px, 2.6vh, 38px); }
  html.slides .hero-slogan { margin-top: clamp(12px, 2.2vh, 44px); }
  html.slides .stat { padding-block: clamp(11px, 2.2vh, 40px); }

  /* DIVISIONS — cards size to their content (no tall floor) */
  html.slides .div-head { margin-bottom: clamp(10px, 2.6vh, 44px); }
  html.slides .div-grid { gap: clamp(9px, 1.2vw, 16px); }
  html.slides .dcard { min-height: 0; padding: clamp(13px, 2.1vh, 28px); }
  html.slides .dcard h3 { font-size: clamp(19px, 2.1vh, 26px); margin-bottom: 6px; }
  html.slides .dcard p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html.slides .dcard .brands { margin-top: clamp(8px, 1.4vh, 15px); }
  html.slides .dcard .num { top: clamp(13px, 2vh, 24px); }
  html.slides .dcard .go { top: clamp(13px, 2vh, 22px); width: 34px; height: 34px; }

  /* MANIFESTO */
  html.slides .mani .big { font-size: clamp(19px, 2.5vh, 33px); }
  html.slides .mvals { margin-top: clamp(16px, 2.4vh, 32px); }
  html.slides .mval { padding-block: clamp(12px, 1.8vh, 22px); }

  /* PRESENCE + division/brand grids on other pages */
  html.slides .brands-grid { margin-top: clamp(18px, 2.6vh, 50px); }
  html.slides .bcard { min-height: clamp(140px, 21vh, 300px); }
  html.slides .svc-list { margin-top: clamp(18px, 2.6vh, 48px); }
  html.slides .brand-grid,
  html.slides .feat-strip,
  html.slides .pres,
  html.slides .results-grid,
  html.slides .ncat-grid { margin-top: clamp(16px, 2.4vh, 44px); gap: clamp(10px, 1.4vw, 16px); }

  /* CTA */
  html.slides .cta { padding: clamp(28px, 4vh, 72px); margin-top: clamp(24px, 3.4vh, 52px) !important; }
  html.slides .cta h2 { font-size: clamp(24px, 4vh, 56px); }
  html.slides .cta .lead { margin-block: clamp(10px, 1.8vh, 22px) clamp(16px, 2.6vh, 34px); }
  html.slides .cta .wm { width: clamp(200px, 32vh, 420px); }
  html.slides .pcard { padding: clamp(16px, 2.2vh, 28px); }
}

/* gentle per-slide entrance — content lifts as the slide settles in */
html.slides body > section > .wrap { transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  html.slides body > section:not(.is-active) > .wrap { opacity: .0; transform: translateY(26px); }
  html.slides body > section.is-active > .wrap { opacity: 1; transform: none; }
}

/* in slides mode the per-slide .wrap entrance drives motion — neutralize the
   scroll-reveal so children don't double-animate or stay hidden */
html.slides .reveal { opacity: 1 !important; transform: none !important; }

/* slide progress dots */
.slide-nav { position: fixed; right: clamp(12px, 1.6vw, 28px); top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: 13px; }
.slide-nav button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(160,160,150,.6); background: transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.slide-nav button:hover { border-color: var(--t-hi); transform: scale(1.2); }
.slide-nav button.active { background: var(--accent-2, var(--teal-2)); border-color: var(--accent-2, var(--teal-2)); transform: scale(1.35); }
.slide-nav.on-light button { border-color: rgba(31,34,27,.35); }
.slide-nav.on-light button:hover { border-color: var(--ink); }
.slide-nav.on-light button.active { background: var(--teal); border-color: var(--teal); }

/* scroll hint on the first slide */
.slide-hint { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--t-mid); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; transition: opacity .5s; }
.slide-hint svg { width: 20px; height: 20px; animation: hintBob 1.8s var(--ease) infinite; }
@keyframes hintBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.slide-hint.hide { opacity: 0; }
.slide-nav.on-light ~ .slide-hint, .slide-hint.on-light { color: var(--t-ink-mid); }

@media (max-width: 860px) {
  html.slides { scroll-snap-type: none; }
  html.slides body > section { min-height: 0; display: block; }
  html.slides body > section > .wrap { opacity: 1 !important; transform: none !important; }
  .slide-nav, .slide-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.slides { scroll-snap-type: none; }
}
