/* ==========================================================
   SAALSA — Landing page
   Paleta: azul marino + dorado
   Breakpoints: 1440 / 1100 / 960 (menú móvil) / 720 / 480 / 360
   ========================================================== */
:root {
  --navy-950: #050d1a;
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #16305a;
  --gold-300: #ecd29b;
  --gold-400: #d9b26f;
  --gold-500: #c39a52;
  --gold-600: #a07a3a;
  --ivory: #faf7f1;
  --ivory-2: #f2ece0;
  --ink: #1b2436;
  --muted: #5d6678;
  --muted-light: #aab4c6;
  --gold-grad: linear-gradient(135deg, #f0d9a4 0%, #c9a35c 45%, #9c7a3c 100%);
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(5, 13, 26, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Medidas fluidas */
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1180px;
  --nav-h: 72px;
  --section-y: clamp(64px, 10vw, 130px);
  --gap: clamp(1rem, 2.2vw, 1.6rem);
  --card-pad: clamp(1.5rem, 3vw, 2.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, .9rem + .15vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em;
  overflow-wrap: break-word; hyphens: manual;
}
h1 { font-size: clamp(2.15rem, 1.4rem + 3.6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem); }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: clamp(.68rem, .64rem + .2vw, .78rem);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--gold-600); }

.divider {
  width: 70px; height: 2px;
  background: var(--gold-grad);
  margin: 0 0 1.8rem;
  position: relative;
}
.divider::after {
  content: ""; position: absolute; top: 50%; left: 100%;
  width: 6px; height: 6px; margin: -3px 0 0 6px;
  background: var(--gold-500); transform: rotate(45deg);
}
.divider--center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: .9rem clamp(1.3rem, 3vw, 1.9rem);
  border-radius: 999px;
  font-size: clamp(.74rem, .7rem + .15vw, .82rem); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  text-align: center; line-height: 1.3;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
}
.btn--gold {
  background: var(--gold-grad);
  color: var(--navy-950);
  box-shadow: 0 10px 30px -10px rgba(201, 163, 92, .6);
}
.btn--outline {
  border: 1px solid rgba(217, 178, 111, .6);
  color: var(--gold-300);
}
.btn--sm { min-height: 40px; padding: .55rem 1.3rem; font-size: .72rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.1rem 0;
  padding-top: calc(1.1rem + env(safe-area-inset-top));
  transition: padding .3s ease;
}
.nav::before {
  /* fondo en pseudo-elemento: backdrop-filter en .nav rompería el menú móvil (position: fixed) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 17, 33, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .3s ease;
}
.nav.is-scrolled { padding-block: .65rem; padding-top: calc(.65rem + env(safe-area-inset-top)); }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; position: relative; z-index: 2; }
.nav__mark { height: clamp(32px, 4vw, 40px); width: auto; }
.nav__word { height: clamp(15px, 1.8vw, 20px); width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2rem); }
.nav__links a:not(.btn) {
  color: #d8dfeb;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .08em;
  position: relative;
  white-space: nowrap;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold-400);
  transition: width .3s ease;
}
.nav__backdrop { display: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  position: relative; z-index: 2;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--gold-400); transition: .3s; }
.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 ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse at 70% 40%, var(--navy-700) 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(32px, 6vw, 60px) + env(safe-area-inset-top)) 0 clamp(64px, 8vw, 90px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; width: min(700px, 120vw); aspect-ratio: 1; right: -100px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(201, 163, 92, .22) 0%, transparent 65%);
  filter: blur(20px);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(217, 178, 111, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 178, 111, .05) 1px, transparent 1px);
  background-size: clamp(40px, 5vw, 64px) clamp(40px, 5vw, 64px);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.25fr 1fr;
  align-items: center; gap: clamp(2rem, 5vw, 3rem);
}
.hero__lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 300;
  color: var(--muted-light); max-width: 34ch; margin-bottom: clamp(1.8rem, 3vw, 2.4rem);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__logo { position: relative; display: grid; place-items: center; }
.hero__logo img {
  width: min(360px, 80%);
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .55));
  animation: float 7s ease-in-out infinite;
}
.hero__ring {
  position: absolute; width: min(460px, 105%); aspect-ratio: 1;
  border: 1px solid rgba(217, 178, 111, .25);
  border-radius: 50%;
}
.hero__ring::before {
  content: ""; position: absolute; inset: 7%;
  border: 1px dashed rgba(217, 178, 111, .15);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(217, 178, 111, .5); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold-400); border-radius: 2px;
  animation: scroll 2s ease-in-out infinite;
}

@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--light { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: #e6ebf3; }
.section--deep { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #e6ebf3; }
.section--navy h2, .section--deep h2 { color: #fff; }
.section--light h2 { color: var(--navy-900); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); }
.section__intro { color: var(--muted); font-size: clamp(.98rem, .94rem + .2vw, 1.05rem); }
.section__intro--light { color: var(--muted-light); }

.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--top { align-items: start; }
.split__body .lead { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem); line-height: 1.45; color: var(--navy-900); }
.split__body p:not(.lead) { color: var(--muted); }
.section--navy .split__title p:not(.eyebrow) { color: var(--muted-light); }

.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Visión cards */
.card { border-radius: var(--radius); padding: var(--card-pad) clamp(1.4rem, 2.6vw, 2rem); position: relative; transition: transform .35s ease, border-color .35s ease; }
.card--dark {
  background: linear-gradient(160deg, rgba(22, 48, 90, .55), rgba(10, 22, 40, .6));
  border: 1px solid rgba(217, 178, 111, .18);
}
.card__num { font-family: var(--serif); font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem); line-height: 1; display: block; margin-bottom: 1rem; }
.card__num, .goal__num { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card h3 { color: var(--gold-300); }
.card p { color: var(--muted-light); margin: 0; }

/* Icons */
.icon {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--navy-900);
  margin-bottom: 1.4rem;
  box-shadow: 0 0 0 6px rgba(201, 163, 92, .12);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-400); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--gold { background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(201, 163, 92, .1); }
.icon--gold svg { stroke: var(--navy-950); }

/* Valores */
.value {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--card-pad) clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid var(--ivory-2);
  box-shadow: 0 10px 30px -22px rgba(10, 22, 40, .4);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative; overflow: hidden;
}
.value::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--gold-grad); transition: width .45s ease;
}
.value h3 { color: var(--navy-900); }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--gold-400), rgba(217, 178, 111, .1));
}
.timeline li {
  position: relative;
  padding: clamp(1.2rem, 2.4vw, 1.6rem) clamp(1.2rem, 2.6vw, 1.8rem);
  margin-bottom: 1.4rem;
  background: rgba(22, 48, 90, .4);
  border: 1px solid rgba(217, 178, 111, .15);
  border-radius: var(--radius);
}
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-2rem + 1px); top: 2rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid var(--gold-400);
  box-shadow: 0 0 0 5px rgba(201, 163, 92, .15);
}
.timeline__tag {
  display: inline-block; font-family: var(--serif); font-size: clamp(1.45rem, 1.3rem + .6vw, 1.7rem); font-weight: 600;
  color: var(--gold-300); margin-bottom: .3rem;
}
.timeline p { margin: 0; color: #c9d2e1; }

/* Objetivo general */
.goal {
  padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1.3rem, 2.2vw, 1.6rem);
  border-top: 2px solid var(--gold-500);
  background: linear-gradient(180deg, #fff, var(--ivory));
  border-radius: 0 0 var(--radius) var(--radius);
}
.goal__num { font-family: var(--serif); font-size: clamp(1.9rem, 1.7rem + .6vw, 2.2rem); font-weight: 600; display: block; margin-bottom: .6rem; }
.goal h3 { color: var(--navy-900); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.35rem); }
.goal p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Servicios */
.tabs {
  display: flex; justify-content: center; gap: .5rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  padding: .4rem;
  width: fit-content; max-width: 100%;
  border: 1px solid rgba(217, 178, 111, .25);
  border-radius: 999px;
}
.tab {
  background: none; border: 0; cursor: pointer;
  min-height: 44px;
  padding: .8rem 1.5rem; border-radius: 999px;
  color: var(--muted-light);
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  line-height: 1.3;
  transition: .25s ease;
}
.tab.is-active { background: var(--gold-grad); color: var(--navy-950); }
.tabpanel.is-active { animation: fadeUp .5s ease both; }

.service {
  background: rgba(22, 48, 90, .35);
  border: 1px solid rgba(217, 178, 111, .14);
  border-radius: var(--radius);
  padding: var(--card-pad) clamp(1.4rem, 2.4vw, 1.9rem);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.service h3 { color: #fff; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.35rem); }
.service p { color: var(--muted-light); margin: 0; font-size: .93rem; }

/* Metodología */
.steps {
  list-style: none; padding: 0; margin: 0 0 clamp(3.5rem, 7vw, 4.5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-500) 0 8px, transparent 8px 16px);
}
.step { text-align: center; position: relative; }
.step__num {
  width: 72px; height: 72px; margin: 0 auto 1.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-300);
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 0 8px var(--ivory), 0 0 0 9px rgba(201, 163, 92, .35);
  position: relative;
}
.step h3 { color: var(--navy-900); }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

.quote {
  margin: 0 auto; max-width: 900px; text-align: center;
  padding: clamp(2.6rem, 5vw, 3rem) clamp(1.4rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--navy-900);
  position: relative;
  box-shadow: var(--shadow);
}
.quote::before {
  content: "“"; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: clamp(5rem, 4rem + 4vw, 7rem); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 1.1vw, 1.7rem); line-height: 1.5; color: #fff; }
.quote cite { font-style: normal; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-400); }

/* CTA */
.cta {
  padding: clamp(72px, 12vw, 140px) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 163, 92, .2), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
  color: #fff; text-align: center;
}
.cta__inner { max-width: calc(760px + var(--gutter) * 2); }
.cta__mark { width: clamp(56px, 7vw, 70px); margin: 0 auto 2rem; }
.cta p { color: var(--muted-light); font-size: clamp(.98rem, .94rem + .2vw, 1.05rem); }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 1.5rem; }
.cta .cta__location { font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-400); }

/* Footer */
.footer {
  background: var(--navy-950); color: var(--muted-light);
  padding: 3rem 0 calc(3rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(217, 178, 111, .15);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; }
.footer__logo { height: 26px; width: auto; margin-bottom: 1rem; }
.footer p { margin: 0; font-size: .85rem; }
.footer .footer__copy { font-size: .75rem; opacity: .7; margin-top: .4rem; }

/* Reveal on scroll (solo si JS está activo) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Hover: solo en dispositivos con puntero (evita estados "pegados" en táctil) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(201, 163, 92, .75); }
  .btn--outline:hover { background: rgba(217, 178, 111, .12); border-color: var(--gold-400); }
  .nav__links a:not(.btn):hover { color: var(--gold-300); }
  .nav__links a:not(.btn):hover::after { width: 100%; }
  .card--dark:hover { transform: translateY(-6px); border-color: rgba(217, 178, 111, .5); }
  .value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .value:hover::before { width: 100%; }
  .tab:not(.is-active):hover { color: var(--gold-300); }
  .service:hover { transform: translateY(-6px); border-color: rgba(217, 178, 111, .5); background: rgba(22, 48, 90, .6); }
}
/* Feedback al tocar en pantallas táctiles */
@media (hover: none) {
  .btn:active { transform: scale(.97); }
  .tab:active { opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Pantallas grandes (≥1440) */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
  .hero__logo img { width: min(420px, 80%); }
  .hero__ring { width: min(520px, 105%); }
}

/* Laptops pequeñas / tablets horizontales (≤1100) */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before { display: none; }
}

/* Menú móvil + hero apilado (≤960) */
@media (max-width: 960px) {
  :root { --nav-h: 64px; }

  .nav__toggle { display: flex; margin-right: -10px; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; z-index: 1;
    width: min(340px, 86vw);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    padding: calc(var(--nav-h) + env(safe-area-inset-top)) max(2.2rem, env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) 2.2rem;
    background: var(--navy-950);
    border-left: 1px solid rgba(217, 178, 111, .2);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s ease, visibility 0s linear .4s;
  }
  .nav__links.is-open { transform: none; visibility: visible; transition: transform .4s ease, visibility 0s; }
  .nav__links a:not(.btn) { font-size: 1.05rem; padding: .35rem 0; }
  .nav__links .btn { margin-top: .6rem; }
  .nav__backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 0;
    background: rgba(5, 13, 26, .6);
    opacity: 0; visibility: hidden;
    transition: opacity .4s ease, visibility 0s linear .4s;
  }
  .nav__backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero__text { max-width: 640px; }
  .hero__logo { order: -1; }
  .hero__logo img { width: clamp(130px, 26vw, 220px); }
  .hero__ring { width: clamp(180px, 36vw, 300px); }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__scroll { display: none; }

  .split { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Pestañas como control segmentado de 3 columnas */
  .tabs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%; border-radius: var(--radius);
  }
  .tab { border-radius: 10px; padding: .7rem .6rem; font-size: .72rem; letter-spacing: .06em; }
}

/* Tablets verticales / teléfonos grandes (≤720) */
@media (max-width: 720px) {
  .grid--3 { grid-template-columns: 1fr; }

  /* Tarjetas en una columna: ícono a la izquierda para aprovechar el ancho */
  .value, .service {
    display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; align-items: start;
  }
  .value .icon, .service .icon { grid-row: span 2; margin-bottom: 0; width: 52px; height: 52px; }
  .value .icon svg, .service .icon svg { width: 23px; height: 23px; }
  .value h3, .service h3 { margin-bottom: .35em; }

  .tabs { grid-template-columns: 1fr; }
  .tab { font-size: .76rem; letter-spacing: .1em; }
}

/* Teléfonos (≤480) */
@media (max-width: 480px) {
  .hero__cta, .cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__cta .btn, .cta__actions .btn { width: 100%; }
  .hero__text { width: 100%; }

  .grid--4 { grid-template-columns: 1fr; }

  /* Pasos de metodología en formato lista vertical */
  .steps { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .steps::before {
    display: block; top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--gold-500) 0 8px, transparent 8px 16px);
  }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.2rem; text-align: left; align-items: center; }
  .step__num {
    grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.6rem;
    box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px rgba(201, 163, 92, .35);
  }
  .step h3 { margin: 0; align-self: end; }
  .step p { align-self: start; }

  .timeline { padding-left: 1.6rem; }
  .timeline li::before { left: calc(-1.6rem + 1px); top: 1.6rem; }

  .footer__logo { height: 22px; }
}

/* Teléfonos muy pequeños (≤360) */
@media (max-width: 360px) {
  .eyebrow { letter-spacing: .2em; }
  .nav__word { display: none; }
  .btn { letter-spacing: .08em; }
  .value, .service { grid-template-columns: 1fr; }
  .value .icon, .service .icon { grid-row: auto; margin-bottom: 1rem; }
}

/* Teléfonos en horizontal (poca altura) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 12px); padding-bottom: 32px; }
  .hero h1 { font-size: clamp(1.8rem, 4.2vw, 2.4rem); margin-bottom: .4em; }
  .hero .eyebrow { margin-bottom: .6rem; }
  .hero__lead { font-size: .95rem; margin-bottom: 1.2rem; max-width: 42ch; }
  .hero__cta .btn { min-height: 44px; padding-block: .7rem; }
  .hero__inner { grid-template-columns: 1.4fr 1fr; text-align: left; justify-items: stretch; }
  .hero__logo { order: 0; }
  .hero__logo img { width: min(170px, 70%); }
  .hero__ring { width: min(220px, 90%); }
  .hero__lead { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; flex-direction: row; }
  .hero__cta .btn { width: auto; }
  .nav__links { justify-content: flex-start; gap: 1rem; }
}

/* Impresión */
@media print {
  .nav, .hero__bg, .hero__scroll, .hero__ring, .tabs { display: none !important; }
  .tabpanel[hidden] { display: block !important; }
  .js .reveal { opacity: 1; transform: none; }
  .section, .hero, .cta { padding: 2rem 0; min-height: 0; }
}
