/* ==========================================================================
   Soluciones Viales Integrales — Sistema de diseño
   Paleta: azul tránsito profundo + amarillo señal (placa colombiana)
   Tipografía: Archivo (display, expandida) · Instrument Serif (acentos) · Manrope (texto)
   ========================================================================== */

:root {
  --navy-950: #040b1c;
  --navy-900: #071530;
  --navy-850: #0a1d40;
  --navy-800: #0d2654;
  --navy-700: #143474;
  --blue-600: #1f4fd1;
  --blue-500: #2f6bff;
  --blue-300: #8fb0ff;
  --blue-100: #dfe8ff;
  --yellow: #ffc21a;
  --yellow-600: #eaa800;
  --yellow-100: #fff4d1;
  --paper: #f5f2ea;
  --paper-2: #ece7db;
  --white: #ffffff;
  --ink: #0a1222;
  --ink-2: #2b3448;
  --muted: #5d667b;
  --line: rgba(10, 18, 34, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --wa: #25d366;
  --wa-dark: #128c4b;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-1: 0 1px 2px rgba(7, 21, 48, 0.06), 0 8px 24px -12px rgba(7, 21, 48, 0.18);
  --shadow-2: 0 2px 6px rgba(7, 21, 48, 0.08), 0 30px 60px -30px rgba(7, 21, 48, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Grano sutil para dar textura "impresa" */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--deep { background: var(--navy-950); color: var(--white); }
.section--white { background: var(--white); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 34px; height: 3px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 9px, transparent 9px 14px);
}
.section--dark .eyebrow, .section--deep .eyebrow, .on-dark .eyebrow, .cta-final .eyebrow { color: var(--blue-300); }
.price-band .eyebrow::before { background: repeating-linear-gradient(90deg, var(--ink) 0 9px, transparent 9px 14px); }

.display {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  line-height: 0.98; letter-spacing: -0.035em;
}
.h1 { font-size: clamp(44px, 7.2vw, 104px); }
.h2 { font-size: clamp(36px, 5.2vw, 72px); }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-stretch: 100%; letter-spacing: -0.01em; }
.hl { color: var(--yellow); }
.hl-blue { color: var(--blue-600); }
.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.section--dark .lead, .section--deep .lead, .on-dark .lead { color: rgba(255, 255, 255, 0.74); }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-display); font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(7, 21, 48, 0.55); }
.btn:hover::before { transform: translateX(120%); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--yellow:hover { box-shadow: 0 18px 44px -14px rgba(255, 194, 26, 0.6); }
.btn--wa { --bg: var(--wa); --fg: #04210f; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost-light { --bg: rgba(255, 255, 255, 0.06); --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, 0.14); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700;
  font-size: 15px; border-bottom: 2px solid var(--yellow); padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: var(--white);
  transition: background 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s, color 0.3s;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(5, 14, 34, 0.82); backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark { width: 44px; height: 44px; flex: none; --road: #f2f5fb; --dash: var(--navy-900); }
.brand-name { display: grid; gap: 3px; }
.brand-name b { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: 21px; letter-spacing: -0.02em; }
.brand-name span { font-family: var(--f-display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; opacity: 0.82; }
.brand--dark .brand-mark { --road: var(--ink); --dash: #fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; opacity: 0.86; transition: opacity 0.2s, background 0.2s;
}
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 6px, transparent 6px 10px);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700;
  font-size: 15px; padding: 8px 6px; opacity: 0.9;
}
.header-phone svg { width: 18px; height: 18px; color: var(--yellow); }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.menu-toggle::before { top: 17px; }
.menu-toggle span { top: 23px; }
.menu-toggle::after { top: 29px; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-950); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path 0.7s var(--ease); }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(34px, 9vw, 52px);
  letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line-light);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu nav a small { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--blue-300); letter-spacing: 0.1em; }
.mobile-menu nav a[aria-current="page"] { color: var(--yellow); }
.mobile-menu .btn { margin-top: 28px; }
.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 520px) {
  .header-cta .btn { display: none; }
  .brand-name b { font-size: 18px; }
  .brand-name span { font-size: 11px; }
  .brand-mark { width: 38px; height: 38px; }
}

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; min-height: 100svh; color: var(--white); background: var(--navy-950);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 11, 28, 0.94) 0%, rgba(4, 11, 28, 0.78) 38%, rgba(7, 21, 48, 0.35) 72%, rgba(7, 21, 48, 0.5) 100%),
    linear-gradient(180deg, rgba(4, 11, 28, 0.55) 0%, transparent 25%, transparent 65%, rgba(4, 11, 28, 0.95) 100%);
}
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; mix-blend-mode: color;
  background: radial-gradient(120% 90% at 80% 40%, rgba(31, 79, 209, 0.55), rgba(7, 21, 48, 0.6));
}
.hero-grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px;
}
.hero h1 { margin: 26px 0 28px; }
.hero h1 .serif { display: block; font-size: 1.04em; line-height: 1; margin-top: 0.06em; color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, 0.78); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: 14.5px; color: rgba(255, 255, 255, 0.8); }
.hero-badges li { display: inline-flex; align-items: center; gap: 9px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--yellow); }

/* Tarjeta flotante "estado del trámite" */
.status-card {
  position: relative; justify-self: end; width: min(100%, 390px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-l);
  padding: 26px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.status-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.status-card .tag {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--blue-300);
}
.live-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #8ff0b4; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ee07f; box-shadow: 0 0 0 0 rgba(62, 224, 127, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 224, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 224, 127, 0); } }
.status-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; }
.status-card .meta { font-size: 13.5px; color: rgba(255, 255, 255, 0.65); margin-top: 6px; }
.steps-mini { margin-top: 22px; display: grid; gap: 4px; position: relative; }
.steps-mini li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; font-size: 14.5px; }
.steps-mini .dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
}
.steps-mini .dot svg { width: 14px; height: 14px; }
.steps-mini .done .dot { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.steps-mini .active .dot { border-color: var(--yellow); }
.steps-mini .active .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.steps-mini small { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.steps-mini .pending { opacity: 0.55; }
.status-card footer { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Placa colombiana */
.plate {
  --w: 168px;
  display: inline-grid; place-items: center; width: var(--w); aspect-ratio: 2.6 / 1;
  background: linear-gradient(180deg, #ffd23d, #f5b800); color: #111;
  border-radius: 10px; border: 3px solid #111; box-shadow: inset 0 0 0 3px #ffd84f, 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  font-family: var(--f-display); font-weight: 800; font-stretch: 90%; letter-spacing: 0.04em;
  font-size: calc(var(--w) * 0.24); line-height: 1; position: relative; padding-bottom: 8%;
}
.plate::after {
  content: attr(data-city); position: absolute; bottom: 7%; font-size: calc(var(--w) * 0.068);
  font-weight: 700; letter-spacing: 0.24em; font-stretch: 100%;
}
.plate--float { position: absolute; left: -46px; bottom: -34px; --w: 150px; transform: rotate(-7deg); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-5deg) translateY(-8px); } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; display: none;
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .status-card { justify-self: start; }
}
@media (max-width: 560px) {
  .plate--float { left: auto; right: -8px; bottom: -40px; --w: 128px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; border-top: 1px solid var(--line-light); background: rgba(4, 11, 28, 0.7);
  backdrop-filter: blur(10px); overflow: hidden; color: var(--white);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 22px 14px 22px 0; margin-right: 14px;
  font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap;
}
.marquee-track span::after { content: ""; width: 26px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 8px, transparent 8px 12px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--light { background: var(--yellow); color: var(--ink); border: 0; }
.marquee--light .marquee-track span::after { background: var(--ink); height: 8px; width: 8px; border-radius: 50%; }

/* ---------- Page hero (internas) ---------- */
.page-hero {
  position: relative; color: var(--white); background: var(--navy-950); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(70px, 10vw, 140px)) 0 clamp(70px, 9vw, 120px);
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 11, 28, 0.96) 15%, rgba(7, 21, 48, 0.78) 55%, rgba(13, 38, 84, 0.45));
}
.page-hero .crumbs { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 28px; }
.page-hero .crumbs a:hover { color: var(--yellow); }
.page-hero h1 { max-width: 15ch; }
.page-hero h1 .serif { color: var(--yellow); }
.page-hero .lead { margin-top: 26px; color: rgba(255, 255, 255, 0.76); }
.page-hero-road {
  position: absolute; right: -40px; bottom: -60px; width: min(46vw, 560px); opacity: 0.9; z-index: -1; pointer-events: none;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 34px 28px; display: grid; gap: 6px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item b { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.04em; line-height: 1; }
.trust-item b em { font-style: normal; color: var(--yellow-600); }
.trust-item > span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 26px 18px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Bento de servicios ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 290px; gap: 18px; }
.tile {
  position: relative; border-radius: var(--radius-l); overflow: hidden; isolation: isolate; color: var(--white);
  padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy-800);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 11, 28, 0.05) 20%, rgba(4, 11, 28, 0.88)); }
.tile .num { position: absolute; top: 24px; left: 28px; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; opacity: 0.75; }
.tile .go {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.4s var(--ease), color 0.3s;
}
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go { background: var(--yellow); color: var(--ink); transform: rotate(-45deg); }
.tile h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 108%; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -0.025em; line-height: 1.02; }
.tile p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.78); max-width: 40ch; }
.tile ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tile ul li { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.16); }
.tile--a { grid-column: span 7; grid-row: span 2; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 5; }
.tile--d { grid-column: span 4; }
.tile--e { grid-column: span 4; }
.tile--f { grid-column: span 4; }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--yellow::before { display: none; }
.tile--yellow p { color: var(--ink-2); }
.tile--yellow .go { background: var(--ink); color: var(--white); }
.tile--yellow:hover .go { background: var(--white); color: var(--ink); }
.tile--yellow ul li { background: rgba(10, 18, 34, 0.08); border-color: rgba(10, 18, 34, 0.12); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .tile--a { grid-column: span 2; grid-row: span 1; }
  .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(280px, auto); }
  .tile { padding-top: 84px; }
  .tile .tile-plate { display: none; }
  .tile--a, .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: span 1; }
}

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.pillar { padding: 40px 30px 10px 0; border-right: 1px solid var(--line-light); margin-right: 30px; }
.pillar:last-child { border-right: 0; margin-right: 0; }
.pillar .icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(255, 194, 26, 0.2), rgba(255, 194, 26, 0.04)); color: var(--yellow);
  border: 1px solid rgba(255, 194, 26, 0.3); margin-bottom: 30px;
}
.pillar .icon svg { width: 28px; height: 28px; }
.pillar h3 { font-family: var(--f-display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.pillar p { font-size: 15.5px; color: rgba(255, 255, 255, 0.68); }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-right: 0; margin-right: 0; padding-right: 20px; border-bottom: 1px solid var(--line-light); padding-bottom: 36px; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Split intro con foto */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--rev { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

.photo-stack { position: relative; }
.photo-stack .main { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-2); }
.photo-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .float-card {
  position: absolute; right: -24px; bottom: 40px; width: min(260px, 70%);
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-2);
}
.photo-stack .float-card b { font-family: var(--f-display); font-weight: 800; font-size: 19px; display: block; letter-spacing: -0.02em; line-height: 1.15; }
.photo-stack .float-card span { font-size: 13.5px; color: var(--muted); }
.photo-stack .float-card .stars { color: var(--yellow-600); letter-spacing: 2px; font-size: 14px; margin-bottom: 6px; }
@media (max-width: 560px) { .photo-stack .float-card { right: 12px; bottom: 12px; } }

/* ---------- Proceso con carretera ---------- */
.road-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 80px; }
.road-line { position: absolute; left: 0; right: 0; top: 0; height: 80px; pointer-events: none; }
.road-line svg { width: 100%; height: 100%; overflow: visible; }
.road-line .road-base { stroke: var(--navy-800); stroke-width: 26; fill: none; stroke-linecap: round; }
.road-line .road-dash { stroke: var(--yellow); stroke-width: 3; fill: none; stroke-dasharray: 14 12; stroke-linecap: round; animation: roadmove 1.6s linear infinite; }
.section:not(.section--dark):not(.section--deep) .road-line .road-base { stroke: var(--ink); }
@keyframes roadmove { to { stroke-dashoffset: -26; } }
.road-step { position: relative; }
.road-step .pin {
  position: absolute; top: -80px; left: 0; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--ink);
  font-family: var(--f-display); font-weight: 800; font-size: 18px; box-shadow: 0 0 0 8px var(--paper), 0 10px 20px -6px rgba(0, 0, 0, 0.35);
}
.section--dark .road-step .pin { box-shadow: 0 0 0 8px var(--navy-900); }
.road-step h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; margin: 18px 0 10px; }
.road-step p { font-size: 15.5px; color: var(--muted); }
.section--dark .road-step p { color: rgba(255, 255, 255, 0.68); }
.road-step .time { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-600); }
.section--dark .road-step .time { color: var(--blue-300); }
@media (max-width: 960px) {
  .road-steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 84px; gap: 40px; }
  .road-line { display: none; }
  .road-steps::before { content: ""; position: absolute; left: 26px; top: 10px; bottom: 10px; width: 4px; background: repeating-linear-gradient(180deg, var(--yellow) 0 14px, transparent 14px 24px); }
  .road-step .pin { top: -4px; left: -84px; }
  .road-step h3 { margin-top: 6px; }
}

/* ---------- Banda de precio ---------- */
.price-band {
  position: relative; border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: var(--yellow); color: var(--ink); padding: clamp(36px, 5vw, 70px);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
}
.price-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(10, 18, 34, 0.06); z-index: -1;
}
.price-band h2 { font-size: clamp(32px, 4.2vw, 58px); }
.price-band .factors { display: grid; gap: 12px; }
.price-band .factors li {
  display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.5); border-radius: 14px; padding: 16px 18px; font-size: 15.5px;
}
.price-band .factors b { font-family: var(--f-display); display: block; font-size: 16.5px; }
.price-band .factors svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
@media (max-width: 900px) { .price-band { grid-template-columns: 1fr; } }

/* ---------- Video asesor ---------- */
.video-feature { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.phone-frame {
  position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 16;
  border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #1b2a4a, #050b1a);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone-frame video, .phone-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #000; }
.phone-frame .play {
  position: absolute; inset: 10px; border-radius: 30px; display: grid; place-items: center; color: var(--ink);
  background: linear-gradient(180deg, transparent 50%, rgba(4, 11, 28, 0.7)); transition: opacity 0.4s;
}
.phone-frame .play span {
  width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 194, 26, 0.6); animation: ring 2.2s infinite;
}
.phone-frame .play svg { width: 30px; height: 30px; margin-left: 4px; }
.phone-frame.is-playing .play { opacity: 0; pointer-events: none; }
.phone-frame .cap {
  position: absolute; left: 26px; right: 26px; bottom: 30px; color: var(--white); font-size: 13.5px; pointer-events: none; transition: opacity 0.4s;
}
.phone-frame .cap b { display: block; font-family: var(--f-display); font-size: 17px; }
.phone-frame.is-playing .cap { opacity: 0; }
@keyframes ring { 70% { box-shadow: 0 0 0 22px rgba(255, 194, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 26, 0); } }
.quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.01em; }
.quote::before { content: "“"; display: block; font-size: 2.2em; line-height: 0.6; color: var(--yellow); margin-bottom: 10px; }
.sig { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.sig img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--yellow); }
.sig b { font-family: var(--f-display); display: block; }
.sig span { font-size: 14px; opacity: 0.7; }
@media (max-width: 900px) { .video-feature { grid-template-columns: 1fr; } }

/* ---------- Cobertura ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.map-wrap { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.col-map { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.col-map path {
  fill: var(--navy-700); stroke: var(--navy-950); stroke-width: 1.1; stroke-linejoin: round;
  transition: fill 0.25s, transform 0.25s; cursor: pointer;
}
.col-map path:hover, .col-map path.is-active { fill: var(--yellow); }
.col-map path.is-home { fill: var(--blue-500); }
.map-wrap.is-lit .col-map path { animation: lit 0.6s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes lit { 0% { fill: var(--navy-700); } 50% { fill: var(--blue-500); } 100% { fill: var(--navy-700); } }
.map-tip {
  position: absolute; pointer-events: none; transform: translate(-50%, -130%);
  background: var(--white); color: var(--ink); padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 13.5px;
  box-shadow: var(--shadow-2); opacity: 0; transition: opacity 0.2s; white-space: nowrap;
}
.map-tip.show { opacity: 1; }
.map-legend { position: absolute; left: 0; bottom: 4%; display: grid; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--navy-700); border: 1px solid rgba(255, 255, 255, 0.3); }
.map-legend i.y { background: var(--blue-500); }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.city-list li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-light); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.city-list li:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
@media (max-width: 900px) { .coverage { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .map-legend { position: static; margin-top: 18px; grid-auto-flow: column; justify-content: start; gap: 18px; } }

/* ---------- Audiencias ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud {
  background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: transparent; }
.aud .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); margin-bottom: 22px; }
.aud .ic svg { width: 26px; height: 26px; }
.aud h3 { font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; line-height: 1.2; }
.aud p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 1000px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-950); }
.cta-final .bg { position: absolute; inset: 0; z-index: -1; }
.cta-final .bg video, .cta-final .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.cta-final .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 20% 50%, rgba(4, 11, 28, 0.6), rgba(4, 11, 28, 0.95)); }
.cta-final .inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: end; }
.cta-final h2 { font-size: clamp(42px, 6.4vw, 96px); }
.cta-final h2 .serif { color: var(--yellow); }
.cta-final .actions { display: grid; gap: 14px; }
.cta-final .phone-big { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; display: block; margin-top: 4px; }
.cta-final small { color: rgba(255, 255, 255, 0.6); font-size: 13.5px; }
@media (max-width: 900px) { .cta-final .inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.72); padding: 90px 0 30px; font-size: 15px; position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 64px);
  opacity: 0.85;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { font-family: var(--f-display); color: var(--white); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brand { color: var(--white); margin-bottom: 22px; }
.site-footer .about { max-width: 36ch; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--yellow); flex: none; margin-top: 3px; }
.footer-bottom {
  margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13.5px; color: rgba(255, 255, 255, 0.5);
}
.footer-word {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; letter-spacing: -0.05em; line-height: 0.8;
  font-size: clamp(52px, 11.2vw, 158px); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  margin-top: 70px; white-space: nowrap; overflow: hidden; user-select: none;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; align-items: center; gap: 12px;
}
.wa-float .bubble {
  background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 4px 16px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-2); max-width: 220px; line-height: 1.35;
  opacity: 0; transform: translateY(8px) scale(0.96); transform-origin: bottom right; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.wa-float.show-bubble .bubble { opacity: 1; transform: none; }
.wa-float .bubble b { display: block; font-family: var(--f-display); font-size: 13px; color: var(--wa-dark); }
.wa-btn {
  width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(18, 140, 75, 0.7); position: relative; transition: transform 0.3s var(--ease);
}
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waves 2.4s infinite; }
@keyframes waves { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; } .wa-float .bubble { display: none; } }

/* ---------- Servicios: filtros y tarjetas ---------- */
.filter-bar {
  position: sticky; top: 70px; z-index: 40; background: rgba(245, 242, 234, 0.9); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.filter-bar .container { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.filter-bar .container::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 11px 18px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 14.5px;
  border: 1.5px solid var(--line); background: var(--white); transition: all 0.25s var(--ease); display: inline-flex; gap: 8px; align-items: center;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip .count { font-size: 12px; opacity: 0.6; }

.svc-group { padding-block: clamp(60px, 8vw, 110px); border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.svc-group:last-of-type { border-bottom: 0; }
.svc-group-head { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.svc-group-head .media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-1); }
.svc-group-head .media img { width: 100%; height: 100%; object-fit: cover; }
.svc-group-head .idx { font-family: var(--f-display); font-weight: 800; font-size: 14px; letter-spacing: 0.2em; color: var(--blue-600); }
.svc-group-head h2 { margin: 14px 0 18px; }
@media (max-width: 900px) { .svc-group-head { grid-template-columns: 1fr; gap: 28px; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.svc .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--navy-900); color: var(--yellow); display: grid; place-items: center; }
.svc .ic svg { width: 24px; height: 24px; }
.svc h3 { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; }
.svc p { font-size: 15px; color: var(--muted); }
.svc ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 14.5px; margin-top: 2px; }
.svc ul li { display: flex; gap: 10px; align-items: flex-start; }
.svc ul li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--yellow-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1222' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.svc .svc-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.svc .svc-foot small { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.svc .wa-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 14px;
  color: var(--wa-dark); white-space: nowrap;
}
.svc .wa-link svg { width: 18px; height: 18px; }
.svc .wa-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc .badge {
  position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); padding: 5px 10px; border-radius: 999px;
}
.svc.is-hidden, .svc-group.is-hidden { display: none; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* Campañas (flyers del cliente) */
.campaigns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.campaign {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-1); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); cursor: zoom-in;
}
.campaign img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.campaign:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-2); }
.campaign figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(4, 11, 28, 0.85); color: var(--white);
  font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 12px; backdrop-filter: blur(6px);
}
@media (max-width: 1000px) { .campaigns { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .campaigns { grid-template-columns: 1fr 1fr; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 11, 28, 0.9); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 16px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); }
.lightbox .close {
  position: absolute; top: -18px; right: -18px; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-2);
}
.lightbox .close svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .lightbox .close { top: 8px; right: 8px; } }

/* ---------- Cómo funciona ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); align-items: start; }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item .n { font-family: var(--f-display); font-weight: 900; font-stretch: 120%; font-size: 72px; line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.tl-item:hover .n { color: var(--yellow); -webkit-text-stroke-color: var(--yellow-600); }
.tl-item .n { transition: color 0.3s; }
.tl-item h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.08; }
.tl-item .when { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); }
.tl-item p { color: var(--ink-2); }
.tl-item ul { margin-top: 14px; padding-left: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.tl-item ul li::before { content: "—"; color: var(--yellow-600); margin-right: 10px; font-weight: 800; }
@media (max-width: 860px) { .tl-item { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; } .tl-item .n { font-size: 56px; } }

/* Requisitos interactivos */
.req-tool { display: grid; grid-template-columns: 340px 1fr; gap: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--white); box-shadow: var(--shadow-2); }
.req-tabs { background: var(--navy-900); color: var(--white); padding: 18px; display: grid; gap: 4px; align-content: start; }
.req-tabs button {
  text-align: left; padding: 15px 16px; border-radius: 12px; font-family: var(--f-display); font-weight: 700; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.75); transition: background 0.2s, color 0.2s;
}
.req-tabs button svg { width: 16px; height: 16px; opacity: 0; transition: opacity 0.2s, transform 0.3s var(--ease); }
.req-tabs button:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.req-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); }
.req-tabs button[aria-selected="true"] svg { opacity: 1; }
.req-panel { padding: clamp(28px, 4vw, 52px); }
.req-panel[hidden] { display: none; }
.req-panel h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; }
.req-panel > p { color: var(--muted); margin-top: 8px; }
.checklist { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 10px; }
.checklist label {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.checklist label:hover { border-color: var(--ink); }
.checklist input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--ink); flex: none; margin: 1px 0 0; display: grid; place-items: center; transition: background 0.2s; cursor: pointer; }
.checklist input:checked { background: var(--yellow); border-color: var(--yellow-600); }
.checklist input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }
.req-progress { margin-top: 24px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; }
.req-progress .bar { flex: 1; height: 8px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }
.req-progress .bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--yellow) 0 12px, var(--yellow-600) 12px 18px); transition: width 0.5s var(--ease); }
.req-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); padding: 14px 16px; background: var(--paper); border-radius: 12px; }
.req-panel .btn { margin-top: 24px; }
@media (max-width: 860px) {
  .req-tool { grid-template-columns: 1fr; }
  .req-tabs { display: flex; overflow-x: auto; padding: 12px; }
  .req-tabs button { flex: none; }
  .req-tabs button svg { display: none; }
}

/* Garantías */
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guarantee { padding: 34px; border-radius: var(--radius-l); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light); }
.guarantee .ic { color: var(--yellow); margin-bottom: 24px; }
.guarantee .ic svg { width: 36px; height: 36px; }
.guarantee h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.guarantee p { color: rgba(255, 255, 255, 0.68); font-size: 15.5px; }
@media (max-width: 900px) { .guarantees { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.manifesto { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: clamp(30px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.manifesto .serif { color: var(--blue-600); font-weight: 400; }
.manifesto .dim { color: rgba(10, 18, 34, 0.28); transition: color 0.6s; }
.manifesto.in .dim { color: rgba(10, 18, 34, 0.28); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
.value { background: var(--paper); padding: 38px 32px; transition: background 0.3s; }
.value:hover { background: var(--white); }
.value .k { font-family: var(--f-display); font-size: 13px; font-weight: 800; letter-spacing: 0.2em; color: var(--blue-600); }
.value h3 { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -0.025em; margin: 16px 0 10px; }
.value p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv article { border-radius: var(--radius-l); padding: clamp(30px, 4vw, 52px); position: relative; overflow: hidden; }
.mv article:first-child { background: var(--navy-900); color: var(--white); }
.mv article:last-child { background: var(--yellow); }
.mv h3 { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 22px; font-weight: 800; }
.mv p { font-family: var(--f-display); font-weight: 600; font-size: clamp(21px, 2vw, 27px); line-height: 1.3; letter-spacing: -0.015em; }
@media (max-width: 800px) { .mv { grid-template-columns: 1fr; } }

.ally { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; background: var(--white); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 56px); box-shadow: var(--shadow-1); }
.ally img { border-radius: var(--radius); box-shadow: var(--shadow-2); cursor: zoom-in; }
.ally .tagline { display: inline-flex; gap: 8px; align-items: center; background: #e7f6e9; color: #156b2b; font-weight: 800; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.ally dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 26px 0; font-size: 15.5px; }
.ally dt { font-weight: 800; font-family: var(--f-display); }
.ally dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .ally { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow-1); }
.c-card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-900); color: var(--yellow); }
.c-card .ic svg { width: 24px; height: 24px; }
.c-card--wa .ic { background: var(--wa); color: var(--white); }
.c-card small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.c-card b { font-family: var(--f-display); font-size: 20px; letter-spacing: -0.015em; }
.c-card .arr { width: 20px; height: 20px; color: var(--muted); }
.hours { margin-top: 10px; padding: 24px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); }
.hours h3 { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 14px; }
.hours ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.hours li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line-light); padding-bottom: 8px; font-size: 15px; }
.hours li:last-child { border: 0; }
.open-now { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 13.5px; font-weight: 700; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ee07f; }
.open-now.closed::before { background: #ff8f6b; }

.quote-form { background: var(--white); border-radius: var(--radius-l); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.quote-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 26px, var(--ink) 26px 40px); }
.quote-form h2 { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 16px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(255, 194, 26, 0.35); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1222' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 700; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; transition: all 0.2s; }
.radio-pills input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form-foot { margin-top: 24px; display: grid; gap: 12px; }
.form-foot small { font-size: 13px; color: var(--muted); text-align: center; }
.wa-preview { margin-top: 18px; padding: 16px; border-radius: 14px; background: #e7f9ee; font-size: 14px; color: #0f3d22; white-space: pre-line; border: 1px solid #c6eed5; display: none; }
.wa-preview.show { display: block; }
.wa-preview b { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; color: var(--wa-dark); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow 0.3s, border-color 0.3s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--f-display); font-weight: 700; font-size: 18.5px; letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); flex: none; position: relative; transition: background 0.3s, transform 0.4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; background: var(--ink); border-radius: 2px; }
.faq summary .pm::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] summary .pm { background: var(--yellow); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .ans { padding: 0 26px 26px; color: var(--ink-2); max-width: 75ch; }
.faq .ans p + p { margin-top: 10px; }
.faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq-layout .sticky { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .sticky { position: static; } }

.map-embed { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 16 / 7; background: var(--paper-2); position: relative; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 5; } }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-mask { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.reveal-mask.in { clip-path: inset(0 0 0 0); }

.load-up { opacity: 0; transform: translateY(30px); animation: loadUp 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes loadUp { to { opacity: 1; transform: none; } }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + var(--i) * 70ms); }
@keyframes wordUp { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .load-up { opacity: 1; transform: none; }
  .reveal-mask { clip-path: none; }
  .split-words .w > span { transform: none; }
  .marquee-track { animation: none; }
}

/* Utilidades */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.note-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-light); font-size: 14px;
}
.note-pill b { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 3px 9px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Puntos de ciudades en el mapa */
.col-map .city circle.core { fill: var(--yellow); stroke: var(--navy-950); stroke-width: 1.5; }
.col-map .city circle.ring { fill: none; stroke: var(--yellow); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: cityPulse 2.8s var(--ease) infinite; animation-delay: var(--cd, 0s); }
.col-map .city text { fill: rgba(255, 255, 255, 0.85); font: 700 11px var(--f-body); paint-order: stroke; stroke: var(--navy-950); stroke-width: 3px; pointer-events: none; }
.col-map .city { pointer-events: none; }
@keyframes cityPulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
