/* =========================================================
   Altol Dominicana — Design system
   ========================================================= */
:root {
  --ink: #0a1238;
  --ink-2: #111c4e;
  --navy: #283891;        /* logo navy */
  --blue: #0f77bc;        /* logo blue */
  --teal: #14a89e;        /* logo teal */
  --green: #0b9444;       /* logo green */
  --lime: #8dc63f;
  --paper: #f4f6fa;
  --white: #fff;
  --text: #0e1533;
  --muted: #5a6382;
  --line: rgba(14, 21, 51, .1);
  --line-light: rgba(255, 255, 255, .14);

  --f-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.muted { opacity: .6; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); overflow: hidden; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: rgba(255,255,255,.8); }
.hero .eyebrow::before { display: none; }

.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); color: var(--ink); }
.h2 em { color: var(--navy); }
.h2--light { color: var(--white); }
.h2--light em { color: #9fe3c8; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, color .3s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: .88rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(11,148,68,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(11,148,68,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--glass {
  background: rgba(255,255,255,.1); color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,.18); }
.play-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; padding-left: 2px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--navy); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white);
  transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.topbar { border-bottom: 1px solid var(--line-light); font-size: .8rem; transition: height .35s var(--ease), opacity .3s; height: 38px; overflow: hidden; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 8px; opacity: .8; }
.topbar__msg .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(141,198,63,.25); }
.topbar__links { display: flex; gap: 24px; opacity: .85; }
.topbar__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.nav__logo { position: relative; display: block; width: 150px; flex-shrink: 0; }
.nav__logo img { width: 150px; height: auto; transition: opacity .35s; }
.nav__logo .logo--color { position: absolute; inset: 0; opacity: 0; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu > li > a, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  transition: background .25s;
}
.nav__menu > li > a:hover, .nav__trigger:hover, .has-mega.open .nav__trigger { background: rgba(255,255,255,.12); }
.nav__trigger svg { transition: transform .3s; }
.has-mega.open .nav__trigger svg { transform: rotate(180deg); }
.nav__menu-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(760px, 90vw);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px;
  padding: 10px; border-radius: var(--r);
  background: var(--white); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(10,18,56,.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 6px; }
.mega__grid a { display: flex; gap: 12px; align-items: baseline; padding: 12px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; line-height: 1.3; transition: background .2s, color .2s; }
.mega__grid a .mono { color: var(--teal); font-size: .68rem; }
.mega__grid a:hover { background: var(--paper); color: var(--navy); }
.mega__feature { position: relative; border-radius: 12px; overflow: hidden; min-height: 220px; }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,56,.85), transparent 60%); }
.mega__feature span { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--white); font-weight: 500; font-size: .92rem; }
.mega__feature:hover img { transform: scale(1.05); }

/* scrolled header */
.header.is-scrolled { background: rgba(255,255,255,.88); color: var(--text); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .topbar { height: 0; opacity: 0; border: 0; }
.header.is-scrolled .nav { height: 68px; }
.header.is-scrolled .logo--white { opacity: 0; }
.header.is-scrolled .logo--color { opacity: 1; }
.header.is-scrolled .nav__menu > li > a:hover,
.header.is-scrolled .nav__trigger:hover,
.header.is-scrolled .has-mega.open .nav__trigger { background: var(--paper); }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; border: 1px solid currentColor; opacity: .9; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 720px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 30s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.14); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(10,18,56,.94) 0%, rgba(10,18,56,.78) 38%, rgba(10,18,56,.25) 75%, rgba(10,18,56,.35) 100%),
    linear-gradient(0deg, rgba(10,18,56,.95) 0%, rgba(10,18,56,0) 45%),
    linear-gradient(180deg, rgba(10,18,56,.6) 0%, rgba(10,18,56,0) 22%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 20% 60%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 60%, #000 10%, transparent 70%);
}
.hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 64px; }
.hero__title {
  font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.035em; line-height: .98;
  max-width: 13ch; margin-bottom: 28px;
}
.hero__title em { color: #a6ecd0; font-size: 1.04em; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; max-width: 54ch; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lime); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

.hero__readout { border-top: 1px solid var(--line-light); background: rgba(10,18,56,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.readout { display: grid; grid-template-columns: repeat(4, 1fr); }
.readout__item { padding: 22px 24px 24px; border-left: 1px solid var(--line-light); display: grid; gap: 2px; }
.readout__item:first-child { border-left: 0; padding-left: 0; }
.readout__item .mono { color: #8fd9bd; font-size: .68rem; }
.readout__item strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.readout__item small { color: rgba(255,255,255,.6); font-size: .82rem; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.intro__body { color: var(--muted); font-size: 1.06rem; }
.intro__body strong { color: var(--text); font-weight: 600; }
.intro__body .link-arrow { margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 0 0; display: grid; gap: 10px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--ink);
  background: linear-gradient(120deg, var(--navy), var(--blue) 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { color: var(--muted); font-size: .92rem; max-width: 22ch; }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(44px, 6vw, 72px); flex-wrap: wrap; }
.section-head__aside { max-width: 42ch; color: var(--muted); margin: 0; font-size: 1.02rem; }
.section-head--light .section-head__aside { color: rgba(255,255,255,.65); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 30px 60px -30px rgba(10,18,56,.35); }
.card__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,56,.25), transparent 50%); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 22px 22px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.card__num { color: var(--teal); margin-bottom: 10px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); letter-spacing: -.015em; }
.card p { color: var(--muted); font-size: .92rem; margin: 0 0 18px; line-height: 1.55; }
.card__go {
  margin-top: auto; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy);
  transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.card:hover .card__go { background: var(--navy); border-color: var(--navy); color: var(--white); transform: rotate(-45deg); }

/* ---------- Film ---------- */
.film { padding-top: clamp(80px, 10vw, 120px); padding-bottom: 0; }
.film + .sectors { padding-top: clamp(80px, 10vw, 130px); }
.film__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 7.4; min-height: 440px; background: var(--ink); isolation: isolate; }
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.film__frame:hover .film__poster { transform: scale(1.04); }
.film__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,18,56,.92) 0%, rgba(10,18,56,.55) 45%, rgba(10,18,56,.1) 100%); }
.film__content { position: absolute; left: clamp(28px, 5vw, 64px); bottom: clamp(28px, 5vw, 60px); max-width: 520px; }
.film__content .h2 { margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); font-size: .82rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(255,255,255,.06); }
.film__play {
  position: absolute; right: clamp(28px, 8vw, 120px); top: 50%; transform: translateY(-50%);
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center; padding-left: 6px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,.5);
  transition: transform .4s var(--ease);
}
.film__play:hover { transform: translateY(-50%) scale(1.07); }
.film__ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.film__time { position: absolute; right: 24px; bottom: 22px; color: rgba(255,255,255,.75); }

/* ---------- Sectors ---------- */
.sectors__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.sectors__intro { position: sticky; top: 110px; }
.sectors__intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; margin: 22px 0 32px; max-width: 44ch; }
.sectors__img { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 16 / 10; }
.sectors__img img { width: 100%; height: 100%; object-fit: cover; }
.sectors__img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); font-size: .66rem; backdrop-filter: blur(6px); }
.sector-list { border-top: 1px solid var(--line); counter-reset: s; }
.sector-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: padding .4s var(--ease);
}
.sector-list li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--green), var(--teal)); transition: width .6s var(--ease); }
.sector-list li:hover { padding-left: 12px; }
.sector-list li:hover::before { width: 100%; }
.sector-list .mono { color: var(--teal); }
.sector-list h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); margin-bottom: 6px; transition: color .3s; }
.sector-list li:hover h3 { color: var(--navy); }
.sector-list p { margin: 0; color: var(--muted); font-size: .96rem; max-width: 54ch; }

/* ---------- Quality ---------- */
.quality__glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,168,158,.22), transparent 60%);
  pointer-events: none;
}
.quality::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.quality .container { position: relative; }
.certs { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.cert {
  position: relative; padding: 28px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid var(--line-light);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.cert:hover { border-color: rgba(166,236,208,.45); transform: translateY(-4px); }
.cert img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: var(--white); padding: 6px; margin-bottom: 26px; }
.cert__tag { display: block; color: #8fd9bd; font-size: .68rem; margin-bottom: 8px; }
.cert h3 { font-size: 1.2rem; margin-bottom: 10px; }
.cert p { margin: 0; color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.55; }
.cert--feature {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px;
  background: linear-gradient(160deg, rgba(20,168,158,.35), rgba(40,56,145,.35) 55%, rgba(255,255,255,.04));
  overflow: hidden;
}
.cert--feature h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.03em; }
.cert--feature p { font-size: 1.02rem; max-width: 30ch; color: rgba(255,255,255,.8); }
.cert__seal { position: absolute; top: 28px; right: 28px; width: 140px; height: 140px; display: grid; place-items: center; }
.cert__seal svg { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.cert__seal text { font-family: var(--f-mono); font-size: 8.4px; letter-spacing: .22em; fill: rgba(255,255,255,.75); }
.cert__seal span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
@keyframes spin { to { transform: rotate(360deg); } }

.values { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.values__label { color: rgba(255,255,255,.55); }
.values ul { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.values li { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--white); }
.values li:not(:last-child)::after { content: "·"; margin-left: 10px; color: #8fd9bd; font-style: normal; }

/* ---------- Clients ---------- */
.clients { padding-bottom: clamp(80px, 10vw, 120px); }
.marquee { overflow: hidden; padding: 10px 0 70px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 54px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.testimonials {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px 48px;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--r-lg);
  background: var(--paper);
}
.testimonials__quote { color: var(--teal); grid-row: span 2; }
.testimonials__viewport { display: grid; }
.tst { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
.tst.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease) .25s, transform .7s var(--ease) .25s, visibility 0s .25s; }
.tst blockquote { margin: 0 0 28px; font-family: var(--f-display); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; color: var(--ink); max-width: 48ch; }
.tst figcaption { display: flex; flex-direction: column; gap: 2px; }
.tst figcaption strong { font-weight: 600; }
.tst figcaption span { color: var(--muted); font-size: .92rem; }
.testimonials__nav { display: flex; align-items: center; gap: 18px; }
.circle-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; background: var(--white); }
.circle-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.testimonials__dots { display: flex; gap: 8px; }
.testimonials__dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(14,21,51,.2); transition: width .4s var(--ease), background .3s; }
.testimonials__dots button.is-active { width: 28px; background: var(--navy); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.post {
  display: flex; flex-direction: column; padding: 28px; border-radius: var(--r);
  background: var(--white); box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-height: 210px;
}
.post:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 24px 50px -30px rgba(10,18,56,.35); }
.post__meta { color: var(--teal); margin-bottom: 14px; display: block; }
.post h3 { font-size: 1.25rem; color: var(--ink); line-height: 1.25; }
.post__go { margin-top: auto; padding-top: 20px; color: var(--navy); font-weight: 500; font-size: .92rem; }
.post--lead { grid-row: span 2; padding: 0; overflow: hidden; }
.post--lead figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.post--lead img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post--lead:hover img { transform: scale(1.05); }
.post--lead .post__body { padding: 28px 30px 32px; }
.post--lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.post--lead p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; margin: 22px 0 34px; max-width: 40ch; }
.contact__list { margin: 0 0 30px; border-top: 1px solid var(--line); }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { color: var(--muted); padding-top: 3px; }
.contact__list dd { margin: 0; font-weight: 500; }
.contact__list a:hover { color: var(--navy); }
.form {
  position: relative; display: grid; gap: 18px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(10,18,56,.3);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .84rem; font-weight: 500; color: var(--text); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .98rem; color: var(--text);
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235a6382' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(20,168,158,.14); }
.form .is-invalid { border-color: #d94a4a; box-shadow: 0 0 0 4px rgba(217,74,74,.12); }
.form__note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form__success { position: absolute; inset: 0; border-radius: inherit; display: grid; place-content: center; text-align: center; gap: 6px; padding: 40px; background: var(--white); font-size: 1.05rem; color: var(--muted); }
.form__success[hidden] { display: none; }
.form__success strong { font-family: var(--f-display); font-size: 2rem; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 80px 0 32px; font-size: .92rem; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: -200px; bottom: -400px; width: 800px; height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(11,148,68,.18), transparent 60%); pointer-events: none; }
.footer .container { position: relative; }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer__brand p { font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--white); margin-bottom: 26px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); transition: background .3s, border-color .3s; }
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.socials svg { width: 17px; height: 17px; fill: var(--white); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 40px; }
.footer__cols h4 { color: rgba(255,255,255,.45); font-weight: 400; margin-bottom: 18px; font-size: .7rem; }
.footer__cols a { display: block; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--white); }
.footer__news p { margin-bottom: 16px; }
.news { display: flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-light); background: rgba(255,255,255,.04); }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: var(--white); font: inherit; padding: 0 14px; outline: none; }
.news input::placeholder { color: rgba(255,255,255,.4); }
.news button { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--teal)); color: var(--white); flex-shrink: 0; }
.news.is-done { border-color: rgba(143,217,189,.6); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer__bottom p { margin: 0; }
.footer__bottom .mono { font-size: .68rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,9,30,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .3s; }
.modal__dialog { position: relative; width: min(1100px, 100%); animation: pop .45s var(--ease); }
.modal__video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.modal__close { position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.25); font-size: .95rem; transition: background .25s; }
.modal__close:hover { background: rgba(255,255,255,.25); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } }
body.no-scroll { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: 1fr 1fr; }
  .cert--feature { grid-row: auto; grid-column: span 2; min-height: 320px; }
  .post-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .post--lead { grid-row: auto; grid-column: span 2; }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .topbar { display: none; }
  .nav { height: 70px; }
  .burger { display: block; }
  .nav__actions .btn { display: none; }
  .nav__menu {
    position: fixed; inset: 70px 0 auto; height: calc(100svh - 70px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--pad) 32px; overflow-y: auto;
    background: var(--white); color: var(--text);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .menu-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .menu-open .header { background: var(--white); color: var(--text); }
  .menu-open .header .logo--white { opacity: 0; }
  .menu-open .header .logo--color { opacity: 1; }
  .nav__menu > li { border-bottom: 1px solid var(--line); }
  .nav__menu > li > a, .nav__trigger { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.15rem; font-family: var(--f-display); }
  .nav__menu > li > a:hover, .nav__trigger:hover, .has-mega.open .nav__trigger { background: none !important; }
  .mega { position: static; width: auto; transform: none; box-shadow: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; grid-template-columns: 1fr; }
  .has-mega.open .mega { display: grid; transform: none; }
  .mega__feature { display: none; }
  .mega__grid { grid-template-columns: 1fr; padding: 0; }
  .nav__menu-cta { display: block; border: 0 !important; padding-top: 24px; }
  .nav__menu-cta .btn { width: 100%; height: 54px; color: var(--white); }

  .readout { grid-template-columns: 1fr 1fr; }
  .readout__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .readout__item:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .intro__grid, .sectors__grid, .contact__grid, .footer__top { grid-template-columns: 1fr; }
  .sectors__intro { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; }
  .film__frame { aspect-ratio: auto; min-height: 520px; }
  .film__play { top: 36%; right: 50%; transform: translate(50%, -50%); width: 92px; height: 92px; }
  .film__play:hover { transform: translate(50%, -50%) scale(1.07); }
  .film__shade { background: linear-gradient(0deg, rgba(10,18,56,.95) 15%, rgba(10,18,56,.3) 70%); }
}

@media (max-width: 640px) {
  .hero__content { padding-bottom: 40px; }
  .hero__ctas .btn { width: 100%; }
  .readout__item { padding: 16px 12px 18px; }
  .readout__item strong { font-size: 1.05rem; }
  .readout__item small { font-size: .74rem; }
  .cards { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .cert--feature { grid-column: auto; }
  .cert__seal { width: 110px; height: 110px; top: 20px; right: 20px; }
  .cert__seal span { width: 58px; height: 58px; font-size: .9rem; }
  .post-grid { grid-template-columns: 1fr; }
  .post--lead { grid-column: auto; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonials__quote { grid-row: auto; width: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: span 2; }
  .marquee__track { gap: 48px; }
  .marquee img { height: 42px; }
  .film__time { display: none; }
  .values { gap: 16px; }
  .values li { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Shared additions (inner pages)
   ========================================================= */
.btn--outline { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.nav__menu a[aria-current="page"] { position: relative; }
.nav__menu > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--teal)); }
.nav__menu li:has(.nav__portal) { display: none; }

/* ---------- Page hero ---------- */
.phero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -3; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.phero__scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10,18,56,.96) 0%, rgba(10,18,56,.86) 45%, rgba(10,18,56,.55) 100%), linear-gradient(0deg, rgba(10,18,56,.9), transparent 50%); }
.phero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; padding-top: calc(var(--header-h) + 70px); padding-bottom: 80px; }
.crumbs { display: flex; gap: 10px; color: rgba(255,255,255,.6); margin-bottom: 26px; font-size: .7rem; }
.crumbs a:hover { color: var(--white); }
.phero__title { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 26px; }
.phero__title em { color: #a6ecd0; }
.phero__lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: rgba(255,255,255,.78); max-width: 56ch; margin-bottom: 38px; }

/* fanned letters */
.stack { position: relative; display: block; height: 420px; perspective: 1200px; }
.stack__sheet { position: absolute; top: 50%; left: 50%; width: 230px; aspect-ratio: 8.5 / 11; border-radius: 6px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -15px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.1); transition: transform .7s var(--ease); }
.stack__sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stack__sheet--1 { transform: translate(-50%, -50%) translate(-90px, 10px) rotate(-11deg); }
.stack__sheet--2 { transform: translate(-50%, -50%) translate(80px, 0) rotate(9deg); }
.stack__sheet--3 { transform: translate(-50%, -50%) translate(-5px, -14px) rotate(-1.5deg); }
.stack:hover .stack__sheet--1 { transform: translate(-50%, -50%) translate(-130px, 14px) rotate(-15deg); }
.stack:hover .stack__sheet--2 { transform: translate(-50%, -50%) translate(120px, 4px) rotate(13deg); }
.stack:hover .stack__sheet--3 { transform: translate(-50%, -50%) translate(-5px, -26px) rotate(0deg); }
.stack__badge { position: absolute; right: 4%; bottom: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.stack__badge strong { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; letter-spacing: -.03em; color: #a6ecd0; }
.stack__badge span { font-size: .8rem; line-height: 1.25; color: rgba(255,255,255,.85); }

/* ---------- Scorecards ---------- */
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.score { position: relative; display: flex; flex-direction: column; padding: 26px 22px 24px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.score::before { content: "↗"; position: absolute; top: 18px; right: 20px; color: var(--muted); font-size: .9rem; transition: color .3s, transform .4s var(--ease); }
.score:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 26px 50px -30px rgba(10,18,56,.4); }
.score:hover::before { color: var(--navy); transform: translate(2px, -2px); }
.score__value { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 3.6vw, 3.2rem); letter-spacing: -.045em; line-height: 1; color: var(--ink); background: linear-gradient(120deg, var(--navy), var(--blue) 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.score__value small { font-size: .45em; letter-spacing: -.01em; margin-left: 2px; }
.score--word .score__value { font-size: clamp(1.8rem, 2.4vw, 2.2rem); line-height: 1.25; letter-spacing: -.01em; }
.score__label { font-weight: 600; color: var(--green); font-size: .9rem; margin: 10px 0 18px; }
.score__org { font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: auto; }
.score__meta { color: var(--muted); font-size: .64rem; margin-top: 6px; }
.score__bar { display: block; height: 3px; border-radius: 3px; background: var(--paper); margin-top: 18px; overflow: hidden; }
.score__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--teal)); border-radius: inherit; transition: width 1.4s var(--ease) .3s; }
.score.is-in .score__bar i { width: var(--w); }

/* ---------- Letters archive ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: .9rem; font-weight: 500; transition: background .25s, color .25s, box-shadow .25s; }
.filter span { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); padding: 2px 7px; border-radius: 999px; background: var(--paper); transition: inherit; }
.filter:hover { box-shadow: 0 0 0 1px rgba(40,56,145,.35); }
.filter.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
.filter.is-active span { background: rgba(255,255,255,.15); color: var(--white); }

.docs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 22px; }
.doc { display: flex; flex-direction: column; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.doc.is-shown { opacity: 1; transform: none; }
.doc[hidden] { display: none; }
.doc__paper { position: relative; display: block; aspect-ratio: 8.5 / 11; border-radius: 6px; overflow: hidden; background: var(--white); margin-bottom: 16px; box-shadow: 0 1px 2px rgba(10,18,56,.08), 0 10px 24px -14px rgba(10,18,56,.35), 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doc__paper::after { content: "Ver documento"; position: absolute; inset: auto 12px 12px; padding: 9px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .78rem; font-weight: 500; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }
.doc__paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.doc:hover .doc__paper, .doc:focus-visible .doc__paper { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 2px 4px rgba(10,18,56,.08), 0 30px 50px -24px rgba(10,18,56,.45), 0 0 0 1px rgba(40,56,145,.2); }
.doc:hover .doc__paper::after, .doc:focus-visible .doc__paper::after { opacity: 1; transform: none; }
.doc:hover .doc__paper img { transform: scale(1.03); }
.doc__type { color: var(--teal); font-size: .64rem; margin-bottom: 6px; }
.doc__org { font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.doc__date { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.docs__more { display: flex; justify-content: center; margin-top: 48px; }
.docs__more[hidden] { display: none; }

/* ---------- Voices ---------- */
.voices__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.voice { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 30px; border-radius: var(--r); background: var(--paper); transition: transform .5s var(--ease); }
.voice:hover { transform: translateY(-4px); }
.voice blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--text); }
.voice figcaption { display: flex; align-items: center; gap: 14px; }
.voice figcaption strong { display: block; font-weight: 600; line-height: 1.3; }
.voice figcaption small { color: var(--muted); font-size: .84rem; }
.voice__avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .75rem; color: var(--white); background: linear-gradient(135deg, var(--navy), var(--teal)); }
.voice--feature { grid-row: span 2; background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.voice--feature::before { content: "“"; position: absolute; right: 20px; top: -40px; font-family: var(--f-serif); font-size: 16rem; line-height: 1; color: rgba(166,236,208,.12); }
.voice--feature blockquote { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.38; letter-spacing: -.015em; font-weight: 500; color: var(--white); position: relative; }
.voice--feature figcaption small { color: rgba(255,255,255,.6); }
.voice--feature .voice__avatar { background: linear-gradient(135deg, var(--green), var(--teal)); }

/* ---------- Sector grid + logos ---------- */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scard { padding: 28px 24px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.scard:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 26px 50px -30px rgba(10,18,56,.35); }
.scard__icon { width: 46px; height: 46px; padding: 9px; border-radius: 14px; margin-bottom: 22px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, rgba(20,168,158,.12), rgba(40,56,145,.1)); transition: background .4s, stroke .4s; }
.scard:hover .scard__icon { background: linear-gradient(135deg, var(--green), var(--teal)); stroke: var(--white); }
.scard h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; }
.scard p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.logowall { margin-top: clamp(60px, 8vw, 90px); }
.logowall__label { color: var(--muted); text-align: center; margin-bottom: 24px; }
.logowall__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logowall__grid span { display: grid; place-items: center; height: 120px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.logowall__grid img { max-height: 54px; max-width: 140px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logowall__grid span:hover img { filter: none; opacity: 1; }

/* ---------- Portal ---------- */
.portal__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }
.portal__lead { color: rgba(255,255,255,.72); font-size: 1.06rem; margin: 22px 0 30px; max-width: 46ch; }
.portal__features { display: grid; gap: 18px; margin-bottom: 38px; }
.portal__features li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.portal__features strong { display: block; font-weight: 600; }
.portal__features small { color: rgba(255,255,255,.6); font-size: .9rem; }
.tick { width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: linear-gradient(135deg, var(--green), var(--teal)); position: relative; }
.tick::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.device { position: relative; border-radius: 18px; background: #e9edf5; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.15); overflow: hidden; color: var(--text); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
.device:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.device__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #dfe4ee; }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3cad8; }
.device__bar span { margin-left: 14px; flex: 1; max-width: 300px; padding: 4px 12px; border-radius: 8px; background: rgba(255,255,255,.7); color: var(--muted); font-size: .62rem; text-transform: none; }
.device { padding-bottom: 28px; }
.device__note { position: absolute; right: 14px; bottom: 8px; margin: 0; color: var(--muted); font-size: .58rem; }
.app__head { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 18px; background: #1b4a6e; }
.app__head img { height: 24px; width: auto; }
.app__menu { width: 30px; height: 30px; border-radius: 50%; background: #2f80ed; box-shadow: inset 0 0 0 9px #2f80ed, inset 0 -2px 0 9px #fff; }
.app__body { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 360px; background: var(--white); }
.app__list { border-right: 1px solid var(--line); font-size: .78rem; }
.app__search { margin: 12px; padding: 8px 12px; border-radius: 8px; background: var(--paper); color: var(--muted); font-size: .74rem; }
.app__tabs { display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-size: .66rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line); }
.app__tabs span { padding: 8px 0; }
.app__tabs .is-on { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.row { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.row.is-sel { background: rgba(15,119,188,.07); box-shadow: inset 3px 0 0 var(--blue); }
.row b { display: block; font-size: .76rem; color: var(--ink); }
.row small { color: var(--muted); font-size: .66rem; }
.st { width: 16px; height: 16px; border-radius: 50%; }
.st--ok { background: #2ecc71; box-shadow: inset 0 0 0 4px #2ecc71, inset 0 0 0 6px #fff; }
.st--wait { border: 2px solid #f4b400; }
.badge { font-style: normal; font-family: var(--f-mono); font-size: .52rem; line-height: 1.15; text-align: center; font-weight: 500; padding: 5px 6px; border-radius: 6px; color: var(--white); }
.badge--green { background: #2ecc71; }
.badge--amber { background: #f4b400; }
.app__detail { padding: 16px; font-size: .78rem; display: flex; flex-direction: column; }
.app__dhead { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.app__dhead b { display: block; color: var(--ink); font-size: .86rem; }
.app__dhead small { color: var(--muted); font-size: .7rem; }
.dl { padding: 5px 9px; border-radius: 8px; background: rgba(15,119,188,.1); color: var(--blue); font-weight: 600; font-size: .66rem; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.tags span { font-size: .6rem; padding: 3px 7px; border-radius: 4px; background: #e4e8f0; color: var(--muted); }
.app__detail table { width: 100%; border-collapse: separate; border-spacing: 0 5px; font-size: .7rem; }
.app__detail th { text-align: left; font-weight: 600; color: var(--blue); font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; padding: 0 8px; }
.app__detail td { padding: 9px 8px; background: var(--paper); }
.app__detail td:first-child { background: #1b4a6e; color: var(--white); font-weight: 500; border-radius: 6px 0 0 6px; }
.app__detail td:last-child { border-radius: 0 6px 6px 0; }
.app__detail td b { color: var(--ink); }
.app__done { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 14px; color: var(--green); font-weight: 600; font-size: .74rem; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(70px, 9vw, 110px) 0; background: radial-gradient(ellipse at 85% 50%, rgba(20,168,158,.12), transparent 55%), var(--white); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Document viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.viewer[hidden] { display: none; }
.viewer__backdrop { position: absolute; inset: 0; background: rgba(5,9,30,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .3s; }
.viewer__dialog { position: relative; width: min(1180px, 100%); height: min(860px, calc(100svh - 48px)); display: grid; grid-template-columns: 1fr 340px; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: 0 40px 120px rgba(0,0,0,.5); animation: pop .45s var(--ease); }
.viewer__stage { overflow-y: auto; padding: 32px; display: grid; gap: 24px; justify-items: center; align-content: start; background: #e7ebf2; background-image: radial-gradient(rgba(14,21,51,.06) 1px, transparent 1px); background-size: 18px 18px; outline: none; }
.viewer__page { width: 100%; max-width: 680px; height: auto; border-radius: 4px; background: var(--white); box-shadow: 0 2px 6px rgba(10,18,56,.1), 0 24px 50px -24px rgba(10,18,56,.45); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.viewer__page.is-loaded { opacity: 1; transform: none; }
.viewer__side { display: flex; flex-direction: column; padding: 26px 28px 28px; border-left: 1px solid var(--line); overflow-y: auto; }
.viewer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.viewer__count { color: var(--muted); }
.viewer__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background .25s; }
.viewer__x:hover { background: var(--paper); }
.viewer__type { color: var(--teal); font-size: .68rem; margin-bottom: 10px; }
.viewer__title { font-size: 1.7rem; color: var(--ink); letter-spacing: -.025em; margin-bottom: 6px; }
.viewer__date { color: var(--muted); margin-bottom: 22px; }
.viewer__highlight { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(11,148,68,.1), rgba(20,168,158,.1)); color: var(--green); font-weight: 600; font-size: .92rem; }
.viewer__highlight:empty { display: none; }
.viewer__summary { color: var(--text); font-size: .95rem; line-height: 1.6; }
.viewer__facts { margin: 8px 0 26px; border-top: 1px solid var(--line); }
.viewer__facts div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.viewer__facts dt { color: var(--muted); }
.viewer__facts dd { margin: 0; font-weight: 500; }
.viewer__actions { display: grid; gap: 10px; margin-top: auto; }
.viewer__nav { display: flex; justify-content: space-between; margin-top: 18px; }

/* ---------- Responsive (inner pages) ---------- */
@media (max-width: 1100px) {
  .score-grid { grid-template-columns: repeat(3, 1fr); }
  .docs { grid-template-columns: repeat(4, 1fr); }
  .voices__grid { grid-template-columns: 1fr 1fr; }
  .voice--feature { grid-row: auto; grid-column: span 2; }
  .sgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav__menu li:has(.nav__portal) { display: block; }
  .nav__menu > li > a[aria-current="page"]::after { display: none; }
  .nav__menu > li > a[aria-current="page"] { color: var(--navy); }
  .phero__inner { grid-template-columns: 1fr; padding-bottom: 50px; }
  .stack { height: 320px; }
  .stack__sheet { width: 180px; }
  .portal__grid { grid-template-columns: 1fr; }
  .device { transform: none; }
  .viewer { padding: 0; }
  .viewer__dialog { grid-template-columns: 1fr; grid-template-rows: 1fr auto; height: 100svh; border-radius: 0; }
  .viewer__stage { padding: 16px; }
  .viewer__side { border-left: 0; border-top: 1px solid var(--line); padding: 16px 18px 18px; max-height: 46svh; }
  .viewer__top { margin-bottom: 12px; }
  .viewer__title { font-size: 1.3rem; }
  .viewer__date { margin-bottom: 12px; }
  .viewer__summary, .viewer__facts { display: none; }
  .viewer__actions { grid-template-columns: 1fr 1fr; margin-top: 4px; }
  .viewer__actions .btn { font-size: .85rem; padding: 0 12px; }
  .viewer__nav { position: absolute; top: 12px; left: 12px; right: 12px; margin: 0; pointer-events: none; }
  .viewer__nav .circle-btn { pointer-events: auto; box-shadow: 0 4px 14px rgba(10,18,56,.2); }
}
@media (max-width: 640px) {
  .score-grid { grid-template-columns: 1fr 1fr; }
  .score--word { grid-column: span 2; }
  .docs { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .voices__grid { grid-template-columns: 1fr; }
  .voice--feature { grid-column: auto; }
  .sgrid { grid-template-columns: 1fr; }
  .logowall__grid { grid-template-columns: repeat(2, 1fr); }
  .logowall__grid span { height: 96px; }
  .app__body { grid-template-columns: 1fr; }
  .app__detail { display: none; }
  .stack__badge { right: 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad); scrollbar-width: none; }
  .filter { flex-shrink: 0; }
}

/* =========================================================
   Quiénes somos
   ========================================================= */
/* HQ figure in hero */
.hq { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.hq img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hq:hover img { transform: scale(1.04); }
.hq::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,56,.85), transparent 45%); }
.hq figcaption { position: absolute; left: 22px; bottom: 20px; z-index: 1; display: grid; gap: 2px; }
.hq figcaption .mono { color: #8fd9bd; font-size: .66rem; }
.hq figcaption strong { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.hq__seal { position: absolute; top: 18px; right: 18px; z-index: 1; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--white); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: -.02em; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.hq__seal b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .56rem; letter-spacing: .1em; color: var(--teal); margin-bottom: 4px; }

/* Story */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; margin-bottom: clamp(70px, 9vw, 120px); }
.story__body { color: var(--muted); font-size: 1.06rem; }
.story__body strong { color: var(--text); font-weight: 600; }
.dropcap::first-letter { float: left; font-family: var(--f-serif); font-size: 4.6em; line-height: .82; padding: 6px 12px 0 0; color: var(--navy); }

/* Timeline */
.timeline { position: relative; display: grid; gap: 22px; max-width: 1040px; margin: 0 auto; }
.timeline__track { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; overflow: hidden; }
.timeline__track i { position: absolute; inset: 0 0 auto; height: var(--p, 0%); background: linear-gradient(180deg, var(--green), var(--teal), var(--blue)); }
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; align-items: center; }
.tl::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); z-index: 1; transition: background .4s, transform .4s var(--ease); }
.tl.is-passed::before { background: var(--teal); transform: scale(1.15); }
.tl__year { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; color: var(--ink); text-align: right; }
.tl__card { padding: 22px 24px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s, transform .5s var(--ease); }
.tl__card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 22px 44px -28px rgba(10,18,56,.35); }
.tl__card h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.tl__card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.tl:nth-child(odd) .tl__year { order: 2; text-align: left; }
.tl:nth-child(odd) .tl__card { order: 1; }
.tl--key .tl__year { background: linear-gradient(120deg, var(--navy), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tl--key .tl__card { background: var(--ink); box-shadow: none; }
.tl--key .tl__card h3 { color: var(--white); }
.tl--key .tl__card p { color: rgba(255,255,255,.7); }
.tl--key::before { width: 20px; height: 20px; margin: -10px 0 0 -10px; border-width: 3px; }

/* Mission / Vision */
.purpose__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.purpose__card { position: relative; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.purpose__tag { align-self: flex-start; display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--navy); margin-bottom: 28px; }
.purpose__text { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 1.6vw, 1.38rem); line-height: 1.5; letter-spacing: -.012em; color: var(--ink); }
.purpose__text em { color: var(--navy); font-size: 1.08em; }
.purpose__card--vision { background: var(--ink); box-shadow: none; display: flex; flex-direction: column; }
.purpose__card--vision .purpose__tag { background: rgba(255,255,255,.1); color: #a6ecd0; }
.purpose__card--vision .purpose__text { color: var(--white); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.35; }
.purpose__card--vision .purpose__text em { color: #a6ecd0; }
.purpose__img { margin-top: 32px; border-radius: var(--r); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; opacity: .9; }

/* Values */
.valuesx .container { position: relative; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.v { padding: 34px 28px 10px 0; position: relative; }
.v + .v { padding-left: 28px; border-left: 1px solid var(--line-light); }
.v .mono { color: #8fd9bd; }
.v h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -.01em; margin: 22px 0 14px; transition: color .3s; }
.v:hover h3 { color: #a6ecd0; }
.v p { margin: 0; color: rgba(255,255,255,.65); font-size: .95rem; max-width: 26ch; }

/* What we do */
.whatwe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.mosaic { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.mosaic__a { grid-row: span 2; }
.mosaic__chip { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 500; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(10,18,56,.4); }
.svc-list { margin-top: 34px; border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; color: var(--ink); transition: color .3s, padding .4s var(--ease); }
.svc-list .mono { color: var(--teal); }
.svc-list i { font-style: normal; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.svc-list a:hover { color: var(--navy); padding-left: 8px; }
.svc-list a:hover i { transform: translateX(4px); color: var(--navy); }

/* Accreditations */
.accred__logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 40px; }
.accred__logos img { width: 100%; height: 120px; object-fit: contain; padding: 18px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease); }
.accred__logos img:hover { transform: translateY(-4px); }
.accred__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.accred__list li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.accred__list .mono { color: var(--teal); padding-top: 4px; font-size: .66rem; }
.accred__list h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: 6px; }
.accred__list p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Team */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person figure { margin: 0 0 18px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.6; background: #e9eaec; position: relative; }
.person figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,18,56,.18), transparent 40%); opacity: 0; transition: opacity .4s; }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.9); transition: transform .9s var(--ease), filter .4s; }
.person:hover img { transform: scale(1.04); filter: saturate(1.05); }
.person:hover figure::after { opacity: 1; }
.person h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.person p { margin: 0; color: var(--muted); font-size: .93rem; }
.person__mail { display: inline-block; margin-top: 8px; font-size: .86rem; color: var(--navy); border-bottom: 1px solid rgba(40,56,145,.3); }
.person__mail:hover { border-color: var(--navy); }
.founder { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 28px; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--ink), var(--ink-2) 60%, #13306a); color: var(--white); overflow: hidden; }
.founder__photo { margin: 0; width: 160px; height: 160px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 0 0 7px rgba(166,236,208,.35); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__copy { position: relative; z-index: 1; max-width: 60ch; }
.founder__copy .mono { color: #8fd9bd; }
.founder__copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 8px 0 12px; letter-spacing: -.025em; }
.founder__copy p { margin: 0; color: rgba(255,255,255,.72); font-size: 1.02rem; }
.founder__year { position: absolute; right: -10px; bottom: -40px; font-family: var(--f-display); font-weight: 700; font-size: clamp(6rem, 14vw, 11rem); letter-spacing: -.06em; color: rgba(255,255,255,.05); line-height: 1; pointer-events: none; }
.page-about .film { padding-bottom: clamp(80px, 10vw, 120px); }
.page-about .team { padding-bottom: 0; }
.purpose__card--vision { justify-content: space-between; }
.purpose__card--vision .purpose__text { font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.28; letter-spacing: -.02em; }
.purpose__card:not(.purpose__card--vision) { display: flex; flex-direction: column; justify-content: space-between; }
.purpose__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.purpose__pills li { padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--navy); font-size: .85rem; font-weight: 500; }
.purpose__pills li::before { content: "✓"; color: var(--green); margin-right: 8px; font-weight: 700; }
.purpose__mark { align-self: flex-end; margin: 32px -8px -18px 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(4rem, 8vw, 7rem); line-height: .9; color: rgba(166,236,208,.12); }

@media (max-width: 1100px) {
  .accred__logos { grid-template-columns: repeat(3, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hq { max-width: 520px; aspect-ratio: 16 / 11; }
  .story__grid, .purpose__grid, .whatwe__grid { grid-template-columns: 1fr; }
  .accred__list { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .v:nth-child(3) { padding-left: 0; border-left: 0; }
  .v:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 24px; }
  .timeline__track { left: 7px; }
  .tl { grid-template-columns: 1fr; gap: 10px; padding-left: 36px; }
  .tl::before { left: 8px; top: 18px; }
  .tl .tl__year, .tl:nth-child(odd) .tl__year { order: 0; text-align: left; font-size: 2rem; }
  .tl:nth-child(odd) .tl__card { order: 1; }
}
@media (max-width: 640px) {
  .people { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person h3 { font-size: 1rem; }
  .person p { font-size: .84rem; }
  .person__mail { font-size: .76rem; word-break: break-all; }
  .founder { grid-template-columns: 1fr; text-align: left; }
  .founder__photo { width: 110px; height: 110px; }
  .accred__logos img { height: 96px; padding: 14px; }
  .accred__list li { grid-template-columns: 1fr; gap: 6px; }
  .vgrid { grid-template-columns: 1fr; }
  .v, .v + .v { padding-left: 0; border-left: 0; }
  .v + .v { border-top: 1px solid var(--line-light); margin-top: 8px; }
  .mosaic { aspect-ratio: 1 / 1.1; }
}

/* =========================================================
   Service pages
   ========================================================= */
.nav__trigger.is-current { position: relative; }
.nav__trigger.is-current::after { content: ""; position: absolute; left: 14px; right: 26px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--teal)); }
.mega__grid a[aria-current="page"] { background: var(--paper); color: var(--navy); }

.phero__inner--single { grid-template-columns: 1fr; padding-bottom: 96px; }
.phero--service .phero__copy { max-width: 760px; }
.phero--service .phero__scrim { background: linear-gradient(90deg, rgba(10,18,56,.95) 0%, rgba(10,18,56,.78) 40%, rgba(10,18,56,.2) 80%, rgba(10,18,56,.35) 100%), linear-gradient(0deg, rgba(10,18,56,.9), transparent 45%); }
.phero--service .phero__bg img { object-position: 70% center; }
.svc-index { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; color: rgba(255,255,255,.6); }
.svc-index b { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: #a6ecd0; letter-spacing: -.02em; }

/* Overview */
.overview__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.overview__text { color: var(--muted); font-size: 1.05rem; margin-top: 26px; }
.overview__text strong { color: var(--text); }
.overview__media { position: relative; display: grid; grid-template-columns: 1fr .7fr; grid-template-rows: auto auto; gap: 14px; }
.overview__img { margin: 0; border-radius: var(--r); overflow: hidden; }
.overview__img img { width: 100%; height: 100%; object-fit: cover; }
.overview__img--a { grid-column: span 2; aspect-ratio: 16 / 9.4; }
.overview__img--b { grid-column: 2; aspect-ratio: 1 / 1; margin-top: -90px; box-shadow: 0 0 0 8px var(--white), 0 30px 60px -30px rgba(10,18,56,.5); }
.overview__badge { position: absolute; left: 6%; bottom: 8%; width: 110px; height: 110px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1; box-shadow: 0 20px 40px -14px rgba(10,18,56,.6); }
.overview__badge b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .58rem; letter-spacing: .12em; color: #8fd9bd; margin-bottom: 5px; }

/* Matrices */
.mgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mcard { padding: 26px 22px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mcard:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 26px 50px -30px rgba(10,18,56,.35); }
.mcard svg { width: 46px; height: 46px; padding: 9px; border-radius: 14px; margin-bottom: 20px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, rgba(20,168,158,.12), rgba(40,56,145,.1)); transition: background .4s, stroke .4s; }
.mcard:hover svg { background: linear-gradient(135deg, var(--green), var(--teal)); stroke: var(--white); }
.mcard h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.mcard p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* Catalog */
.special { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.spec { border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-direction: column; transition: transform .5s var(--ease); }
.spec:hover { transform: translateY(-5px); }
.spec figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.spec img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.spec:hover img { transform: scale(1.05); }
.spec__body { padding: 24px 24px 28px; }
.spec__body .mono { color: #8fd9bd; font-size: .64rem; }
.spec__body h3 { font-size: 1.2rem; margin: 10px 0 10px; line-height: 1.2; }
.spec__body p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }

.tests__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.tests__search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); transition: border-color .2s, box-shadow .2s, background .2s; }
.tests__search:focus-within { border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(20,168,158,.14); }
.tests__search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; color: var(--text); }
.tests__legend { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.tests__legend span { display: inline-flex; align-items: center; gap: 8px; }
.m { font-style: normal; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .04em; padding: 3px 7px; border-radius: 6px; background: rgba(40,56,145,.08); color: var(--navy); }
.m--alt { background: rgba(11,148,68,.1); color: var(--green); }
.tests__group { margin-bottom: 34px; }
.tests__group[hidden] { display: none; }
.tests__title { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.tests__title .mono { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: .7rem; }
.tlist { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tlist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 66px; padding: 14px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.tlist li[hidden] { display: none; }
.tlist li:hover, .tlist li.is-hit { background: linear-gradient(90deg, rgba(20,168,158,.08), transparent); }
.tlist b { font-weight: 500; color: var(--ink); }
.tlist em { font-family: var(--f-sans); font-style: italic; font-weight: 500; font-size: 1em; letter-spacing: 0; }
.tlist__tags { display: flex; gap: 6px; flex-shrink: 0; }
.tests__empty { padding: 26px; border-radius: var(--r); background: var(--paper); color: var(--muted); text-align: center; }
.tests__empty a { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* FDA callout */
.fda { padding-bottom: clamp(80px, 10vw, 120px); }
.fda__card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(30px, 4vw, 52px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--ink), #13306a); color: var(--white); overflow: hidden; }
.fda__card::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(20,168,158,.3), transparent 65%); pointer-events: none; }
.fda__mark { width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 1px dashed rgba(166,236,208,.5); }
.fda__mark .mono { color: #8fd9bd; font-size: .62rem; }
.fda__mark b { font-family: var(--f-display); font-size: 2.6rem; letter-spacing: -.04em; line-height: 1.05; }
.fda__copy .h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.fda__copy p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.7); max-width: 58ch; }
.fda__card .btn { position: relative; z-index: 1; }

/* Process */
.process { padding-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { position: relative; padding: 28px 24px 30px; border-radius: var(--r); background: var(--paper); }
.step::after { content: ""; position: absolute; top: 44px; right: -14px; width: 10px; height: 10px; border-top: 1.5px solid var(--teal); border-right: 1.5px solid var(--teal); transform: rotate(45deg); }
.step:last-child::after { display: none; }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: 0 0 0 1px var(--line); margin-bottom: 22px; }
.step h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.step a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* Proof */
.proof__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.proof__quote { margin: 0; }
.proof__tag { color: #8fd9bd; }
.proof__quote blockquote { margin: 18px 0 28px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -.02em; }
.proof__quote figcaption { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.proof__quote figcaption strong { display: block; }
.proof__quote figcaption small { color: rgba(255,255,255,.6); }
.proof__certs { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line-light); background: rgba(255,255,255,.04); }
.proof__label { color: rgba(255,255,255,.55); margin-bottom: 18px; }
.proof__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proof__logos img { width: 100%; height: 100px; object-fit: contain; padding: 14px; border-radius: 14px; background: var(--white); }
.proof__note { margin: 18px 0 0; color: rgba(255,255,255,.65); font-size: .9rem; }

/* Related posts */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rpost { display: flex; flex-direction: column; padding: 12px 12px 22px; border-radius: var(--r); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rpost:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(40,56,145,.15), 0 26px 50px -30px rgba(10,18,56,.35); }
.rpost figure { margin: 0 0 18px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.rpost img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rpost:hover img { transform: scale(1.05); }
.rpost .mono { color: var(--teal); padding: 0 10px; margin-bottom: 8px; }
.rpost h3 { font-size: 1.12rem; color: var(--ink); line-height: 1.3; padding: 0 10px; }

/* Other services */
.ogrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.ocard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4.2; padding: 16px; border-radius: var(--r); overflow: hidden; color: var(--white); isolation: isolate; }
.ocard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ocard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,18,56,.92) 10%, rgba(10,18,56,.15) 70%); transition: background .4s; }
.ocard:hover img { transform: scale(1.07); }
.ocard:hover::before { background: linear-gradient(to top, rgba(11,148,68,.9) 10%, rgba(10,18,56,.2) 75%); }
.ocard .mono { color: #a6ecd0; font-size: .64rem; margin-bottom: 6px; }
.ocard b { font-family: var(--f-display); font-weight: 600; font-size: .98rem; line-height: 1.2; }

@media (max-width: 1100px) {
  .mgrid { grid-template-columns: repeat(3, 1fr); }
  .tlist { grid-template-columns: repeat(2, 1fr); }
  .ogrid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .nav__trigger.is-current::after { display: none; }
  .overview__grid, .proof__grid { grid-template-columns: 1fr; }
  .special { grid-template-columns: 1fr; }
  .spec { flex-direction: row; }
  .spec figure { width: 40%; aspect-ratio: auto; flex-shrink: 0; }
  .fda__card { grid-template-columns: 1fr; }
  .fda__mark { width: 110px; height: 110px; }
  .fda__mark b { font-size: 1.9rem; }
}
@media (max-width: 640px) {
  .mgrid { grid-template-columns: 1fr 1fr; }
  .mcard:last-child { grid-column: span 2; }
  .tlist { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .rgrid { grid-template-columns: 1fr; }
  .ogrid { grid-template-columns: repeat(2, 1fr); }
  .spec { flex-direction: column; }
  .spec figure { width: 100%; aspect-ratio: 16 / 9; }
  .overview__img--b { margin-top: -50px; }
  .overview__badge { width: 84px; height: 84px; font-size: 1.05rem; }
  .fda__card .btn { width: 100%; }
}
