/* ==========================================================================
   KPV del Ecuador · Landing page
   Colores tomados del logo institucional
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --plum: #533D4F;
  --plum-dk: #3E2D3B;
  --ink: #2E3B3A;
  --red: #EE3439;
  --coral: #F27F5B;
  --yellow: #FDC437;
  --green: #89C442;
  --teal: #4BC2BD;
  /* Variantes oscuras para texto sobre blanco (contraste AA) */
  --teal-dk: #17807B;
  --green-dk: #4A7F1B;
  --coral-dk: #BD4A26;

  --text: #2B2A2E;
  --muted: #5E5A62;
  --line: #E6E1E5;
  --bg: #FFFFFF;
  --bg-alt: #F7F5F6;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(46, 59, 58, .06), 0 8px 24px rgba(46, 59, 58, .07);
  --container: 1160px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--plum); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--plum); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-dk); }
.btn-ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--yellow); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Franja de colores ---------- */
.stripe { display: flex; height: 6px; }
.stripe i { flex: 1; }
.stripe i:nth-child(1) { background: var(--red); }
.stripe i:nth-child(2) { background: var(--coral); }
.stripe i:nth-child(3) { background: var(--yellow); }
.stripe i:nth-child(4) { background: var(--green); }
.stripe i:nth-child(5) { background: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 16px rgba(46, 59, 58, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 50px; height: auto; }
.brand-name { font-weight: 700; font-size: 1.2rem; color: var(--plum); line-height: 1; white-space: nowrap; }
.brand-name span { font-weight: 400; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 700;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a.is-active { color: var(--plum); border-color: var(--coral); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .2s, opacity .2s; }
.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); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 20px 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(46, 59, 58, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .2s, opacity .2s, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn):hover, .site-nav a.is-active { border-color: var(--line); }
  .site-nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}
.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--plum); }
.hero h1 em:nth-of-type(1) { box-shadow: inset 0 -.3em 0 rgba(75, 194, 189, .35); }
.hero h1 em:nth-of-type(2) { box-shadow: inset 0 -.3em 0 rgba(137, 196, 66, .35); }
.hero h1 em:nth-of-type(3) { box-shadow: inset 0 -.3em 0 rgba(242, 127, 91, .35); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-visual { display: flex; flex-direction: column; gap: 1rem; }
.hero-bar {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 92px; padding: 1rem 1.75rem;
  border-radius: 999px;
  color: #fff; text-decoration: none;
  transform: rotate(-8deg) translateX(var(--shift, 0));
  box-shadow: var(--shadow);
  animation: bar-in .7s cubic-bezier(.2, .8, .2, 1) both;
  transition: translate .25s;
}
.hero-bar:hover { translate: 10px 0; }
.bar-teal  { background: var(--teal-dk);  --shift: 0px;  animation-delay: .1s; }
.bar-green { background: var(--green-dk); --shift: 28px; animation-delay: .25s; }
.bar-coral { background: var(--coral-dk); --shift: 56px; animation-delay: .4s; }
.bar-verb { font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.bar-prog { font-size: .85rem; opacity: .92; }
@keyframes bar-in {
  from { opacity: 0; transform: rotate(-8deg) translateX(80px); }
  to   { opacity: 1; transform: rotate(-8deg) translateX(var(--shift, 0)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 420px; padding-right: 56px; }
  .hero-bar { min-height: 72px; padding: .75rem 1.4rem; }
  .bar-verb { font-size: 1.1rem; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head > p:last-child { color: var(--muted); font-size: 1.05rem; }

/* ---------- Diferenciadores ---------- */
.diff-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.diff-grid svg { width: 32px; height: 32px; color: var(--plum); margin-bottom: .75rem; }
.diff-grid li:nth-child(1) svg { color: var(--red); }
.diff-grid li:nth-child(2) svg { color: var(--coral-dk); }
.diff-grid li:nth-child(3) svg { color: var(--green-dk); }
.diff-grid li:nth-child(4) svg { color: var(--teal-dk); }
.diff-grid h3 { color: var(--ink); margin-bottom: .35rem; }
.diff-grid p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .diff-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Tarjetas de programas ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  --accent: var(--plum); --accent-dk: var(--plum);
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(46, 59, 58, .06), 0 16px 40px rgba(46, 59, 58, .12); }
.card-teal  { --accent: var(--teal);  --accent-dk: var(--teal-dk); }
.card-green { --accent: var(--green); --accent-dk: var(--green-dk); }
.card-coral { --accent: var(--coral); --accent-dk: var(--coral-dk); }
.card-tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dk); background: color-mix(in srgb, var(--accent) 16%, #fff);
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.card h3 { font-size: 1.3rem; color: var(--ink); }
.card-sub { color: var(--muted); font-size: .95rem; }
.facts { margin: .5rem 0 1.5rem; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }
.card-link { margin-top: auto; font-weight: 700; color: var(--accent-dk); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link span { display: inline-block; transition: transform .2s; }
.card:hover .card-link span { transform: translateX(4px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Detalle de programa ---------- */
.program { --accent: var(--plum); --accent-dk: var(--plum); border-top: 6px solid var(--accent); }
.program-teal  { --accent: var(--teal);  --accent-dk: var(--teal-dk); }
.program-green { --accent: var(--green); --accent-dk: var(--green-dk); }
.program-coral { --accent: var(--coral); --accent-dk: var(--coral-dk); }
.program .eyebrow { color: var(--accent-dk); }

.program-head { max-width: 820px; margin-bottom: 2.5rem; }
.program-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); color: var(--ink); margin-bottom: .25rem; }
.program-sub { font-size: 1.15rem; color: var(--muted); }
.promise {
  margin: 1.5rem 0 0; padding: 1rem 1.25rem;
  border-left: 5px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
}

.program-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.program-main > p:first-child { font-size: 1.05rem; }
.block-title { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 2rem 0 1rem; }

.modules { list-style: none; counter-reset: mod; display: grid; gap: .75rem; }
.modules li {
  counter-increment: mod;
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem 1rem 1rem;
}
.section-alt .modules li { border-color: transparent; box-shadow: 0 1px 2px rgba(46, 59, 58, .05); }
.mod-h {
  display: grid; place-items: center;
  height: 56px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1rem; line-height: 1;
}
.program-teal .mod-h, .program-green .mod-h, .program-coral .mod-h { background: var(--accent-dk); }
.modules h4 { color: var(--ink); margin-bottom: .2rem; }
.modules h4::before { content: counter(mod) ". "; color: var(--accent-dk); }
.modules p { margin: 0; font-size: .93rem; color: var(--muted); }

.program-side { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 20px); }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem; }
.section-alt .side-box { border-color: transparent; box-shadow: var(--shadow); }
.side-box h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dk); margin-bottom: .6rem; }
.side-box p { margin: 0; font-size: .93rem; }

.format { list-style: none; display: grid; gap: .3rem; margin-bottom: .75rem; font-size: .95rem; }
.format strong { color: var(--ink); }

.bullets, .checks { list-style: none; display: grid; gap: .45rem; font-size: .92rem; }
.bullets li, .checks li { position: relative; padding-left: 1.5rem; }
.bullets li::before {
  content: ""; position: absolute; left: .25rem; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--plum));
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--accent-dk, var(--plum)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.insight {
  margin-top: 2rem; padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--ink); color: #fff;
}
.insight h3 { color: #fff; }
.insight > p { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.insight-flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; counter-reset: fl; }
.insight-flow li {
  position: relative; counter-increment: fl;
  background: rgba(255, 255, 255, .08); border-radius: var(--radius-sm);
  padding: 2.1rem .75rem .75rem; font-size: .85rem; line-height: 1.35;
}
.insight-flow li::before {
  content: counter(fl); position: absolute; top: .6rem; left: .75rem;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--ink); font-weight: 700; font-size: .75rem;
}
.insight-flow strong { display: block; color: var(--green); }
@media (max-width: 700px) { .insight-flow { grid-template-columns: 1fr; } .insight-flow li { padding: .7rem .75rem .7rem 2.6rem; } .insight-flow li::before { top: .7rem; } .insight-flow strong { display: inline; } }

@media (max-width: 900px) {
  .program-grid { grid-template-columns: 1fr; gap: 2rem; }
  .program-side { position: static; }
}
@media (max-width: 480px) {
  .modules li { grid-template-columns: 48px 1fr; padding: .85rem; gap: .8rem; }
  .mod-h { height: 44px; font-size: .9rem; }
}

/* ---------- Executive Coaching (banda) ---------- */
.band { background: var(--plum); color: #fff; padding-block: clamp(2.75rem, 6vw, 4rem); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 36px;
  border-radius: 999px; background: var(--yellow); opacity: .9;
  transform: translateY(-110%) rotate(-12deg);
  box-shadow: 30px 64px 0 var(--red);
}
.band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.band-inner > div { max-width: 680px; }
.band .eyebrow { color: var(--yellow); }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .9); margin: 0; }
.band strong { color: #fff; }
@media (max-width: 800px) {
  .band-inner { flex-direction: column; align-items: flex-start; }
  .band::before { opacity: .25; }
}

/* ---------- Metodología ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--coral), var(--yellow), var(--green), var(--teal));
  border-radius: 3px;
}
.steps li { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 1rem;
  border-radius: 50%; background: #fff; border: 3px solid var(--plum);
  color: var(--plum); font-weight: 700; font-size: 1.15rem;
}
.steps h3 { color: var(--ink); }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }
.note {
  display: flex; gap: .85rem; align-items: flex-start;
  margin: 3rem 0 0; padding: 1.1rem 1.35rem;
  background: var(--bg-alt); border-radius: var(--radius-sm);
  font-size: .93rem; color: var(--muted);
}
.note svg { flex: none; width: 24px; height: 24px; color: var(--green-dk); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { display: grid; grid-template-columns: 50px 1fr; column-gap: 1rem; }
  .step-n { grid-row: span 2; margin: 0; }
}

/* ---------- Rutas de continuidad ---------- */
.routes { list-style: none; display: grid; gap: 1rem; }
.route {
  display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; align-items: center; gap: 1rem;
  background: #fff; border-radius: var(--radius); padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow);
}
.route-from { font-weight: 700; padding-left: .9rem; border-left: 5px solid var(--accent); color: var(--ink); }
.c-teal  { --accent: var(--teal); }
.c-green { --accent: var(--green); }
.c-coral { --accent: var(--coral); }
.c-plum  { --accent: var(--plum); }
.route-when { position: relative; color: var(--muted); font-size: .92rem; padding-right: 2.25rem; }
.route-when::after {
  content: "→"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 700; color: var(--plum);
}
.route-to { font-weight: 700; color: var(--plum); }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: .4rem; }
  .route-when { padding-right: 0; }
  .route-when::after { content: "↓"; position: static; display: block; transform: none; margin-top: .2rem; font-size: 1.1rem; }
}

/* ---------- Facilitador ---------- */
.facilitator { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fac-photo { position: relative; }
.fac-photo::before {
  content: ""; position: absolute; inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--red), var(--coral), var(--yellow), var(--green), var(--teal), var(--red));
  opacity: .9;
}
.fac-photo img { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 8px solid #fff; background: #fff; }
.fac-body h2 { margin-bottom: .25rem; color: var(--ink); }
.fac-role { font-weight: 700; color: var(--plum); font-size: 1.05rem; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .88rem; font-weight: 700; color: var(--ink); }
.fac-body .bullets { --accent: var(--plum); }
.fac-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem; }
.fac-roles div {
  font-size: .88rem; line-height: 1.45;
  padding: .9rem 1rem; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  border-top: 4px solid var(--accent);
}
.fac-roles strong { display: block; color: var(--ink); }
@media (max-width: 900px) {
  .facilitator { grid-template-columns: 1fr; }
  .fac-photo { max-width: 260px; margin: 14px auto 0; }
  .fac-roles { grid-template-columns: 1fr; }
}

/* ---------- Contacto ---------- */
.contact { background: var(--ink); color: #fff; padding-block: clamp(3.5rem, 8vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact .eyebrow { color: var(--yellow); }
.contact h2 { color: #fff; }
.contact-info > p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.contact-direct { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.contact-direct li { display: flex; align-items: center; gap: 1rem; }
.contact-direct svg {
  flex: none; width: 48px; height: 48px; padding: 12px;
  border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--teal);
}
.contact-direct span { display: block; font-size: .8rem; color: rgba(255, 255, 255, .7); }
.contact-direct a { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-direct a:hover { text-decoration: underline; }

.contact-form {
  background: #fff; color: var(--text);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--text);
  padding: .7rem .85rem;
  background: #fff; border: 1.5px solid #CFC8CD; border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(83, 61, 79, .15);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-error { display: block; color: #C21E23; font-size: .8rem; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { margin-top: .5rem; }
.form-status { margin: 1rem 0 0; font-size: .92rem; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--green-dk); }
.form-status.is-error { color: #C21E23; }
.form-status a { color: inherit; }
.form-detail { display: block; margin-top: .35rem; font-size: .78rem; font-weight: 400; color: var(--muted); }
.form-legal { margin: .75rem 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
  padding-block: 3rem 2rem;
}
.footer-brand img { width: 180px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 30em; }
.site-footer h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-contact a { color: var(--ink); text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--plum); text-decoration: underline; }
.copyright { border-top: 1px solid var(--line); padding-block: 1.25rem; margin: 0 auto; font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
