/* ===========================================================
   ASLO EMPRESARIAL — Landing Page
   Paleta de marca:
     Azul Rey  #0A2E73   Amarillo #F4C430
     Blanco    #FFFFFF   Gris     #B2B2B2
   Tipografía: Verdana (principal) · Montserrat (títulos)
   =========================================================== */

:root {
  --azul: #0A2E73;
  --azul-700: #0d3688;
  --azul-500: #17489f;
  --amarillo: #F4C430;
  --amarillo-600: #e0ad12;
  --blanco: #FFFFFF;
  --gris: #B2B2B2;

  /* Semantic — light theme */
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --text: #0e1a33;
  --text-soft: #4a5570;
  --text-mute: #7a839c;
  --border: #e3e7f0;
  --brand: var(--azul);
  --brand-ink: #ffffff;
  --shadow-sm: 0 2px 8px rgba(10, 46, 115, .06);
  --shadow-md: 0 12px 32px rgba(10, 46, 115, .10);
  --shadow-lg: 0 30px 70px rgba(10, 46, 115, .16);

  --font-title: "Montserrat", "Segoe UI", sans-serif;
  --font-body: Verdana, Geneva, "Segoe UI", Tahoma, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --nav-h: 74px;
}

[data-theme="dark"] {
  --bg: #071026;
  --bg-alt: #0a1730;
  --bg-elev: #0d1c3b;
  --surface: #0f2145;
  --text: #eaf0ff;
  --text-soft: #b7c2dc;
  --text-mute: #8492b3;
  --border: #1c2f57;
  --brand: #2f5fd0;
  --brand-ink: #ffffff;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, .45);
  --shadow-lg: 0 34px 80px rgba(0, 0, 0, .55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .btn, .kicker, .eyebrow {
  font-family: var(--font-title);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-weight: 700; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amarillo-600);
  margin-bottom: 14px;
}
[data-theme="dark"] .kicker { color: var(--amarillo); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-sub { color: var(--text-soft); margin-top: 14px; font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--azul); color: #fff; box-shadow: 0 10px 24px rgba(10, 46, 115, .28); }
.btn-primary:hover { background: var(--azul-700); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(10, 46, 115, .34); }
[data-theme="dark"] .btn-primary { background: var(--amarillo); color: #10203f; box-shadow: 0 10px 26px rgba(244, 196, 48, .25); }
[data-theme="dark"] .btn-primary:hover { background: var(--amarillo-600); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--azul); color: var(--azul); transform: translateY(-2px); }
[data-theme="dark"] .btn-ghost:hover { border-color: var(--amarillo); color: var(--amarillo); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 34px; color: var(--azul); flex: none; }
[data-theme="dark"] .brand-mark { color: var(--blanco); }
.brand-mark--sm { width: 38px; height: 30px; }
.brand-mark svg { width: 100%; height: 100%; }
.bridge .bridge-pylon { fill: currentColor; }
.bridge .bridge-deck { stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.bridge .cable { stroke: currentColor; stroke-width: 1.4; opacity: .8; }

.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-title); }
.brand-text strong { font-size: 1.25rem; font-weight: 800; letter-spacing: .22em; color: var(--text); }
.brand-text em { font-size: .58rem; font-style: normal; font-weight: 600; letter-spacing: .42em; color: var(--text-mute); margin-top: 3px; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-family: var(--font-title); font-weight: 600; font-size: .95rem; color: var(--text-soft); position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--amarillo); transition: width .25s; border-radius: 2px; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--azul); color: var(--azul); }
[data-theme="dark"] .theme-toggle:hover { border-color: var(--amarillo); color: var(--amarillo); }
.theme-toggle svg { width: 20px; height: 20px; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 3px; transition: transform .3s, opacity .3s; }

/* ===== HERO ===== */
.hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 65% at 60% 30%, #000 25%, transparent 75%);
  opacity: .5;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-glow--blue { width: 480px; height: 480px; background: var(--azul); top: -140px; left: -120px; opacity: .18; }
.hero-glow--gold { width: 420px; height: 420px; background: var(--amarillo); bottom: -160px; right: -80px; opacity: .16; }

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; color: var(--azul); background: color-mix(in srgb, var(--azul) 10%, transparent); border: 1px solid color-mix(in srgb, var(--azul) 22%, transparent); padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; }
[data-theme="dark"] .eyebrow { color: var(--amarillo); background: color-mix(in srgb, var(--amarillo) 12%, transparent); border-color: color-mix(in srgb, var(--amarillo) 28%, transparent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amarillo); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amarillo) 30%, transparent); }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 900; margin-bottom: 22px; }
.hero h1 .hl { color: var(--azul); position: relative; }
[data-theme="dark"] .hero h1 .hl { color: var(--amarillo); }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px; background: var(--amarillo); opacity: .35; z-index: -1; border-radius: 4px; }
[data-theme="dark"] .hero h1 .hl::after { opacity: .18; }

.lead { font-size: 1.12rem; color: var(--text-soft); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-stats { list-style: none; display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 26px; }
.hero-stats strong { display: block; font-family: var(--font-title); font-size: 1.7rem; font-weight: 800; color: var(--azul); }
[data-theme="dark"] .hero-stats strong { color: var(--amarillo); }
.hero-stats span { font-size: .85rem; color: var(--text-mute); }

/* Hero visual — envelope + stamp */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.envelope {
  position: relative;
  width: min(360px, 80%); aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--amarillo), var(--amarillo-600));
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-6deg);
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
.envelope-flap {
  position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(160deg, #f6cf47, #e8b41c);
  clip-path: polygon(0 0, 100% 0, 50% 78%);
  z-index: 2;
  border-bottom: 2px solid rgba(0,0,0,.06);
}
.envelope-body { position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.doc-line { height: 8px; background: rgba(10,46,115,.16); border-radius: 4px; }
.doc-line.short { width: 62%; }
.stamp {
  position: absolute; top: 46%; right: 18px;
  font-family: var(--font-title); font-weight: 900; font-size: .8rem; line-height: 1.05;
  color: #b02a2a; text-transform: uppercase; text-align: center; letter-spacing: .04em;
  border: 3px solid #b02a2a; border-radius: 8px; padding: 8px 12px;
  transform: rotate(-12deg); opacity: .88;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(176,42,42,.2);
}

.float-badge {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); color: var(--text);
  font-family: var(--font-title); font-weight: 600; font-size: .82rem;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.float-badge svg { width: 18px; height: 18px; color: #1f9d55; }
.float-badge--1 { top: 8%; left: -4%; animation: floaty 5s ease-in-out infinite; }
.float-badge--2 { bottom: 6%; right: -6%; animation: floaty 5.6s ease-in-out .6s infinite; }

@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }
.float-badge--1 { animation-name: floaty2; }
.float-badge--2 { animation-name: floaty2; }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--text-mute); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; z-index: 1; }
.scroll-hint span { width: 4px; height: 8px; background: var(--text-mute); border-radius: 3px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ===== TRUST STRIP ===== */
.trust { background: var(--azul); color: #fff; padding: 26px 24px; text-align: center; }
[data-theme="dark"] .trust { background: var(--bg-elev); border-block: 1px solid var(--border); }
.trust p { font-family: var(--font-title); font-weight: 600; opacity: .9; margin-bottom: 14px; font-size: .95rem; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; font-family: var(--font-title); font-weight: 700; letter-spacing: .04em; }
.trust-items i { width: 5px; height: 5px; border-radius: 50%; background: var(--amarillo); }

/* ===== ESENCIA ===== */
.esencia-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.esencia-copy h2 { margin-bottom: 20px; }
.esencia-copy p { color: var(--text-soft); margin-bottom: 16px; }
.esencia-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.esencia-tags span { font-family: var(--font-title); font-weight: 600; font-size: .82rem; padding: 7px 15px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-soft); }

.esencia-cards { display: grid; gap: 18px; }
.mini-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mc-icon { grid-row: 1 / 3; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--azul) 10%, transparent); color: var(--azul); }
[data-theme="dark"] .mc-icon { background: color-mix(in srgb, var(--amarillo) 14%, transparent); color: var(--amarillo); }
.mc-icon svg { width: 26px; height: 26px; }
.mini-card h3 { font-size: 1.1rem; }
.mini-card p { color: var(--text-mute); font-size: .9rem; grid-column: 2; }

/* ===== SERVICIOS ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--amarillo); transition: width .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--azul) 30%, var(--border)); }
.service-card:hover::before { width: 100%; }
.sc-num { font-family: var(--font-title); font-weight: 800; font-size: 2.4rem; color: color-mix(in srgb, var(--azul) 22%, transparent); line-height: 1; margin-bottom: 14px; }
[data-theme="dark"] .sc-num { color: color-mix(in srgb, var(--amarillo) 40%, transparent); }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: .93rem; }

/* ===== PMV ===== */
.pmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pmv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 30px; box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s, box-shadow .2s; }
.pmv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pmv-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--azul), var(--azul-500)); color: #fff; }
[data-theme="dark"] .pmv-icon { background: linear-gradient(135deg, var(--amarillo), var(--amarillo-600)); color: #10203f; }
.pmv-icon svg { width: 30px; height: 30px; }
.pmv-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.pmv-card p { color: var(--text-soft); font-size: .95rem; }

/* ===== TIMELINE ===== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gris) 0 8px, transparent 8px 16px); z-index: 0; }
.tl-step { position: relative; z-index: 1; text-align: center; }
.tl-dot { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--azul); box-shadow: 0 0 0 6px var(--bg-alt), var(--shadow-sm); }
[data-theme="dark"] .tl-dot { background: var(--amarillo); color: #10203f; }
.tl-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tl-step p { color: var(--text-soft); font-size: .9rem; }
.tl-step em { color: var(--amarillo-600); font-style: normal; font-weight: 700; }
[data-theme="dark"] .tl-step em { color: var(--amarillo); }

/* ===== VALORES ===== */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .2s, background .2s, color .2s; }
.value:hover { transform: translateY(-6px); background: var(--azul); color: #fff; }
[data-theme="dark"] .value:hover { background: var(--amarillo); color: #10203f; }
.value svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--azul); transition: color .2s; }
[data-theme="dark"] .value svg { color: var(--amarillo); }
.value:hover svg { color: #fff; }
[data-theme="dark"] .value:hover svg { color: #10203f; }
.value h4 { font-size: 1rem; font-weight: 700; }

/* ===== PODCAST ===== */
.podcast-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.podcast-cover { aspect-ratio: 1; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--azul), #061c4a); display: grid; place-items: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.podcast-cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--amarillo) 40%, transparent), transparent 55%); }
.pc-inner { position: relative; text-align: center; color: #fff; padding: 30px; }
.pc-tag { display: inline-block; font-family: var(--font-title); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--amarillo); border: 1px solid color-mix(in srgb, var(--amarillo) 50%, transparent); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; }
.pc-inner h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.pc-inner p { opacity: .82; margin-top: 6px; }
.pc-wave { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 46px; margin-top: 26px; }
.pc-wave i { width: 5px; background: var(--amarillo); border-radius: 3px; animation: wave 1.1s ease-in-out infinite; }
.pc-wave i:nth-child(odd) { animation-delay: .2s; }
.pc-wave i:nth-child(3n) { animation-delay: .4s; }
.pc-wave i:nth-child(4n) { animation-delay: .1s; }
@keyframes wave { 0%,100% { height: 12px; } 50% { height: 42px; } }

.podcast-copy h2 { margin-bottom: 16px; }
.podcast-copy > p { color: var(--text-soft); margin-bottom: 22px; }
.podcast-list { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.podcast-list li { position: relative; padding-left: 30px; color: var(--text-soft); }
.podcast-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--amarillo) 30%, transparent); border: 2px solid var(--amarillo); }

/* ===== CTA / CONTACTO ===== */
.cta { padding: clamp(64px, 9vw, 110px) 0; background: linear-gradient(150deg, var(--azul), #051736); color: #fff; }
[data-theme="dark"] .cta { background: var(--bg-alt); border-top: 1px solid var(--border); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-copy h2 { color: #fff; margin-bottom: 16px; }
[data-theme="dark"] .cta-copy h2 { color: var(--text); }
.cta-copy > p { opacity: .85; margin-bottom: 30px; font-size: 1.05rem; }
[data-theme="dark"] .cta-copy > p { color: var(--text-soft); opacity: 1; }
.cta-contacts { list-style: none; display: grid; gap: 16px; }
.cta-contacts li { display: flex; align-items: center; gap: 14px; }
.cta-contacts svg { width: 22px; height: 22px; color: var(--amarillo); flex: none; }
.cta-contacts a { transition: color .2s; }
.cta-contacts a:hover { color: var(--amarillo); }
[data-theme="dark"] .cta-contacts a { color: var(--text); }

.cta-form { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; border: 1px solid var(--border); }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-title); font-weight: 600; font-size: .85rem; }
.field input, .field textarea { font-family: var(--font-body); font-size: .95rem; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border); background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px color-mix(in srgb, var(--azul) 18%, transparent); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field textarea:focus { border-color: var(--amarillo); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amarillo) 22%, transparent); }
.form-msg { font-size: .88rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-msg.ok { color: #1f9d55; }
.form-msg.err { color: #d64545; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-elev); border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .brand-mark { color: var(--azul); margin-bottom: 14px; }
[data-theme="dark"] .footer-brand .brand-mark { color: var(--blanco); }
.footer-brand .brand-text strong { font-size: 1.3rem; letter-spacing: .22em; }
.footer-tagline { color: var(--text-mute); margin-top: 16px; max-width: 300px; font-size: .92rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h5 { font-family: var(--font-title); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer-cols a { display: block; color: var(--text-soft); font-size: .92rem; margin-bottom: 10px; transition: color .2s; }
.footer-cols a:hover { color: var(--azul); }
[data-theme="dark"] .footer-cols a:hover { color: var(--amarillo); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; }
.footer-bottom p { color: var(--text-mute); font-size: .82rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner, .esencia-grid, .podcast-grid, .cta-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; margin-top: 20px; }
  .services-grid, .pmv-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .timeline::before { display: none; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { gap: 32px; }

  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 20px; transform: translateY(-120%); transition: transform .35s; box-shadow: var(--shadow-md); }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 0; }
  .hamburger { display: flex; }
  .navbar.menu-open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .navbar.menu-open .hamburger span:nth-child(2) { opacity: 0; }
  .navbar.menu-open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .btn-primary.nav-cta { display: none; }
}

@media (max-width: 560px) {
  .services-grid, .pmv-grid, .values-grid, .timeline { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .nav-actions .btn { display: none; }
  .cta-form { padding: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

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