/* === DIPLOMATIC CHILE — Design tokens === */
:root {
  --navy:       #0D1F3C;
  --navy-deep:  #08152A;
  --blue:       #1A3A6B;
  --accent:     #2D7DD2;
  --accent-2:   #2D7DD2;
  --off-white:  #F8F9FA;
  --tint:       #E8EDF5;
  --tint-2:     #EEF2F8;
  --text:       #374151;
  --muted:      #9CA3AF;
  --line:       #E8EDF5;
  --white:      #FFFFFF;
  --error:      #DC2626;

  --f-display:  'Fraunces', 'Times New Roman', serif;
  --f-sans:     'Plus Jakarta Sans', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --f-mono:     'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --section-y: clamp(96px, 12vw, 176px);
  --gutter:    clamp(20px, 4vw, 56px);
  --max:       1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 88px;
}
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Container */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section   { padding-block: var(--section-y); scroll-snap-align: start; scroll-margin-top: 88px; }
.hero, .proceso-section, .cta-section { scroll-snap-align: start; scroll-margin-top: 88px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
}

/* Type utilities */
.eyebrow {
  font: 600 11px/1.2 var(--f-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; display: inline-block;
}
.eyebrow.on-dark { color: rgba(255,255,255,0.55); }

.display {
  font-family: var(--f-display);
  font-weight: 700;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.display.on-dark { color: #fff; }

.h2 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
  margin: 0;
}
.h2.on-dark { color: #fff; }
.h3 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 18px; line-height: 1.3;
  color: var(--navy); margin: 0;
}
.lead {
  font-size: 18px; line-height: 1.55; color: var(--text);
  max-width: 62ch; margin: 0;
}
.lead.on-dark { color: rgba(255,255,255,0.78); }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font: 600 15px/1 var(--f-sans);
  letter-spacing: -0.005em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn .arr { transition: transform 180ms ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-primary:hover { background: #06122A; border-color: #06122A; }
.btn-primary.on-dark { background: var(--accent); border-color: var(--accent); }
.btn-primary.on-dark:hover { background: #2168B0; border-color: #2168B0; }

.btn-secondary {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-secondary.on-dark { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-secondary.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-ghost {
  padding: 0; background: transparent; color: var(--accent);
  border: none; border-radius: 0;
}
.btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost.on-dark { color: #9DC8F2; }

/* Header */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.0);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-links {
  display: none; gap: 28px;
}
.nav-links a {
  font: 500 14px/1 var(--f-sans); color: var(--navy);
  padding: 8px 0; position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; align-items: center; gap: 16px; }
.nav-phone {
  font: 500 13px/1 var(--f-mono); color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.nav-burger {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex; }
  .nav-burger { display: none; }
}

.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 17px/1 var(--f-display); color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-mark-img { width: 30px; height: auto; display: block; }
.logo-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.logo-tagline { font: 500 9px/1.2 var(--f-sans); letter-spacing: 0.02em; color: rgba(13,31,60,0.5); text-transform: uppercase; white-space: nowrap; }
.logo-name-mont { font: 700 15px/1 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
@media (max-width: 900px) {
  .logo-tagline { display: block; font-size: 8px; letter-spacing: 0.01em; }
}
@media (max-width: 480px) {
  .logo { gap: 8px; }
  .logo-text { min-width: 0; }
  .logo-tagline { max-width: 210px; white-space: normal; }
}
.provider-photo-band { position: relative; width: 100%; aspect-ratio: 21/9; margin-bottom: 48px; overflow: hidden; }
.provider-photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.provider-photo-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 1800ms cubic-bezier(.16,.84,.32,1), transform 1800ms cubic-bezier(.16,.84,.32,1); }
.provider-photo-slide.active { opacity: 1; transform: scale(1); }
.provider-copy { max-width: 68ch; margin: 0 auto; text-align: center; }
.provider-copy .eyebrow { display: block; }
.logo-mark {
  width: 32px; height: 32px;
  background: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  border-radius: 2px;
  font: 700 14px/1 var(--f-display);
  letter-spacing: -0.02em;
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(13,31,60,0.4);
  opacity: 0; pointer-events: none; transition: opacity 180ms ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(360px, 86vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform 240ms ease;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-links { display: flex; flex-direction: column; padding: 16px 8px; flex: 1; }
.drawer-links a {
  font: 600 18px/1.2 var(--f-sans);
  padding: 16px;
  color: var(--navy);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-links a:hover { background: var(--off-white); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }

/* HERO */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: clamp(96px, 13vw, 168px);
  padding-bottom: clamp(72px, 10vw, 128px);
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  position: absolute; inset: 0;
  mask-image: radial-gradient(ellipse at 80% 30%, #000 0%, transparent 65%);
  pointer-events: none;
}

/* Right-side photo carousel, elegant crossfade, masked into navy on the left. */
.hero-carousel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  overflow: hidden;
}
.hero-carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1800ms cubic-bezier(.16,.84,.32,1), transform 1800ms cubic-bezier(.16,.84,.32,1);
}
.hero-carousel-slide.active { opacity: 1; transform: scale(1); }
.hero-carousel-fade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(13,31,60,0.55) 30%, rgba(13,31,60,0.15) 55%, transparent 75%);
}
@media (max-width: 760px) {
  .hero { padding-top: 0; }
  .hero-carousel { position: relative; top: 0; right: 0; bottom: auto; width: 100%; height: 46vh; min-height: 260px; }
  .hero-carousel-fade { background: linear-gradient(180deg, transparent 55%, var(--navy) 100%); }
  .hero-inner { padding-top: clamp(32px, 8vw, 56px); }
}
.hero-shapes-unused {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56%;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}
.hero-shape {
  position: absolute;
  background: var(--blue);
  opacity: 0.55;
}
.hero-shape.circle {
  width: clamp(280px, 32vw, 460px);
  height: clamp(280px, 32vw, 460px);
  border-radius: 50%;
  top: 14%;
  right: 6%;
}
.hero-shape.arch {
  width: clamp(220px, 24vw, 340px);
  height: clamp(440px, 48vw, 680px);
  border-radius: 999px 999px 0 0;
  bottom: -8%;
  right: 32%;
  background: rgba(45,125,210,0.28);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; gap: 64px; }
}
.hero-meta {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.hero-h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(40px, 7.2vw, 80px);
  line-height: 0.98; letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
  margin: 0 0 28px;
}
.hero-h1 em {
  font-style: italic;
  color: #9DC8F2;
  font-weight: 700;
}
.hero-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}
.hero-stat .v {
  font: 700 clamp(28px, 3.6vw, 40px)/1 var(--f-display);
  letter-spacing: -0.02em;
  color: #fff;
  display: block; margin-bottom: 6px;
}
.hero-stat .k {
  font: 500 12px/1.3 var(--f-sans);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Client band */
.client-band {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.client-band-inner {
  display: flex; align-items: center; gap: 28px;
  padding-block: 28px;
  overflow: hidden;
  position: relative;
}
.client-band-label {
  font: 600 11px/1 var(--f-sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee {
  flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; align-items: center;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.client-logo {
  font: 600 16px/1 var(--f-sans);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 200ms ease;
}
.client-logo:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Differentiators */
.diff-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-top: 16px;
}
@media (min-width: 900px) { .diff-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.diff-card {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.diff-card .num {
  font: 500 12px/1 var(--f-mono);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.diff-card h3 {
  font: 600 22px/1.2 var(--f-sans);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.diff-card p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.55; max-width: 38ch; }

/* === Services grid === */
.services-bg { background: var(--off-white); }
.svc-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 16px;
}
@media (min-width: 780px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 200ms ease, transform 200ms ease;
  position: relative;
  min-height: 220px;
}
.svc-card:hover { border-color: var(--accent); }
.svc-card .svc-num {
  font: 500 12px/1 var(--f-mono);
  color: var(--muted);
}
.svc-card h3 {
  font: 600 20px/1.2 var(--f-sans);
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.005em;
}
.svc-card p {
  margin: 0;
  font-size: 15px; line-height: 1.45;
  color: var(--text);
}
.svc-card .svc-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--f-sans);
  color: var(--accent);
}
.svc-card .arr { transition: transform 200ms ease; }
.svc-card:hover .arr { transform: translateX(3px); }

/* Featured first card */
.svc-card.featured {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  grid-column: span 1;
}
@media (min-width: 1080px) { .svc-card.featured { grid-row: span 2; } }
.svc-card.featured h3 { color: #fff; font-size: 28px; }
.svc-card.featured p { color: rgba(255,255,255,0.74); font-size: 16px; }
.svc-card.featured .svc-num { color: rgba(255,255,255,0.55); }
.svc-card.featured .svc-link { color: #9DC8F2; }

/* === Testimonials === */
.testi-section { background: var(--navy); color: #fff; }
.testi-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 16px;
}
@media (min-width: 780px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 320px;
}
.testi-quote {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 19px; line-height: 1.45;
  color: var(--navy);
  letter-spacing: -0.005em;
  flex: 1;
  text-wrap: pretty;
}
.testi-quote::before { content: "\201C"; font-size: 32px; vertical-align: -10px; margin-right: 2px; color: var(--accent); }
.testi-quote::after  { content: "\201D"; font-size: 32px; vertical-align: -10px; margin-left: 2px;  color: var(--accent); }
.testi-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.testi-author .who { flex: 1; min-width: 0; }
.testi-author .name { font: 600 15px/1.2 var(--f-sans); color: var(--navy); }
.testi-author .role { font: 500 12px/1.4 var(--f-sans); color: var(--muted); margin-top: 3px; }
.testi-author .co-logo {
  font: 700 13px/1 var(--f-sans); color: var(--navy);
  border: 1px solid var(--line); padding: 8px 10px; border-radius: 3px; letter-spacing: 0.02em;
}

/* === IMDI === */
.imdi-section { background: #fff; }
.imdi-grid {
  display: grid; gap: 64px;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 16px;
}
@media (min-width: 980px) {
  .imdi-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 80px; }
}
.imdi-copy h2 { margin-bottom: 24px; }
.imdi-copy .lead { margin-bottom: 28px; }
.imdi-feat-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
}
.imdi-feat-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start;
  font-size: 15.5px; color: var(--text);
}
.imdi-feat-list .n {
  font: 500 12px/1.6 var(--f-mono);
  color: var(--accent);
}
.imdi-feat-list b { color: var(--navy); font-weight: 600; }

.imdi-mock {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 0 rgba(13,31,60,0.04);
}
.imdi-mock-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.imdi-mock-head .file {
  font: 500 12px/1 var(--f-mono); color: var(--muted);
}
.imdi-mock-head .dots { display: flex; gap: 6px; }
.imdi-mock-head .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--tint); }
.imdi-mock-body { padding: 28px; display: grid; gap: 22px; }
.imdi-mock-row { display: flex; align-items: center; justify-content: space-between; }
.imdi-mock-row .lab { font: 500 11px/1 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.imdi-mock-row .val { font: 700 14px/1 var(--f-display); color: var(--navy); }
.imdi-mock-title {
  font: 700 24px/1.1 var(--f-display); letter-spacing: -0.01em;
  color: var(--navy); margin-bottom: 4px;
}
.imdi-mock-sub { font: 500 12px/1 var(--f-mono); color: var(--muted); margin-bottom: 18px; }

.imdi-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.imdi-kpi {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 12px; text-align: left;
}
.imdi-kpi .k { font: 500 10px/1.2 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.imdi-kpi .v { font: 700 22px/1 var(--f-display); color: var(--navy); letter-spacing: -0.01em; }
.imdi-kpi .v .pct { font: 500 11px/1 var(--f-mono); color: var(--accent); margin-left: 4px; vertical-align: 4px; }

.imdi-bar-block { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 18px; }
.imdi-bar-block h4 { font: 600 12px/1 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.imdi-bar { display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 10px; }
.imdi-bar:last-child { margin-bottom: 0; }
.imdi-bar .lbl { font: 500 12px/1.2 var(--f-sans); color: var(--text); }
.imdi-bar .track { background: var(--tint); height: 8px; border-radius: 2px; overflow: hidden; }
.imdi-bar .fill { background: var(--accent); height: 100%; border-radius: 2px; }
.imdi-bar .pct { font: 500 12px/1 var(--f-mono); color: var(--navy); text-align: right; }

.imdi-bullet-block { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: grid; gap: 10px; }
.imdi-bullet { display: grid; grid-template-columns: 8px 1fr 80px; gap: 12px; align-items: center; }
.imdi-bullet .dot { width: 8px; height: 8px; border-radius: 50%; }
.imdi-bullet .txt { font: 500 13px/1.3 var(--f-sans); color: var(--navy); }
.imdi-bullet .tag { font: 500 10px/1.2 var(--f-mono); color: var(--muted); text-align: right; }
.dot.ok { background: #16A34A; }
.dot.warn { background: #F59E0B; }
.dot.info { background: var(--accent); }

/* === About === */
.about-section { background: var(--tint); position: relative; overflow: hidden; padding-top: clamp(24px, 4vw, 48px); padding-bottom: 0; }
.about-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  margin-top: 16px;
  align-items: center;
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; }
}
.about-photo-spacer { display: none; }
@media (min-width: 980px) { .about-photo-spacer { display: block; } }
.about-top { position: relative; padding-bottom: 64px; }
.about-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px;
  background: #E8F1FB; z-index: -1;
}
.about-photo-bleed {
  position: absolute; left: 0; bottom: 0; top: 130px;
  width: min(48vw, 720px);
  display: none;
  z-index: 0;
}
@media (min-width: 1024px) { .about-photo-bleed { display: block; } }
.about-photo-bleed img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: left bottom; }
.about-photo-bleed::after { display: none; }
@media (max-width: 1023px) {
  .about-top { display: flex; flex-direction: column; padding-bottom: 0; }
  .about-top::after { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-spacer { display: none; }
  .about-top > .container > .section-head.centered { display: block; text-align: left; }
  .about-top .head-aside { margin-top: 18px; }
  .about-top > .container { order: 1; }
  .about-photo-bleed { order: 2; display: block; position: static; width: 100%; top: auto; background: #E8F1FB; margin-top: 32px; }
  .about-photo-bleed img { position: static; width: 100%; height: auto; max-height: none; display: block; object-fit: contain; object-position: center bottom; margin-bottom: -1px; }
}
.mv-band { position: relative; background: var(--blue); z-index: 2; padding-block: 32px; }
.mv-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; padding: 32px; }
.mv-label { display: block; font: 700 13px/1 var(--f-sans); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.mv-card p { font: 400 16px/1.6 var(--f-sans); color: rgba(255,255,255,0.85); }

/* === Values ticker === */
.values-ticker { position: relative; background: var(--tint); overflow: hidden; padding-block: 10px; }
.values-track { display: flex; width: max-content; gap: 40px; animation: valuesScroll 28s linear infinite; }
.values-item { display: inline-flex; align-items: center; gap: 40px; font: 600 20px/1 var(--f-sans); color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.values-dot { color: var(--accent); font-size: 14px; }
@keyframes valuesScroll { to { transform: translateX(-33.333%); } }
.about-grid > div:last-child { position: relative; z-index: 1; }

/* === Proceso / Cómo trabajamos === */
.proceso-section { padding-block: 96px; color: #fff; transition: background 900ms ease; overflow: hidden; }
.proceso-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .proceso-layout { grid-template-columns: 1.1fr 0.9fr; } }
.proceso-orbit { display: none; }
@media (min-width: 900px) { .proceso-orbit { display: block; } }
.proceso-orbit svg { width: 100%; height: auto; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(255,255,255,0.55); stroke-width: 1.2; opacity: 0; transition: opacity 2000ms cubic-bezier(.16,.84,.32,1); }
.orbit-ring.revealed { opacity: 1; }
.orbit-dot { fill: rgba(255,255,255,0.55); }
.orbit-spin { transform-origin: 200px 200px; }
.proceso-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 56px; flex-wrap: wrap; gap: 12px; }
.proceso-h1 { font: 700 28px/1 var(--f-display); letter-spacing: -0.01em; }
.proceso-labels { display: flex; flex-direction: column; gap: 4px; margin-bottom: 48px; }.proceso-label { font: 600 clamp(20px,3vw,34px)/1.35 var(--f-sans); color: rgba(255,255,255,0.4); letter-spacing: -0.01em; transition: color 500ms ease; }
.proceso-label.current { color: #fff; }
.proceso-track { position: relative; width: 100%; height: 2px; background: rgba(255,255,255,0.28); }
.proceso-fill { position: absolute; left: 0; top: 0; height: 100%; background: #fff; transition: width 900ms ease; }
.proceso-dot { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 0 0 8px rgba(255,255,255,0.15); transition: left 900ms ease; }
@media (max-width: 640px) { .proceso-section { padding-block: 64px; } }

/* === Service / Industry pages === */
.svc-page-hero { background: var(--navy); color: #fff; padding-top: calc(72px + clamp(56px,8vw,96px)); padding-bottom: clamp(56px,8vw,96px); }
.svc-page-hero .eyebrow { color: rgba(255,255,255,0.55); }
.svc-page-hero--img { position: relative; overflow: hidden; min-height: 60vh; display: flex; align-items: center; }
.svc-page-hero--img::before { content: ""; position: absolute; inset: 0; background: url("assets/carousels/banners/Todos%20los%20servicios.webp") center right/cover no-repeat; opacity: 1; }
.svc-page-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,26,48,0.82) 0%, rgba(11,26,48,0.52) 38%, rgba(11,26,48,0.18) 62%, rgba(11,26,48,0) 100%), linear-gradient(to top, rgba(11,26,48,0.35), rgba(11,26,48,0) 45%); }
.svc-page-hero--img .container { position: relative; z-index: 1; }
.svc-page-hero--img h1, .svc-page-hero--img .lead { text-shadow: 0 2px 24px rgba(11,26,48,0.45); }
@media (max-width: 700px) { .svc-page-hero--img::before { background-position: 38% center; } .svc-page-hero--img::after { background: linear-gradient(180deg, rgba(11,26,48,0.66), rgba(11,26,48,0.48)); } }
.svc-page-hero h1 { font: 700 clamp(34px,5vw,56px)/1.08 var(--f-display); letter-spacing: -0.01em; margin-top: 20px; max-width: 16ch; }
.svc-page-hero .lead { color: rgba(255,255,255,0.78); margin-top: 20px; max-width: 56ch; }
.svc-crumb { font: 500 13px/1 var(--f-mono); color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.svc-crumb a { color: rgba(255,255,255,0.7); }
.svc-placeholder { width: 100%; aspect-ratio: 16/7; background: var(--blue); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font: 500 13px/1 var(--f-mono); letter-spacing: 0.04em; margin-top: 48px; }
.svc-hero-figure { width: 100%; margin-top: clamp(40px,6vw,72px); margin-bottom: calc(-1 * clamp(56px,8vw,96px)); line-height: 0; }
.svc-hero-image { display: block; width: 100%; height: auto; border-radius: 0; }
.svc-block { padding-block: clamp(56px,8vw,96px); }
.svc-block:nth-child(even) { background: var(--tint); }
.svc-block-grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .svc-block-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.svc-block-label { font: 700 13px/1 var(--f-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.svc-block h2 { font: 700 clamp(26px,3vw,34px)/1.2 var(--f-display); color: var(--navy); margin-top: 12px; letter-spacing: -0.01em; }
.svc-block p { font-size: 17px; line-height: 1.65; color: var(--text); }
.svc-list { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
.svc-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--text); }
.svc-list .dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; }
.svc-steps { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.svc-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.svc-steps li:first-child { border-top: none; }
.svc-steps .n { font: 600 14px/1 var(--f-mono); color: var(--accent); }
.svc-steps b { color: var(--navy); }
.svc-includes { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-includes { grid-template-columns: 1fr 1fr; } }
.svc-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px; }
.svc-cta-band { background: var(--navy); color: #fff; padding-block: clamp(56px,8vw,88px); text-align: center; }
.svc-cta-band h2 { font: 700 clamp(28px,4vw,40px)/1.15 var(--f-display); max-width: 20ch; margin: 0 auto 16px; }
.svc-cta-band p { color: rgba(255,255,255,0.75); max-width: 52ch; margin: 0 auto 32px; }
.svc-cta-band--wide h2 { max-width: 34ch; }
.svc-cta-band--wide p { margin-bottom: 18px; }
.svc-cta-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; margin-top: 14px; }

/* === Services tile grid (home summary) === */
.svc-tile-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-tile-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .svc-tile-grid { grid-template-columns: 1fr 1fr 1fr; } }
.svc-tile { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: background 160ms ease; }
a.svc-tile:hover { background: var(--tint); }
.svc-tile-num { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.svc-tile h3 { font: 600 19px/1.25 var(--f-sans); color: var(--navy); letter-spacing: -0.01em; margin: 0; }
.svc-tile p { font: 400 14px/1.5 var(--f-sans); color: var(--text); margin: 0; flex-grow: 1; }
.svc-tile-link { font: 600 13px/1 var(--f-sans); color: var(--accent); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.svc-tile.is-static { opacity: 0.75; }
.svc-viewall { text-align: center; margin-top: 40px; }

.about-quote {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 32px;
  text-wrap: balance;
}
.about-quote::before { content: "\201C"; }
.about-quote::after  { content: "\201D"; }
.about-cite { font: 500 13px/1 var(--f-mono); color: var(--muted); margin-bottom: 36px; letter-spacing: 0.04em; }

.about-stack { display: grid; gap: 28px; max-width: 56ch; }
.about-stack .row { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; padding-top: 20px; border-top: 1px solid rgba(13,31,60,0.12); }
.about-stack .row .yr { font: 600 13px/1 var(--f-mono); color: var(--accent); padding-top: 4px; }
.about-stack .row p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text); }
.about-stack .row p b { color: var(--navy); font-weight: 600; }

/* === CTA final === */
.cta-section { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
  align-items: start;
}
@media (min-width: 980px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 80px; }
}
.cta-h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(36px, 5.5vw, 60px); line-height: 1.0;
  letter-spacing: -0.02em; color: #fff;
  text-wrap: balance; margin: 0 0 28px;
}
.cta-direct {
  display: grid; gap: 18px; margin-top: 36px;
}
.cta-direct .item {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.cta-direct .item:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.cta-direct .k { font: 500 11px/1 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.cta-direct .v { font: 500 17px/1.2 var(--f-mono); color: #fff; }
.cta-direct .v a { border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; }
.cta-direct .v a:hover { border-bottom-color: var(--accent); }

.cta-form {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  color: var(--text);
}
.cta-form h3 {
  font: 600 18px/1.2 var(--f-sans); color: var(--navy); margin: 0 0 6px;
}
.cta-form .form-sub {
  font: 500 13px/1.4 var(--f-sans); color: var(--muted); margin: 0 0 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font: 600 11px/1 var(--f-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea {
  font: 400 15px/1.4 var(--f-sans);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,125,210,0.16);
}
.field textarea { min-height: 90px; resize: vertical; }
.field .err { font: 500 12px/1.2 var(--f-sans); color: var(--error); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.cta-form .submit { width: 100%; justify-content: center; margin-top: 8px; }
.cta-form .legal { font: 500 11px/1.4 var(--f-mono); color: var(--muted); margin-top: 14px; text-align: center; }

.form-success {
  text-align: center; padding: 24px 8px;
}
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: #E8F5EE;
  color: #16A34A; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.form-success h3 { font: 600 22px/1.2 var(--f-display); color: var(--navy); margin: 0 0 8px; }
.form-success p { font-size: 14px; color: var(--text); margin: 0 0 16px; }
.form-success .meta { font: 500 12px/1.4 var(--f-mono); color: var(--muted); }

/* === Gallery carousel === */
.gallery-carousel { position: relative; width: 100vw; margin-left: calc(50% - 50vw); aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1400ms ease; }
.gallery-slide.active { opacity: 1; }
.gallery-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; padding: 0; transition: background 200ms ease, transform 200ms ease; }
.gallery-dot.active { background: #fff; transform: scale(1.3); }
.banner-carousel-section { padding-top: 0; padding-bottom: 0; background: var(--navy); }
.banner-carousel { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.banner-carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.02); transition: opacity 1400ms cubic-bezier(.16,.84,.32,1), transform 1400ms cubic-bezier(.16,.84,.32,1); }
.banner-carousel-slide.active { opacity: 1; transform: scale(1); }
.banner-carousel .gallery-dots { position: absolute; bottom: 20px; left: 0; right: 0; }

/* === Footer === */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-block: 72px 0;
}
.foot-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; }
}
.foot-brand { max-width: 36ch; }
.foot-brand .logo { color: #fff; margin-bottom: 18px; }
.foot-brand .logo .logo-mark { background: #fff; color: var(--navy); }
.foot-brand p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.55; margin: 0; }

.foot-col h4 { font: 600 11px/1 var(--f-sans); color: rgba(255,255,255,0.5); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-col a { font: 500 14px/1.3 var(--f-sans); color: rgba(255,255,255,0.78); }
.foot-col a:hover { color: #fff; }
.foot-col .mono-link { font-family: var(--f-mono); font-size: 13px; }

.foot-legal {
  margin-top: 56px;
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.18);
}
.foot-legal-inner {
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  font: 500 12px/1 var(--f-mono); color: rgba(255,255,255,0.45);
}
.foot-credit { flex: 0 0 100%; font: 400 9px/1.4 var(--f-sans); color: rgba(255,255,255,0.3); }
.foot-credit a { color: inherit; text-decoration: none; }
.foot-credit a:hover { color: #fff; }

/* Section header */
.section-head {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: 12px;
}
@media (min-width: 880px) {
  .section-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; }
  .section-head .head-aside { text-align: right; }
}
.section-head .lead { max-width: 46ch; }
.section-head.on-dark .lead { color: rgba(255,255,255,0.7); }

/* Centered section heading — used when "Aire" is on (default).
   Eyebrow becomes a pill at the top, H2 sits centered below, optional
   lead aligns center with constrained width. */
.section-head.centered {
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
  margin-bottom: 64px;
  gap: 20px;
}
@media (min-width: 880px) { .section-head.centered { grid-template-columns: 1fr; gap: 22px; } }
.section-head.centered .head-aside { text-align: center; }
.section-head.centered .lead { margin-inline: auto; max-width: 56ch; }
.section-head.centered .h2 {
  font-size: clamp(32px, 4.2vw, 52px);
}
.section-head.centered .eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(13,31,60,0.06);
  border-radius: 999px;
  color: var(--navy);
}
.section-head.centered .eyebrow::before { display: none; }
.section-head.centered.on-dark .eyebrow {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

/* Floating WA button */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(13,31,60,0.25);
  z-index: 40;
  border: none;
  transition: transform 200ms ease;
}
.fab-wa:hover { transform: translateY(-2px); }

/* Tweak surface tweaks */
.tw-section { padding-top: 18px; }

/* Sr-only */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Small utilities */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

/* === Plana directiva === */
.team-section { padding-block: var(--section-y); background: var(--white); border-top: 1px solid var(--line); }
.team-head { max-width: 56ch; margin-bottom: clamp(40px, 5vw, 64px); }
.team-head h2 { font: 400 clamp(30px, 3.4vw, 44px)/1.12 var(--f-display); color: var(--navy); margin: 16px 0 14px; letter-spacing: -0.01em; }
.team-head p { font: 400 16px/1.65 var(--f-sans); color: var(--text); text-wrap: pretty; margin: 0; }
.team-grid { display: grid; gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-member { display: flex; flex-direction: column; align-items: center; text-align: center; }
.team-photo { background: none; border: 0; position: relative; width: 100%; max-width: 208px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.team-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; display: block; }
.team-member h3 { font: 600 17px/1.3 var(--f-sans); color: var(--navy); margin: 22px 0 0; letter-spacing: -0.01em; }
.team-role { display: block; font: 600 11px/1.3 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }
.team-mail { display: inline-block; font: 500 13px/1.4 var(--f-mono); color: var(--muted); margin-top: 12px; word-break: break-all; transition: color .2s ease; }
.team-mail:hover { color: var(--accent); }

.artbreak-figure { width: 100%; margin-top: clamp(40px,6vw,72px); margin-bottom: calc(-1 * clamp(56px,8vw,96px)); line-height: 0; }
.artbreak-figure img { display: block; width: 100%; height: auto; }
.svc-cta-band--wide h2 { max-width: 34ch; }
.svc-cta-band--wide p { margin-bottom: 18px; }
.svc-cta-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; margin-top: 14px; }

/* Service variant: minimal list */
.svc-list {
  display: grid; gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.svc-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 200ms ease;
  cursor: pointer;
}
.svc-row:hover { background: rgba(45,125,210,0.04); }
.svc-row .svc-row-num { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.svc-row .svc-row-title { font: 600 22px/1.2 var(--f-sans); color: var(--navy); letter-spacing: -0.01em; }
.svc-row .svc-row-desc { font: 400 14px/1.4 var(--f-sans); color: var(--text); margin-top: 6px; max-width: 52ch; }
.svc-row .svc-row-arr { color: var(--accent); }
.svc-row:hover .svc-row-arr { transform: translateX(4px); }

/* === Stand-out CTA (framework's "stand-out color" idea) === */
[data-cta="standout"] .cta-standout {
  position: relative;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -8px rgba(45,125,210,0.55);
}
[data-cta="standout"] .cta-standout:hover {
  background: #246CB9;
  border-color: #246CB9;
  transform: translateY(-1px);
}
[data-cta="standout"] .cta-standout::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  opacity: 0.22;
  pointer-events: none;
  animation: standout-ring 2.4s ease-out infinite;
}
@keyframes standout-ring {
  0%   { transform: scale(0.96); opacity: 0.32; }
  70%  { transform: scale(1.06); opacity: 0;    }
  100% { transform: scale(1.06); opacity: 0;    }
}
[data-cta="subtle"] .cta-standout::after { display: none; }
[data-cta="subtle"] .cta-standout {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: none;
}
[data-cta="subtle"] .cta-standout.on-dark {
  background: #fff; border-color: #fff; color: var(--navy);
}

/* === About compact + pills (when About moves above the fold) === */
.about-compact .about-stack { display: none; }
.about-tldr .about-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
}
.about-pills .pill {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid rgba(13,31,60,0.10);
  border-radius: 999px;
  font: 500 13px/1.2 var(--f-sans);
  color: var(--text);
}
.about-pills .pill b {
  font: 700 13px/1 var(--f-display);
  letter-spacing: -0.005em;
  color: var(--navy);
}

/* === IMDI prominent (lead-magnet treatment) === */
.imdi-prominent { background: linear-gradient(180deg, #fff 0%, #fff 60%, var(--tint) 100%); }
.lead-magnet-flag {
  display: inline-block;
  font: 600 10px/1 var(--f-sans);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(45,125,210,0.08);
  border: 1px solid rgba(45,125,210,0.18);
  border-radius: 999px;
  padding: 8px 12px;
  margin-bottom: 28px;
}
.imdi-prominent .imdi-mock {
  box-shadow: 0 30px 60px -30px rgba(13,31,60,0.30), 0 1px 0 rgba(13,31,60,0.04);
}
.imdi-cta-row {
  margin-top: 36px;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
