﻿/* ══════════════════════════════════════════════════════════
   KC-SKELETON · Harry Potter BODA — styles-hp-skeleton.css
   Khal Calloway Studio © 2026

   Protocolo KC-Skeleton adaptado a la temática HP-Boda.
   Cargado DESPUÉS de styles-contenido.css para poder
   extender sin pisar estilos del engine Astral.

   ⚡ Paleta HP-Boda:
      --hp-oro      : #C9A434  (oro pergamino)
      --hp-oro-l    : #E8C850  (oro brillante)
      --hp-vino     : #4A1C16  (tinta del mapa)
      --hp-morado   : #2A0A3A  (fondo oscuro mágico)
      --hp-crema    : #F2E8C9  (pergamino)
      --hp-crema-s  : rgba(242,232,201,.7)
      --hp-polvo    : rgba(201,168,76,.35)
      --hp-texto    : rgba(220,205,170,.75)
══════════════════════════════════════════════════════════ */

/* ── VARIABLES HP-BODA (extensión del :root de astral) ── */
:root {
    /* Skeleton HP tokens */
    --hp-oro:      #C9A434;
    --hp-oro-l:    #E8C850;
    --hp-oro-xl:   rgba(247,233,142,0.9);
    --hp-vino:     #4A1C16;
    --hp-morado:   #120A22;
    --hp-morado2:  #1A0E2E;
    --hp-crema:    #F2E8C9;
    --hp-crema-s:  rgba(242,232,201,0.7);
    --hp-crema-xs: rgba(242,232,201,0.45);
    --hp-polvo:    rgba(201,168,76,0.35);
    --hp-texto:    rgba(220,205,170,0.75);
    --hp-borde:    rgba(201,168,76,0.22);
    --hp-glow-oro: rgba(212,175,55,0.4);

    /* Fonts HP */
    --ft-hp: 'Cinzel Decorative', serif;
    --ft-hp2: 'Cinzel', serif;
    --ft-hp3: 'IM Fell English', serif;
    --fs-hp: 'Inter', sans-serif;

    /* Ease */
    --ease-out-hp: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-bounce-hp: cubic-bezier(0.34, 1.1, 0.64, 1);
}

/* ════════════════════════════════════════════════════════
   SECCIONES BASE & PRIMITIVOS HP
════════════════════════════════════════════════════════ */

/* Contenedor genérico de sección skeleton */
.hp-seccion {
    padding: 110px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
@media (max-width: 600px) { .hp-seccion { padding: 70px 18px; } }

.hp-seccion-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Variantes de fondo */
.hp-fondo-alt  { background: var(--hp-morado2); }
.hp-fondo-main { background: var(--hp-morado); }
.hp-fondo-vino {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(74,28,22,0.3) 0%, transparent 55%),
        var(--hp-morado);
}
.hp-fondo-mist {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(110,50,210,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(50,20,100,0.12) 0%, transparent 50%),
        var(--hp-morado2);
}

/* ── Decoraciones de sección ── */
.hp-deco {
    display: block;
    font-family: var(--ft-hp2);
    font-size: clamp(0.65em, 1.8vw, 0.8em);
    color: var(--hp-polvo);
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.hp-bdiv {
    margin: 14px 0 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.hp-bdiv::before, .hp-bdiv::after {
    content: '';
    height: 1px;
    width: clamp(50px, 15vw, 100px);
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.3));
}
.hp-bdiv::after { background: linear-gradient(to left, transparent, rgba(201,168,76,0.3)); }
.hp-bdiv span { font-size: 1.1em; }

.hp-titulo-sec {
    font-family: var(--ft-hp2);
    font-size: clamp(1.8em, 5.5vw, 3em);
    font-weight: 400;
    color: var(--hp-crema);
    margin-bottom: 6px;
    letter-spacing: 2px;
    text-shadow: 0 2px 25px rgba(0,0,0,0.4);
}
.hp-titulo-sec em {
    font-family: var(--ft-hp3);
    font-style: italic;
    color: var(--hp-oro-l);
}

/* ── Botón genérico HP ── */
.hp-btn {
    display: inline-block;
    color: var(--hp-oro-l);
    padding: 13px 30px;
    text-decoration: none;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 50px;
    font-size: 0.72em;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-bounce-hp);
    font-family: var(--ft-hp2);
    font-weight: 400;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.hp-btn:hover {
    background: rgba(201,168,76,0.15);
    border-color: var(--hp-oro);
    color: var(--hp-crema);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.15);
}

/* ── Fade-section scroll ── */
.hp-fade-sec {
    transition: opacity 0.85s ease, transform 0.85s var(--ease-out-hp);
    will-change: opacity, transform;
}
.hp-fade-sec.fuera { opacity: 0; transform: translateY(32px); }
.hp-fade-sec.dentro { opacity: 1; transform: translateY(0); }

/* ── Keyframes compartidos ── */
@keyframes hp-flotar {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-9px); }
}
@keyframes hp-parpadeo {
    0%,100% { opacity: 0.3; }
    50%     { opacity: 1; }
}
@keyframes hp-fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hp-shimmer {
    0%,60% { left: -100%; }
    100%   { left: 200%; }
}

/* ════════════════════════════════════════════════════════
   GALERÍA RETRATOS — "Nuestra Historia en Fotos"
   (La sección de Retratos Vivos ya existe, esta es DISTINTA:
    galería de fotos novios con marcos tipo retrato HP)
════════════════════════════════════════════════════════ */

.hp-galeria-wrap {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
    align-items: center;
}
@media (max-width: 700px) {
    .hp-galeria-wrap {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .hp-galeria-featured {
        grid-column: 1 / -1;
        order: -1;
    }
}

.hp-gal-marco {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.25);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        0 0 0 6px rgba(201,168,76,0.05),
        0 0 30px rgba(110,50,210,0.08);
    transition: transform 0.5s var(--ease-bounce-hp), box-shadow 0.5s ease;
}
.hp-gal-marco:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow:
        0 30px 65px rgba(0,0,0,0.55),
        0 0 0 6px rgba(201,168,76,0.12),
        0 0 50px rgba(201,168,76,0.1);
}
.hp-gal-marco img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.88) saturate(0.85);
    transition: transform 0.8s cubic-bezier(0.34,1.1,0.64,1), filter 0.6s ease;
}
.hp-gal-marco:hover img { transform: scale(1.06); filter: brightness(1) saturate(1); }

/* Marco dorado decorativo */
.hp-gal-marco::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}
/* Brillo esquinas */
.hp-gal-marco::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(247,233,142,0.06), transparent);
    animation: hp-shimmer 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

.hp-gal-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 10px 8px 8px;
    background: linear-gradient(to top, rgba(8,4,18,0.75), transparent);
    display: flex;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.hp-gal-marco:hover .hp-gal-overlay { opacity: 1; }
.hp-gal-overlay span { font-size: 1.2em; }

/* Alturas de los marcos */
.hp-gal-marco:not(.hp-galeria-featured) { height: clamp(220px, 28vh, 340px); }
.hp-galeria-featured { height: clamp(300px, 40vh, 460px); }

.hp-gal-sub {
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: clamp(0.85em, 2.5vw, 1em);
    color: var(--hp-crema-xs);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   EVENTOS — Dónde & Cuándo (Tarjetas Ceremonia + Recepción)
════════════════════════════════════════════════════════ */

.hp-eventos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 44px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 600px) {
    .hp-eventos-grid { grid-template-columns: 1fr; }
}

.hp-evento-tarjeta {
    background: rgba(18,10,34,0.7);
    border: 1px solid var(--hp-borde);
    padding: 36px 24px 30px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 35px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(247,233,142,0.05);
    transition: transform 0.45s var(--ease-bounce-hp), border-color 0.4s ease, box-shadow 0.45s ease;
    position: relative;
    overflow: hidden;
}
.hp-evento-tarjeta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), rgba(201,168,76,0.2), rgba(201,168,76,0.45), transparent);
}
.hp-evento-tarjeta::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.15), transparent);
}
.hp-evento-tarjeta:hover {
    transform: translateY(-6px);
    border-color: rgba(201,168,76,0.38);
    box-shadow: 0 18px 45px rgba(0,0,0,0.4), 0 0 55px rgba(201,168,76,0.06);
}
.hp-evento-ico {
    font-size: 2em;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}
.hp-evento-tarjeta h3 {
    font-family: var(--ft-hp2);
    font-size: clamp(0.95em, 3vw, 1.2em);
    color: var(--hp-crema);
    margin-bottom: 6px;
    letter-spacing: 1.5px;
    font-weight: 400;
}
.hp-evento-hora {
    font-family: var(--ft-hp3);
    font-size: clamp(1.5em, 4.5vw, 2em);
    color: var(--hp-oro-l);
    margin-bottom: 8px;
    font-weight: 400;
    text-shadow: 0 0 20px rgba(212,175,55,0.25);
    font-style: italic;
}
.hp-evento-tarjeta p {
    color: var(--hp-crema-xs);
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: clamp(0.7em, 2vw, 0.82em);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ════════════════════════════════════════════════════════
   PERGAMINO ITINERARIO — Desplegable temático HP
════════════════════════════════════════════════════════ */

.hp-perg-outer {
    max-width: 700px;
    margin: 52px auto 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.2);
}

.hp-perg-toggle {
    width: 100%;
    height: 48px;
    position: relative;
    background: linear-gradient(to bottom, rgba(74,28,22,0.2), transparent);
    border-bottom: 1px solid rgba(201,168,76,0.18);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
}
.hp-perg-toggle:hover { background: linear-gradient(to bottom, rgba(74,28,22,0.35), transparent); }
.hp-perg-toggle span {
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: 0.82em;
    letter-spacing: 3px;
    color: var(--hp-crema-s);
    animation: hp-perg-breath 3.5s ease-in-out infinite alternate;
}
.hp-perg-toggle .hp-perg-arrow {
    display: inline-block;
    transition: transform 0.6s var(--ease-bounce-hp);
    color: rgba(242,232,201,0.7);
    font-size: 0.85em;
    animation: hp-perg-breath 3.5s ease-in-out infinite alternate;
    letter-spacing: 0;
}
.hp-perg-toggle.abierto .hp-perg-arrow { transform: rotate(180deg); }
@keyframes hp-perg-breath {
    0%   { color: rgba(242,232,201,0.5); text-shadow: none; }
    100% { color: rgba(242,232,201,0.9); text-shadow: 0 0 12px rgba(201,168,76,0.35); }
}

.hp-perg-body {
    background:
        linear-gradient(135deg, rgba(74,28,22,0.08) 0%, rgba(110,50,210,0.04) 50%, rgba(74,28,22,0.06) 100%);
    border-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 1.8s var(--ease-out-hp), padding 1s ease 0.2s, opacity 1s ease;
}
.hp-perg-body.desplegado { max-height: 1200px; padding: 50px 30px; opacity: 1; }
.hp-perg-body::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201,168,76,0.08);
    pointer-events: none;
    border-radius: 2px;
}

/* Filas del timeline */
.hp-tl-row {
    background: rgba(201,168,76,0.03);
    border: 1px solid rgba(201,168,76,0.1);
    border-left: 3px solid var(--hp-oro);
    padding: 18px 22px;
    text-align: left;
    margin-bottom: 10px;
    border-radius: 2px;
    transition: transform 0.4s var(--ease-bounce-hp), background 0.4s ease, box-shadow 0.4s ease;
}
.hp-tl-row:hover {
    transform: translateX(7px);
    background: rgba(201,168,76,0.07);
    box-shadow: -4px 0 20px rgba(201,168,76,0.08);
}
.hp-tl-hora {
    font-family: var(--ft-hp3);
    font-size: 1.4em;
    color: var(--hp-oro-l);
    font-style: italic;
    font-weight: 400;
}
.hp-tl-sep { margin: 0 10px; color: rgba(201,168,76,0.25); }
.hp-tl-titulo { font-family: var(--ft-hp2); font-weight: 400; color: var(--hp-crema); letter-spacing: 0.5px; font-size: 0.95em; }
.hp-tl-desc { color: var(--hp-texto); font-family: var(--ft-hp3); font-style: italic; font-size: 0.82em; margin: 4px 0 0; line-height: 1.6; }

/* ════════════════════════════════════════════════════════
   NUESTRA HISTORIA — Horizontal Pinned Scroll ⚡
   (Sección nueva premium, adaptada HP-Boda)
════════════════════════════════════════════════════════ */

.hp-historia-pin {
    position: relative;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(110,50,210,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(74,28,22,0.12) 0%, transparent 50%),
        var(--hp-morado);
}

/* Header */
.hp-historia-header {
    text-align: center;
    padding: 80px 20px 30px;
    position: relative;
    z-index: 10;
}
.hp-historia-deco {
    display: block;
    font-size: 0.8em;
    letter-spacing: 12px;
    color: rgba(201,168,76,0.3);
    margin-bottom: 12px;
    animation: hp-fadeInUp 0.8s ease 0.2s both;
}
.hp-historia-titulo {
    font-family: var(--ft-hp3);
    font-size: clamp(2.8em, 8vw, 4.5em);
    font-weight: 400;
    font-style: italic;
    color: var(--hp-crema);
    margin-bottom: 8px;
    line-height: 1.1;
    text-shadow:
        0 2px 25px rgba(201,168,76,0.3),
        0 0 50px rgba(110,50,210,0.12),
        0 1px 4px rgba(0,0,0,0.6);
    animation: hp-fadeInUp 0.8s ease 0.4s both;
}
.hp-historia-titulo em {
    font-family: var(--ft-hp);
    color: var(--hp-oro-l);
    font-size: 0.85em;
}
.hp-historia-sub {
    font-family: var(--ft-hp2);
    font-weight: 400;
    font-size: clamp(0.7em, 2vw, 0.85em);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(232,200,80,.82);
    text-shadow: 0 1px 10px rgba(0,0,0,.7);
    margin-bottom: 18px;
    animation: hp-fadeInUp 0.8s ease 0.6s both;
}
.hp-historia-linea {
    width: 60px; height: 1.5px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--hp-oro), rgba(201,168,76,0.4), var(--hp-oro), transparent);
    border-radius: 2px;
    position: relative;
    animation: hp-fadeInUp 0.8s ease 0.8s both;
}
.hp-historia-linea::before {
    content: '⚡';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 0.8em;
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.6));
}

/* Swipe hint (mobile) */
.hp-swipe-hint { display: none; }

/* Sticky container */
.hp-historia-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hp-historia-track {
    display: flex;
    gap: 0;
    will-change: transform;
    transition: transform 0.08s linear;
}

/* Hitos */
.hp-hito {
    min-width: 90vw;
    max-width: 90vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 60px);
    padding: 0 clamp(20px, 5vw, 80px);
    flex-shrink: 0;
}
.hp-hito-foto {
    width: clamp(200px, 28vw, 360px);
    height: clamp(250px, 38vh, 430px);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    overflow: hidden;
    border: 2px solid rgba(201,168,76,0.3);
    outline: 1px dashed rgba(201,168,76,0.1);
    outline-offset: 8px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.5),
        0 0 0 10px rgba(201,168,76,0.04),
        0 0 40px rgba(110,50,210,0.08);
    flex-shrink: 0;
    position: relative;
    transition: box-shadow 0.6s ease, outline-color 0.6s ease;
}
.hp-hito:hover .hp-hito-foto {
    box-shadow:
        0 30px 70px rgba(0,0,0,0.55),
        0 0 0 10px rgba(201,168,76,0.1),
        0 0 60px rgba(201,168,76,0.12);
    outline-color: rgba(201,168,76,0.22);
}
.hp-hito-foto img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.88) saturate(0.8);
    transition: transform 0.8s cubic-bezier(0.34,1.1,0.64,1), filter 0.6s ease;
}
.hp-hito:hover .hp-hito-foto img { transform: scale(1.08); filter: brightness(1) saturate(1); }

.hp-hito-texto { max-width: 360px; text-align: left; }
.hp-hito-año {
    font-family: var(--ft-hp3);
    font-size: clamp(3.5em, 9vw, 5.5em);
    color: var(--hp-oro);
    opacity: 0.2;
    line-height: 0.9;
    margin-bottom: 10px;
    font-weight: 400;
    font-style: italic;
}
.hp-hito-titulo {
    font-family: var(--ft-hp);
    font-size: clamp(1.2em, 2.8vw, 1.8em);
    font-weight: 400;
    color: var(--hp-crema);
    margin-bottom: 14px;
    line-height: 1.25;
    text-shadow: 0 1px 15px rgba(0,0,0,0.3);
}
.hp-hito-desc {
    font-family: var(--ft-hp3);
    font-style: italic;
    color: var(--hp-texto);
    font-size: 0.92em;
    line-height: 1.9;
    font-weight: 400;
}

/* Progress bar */
.hp-historia-progress {
    position: absolute;
    bottom: clamp(20px, 4vh, 50px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(120px, 20vw, 250px);
    height: 2px;
    background: rgba(201,168,76,0.12);
    border-radius: 3px;
    z-index: 5;
}
.hp-historia-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--hp-oro), var(--hp-oro-l));
    border-radius: 3px;
    transition: width 0.1s linear;
}
.hp-historia-scroll-hint {
    position: absolute;
    bottom: clamp(35px, 6vh, 70px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.52em;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(201,168,76,0.28);
    z-index: 5;
    font-family: var(--ft-hp2);
    animation: hp-parpadeo 2.5s infinite;
}

/* Mobile: carrusel nativo */
@media (max-width: 768px) {
    .hp-historia-pin { height: auto !important; }
    .hp-historia-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        overflow: visible !important;
        display: block !important;
    }
    .hp-historia-track {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        transform: none !important;
        transition: none !important;
        scrollbar-width: none;
        gap: 0;
        padding: 10px 0 25px;
    }
    .hp-historia-track::-webkit-scrollbar { display: none; }
    .hp-hito {
        flex-direction: column;
        min-width: 88vw; max-width: 88vw;
        scroll-snap-align: center;
        gap: 20px; padding: 20px 16px 30px;
        height: auto; min-height: 70vh;
        flex-shrink: 0;
    }
    .hp-hito-foto { width: clamp(180px, 62vw, 260px); height: clamp(200px, 36vh, 300px); }
    .hp-hito-texto { text-align: center; max-width: 100%; }
    .hp-historia-progress, .hp-historia-scroll-hint { display: none; }
    .hp-swipe-hint {
        display: flex;
        align-items: center;
        gap: 6px;
        justify-content: center;
        margin: 14px auto 0;
        width: fit-content;
        background: rgba(18,10,34,0.7);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(201,168,76,0.2);
        border-radius: 40px;
        padding: 6px 14px 6px 12px;
        animation: hp-swipe-bounce 2s ease-in-out infinite;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }
    .hp-swipe-hand { font-size: 0.95em; display: inline-block; animation: hp-swipe-hand 1.5s ease-in-out infinite; }
    .hp-swipe-text {
        font-family: var(--ft-hp2);
        font-size: 0.56em;
        font-weight: 400;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: rgba(242,232,201,0.75);
    }
    @keyframes hp-swipe-hand {
        0%,100% { transform: translateX(0); }
        50%      { transform: translateX(6px); }
    }
    @keyframes hp-swipe-bounce {
        0%,100% { transform: translateY(0); }
        50%      { transform: translateY(-4px); }
    }
}

/* ════════════════════════════════════════════════════════
   REGALOS — Mesa de Bodas Mágica
════════════════════════════════════════════════════════ */

.hp-regalos-tarjeta {
    background: rgba(18,10,34,0.65);
    border: 1px solid var(--hp-borde);
    border-radius: 16px;
    padding: 50px 36px;
    max-width: 580px;
    margin: 44px auto 0;
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 8px 40px rgba(0,0,0,0.4),
        0 0 60px rgba(201,168,76,0.04),
        inset 0 1px 0 rgba(247,233,142,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-bounce-hp), box-shadow 0.5s ease;
}
.hp-regalos-tarjeta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), rgba(201,168,76,0.25), rgba(201,168,76,0.5), transparent);
}
.hp-regalos-tarjeta::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 50%, rgba(110,50,210,0.04) 100%);
    pointer-events: none;
}
.hp-regalos-tarjeta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.45), 0 0 80px rgba(201,168,76,0.07);
}
.hp-regalos-tarjeta h3 {
    font-family: var(--ft-hp3);
    font-size: 1.9em;
    font-weight: 400;
    font-style: italic;
    color: var(--hp-oro-l);
    margin-bottom: 14px;
    text-shadow: 0 0 25px rgba(212,175,55,0.2);
}
.hp-regalos-intro {
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: 0.88em;
    color: var(--hp-crema-xs);
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    line-height: 1.75;
}
.hp-regalos-tiendas {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.hp-regalos-sep {
    width: 80%; height: 1px;
    margin: 0 auto 28px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.25) 30%, rgba(201,168,76,0.15) 50%, rgba(201,168,76,0.25) 70%, transparent);
}
.hp-regalos-sobre-lbl {
    font-family: var(--ft-hp3);
    font-size: 1.5em;
    font-style: italic;
    color: var(--hp-crema-s);
    display: block;
    margin-bottom: 6px;
}
.hp-regalos-banco {
    font-family: var(--ft-hp2);
    font-size: 0.72em;
    color: var(--hp-crema-xs);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hp-regalos-banco strong { color: rgba(242,232,201,0.8); }

/* CLABE reveal */
.hp-clabe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.22);
    border-radius: 50px;
    padding: 10px 22px;
    font-family: var(--ft-hp2);
    font-size: 0.7em;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(201,168,76,0.7);
    cursor: pointer;
    transition: all 0.4s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}
.hp-clabe-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.07), transparent);
    animation: hp-shimmer 3.5s ease-in-out infinite;
}
.hp-clabe-btn:hover {
    background: rgba(201,168,76,0.18);
    border-color: rgba(201,168,76,0.45);
    color: rgba(242,232,201,0.9);
}
.hp-clabe-ico { font-size: 1em; transition: transform 0.4s ease; }
.hp-clabe-btn.abierto .hp-clabe-ico { transform: rotate(180deg); }

.hp-clabe-caja {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 10px;
    padding: 16px 22px;
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.23,1,0.32,1), opacity 0.5s ease, padding 0.4s ease;
}
.hp-clabe-caja.visible { max-height: 120px; opacity: 1; }
.hp-clabe-caja:not(.visible) { padding-top: 0; padding-bottom: 0; }
#hp-clabe {
    font-weight: 600;
    font-size: 1.05em;
    color: var(--hp-crema);
    letter-spacing: 3px;
    font-family: monospace;
}

/* ════════════════════════════════════════════════════════
   RSVP — "Confirmación de Asistencia" HP Style
════════════════════════════════════════════════════════ */

.hp-rsvp-seccion {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(110,50,210,0.15) 0%, transparent 45%),
        var(--hp-morado);
    padding: 110px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
@media (max-width: 600px) { .hp-rsvp-seccion { padding: 70px 18px; } }

/* Partículas mágicas (chispas) */
.hp-rsvp-chispas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hp-chispa {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: hp-caer-chispa linear infinite;
}
@keyframes hp-caer-chispa {
    0%   { transform: translateY(-15px) rotate(0deg) translateX(0) scale(0.8); opacity: 0; }
    10%  { opacity: 0.6; }
    80%  { opacity: 0.2; }
    100% { transform: translateY(calc(100% + 60px)) rotate(720deg) translateX(var(--drift)) scale(0.35); opacity: 0; }
}

/* Form card glass */
.hp-form-card {
    max-width: 560px;
    margin: 50px auto 0;
    background: rgba(18,10,34,0.68);
    border: 1px solid var(--hp-borde);
    padding: 52px 42px;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 50px rgba(0,0,0,0.4),
        0 0 70px rgba(201,168,76,0.04),
        inset 0 1px 0 rgba(247,233,142,0.06);
}
@media (max-width: 600px) { .hp-form-card { padding: 34px 22px; } }
.hp-form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--hp-oro), var(--hp-oro-l), var(--hp-oro), transparent);
}
.hp-form-card::after {
    content: '⚡';
    position: absolute;
    bottom: 18px; right: 20px;
    font-size: 1.4em;
    opacity: 0.08;
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.4));
}
.hp-form-vine {
    position: absolute;
    top: 14px; left: 18px;
    font-size: 1.2em;
    opacity: 0.1;
    animation: hp-flotar 5s ease-in-out infinite;
}

/* Éxito */
#hp-form-exito { display: none; text-align: center; padding: 40px 10px; }
#hp-form-exito .hp-eicon { font-size: 3.5em; margin-bottom: 16px; animation: hp-flotar 3s ease-in-out infinite; }
#hp-form-exito h3 {
    font-family: var(--ft-hp3);
    font-size: 2.2em;
    font-weight: 400;
    font-style: italic;
    color: var(--hp-oro-l);
    margin-bottom: 12px;
    text-shadow: 0 0 25px rgba(212,175,55,0.25);
}
#hp-form-exito p {
    font-family: var(--ft-hp3);
    font-style: italic;
    color: var(--hp-crema-xs);
    font-size: 0.92em;
}

/* Campos */
.hp-campo { margin-bottom: 24px; }
.hp-campo label {
    display: block;
    margin-bottom: 9px;
    font-family: var(--ft-hp2);
    font-size: 0.6em;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hp-oro);
    font-weight: 400;
}
.hp-campo input,
.hp-campo select {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 4px;
    color: var(--hp-crema);
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: 0.95em;
    outline: none;
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.hp-campo input:focus,
.hp-campo select:focus {
    border-color: rgba(201,168,76,0.5);
    background: rgba(201,168,76,0.05);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.07);
}
.hp-campo input::placeholder { color: rgba(201,168,76,0.2); }
.hp-campo select option { background: var(--hp-morado2); }
.hp-campo-indent { margin-left: 14px; border-left: 2px solid rgba(201,168,76,0.18); padding-left: 14px; }

/* Botón enviar */
.hp-btn-enviar {
    width: 100%;
    padding: 19px;
    background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(110,50,210,0.2));
    color: var(--hp-crema);
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 50px;
    font-family: var(--ft-hp2);
    font-size: 0.82em;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-bounce-hp);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.hp-btn-enviar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247,233,142,0.12), transparent);
    transition: 0.6s;
}
.hp-btn-enviar:hover:not(:disabled)::before { left: 100%; }
.hp-btn-enviar:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(201,168,76,0.2), 0 0 50px rgba(110,50,210,0.1);
    border-color: rgba(201,168,76,0.65);
}
.hp-btn-enviar:disabled { opacity: 0.5; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════
   CAPTURA EL MOMENTO — Álbum Compartido HP
════════════════════════════════════════════════════════ */

.hp-captura-section {
    padding: 90px 20px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--hp-morado2);
    overflow: hidden;
}

/* Partículas */
.hp-captura-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hp-cap-particle {
    position: absolute;
    left: var(--x, 50%); top: var(--y, 50%);
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(201,168,76,0.5);
    box-shadow: 0 0 8px 2px rgba(201,168,76,0.2);
    animation: hp-capFloat var(--d,6s) var(--delay,0s) ease-in-out infinite;
}
@keyframes hp-capFloat {
    0%,100% { opacity: 0; transform: translate(0,0) scale(0.3); }
    25%     { opacity: 0.6; transform: translate(12px,-18px) scale(0.8); }
    50%     { opacity: 1; transform: translate(-8px,-30px) scale(1); }
    75%     { opacity: 0.4; transform: translate(15px,-12px) scale(0.6); }
}

.hp-captura-content { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; }
.hp-captura-header { margin-bottom: 40px; }
.hp-captura-pre {
    display: block;
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: 0.78em;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--hp-oro);
    opacity: 0.7;
    margin-bottom: 10px;
}
.hp-captura-titulo {
    font-family: var(--ft-hp3);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2em, 7vw, 3em);
    color: var(--hp-crema);
    line-height: 1.1;
    margin: 0;
    text-shadow:
        0 2px 20px rgba(201,168,76,0.35),
        0 0 40px rgba(110,50,210,0.12);
}
.hp-captura-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.hp-cap-line {
    width: clamp(50px, 14vw, 90px); height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4));
}
.hp-cap-line:last-child { background: linear-gradient(270deg, transparent, rgba(201,168,76,0.4)); }
.hp-cap-diamond { color: var(--hp-oro-l); font-size: 0.7em; animation: hp-parpadeo 3s ease-in-out infinite; }

/* Tarjeta glass */
.hp-captura-card {
    background: rgba(18,10,34,0.6);
    border: 1px solid var(--hp-borde);
    border-radius: 16px;
    padding: 45px 35px 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 40px rgba(0,0,0,0.4),
        0 0 60px rgba(201,168,76,0.05),
        inset 0 1px 0 rgba(247,233,142,0.05);
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.hp-captura-card:hover {
    border-color: rgba(201,168,76,0.35);
    box-shadow: 0 12px 50px rgba(0,0,0,0.45), 0 0 80px rgba(201,168,76,0.09);
}
.hp-captura-card::before, .hp-captura-card::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border-color: rgba(201,168,76,0.2);
    border-style: solid;
    opacity: 0;
    animation: hp-orn-reveal 1.2s ease 0.5s forwards;
}
.hp-captura-card::before { top: 10px; left: 10px; border-width: 1px 0 0 1px; border-radius: 4px 0 0 0; }
.hp-captura-card::after  { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; border-radius: 0 0 4px 0; }
@keyframes hp-orn-reveal { 0%{opacity:0} 100%{opacity:1} }

.hp-captura-ico-wrap { position: relative; display: inline-block; margin-bottom: 28px; }
.hp-captura-cam-svg { width: 72px; height: 72px; display: block; margin: 0 auto; }
.hp-captura-ico-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 110px; height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 65%);
    animation: hp-glow-breath 5s ease-in-out infinite alternate;
    z-index: -1;
}
@keyframes hp-glow-breath {
    0%   { opacity: 0.3; transform: translate(-50%,-50%) scale(0.85); }
    100% { opacity: 0.8; transform: translate(-50%,-50%) scale(1.15); }
}
.hp-captura-desc {
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: clamp(0.88em, 3.2vw, 1em);
    color: var(--hp-crema-s);
    line-height: 1.9;
    margin: 0 0 32px;
    opacity: 0.85;
}
.hp-captura-desc em { color: var(--hp-oro-l); }

/* Botón CTA */
.hp-captura-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.06) 100%);
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--hp-crema);
    font-family: var(--ft-hp2);
    font-size: 0.72em;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34,1.1,0.64,1);
    -webkit-tap-highlight-color: transparent;
}
.hp-captura-btn:hover {
    background: linear-gradient(135deg, rgba(201,168,76,0.3) 0%, rgba(201,168,76,0.12) 100%);
    border-color: rgba(201,168,76,0.55);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.18), 0 0 50px rgba(201,168,76,0.06);
}
.hp-captura-btn-shimmer {
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(247,233,142,0.08) 50%, transparent 100%);
    animation: hp-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}
.hp-captura-btn-ico { display: flex; align-items: center; justify-content: center; color: var(--hp-oro-l); transition: transform 0.3s ease; }
.hp-captura-btn:hover .hp-captura-btn-ico { transform: scale(1.15); }
.hp-captura-btn-txt { font-weight: 400; }
.hp-captura-btn-arrow { color: var(--hp-oro); font-size: 1.1em; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0.5; }
.hp-captura-btn:hover .hp-captura-btn-arrow { transform: translateX(4px); opacity: 1; }

/* ════════════════════════════════════════════════════════
   MENSAJE SECRETO — Estilo HP-Boda (reemplaza el rayo)
════════════════════════════════════════════════════════ */

.hp-secreto-wrap {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--hp-morado);
}

/* Trigger */
.hp-secreto-trigger {
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.hp-secreto-trigger::before {
    content: '';
    position: absolute;
    top: 18px; left: 50%;
    transform: translate(-50%,-50%);
    width: 90px; height: 90px;
    background: radial-gradient(circle, rgba(201,168,76,0.35) 0%, transparent 70%);
    border-radius: 50%;
    animation: hp-latido-aura 2.2s ease-in-out infinite;
    z-index: -1;
}
@keyframes hp-latido-aura {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.4; }
    50%     { transform: translate(-50%,-50%) scale(1.6); opacity: 1; }
}
.hp-secreto-ico {
    font-size: 3em;
    animation: hp-flotar-giro 3.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(201,168,76,0.7));
}
@keyframes hp-flotar-giro {
    0%,100% { transform: translateY(0) rotate(-12deg); }
    50%     { transform: translateY(-12px) rotate(12deg); }
}
.hp-secreto-trigger p {
    font-family: var(--ft-hp2);
    font-size: 0.65em;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--hp-oro);
    font-weight: 400;
    animation: hp-parpadeo 2.2s infinite;
}

/* Mensaje oculto */
.hp-mensaje-secreto {
    display: none;
    max-width: 580px;
    margin: 35px auto 0;
    background: rgba(201,168,76,0.04);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 55px 40px;
    text-align: center;
    position: relative;
    border-radius: 4px;
}
.hp-mensaje-secreto.visible {
    display: block;
    animation: hp-rev-msg 1.2s var(--ease-out-hp) forwards;
}
@keyframes hp-rev-msg {
    0%   { opacity: 0; transform: translateY(26px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hp-hide-msg {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(22px) scale(0.96); }
}
.hp-mensaje-secreto::before {
    content: '⚡';
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    font-size: 2.2em;
    filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}
.hp-mensaje-secreto h3 {
    font-family: var(--ft-hp3);
    font-size: 2em;
    color: var(--hp-oro-l);
    font-style: italic;
    margin-bottom: 24px;
    font-weight: 400;
}
.hp-mensaje-secreto blockquote {
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: 1.2em;
    color: var(--hp-crema-s);
    line-height: 1.9;
}
.hp-mensaje-secreto .hp-firma {
    margin-top: 24px;
    color: var(--hp-oro);
    font-family: var(--ft-hp2);
    font-size: 0.8em;
    letter-spacing: 2px;
    font-weight: 400;
}

/* ════════════════════════════════════════════════════════
   AVISO BLANCO — No usar blanco (Boda)
════════════════════════════════════════════════════════ */
.hp-aviso-blanco {
    display: inline-block;
    background: rgba(201,168,76,0.07);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 50px;
    padding: 10px 24px;
    font-family: var(--ft-hp3);
    font-style: italic;
    font-size: 0.8em;
    color: var(--hp-crema-s);
    letter-spacing: 1px;
    margin-top: 14px;
}

/* Slot VIP sin foto: se ve a plena luz, no como foto apagada. */
img[src$="_slot-vip.svg"] { filter: none !important; }
