/* ==========================================================
   ZORBA HELADOS · INFORMACIÓN DE VENTA
   Misma línea visual de Inicio e Historia: azul metalizado, crema, tarjetas redondeadas,
   scoops y goteo. Usa las variables de index.css (--font-title, --font-body, --cream, etc.).
   Todas las clases empiezan con "iv-" para no pisar otras hojas.
   ========================================================== */
.iv-page { background: var(--cream, #FFFBF5); overflow-x: clip; }
@keyframes ivFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ivGira { to { transform: rotate(360deg); } }
@keyframes ivCinta { to { transform: translateX(-50%); } }

/* ---------------- ENCABEZADO ---------------- */
.iv-hero {
    position: relative; isolation: isolate; z-index: 2; color: #fff;
    background-color: #28549C;
    background-image:
        linear-gradient(112deg, rgba(255,255,255,0) 26%, rgba(255,255,255,.085) 39%, rgba(255,255,255,0) 52%),
        radial-gradient(ellipse 44% 86% at 76% 46%, rgba(80,168,255,.58) 0%, rgba(80,168,255,.24) 48%, rgba(80,168,255,0) 100%),
        radial-gradient(ellipse 70% 100% at 0% 100%, rgba(8,28,72,.42) 0%, rgba(8,28,72,0) 70%);
}
.iv-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.iv-marca {
    position: absolute; right: 3%; top: 50%; transform: translateY(-50%);
    font-family: var(--font-title); font-size: clamp(240px, 36vw, 520px); font-weight: 800; line-height: .8; letter-spacing: -.08em;
    color: rgba(255,255,255,.075); user-select: none;
}
.iv-sp { position: absolute; width: 15px; height: 5px; border-radius: 3px; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,.14) 100%), var(--spr, #F08CB0); box-shadow: 0 2px 2px rgba(5,20,55,.35); }
.iv-sp-1 { left: 16%; top: 22%; --spr: #F08CB0; transform: rotate(32deg); }
.iv-sp-2 { left: 40%; top: 78%; --spr: #F2C66C; transform: rotate(-24deg); }
.iv-sp-3 { left: 52%; top: 16%; --spr: #8FD18B; transform: rotate(40deg); }
.iv-sp-4 { left: 8%; top: 70%; --spr: #6DCBFF; transform: rotate(-10deg); }
.iv-sp-5 { right: 6%; top: 80%; --spr: #E5483E; transform: rotate(20deg); }

.iv-hero-inner {
    position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px;
    width: min(1180px, calc(100% - 48px)); min-height: 420px; margin: 0 auto; padding: 56px 0 84px;
}
.iv-migas { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 22px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.iv-migas a { color: #BFE6FF; transition: color .2s ease; }
.iv-migas a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.iv-migas [aria-current] { color: #fff; }
.iv-titulo { margin: 0; font-family: var(--font-title); font-size: clamp(46px, 6.6vw, 84px); font-weight: 800; line-height: .96; letter-spacing: -.06em; text-transform: none; color: #fff; text-shadow: 0 10px 34px rgba(5,20,55,.28); }
.iv-subtitulo { max-width: 520px; margin: 22px 0 0; padding: 0 0 0 22px; border-left: 4px solid #F08CB0; font-family: var(--font-body); font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; line-height: 1.5; color: #DDF1FF; }

/* Aro con cono y scoops */
.iv-aro { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin: 0 auto; }
.iv-aro-borde { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.5); animation: ivGira 48s linear infinite; }
.iv-aro-nucleo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.34) 0%, rgba(255,255,255,.08) 62%), rgba(12,36,84,.32); box-shadow: inset 0 0 0 3px rgba(255,255,255,.22), 0 24px 46px rgba(5,20,55,.34); }
.iv-aro-img { position: absolute; height: auto; filter: drop-shadow(0 14px 14px rgba(5,20,55,.38)); animation: ivFloat 8s ease-in-out infinite; }
.iv-a1 { width: 30%; left: 35%; top: 16%; transform: rotate(-8deg); }
.iv-a2 { width: 24%; left: 8%; top: 52%; transform: rotate(-12deg); animation-delay: -2s; }
.iv-a3 { width: 24%; right: 8%; top: 50%; transform: rotate(12deg); animation-delay: -3s; }
.iv-a4 { width: 22%; left: 30%; bottom: 6%; transform: rotate(-6deg); animation-delay: -5s; }
.iv-a5 { width: 16%; right: 0; top: 12%; transform: rotate(14deg); animation-delay: -1s; }

/* Goteo del baño azul */
.iv-goteo { position: absolute; left: 0; top: calc(100% - 1px); z-index: 1; display: block; width: 100%; height: 86px; fill: #28549C; filter: drop-shadow(0 10px 8px rgba(8,28,72,.22)); pointer-events: none; }

/* ---------------- CUERPO ---------------- */
.iv-cuerpo { position: relative; padding: 150px 0 40px; }
.iv-deco { position: absolute; z-index: 0; height: auto; pointer-events: none; filter: drop-shadow(0 10px 10px rgba(31,40,60,.22)); animation: ivFloat 9s ease-in-out infinite; }
.iv-deco-1 { width: 70px; left: 24px; top: 220px; transform: rotate(-10deg); }
.iv-deco-2 { width: 62px; right: 24px; top: 760px; transform: rotate(12deg); animation-delay: -3s; }

/* Presentación */
.iv-intro { position: relative; z-index: 1; width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 44px 52px; box-sizing: border-box; border-radius: 34px; background: #fff; border: 1px solid rgba(40,84,156,.09); box-shadow: 0 22px 50px rgba(31,57,73,.10); }
.iv-intro p { margin: 0; font-family: var(--font-body); font-size: 18px; line-height: 1.9; color: #4A4540; text-align: left; }
.iv-intro .primer-parrafo::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--font-title); font-size: 82px; font-weight: 800; line-height: .78; color: var(--zorba-blue, #1C7FB8); }
.iv-etiqueta { position: absolute; left: 52px; top: -18px; padding: 8px 18px; border-radius: 999px; background: #28549C; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Modalidades de venta */
.iv-ventas { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: start; width: min(1180px, calc(100% - 48px)); margin: 96px auto 0; }
.iv-venta { position: relative; padding: 72px 38px 38px; border-radius: 36px; }
.iv-venta h2 { margin: 0 0 16px; font-family: var(--font-title); font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; text-transform: none; }
.iv-venta > p { margin: 0 0 28px; font-family: var(--font-body); font-size: 17px; line-height: 1.8; text-align: left; }
.iv-venta-icono { position: absolute; left: 38px; top: -38px; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #fff; font-size: 30px; box-shadow: 0 0 0 7px var(--cream, #FFFBF5), 0 12px 22px rgba(163,28,32,.3); }
.iv-venta-menor {
    color: #fff; background-color: #28549C;
    background-image:
        linear-gradient(112deg, rgba(255,255,255,0) 26%, rgba(255,255,255,.08) 40%, rgba(255,255,255,0) 54%),
        radial-gradient(ellipse 50% 90% at 88% 20%, rgba(80,168,255,.5) 0%, rgba(80,168,255,0) 100%),
        radial-gradient(ellipse 70% 100% at 0% 100%, rgba(8,28,72,.4) 0%, rgba(8,28,72,0) 70%);
    box-shadow: 0 28px 60px rgba(28,64,126,.32);
}
.iv-venta-menor h2 { color: #fff; }
.iv-venta-menor > p { color: #EAF5FF; }
.iv-venta-menor .iv-venta-icono { background: #F08CB0; color: #0C2454; }
.iv-direccion { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 22px; background: #fff; color: #28549C; box-shadow: 0 14px 26px rgba(5,20,55,.25); }
.iv-direccion i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #A31C20; color: #fff; font-size: 19px; }
.iv-direccion span { font-family: var(--font-title); font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.iv-venta-scoop { position: absolute; width: 74px; height: auto; right: -20px; bottom: -30px; transform: rotate(14deg); filter: drop-shadow(0 12px 12px rgba(5,20,55,.4)); animation: ivFloat 8s ease-in-out infinite; }
.iv-venta-mayor { background: radial-gradient(circle at 12% 18%, rgba(255,255,255,.75) 0, rgba(255,255,255,0) 45%), linear-gradient(135deg, #FFF3E6 0%, #FFE4CC 100%); border: 1px solid rgba(153,104,62,.12); box-shadow: 0 22px 54px rgba(72,55,38,.10); }
.iv-venta-mayor h2 { color: #28549C; }
.iv-venta-mayor > p { color: #54483D; margin-bottom: 30px; }
.iv-venta-mayor .iv-venta-icono { background: #A31C20; }
.iv-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.iv-opcion { padding: 30px 26px 28px; border-radius: 26px; background: #fff; border: 1px solid rgba(40,84,156,.09); box-shadow: 0 14px 30px rgba(31,57,73,.10); }
.iv-opcion-icono { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 50%; background: #28549C; color: #fff; font-size: 23px; box-shadow: 0 10px 18px rgba(28,64,126,.28); }
.iv-opcion h3 { margin: 0 0 10px; font-family: var(--font-title); font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: #28549C; }
.iv-opcion p { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.75; color: #4A4540; text-align: left; }

/* Cinta con el lema */
.iv-cinta { position: relative; z-index: 1; margin: 110px -30px 22px; padding: 18px 0; overflow: hidden; transform: rotate(-1.4deg); background: linear-gradient(90deg, #1C7FB8, #28549C 50%, #1C7FB8); box-shadow: 0 -8px 24px rgba(28,64,126,.2); }
.iv-cinta-pista { display: flex; align-items: center; gap: 34px; width: max-content; animation: ivCinta 48s linear infinite; }
.iv-cinta-pista span { font-family: var(--font-title); font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.iv-cinta-pista img { width: 36px; height: auto; filter: drop-shadow(0 4px 4px rgba(5,20,55,.35)); }

/* Aparición al hacer scroll (solo si hay JavaScript) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1240px) { .iv-deco { display: none; } }
@media (max-width: 960px) {
    .iv-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 26px; padding: 44px 0 100px; }
    .iv-aro { width: 250px; margin: 6px 0 0; }
    .iv-ventas { grid-template-columns: 1fr; gap: 72px; }
}
@media (max-width: 700px) { .iv-opciones { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .iv-hero-inner { width: calc(100% - 36px); padding: 34px 0 88px; }
    .iv-aro { width: 200px; }
    .iv-goteo { height: 62px; }
    .iv-cuerpo { padding: 110px 0 30px; }
    .iv-intro, .iv-ventas { width: calc(100% - 28px); }
    .iv-intro { padding: 34px 24px; border-radius: 26px; } .iv-intro p { font-size: 16px; } .iv-etiqueta { left: 24px; }
    .iv-ventas { margin-top: 84px; }
    .iv-venta { padding: 62px 24px 28px; border-radius: 28px; } .iv-venta h2 { font-size: 27px; } .iv-venta > p { font-size: 15.5px; }
    .iv-direccion span { font-size: 15px; }
    .iv-cinta { margin: 80px -20px 0; padding: 13px 0; } .iv-cinta-pista span { font-size: 16px; } .iv-cinta-pista img { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .iv-aro-borde, .iv-aro-img, .iv-deco, .iv-venta-scoop, .iv-cinta-pista { animation: none; }
    .js .reveal { opacity: 1; transition: none; }
}