/* Tubo Listo · estilo limpio-industrial (plano técnico sobre blanco).
   Amarillo de seguridad SOLO para lo urgente. Azul agua para acciones y agua. */
:root {
  --ink: #0F1B2D;
  --ink-2: #33415A;
  --gris-txt: #566275;
  --blanco: #FFFFFF;
  --gris: #F2F4F7;
  --gris-2: #E6EAF0;
  --linea: #D3D9E2;
  --azul: #0A6CFF;
  --azul-osc: #0052CC;
  --azul-claro: #EAF2FF;
  --amarillo: #FFC400;
  --error: #B42318;
  --radio-btn: 4px;
  --radio-card: 10px;
  --sombra-dura: 5px 5px 0 var(--ink);
  --f-titulo: 'Archivo', system-ui, 'Segoe UI', sans-serif;
  --f-texto: 'Inter', system-ui, 'Segoe UI', sans-serif;
  --alto-bandita: 30px;
  --alto-cabecera: 58px;
  --alto-arriba: calc(var(--alto-bandita) + var(--alto-cabecera));
  --acero: linear-gradient(180deg, #6E7D91 0%, #C5CFDB 20%, #F5F8FB 35%, #A9B5C4 65%, #6E7D91 100%);
  --acero-v: linear-gradient(90deg, #6E7D91 0%, #C5CFDB 20%, #F5F8FB 35%, #A9B5C4 65%, #6E7D91 100%);
  --peligro: repeating-linear-gradient(-45deg, var(--amarillo) 0 12px, var(--ink) 12px 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--alto-arriba) + 12px); }
body {
  margin: 0;
  padding-top: var(--alto-arriba);
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
body.sin-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 800; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
a { color: var(--azul-osc); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .contenedor { padding: 0 28px; } }
@media (min-width: 1200px) { .contenedor { padding: 0 36px; } }

/* Texto dentro de las ilustraciones */
.ilus-txt { font-family: var(--f-titulo); font-weight: 700; font-size: 9.5px; letter-spacing: .08em; fill: var(--ink); }
.ilus-txt-chico { font-size: 9px; letter-spacing: .02em; }
.ilus-txt-mini { font-size: 6.6px; letter-spacing: .08em; }
.plano-txt { font-family: var(--f-titulo); font-weight: 700; font-size: 8px; letter-spacing: .1em; fill: #fff; stroke: none; }
.tubo-txt { font-family: var(--f-titulo); font-weight: 800; font-size: 8.5px; letter-spacing: .16em; fill: #fff; }

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px;
  border: 1.5px solid var(--ink); border-radius: var(--radio-btn);
  font-family: var(--f-titulo); font-weight: 800; font-size: 16px; letter-spacing: .005em; line-height: 1.1;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }
.btn .ico-wa { width: 20px; height: 20px; flex: none; }
.btn-grande { min-height: 54px; font-size: 16.5px; padding: 14px 22px; }
.btn-chico { min-height: 40px; padding: 8px 12px; font-size: 14px; gap: 6px; }
.btn-chico .ico-wa { width: 18px; height: 18px; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-osc); }
.btn-urgente { background: var(--amarillo); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-urgente:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-urgente:focus-visible { outline-color: var(--ink); }
.btn-linea { background: #fff; color: var(--ink); }
.btn-blanco { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-blanco:hover { box-shadow: 6px 6px 0 var(--ink); }

/* ---------------- Bandita + cabecera (un solo bloque fijo) ---------------- */
.arriba { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.bandita {
  height: var(--alto-bandita);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 10px; background: var(--ink); color: #C3CDDA;
  font-size: 11.5px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
}
.bandita a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #6EA8FF; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.bandita a:hover { text-decoration-color: #fff; }
.cabecera { height: var(--alto-cabecera); background: #fff; border-bottom: 1.5px solid var(--ink); position: relative; }
.cabecera-in { height: 100%; display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-marca { width: 34px; height: 34px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt strong { font-family: var(--f-titulo); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-txt small { font-family: var(--f-titulo); font-weight: 600; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-txt); margin-top: 4px; }
.nav { display: none; }
.nav-lista { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-lista a { display: block; padding: 8px 11px; font-family: var(--f-titulo); font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; border-radius: var(--radio-btn); position: relative; }
.nav-lista a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-lista a:hover::after { transform: scaleX(1); }
.hamburguesa {
  width: 44px; height: 44px; flex: none; display: grid; place-content: center; gap: 5px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radio-btn); cursor: pointer; padding: 0;
}
.hamburguesa span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-movil {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1.5px solid var(--ink); box-shadow: 0 18px 30px rgba(15, 27, 45, .14);
  padding: 8px 16px 20px;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.menu-movil.abierto { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
.menu-movil-lista { list-style: none; margin: 0 0 14px; padding: 0; }
.menu-movil-lista a { display: flex; align-items: baseline; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--linea); font-family: var(--f-titulo); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.menu-movil-lista a span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--azul-osc); }
.menu-movil-wa { width: 100%; }
@media (max-width: 379px) { .cabecera-wa span { display: none; } .cabecera-wa { width: 44px; height: 44px; padding: 0; } }
@media (min-width: 1024px) {
  .nav { display: block; }
  .hamburguesa, .menu-movil { display: none; }
}

/* ---------------- Rótulos y encabezados de sección ---------------- */
.rotulo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--f-titulo); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.rotulo::after { content: ''; flex: 1; height: 1.5px; background: var(--ink); min-width: 24px; }
.rotulo-num { border: 1.5px solid currentColor; border-radius: 3px; padding: 2px 6px 1px; font-variant-numeric: tabular-nums; }
.sec-cabeza { margin-bottom: 28px; }
.sec-cabeza h2 { font-size: clamp(34px, 9.4vw, 68px); line-height: .96; letter-spacing: -0.035em; text-wrap: balance; }
.sec-lead { margin-top: 14px; font-size: 16.5px; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
@media (min-width: 900px) {
  .sec-cabeza { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 48px; align-items: end; margin-bottom: 40px; }
  .sec-cabeza .rotulo { grid-column: 1 / -1; }
  .sec-lead { margin-top: 0; font-size: 17px; }
}
.sec-cabeza-claro .rotulo, .rotulo-claro { color: #fff; }
.sec-cabeza-claro .rotulo::after, .rotulo-claro::after { background: rgba(255, 255, 255, .7); }
.sec-cabeza-claro h2 { color: #fff; }
.sec-cabeza-claro .sec-lead { color: #C3CDDA; }

/* ---------------- Aparición ---------------- */
.js .revela { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .revela.visto { opacity: 1; transform: none; }

/* ---------------- Divisores de tubería ---------------- */
.tubo-divisor { height: 64px; background: linear-gradient(var(--arriba) 50%, var(--abajo) 50%); overflow: hidden; }
.tubo-divisor svg { width: 100%; height: 64px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 14px 0 18px; background: linear-gradient(180deg, #fff 0%, #fff 60%, #F7FAFE 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-areas: "etiqueta" "titulo" "texto" "panel" "botones" "zona"; }
.hero-etiqueta { grid-area: etiqueta; display: flex; align-items: center; gap: 8px; font-family: var(--f-titulo); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-osc); animation: entra-sube .6s cubic-bezier(.2, .8, .2, 1) both; }
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--azul); box-shadow: 0 0 0 3px var(--azul-claro); }
.hero-titulo { grid-area: titulo; margin-top: 8px; font-size: clamp(36px, 10.6vw, 84px); line-height: .94; letter-spacing: -0.04em; text-wrap: balance; animation: entra-sube .7s cubic-bezier(.2, .8, .2, 1) .08s both; }
.hero-texto { grid-area: texto; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 40ch; animation: entra-sube .7s cubic-bezier(.2, .8, .2, 1) .18s both; }
.hero-panel {
  grid-area: panel; margin-top: 14px; border: 1.5px solid var(--ink); border-radius: var(--radio-card);
  background: #F7FAFE; box-shadow: var(--sombra-dura); overflow: hidden;
  animation: entra-panel .8s cubic-bezier(.2, .8, .2, 1) .2s both;
}
.hero-ilus { width: 100%; height: auto; }
.hero-botones { grid-area: botones; display: grid; gap: 10px; margin-top: 18px; animation: entra-sube .7s cubic-bezier(.2, .8, .2, 1) .35s both; }
.hero-botones .btn { width: 100%; }
.hero-zona { grid-area: zona; margin-top: 14px; font-size: 13px; color: var(--gris-txt); animation: entra-sube .6s ease .5s both; }
.hero-zona-tit { font-family: var(--f-titulo); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: var(--ink); }
@media (max-width: 380px) {
  .hero-texto { font-size: 14.5px; }
  .hero-panel { margin-top: 12px; }
  .hero-botones { margin-top: 14px; gap: 8px; }
  .hero-botones .btn-grande { min-height: 50px; padding: 12px 18px; }
}
@media (min-width: 640px) {
  .hero { padding: 36px 0 40px; }
  .hero-botones { grid-template-columns: 1fr 1fr; }
  .hero-texto { font-size: 17px; }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 70px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 48px;
    grid-template-areas: "etiqueta panel" "titulo panel" "texto panel" "botones panel" "zona panel";
    grid-template-rows: auto auto auto auto 1fr; align-items: start;
  }
  .hero-panel { margin-top: 0; align-self: center; }
  .hero-titulo { margin-top: 16px; }
  .hero-texto { margin-top: 20px; font-size: 18px; }
  .hero-botones { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-botones .btn { width: auto; white-space: nowrap; padding: 14px 18px; font-size: 16px; }
  .hero-zona { margin-top: 22px; }
}
/* Animaciones del hero (terminan antes de 1.8 s; la gota y el manómetro son loops suaves) */
@keyframes entra-sube { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes entra-panel { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
.hero .h-notas { animation: aparece .6s ease 1s both; }
.hero .gota { transform-box: fill-box; transform-origin: 50% 0; animation: gota-cae 2.4s cubic-bezier(.55, 0, .9, .5) 1.1s infinite both; }
.hero .onda { transform-box: fill-box; transform-origin: 50% 50%; animation: onda 2.4s ease-out 1.1s infinite both; }
.hero .aguja { transform-box: view-box; transform-origin: 200px 52px; animation: aguja 3.2s ease-in-out infinite alternate; transform: rotate(70deg); }
.hero .tarjeta-peligro { transform-box: view-box; transform-origin: 281px 42px; animation: colgar 2.6s ease-in-out infinite alternate; }
@keyframes gota-cae {
  0% { transform: translateY(0) scale(.2); opacity: 0; }
  14% { transform: translateY(0) scale(1); opacity: 1; }
  34% { transform: translateY(1px) scale(1, 1.06); opacity: 1; }
  74% { transform: translateY(68px) scale(.92, 1.14); opacity: 1; }
  76%, 100% { transform: translateY(72px) scale(1.4, .4); opacity: 0; }
}
@keyframes onda {
  0%, 73% { transform: scale(.25); opacity: 0; }
  76% { transform: scale(.35); opacity: .95; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes aguja { from { transform: rotate(52deg); } to { transform: rotate(104deg); } }
@keyframes colgar { from { transform: rotate(-7deg); } to { transform: rotate(4deg); } }

/* ---------------- Servicios ---------------- */
.servicios { padding: 48px 0 56px; }
.serv-tabla { display: grid; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radio-card); box-shadow: var(--sombra-dura); overflow: hidden; }
.serv { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px; border-bottom: 1px solid var(--linea); transition: background-color .2s ease; }
.serv:last-child { border-bottom: 0; }
.serv:hover { background: var(--azul-claro); }
.serv-ico { width: 52px; height: 52px; border-radius: 8px; background: var(--gris); border: 1px solid var(--linea); display: grid; place-items: center; }
.serv-ico svg { width: 36px; height: 36px; }
.serv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.serv-cod { font-family: var(--f-titulo); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--gris-txt); }
.serv-precio { font-family: var(--f-titulo); font-weight: 800; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.serv-precio small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris-txt); margin-right: 2px; }
.serv-precio sup { font-size: 11px; color: var(--gris-txt); margin-left: 1px; }
.serv h3 { font-size: 19px; margin: 3px 0 5px; letter-spacing: -.02em; }
.serv p { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.nota-precios { margin-top: 16px; font-size: 13px; color: var(--gris-txt); }
.nota-precios span { color: var(--ink); font-weight: 700; }
@media (min-width: 720px) {
  .serv-tabla { grid-template-columns: 1fr 1fr; }
  .serv:nth-child(odd) { border-right: 1px solid var(--linea); }
  .serv:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .servicios { padding: 72px 0 88px; }
  .serv-tabla { grid-template-columns: repeat(3, 1fr); }
  .serv { padding: 24px 22px; }
  .serv:nth-child(odd) { border-right: 0; }
  .serv:not(:nth-child(3n)) { border-right: 1px solid var(--linea); }
  .serv:nth-last-child(-n + 3) { border-bottom: 0; }
}

/* ---------------- Función estrella ---------------- */
.estrella { background: var(--gris); padding: 44px 0 56px; }
.estrella .sec-cabeza { margin-bottom: 20px; }
.estrella .sec-cabeza h2 { font-size: clamp(36px, 10.4vw, 76px); }
.estrella .sec-lead { font-size: 15px; margin-top: 10px; }
.estrella-grid { display: grid; gap: 22px; }
.paso-f { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.paso-f legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 0; margin-bottom: 10px; font-family: var(--f-titulo); font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.paso-f legend small { flex-basis: 100%; padding-left: 32px; margin-top: -2px; font-family: var(--f-texto); font-weight: 500; font-size: 12.5px; letter-spacing: 0; color: var(--gris-txt); }
.num { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 4px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }
.opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opcion {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
  min-height: 104px; padding: 8px 4px 9px; background: #fff; border: 1.5px solid var(--linea); border-radius: var(--radio-card);
  font-family: var(--f-titulo); font-weight: 700; font-size: 12.5px; line-height: 1.12; letter-spacing: -.005em; text-align: center; color: var(--ink);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}
.opcion:hover { border-color: var(--ink); }
.opcion-ilus { width: 100%; display: flex; justify-content: center; }
.opcion-ilus svg { width: 100%; max-width: 86px; height: auto; aspect-ratio: 96 / 72; }
.opcion-nombre { text-wrap: balance; padding: 0 2px; }
.opcion-check { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.opcion-check svg { width: 13px; height: 13px; }
.opcion[aria-pressed="true"] { border-color: var(--azul); border-width: 2px; padding: 7.5px 3.5px 8.5px; background: var(--azul-claro); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.opcion[aria-pressed="true"] .opcion-check { transform: scale(1); }
.opcion.rebote .opcion-ilus { animation: rebote .45s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes rebote { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.opcion[aria-pressed="true"] .anim-gota { animation: gotita 1.4s ease-in infinite; }
.opcion[aria-pressed="true"] .anim-gota-2 { animation-delay: .6s; }
@keyframes gotita { 0% { transform: translateY(-3px); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(5px); opacity: 1; } 100% { transform: translateY(7px); opacity: 0; } }
#f-problema.con-error .opcion, #f-urgencia.con-error label { border-color: var(--error); }

.urgencias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.urg { position: relative; }
.urg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.urg label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%;
  min-height: 84px; padding: 9px 9px 10px; background: #fff; border: 1.5px solid var(--linea); border-radius: 8px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .2s ease;
}
.urg label:hover { border-color: var(--ink); }
.urg-ico { width: 22px; height: 22px; color: var(--ink-2); margin-bottom: 2px; }
.urg label strong { font-family: var(--f-titulo); font-weight: 800; font-size: 14.5px; line-height: 1.1; letter-spacing: -.01em; }
.urg label small { font-size: 11.5px; line-height: 1.25; color: var(--gris-txt); }
.urg input:checked + label { border-color: var(--azul); background: var(--azul-claro); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.urg input:checked + label .urg-ico { color: var(--azul-osc); }
.urg-ahora input:checked + label { background: var(--amarillo); border-color: var(--ink); }
.urg-ahora input:checked + label .urg-ico { color: var(--ink); animation: parpadeo 1s ease-in-out infinite alternate; }
.urg-ahora input:checked + label small { color: var(--ink); }
.urg input:focus-visible + label { outline: 3px solid var(--azul); outline-offset: 2px; }
@keyframes parpadeo { from { transform: scale(1); } to { transform: scale(1.14); } }

.campos { display: grid; gap: 12px; }
.campo label { display: block; margin-bottom: 6px; font-family: var(--f-titulo); font-weight: 700; font-size: 14px; }
.campo label small { font-family: var(--f-texto); font-weight: 500; color: var(--gris-txt); }
.campo input, .campo select, .campo textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 12px; font-size: 16px;
  background: #fff; border: 1.5px solid #8794A5; border-radius: var(--radio-btn); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo textarea { resize: vertical; min-height: 64px; line-height: 1.4; }
.campo input::placeholder, .campo textarea::placeholder { color: #8692A3; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(10, 108, 255, .22); }
.campo [aria-invalid="true"] { border-color: var(--error); }
.select-caja { position: relative; }
.select-caja select { appearance: none; padding-right: 40px; cursor: pointer; }
.select-caja::after { content: ''; position: absolute; right: 15px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.error { min-height: 0; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--error); }
.error:empty { margin: 0; }
@media (min-width: 560px) {
  .opcion { min-height: 140px; font-size: 14.5px; gap: 6px; padding: 12px 8px; }
  .opcion[aria-pressed="true"] { padding: 11.5px 7.5px; }
  .opcion-ilus svg { max-width: 124px; }
  .campos { grid-template-columns: 1fr 1fr; }
  .campo-ancho { grid-column: 1 / -1; }
}

.medidor {
  position: sticky; bottom: 10px; z-index: 5; margin-top: 4px;
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--ink); color: #fff; border-radius: 8px; box-shadow: 0 10px 24px rgba(15, 27, 45, .28);
}
.medidor-tubo { position: relative; flex: 0 0 38%; height: 14px; border-radius: 7px; background: #24334B; border: 1.5px solid #6E7D91; overflow: hidden; }
.medidor-agua { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(180deg, #5AA0FF, #0A6CFF 60%, #0750C2); transition: width .55s cubic-bezier(.2, .8, .2, 1); }
.medidor-agua::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 10px, rgba(255, 255, 255, .28) 10px 14px); animation: corre 1s linear infinite; }
@keyframes corre { from { background-position: 0 0; } to { background-position: 14px 0; } }
.medidor-txt { font-family: var(--f-titulo); font-size: 13px; font-weight: 600; line-height: 1.2; color: #C3CDDA; }
.medidor-num { color: #fff; font-weight: 800; margin-right: 2px; }
.medidor.completo .medidor-falta { color: #fff; }
.medidor.urgente .medidor-tubo { border-color: var(--amarillo); }
@media (min-width: 960px) { .medidor { display: none; } }

/* Orden de servicio (ticket) */
.ticket { position: relative; align-self: start; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radio-card); box-shadow: var(--sombra-dura); overflow: hidden; }
.ticket-cinta { height: 0; background: var(--peligro); transition: height .3s ease; }
.ticket.urgente .ticket-cinta { height: 14px; border-bottom: 1.5px solid var(--ink); }
.ticket-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 16px 12px; border-bottom: 1.5px dashed var(--linea); }
.ticket-cab h3 { font-size: 15px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 400px) { .ticket-cab h3 { font-size: 17px; } }
.ticket-cab p { margin-top: 4px; font-size: 12px; color: var(--gris-txt); }
.ticket-num { flex: none; font-family: var(--f-titulo); font-weight: 700; font-size: 12px; letter-spacing: .04em; border: 1.5px solid var(--ink); border-radius: 3px; padding: 3px 7px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-cuerpo { position: relative; }
.ticket-sello {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  font-family: var(--f-titulo); font-weight: 800; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--azul-osc); border: 2.5px solid currentColor; border-radius: 5px; padding: 4px 9px 3px;
  opacity: 0; transform: rotate(-12deg) scale(1.8); transition: opacity .25s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1); pointer-events: none;
}
.ticket.listo .ticket-sello { opacity: .92; transform: rotate(-12deg) scale(1); }
.ticket.urgente .ticket-sello { color: var(--ink); background: var(--amarillo); }
.ticket-filas { margin: 0; padding: 4px 16px 6px; }
.fila { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 40px; padding: 7px 6px; margin: 0 -6px; border-bottom: 1px solid var(--gris-2); border-radius: 4px; }
.fila:last-child { border-bottom: 0; }
.fila dt { font-family: var(--f-titulo); font-weight: 700; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-txt); }
.fila dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; display: flex; flex-wrap: wrap; gap: 4px; overflow-wrap: anywhere; }
.fila dd .falta { color: #8692A3; font-weight: 500; font-size: 13.5px; font-style: italic; }
.fila.llena { animation: llena .9s ease; }
@keyframes llena { 0% { background: rgba(10, 108, 255, .16); } 100% { background: transparent; } }
.chip { display: inline-block; padding: 2px 8px; border: 1.5px solid var(--azul); border-radius: 999px; background: var(--azul-claro); font-size: 13px; font-weight: 700; color: var(--ink); }
.pill { display: inline-block; padding: 3px 9px; border-radius: 4px; font-family: var(--f-titulo); font-weight: 800; font-size: 13.5px; }
.pill-ahora { background: var(--amarillo); color: var(--ink); border: 1.5px solid var(--ink); }
.pill-hoy { background: var(--azul-claro); color: var(--azul-osc); border: 1.5px solid var(--azul); }
.pill-semana { background: var(--gris); color: var(--ink-2); border: 1.5px solid var(--linea); }
.ticket-pie { padding: 14px 16px 16px; border-top: 1.5px dashed var(--linea); background: #FAFBFC; }
.ticket-enviar { width: 100%; }
.ticket-nota { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--ink-2); }
.ticket-nota svg { width: 20px; height: 20px; flex: none; color: var(--azul-osc); }
.ticket-estado { font-size: 13.5px; color: var(--ink-2); }
.ticket-estado:not(:empty) { margin-top: 10px; padding: 10px 12px; background: var(--azul-claro); border-radius: 6px; }
@media (min-width: 960px) {
  .estrella { padding: 72px 0 88px; }
  .estrella-grid { grid-template-columns: minmax(0, 1.3fr) minmax(330px, .85fr); gap: 44px; align-items: start; }
  .ticket { position: sticky; top: calc(var(--alto-arriba) + 20px); }
  .opciones { gap: 12px; }
  .opcion { min-height: 146px; font-size: 14.5px; padding: 12px 8px; gap: 6px; }
  .opcion[aria-pressed="true"] { padding: 11.5px 7.5px; }
  .opcion-ilus svg { max-width: 118px; }
  .urg label { min-height: 96px; padding: 12px; }
  .urg label strong { font-size: 16px; }
  .urg label small { font-size: 12.5px; }
  .estrella .sec-lead { font-size: 17px; }
}

/* ---------------- Mientras llegamos ---------------- */
.mientras { background: var(--ink); color: #fff; padding: 0 0 56px; position: relative; }
.cinta-peligro { height: 16px; background: var(--peligro); margin-bottom: 40px; border-bottom: 1.5px solid var(--ink); }
.mientras-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mientras-paso { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; align-items: center; align-content: start; padding: 12px; background: #fff; color: var(--ink); border-radius: var(--radio-card); }
.mientras-ilus { background: var(--gris); border-radius: 6px; padding: 4px; }
.mientras-ilus svg { width: 100%; height: auto; }
.mientras-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 6px; border-radius: 4px; background: var(--amarillo); border: 1.5px solid var(--ink); font-family: var(--f-titulo); font-weight: 800; font-size: 15px; }
.mientras-txt h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.1; }
.mientras-txt p { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mientras-aviso { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #DCE3EC; }
.mientras-aviso svg { width: 22px; height: 22px; flex: none; }
@media (min-width: 760px) {
  .mientras-lista { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .mientras-paso { grid-template-columns: 1fr; align-items: start; padding: 14px 14px 20px; }
  .mientras-ilus { padding: 10px; }
  .mientras-txt { padding: 4px 6px 0; }
  .mientras-txt h3 { font-size: 21px; }
  .mientras-txt p { font-size: 15px; }
}
@media (min-width: 1100px) { .mientras { padding-bottom: 88px; } .cinta-peligro { margin-bottom: 64px; } }

/* ---------------- Cómo trabajamos ---------------- */
.pasos { padding: 48px 0 56px; }
.pasos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.paso { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; align-content: start; }
.paso:not(:last-child)::before { content: ''; position: absolute; left: 23px; top: 28px; height: 100%; width: 10px; background: var(--acero-v); border-left: 1px solid rgba(15, 27, 45, .5); border-right: 1px solid rgba(15, 27, 45, .5); }
.paso:last-child { padding-bottom: 0; }
.paso-nodo { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 3px 3px 0 4px var(--gris-2); }
.paso-nodo::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed var(--linea); }
.paso-nodo svg { width: 26px; height: 26px; }
.paso-num { font-family: var(--f-titulo); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-osc); }
.paso h3 { margin-top: 3px; font-size: 20px; letter-spacing: -.02em; }
.paso p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
@media (min-width: 900px) {
  .pasos { padding: 80px 0 88px; }
  .pasos-lista { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .paso:not(:last-child)::before { left: 28px; top: 23px; width: calc(100% + 28px); height: 10px; background: var(--acero); border: 0; border-top: 1px solid rgba(15, 27, 45, .5); border-bottom: 1px solid rgba(15, 27, 45, .5); }
  .paso { grid-template-columns: 1fr; gap: 18px; padding: 0; }
}

/* ---------------- Trabajos (láminas) ---------------- */
.galeria { background: var(--gris); padding: 48px 0 56px; }
.nota-fotos { display: inline-flex; align-items: center; gap: 8px; margin: -10px 0 20px; padding: 6px 12px 6px 10px; border: 1.5px dashed #8794A5; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.nota-fotos svg { width: 18px; height: 18px; color: var(--azul-osc); }
.laminas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lamina { display: block; width: 100%; padding: 0; text-align: left; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radio-card); overflow: hidden; cursor: zoom-in; transition: transform .16s ease, box-shadow .16s ease; }
.lamina:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra-dura); }
.lamina-ilus svg { width: 100%; height: auto; aspect-ratio: 320 / 220; }
.lamina-pie { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px 11px; border-top: 1.5px solid var(--ink); }
.lamina-num { font-family: var(--f-titulo); font-weight: 700; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-osc); }
.lamina-tit { font-family: var(--f-titulo); font-weight: 800; font-size: 14.5px; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 900px) {
  .galeria { padding: 80px 0 88px; }
  .laminas { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .lamina-pie { padding: 12px 14px 14px; }
  .lamina-tit { font-size: 16px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(15, 27, 45, .82); opacity: 0; transition: opacity .2s ease; }
.lightbox[hidden] { display: none; }
.lightbox.abierto { opacity: 1; }
.lb-caja { position: relative; width: min(100%, 880px); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radio-card); box-shadow: 6px 6px 0 #000; }
.lb-ilus svg { width: 100%; height: auto; }
.lb-pie { display: flex; gap: 14px; justify-content: space-between; align-items: flex-end; padding: 14px 16px 16px; border-top: 1.5px solid var(--ink); }
.lb-num { font-family: var(--f-titulo); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-osc); }
.lb-pie h3 { margin-top: 4px; font-size: 21px; letter-spacing: -.02em; }
.lb-texto { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); max-width: 60ch; }
.lb-nota { margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--gris-txt); }
.lb-flechas { display: flex; gap: 8px; flex: none; }
.lb-flechas button, .lb-cerrar { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radio-btn); cursor: pointer; color: var(--ink); }
.lb-flechas svg, .lb-cerrar svg { width: 22px; height: 22px; }
.lb-flechas button:hover, .lb-cerrar:hover { background: var(--azul-claro); }
.lb-cerrar { position: absolute; top: 10px; right: 10px; z-index: 2; box-shadow: 2px 2px 0 var(--ink); }

/* ---------------- Preguntas ---------------- */
.faq { padding: 48px 0 56px; }
.faq-lista { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1.5px solid var(--ink); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--f-titulo); font-weight: 800; font-size: 17.5px; line-height: 1.25; letter-spacing: -.015em; color: var(--ink); }
.faq-btn:hover span:first-child { color: var(--azul-osc); }
.faq-signo { position: relative; width: 30px; height: 30px; flex: none; border: 1.5px solid var(--ink); border-radius: 50%; transition: background-color .2s ease, transform .3s ease; }
.faq-signo::before, .faq-signo::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-signo::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.abierta .faq-signo { background: var(--azul); border-color: var(--azul); transform: rotate(180deg); }
.faq-item.abierta .faq-signo::before, .faq-item.abierta .faq-signo::after { background: #fff; }
.faq-item.abierta .faq-signo::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s linear .3s; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 44px 18px 2px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.faq-item.abierta .faq-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s ease; }
@media (min-width: 900px) {
  .faq { padding: 80px 0 88px; }
  .faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .faq-grid .sec-cabeza { display: block; }
  .faq-btn { font-size: 19px; padding: 22px 2px; }
}

/* ---------------- Cierre ---------------- */
.cierre { position: relative; background: var(--azul); color: #fff; padding: 44px 0 56px; overflow: hidden; }
.cierre::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.cierre-grid { position: relative; display: grid; gap: 20px; align-items: center; }
.cierre h2 { font-size: clamp(36px, 10vw, 76px); line-height: .96; letter-spacing: -0.035em; text-wrap: balance; }
.cierre-txt > p:not(.rotulo) { margin-top: 14px; font-size: 16.5px; color: #E3EEFF; max-width: 44ch; }
.cierre .btn { margin-top: 24px; width: 100%; }
.cierre-dibujo { justify-self: center; width: 190px; margin-bottom: -56px; }
.cierre-dibujo svg { width: 100%; height: auto; }
.cierre .ilus-txt { font-size: 10px; letter-spacing: .14em; }
.anim-colgar { transform-box: view-box; transform-origin: 100px 74px; animation: colgar 2.8s ease-in-out infinite alternate; }
@media (min-width: 640px) { .cierre .btn { width: auto; } }
@media (min-width: 900px) {
  .cierre { padding: 80px 0; }
  .cierre-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 48px; }
  .cierre-dibujo { width: 100%; max-width: 320px; justify-self: end; margin-bottom: -80px; align-self: end; }
}

/* ---------------- Footer ---------------- */
.pie { background: var(--ink); color: #C3CDDA; padding: 32px 0 96px; border-top: 4px solid var(--azul); }
.pie-in { display: grid; gap: 18px; }
.pie-marca { display: flex; align-items: center; gap: 12px; }
.pie-marca p { display: flex; flex-direction: column; line-height: 1.2; }
.pie-marca strong { font-family: var(--f-titulo); font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -.02em; }
.pie-marca span { font-size: 13px; }
.pie-muestra { font-size: 13.5px; line-height: 1.5; max-width: 70ch; }
.pie-muestra a { color: #fff; font-weight: 700; text-decoration-color: #6EA8FF; text-underline-offset: 3px; }
@media (min-width: 900px) { .pie { padding: 40px 0; } .pie-in { grid-template-columns: auto 1fr; gap: 48px; align-items: center; } .pie-muestra { justify-self: end; text-align: right; } }

/* ---------------- WhatsApp flotante ---------------- */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--azul); color: #fff; border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}
.wa-flotante svg { width: 28px; height: 28px; }
.wa-flotante:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.wa-flotante.escondido { opacity: 0; transform: translateY(16px) scale(.9); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
body.menu-abierto .wa-flotante { opacity: 0; visibility: hidden; }

/* ---------------- Menos movimiento ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .revela { opacity: 1; transform: none; }
  .hero .gota { animation: none !important; transform: translateY(30px); opacity: 1; }
  .hero .onda { animation: none !important; opacity: 0; }
  .hero .aguja { animation: none !important; transform: rotate(80deg); }
}
