/* =====================================================================
   EMERGENCIA DESTAPE · HOJA DE ESTILOS
   ---------------------------------------------------------------------
   1) COLORES Y MEDIDAS: cambia aquí los colores de todo el sitio.
   ===================================================================== */
:root {
  /* Azules (marca) */
  --navy-950: #050F20;   /* fondo más oscuro (pie de página) */
  --navy-900: #081A33;   /* fondo de secciones oscuras */
  --navy-800: #0B1F3A;   /* azul principal de la marca */
  --navy-700: #123362;   /* azul para degradados */
  --navy-500: #2A5BA8;   /* azul de apoyo */
  --sky-300:  #7FD3FF;   /* celeste "agua" para detalles */

  /* Naranjo de emergencia (botón llamar y acentos) */
  --orange:      #FF6A13;  /* acento principal */
  --orange-btn:  #E8560A;  /* fondo del botón "Llamar" (más oscuro = mejor lectura) */
  --orange-dark: #C94600;  /* naranjo al pasar el mouse */
  --orange-soft: #FFF1E8;  /* fondo suave naranjo */

  /* WhatsApp (color oficial) */
  --wa:      #25D366;
  --wa-dark: #1DA851;

  /* Neutros */
  --white:   #FFFFFF;
  --bg:      #F5F7FB;   /* fondo general claro */
  --text:    #14213D;   /* texto principal */
  --muted:   #55627A;   /* texto secundario */
  --line:    #E2E8F2;   /* bordes */

  /* Tipografías */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Formas y sombras */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px -12px rgba(11, 31, 58, .25);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, .45);

  /* Alturas */
  --header-h: 64px;
  --mobile-bar-h: 64px;
}

/* =====================================================================
   2) BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  /* espacio para la barra inferior fija en celulares */
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 860px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange-btn); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* =====================================================================
   3) BOTONES
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 12px 22px;
  border: 0; border-radius: 14px; cursor: pointer;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; letter-spacing: .02em; line-height: 1.2;
  text-align: center; text-decoration: none; color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.4em; height: 1.4em; }
.btn-lg { min-height: 60px; font-size: 1.06rem; padding: 14px 26px; border-radius: 16px; }
.btn-sm { min-height: 48px; padding: 10px 16px; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }

.btn-wa { background: var(--wa); text-shadow: 0 1px 2px rgba(0,0,0,.25); box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-call { background: var(--orange-btn); box-shadow: 0 10px 24px -10px rgba(232, 86, 10, .9); }
.btn-call:hover { background: var(--orange-dark); }

/* =====================================================================
   4) ENCABEZADO Y MENÚ
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 26, 51, .94);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); }
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; margin-right: auto; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 900; line-height: 1; letter-spacing: .04em; }
.logo-top { font-size: .95rem; }
.logo-bottom { font-size: .95rem; color: var(--orange); letter-spacing: .2em; margin-top: 3px; }

.header-call { padding: 0; width: 48px; flex: none; }
.header-call-text, .header-call-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff; cursor: pointer;
}
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

/* Menú móvil: panel desplegable */
.main-nav {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 12px 16px 24px;
  box-shadow: 0 30px 40px -20px rgba(0,0,0,.6);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s ease, transform .25s ease; }
.main-nav ul a {
  display: flex; align-items: center; min-height: 52px; padding: 0 8px;
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.main-nav ul a:hover { color: var(--orange); }
.nav-ctas { display: grid; gap: 10px; margin-top: 18px; }

@media (min-width: 1024px) {
  .header-inner { gap: 20px; }
  .logo-mark { width: 44px; height: 44px; }
  .logo-top, .logo-bottom { font-size: 1.05rem; }
  .nav-toggle { display: none; }
  .main-nav {
    position: static; max-height: none; overflow: visible; background: none; border: 0; padding: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible; transition: none;
  }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav ul a { min-height: 44px; border: 0; padding: 0 12px; font-size: .95rem; border-radius: 10px; color: rgba(255,255,255,.88); }
  .main-nav ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-ctas { display: none; }
  .header-call { width: auto; padding: 10px 18px; }
  .header-call-num { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* =====================================================================
   5) HERO / PORTADA
   ===================================================================== */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); padding: 28px 0 56px; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(255,106,19,.35), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(42,91,168,.55), transparent 70%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}
.hero-bg::after { /* patrón de cuadrícula tipo plano técnico */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { display: grid; gap: 32px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #E6EEF9;
}
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,106,19,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,19,.7); } 70% { box-shadow: 0 0 0 12px rgba(255,106,19,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,19,0); } }

.hero-title { font-size: clamp(2.3rem, 11vw, 4.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px; }
.hero-title span { display: block; color: var(--orange); background: linear-gradient(90deg, #FF8A3D, #FF5A00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.08rem; color: #DCE6F5; max-width: 40rem; margin-bottom: 20px; }
.hero-lead strong { color: #fff; }

.hero-ctas { display: grid; gap: 12px; margin-bottom: 14px; }
.hero-phone { font-size: .98rem; color: #C9D6EA; margin-bottom: 22px; }
.hero-phone a { color: #fff; font-weight: 800; font-family: var(--font-head); font-size: 1.15rem; text-decoration: none; border-bottom: 2px solid var(--orange); white-space: nowrap; }
.hero-text { color: #B9C7DD; font-size: .98rem; max-width: 42rem; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.badges li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .88rem; font-weight: 600;
}
.badges .ico { color: var(--orange); }

.hero-art { display: none; position: relative; }
.hero-svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-card {
  position: absolute; left: 0; bottom: 8%; display: flex; align-items: center; gap: 12px; max-width: 260px;
  background: #fff; color: var(--text); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hero-card strong { font-family: var(--font-head); font-size: 2rem; color: var(--orange-btn); line-height: 1; }
.hero-card span { font-size: .85rem; font-weight: 600; line-height: 1.3; }
.spin-slow { transform-origin: 210px 210px; animation: spin 40s linear infinite; }
.drip { animation: drip 2.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drip { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: .6; } }

.scroll-hint { display: none; }

/* Celulares pequeños o de pantalla baja: hero más compacto para que los botones se vean al cargar */
@media (max-width: 400px), (max-height: 700px) and (max-width: 767px) {
  .hero { padding-top: 18px; }
  .eyebrow { margin-bottom: 10px; padding: 5px 12px; font-size: .76rem; }
  .hero-title { margin-bottom: 10px; }
  .hero-lead { font-size: .98rem; line-height: 1.5; margin-bottom: 16px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-lg { min-height: 54px; padding: 10px 16px; font-size: .98rem; }
}
@media (min-width: 560px) {
  .hero-ctas { grid-template-columns: repeat(2, minmax(0, max-content)); }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero-art { display: block; }
  .scroll-hint {
    display: flex; align-items: center; justify-content: center; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    width: 44px; height: 44px; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.25); animation: bob 2s ease-in-out infinite;
  }
  @keyframes bob { 50% { transform: translate(-50%, 6px); } }
}

/* =====================================================================
   5b) FRANJA ATENCIÓN 24/7
   ===================================================================== */
.band247 {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 44px 0;
  background: linear-gradient(120deg, #FF7A1F 0%, var(--orange) 35%, var(--orange-btn) 70%, var(--orange-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.band247-rings {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 8% 50%, transparent 0 90px, rgba(255,255,255,.07) 91px 120px, transparent 121px 170px, rgba(255,255,255,.05) 171px 200px, transparent 201px),
    radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px);
}
.band247-inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.band247-clock { position: relative; width: 170px; height: 170px; display: grid; place-items: center; flex: none; }
.band247-dial { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.band247-num {
  position: relative; font-family: var(--font-head); font-weight: 900; font-size: 3.6rem; line-height: 1; letter-spacing: -.03em;
  text-shadow: 0 6px 24px rgba(120, 35, 0, .45);
}
.band247-num small { font-size: .7em; opacity: .75; margin: 0 1px; }
.band247-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(5,15,32,.22); font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
}
.pulse-dot-light { background: #fff; animation-name: pulseLight; }
@keyframes pulseLight { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.8); } 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.band247 h2 { font-size: clamp(1.55rem, 6.4vw, 2.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(120,35,0,.35); }
.band247 h2 span { display: block; color: var(--navy-900); text-shadow: none; }
.band247-text p:last-child { margin: 0 auto; max-width: 34rem; color: #FFF3EA; font-size: 1.05rem; font-weight: 500; }
.band247-ctas { display: grid; gap: 12px; width: 100%; max-width: 420px; }
.btn-light { background: #fff; color: var(--orange-btn); box-shadow: 0 14px 30px -12px rgba(80, 20, 0, .7); }
.btn-light:hover { background: var(--navy-900); color: #fff; }

@media (min-width: 560px) {
  .band247-ctas { grid-template-columns: 1fr 1fr; max-width: 520px; }
}
@media (min-width: 1024px) {
  .band247 { padding: 56px 0; }
  .band247-inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; gap: 40px; align-items: center; }
  .band247-clock { width: 190px; height: 190px; }
  .band247-num { font-size: 4.2rem; }
  .band247-text p:last-child { margin: 0; }
  .band247-ctas { grid-template-columns: 1fr; width: 260px; }
}

/* Etiqueta 24/7 de la sección de contacto */
.contact-247 {
  display: inline-flex !important; align-items: center; gap: 10px; margin: 0 auto 14px !important; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,106,19,.18); border: 1px solid rgba(255,106,19,.5); color: #FFD2B5 !important;
  font-family: var(--font-head); font-weight: 800; font-size: .85rem !important; letter-spacing: .1em; text-transform: uppercase;
}

/* =====================================================================
   6) SECCIONES GENERALES
   ===================================================================== */
.section { padding: 64px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 900; color: var(--navy-800); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.kicker {
  display: inline-block; margin: 0 0 10px; font-family: var(--font-head); font-weight: 800; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange-btn);
}
.kicker::before, .kicker::after { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin: 0 10px; opacity: .6; }
.section-head-light h2 { color: #fff; }
@media (min-width: 960px) { .section { padding: 96px 0; } .section-head { margin-bottom: 52px; } }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* =====================================================================
   7) SERVICIOS
   ===================================================================== */
.services { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.services-grid { display: grid; gap: 18px; }
.service-card { display: flex; flex-direction: column; padding: 26px 22px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card h3 { font-size: 1.25rem; color: var(--navy-800); }
.service-card > p { color: var(--muted); }
.service-card > .btn { margin-top: auto; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 16px;
  border-radius: 16px; color: var(--orange-btn); background: var(--orange-soft);
}
.service-icon .ico { width: 30px; height: 30px; }

.check-list { display: grid; gap: 8px; margin-bottom: 22px; }
.check-list li { position: relative; padding-left: 28px; color: #2B3A55; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8560A' 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 / 12px no-repeat;
}

/* Tarjeta destacada: destapes */
.service-featured {
  color: #fff; border: 0; padding: 28px 22px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,106,19,.35), transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.service-featured::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.04); pointer-events: none; }
.service-featured h3 { color: #fff; font-size: clamp(1.5rem, 5vw, 2rem); }
.service-featured p { color: #C9D6EA; }
.featured-top { display: grid; gap: 4px; }
.service-icon-xl { width: 68px; height: 68px; background: var(--orange); color: #fff; }
.service-icon-xl .ico { width: 36px; height: 36px; }
.tag { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,106,19,.18); color: #FFB385; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.chips li { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; font-weight: 500; line-height: 1.35; }
.featured-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,106,19,.14); border-left: 4px solid var(--orange); color: #E6EEF9 !important; font-size: .98rem; line-height: 1.5;
}
.featured-note strong { color: #fff; }
.featured-note .ico { color: var(--orange); width: 24px; height: 24px; margin-top: 1px; }
.card-actions { display: grid; gap: 10px; margin-top: auto; position: relative; z-index: 1; }

.service-other { background: linear-gradient(160deg, var(--orange-soft), #fff 70%); border: 2px dashed rgba(232,86,10,.4); box-shadow: none; }
.service-other h3 { font-size: 1.15rem; }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-featured { grid-column: 1 / -1; }
  .card-actions { grid-template-columns: repeat(2, minmax(0, max-content)); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .service-featured { grid-column: span 2; grid-row: span 2; padding: 40px; justify-content: space-between; }
  .featured-top { grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  .service-featured p { font-size: 1.08rem; }
  .chips { gap: 12px; margin: 20px 0 28px; }
  .chips li { padding: 12px 18px; font-size: 1rem; border-radius: 12px; }
  .card-actions .btn { min-height: 58px; padding: 14px 26px; font-size: 1.04rem; }
  /* Tarjeta "otro tipo de reparación": ancho completo y en horizontal */
  .service-other { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr minmax(260px, auto); column-gap: 24px; align-items: center; padding: 28px 32px; }
  .service-other .service-icon { grid-row: 1 / span 2; margin: 0; }
  .service-other h3 { grid-column: 2; margin-bottom: 4px; }
  .service-other > p { grid-column: 2; margin: 0; }
  .service-other > .btn { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* =====================================================================
   8) ¿POR QUÉ ELEGIRNOS?
   ===================================================================== */
.why { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.why-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 10% 20%, rgba(255,106,19,.22), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(42,91,168,.5), transparent 70%);
}
.why .kicker { color: #FF9A5C; }
.why-stats { display: grid; gap: 18px; margin-bottom: 18px; }
.stat {
  text-align: center; padding: 30px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14);
}
.stat-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: #fff; margin-bottom: 10px; box-shadow: 0 10px 30px -8px rgba(255,106,19,.8); }
.stat-icon .ico { width: 28px; height: 28px; }
.stat-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(3.2rem, 14vw, 5rem); line-height: 1; margin: 6px 0 10px; color: #fff; font-variant-numeric: tabular-nums; }
.stat-prefix { color: var(--orange); }
.stat h3 { font-size: 1.05rem; letter-spacing: .03em; color: #fff; }
.stat p { color: #B9C7DD; margin: 0; }

.why-grid { display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.why-item h3 { font-size: 1rem; letter-spacing: .03em; color: #fff; margin-bottom: 6px; }
.why-item p { margin: 0; color: #B9C7DD; }
.why-icon { flex: none; display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(255,106,19,.15); color: var(--orange); }
.why-icon .ico { width: 26px; height: 26px; }
.why-item-hot { background: linear-gradient(150deg, rgba(255,106,19,.25), rgba(255,106,19,.06)); border-color: rgba(255,106,19,.45); }
.link-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 8px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.link-cta .ico { color: var(--orange); }

@media (min-width: 640px) { .why-stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =====================================================================
   9) TRABAJOS: ANTES/DESPUÉS Y GALERÍA
   ===================================================================== */
.ref-badge {
  position: absolute; top: 12px; right: 12px; z-index: 3; pointer-events: none;
  padding: 5px 10px; border-radius: 8px; background: rgba(5,15,32,.78); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

.ba { margin: 0 auto 40px; max-width: 980px; }
.ba-frame {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10; background: var(--navy-800); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; bottom: 12px; z-index: 3; pointer-events: none; padding: 6px 12px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .08em; color: #fff;
}
.ba-label-before { left: 12px; background: rgba(232,86,10,.92); }
.ba-label-after { right: 12px; background: rgba(29,168,81,.92); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; z-index: 2; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.4); }
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--navy-800); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s ease;
}
.ba-knob .ico { width: 18px; height: 18px; stroke-width: 3; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba-frame:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--orange); outline-offset: 3px; }
.ba-frame.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.1); }
.ba figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 12px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.filter {
  min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .92rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter:hover { border-color: var(--orange); }
.filter.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* Galería de fotos reales
   Celular: carrusel horizontal que se desliza con el dedo.
   Tablet y computador: tarjetas en filas, centradas. */
.gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -16px; padding: 4px 16px 18px; scroll-padding: 0 16px; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 78%; scroll-snap-align: start; }
.gallery-item[hidden] { display: none; }
.gallery-link {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4;
  background: var(--navy-800); box-shadow: var(--shadow-lg); isolation: isolate;
}
.gallery-link::after { /* borde interior suave */
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none;
}
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-link:hover img, .gallery-link:focus-visible img { transform: scale(1.07); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 60px 18px 18px; color: #fff; font-family: var(--font-head);
  background: linear-gradient(180deg, transparent, rgba(5,15,32,.55) 40%, rgba(5,15,32,.92));
}
.gallery-cap strong { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.gallery-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.gallery-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy-800);
  box-shadow: 0 6px 16px rgba(0,0,0,.25); transform: scale(.85); opacity: .9; transition: transform .25s ease, opacity .25s ease;
}
.gallery-link:hover .gallery-zoom { transform: scale(1); opacity: 1; }
.gallery-hint { text-align: center; color: var(--muted); font-size: .9rem; margin: 6px 0 0; }

@media (min-width: 640px) {
  .hint-mobile { display: none; }
  .gallery { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .gallery-item { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (min-width: 960px) {
  .gallery { gap: 24px; }
  .gallery-item { flex-basis: calc((100% - 48px) / 3); }
}

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; }
.lightbox::backdrop { background: rgba(3, 9, 20, .9); }
.lb-inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 12px; }
.lb-figure { margin: 0; max-width: 1000px; width: 100%; }
.lb-img { width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 180px); margin: 0 auto; object-fit: contain; border-radius: 12px; background: var(--navy-800); }
.lb-cap { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lb-btn {
  position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; z-index: 2;
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn .ico { width: 26px; height: 26px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; bottom: 10px; }
.lb-next { right: 10px; bottom: 10px; }
@media (min-width: 768px) { .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); } .lb-inner { padding: 64px 80px; } }

/* =====================================================================
   10) PREGUNTAS FRECUENTES
   ===================================================================== */
.faq { background: #fff; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); transition: background .2s ease, box-shadow .2s ease; }
.faq-item[open] { background: #fff; box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 14px 18px;
  cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; color: var(--navy-800); }
.faq-item summary .ico { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-btn); transition: transform .25s ease; }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-body { padding: 0 18px 18px; color: #3A4862; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a[data-tel] { font-weight: 700; color: var(--orange-btn); white-space: nowrap; }
.faq-body .btn { margin-top: 4px; }

/* =====================================================================
   11) CONTACTO FINAL
   ===================================================================== */
.contact { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.contact-box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  padding: 44px 20px; border-radius: 24px; box-shadow: var(--shadow-lg);
  background: linear-gradient(140deg, var(--navy-700) 0%, var(--navy-900) 60%);
}
.contact-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgba(255,106,19,.45), transparent 70%), radial-gradient(30% 40% at 100% 100%, rgba(37,211,102,.22), transparent 70%); }
.contact-icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: #fff; margin-bottom: 18px; box-shadow: 0 0 0 10px rgba(255,106,19,.18); animation: pulse 2.4s infinite; }
.contact-icon .ico { width: 36px; height: 36px; }
.contact-box h2 { font-size: clamp(1.6rem, 6.5vw, 2.8rem); font-weight: 900; color: #fff; }
.contact-box h2 span { display: block; color: var(--orange); }
.contact-box p { max-width: 720px; margin: 0 auto 26px; color: #D1DCEC; font-size: 1.05rem; }
.contact-ctas { display: grid; gap: 12px; max-width: 820px; margin: 0 auto 18px; }
.contact-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 900; font-size: clamp(1.4rem, 6vw, 2rem); }
.contact-phone .ico { color: var(--orange); }
@media (min-width: 560px) { .contact-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .contact-box { padding: 72px 48px; } }

/* =====================================================================
   12) PIE DE PÁGINA
   ===================================================================== */
.site-footer { background: var(--navy-950); color: #B9C7DD; padding: 52px 0 24px; }
.footer-grid { display: grid; gap: 32px; }
.logo-footer { margin-bottom: 14px; }
.footer-brand p { max-width: 380px; }
.footer-title { font-size: .95rem; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer-list li { margin-bottom: 4px; }
.footer-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: #B9C7DD; }
.footer-list a:hover { color: #fff; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact .ico { color: var(--orange); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-bottom p { margin: 0 0 6px; }
.footer-note { color: #7F8DA6; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* =====================================================================
   13) WHATSAPP FLOTANTE Y BARRA MÓVIL
   ===================================================================== */
.wa-float { display: none; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 15, 32, .96); border-top: 1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mobile-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px;
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.mobile-bar-btn .ico { width: 22px; height: 22px; }
.mb-wa { background: var(--wa); text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.mb-call { background: var(--orange-btn); }

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 16px; border-radius: 999px;
    background: var(--wa); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.25);
    box-shadow: 0 14px 30px -10px rgba(37,211,102,.9); transition: transform .2s ease;
  }
  .wa-float:hover { transform: scale(1.05); }
  .wa-float .ico { width: 30px; height: 30px; }
  .wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: waPulse 2.5s infinite; }
  @keyframes waPulse { 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
}

/* =====================================================================
   14) ANIMACIONES AL HACER SCROLL
   ===================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible, .reveal-all .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Etiqueta del hosting abajo (ej. Netlify): la barra y el botón flotante suben */
body.has-host-badge { padding-bottom: calc(var(--mobile-bar-h) + 56px + env(safe-area-inset-bottom, 0px)); }
body.has-host-badge .mobile-bar { bottom: 56px; border-radius: 16px 16px 0 0; }
@media (min-width: 768px) {
  body.has-host-badge { padding-bottom: 56px; }
  body.has-host-badge .wa-float { bottom: 80px; }
}

/* Ventana "Llamar" (computadores) */
.call-modal { border: 0; padding: 0; border-radius: 24px; width: min(440px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); background: #fff; color: var(--text); }
.call-modal::backdrop { background: rgba(3, 9, 20, .75); }
.cm-inner { position: relative; padding: 36px 28px 26px; text-align: center; }
.cm-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg); color: var(--navy-800); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cm-icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--orange); color: #fff; margin-bottom: 12px; }
.cm-icon .ico { width: 30px; height: 30px; }
.call-modal h2 { font-size: 1.1rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.cm-num { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 7vw, 2.2rem); color: var(--navy-800); margin: 0 0 8px; user-select: all; }
.cm-help { color: var(--muted); margin-bottom: 20px; }
.cm-actions { display: grid; gap: 10px; }
.cm-tel { display: inline-block; margin-top: 16px; font-size: .88rem; color: var(--muted); }

/* Página 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.notfound h1 { font-size: clamp(3rem, 16vw, 6rem); color: var(--orange-btn); margin-bottom: 0; }
.notfound .hero-ctas { justify-content: center; }
