/* ==========================================================================
   RedMad Asistencia Médica — Design System & Stylesheet
   Paleta: Azul intenso · Rojo corporativo · Blanco
   ========================================================================== */

:root {
  /* Color system */
  --navy:        #0a2a4a;
  --navy-deep:   #061a30;
  --blue:        #1768c4;
  --blue-bright: #2f8fef;
  --ice:         #eef4fb;
  --ice-2:       #f7fafd;
  --red:         #d62839;
  --red-deep:    #ad1d2c;
  --red-glow:    rgba(214, 40, 57, 0.35);
  --white:       #ffffff;
  --ink:         #11202f;
  --ink-soft:    #44586b;
  --gray:        #7488a0;
  --line:        rgba(10, 42, 74, 0.10);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #061a30 0%, #0a2a4a 46%, #103f72 100%);
  --grad-red:  linear-gradient(120deg, #d62839 0%, #ad1d2c 100%);
  --grad-blue: linear-gradient(120deg, #1768c4 0%, #0a2a4a 100%);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 60px -20px rgba(10, 42, 74, 0.25);
  --shadow-card: 0 14px 40px -16px rgba(10, 42, 74, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 96px; }
body.lock-scroll { overflow: hidden; }

::selection { background: var(--navy); color: var(--white); }

/* Accesibilidad: anillo de foco visible al navegar con teclado */
:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Enlace "saltar al contenido" (visible solo con teclado) */
.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 10000;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
  transition: top .3s ease;
}
.skip-link:focus-visible { top: 16px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-wrap: balance;
}

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

section { position: relative; }

/* Reveal-on-scroll base state */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }
[data-reveal-delay="3"] { transition-delay: .36s; }
[data-reveal-delay="4"] { transition-delay: .48s; }

/* -------------------------- Section heads ---------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.eyebrow.on-dark { color: #ff8a93; }
.eyebrow.on-dark::before { background: #ff8a93; }

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 18px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { margin-left: auto; margin-right: auto; }

.section-pad { padding: 110px 0; }
.bg-ice { background: var(--ice-2); }

/* ------------------------------ Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 16px 32px;
  border-radius: 100px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s ease, color .3s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-red);
  color: var(--white);
  box-shadow: 0 16px 40px -12px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -12px var(--red-glow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-3px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.btn-ghost {
  background: var(--ice);
  color: var(--navy);
}
.btn-ghost:hover { background: #dfeaf6; transform: translateY(-2px); }

.btn-sm { padding: 12px 24px; font-size: 0.85rem; }

/* =====================================================================
   PRELOADER / LANDING ANIMATION
   ===================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,143,239,0.35), transparent 70%);
  filter: blur(40px);
  animation: glowPulse 3.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.18); opacity: 0.85; }
}
.preloader-mark {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: markIn 1.1s var(--ease) 0.25s forwards;
}
@keyframes markIn {
  from { opacity: 0; transform: scale(0.85) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.preloader-ring {
  position: relative;
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-ring::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--red);
  border-right-color: var(--red);
  animation: spin 1.4s linear infinite;
}
.preloader-ring svg { width: 38px; height: 38px; position: relative; z-index: 2; }
.preloader-ring .ekg-line {
  stroke: var(--red);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: drawEkg 1.6s var(--ease) 0.6s forwards;
}
@keyframes drawEkg { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.preloader-word {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}
.preloader-word span { color: var(--red); }

.preloader-tagline {
  position: relative;
  margin-top: 26px;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  animation: markIn 1s var(--ease) 1.1s forwards;
}
.preloader-bar {
  position: relative;
  margin-top: 34px;
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: markIn 0.8s var(--ease) 1.3s forwards;
}
.preloader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: barSlide 1.4s ease-in-out infinite;
}
@keyframes barSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(360%); }
}

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 8px 32px -16px rgba(10,42,74,0.18);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 6px 22px -6px rgba(10,42,74,0.35);
  transition: transform .5s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: var(--white);
  transition: color .4s ease;
  line-height: 1.05;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 3px;
}
.site-header.is-scrolled .brand-text { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 10px 18px;
  border-radius: 100px;
  transition: color .35s ease, background .35s ease;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.site-header.is-scrolled .nav-links a { color: var(--ink-soft); }
.site-header.is-scrolled .nav-links a:hover { color: var(--navy); background: var(--ice); }
.nav-links a.is-active { color: var(--white); background: rgba(255,255,255,0.16); }
.site-header.is-scrolled .nav-links a.is-active { color: var(--navy); background: var(--ice); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-primary { padding: 13px 26px; font-size: 0.86rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  flex-direction: column;
  gap: 5px;
}
.site-header.is-scrolled .nav-toggle { background: var(--ice); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .35s var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* altura real del viewport en móviles (sin barra del navegador) */
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
}
.hero-glow.g1 { width: 560px; height: 560px; background: var(--blue-bright); top: -180px; right: -120px; animation: floatA 14s ease-in-out infinite; }
.hero-glow.g2 { width: 460px; height: 460px; background: var(--red); opacity: 0.22; bottom: -180px; left: -120px; animation: floatB 16s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 50px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, -40px); } }

.hero-particles { position: absolute; inset: 0; }
.hero-particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  animation: drift linear infinite;
}
@keyframes drift {
  from { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.4; }
  to   { transform: translateY(-120vh) scale(0.4); opacity: 0; }
}

.ekg-row {
  position: absolute;
  left: 0; right: 0;
  height: 90px;
  opacity: 0.35;
}
.ekg-row svg { width: 200%; height: 100%; }
.ekg-row .trace {
  stroke: var(--red);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
}
.ekg-row.r1 { top: 22%; }
.ekg-row.r1 svg { animation: scrollLeft 22s linear infinite; }
.ekg-row.r2 { bottom: 16%; opacity: 0.18; }
.ekg-row.r2 svg { animation: scrollLeft 30s linear infinite reverse; }
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .eyebrow { color: #ff9aa2; }
.hero-copy .eyebrow::before { background: #ff9aa2; }

.hero-copy h1 {
  font-size: clamp(1.85rem, 5.6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-copy h1 .accent { color: var(--red); position: relative; }
.hero-copy h1 .underline-draw {
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.16em;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 4px;
  transform-origin: left;
  transform: scaleX(0);
  animation: drawUnderline 1.2s var(--ease) 1.4s forwards;
}
@keyframes drawUnderline { to { transform: scaleX(1); } }

.hero-copy p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat strong .unit { color: var(--red); }
.hero-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

/* Hero visual: pulse monitor card */
.hero-visual {
  position: relative;
}
.pulse-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.55);
  animation: cardFloat 7s ease-in-out infinite;
}
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.pulse-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pulse-card-head .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.pulse-card-head .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #36e29a;
  box-shadow: 0 0 0 0 rgba(54,226,154,0.5);
  animation: dotPing 1.8s ease-in-out infinite;
}
@keyframes dotPing {
  0% { box-shadow: 0 0 0 0 rgba(54,226,154,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(54,226,154,0); }
  100% { box-shadow: 0 0 0 0 rgba(54,226,154,0); }
}
.pulse-card-head .live { font-size: 0.7rem; letter-spacing: .14em; color: #36e29a; text-transform: uppercase; font-weight: 700; }

.pulse-trace {
  width: 100%;
  height: 130px;
  margin-bottom: 22px;
}
.pulse-trace path {
  fill: none;
  stroke: var(--red);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: traceDraw 4.5s ease-in-out infinite;
}
@keyframes traceDraw {
  0% { stroke-dashoffset: 1200; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1200; }
}

.pulse-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pulse-meta div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.pulse-meta strong { display: block; font-family: var(--font-display); color: var(--white); font-size: 1.2rem; font-weight: 800; }
.pulse-meta span { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }



/* =====================================================================
   MARQUEE / TRUST STRIP
   ===================================================================== */
.trust-strip {
  background: var(--navy);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
}
.trust-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.trust-track span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; gap: 14px;
}
.trust-track span::before { content: '✦'; color: var(--red); font-size: 0.7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   ABOUT / 10 YEARS SECTION
   ===================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(10,42,74,0.05) 0%, rgba(10,42,74,0.55) 100%);
}
.badge-decade {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 168px; height: 168px;
  border-radius: 50%;
  background: var(--grad-red);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 26px 60px -16px var(--red-glow);
  border: 6px solid var(--white);
}
.badge-decade strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.badge-decade span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; max-width: 110px; line-height: 1.4; margin-top: 6px; }

.about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 22px; }
.about-copy > p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 30px; max-width: 560px; }

.about-points { display: grid; gap: 18px; margin-bottom: 36px; }
.about-point {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--ice-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.about-point:hover { transform: translateX(6px); box-shadow: var(--shadow-card); border-color: rgba(214,40,57,0.25); }
.about-point .ic {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-blue);
  color: var(--white);
}
.about-point .ic svg { width: 22px; height: 22px; }
.about-point h4 { font-size: 1.04rem; margin-bottom: 4px; }
.about-point p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s ease;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-hero);
  opacity: 0;
  transition: opacity .5s var(--ease);
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 80px -28px rgba(10,42,74,0.35);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 22px;
  transition: color .5s ease;
}
.service-card:hover .service-num { color: rgba(255,255,255,0.5); }

.service-ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ice);
  color: var(--blue);
  margin-bottom: 22px;
  transition: background .5s ease, color .5s ease, transform .5s var(--ease);
}
.service-ic svg { width: 26px; height: 26px; }
.service-card:hover .service-ic { background: rgba(255,255,255,0.12); color: var(--white); transform: scale(1.08) rotate(-6deg); }

.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; transition: color .5s ease; }
.service-card:hover h3 { color: var(--white); }
.service-card p { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 20px; transition: color .5s ease; }
.service-card:hover p { color: rgba(255,255,255,0.72); }

.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.84rem; font-weight: 700;
  color: var(--navy);
  transition: color .5s ease, gap .3s ease;
}
.service-link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.service-card:hover .service-link { color: var(--white); }
.service-card:hover .service-link svg { transform: translateX(5px); }

/* =====================================================================
   COVERAGE EXPLORER
   ===================================================================== */
.coverage-shell {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.coverage-shell::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,143,239,0.28), transparent 70%);
  filter: blur(20px);
  top: -180px; right: -160px;
}
.coverage-shell::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  filter: blur(30px);
  bottom: -200px; left: -120px;
  opacity: 0.5;
}
.coverage-head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 36px; }
.coverage-head h2 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 520px; }
.coverage-head p { color: rgba(255,255,255,0.6); margin-top: 12px; max-width: 480px; }
.coverage-stat { text-align: right; }
.coverage-stat strong { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1; }
.coverage-stat strong span { color: var(--red); }
.coverage-stat small { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

.coverage-controls {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px;
}
.search-field {
  flex: 1 1 280px;
  position: relative;
  display: flex; align-items: center;
}
.search-field svg {
  position: absolute; left: 20px;
  width: 19px; height: 19px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: 17px 20px 17px 52px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .35s ease, background .35s ease;
}
.search-field input::placeholder { color: rgba(255,255,255,0.4); }
.search-field input:focus { border-color: var(--red); background: rgba(255,255,255,0.1); }

.state-select {
  position: relative;
  flex: 0 0 auto;
}
.state-select select {
  appearance: none;
  padding: 17px 46px 17px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  min-width: 220px;
  transition: border-color .35s ease;
}
.state-select select:focus { border-color: var(--red); }
.state-select::after {
  content: '';
  position: absolute; right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.6px solid rgba(255,255,255,0.5);
  border-bottom: 1.6px solid rgba(255,255,255,0.5);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.state-select option { background: var(--navy); color: var(--white); }

.filter-chip-row {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 30px;
}
.filter-chip {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.65);
  transition: all .3s ease;
}
.filter-chip:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.filter-chip.is-active {
  background: var(--grad-red);
  color: var(--white);
  border-color: transparent;
}

.coverage-results {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
  min-height: 120px;
  max-height: 640px;
  overflow-y: auto;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.coverage-results::-webkit-scrollbar { width: 7px; }
.coverage-results::-webkit-scrollbar-track { background: transparent; }
.coverage-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 10px; }
.coverage-results::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.32); }
.city-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform .4s var(--ease), background .4s ease, border-color .4s ease;
  animation: cityIn .5s var(--ease) both;
}
@keyframes cityIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.city-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }
.city-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.city-card h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 3px; }
.city-card .state { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.city-pin {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-red);
  color: var(--white);
}
.city-pin svg { width: 18px; height: 18px; }
.city-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.city-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
}
.city-tag.on { background: rgba(54,226,154,0.14); color: #6ff0bb; }
.city-tag.on::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #36e29a; }
.city-tag.off { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }
.city-tag.off::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.25); }

.coverage-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
}
.coverage-foot {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.coverage-foot p { color: rgba(255,255,255,0.5); font-size: 0.86rem; max-width: 560px; }
.coverage-count { color: var(--white); font-family: var(--font-display); font-weight: 700; }
.coverage-count span { color: var(--red); }

/* =====================================================================
   CLIENTS
   ===================================================================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.client-card {
  background: var(--ice-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: left;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s ease;
  position: relative;
  overflow: hidden;
}
.client-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); background: var(--white); }
.client-card .ic {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.client-card .ic svg { width: 24px; height: 24px; }
.client-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.client-card p { color: var(--ink-soft); font-size: 0.9rem; }
.client-card .num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(10,42,74,0.06);
}

/* Testimonial-style strip */
.quote-strip {
  margin-top: 60px;
  background: var(--grad-blue);
  border-radius: var(--radius-lg);
  padding: 50px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.quote-strip::after {
  content: '"';
  position: absolute;
  font-family: Georgia, serif;
  font-size: 14rem;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  top: -40px; right: 30px;
}
.quote-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quote-mark svg { width: 28px; height: 28px; }
.quote-strip p { font-size: 1.18rem; max-width: 680px; position: relative; z-index: 1; }
.quote-strip footer { margin-top: 14px; font-size: 0.86rem; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 46px 38px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,143,239,0.3), transparent 70%);
  top: -160px; right: -140px;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.contact-info > p { color: rgba(255,255,255,0.65); margin-bottom: 34px; }

.contact-channel {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-channel:first-of-type { border-top: none; }
.contact-channel .ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #ff9aa2;
}
.contact-channel .ic svg { width: 21px; height: 21px; }
.contact-channel > div { min-width: 0; }
.contact-channel h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px; font-family: var(--font-display); font-weight: 700;}
.contact-channel a, .contact-channel span.val { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--white); overflow-wrap: break-word; word-break: break-all; }
.contact-channel a:hover { color: #ff9aa2; }

.whatsapp-cta {
  margin-top: 32px;
  display: flex; align-items: center; gap: 14px;
  background: #25D366;
  color: #08321b;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 16px 40px -16px rgba(37,211,102,0.5);
}
.whatsapp-cta:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(37,211,102,0.6); }
.whatsapp-cta .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
}
.whatsapp-cta .ic svg { width: 22px; height: 22px; fill: #08321b; }
.whatsapp-cta span small { display: block; font-weight: 500; font-size: 0.74rem; opacity: 0.75; margin-top: 2px;}

/* Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; position: relative; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 9px;
}
.field .opt { color: var(--gray); font-weight: 500; text-transform: lowercase; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ice-2);
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(23,104,196,0.1);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(214,40,57,0.08);
}
.field-msg {
  display: block;
  font-size: 0.78rem;
  margin-top: 7px;
  color: var(--red);
  min-height: 1em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.field.has-error .field-msg { opacity: 1; transform: translateY(0); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #36c08c; }
.field-check {
  position: absolute; right: 16px; top: 41px;
  width: 20px; height: 20px;
  color: #36c08c;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.field.is-valid .field-check { opacity: 1; transform: scale(1); }

.consent-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 26px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.consent-row input {
  margin-top: 4px;
  width: 18px; height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.consent-row a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.form-status {
  font-size: 0.86rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.form-status.is-visible { opacity: 1; transform: translateY(0); }
.form-status.ok { color: #1f9d6c; }
.form-status.err { color: var(--red); }
.form-status svg { width: 18px; height: 18px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 86px 0 30px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,40,57,0.12), transparent 70%);
  bottom: -260px; right: -160px;
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand strong { display: block; font-family: var(--font-display); color: var(--white); font-size: 1.15rem; font-weight: 800; }
.footer-brand span { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); }
.footer-col p { font-size: 0.92rem; max-width: 300px; line-height: 1.8; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 13px; }
.footer-col ul a { font-size: 0.92rem; transition: color .3s ease, padding-left .3s ease; }
.footer-col ul a:hover { color: var(--white); padding-left: 6px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
  font-size: 0.82rem;
}
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 26px; flex-wrap: wrap; }

/* Back to top */
.to-top {
  position: fixed;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s ease, background .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }
.to-top svg { width: 19px; height: 19px; }

/* WhatsApp floating button */
.float-whatsapp {
  position: fixed;
  left: max(28px, env(safe-area-inset-left));
  bottom: max(28px, env(safe-area-inset-bottom));
  z-index: 400;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px -12px rgba(37,211,102,0.6);
  animation: waPulse 2.6s ease-in-out infinite;
}
.float-whatsapp svg { width: 28px; height: 28px; fill: var(--white); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 16px 40px -12px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.45); }
  50% { box-shadow: 0 16px 40px -12px rgba(37,211,102,0.6), 0 0 0 14px rgba(37,211,102,0); }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .coverage-results { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 880px) {
  .nav-links, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { gap: 32px; }
  .hero-stats { gap: 20px; }
  .quote-strip { grid-template-columns: 1fr; text-align: left; padding: 38px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section-pad { padding: 72px 0; }
  /* 16px en campos de formulario: evita el zoom automático de iOS al enfocar */
  .field input, .field select, .field textarea, .search-field input, .state-select select { font-size: 16px; }
  .state-select { flex: 1 1 100%; }
  .state-select select { width: 100%; }
  .coverage-results { max-height: 460px; }
  html { scroll-padding-top: 84px; }
  .hero { padding-top: 100px; padding-bottom: 60px; }
  .hero-grid { gap: 28px; }
  .hero-copy p.lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .services-grid, .clients-grid, .coverage-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .coverage-shell { padding: 28px 20px; }
  .coverage-stat { text-align: left; }
  .coverage-head { align-items: flex-start; }
  .contact-form-card { padding: 24px; }
  .badge-decade { width: 130px; height: 130px; right: -14px; bottom: -14px; }
  .badge-decade strong { font-size: 2rem; }
  .quote-strip::after { display: none; }
  .about-copy h2, .section-head h2 { font-size: clamp(1.55rem, 5.5vw, 2.4rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 60px 0; }
  .hero { padding-top: 88px; padding-bottom: 52px; }
  .hero-grid { gap: 24px; }
  .hero-copy h1 { font-size: 1.72rem; line-height: 1.2; }
  .hero-copy p.lead { font-size: 0.93rem; margin-bottom: 26px; }
  .hero-actions { gap: 12px; margin-bottom: 24px; }
  .hero-stats { gap: 12px; }
  .hero-stat strong { font-size: 1.25rem; }
  .hero-stat span { font-size: 0.68rem; }
  /* Pulse card */
  .pulse-card { padding: 20px 16px; border-radius: 18px; }
  .pulse-card-head { margin-bottom: 14px; }
  .pulse-trace { height: 72px; margin-bottom: 12px; }
  .pulse-meta { gap: 8px; }
  .pulse-meta div { padding: 10px 10px; }
  .pulse-meta strong { font-size: 1rem; }
  .pulse-meta span { font-size: 0.6rem; letter-spacing: 0.06em; }
  /* Sections */
  .section-head { margin-bottom: 36px; }
  .about-copy h2, .section-head h2, .coverage-head h2 { font-size: 1.55rem; }
  .clients-grid { grid-template-columns: 1fr; }
  .client-card { padding: 28px; }
  .coverage-filter { flex-wrap: wrap; gap: 8px; }
  .filter-chip { font-size: 0.78rem; padding: 8px 14px; }
  .contact-form-card { padding: 20px; }
  .footer-grid { gap: 28px; }
  .site-footer { padding: 56px 0 28px; }
  .coverage-shell { padding: 24px 16px; border-radius: 18px; }
  .coverage-head { margin-bottom: 24px; }
  .coverage-stat strong { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .quote-strip { padding: 28px 20px; }
  .about-point { gap: 14px; }
  .about-point .ic { width: 40px; height: 40px; flex-shrink: 0; }
  /* Preloader — logo más compacto, tagline sin desbordamiento */
  .preloader-mark { gap: 12px; }
  .preloader-ring { width: 62px; height: 62px; }
  .preloader-ring svg { width: 28px; height: 28px; }
  .preloader-word { font-size: 1.45rem; }
  .preloader-tagline { font-size: 0.68rem; letter-spacing: 0.12em; padding: 0 24px; text-align: center; width: 100%; box-sizing: border-box; }
}

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 480;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s var(--ease);
}
.nav-drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drawer a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  padding: 14px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nav-drawer.is-open a { opacity: 1; transform: translateY(0); }
.nav-drawer.is-open a:nth-child(1) { transition-delay: .08s; }
.nav-drawer.is-open a:nth-child(2) { transition-delay: .14s; }
.nav-drawer.is-open a:nth-child(3) { transition-delay: .20s; }
.nav-drawer.is-open a:nth-child(4) { transition-delay: .26s; }
.nav-drawer.is-open a:nth-child(5) { transition-delay: .32s; }
.nav-drawer.is-open a:nth-child(6) { transition-delay: .38s; }
.nav-drawer .btn { margin-top: 18px; padding: 16px 44px; font-size: 1.12rem; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .44s, transform .5s var(--ease) .44s; }
.nav-drawer.is-open .btn { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
