/* Norte Kapital Consultores — estilos del sitio
   Paleta tomada del logo y de la presentación corporativa. */

:root {
  --navy: #061934;
  --royal: #173b8f;
  --azure: #2d6be4;
  --indigo: #4a4fc8;
  --violet: #5454fc;
  --violet-dark: #4242e0;
  --paper: #fafbff;
  --mist: #eff1fc;
  --line: #dde1f4;
  --muted: #4a5574;
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 100px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); }
h1 { font-size: clamp(2rem, 3.7vw, 3.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.4rem); font-weight: 700; line-height: 1.16; letter-spacing: -0.018em; max-width: 21em; }
h2.wide { max-width: 27em; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.25; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  background: var(--violet);
  padding: 15px 26px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn:hover { background: var(--violet-dark); }
.btn-small { padding: 10px 18px; font-size: 0.88rem; }

.link { color: var(--violet-dark); font-weight: 600; text-underline-offset: 4px; }

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--indigo);
}
.badge-ink { background: var(--navy); color: #fff; margin-top: 14px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand img { height: 53px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--navy); }
.nav a:not(.btn):hover { color: var(--violet-dark); }
.menu-btn {
  display: none;
  font: 600 0.95rem var(--font-body);
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
}

/* ---------- Tratamiento fotográfico (unifica todas las fotos con la paleta) ---------- */
.photo { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.tone img { filter: grayscale(0.5) contrast(1.05) brightness(1.02); }
.tone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, rgba(23, 59, 143, 0.5) 0%, rgba(84, 84, 252, 0.26) 100%);
  mix-blend-mode: multiply;
}

/* ---------- Portada ---------- */
.hero {
  position: relative;
  padding: 64px 0 0;
  color: #fff;
  background:
    radial-gradient(60% 80% at 92% 12%, rgba(84, 84, 252, 0.38) 0%, rgba(84, 84, 252, 0) 70%),
    var(--navy);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.hero-copy .lead { margin-top: 24px; font-size: 1.3rem; line-height: 1.5; color: #c9d2f5; max-width: 28em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero .link { color: #fff; }
.hero-tag {
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: #aab4de;
}
.hero-tag::before { content: ""; width: 56px; height: 6px; border-radius: 3px; background: var(--violet); }

.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 20px -16px -16px 20px;
  border-radius: 30px 30px 30px 110px;
  border: 2px solid rgba(139, 139, 255, 0.55);
}
.hero-media .photo { aspect-ratio: 1.22; border-radius: 30px 30px 30px 110px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.hero-media img { object-position: 46% 40%; }

/* Escalera: cuatro ámbitos que van subiendo, apoyados en el borde inferior de la portada */
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.stair { animation: stair-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--delay, 0s); }
.stair a {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  height: var(--h);
  padding: 22px 24px;
  border-radius: 18px 18px 0 0;
  color: #fff; text-decoration: none;
  background: var(--bar);
  transition: filter 0.2s;
}
.stair a:hover { filter: brightness(1.12); }
.stair strong { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.stair span { font-size: 0.98rem; line-height: 1.4; opacity: 0.95; margin-top: 6px; }
.stair .badge { margin-top: 12px; }
.s1 { --bar: var(--royal);  --h: 150px; --delay: 0.10s; }
.s2 { --bar: var(--azure);  --h: 190px; --delay: 0.22s; }
.s3 { --bar: var(--indigo); --h: 230px; --delay: 0.34s; }
.s4 { --bar: var(--violet); --h: 270px; --delay: 0.46s; }
.stair a:focus-visible { outline-color: #fff; outline-offset: -4px; }

@keyframes stair-in {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Secciones ---------- */
.section { padding: 100px 0; }
.section-white { background: #fff; }
.section-mist { background: var(--mist); }
.section-navy { position: relative; overflow: hidden; background: radial-gradient(50% 60% at 100% 0%, rgba(84, 84, 252, 0.3) 0%, rgba(84, 84, 252, 0) 70%), var(--navy); color: #e8ecff; }

.sub { margin-top: 18px; max-width: 40em; color: var(--muted); font-size: 1.2rem; }
.section-navy h2, .section-navy .on-dark { color: #fff; }
.sub.on-dark { color: #b9c3ea; }

.statement, .principle, .note-line {
  display: block;
  padding: 26px 32px;
  border-radius: 18px;
  background: var(--mist);
  font-size: 1.25rem;
  line-height: 1.5;
}
.section-white .statement, .section-white .principle { background: var(--mist); }
.section-mist .principle { background: #fff; }
.principle { margin-top: 56px; }
.note-line { margin-top: 48px; background: var(--mist); }

/* Problema */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.pains { display: flex; flex-direction: column; gap: 28px; }
.pain { border-left: 4px solid var(--violet); padding-left: 22px; }
.pain h3 { margin-bottom: 6px; }
.pain p { color: var(--muted); }

/* Franja fotográfica */
.band { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 440px; background: var(--navy); }
.band-photo { min-height: 320px; }
.band-photo img { position: absolute; inset: 0; object-position: 50% 45%; }
.band-text {
  display: flex; align-items: center;
  padding: 56px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 56px 64px;
  background: linear-gradient(135deg, var(--royal) 0%, var(--navy) 85%);
}
.band-text p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.22; letter-spacing: -0.015em; color: #dfe5ff; max-width: 19em; }
.band-text strong { color: #fff; font-weight: 800; }

/* Qué hacemos */
.flow { margin-top: 52px; display: flex; flex-direction: column; gap: 32px; }
.flow-label { font-size: 0.98rem; margin-bottom: 14px; }
.sources { display: flex; flex-wrap: wrap; gap: 10px; }
.sources li { display: flex; flex-direction: column; padding: 9px 16px; background: #fff; border-radius: 10px; border-left: 3px solid var(--violet); }
.sources li span { font-weight: 700; line-height: 1.25; }
.sources li small { color: var(--muted); font-size: 0.84rem; line-height: 1.3; }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); }
.stage {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 210px;
  padding: 34px 42px 34px 40px;
  margin-left: -12px;
  color: #fff;
  background: var(--stage);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
}
.stage h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.stage p { font-size: 1rem; line-height: 1.45; opacity: 0.95; }
.stage.st1 { --stage: var(--navy);  margin-left: 0; padding-left: 28px; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); border-radius: 14px 0 0 14px; }
.stage.st2 { --stage: #1b4aa3; }
.stage.st3 { --stage: var(--indigo); }
.stage.st4 { --stage: var(--violet); }

.results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
.results li { position: relative; padding: 12px 0 12px 22px; border-top: 2px solid #d3d8f2; font-weight: 600; line-height: 1.35; }
.results li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }

.flow-note { margin-top: 44px; max-width: 46em; font-size: 1.12rem; color: var(--muted); }

/* Agentes exclusivos */
.agents { margin-top: 64px; padding-top: 56px; border-top: 1px solid #d3d8f2; }
.agents-head h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); letter-spacing: -0.015em; }
.agents-head p { margin-top: 10px; color: var(--muted); font-size: 1.12rem; }
.agents-head a { color: var(--violet-dark); font-weight: 600; text-underline-offset: 4px; }
.agent-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.agent { position: relative; border-radius: 20px; overflow: hidden; }
.agent .photo { aspect-ratio: 4 / 3.3; border-radius: 20px; }
.agent .photo::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(6, 25, 52, 0.92) 0%, rgba(6, 25, 52, 0) 58%); }
.agent h4 { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: #fff; }
.agent h4::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--violet); margin-bottom: 10px; }

/* Ámbitos */
.domains { margin-top: 52px; border-bottom: 1px solid var(--line); }
.domain {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 14px; align-items: start;
  padding: 36px 32px;
  border-top: 1px solid var(--line);
  border-left: 6px solid var(--c);
}
.d1 { --c: var(--royal); }
.d2 { --c: var(--azure); }
.d3 { --c: var(--indigo); }
.d4 { --c: var(--violet); }
.domain.is-first { background: var(--mist); }
.domain-photo { grid-column: 1 / -1; height: 280px; border-radius: 16px; margin-top: 14px; }
.domain-photo img { object-position: 50% 62%; }
.domain-head h3 { font-size: 1.4rem; margin-bottom: 8px; }
.domain-head p { color: var(--muted); max-width: 22em; }
.domain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.domain-list li { position: relative; padding-left: 22px; font-weight: 500; }
.domain-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* En la práctica */
.qa { margin-top: 52px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: stretch; }
.qa-questions { display: flex; flex-direction: column; gap: 12px; }
.qa-questions button {
  width: 100%; text-align: left; cursor: pointer;
  padding: 18px 22px; border-radius: 14px;
  color: #fff; font-family: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s, color 0.2s;
}
.qa-questions button span { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.qa-questions button small { display: block; margin-top: 4px; font-size: 0.95rem; color: #b9c3ea; }
.qa-questions button:hover { background: rgba(255, 255, 255, 0.12); }
.qa-questions button[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.qa-questions button[aria-selected="true"] small { color: var(--muted); }
.qa-questions button:focus-visible { outline-color: #fff; }

.qa-panel { background: #fff; color: var(--navy); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.qa-kicker { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: 1rem; }
.qa-value { margin-top: 6px; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -0.03em; }
.qa-value.is-text { font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.qa-context { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.qa-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

.pills { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28); color: #e8ecff; }

/* Método */
.method { margin-top: 56px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: stretch; }
.method-photo { min-height: 420px; border-radius: 24px 24px 24px 90px; }
.method-photo img { position: absolute; inset: 0; object-position: 72% 50%; }
.steps { display: flex; flex-direction: column; gap: 0; }
.steps li { position: relative; padding: 0 0 32px 64px; --c: var(--royal); }
.steps li:nth-child(2) { --c: var(--azure); }
.steps li:nth-child(3) { --c: var(--indigo); }
.steps li:nth-child(4) { --c: var(--violet); padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; top: 44px; bottom: 4px; left: 19px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.step-n { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.steps h3 { margin-bottom: 6px; padding-top: 6px; }
.steps p { color: var(--muted); font-size: 1.05rem; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-photo { aspect-ratio: 16 / 7; border-radius: 20px; margin-bottom: 32px; }
.contact-photo img { object-position: 50% 35%; }
.entry { border: 0; padding: 0; margin: 34px 0 0; min-width: 0; }
.entry legend { font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; padding: 0; }
.entry label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.entry label:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.entry label:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }
.entry input { margin-top: 5px; accent-color: var(--violet); width: 18px; height: 18px; flex-shrink: 0; }
.entry strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.entry small { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.4; margin-top: 2px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field label small { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--navy); padding: 12px 14px; background: #fff; border: 1px solid #c3c9e6; border-radius: 10px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(84, 84, 252, 0.3); border-color: var(--violet); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.form .btn { width: 100%; padding: 16px; }
.form-status { margin-top: 14px; font-size: 0.98rem; min-height: 1.4em; }
.form-status.is-error { color: #a32619; }
.form-status.is-ok { color: #1b6b3a; }

/* Pie */
.site-footer { background: var(--navy); color: #e8ecff; padding: 60px 0 24px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-logo { height: 48px; width: auto; }
.footer-tag { margin-top: 14px; color: #aab4de; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.footer-nav a { text-decoration: none; color: #e8ecff; font-weight: 500; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { margin-top: 44px; color: #aab4de; }
.footer-base small { display: block; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* ---------- Responsive ---------- */
/* Qué, cómo y para qué */
.simple { padding-top: 88px; padding-bottom: 88px; }
.triad { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.triad li { --c: var(--royal); display: flex; flex-direction: column; padding: 30px 28px 28px; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 18px; }
.triad .t2 { --c: var(--indigo); }
.triad .t3 { --c: var(--violet); }
.t-q { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); margin-bottom: 12px; }
.triad h3 { font-size: 1.28rem; line-height: 1.22; margin-bottom: 12px; }
.triad p { color: var(--muted); font-size: 1.04rem; }
.triad a { margin-top: auto; padding-top: 20px; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--violet-dark); text-decoration: none; }
.triad a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Problema -> solución */
.pain .fix { margin-top: 10px; color: var(--navy); }
.pain .fix strong { color: var(--violet-dark); }

/* Preguntas frecuentes */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); }

/* Llamados a la acción */
.stairs-label { margin-bottom: 14px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; color: #aab4de; }
.stair a { padding-bottom: 46px; }
.stair .go { position: absolute; left: 24px; bottom: 16px; font-style: normal; font-weight: 700; font-size: 1.3rem; line-height: 1; transition: transform 0.2s; }
.stair a:hover .go { transform: translateX(6px); }
.btn-light { margin-top: 28px; align-self: flex-start; background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); }
.band-text { flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-row { margin-top: 44px; }
.section-navy .btn { background: #fff; color: var(--navy); }
.section-navy .btn:hover { background: var(--mist); }
.domain-cta { grid-column: 1 / -1; margin-top: 4px; }
.domain-cta a { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--violet-dark); text-decoration: none; }
.domain-cta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1080px) {
  .results { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .hero { padding: 48px 0 0; }
  .hero-grid, .split, .qa, .contact, .method { grid-template-columns: 1fr; gap: 44px; }
  .hero-grid { padding-bottom: 48px; }
  .hero-media { margin-right: 16px; }
  .hero-media .photo { aspect-ratio: 1.45; }
  .stairs { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .stair a { height: auto; min-height: 0; border-radius: 16px 16px 0 0; }
  .band { grid-template-columns: 1fr; min-height: 0; }
  .band-photo { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .band-text { padding: 44px 24px; }
  .agent-cards { grid-template-columns: 1fr 1fr; }
  .triad { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .method-photo { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .section { padding: 72px 0; }
  .stages { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stage, .stage.st1 { margin-left: 0; clip-path: none; border-radius: 14px; min-height: 0; padding: 26px; }
  .domain { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 22px 24px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
}

@media (max-width: 600px) {
  body { font-size: 1.05rem; }
  .brand img { height: 46px; }
  .stage { padding: 22px; }
  .stairs, .agent-cards { grid-template-columns: 1fr; }
  .stair a { padding: 18px 20px; }
  .domain-photo { height: 190px; }
  .stages, .domain-list, .results { grid-template-columns: 1fr; }
  .results { gap: 0; }
  .qa-panel, .form { padding: 24px; }
  .statement, .principle, .note-line { padding: 20px 22px; font-size: 1.1rem; }
}


/* ---------- Animaciones de entrada (solo con JS activo y sin "reducir movimiento") ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-rv] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
  }
  html.js [data-rv="left"]  { transform: translateX(-36px); }
  html.js [data-rv="right"] { transform: translateX(36px); }
  html.js [data-rv="scale"] { transform: scale(0.94); }
  html.js [data-rv="photo"] { transform: translateY(32px) scale(0.97); }
  html.js [data-rv="photo"] img { transform: scale(1.14); transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
  html.js [data-rv].in { opacity: 1; transform: none; }
  html.js [data-rv="photo"].in img { transform: scale(1); }

  /* Portada: el texto entra al cargar */
  .hero-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
  .hero-media { animation: rise 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-media img { animation: drift 14s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }

  /* Línea del flujo de pasos que se dibuja */
  html.js .steps li::before { transform: scaleY(0); transform-origin: top; transition: transform 0.9s ease var(--d, 0ms); }
  html.js .steps li.in::before { transform: scaleY(1); }

  /* Detalles al pasar el mouse */
  .triad li, .agent, .stage { transition: transform 0.3s, box-shadow 0.3s; }
  .triad li:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(6, 25, 52, 0.1); }
  .agent img { transition: transform 0.7s; }
  .agent:hover img { transform: scale(1.06); }
}

/* Cabecera con sombra al hacer scroll */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 25, 52, 0.08); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stair { animation: none; }
  * { transition: none !important; }
}
