/* ============================================
   INVITACIÓN TOLEDO — STYLE.CSS
   Paleta cálida glamurosa · Tipografía elegante
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Cinzel+Decorative:wght@400;700&display=swap');

/* --- Variables / Design Tokens --- */
:root {
    --gold: #C9A84C;
    --gold-light: #E8D28A;
    --gold-dark: #9A7530;
    --burgundy: #5C1A2A;
    --burgundy-mid: #7B2D3E;
    --champagne: #F5E6C8;
    --ivory: #FAF6EE;
    --warm-white: #FFFDF8;
    --deep-brown: #2E1A10;
    --text-body: #3B2314;
    --text-muted: #7A6050;
    --rose-gold: #C89B7B;
    --border-gold: rgba(201, 168, 76, 0.4);

    --font-display: 'Playfair Display', serif;
    --font-ceremony: 'Cinzel Decorative', serif;
    --font-sub: 'Cormorant Garamond', serif;
    --font-body: 'EB Garamond', serif;

    --radius-card: 16px;
    --shadow-warm: 0 8px 40px rgba(92, 26, 42, 0.12);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.18);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-body);
    background: var(--ivory);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
}

.intro-greeting {
    font-size: 3.5rem !important;
    font-weight: 700;
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--burgundy);
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    font-family: var(--font-body);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
}

/* --- Utility --- */
.hidden {
    display: none !important;
}

.visible {
    opacity: 1 !important;
}

/* ============================================
   ACCESS DENIED
   ============================================ */
#access-denied {
    position: fixed;
    inset: 0;
    background: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#access-denied .denied-content {
    text-align: center;
    padding: 40px;
    color: var(--champagne);
}

#access-denied h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold-light);
    line-height: 1.6;
}

/* ============================================
   INTRO OVERLAY — Pantalla de bienvenida
   ============================================ */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: linear-gradient(150deg, #1A0508 0%, var(--burgundy) 50%, #2E0A14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Language Selector Header */
.lang-selector-header {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 1001;
}

.lang-btn {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: var(--champagne);
    opacity: 0.6;
    background: transparent;
    border: none;
    cursor: pointer;
    letter-spacing: 0.15em;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.lang-btn:hover {
    opacity: 1;
    color: var(--gold-light);
}

.lang-btn.active {
    opacity: 1;
    color: var(--gold-light);
    border-bottom: 1px solid var(--gold);
}

/* Shimmer radial glow */
#intro-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, rgba(201, 168, 76, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

/* Ornamental corner frame */
#intro-overlay::after {
    content: '';
    position: absolute;
    top: 32px;
    bottom: 32px;
    left: 32px;
    right: 32px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 4px;
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 32px;
    max-width: 520px;
}

.intro-logo {
    width: min(280px, 60vw);
    margin: 0 auto 28px;
    filter: drop-shadow(0 4px 24px rgba(201, 168, 76, 0.4));
}

.intro-ornament {
    margin-bottom: 28px;
}

.intro-greeting {
    font-family: var(--font-ceremony);
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    color: var(--gold-light);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.intro-message {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--champagne);
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.6;
}

.intro-enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-light);
    font-family: var(--font-sub);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.intro-enter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 0;
}

.intro-enter-btn:hover::before {
    transform: scaleX(1);
}

.intro-enter-btn:hover {
    color: var(--burgundy);
}

.intro-enter-btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO — Pantalla completa
   ============================================ */
.hero-section {
    min-height: 100dvh;
    background: linear-gradient(160deg, var(--burgundy) 0%, #3A0D1A 60%, #1A0508 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 60px 20px 80px;
}

/* Gold shimmer overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* Ornamental side lines */
.hero-section::after {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 40px;
    right: 40px;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    pointer-events: none;
}

.hero-eyebrow {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0.85;
}

.hero-logo {
    width: min(340px, 70vw);
    margin: 0 auto 24px;
    filter: drop-shadow(0 4px 20px rgba(201, 168, 76, 0.35));
}

.hero-divider {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 24px;
}

.hero-date {
    font-family: var(--font-ceremony);
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    letter-spacing: 0.2em;
    color: var(--champagne);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.hero-location {
    font-family: var(--font-sub);
    font-size: 1rem;
    color: var(--rose-gold);
    letter-spacing: 0.15em;
    margin-bottom: 48px;
}

/* Countdown */
.hero-countdown {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-bottom: 52px;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 14px 18px;
    min-width: 72px;
}

.cd-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.cd-lbl {
    font-family: var(--font-sub);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--rose-gold);
    text-transform: uppercase;
    margin-top: 4px;
}

.cd-sep {
    font-size: 1.8rem;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.scroll-hint span {
    font-family: var(--font-sub);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--rose-gold);
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    transform: rotate(45deg);
    animation: bounceDown 1.8s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section titles */
.section-title {
    font-family: var(--font-ceremony);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--burgundy);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.section-title.light {
    color: var(--gold-light);
}

.section-sub {
    font-family: var(--font-sub);
    font-size: 1.05rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
    font-style: italic;
}

.section-sub.light {
    color: var(--champagne);
    opacity: 0.8;
}

/* Gold ornament divider */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.ornament::before,
.ornament::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION 1 — CELEBRACIÓN (ivory bg)
   ============================================ */
.celebracion-section {
    padding: 100px 24px;
    background: var(--ivory);
}

.celebracion-section .lead {
    font-family: var(--font-sub);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--gold-dark);
    text-align: center;
    margin-bottom: 28px;
}

.celebracion-section p {
    max-width: 700px;
    margin: 0 auto 20px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-body);
}

/* ============================================
   SECTION 2 — CUANDO (champagne bg)
   ============================================ */
.cuando-section {
    padding: 100px 24px;
    background: var(--champagne);
}

.cuando-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cuando-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 30px;
    background: var(--warm-white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-warm);
    min-width: 130px;
    transition: transform 0.3s ease;
}

/* Explicit classes for the two days */
.cuando-day.is-main {
    background: var(--gold) !important;
    border: none !important;
    transform: scale(1.1);
    box-shadow: 0 10px 24px rgba(201, 168, 76, 0.4);
    z-index: 2;
}

.cuando-day.is-secondary {
    transform: scale(0.9);
    z-index: 1;
}

.cuando-day.is-main .cuando-num {
    color: white !important;
}

.cuando-day.is-main .cuando-label {
    color: rgba(255, 255, 255, 0.95) !important;
}

.cuando-day.is-main .cuando-sub {
    color: rgba(255, 255, 255, 0.85) !important;
}

.cuando-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.cuando-label {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 6px;
}

.cuando-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 4px;
}

.cuando-sep {
    font-size: 1.4rem;
    color: var(--gold);
    opacity: 0.5;
}

@media (max-width: 600px) {
    .cuando-dates {
        flex-direction: row;
        /* Force them to stay aligned horizontally if possible */
        gap: 10px;
        flex-wrap: nowrap;
        /* Keep them together */
    }

    .cuando-day {
        padding: 16px 20px;
        min-width: 110px;
    }

    .cuando-day.is-main {
        transform: scale(1);
        /* Reset scale to fit better */
    }

    .cuando-day.is-secondary {
        transform: scale(0.8);
        /* Make it smaller as requested */
    }

    .cuando-sep {
        display: none;
    }

    .cuando-num {
        font-size: 2.2rem;
    }
}

.cuando-month {
    font-family: var(--font-sub);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    margin-top: 16px;
}

/* ============================================
   SECTION 3 — DONDE (Background Image)
   ============================================ */
.donde-section {
    padding: 100px 24px;
    background: linear-gradient(160deg, var(--burgundy) 0%, #3A0D1A 100%);
}

.donde-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}

.donde-info {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius-card);
    padding: 40px 32px;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.donde-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold-light);
}

.donde-info p {
    font-family: var(--font-sub);
    color: var(--champagne);
    font-size: 1rem;
    opacity: 0.85;
}

.donde-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-light);
    font-family: var(--font-sub);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    align-self: flex-start;
}

.donde-link:hover {
    background: var(--gold);
    color: var(--burgundy);
}

.donde-map {
    border-radius: var(--radius-card);
    overflow: hidden;
    min-height: 320px;
}

@media (max-width: 768px) {
    .donde-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION 4 — PROGRAMA (ivory bg)
   ============================================ */
.programa-section {
    padding: 100px 24px;
    background: var(--ivory);
}

.prog-day-title {
    font-family: var(--font-sub);
    font-size: 1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.prog-day-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.prog-timeline {
    position: relative;
    max-width: 580px;
    margin: 0 auto 60px;
    padding-left: 32px;
}

.prog-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.prog-item {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.prog-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--ivory);
    box-shadow: 0 0 0 2px var(--gold);
    flex-shrink: 0;
}

.prog-time {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--burgundy);
    min-width: 64px;
    padding-top: 2px;
}


.prog-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 4px;
}

.prog-desc {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Optional program item (firma registro civil) */
.prog-item--optional {
    opacity: 0.72;
}

.prog-item--optional .prog-dot {
    background: var(--text-muted);
    box-shadow: 0 0 0 2px var(--text-muted);
}

.prog-item--optional .prog-time {
    color: var(--text-muted);
}

/* Badge chip inside prog-name */
.prog-badge {
    display: inline-block;
    font-family: var(--font-sub);
    font-size: 0.65rem;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(100, 80, 40, 0.18);
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.6;
}

/* ============================================
   SECTION 5 — NUESTRA HISTORIA (champagne bg)
   ============================================ */
.historia-section {
    padding: 100px 24px;
    background: var(--champagne);
}

.timeline-wrap {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.tl-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 56px;
}

.tl-item:nth-child(odd) .tl-content {
    grid-column: 1;
    text-align: right;
}

.tl-item:nth-child(odd) .tl-media {
    grid-column: 3;
}

.tl-item:nth-child(even) .tl-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.tl-item:nth-child(even) .tl-dot {
    order: 1;
}

.tl-item:nth-child(even) .tl-media {
    grid-column: 1;
    grid-row: 1;
}

.tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--champagne);
    box-shadow: 0 0 0 2px var(--gold);
    flex-shrink: 0;
    grid-column: 2;
}


.tl-year {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tl-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--burgundy);
    margin-bottom: 6px;
}

.tl-desc {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.tl-media img {
    width: 100%;
    max-width: 200px;
    border-radius: 12px;
    border: 2px solid var(--border-gold);
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-warm);
}

.tl-item:nth-child(odd) .tl-media img {
    margin-left: auto;
}

/* ============================================
   SECTION — VUELOS / VOLS (ivory bg)
   ============================================ */
.vuelos-section {
    padding: 100px 24px;
    background: var(--ivory);
}

.vuelos-intro {
    max-width: 660px;
    margin: 0 auto 48px;
    text-align: center;
    font-family: var(--font-sub);
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.75;
}

.boarding-passes {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Boarding Pass Card --- */
.boarding-pass {
    cursor: pointer;
    user-select: none;
}

.bp-card {
    background: var(--warm-white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-warm);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.boarding-pass:hover .bp-card {
    box-shadow: var(--shadow-gold), 0 12px 40px rgba(92, 26, 42, 0.14);
    transform: translateY(-2px);
}

/* Header strip */
.bp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--burgundy-mid) 100%);
}

.bp-airline {
    font-family: var(--font-ceremony);
    font-size: 0.75rem;
    color: var(--gold-light);
    letter-spacing: 0.08em;
}

.bp-flight-label {
    font-family: var(--font-sub);
    font-size: 0.7rem;
    color: rgba(245, 230, 200, 0.6);
    letter-spacing: 0.06em;
    font-style: italic;
}

/* Route */
.bp-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    gap: 12px;
}

.bp-airport {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bp-code {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
    letter-spacing: 0.04em;
}

.bp-city-name {
    font-family: var(--font-sub);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bp-route-arrow {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}

.bp-route-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-gold), var(--gold), var(--border-gold));
}

.bp-route-arrow ion-icon {
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
}

/* Details row */
.bp-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 0 24px 16px;
}

.bp-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bp-detail-label {
    font-family: var(--font-sub);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.bp-detail-value {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--burgundy);
}

/* Perforation / tear line */
.bp-perforation {
    display: flex;
    align-items: center;
    padding: 0 -8px;
    position: relative;
}

.bp-notch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ivory);
    border: 1px solid var(--border-gold);
    flex-shrink: 0;
}

.bp-notch--left  { margin-left: -8px; }
.bp-notch--right { margin-right: -8px; }

.bp-dash-line {
    flex: 1;
    border-top: 2px dashed var(--border-gold);
}

/* Stub (bottom part) */
.bp-stub {
    padding: 14px 24px;
    background: rgba(201, 168, 76, 0.06);
}

.bp-stub-closed {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sub);
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    transition: opacity 0.3s;
}

.bp-stub-closed ion-icon {
    font-size: 1rem;
    color: var(--gold);
}

.bp-stub-open {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Toggle open */
.bp-open .bp-stub-closed {
    display: none;
}

.bp-open .bp-stub-open {
    display: flex;
}

/* Book button */
.bp-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-dark);
    font-family: var(--font-sub);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

.bp-book-btn:hover {
    background: var(--gold);
    color: var(--burgundy);
}

.bp-book-btn ion-icon {
    font-size: 1rem;
}

@media (max-width: 480px) {
    .bp-code { font-size: 1.6rem; }
    .bp-details { gap: 20px; }
    .bp-header { flex-direction: column; gap: 2px; text-align: center; }
}

/* ============================================
   SECTION 6 — RSVP (dark bg)
   ============================================ */
.rsvp-section {
    padding: 100px 24px;
    background: linear-gradient(160deg, #1A0508 0%, var(--burgundy) 100%);
}

.rsvp-inner {
    max-width: 540px;
    margin: 0 auto;
}

.rsvp-choice {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rsvp-btn-attend,
.rsvp-btn-decline {
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-sub);
    font-size: 1rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
}

.rsvp-btn-attend {
    background: var(--gold);
    color: var(--burgundy);
    font-weight: 600;
}

.rsvp-btn-attend:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.rsvp-btn-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--champagne);
}

.rsvp-btn-decline:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold);
}

/* Form card */
.rsvp-form-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    backdrop-filter: blur(10px);
    display: none;
}

.rsvp-form-card.active {
    display: block;
}

.rsvp-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 28px;
    text-align: center;
}

.form-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--champagne);
    font-family: var(--font-sub);
    font-size: 1rem;
    margin-bottom: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-field::placeholder {
    color: rgba(245, 230, 200, 0.45);
}

.form-field:focus {
    border-color: var(--gold);
}

textarea.form-field {
    resize: vertical;
    min-height: 100px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.option-row label {
    font-family: var(--font-sub);
    color: var(--champagne);
    font-size: 0.95rem;
    cursor: pointer;
}

.option-row input[type="radio"] {
    accent-color: var(--gold);
}

.form-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--gold);
    border: none;
    border-radius: 50px;
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* Regret form */
.regret-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    display: none;
}

.regret-form.active {
    display: block;
}

.regret-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--rose-gold);
    margin-bottom: 12px;
    text-align: center;
}

.regret-quote {
    font-family: var(--font-sub);
    font-style: italic;
    color: rgba(245, 230, 200, 0.6);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* RSVP Success */
#rsvp-success {
    text-align: center;
    padding: 40px 20px;
}

#rsvp-success h2 {
    font-family: var(--font-display);
    color: var(--gold-light);
    font-size: 2rem;
    margin-bottom: 12px;
}

#rsvp-success p {
    font-family: var(--font-sub);
    color: var(--champagne);
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #1A0508;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    color: rgba(245, 230, 200, 0.4);
    letter-spacing: 0.1em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 700px) {
    .hero-section::after {
        top: 20px;
        bottom: 20px;
        left: 16px;
        right: 16px;
    }

    .donde-grid {
        grid-template-columns: 1fr;
    }

    .timeline-wrap::before {
        left: 16px;
        transform: none;
    }

    .tl-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .tl-item:nth-child(odd) .tl-content,
    .tl-item:nth-child(even) .tl-content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }

    .tl-dot {
        grid-column: 1;
        grid-row: 1;
        margin-top: 4px;
    }

    .tl-item:nth-child(odd) .tl-media,
    .tl-item:nth-child(even) .tl-media {
        grid-column: 2;
        grid-row: 2;
    }

    .tl-media img {
        max-width: 100%;
        margin-left: 0 !important;
    }

    .cuando-day {
        padding: 18px 20px;
        min-width: 110px;
    }

    .cuando-num {
        font-size: 2.6rem;
    }

    .rsvp-form-card,
    .regret-form {
        padding: 28px 20px;
    }

    .hero-section::after {
        display: none;
    }
}

/* ============================================
   ENVELOPE (SOBRE) STYLES
   ============================================ */
#envelope-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #1a0508;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transition: opacity 1s ease, visibility 1s;
}

.envelope-wrapper {
    position: relative;
    width: min(400px, 90vw);
    height: 300px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.envelope {
    position: relative;
    width: 100%;
    height: 100%;
    background: #e3d2b4;
    /* Saco de papel / pergamino */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
}

.envelope-front {
    position: absolute;
    inset: 0;
    background: #e3d2b4;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 50% 50%);
}

.envelope-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d4c1a1;
    clip-path: polygon(0 0, 100% 0, 50% 50%);
    z-index: 30;
    transform-origin: top;
    transition: transform 0.6s 0.2s ease-in-out;
}

.envelope-seal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 40;
    width: 90px;
    height: 90px;
    transition: opacity 0.4s 0.1s ease, transform 0.4s ease;
}

.envelope-seal img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.envelope-card-preview {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 90%;
    background: white;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.envelope-card-preview img {
    width: 80%;
    height: auto;
    opacity: 0.8;
}

.envelope-instructions {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    text-align: center;
}

.envelope-instructions p {
    color: var(--gold-light);
    font-family: var(--font-sub);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

/* States */
#envelope-overlay.open .envelope-top {
    transform: rotateX(180deg);
}

#envelope-overlay.open .envelope-seal {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none;
}

#envelope-overlay.open .envelope-card-preview {
    transform: translate(-50%, -60px) scale(1.05);
    z-index: 50;
}

#envelope-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .envelope-wrapper {
        height: 240px;
    }

    .envelope-seal {
        width: 70px;
        height: 70px;
    }
}

/* ============================================
   MUSIC CONTROL BUTTON
   ============================================ */
.music-control {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--burgundy);
    color: var(--gold-light);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(92, 26, 42, 0.25);
    z-index: 1500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-control:hover {
    transform: scale(1.1);
    background: var(--burgundy-mid);
    box-shadow: 0 6px 20px rgba(92, 26, 42, 0.35);
}

.music-control ion-icon {
    font-size: 1.4rem;
}

.music-control.paused ion-icon {
    opacity: 0.6;
}

/* Animations for the icon when playing */
@keyframes pulse-music {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.music-control:not(.paused) ion-icon {
    animation: pulse-music 2s infinite ease-in-out;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .music-control {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   ALOJAMIENTO — MODERN REDESIGN
   ============================================ */
.alojamiento-section {
    padding: 110px 0;
    text-align: center;
    background: linear-gradient(160deg, var(--burgundy) 0%, #220A12 100%);
    position: relative;
    overflow: hidden;
}

/* Radial gold glow at top */
.alojamiento-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.14) 0%, transparent 60%);
    pointer-events: none;
}

/* Override titles for dark bg */
.alojamiento-section .section-title {
    color: var(--gold-light);
}

.alojamiento-section .section-sub {
    color: rgba(245, 230, 200, 0.65);
}

.alojamiento-section .aloj-nota {
    color: rgba(245, 230, 200, 0.4);
}

.alojamiento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 54px;
}

/* === CARD === */
.alojamiento-card {
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 40px 30px 36px;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Top shimmer line on hover */
.alojamiento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    border-radius: 2px;
    transition: opacity 0.4s ease;
}

.alojamiento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38), 0 0 40px rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.48);
}

.alojamiento-card:hover::before {
    opacity: 1;
}

/* === ICON — circular container === */
.aloj-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.13);
    border: 1px solid rgba(201, 168, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--gold);
    margin-bottom: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.alojamiento-card:hover .aloj-icon {
    background: rgba(201, 168, 76, 0.22);
    transform: scale(1.08) rotate(-4deg);
}

/* === NAME === */
.alojamiento-card h3 {
    font-size: 1.25rem;
    color: var(--gold-light);
    margin-bottom: 6px;
    line-height: 1.3;
}

/* === LOCATION === */
.aloj-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-sub);
    font-size: 0.82rem;
    color: rgba(245, 230, 200, 0.5);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aloj-location ion-icon {
    color: var(--gold);
    font-size: 0.95rem;
}

/* === PRICE BOX === */
.aloj-price {
    font-family: var(--font-sub);
    font-size: 0.95rem;
    color: rgba(245, 230, 200, 0.8);
    margin-bottom: 14px;
    padding: 10px 18px;
    background: rgba(201, 168, 76, 0.09);
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.18);
    width: 100%;
    text-align: center;
    line-height: 1.6;
}

.aloj-price strong {
    color: var(--gold-light);
    font-size: 1.15rem;
    font-weight: 700;
}

/* === DETAILS (capacity) === */
.aloj-details {
    font-family: var(--font-sub);
    font-size: 0.82rem;
    color: rgba(245, 230, 200, 0.48);
    font-style: italic;
    margin-bottom: 10px;
}

/* === CONTACT === */
.aloj-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sub);
    font-size: 0.88rem;
    color: rgba(245, 230, 200, 0.75);
    margin-bottom: 14px;
}

.aloj-contact ion-icon {
    color: var(--gold);
    font-size: 1rem;
}

/* === LINK — pill button === */
.aloj-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sub);
    font-size: 0.8rem;
    color: var(--gold-light);
    text-decoration: none;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    transition: all 0.25s ease;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.aloj-link:hover {
    background: rgba(201, 168, 76, 0.22);
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.04);
}

/* === BADGE — pill (replaces ribbon) === */
.aloj-badge {
    position: static;
    transform: none;
    display: inline-block;
    background: rgba(201, 168, 76, 0.14);
    color: rgba(245, 230, 200, 0.7);
    padding: 4px 16px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(201, 168, 76, 0.28);
    margin-top: auto;
}

/* === BADGE GOLD — Best rated === */
.aloj-badge--gold {
    background: var(--gold) !important;
    color: var(--burgundy) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 3px 12px rgba(201, 168, 76, 0.35);
}

.aloj-nota {
    margin-top: 44px;
    font-style: italic;
    color: rgba(245, 230, 200, 0.4);
    font-size: 0.88rem;
}

@media (max-width: 700px) {
    .alojamiento-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: left;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.faq-q {
    font-size: 1.25rem;
    color: var(--burgundy);
    margin-bottom: 12px;
    font-family: var(--font-display);
}

.faq-a {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.7;
    font-family: var(--font-body);
}

/* Forbidden Colors Palette */
.forbidden-colors {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-gold);
}

.forbidden-colors h4 {
    font-size: 0.9rem;
    color: var(--burgundy-mid);
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-display);
}

.palette {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.color-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    opacity: 0.3;
}

.colors-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 8px;
    font-family: var(--font-sub);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    text-align: left;
}

.accordion-item {
    background: white;
    margin-bottom: 20px;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.1);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: var(--gold-light);
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.accordion-header .item-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-right: 20px;
}

.accordion-header h3 {
    flex-grow: 1;
    font-size: 1.15rem;
    color: var(--burgundy);
    margin: 0;
    font-family: var(--font-display);
}

.accordion-header .arrow-icon {
    font-size: 1.2rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #fafafa;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.accordion-item.active .arrow-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
    background: rgba(201, 168, 76, 0.05);
}

.content-inner {
    padding: 0 30px 30px 75px;
}

.content-inner p {
    color: var(--text-body);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-body);
}

@media (max-width: 600px) {
    .content-inner {
        padding: 0 20px 20px 20px;
    }

    .accordion-header {
        padding: 20px;
    }
}

/* Contrast fix for RSVP success */
#rsvp-success h2,
.attend-form h2,
.regret-form h2 {
    color: var(--gold-light) !important;
    margin-bottom: 20px;
}

#rsvp-success p,
.attend-form p,
.regret-form p {
    color: white !important;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* New RSVP Form Styles */
.form-label-group {
    margin-bottom: 20px;
    text-align: left;
}

.field-label {
    display: block;
    font-family: var(--font-sub);
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.radio-group {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--champagne);
    font-family: var(--font-sub);
    cursor: pointer;
    font-size: 1rem;
}

.radio-group input[type="radio"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
}

.add-guest-btn {
    width: 100%;
    background: transparent;
    border: 1px dashed var(--gold);
    color: var(--gold-light);
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    margin-top: 10px;
}

.add-guest-btn:hover {
    background: rgba(201, 168, 76, 0.1);
    border-style: solid;
}

.companion-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.companion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    padding-bottom: 8px;
}

.companion-header span {
    font-family: var(--font-sub);
    font-weight: 700;
    color: var(--gold-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.companion-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guest-row {
    position: relative;
    margin-bottom: 14px;
    animation: fadeIn 0.4s ease;
}

.remove-guest-btn {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.remove-guest-btn:hover {
    background: #ff3b30;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION: VUELOS / VOLS / VOLI
   ============================================ */
.vuelos-section {
    background: var(--bg-cream);
    padding: 80px 0;
}

.vuelos-intro {
    text-align: center;
    font-family: var(--font-sub);
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.boarding-passes {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
    max-width: 840px;
    margin: 0 auto;
}

.boarding-pass {
    width: 320px;
    cursor: pointer;
    user-select: none;
}

.bp-card {
    background: #fffdf8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(80, 20, 20, 0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(180, 130, 50, 0.15);
}

.boarding-pass:hover .bp-card {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(80, 20, 20, 0.2);
}

.bp-header {
    background: var(--burgundy);
    padding: 13px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bp-airline {
    font-family: var(--font-main);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.bp-flight-label {
    font-family: var(--font-sub);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.58rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: right;
}

.bp-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 16px;
    gap: 8px;
}

.bp-airport {
    text-align: center;
    flex: 1;
}

.bp-code {
    font-family: var(--font-main);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.bp-city-name {
    font-family: var(--font-sub);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 5px;
}

.bp-route-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bp-route-line {
    width: 44px;
    height: 1px;
    background: linear-gradient(to right, var(--gold), var(--burgundy));
    opacity: 0.5;
}

.bp-details {
    display: flex;
    justify-content: space-around;
    padding: 12px 24px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bp-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.bp-detail-label {
    font-family: var(--font-sub);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.bp-detail-value {
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: #2a1a1a;
    font-weight: 500;
}

/* --- Perforated divider --- */
.bp-perforation {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.bp-notch {
    width: 18px;
    height: 18px;
    background: var(--bg-cream);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.bp-notch--left {
    margin-left: -9px;
    box-shadow: inset -3px 0 0 rgba(180, 130, 50, 0.15);
}

.bp-notch--right {
    margin-right: -9px;
    box-shadow: inset 3px 0 0 rgba(180, 130, 50, 0.15);
}

.bp-dash-line {
    flex: 1;
    border-top: 2px dashed rgba(180, 130, 50, 0.3);
}

/* --- Stub / CTA area --- */
.bp-stub {
    padding: 14px 18px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    background: rgba(80, 20, 20, 0.02);
}

.bp-stub-closed {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sub);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    transition: opacity 0.3s ease;
}

.bp-stub-closed ion-icon {
    font-size: 1rem;
    color: var(--gold);
}

.bp-stub-open {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.boarding-pass.bp-open .bp-stub-closed {
    display: none;
}

.boarding-pass.bp-open .bp-stub-open {
    display: block;
}

.boarding-pass.bp-open .bp-stub {
    background: rgba(80, 20, 20, 0.05);
}

.boarding-pass.bp-open .bp-card {
    box-shadow: 0 8px 36px rgba(80, 20, 20, 0.22);
}

.bp-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    background: var(--burgundy);
    color: var(--champagne);
    font-family: var(--font-sub);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
}

.bp-book-btn:hover {
    background: #7a1020;
    transform: scale(1.02);
}

.bp-book-btn ion-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .boarding-pass {
        width: 100%;
        max-width: 340px;
    }

    .bp-code {
        font-size: 2rem;
    }
}