/* Vivi Abbaticchio en GOZ Ecosistema: paleta de su brand book (crema, azul profundo, celestes y amarillo
   mantequilla) con la tipografía y el marco del sitio de GOZ (Montserrat, Playfair itálica, barra y pie comunes). */
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --crema: #FFF7D6; --amarillo: #F8E99B; --amarillo-2: #F2DC6E;
  --azul: #28518B; --azul-hondo: #2C3174; --celeste: #81A1C8; --celeste-2: #B5CFEA; --hielo: #E9F3FF;
  --goz: #093A89; --turq: #00AAB6; --ambar: #FAA210;
  --bg: #FFFDF5; --panel: #FFFFFF; --texto: #1d2a4a; --suave: #4f5d7c; --linea: #dfe6f2;
  --sombra: 0 24px 60px -34px rgba(40, 81, 139, .45);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0c1630; --panel: #13234a; --texto: #f2f5ff; --suave: #b6c3de; --linea: rgba(255, 255, 255, .12);
  --crema: #172a52; --hielo: #1a2f5c; --sombra: 0 24px 60px -30px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--texto); font-family: "Montserrat", system-ui, sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
[data-theme="dark"] a { color: var(--celeste-2); }
em { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* botones (los de la barra los toma de eco-shell.css) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font: 700 .95rem/1.1 "Montserrat", sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primario { background: var(--azul); color: #fff; box-shadow: 0 12px 26px -14px var(--azul); }
.btn-primario:hover { background: var(--azul-hondo); }
.btn-borde { border-color: var(--azul); color: var(--azul); background: transparent; }
[data-theme="dark"] .btn-borde { border-color: var(--celeste-2); color: var(--celeste-2); }
.btn-amarillo { background: var(--amarillo); color: var(--azul-hondo); box-shadow: 0 12px 26px -16px rgba(242, 220, 110, .9); }
.btn-amarillo:hover { background: #fff3b8; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .85rem; background: var(--azul); color: #fff; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-sun { display: none; }
[data-theme="dark"] .icon-btn .i-sun { display: block; }
[data-theme="dark"] .icon-btn .i-moon { display: none; }
@media (max-width: 560px) { .hide-sm { display: none !important; } }

/* portada */
.hero { background: var(--crema); padding: 120px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 10px; background: linear-gradient(90deg, var(--goz), var(--turq) 60%, var(--ambar)); opacity: .85; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.hello { margin: 0 0 1.1rem; display: inline-flex; align-items: baseline; gap: .1rem; padding: .35rem 1.1rem .5rem; border-radius: 18px; background: #9AB8D7; }
.hello span { font: 900 clamp(1.8rem, 4vw, 2.6rem)/1 "Montserrat", sans-serif; color: var(--azul); letter-spacing: -.04em; }
.hello em { font-size: clamp(2.4rem, 5.4vw, 3.6rem); line-height: 1; color: #FFF7D6; }
[data-theme="dark"] .hello { background: #2a4677; }
[data-theme="dark"] .hello span { color: var(--celeste-2); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; color: var(--azul-hondo); }
[data-theme="dark"] .hero h1 { color: #fff; }
.hero h1 em { color: var(--azul); display: block; }
[data-theme="dark"] .hero h1 em { color: var(--amarillo); }
.lead { font-size: 1.12rem; color: var(--suave); max-width: 36rem; margin: 0 0 1.6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.firma-marca { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 0; }
.firma-marca img { width: 170px; }
[data-theme="dark"] .firma-marca img { filter: brightness(0) invert(1); }
.firma-marca span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); border-left: 2px solid var(--azul); padding-left: .9rem; line-height: 1.5; }
[data-theme="dark"] .firma-marca span { color: var(--celeste-2); border-color: var(--celeste-2); }
.hero-foto { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-foto img { position: relative; border-radius: 28px; box-shadow: var(--sombra); border: 8px solid #fff; }
.rayas { position: absolute; inset: -18px -18px 28px 40px; border-radius: 32px; background: repeating-linear-gradient(90deg, var(--amarillo) 0 18px, #fff7c9 18px 36px); }
.globo { position: absolute; z-index: 1; background: #fff; color: var(--azul-hondo); border: 2px solid var(--celeste-2); border-radius: 20px; padding: .55rem .9rem; font: 800 .92rem/1.15 "Montserrat", sans-serif; box-shadow: 0 14px 30px -18px rgba(44, 49, 116, .6); max-width: 13rem; }
.globo em { color: var(--azul); font-size: 1.15em; }
.globo-a { top: 8%; left: -12%; }
.globo-b { bottom: 10%; right: -8%; }

/* secciones */
.seccion { padding: 84px 0; }
.eyebrow { margin: 0 0 .8rem; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--turq); }
.eyebrow.claro { color: var(--amarillo); }
.titulo { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--azul-hondo); max-width: 40rem; margin-bottom: 2rem; }
[data-theme="dark"] .titulo { color: #fff; }
.etiqueta { display: inline-block; margin: 0 0 .9rem; padding: .3rem .8rem; border-radius: 999px; background: var(--hielo); color: var(--azul); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
[data-theme="dark"] .etiqueta { color: var(--celeste-2); }
.datos { display: grid; gap: .7rem; margin: 1.1rem 0; }
.datos div { display: grid; gap: .1rem; }
.datos dt { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--celeste); }
.datos dd { margin: 0; }
.monto { display: grid; font: 900 2.4rem/1 "Montserrat", sans-serif; color: var(--azul-hondo); }
.monto small { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin-bottom: .3rem; }
[data-theme="dark"] .monto { color: #fff; }

/* fase cero */
.fase-cero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.4rem; align-items: center; padding: 2.4rem; border-radius: 32px; background: var(--azul); color: #fff; box-shadow: var(--sombra); position: relative; overflow: hidden; }
.fase-cero::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 233, 155, .35), transparent 70%); }
.fase-cero h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: #fff; }
.fase-cero .etiqueta { background: rgba(255, 255, 255, .14); color: var(--amarillo); }
.fase-cero .datos dt { color: var(--amarillo); }
.fc-precio { display: grid; gap: 1rem; justify-items: start; padding: 1.6rem; border-radius: 24px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); min-width: 240px; position: relative; }
.fc-precio .monto, .fc-precio .monto small { color: #fff; }
.nota { color: rgba(255, 255, 255, .78); font-size: .82rem; }

/* planes */
.planes-sec { background: linear-gradient(180deg, var(--bg), var(--hielo)); }
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.plan { display: flex; flex-direction: column; padding: 1.8rem; border-radius: 28px; background: var(--panel); border: 1px solid var(--linea); box-shadow: var(--sombra); }
.plan h3 { font-size: 1.3rem; color: var(--azul-hondo); }
[data-theme="dark"] .plan h3 { color: #fff; }
.plan h3 em { color: var(--azul); }
[data-theme="dark"] .plan h3 em { color: var(--amarillo); }
.plan-top { border: 2px solid var(--amarillo-2); position: relative; }
.plan-top::before { content: "Alto nivel"; position: absolute; top: -14px; right: 22px; padding: .25rem .8rem; border-radius: 999px; background: var(--amarillo); color: var(--azul-hondo); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.resolver { margin: .4rem 0 .6rem; font-weight: 800; color: var(--azul); }
[data-theme="dark"] .resolver { color: var(--celeste-2); }
.lista { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .65rem; font-size: .93rem; }
.lista li { position: relative; padding-left: 1.5rem; }
.lista li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--amarillo-2); box-shadow: inset 0 0 0 2px var(--azul); }
.plan-pie { margin-top: auto; padding-top: 1.2rem; border-top: 1px dashed var(--linea); display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.paso-a-paso { margin: 0 0 1rem; border-radius: 18px; background: var(--hielo); padding: .2rem 1rem; }
.paso-a-paso summary { cursor: pointer; padding: .7rem 0; font-weight: 800; color: var(--azul); }
[data-theme="dark"] .paso-a-paso summary { color: var(--celeste-2); }
.paso-a-paso h4 { margin: 1rem 0 .6rem; font-size: 1rem; color: var(--azul-hondo); }
[data-theme="dark"] .paso-a-paso h4 { color: #fff; }
.cita { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.02rem; color: var(--azul); border-left: 3px solid var(--amarillo-2); padding-left: .9rem; }
[data-theme="dark"] .cita { color: var(--celeste-2); }
.nota-plan { font-size: .88rem; color: var(--suave); }

/* quién es Vivi */
.vivi-sec { background: var(--azul); color: #fff; position: relative; overflow: hidden; }
.vivi-sec::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18%; background: repeating-linear-gradient(90deg, var(--amarillo) 0 16px, #fff3b8 16px 32px); opacity: .9; }
.vivi-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 3rem; align-items: center; padding-right: 14%; }
.vivi-ilus { align-self: end; }
/* el dibujo viene cortado abajo y a la izquierda desde el brand book: esos bordes se desvanecen en el azul de la sección */
.vivi-ilus img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 3%, #000 74%, transparent 99%), linear-gradient(to right, transparent 0, #000 9%, #000 93%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 3%, #000 74%, transparent 99%), linear-gradient(to right, transparent 0, #000 9%, #000 93%, transparent 100%); mask-composite: intersect; }
/* Vivi se mueve: un vaivén suave de la figura y, cada pocos segundos, un guiño (párpado en SVG sobre el ojo) */
.vivi-mov { position: relative; transform-origin: 50% 100%; animation: vivi-vaiven 7s ease-in-out infinite; }
.vivi-mov img { display: block; width: 100%; height: auto; }
.vivi-guino { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.vivi-parpado { opacity: 0; animation: vivi-guino 5.5s steps(1, end) 2.5s infinite; }
@keyframes vivi-vaiven { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-8px) rotate(1.2deg); } }
@keyframes vivi-guino { 0% { opacity: 0; } 86% { opacity: 1; } 93% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vivi-mov, .vivi-parpado { animation: none; } }
.vivi-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; }
.vivi-copy h2 em { color: var(--amarillo); }
.vivi-copy a { color: var(--amarillo); }
.sellos { list-style: none; margin: 1.4rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sellos li { background: #fff; color: var(--azul-hondo); border-radius: 18px; padding: .5rem .9rem; font-weight: 800; font-size: .92rem; }
.sellos em { color: var(--azul); }

/* cierre */
.cierre { padding: 72px 0; background: var(--crema); text-align: center; }
.cierre-in { display: grid; justify-items: center; gap: .6rem; }
.cierre h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--azul-hondo); }
[data-theme="dark"] .cierre h2 { color: #fff; }
.cierre h2 em { color: var(--azul); }
[data-theme="dark"] .cierre h2 em { color: var(--amarillo); }
.cierre p { max-width: 34rem; color: var(--suave); margin: 0 0 1rem; }

/* aparición suave al hacer scroll */
.js .revela { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.js .revela.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .revela { opacity: 1; transform: none; transition: none; } }

/* los globos de la foto no se salen de la pantalla en tabletas y laptops chicas */
@media (max-width: 1180px) { .globo-a { left: -4%; } .globo-b { right: -2%; } }
@media (max-width: 1000px) {
  .planes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .hero { padding: 104px 0 56px; }
  .hero-in { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero-foto { width: min(340px, 82%); }
  .globo-a { left: -8%; }
  .globo-b { right: -6%; }
  .fase-cero { grid-template-columns: 1fr; padding: 1.6rem; }
  .fc-precio { min-width: 0; }
  .vivi-in { grid-template-columns: 1fr; padding-right: 0; justify-items: center; }
  .vivi-ilus { width: min(300px, 80%); }
  .vivi-sec::after { width: 100%; top: auto; height: 14px; }
  .seccion { padding: 64px 0; }
}
@media (max-width: 480px) {
  .globo { font-size: .8rem; max-width: 10.5rem; }
  .firma-marca { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .plan { padding: 1.4rem; }
}
