:root {
  --fondo: #f5f7fa;
  --superficie: #ffffff;
  --borde: #e3e8ef;
  --tinta: #0d1522;
  --tinta-suave: #5b6b7f;
  --acento: #0f9d76;
  --acento-fuerte: #0b7a5c;
  --oscuro: #0b1220;
  --radio: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--acento-fuerte); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0.4rem 0 0.8rem; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 0.4rem; }
h3 { font-size: 1rem; margin: 0 0 0.35rem; }
p { margin: 0 0 0.8rem; }

.contenedor { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.barra {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}
.barra-interna { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0; flex-wrap: wrap; }
.marca { display: flex; align-items: center; gap: 0.6rem; color: var(--tinta); }
.marca:hover { text-decoration: none; }
.marca strong { display: block; font-size: 0.95rem; line-height: 1.1; }
.marca small { display: block; font-size: 0.68rem; color: var(--tinta-suave); }
.logo {
  display: block; flex: none;
  width: 38px; height: 38px; border-radius: 10px;
}
.menu { margin-left: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; }
.menu a { color: #334155; }
.menu a:hover { color: var(--acento-fuerte); }
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: 0.65rem 1rem;
  font-size: 0.88rem; font-weight: 700; border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease;
}
.boton:active { transform: translateY(1px); }
.boton-primario { background: var(--acento); color: #fff; }
.boton-primario:hover { background: var(--acento-fuerte); text-decoration: none; }
.boton-borde { border-color: #cbd5e1; color: var(--tinta); background: #fff; }
.boton-borde:hover { background: #f8fafc; text-decoration: none; }
.boton-claro { background: var(--oscuro); color: #fff; }
.boton-claro:hover { background: #1e293b; text-decoration: none; }

.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(15,157,118,0.35), transparent 60%), var(--oscuro);
  color: #fff; padding: 3.2rem 0 3.6rem;
}
.hero-grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1.1fr 0.9fr; }
.hero .etiqueta { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; font-weight: 800; color: #6ee7b7; margin: 0; }
.hero .entrada { color: #cbd5e1; max-width: 34rem; }
.hero .acciones { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1rem 0; }
.hero .boton-borde { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.hero .boton-borde:hover { background: rgba(255,255,255,0.1); }
.lista-checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.35rem; color: #cbd5e1; font-size: 0.85rem; }
.lista-checks li::before { content: "✓"; color: #6ee7b7; margin-right: 0.45rem; font-weight: 800; }
.marco {
  margin: 0; border-radius: var(--radio); overflow: hidden;
  background: #0f172a; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.marco img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.marco figcaption { padding: 0.5rem 0.8rem; font-size: 0.72rem; color: #cbd5e1; border-top: 1px solid rgba(255,255,255,0.1); }

.seccion { padding: 3.2rem 0; }
.seccion-oscura { background: #0f172a; color: #fff; }
.seccion-oscura .subtitulo { color: #94a3b8; }
.subtitulo { color: var(--tinta-suave); max-width: 46rem; margin-bottom: 1.4rem; }
.rejilla { display: grid; gap: 1rem; }
.tarjetas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tarjeta {
  background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 1.1rem; box-shadow: 0 10px 30px -22px rgba(15,23,42,0.35);
}
.tarjeta p { color: var(--tinta-suave); font-size: 0.86rem; margin: 0; }
.galeria { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pasos { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.paso {
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1rem;
}
.paso span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: #e6f7f1; color: var(--acento-fuerte); font-weight: 800; font-size: 0.8rem; margin-bottom: 0.5rem;
}
.paso p { color: var(--tinta-suave); font-size: 0.85rem; margin: 0; }

.planes { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 0.4rem;
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.2rem;
}
.plan.destacado { border-color: #86efac; box-shadow: 0 20px 40px -30px rgba(15,157,118,0.55); }
.sello {
  position: absolute; top: -0.7rem; left: 1rem; background: var(--acento); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; padding: 0.2rem 0.55rem; border-radius: 999px;
}
.precio { font-size: 1.7rem; font-weight: 800; margin: 0; }
.precio small { font-size: 0.75rem; font-weight: 600; color: var(--tinta-suave); }
.resumen { color: var(--tinta-suave); font-size: 0.82rem; min-height: 2.6em; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 0.3rem 0 0.9rem; display: grid; gap: 0.3rem; font-size: 0.83rem; color: #334155; }
.plan ul li::before { content: "✓"; color: var(--acento); font-weight: 800; margin-right: 0.4rem; }
.plan .boton { margin-top: auto; }
.nota { color: var(--tinta-suave); font-size: 0.72rem; margin-top: 1rem; }

.faq {
  background: #fff; border: 1px solid var(--borde); border-radius: 12px;
  padding: 0.8rem 1rem; margin-bottom: 0.6rem;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; }
.faq p { margin: 0.6rem 0 0; color: var(--tinta-suave); font-size: 0.85rem; }

.seccion-cta { background: linear-gradient(135deg, #0b1220, #0f5132); color: #fff; }
.cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; }
.cta p { color: #d1d5db; }
.datos-contacto { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 1rem; font-size: 0.85rem; }
.datos-contacto a { color: #6ee7b7; }
.datos-contacto .legal { color: #94a3b8; font-size: 0.7rem; margin: 0.6rem 0 0; }

.pie { background: #fff; border-top: 1px solid var(--borde); padding: 2rem 0 1.2rem; }
.pie-interno { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.pie-interno p { color: var(--tinta-suave); font-size: 0.8rem; margin: 0.5rem 0 0; }
.pie-interno nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; font-weight: 600; align-items: flex-start; }
.pie .legal { margin-top: 1.4rem; border-top: 1px solid var(--borde); padding-top: 0.9rem; color: #64748b; font-size: 0.72rem; }
.pie .legal p { margin: 0.15rem 0; }

.documento { padding: 2.6rem 0 3rem; }
.documento .contenedor { max-width: 820px; }
.documento h1 { font-size: 1.9rem; }
.documento h2 { margin-top: 1.6rem; font-size: 1.15rem; }
.documento p, .documento li { font-size: 0.9rem; color: #334155; }
.documento ul, .documento ol { padding-left: 1.2rem; }
.documento li { margin-bottom: 0.35rem; }
.documento .nota { font-size: 0.78rem; margin-bottom: 1.4rem; }
.documento h2[id] { scroll-margin-top: 5rem; }
.documento table {
  width: 100%; border-collapse: collapse; margin: 0.6rem 0 1rem; font-size: 0.85rem;
}
.documento th, .documento td {
  border: 1px solid var(--borde); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top;
  color: #334155;
}
.documento thead th {
  background: #f1f5f9; color: var(--tinta); font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.documento tbody tr:nth-child(even) { background: #fafcfe; }
@media (max-width: 640px) {
  .documento table, .documento thead, .documento tbody, .documento tr, .documento th, .documento td { display: block; }
  .documento thead { display: none; }
  .documento tr { border: 1px solid var(--borde); border-radius: 10px; margin-bottom: 0.6rem; overflow: hidden; }
  .documento td { border: 0; border-bottom: 1px solid var(--borde); }
  .documento td:last-child { border-bottom: 0; }
}

@media (max-width: 900px) {
  .hero-grid, .tarjetas, .galeria, .pasos, .planes, .cta { grid-template-columns: 1fr; }
  .menu { width: 100%; justify-content: flex-start; gap: 0.8rem; }
}

.seccion-clara { background: #eef4f2; }
.acciones-centro { justify-content: center; margin-top: 1.4rem; }
.nota-centro { text-align: center; }
