:root {
  --marino: #102A43;
  --marino-2: #0B2034;
  --marino-3: #173B67;
  --texto: #172D40;
  --texto-2: #3E5263;
  --oro: #C48523;      /* acento sobre fondo claro (sitio principal) */
  --ambar: #E8A33D;    /* acento sobre fondo oscuro (VSL) */
  --suave: #F3F6F8;
  --linea: #DCE3EA;
  --wa: #25D366;
  --radio: 16px;
  --sombra: 0 18px 40px rgba(16, 42, 67, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--texto);
  background: #fff;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: Montserrat, Inter, Arial, sans-serif; line-height: 1.12; margin: 0 0 0.5em; color: var(--marino); }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.3px; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.contenedor { width: min(1120px, 100% - 40px); margin-inline: auto; }
.contenedor--angosto { width: min(780px, 100% - 40px); }
.centrado { text-align: center; }
.acento { color: var(--oro); }
.acento-claro { color: var(--ambar); }

/* ── Barra superior ── */
.barra { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--linea); box-shadow: 0 2px 14px rgba(16,42,67,0.08); }
.barra__in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.barra__logo img { height: 40px; width: auto; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: Inter, Arial, sans-serif; font-weight: 800; text-decoration: none;
  border-radius: 999px; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn--wa { background: var(--wa); color: #06331A; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45); }
.btn--grande { padding: 18px 34px; font-size: 1.12rem; }
.btn--chico { padding: 8px 16px; font-size: 0.9rem; }

/* ── Hero + video ── */
.hero {
  background: radial-gradient(ellipse at 50% 0%, var(--marino-3) 0%, var(--marino) 55%, var(--marino-2) 100%);
  color: #fff; padding: 56px 0 72px; text-align: center;
}
.hero h1 { color: #fff; }
.hero h1 .acento { color: var(--ambar); }
.etiqueta {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ambar); border: 1px solid rgba(232,163,61,0.5); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__sub { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: #D3DCE6; max-width: 720px; margin: 0 auto 32px; }
.video {
  position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radio); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.45); background: #000;
  border: 1px solid rgba(255,255,255,0.12);
}
.video iframe, .video #yt, .video__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { padding: 0; cursor: pointer; background: #000; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%; background: var(--ambar); display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(232,163,61,0.25); transition: transform 0.15s;
}
.video__poster:hover .video__play { transform: translate(-50%, -50%) scale(1.07); }
.video__play svg { width: 40px; height: 40px; fill: var(--marino); margin-left: 5px; }
.video__dur { position: absolute; right: 14px; bottom: 12px; background: rgba(11,32,52,0.85); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.video__aviso { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11,32,52,0.82); color: #fff; font-weight: 700; padding: 20px; text-align: center; }
.hero__cta { margin-top: 30px; opacity: 0; transform: translateY(14px); transition: opacity 0.5s, transform 0.5s; pointer-events: none; }
.hero__cta.visible { opacity: 1; transform: none; pointer-events: auto; }
.nota { font-size: 0.92rem; color: #B9C6D3; margin-top: 12px; }
.nota--clara { color: #C9D3DE; }

/* ── Secciones ── */
.seccion { padding: 84px 0; }
.seccion--suave { background: var(--suave); }
.seccion--oscura { background: var(--marino); color: #DCE4EC; }
.seccion--oscura h2, .seccion--oscura h3 { color: #fff; }
.kicker { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oro); margin-bottom: 10px; }
.kicker--claro { color: var(--ambar); }
.lead { font-size: 1.15rem; color: var(--texto-2); max-width: 760px; }
.frase {
  font-family: Montserrat, Inter, sans-serif; font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  color: var(--marino); border-left: 5px solid var(--oro); padding: 6px 0 6px 18px; margin: 36px 0;
}

/* Costos */
.costos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.costos li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--linea); border-radius: 12px; padding: 16px 18px; font-weight: 600; box-shadow: 0 4px 14px rgba(16,42,67,0.05); }
.ico--alerta { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #FDECEC; position: relative; }
.ico--alerta::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #D63B3B; font-weight: 900; }

/* Áreas */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 34px; }
.area { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radio); padding: 26px; transition: border-color 0.2s, transform 0.2s; }
.area:hover { border-color: var(--ambar); transform: translateY(-3px); }
.area svg { width: 52px; height: 52px; fill: none; stroke: var(--ambar); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.area p { margin: 0; color: #C9D3DE; }

/* Pasos */
.pasos { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.paso { border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px; background: #fff; box-shadow: var(--sombra); display: grid; gap: 4px; }
.paso__cuando { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro); }
.paso p { color: var(--texto-2); margin: 0; }
.paso figure { margin: 16px 0 0; }
.paso figure img { border-radius: 12px; }
.paso figcaption { font-size: 0.78rem; color: #7C8B99; margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
@media (min-width: 860px) {
  .pasos { grid-template-columns: 1fr 1fr; }
  .paso:last-child { grid-column: 1 / -1; }
}
.beneficio { margin-top: 26px; background: linear-gradient(135deg, #FFF7EA, #FFFDF8); border: 1px solid #F0D7A8; border-radius: var(--radio); padding: 22px 24px; }
.beneficio strong { color: var(--oro); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; }
.beneficio p { margin: 6px 0 0; }
.beneficio small { color: #8A6A35; }

/* Filtro */
.filtro { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 20px; }
.filtro__col { background: #fff; border-radius: var(--radio); padding: 26px; border-top: 5px solid; box-shadow: 0 6px 20px rgba(16,42,67,0.06); }
.filtro__col--si { border-color: #2E9E5B; }
.filtro__col--si h3 { color: #23784A; }
.filtro__col--no { border-color: #C9473F; }
.filtro__col--no h3 { color: #A8372F; }
.filtro__col p { margin: 0; color: var(--texto-2); }

/* Sobre mí */
.sobre { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 48px; align-items: center; }
.sobre__foto { border-radius: 20px; box-shadow: var(--sombra); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.sobre__cargo { color: var(--oro); font-weight: 700; margin-top: -6px; }
.enlace { color: var(--marino); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--oro); }
@media (max-width: 760px) { .sobre { grid-template-columns: 1fr; gap: 26px; } .sobre__foto { max-width: 320px; } }

/* FAQ */
details { background: #fff; border: 1px solid var(--linea); border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--marino); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--oro); }
details[open] summary::after { content: "–"; }
details p { color: var(--texto-2); padding-bottom: 6px; }

/* Cierre */
.cierre { background: radial-gradient(ellipse at 50% 100%, var(--marino-3), var(--marino-2)); color: #fff; text-align: center; padding: 90px 0; }
.cierre h2 { color: #fff; max-width: 900px; margin: 0 auto 30px; }
.cierre__pre { color: #C9D3DE; font-size: 1.1rem; max-width: 720px; margin: 0 auto 18px; }

/* Pie */
.pie { background: var(--marino-2); color: #9FB0C1; font-size: 0.9rem; padding: 40px 0 110px; }
.pie__in { display: grid; gap: 6px; justify-items: center; text-align: center; }
.pie__logo { background: #fff; border-radius: 10px; padding: 8px 14px; margin-bottom: 10px; }
.pie__logo img { height: 34px; width: auto; }
.pie a { color: #DCE4EC; }
.pie p { margin: 0; }
.pie__c { margin-top: 8px !important; font-size: 0.8rem; }

/* Botón flotante (celular) */
.flotante {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 30;
  background: var(--wa); color: #06331A; font-weight: 800; text-decoration: none;
  padding: 15px 30px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transition: transform 0.35s ease;
}
.flotante.visible { transform: translate(-50%, 0); }
@media (min-width: 900px) { .flotante { display: none; } }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 56px; }
  .seccion { padding: 60px 0; }
  .btn--grande { width: 100%; padding: 17px 20px; }
  .video__play { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
