/* ==========================================================
   NAVIDAD VIRTUAL (temporada 2026) — franja, sección del inicio,
   recuadro en Servicios y página /navidad-virtual/
   Archivo aparte: para retirar la temporada basta con quitar
   los bloques marcados "NAVIDAD VIRTUAL" del HTML.
   Usa los colores de marca de styles_index.css + un acento dorado.
   ========================================================== */
:root {
    --nv-night: #061833;     /* noche azul (más oscura que el azul profundo) */
    --nv-gold: #F2C14E;      /* luces doradas: solo acentos y botones (texto azul profundo encima) */
    --nv-gold-hi: #F7D27A;
    --nv-soft: #C9D6E8;      /* texto secundario sobre fondo oscuro */
}

/* Fondo de noche con luces (reutilizable) */
.nv-night-bg {
    background:
        radial-gradient(circle at 12% 18%, rgba(242, 193, 78, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 12%, rgba(242, 193, 78, 0.22) 0 2px, transparent 3px),
        radial-gradient(circle at 92% 64%, rgba(255, 255, 255, 0.18) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 38% 82%, rgba(255, 255, 255, 0.14) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 58% 30%, rgba(255, 255, 255, 0.12) 0 1px, transparent 2px),
        radial-gradient(ellipse at 85% 0%, rgba(0, 170, 239, 0.18), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(242, 193, 78, 0.10), transparent 50%),
        linear-gradient(160deg, var(--nv-night) 0%, #0B2D5B 60%, #071F40 100%);
    color: #fff;
}

/* ---------- Botones ---------- */
.nv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 48px; padding: 0.8rem 1.6rem; border-radius: 999px;
    background: var(--nv-gold); color: var(--vb-deep); font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 26px rgba(242, 193, 78, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}
.nv-btn:hover { background: var(--nv-gold-hi); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(242, 193, 78, 0.38); }
.nv-btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.75); box-shadow: none; padding: calc(0.8rem - 2px) calc(1.6rem - 2px); }
.nv-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
/* Aviso de lanzamiento: se ve como botón, pero no compra nada */
.nv-soon {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 48px; padding: 0.7rem 1.3rem; border-radius: 999px;
    background: rgba(242, 193, 78, 0.12); border: 1.5px dashed rgba(242, 193, 78, 0.7);
    color: var(--nv-gold-hi); font-weight: 700; text-decoration: none; white-space: nowrap;
}
a.nv-soon:hover { background: rgba(242, 193, 78, 0.2); }
.nv-soon::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--nv-gold); box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.25); flex: none; }

/* ---------- 1. Franja superior del inicio ---------- */
.nv-bar { margin-top: var(--header-h); position: relative; border-bottom: 3px solid var(--nv-gold); }
.nv-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0.85rem 2rem; display: flex; align-items: center; gap: 1rem 1.5rem; }
.nv-bar-ico { width: 44px; height: 44px; flex: none; }
.nv-bar-text { flex: 1; min-width: 0; font-size: 1rem; line-height: 1.4; color: #fff; }
.nv-bar-text strong { font-family: var(--font-title); color: var(--nv-gold-hi); }
.nv-bar-text a { color: var(--nv-soft); font-size: 0.9rem; margin-left: 0.4rem; white-space: nowrap; }
.nv-bar-text a:hover { color: #fff; }
.nv-bar .nv-btn, .nv-bar .nv-soon { min-height: 44px; padding-top: 0.6rem; padding-bottom: 0.6rem; flex: none; }
/* El hero ya no necesita reservar espacio para el header fijo: lo hace la franja */
.nv-bar + .hero { padding-top: 2.5rem; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }

/* ---------- 2. Sección del inicio ---------- */
.nv-section { position: relative; padding: 5rem 2rem 4.5rem; overflow: hidden; }
.nv-section::before, .nv-section::after { /* guirnalda de luces arriba y abajo */
    content: ''; position: absolute; left: 0; right: 0; height: 14px;
    background: radial-gradient(circle, var(--nv-gold) 0 3px, rgba(242, 193, 78, 0.25) 4px, transparent 6px) 0 50% / 38px 14px repeat-x;
    opacity: 0.85;
}
.nv-section::before { top: 10px; }
.nv-section::after { bottom: 10px; }
.nv-wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.nv-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.nv-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--nv-gold-hi); background: rgba(242, 193, 78, 0.12); border: 1px solid rgba(242, 193, 78, 0.4);
    padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: 999px;
}
.nv-badge b { background: var(--nv-gold); color: var(--vb-deep); border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.72rem; }
.nv-section h2, .nv-page h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; margin-bottom: 1rem; color: #fff; }
.nv-section h2 span, .nv-page h1 span { color: var(--nv-gold-hi); }
.nv-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #D7E2F1; line-height: 1.6; max-width: 600px; margin-bottom: 1.75rem; }
.nv-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.nv-pay { margin-top: 1rem; font-size: 0.9rem; color: var(--nv-soft); }

.nv-tree { width: 100%; max-width: 330px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }
.nv-tree .nv-light { animation: nvTwinkle 2.6s ease-in-out infinite; }
.nv-tree .nv-light:nth-of-type(3n) { animation-delay: 0.9s; }
.nv-tree .nv-light:nth-of-type(3n+1) { animation-delay: 1.7s; }
@keyframes nvTwinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.nv-subtitle { font-size: clamp(1.35rem, 3vw, 1.75rem); color: #fff; margin-bottom: 1.5rem; text-align: center; }

/* Así funciona */
.nv-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: nvpaso; margin-bottom: 3.5rem; }
.nv-steps li {
    position: relative; counter-increment: nvpaso;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px; padding: 2.1rem 1.5rem 1.5rem;
}
.nv-steps li::before {
    content: counter(nvpaso); position: absolute; top: -1.15rem; left: 1.5rem;
    width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--nv-gold); color: var(--vb-deep);
    font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 5px var(--nv-night);
}
.nv-steps h3 { font-size: 1.15rem; color: #fff; margin-bottom: 0.4rem; line-height: 1.3; }
.nv-steps p { color: var(--nv-soft); font-size: 0.95rem; line-height: 1.55; }

/* Tarjetas de árboles */
.nv-trees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.nv-plan {
    position: relative; display: flex; flex-direction: column; text-align: center;
    background: #fff; color: var(--vb-deep); border-radius: 22px; padding: 2rem 1.6rem 1.6rem;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}
.nv-plan.is-featured { outline: 3px solid var(--nv-gold); }
.nv-plan-tag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    background: var(--nv-gold); color: var(--vb-deep); font-size: 0.74rem; font-weight: 800;
    letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px;
}
.nv-plan-ico { width: 64px; height: 64px; margin: 0 auto 0.75rem; display: block; }
.nv-plan h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.9rem; }
.nv-plan ul { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.nv-plan li { font-size: 0.98rem; color: var(--dark); }
.nv-plan li b { font-family: var(--font-title); font-size: 1.15rem; }
.nv-price { font-family: var(--font-title); font-weight: 800; font-size: clamp(2rem, 3vw, 2.3rem); line-height: 1; margin-top: auto; }
.nv-price-note { font-size: 0.85rem; color: var(--text-muted); margin: 0.35rem 0 1.25rem; }
.nv-plan-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.nv-plan-btns a {
    display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.6rem 0.75rem;
    border-radius: 12px; font-weight: 700; text-decoration: none; transition: background 0.2s ease, color 0.2s ease;
}
.nv-buy { background: var(--vb-deep); color: #fff; }
.nv-buy:hover { background: #0A3A73; color: #fff; }
.nv-gift { border: 2px solid var(--vb-deep); color: var(--vb-deep); }
.nv-gift:hover { background: var(--vb-deep); color: #fff; }
.nv-plan .nv-soon { justify-content: center; width: 100%; white-space: normal; color: #6B4E00; background: #FFF6DC; border-color: #E2B33A; font-size: 0.95rem; }
.nv-plan .nv-soon::before { box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.35); }

.nv-stars-line { max-width: 860px; margin: 2rem auto 0; text-align: center; color: #D7E2F1; font-size: 0.95rem; line-height: 1.6; }
.nv-stars-line a, .nv-legal a { color: #fff; font-weight: 600; }
.nv-stars-line a:hover, .nv-legal a:hover { color: var(--nv-gold-hi); }
.nv-dates { max-width: 900px; margin: 1.25rem auto 0; text-align: center; font-size: 0.84rem; color: var(--nv-soft); line-height: 1.6; }
.nv-legal { margin-top: 0.6rem; text-align: center; font-size: 0.84rem; color: var(--nv-soft); }

/* Fin de temporada */
.nv-bye { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(242, 193, 78, 0.4); border-radius: 18px; padding: 1.25rem 1.4rem; max-width: 600px; }
.nv-bye strong { display: block; font-family: var(--font-title); font-size: 1.25rem; color: var(--nv-gold-hi); margin-bottom: 0.3rem; }
.nv-bye p { color: #D7E2F1; line-height: 1.55; }
.nv-bye a { color: #fff; font-weight: 600; }

/* ---------- 3. Recuadro en Servicios (usa .service-product del sitio) ---------- */
.service-product.nv-product { border-color: rgba(226, 179, 58, 0.75); margin-top: 1rem; }
.service-product.nv-product .service-icon { background: var(--nv-night); border-color: var(--nv-night); padding: 6px; flex: none; min-width: 0; width: 60px; }
.nv-product .service-icon svg { width: 100%; height: 100%; }
.service-product.nv-product h3 em { background: var(--nv-gold); }
.service-product.nv-product a { background: var(--nv-gold); }
.service-product.nv-product a:hover { background: var(--nv-gold-hi); }

/* ---------- Página /navidad-virtual/ ---------- */
.nv-page-hero { padding: calc(var(--header-h) + 3.5rem) 2rem 4rem; position: relative; overflow: hidden; }
.nv-page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--nv-gold); }
.nv-crumbs { font-size: 0.88rem; color: var(--nv-soft); margin-bottom: 1.1rem; }
.nv-crumbs a { color: var(--nv-soft); text-decoration: none; }
.nv-crumbs a:hover { color: #fff; text-decoration: underline; }
nav.nv-crumbs { padding: 0; max-width: none; display: block; position: static; }
.nv-light-sec { padding: 4.5rem 2rem; background: #fff; }
.nv-light-sec.is-gray { background: var(--light); }
.nv-light-sec .section-title { margin-bottom: 2.5rem; }
.nv-orn { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.nv-orn li { list-style: none; background: var(--light); border-radius: 18px; padding: 1.25rem 1rem; text-align: center; }
.nv-light-sec.is-gray .nv-orn li { background: #fff; border: 1px solid #DDE5EF; }
.nv-orn svg { width: 54px; height: 54px; display: block; margin: 0 auto 0.6rem; }
.nv-orn strong { display: block; font-family: var(--font-title); color: var(--vb-deep); }
.nv-orn span { display: inline-block; margin-top: 0.35rem; font-weight: 700; color: #6B4E00; background: #FFF6DC; border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.88rem; }
.nv-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 820px; margin: 0 auto; }
.nv-pack { background: #fff; border: 1px solid #DDE5EF; border-radius: 18px; padding: 1.5rem; text-align: center; }
.nv-pack b { display: block; font-family: var(--font-title); font-size: 2rem; color: var(--vb-deep); line-height: 1.1; }
.nv-pack small { display: block; color: var(--text-muted); margin-bottom: 0.6rem; }
.nv-pack span { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; color: var(--vb-deep); }
.nv-note { max-width: 760px; margin: 1.75rem auto 0; text-align: center; color: var(--text-muted); line-height: 1.6; }
.nv-note a { color: var(--secondary); font-weight: 600; }
.nv-gift-box { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem; align-items: center; background: var(--light); border-radius: 22px; padding: 2rem 2.25rem; }
.nv-gift-box svg { width: 84px; height: 84px; }
.nv-gift-box h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--vb-deep); margin-bottom: 0.35rem; }
.nv-gift-box p { color: var(--text-muted); line-height: 1.55; }
.nv-gift-box .nv-soon { color: #6B4E00; background: #FFF6DC; border-color: #E2B33A; }
.nv-season { list-style: none; max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.nv-season li { background: #fff; border: 1px solid #DDE5EF; border-radius: 18px; padding: 1.25rem 1rem; text-align: center; }
.nv-season b { display: block; font-family: var(--font-title); color: var(--vb-deep); font-size: 1.05rem; line-height: 1.25; }
.nv-season span { display: block; color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }
.nv-final { text-align: center; padding: 4.5rem 2rem; }
.nv-final h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.nv-final p { color: #D7E2F1; max-width: 620px; margin: 0 auto 1.75rem; }
.nv-final .nv-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .nv-orn { grid-template-columns: repeat(3, 1fr); }
    .nv-head { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
    .nv-tree { max-width: 250px; }
    .nv-trees { grid-template-columns: 1fr; max-width: 440px; gap: 1.75rem; }
    .nv-steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 1.75rem; }
    .nv-season { grid-template-columns: repeat(2, 1fr); }
    .nv-gift-box { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 768px) {
    .nv-bar-inner { padding: 0.8rem 1rem 0.9rem; flex-wrap: wrap; justify-content: center; text-align: center; gap: 0.6rem 0.75rem; }
    .nv-bar-ico { width: 34px; height: 34px; }
    .nv-bar-text { flex: 1 1 calc(100% - 50px); text-align: left; font-size: 0.95rem; }
    .nv-bar-text a { display: none; }
    .nv-bar .nv-btn, .nv-bar .nv-soon { width: 100%; justify-content: center; white-space: normal; }
    .nv-bar + .hero { padding-top: 2rem; }
    .nv-section { padding: 3.5rem 1.1rem 3.25rem; }
    .nv-actions .nv-btn, .nv-actions .nv-soon { width: 100%; justify-content: center; white-space: normal; }
    .nv-page-hero { padding: calc(var(--header-h) + 2rem) 1.1rem 3rem; }
    .nv-light-sec, .nv-final { padding: 3.25rem 1.1rem; }
    .nv-packs { grid-template-columns: 1fr; max-width: 360px; }
    .nv-gift-box { padding: 1.6rem 1.3rem; }
    .nv-gift-box .nv-btn, .nv-gift-box .nv-soon { width: 100%; justify-content: center; white-space: normal; }
}
@media (max-width: 420px) {
    .nv-orn { grid-template-columns: repeat(2, 1fr); }
    .nv-season { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .nv-tree .nv-light { animation: none; }
}
.nv-subtitle.nv-dark { color: var(--vb-deep); margin: 2.75rem 0 1.25rem; }
