/* Página de presentación. Misma paleta e iconos que la app (css/app.css): colores planos, sin degradados. */
:root {
  --tinta: #0F172A;
  --texto: #1E293B;
  --texto-2: #475569;
  --texto-3: #64748B;
  --linea: #E2E8F0;
  --linea-fuerte: #CBD5E1;
  --fondo: #F4F6F8;
  --acento: #0E7490;
  --acento-oscuro: #155E75;
  --acento-suave: #ECF6F8;
  --radio: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--texto);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--tinta); line-height: 1.2; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); margin: 0 0 .6rem; }
h3 { font-size: 1.05rem; margin: .9rem 0 .3rem; }
a { color: var(--acento); }

.ico {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.estrecho { max-width: 760px; }
.antetitulo {
  margin: 0 0 .6rem;
  color: var(--acento);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.subtitulo { color: var(--texto-2); font-size: 1.08rem; max-width: 620px; margin: 0 0 2.2rem; }

/* ------------------------------------------------------------ botones */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.boton:focus-visible { outline: 3px solid rgba(14, 116, 144, .35); outline-offset: 2px; }
.boton-principal { background: var(--acento); color: #fff; }
.boton-principal:hover { background: var(--acento-oscuro); }
.boton-claro { background: #fff; color: var(--tinta); border-color: var(--linea-fuerte); }
.boton-claro:hover { border-color: var(--texto-3); }
.boton-blanco { background: #fff; color: var(--tinta); }
.boton-blanco:hover { background: var(--fondo); }
.boton-pequeno { min-height: 38px; padding: .35rem .95rem; font-size: .95rem; }
.boton-ancho { width: 100%; margin-top: .6rem; }

/* ------------------------------------------------------------ navegación */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linea);
}
.nav-dentro { display: flex; align-items: center; gap: 1.5rem; min-height: 60px; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--tinta); text-decoration: none; }
.logo img { border-radius: 6px; }
.nav-enlaces { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-enlaces a { color: var(--texto-2); text-decoration: none; font-size: .95rem; }
.nav-enlaces a:hover { color: var(--tinta); }

/* ------------------------------------------------------------ portada */

.portada { padding: 4.5rem 0 4rem; overflow: hidden; border-bottom: 1px solid var(--linea); }
.portada-dentro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 1.1rem; letter-spacing: -.025em; }
.entradilla { font-size: 1.18rem; color: var(--texto-2); margin: 0 0 1.8rem; max-width: 540px; }
.botones { display: flex; flex-wrap: wrap; gap: .75rem; }
.garantia { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 1.4rem 0 0; color: var(--texto-3); font-size: .92rem; }
.garantia li { position: relative; padding-left: 1rem; }
.garantia li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--linea-fuerte); }

.portada-visual { position: relative; min-height: 540px; }
.hoja-pdf {
  position: absolute;
  width: 330px;
  right: 0;
  top: 40px;
  border-radius: 4px;
  border: 1px solid var(--linea);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .10);
}
.telefono {
  position: absolute;
  left: 4%;
  top: 0;
  width: 272px;
  padding: 10px;
  border-radius: 40px;
  background: var(--tinta);
  box-shadow: 0 24px 50px rgba(15, 23, 42, .22);
}
.pantalla {
  border-radius: 31px;
  background: var(--fondo);
  padding: 20px 12px 16px;
  font-size: 11px;
  color: var(--tinta);
  overflow: hidden;
}
.t-barra { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-weight: 700; font-size: 10.5px; margin-bottom: 9px; white-space: nowrap; }
.t-chip { font: 600 8.5px/1 ui-monospace, monospace; background: #fff; border: 1px solid var(--linea); color: var(--texto-2); padding: 4px 6px; border-radius: 4px; }
.t-total { background: var(--tinta); color: #fff; border-radius: 8px; padding: 10px 12px; display: grid; margin-bottom: 9px; }
.t-total small { font-size: 7.5px; letter-spacing: .1em; color: #94A3B8; }
.t-total strong { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.t-total span { font-size: 9px; color: #CBD5E1; }
.t-chips { display: flex; gap: 4px; margin-bottom: 8px; }
.t-chips span { border: 1px solid var(--linea); background: #fff; border-radius: 5px; padding: 3px 7px; font-size: 9.5px; color: var(--texto-2); }
.t-chips .activo { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.t-rejilla { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 8px; }
.t-rejilla span { background: #fff; border: 1px solid var(--linea); border-radius: 6px; padding: 6px 7px; font-weight: 600; display: grid; }
.t-rejilla b { color: var(--texto-3); font-weight: 500; }
.t-linea { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--linea); border-radius: 6px; padding: 5px 7px; margin-bottom: 4px; }
.t-linea span { display: grid; font-weight: 600; }
.t-linea small { color: var(--texto-3); font-weight: 400; }
.t-boton { margin-top: 8px; background: var(--acento); color: #fff; border-radius: 6px; text-align: center; padding: 9px; font-weight: 600; }

.datos { border-bottom: 1px solid var(--linea); }
.datos-dentro { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.datos-dentro > div { display: flex; gap: .8rem; align-items: flex-start; padding: 1.6rem 1.2rem; }
.datos-dentro > div + div { border-left: 1px solid var(--linea); }
.datos .ico { width: 22px; height: 22px; color: var(--acento); margin-top: .15rem; }
.datos p { margin: 0; color: var(--texto-3); font-size: .92rem; line-height: 1.4; }
.datos b { display: block; color: var(--tinta); font-size: 1rem; }

/* ------------------------------------------------------------ secciones */

.seccion { padding: 5rem 0; }
.seccion-suave { background: var(--fondo); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }

.pasos { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pasos li { border-top: 2px solid var(--tinta); padding-top: 1.1rem; }
.numero { font: 600 .9rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--acento); }
.pasos p, .ventajas p { margin: 0; color: var(--texto-2); font-size: .98rem; }

.ventajas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.2rem;
  background: var(--linea);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
}
.ventajas article { background: #fff; padding: 1.6rem 1.5rem 1.7rem; }
.ventajas .icono {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--linea);
  color: var(--acento);
}
.ventajas .ico { width: 20px; height: 20px; }
.ventajas h3 { margin-top: 1rem; }

.dos-columnas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.muestra-pdf { margin: 0; }
.muestra-pdf img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 4px;
  border: 1px solid var(--linea);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .10);
}

.lista-check { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.lista-check li { position: relative; padding: .3rem 0 .3rem 1.7rem; }
/* Marca de verificación dibujada con bordes: misma línea que los iconos, sin emojis ni fuentes. */
.lista-check li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .72em;
  width: .7rem;
  height: .38rem;
  border-left: 2px solid var(--acento);
  border-bottom: 2px solid var(--acento);
  transform: rotate(-45deg);
}

.catalogo-muestra { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.1rem; display: grid; gap: .5rem; box-shadow: 0 16px 40px rgba(15, 23, 42, .08); }
.catalogo-titulo { margin: 0 0 .3rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-3); }
.catalogo-muestra div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid var(--linea); border-radius: 8px; color: var(--tinta); font-weight: 500; }
.catalogo-muestra b { color: var(--texto-2); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.catalogo-muestra .nueva { justify-content: center; align-items: center; gap: .4rem; border-style: dashed; border-color: var(--linea-fuerte); color: var(--acento); font-weight: 600; }

.precio-dentro { align-items: start; }
.tarifa { background: #fff; border: 1px solid var(--linea-fuerte); border-radius: 12px; padding: 2rem; }
.tarifa-nombre { margin: 0; font-weight: 700; color: var(--texto-3); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.tarifa-precio { margin: .3rem 0 1.3rem; color: var(--texto-3); }
.tarifa-precio b { font-size: 2.8rem; color: var(--tinta); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nota { color: var(--texto-3); font-size: .86rem; text-align: center; margin: 1rem 0 0; }

#preguntas h2 { margin-bottom: 1.8rem; }
details { background: #fff; border: 1px solid var(--linea); border-radius: 8px; padding: 0 1.2rem; margin-bottom: .6rem; }
summary { cursor: pointer; font-weight: 600; color: var(--tinta); padding: 1rem 2rem 1rem 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
/* Chevrón con bordes: gira al abrir. */
summary::after {
  content: "";
  position: absolute;
  right: .3rem;
  top: 1.35rem;
  width: .5rem;
  height: .5rem;
  border-right: 2px solid var(--texto-3);
  border-bottom: 2px solid var(--texto-3);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
details[open] summary::after { transform: rotate(-135deg); top: 1.55rem; }
details p { margin: 0 0 1.1rem; color: var(--texto-2); }

.cierre { background: var(--tinta); color: #CBD5E1; padding: 3.5rem 0; }
.cierre-dentro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cierre h2 { color: #fff; margin: 0 0 .3rem; }
.cierre p { margin: 0; }

.pie { background: var(--tinta); border-top: 1px solid #1E293B; color: #94A3B8; padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px)); font-size: .9rem; }
.pie-dentro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.pie nav { display: flex; gap: 1.2rem; }
.pie a { color: #CBD5E1; text-decoration: none; }
.pie a:hover { color: #fff; }

/* ------------------------------------------------------------ móvil */

@media (max-width: 900px) {
  /* minmax(0, 1fr): sin él, la imagen del PDF ensancha la columna y la página se desborda. */
  .portada-dentro, .dos-columnas { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
  .portada { padding-top: 2.6rem; }
  .portada-visual { min-height: 520px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hoja-pdf { width: 250px; right: -10px; }
  .telefono { left: 0; }
  .datos-dentro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .datos-dentro > div:nth-child(3) { border-left: 0; }
  .datos-dentro > div:nth-child(n + 3) { border-top: 1px solid var(--linea); }
  .pasos, .ventajas { grid-template-columns: minmax(0, 1fr); }
  .pasos { gap: 1.8rem; }
  .nav-enlaces { display: none; }
  .nav-dentro .boton { margin-left: auto; }
  .seccion { padding: 3.6rem 0; }
}

@media (max-width: 520px) {
  .datos-dentro { grid-template-columns: minmax(0, 1fr); }
  .datos-dentro > div { padding: 1.1rem 0; }
  .datos-dentro > div + div { border-left: 0; border-top: 1px solid var(--linea); }
  .botones .boton { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .telefono { width: 250px; }
  .hoja-pdf { width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton, summary::after { transition: none; }
}
