/* ==========================================================================
   DCONSULTING — DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color: navy = autoridad legal, oliva = calidez humana (tomados del logo) */
  --navy-900: #14243A;
  --navy-800: #1A324E;
  --navy-700: #223F60;
  --navy-600: #2C4F70;
  --navy-100: #E7ECF1;

  --olive-700: #6F6842;
  --olive-600: #8C8354;
  --olive-500: #A69A64;
  --olive-300: #D2C7A0;
  --olive-100: #F1ECDC;

  --canvas: #F1ECE1;
  --surface: #FBF8F2;
  --surface-tint: #EFE9DB;
  --border-subtle: rgba(20, 36, 58, 0.10);
  --border-strong: rgba(20, 36, 58, 0.18);

  --text-900: #16283F;
  --text-700: #3B4757;
  --text-500: #6C7686;
  --text-inverse: #F3F1E9;
  --text-inverse-muted: #B9C2CE;

  --success: #2F7D5D;

  /* Spacing — múltiplos de 4/8, exponencial a partir de 64px */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 144px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width: 1200px;
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain texture over the whole page — breaks up flat white/beige
   fields without adding visible "noise" as a design element in its own right. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url('../img/grain.png');
  background-size: 200px 200px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) {
  body::after { opacity: 0.035; }
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--text-900); }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

:focus-visible {
  outline: 2px solid var(--olive-600);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--olive-600);
  border-radius: var(--radius-pill);
}
.eyebrow--light { color: var(--olive-300); }
.eyebrow--light::before { background: var(--olive-300); }

.section__head { max-width: 640px; margin-bottom: var(--space-8); }
.section__head--light { max-width: 720px; }
.section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section__title--light { color: var(--text-inverse); }
.section__subtitle {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  color: var(--text-500);
  max-width: 60ch;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-800);
  color: var(--text-inverse);
  box-shadow: 0 8px 20px -10px rgba(20,36,58,0.55);
}
.btn--primary:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--navy-800); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 16px 32px; }
.btn--block { width: 100%; }

.btn__text-wrapper {
  overflow: hidden;
  position: relative;
  display: inline-grid;
}
.btn__text-wrapper span {
  grid-area: 1 / 1;
  transition: transform 0.3s var(--ease-out), opacity .3s var(--ease-out);
}
.btn__text-wrapper span:last-child { transform: translateY(100%); opacity: 0; }
.btn:hover .btn__text-wrapper span:first-child { transform: translateY(-100%); opacity: 0; }
.btn:hover .btn__text-wrapper span:last-child { transform: translateY(0); opacity: 1; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 236, 225, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 24px -20px rgba(20,36,58,0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand__mark { height: 34px; width: auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text-900);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-700);
  position: relative;
  padding: 4px 0;
}
.nav__list a.is-active { color: var(--navy-900); font-weight: 600; }
.nav__list a.is-active::after { right: 0; }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--olive-600);
  transition: right 0.3s var(--ease-out);
  border-radius: var(--radius-pill);
}
.nav__list a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy-900);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO — full-bleed stock photo with parallax + dark scrim
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0 var(--space-8);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -30% -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,32,52,0.88) 0%, rgba(20,32,52,0.82) 55%, rgba(20,32,52,0.94) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: var(--space-8);
}
.hero .eyebrow { color: var(--olive-300); }
.hero .eyebrow::before { background: var(--olive-300); }
.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 16ch;
  color: var(--text-inverse);
}
.hero__subtitle {
  margin-top: var(--space-5);
  font-size: 1.125rem;
  color: var(--text-inverse-muted);
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.hero .btn--ghost { color: var(--text-inverse); border-color: rgba(243,241,233,0.35); }
.hero .btn--ghost:hover { background: rgba(243,241,233,0.08); border-color: var(--text-inverse); }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--space-7);
  margin-top: var(--space-9);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(243,241,233,0.16);
}
.hero__stats dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-inverse);
}
.hero__stats dd {
  margin: var(--space-1) 0 0;
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
  max-width: 16ch;
}

.hero__visual { position: relative; }
.hex-grid { width: 100%; height: auto; overflow: visible; }
.hex-node {
  fill: rgba(20,36,58,0.55);
  stroke: rgba(243,241,233,0.35);
  stroke-width: 1.5;
  transition: stroke 0.4s var(--ease-out), fill 0.4s var(--ease-out);
}
.hex-node.is-active {
  stroke: var(--olive-300);
  fill: rgba(140,131,84,0.45);
}
.hex-link {
  stroke: rgba(243,241,233,0.16);
  stroke-width: 1;
}
.hex-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  fill: var(--text-inverse);
  text-anchor: middle;
  pointer-events: none;
}
.hex-pulse {
  fill: none;
  stroke: var(--olive-300);
  stroke-width: 1.5;
  opacity: 0;
}

/* ==========================================================================
   PAGE HERO — shorter parallax header used on inner pages
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--space-9) 0 var(--space-7);
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
}
.page-hero__bg {
  position: absolute;
  inset: -30% -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: -2;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,32,52,0.82) 0%, rgba(20,32,52,0.78) 45%, rgba(20,32,52,0.95) 100%);
}
.page-hero__content { max-width: 720px; }
.page-hero__title {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-inverse);
}
.page-hero__subtitle {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  color: var(--text-inverse-muted);
  max-width: 56ch;
}

/* ==========================================================================
   BADGE STRIP
   ========================================================================== */
.badge-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-tint);
}
.badge-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
}
.badge-chip {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-500);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   SECTIONS — GENERIC
   ========================================================================== */
.section { padding: var(--space-10) 0; }
.section--tinted { background: var(--surface-tint); }
.section--navy {
  background: var(--navy-900);
  background-image: radial-gradient(120% 100% at 15% 0%, rgba(140, 131, 84, 0.16), transparent 60%);
}

/* ==========================================================================
   MISIÓN / VISIÓN / VALORES
   ========================================================================== */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-9);
}
.mv-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
}
.mv-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.mv-card p { color: var(--text-500); }
.mv-card--values {
  grid-column: 1 / -1;
  background: var(--navy-900);
  color: var(--text-inverse-muted);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.mv-card--values .value-item h4 {
  font-family: var(--font-display);
  color: var(--olive-300);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.mv-card--values .value-item p { font-size: 0.9375rem; color: var(--text-inverse-muted); }

.story-grid {
  display: grid;
  gap: var(--space-5);
  max-width: 760px;
}
.story-grid .mv-card p { color: var(--text-700); font-size: 1.0625rem; line-height: 1.7; }

.why-us {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: var(--space-8);
}
.why-us__title { font-size: 1.5rem; font-weight: 600; }
.why-us__subtitle { margin-top: var(--space-3); color: var(--text-500); }
.why-us__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-6);
}
.why-us__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.why-us__item .icon { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.why-us__item h4 { font-size: 0.9375rem; font-weight: 600; color: var(--text-900); margin-bottom: 2px; }
.why-us__item p { font-size: 0.875rem; color: var(--text-500); }

/* ==========================================================================
   SERVICIOS — BENTO GRID
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--space-5);
}
.bento--teaser {
  grid-template-columns: repeat(3, 1fr);
}
.bento--teaser .bento-card--medium { grid-column: span 1; }
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color .3s var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(20,36,58,0.35);
  border-color: var(--border-strong);
}
.bento-card--large { grid-column: span 2; grid-row: span 2; }
.bento-card--medium { grid-column: span 2; }
.bento-card--small { grid-column: span 2; }
.bento-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--olive-100);
  color: var(--olive-700);
}
.bento-card h3 { font-size: 1.125rem; font-weight: 600; }
.bento-card p { font-size: 0.9375rem; color: var(--text-500); }
.bento-card__list { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-2); }
.bento-card__list li {
  font-size: 0.8125rem;
  color: var(--text-700);
  padding-left: var(--space-4);
  position: relative;
}
.bento-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive-500);
}

/* ==========================================================================
   PAQUETES / PRICING
   ========================================================================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card--recommended {
  border-color: var(--olive-500);
  box-shadow: 0 24px 48px -28px rgba(140,131,84,0.45);
  transform: translateY(-8px);
}
.price-card__badge {
  position: absolute;
  top: -14px;
  left: var(--space-6);
  background: var(--olive-600);
  color: var(--text-inverse);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.price-card__name { font-size: 1.25rem; font-weight: 600; }
.price-card__audience {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-500);
  min-height: 3.6em;
}
.price-card__price-block {
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--olive-100) 60%, transparent);
}
.price-card__price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.price-card__note {
  margin-top: var(--space-1);
  font-size: 0.8125rem;
  color: var(--text-500);
}
.price-card .btn { margin-top: var(--space-6); }
.price-card__features {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.price-card__features li {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-700);
}
.price-card__features .icon { color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   PROCESO (navy section)
   ========================================================================== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.process__step {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: var(--space-5);
}
.process__index {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--olive-300);
  letter-spacing: 0.04em;
}
.process__step h3 {
  color: var(--text-inverse);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: var(--space-3) 0 var(--space-2);
}
.process__step p { color: var(--text-inverse-muted); font-size: 0.9375rem; }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-9);
  align-items: start;
}
.contact__details { margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); }
.contact__details li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-700);
}
.contact__details .icon { color: var(--olive-600); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--text-900); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border-strong);
  background: var(--surface-tint);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease-out), background-color .2s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--olive-600);
  background: var(--surface);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field__hint { font-size: 0.875rem; color: var(--success); min-height: 1.2em; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-900); padding: var(--space-9) 0 var(--space-6); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(243,241,233,0.12);
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.footer__mark { height: 26px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__brand p { font-family: var(--font-display); color: var(--text-inverse); font-size: 1.0625rem; }
.footer__tagline { font-family: var(--font-body) !important; color: var(--olive-300) !important; font-size: 0.875rem !important; max-width: 32ch; }
.footer__nav h4, .footer__contact h4 {
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer__nav ul, .footer__contact ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__nav a { color: var(--text-inverse-muted); font-size: 0.9375rem; transition: color .2s var(--ease-out); }
.footer__nav a:hover { color: var(--olive-300); }
.footer__contact li { color: var(--text-inverse-muted); font-size: 0.9375rem; }
.footer__copy { color: var(--text-inverse-muted); font-size: 0.8125rem; margin-top: var(--space-6); text-align: center; }

/* ==========================================================================
   HOME — PILLARS / TEASERS
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.pillar-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--olive-100);
  color: var(--olive-700);
  margin-bottom: var(--space-4);
}
.pillar-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--space-2); }
.pillar-card p { font-size: 0.9375rem; color: var(--text-500); }

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.teaser-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}
.teaser-card__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-900);
  margin: var(--space-4) 0 var(--space-2);
}
.teaser-card h3 { font-size: 1.0625rem; font-weight: 600; }
.teaser-card p.audience { font-size: 0.875rem; color: var(--text-500); flex: 1; }
.teaser-card .btn { margin-top: var(--space-5); }
.section__foot { text-align: center; margin-top: var(--space-7); }

/* ==========================================================================
   EQUIPO (team roles)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: left;
}
.team-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--olive-300);
  margin-bottom: var(--space-4);
}
.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: var(--space-2); }
.team-card p { font-size: 0.875rem; color: var(--text-500); }

/* ==========================================================================
   CHECKLIST / AUTODIAGNÓSTICO
   ========================================================================== */
.checklist {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.checklist__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-7); }
.checklist__progress { min-width: 220px; }
.checklist__progress-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--olive-100);
  overflow: hidden;
}
.checklist__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--success);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-out);
}
.checklist__progress-label { margin-top: var(--space-2); font-size: 0.8125rem; color: var(--text-500); }
.checklist__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.checklist__block h3 { font-size: 1rem; font-weight: 600; margin-bottom: var(--space-4); }
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border-subtle);
  cursor: pointer;
}
.checklist__block .checklist__item:first-of-type { border-top: none; }
.checklist__item input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: var(--success);
  flex-shrink: 0;
}
.checklist__item span { font-size: 0.9375rem; color: var(--text-700); }
.checklist__item input:checked ~ span { color: var(--text-500); text-decoration: line-through; text-decoration-color: var(--border-strong); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq { max-width: 760px; }
.faq details {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-5) 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border-subtle); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-900);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.3s var(--ease-out); color: var(--olive-600); flex-shrink: 0; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq p {
  margin-top: var(--space-4);
  color: var(--text-500);
  font-size: 0.9375rem;
  max-width: 62ch;
}

/* ==========================================================================
   COMPARISON TABLE
   ========================================================================== */
.comparison { overflow-x: auto; }
.comparison table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comparison th, .comparison td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-subtle);
}
.comparison th { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); }
.comparison td:not(:first-child), .comparison th:not(:first-child) { text-align: center; }
.comparison tbody tr:last-child td { border-bottom: none; }
.comparison .icon.yes { color: var(--success); }
.comparison .icon.no { color: var(--border-strong); }
.comparison thead th:nth-child(3) { background: color-mix(in srgb, var(--olive-100) 50%, transparent); }

/* ==========================================================================
   CONTACT PAGE EXTRAS — map + hours
   ========================================================================== */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: var(--space-7);
  filter: grayscale(0.25);
}
.contact-map iframe { display: block; width: 100%; height: 280px; border: 0; }
.contact__hours { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); font-size: 0.9375rem; color: var(--text-700); }

/* ==========================================================================
   SECTION PHOTO — alternating full-bleed background with parallax
   ========================================================================== */
.section-photo { position: relative; overflow: hidden; isolation: isolate; }
.section-photo__bg {
  position: absolute;
  inset: -30% -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: -2;
}
.section-photo__scrim { position: absolute; inset: 0; z-index: -1; }
.section-photo__scrim--light {
  background: linear-gradient(180deg, rgba(241,236,225,0.95) 0%, rgba(241,236,225,0.92) 50%, rgba(241,236,225,0.97) 100%);
}
.section-photo__scrim--tinted {
  background: linear-gradient(180deg, rgba(239,233,219,0.95) 0%, rgba(239,233,219,0.92) 50%, rgba(239,233,219,0.97) 100%);
}
.section-photo__scrim--dark {
  background: linear-gradient(180deg, rgba(20,32,52,0.88) 0%, rgba(20,32,52,0.82) 50%, rgba(20,32,52,0.94) 100%);
}

/* ==========================================================================
   BENTO PHOTO TILE — mixes a real photo into the services grid
   ========================================================================== */
.bento-card--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 220px;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.bento-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,36,58,0.05) 0%, rgba(20,36,58,0.85) 100%);
}
.bento-card--photo .bento-card__caption {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  color: var(--text-inverse);
}
.bento-card--photo .bento-card__caption p {
  color: var(--text-inverse-muted);
  font-size: 0.875rem;
}
.bento-card--photo .bento-card__caption h3 { color: var(--text-inverse); }

/* ==========================================================================
   INLINE PHOTO — a photo woven into a block of text
   ========================================================================== */
.inline-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.inline-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,36,58,0.75) 100%);
}
.inline-photo__caption {
  position: relative;
  z-index: 1;
  padding: var(--space-5);
  color: var(--text-inverse);
  font-size: 0.9375rem;
  font-weight: 600;
  max-width: 32ch;
}
.story-grid .inline-photo { margin: var(--space-2) 0; }
.inline-photo--wide {
  margin-top: var(--space-6);
  min-height: 200px;
}

.team-photo-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  background-size: cover;
  background-position: center;
  margin-bottom: var(--space-7);
  position: relative;
}
.team-photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,36,58,0.1), rgba(20,36,58,0.55));
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .mv-card--values { grid-template-columns: repeat(2, 1fr); }
  .why-us { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card--large { grid-column: span 2; grid-row: span 1; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card--recommended { transform: none; order: -1; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .teaser-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer__brand { align-items: center; text-align: center; }
  .footer__nav, .footer__contact { text-align: center; }
  .footer__nav ul, .footer__contact ul { align-items: center; }
}

@media (max-width: 720px) {
  .container { padding: 0 var(--space-5); }
  .nav {
    position: fixed;
    inset: 72px var(--space-4) auto var(--space-4);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    box-shadow: 0 24px 48px -20px rgba(20,36,58,0.35);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .header__actions .btn--sm { display: none; }
  .nav-toggle { display: flex; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-card--values { grid-template-columns: 1fr 1fr; }
  .why-us__list { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--large, .bento-card--medium, .bento-card--small { grid-column: span 1; grid-row: span 1; }
  .process__steps { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: var(--space-4); }
  .team-grid { grid-template-columns: 1fr; }
  .checklist { padding: var(--space-6); }
  .checklist__head { flex-direction: column; align-items: flex-start; }
  .comparison table { font-size: 0.8125rem; }
  .page-hero { min-height: 34vh; }
}
