/*
 *  INVITATION004.CSS — LUMIÈRE ÉDITORIAL
 *  MOBILE-FIRST · Luxury editorial cinematic design system
 *  Base = 320px | →480px | →600px | →768px | →1024px | →1280px
 */

:root {
    --ivory: #F7F4EF;
    --champagne: #E8DCCB;
    --warm-beige: #D8C7B5;
    --soft-gold: #C6A77D;
    --charcoal: #2A2A2A;
    --muted-rose: #D8B7B0;
    --color-primary: #C6A77D;
    --color-secondary: #D8B7B0;
    --color-title: #C6A77D;
    --color-text: #2A2A2A;
    --color-body-bg: #F7F4EF;
    --color-secondary-title: #D8B7B0;
    --subtitle-color: #8A7A6A;
    --font-TitleH1: 'Cormorant Garamond', 'Georgia', serif;
    --font_titleH2: 'Cormorant Garamond', 'Georgia', serif;
    --font_titleH3: 'Inter', 'Helvetica Neue', sans-serif;
    --font-text: 'Inter', 'Helvetica Neue', sans-serif;
    --font-size-body: 0.938rem;
    --section-max-width: 1100px;
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-reveal: 0.7s;
    --section-py: 3.5rem;
    --welcome-bg: var(--ivory);
    --savethedate-bg: transparent;
    --details-bg: var(--ivory);
    --dresscode-bg: var(--ivory);
    --itinerary-bg: var(--ivory);
    --itinerary-custom-bg: transparent;
    --photoslider-bg: var(--ivory);
    --social-bg: var(--ivory);
    --gifts-bg: var(--ivory);
    --gallery-bg: var(--ivory);
    --rsvp-bg: var(--ivory);
    --container-px: 1.25rem;
    --touch-target: 44px;
}

/* ════════════════════════════════════════════════════════════════════════════
   1. RESET & BASE (mobile 320px+)
   ════════════════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-text);
    font-size: var(--font-size-body);
    color: var(--color-text);
    background: var(--color-body-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-height: 100dvh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-family: var(--font-TitleH1);
    color: var(--color-title);
}

h2 {
    font-family: var(--font_titleH2);
    color: var(--color-secondary-title);
}

h3 {
    font-family: var(--font_titleH3);
    color: var(--color-text);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: clamp(0.65rem, 2.2vw, 0.85rem);
}

.container {
    width: 100%;
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-title);
}

.text-bold {
    font-weight: bold !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   2. SECTION (mobile base — compact)
   ════════════════════════════════════════════════════════════════════════════ */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section-title {
    font-family: var(--font-TitleH1);
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
    color: var(--color-title);
    line-height: 1.12;
    letter-spacing: 0.3px;
    margin-bottom: 1rem;
}

.editorial-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 1.5rem auto;
    max-width: 160px;
}

.editorial-divider::before,
.editorial-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--soft-gold);
    opacity: 0.25;
}

.editorial-divider .divider-diamond {
    width: 5px;
    height: 5px;
    background: var(--soft-gold);
    transform: rotate(45deg);
    opacity: 0.45;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   3. SPLASH (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--charcoal);
    opacity: 1;
    transition: opacity 0.9s var(--ease-out-expo);
    background-size: cover;
    background-position: center;
}

#splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-overlay-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.splash-overlay-image img {
    width: 32%;
    max-width: 160px;
    opacity: 0.05;
    animation: splashBreath 4s ease-in-out infinite;
}

@keyframes splashBreath {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.05;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.09;
    }
}

.splash-content {
    position: relative;
    z-index: 2;
    padding: 0 1.25rem;
}

.splash-title h1 {
    font-family: var(--font-TitleH1);
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    color: var(--soft-gold);
    margin-bottom: 0.25rem;
    letter-spacing: 1.5px;
}

.splash-title p {
    font-family: var(--font_titleH3);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
    padding: 14px 40px;
    font-family: var(--font_titleH3);
    font-size: 0.7rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--soft-gold);
    background: transparent;
    border: 1.5px solid var(--soft-gold);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s var(--ease-out-expo);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--soft-gold);
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
}

.btn-open:active::before {
    transform: translateX(100%);
}

.btn-open:active {
    color: #fff;
}

@media (hover: hover) {
    .btn-open:hover::before {
        transform: translateX(100%);
    }

    .btn-open:hover {
        color: #fff;
    }
}

/* Custom splash */
.custom-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.custom-splash-content {
    position: relative;
    z-index: 2;
}

.custom-splash-envelope {
    position: relative;
    width: 80vw;
    max-width: 380px;
}

.envelope-image {
    width: 100%;
    height: auto;
}

.seal-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22vw;
    max-width: 80px;
    animation: sealPulse 5.5s ease-in-out infinite;
    cursor: pointer;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@keyframes sealPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.06);
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   4. HERO (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 480px;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/*
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(42, 42, 42, 0.35) 0%, rgba(42, 42, 42, 0.15) 35%, rgba(42, 42, 42, 0.45) 70%, rgba(42, 42, 42, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 50% at 50% 60%, transparent 0%, rgba(198, 167, 125, 0.03) 100%);
    z-index: 1;
    pointer-events: none;
}
*/
.hero-overlay {
    display: none;
}

.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding-top: 3.5rem;
}

.hero .section-title--top {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
}

.hero_title {
    font-family: var(--hero-title-font-family, var(--font_titleH3));
    color: var(--hero-title-font-color, rgba(255, 255, 255, 1));
    font-size: var(--hero-title-font-size, 0.9rem);
    font-style: var(--hero-title-font-style, normal);
    letter-spacing: var(--hero-title-letter-spacing, normal);
    font-weight: var(--hero-title-font-weight, 300);
    text-transform: var(--hero-title-text-transform, uppercase);
    line-height: var(--hero-title-line-height, normal);
}

.hero_name {
    font-family: var(--hero-name-font-family, var(--font-TitleH1));
    font-size: var(--hero-name-font-size, clamp(2.6rem, 13vw, 4.8rem));
    color: var(--hero-name-font-color, #fff);
    font-style: var(--hero-name-font-style, normal);
    letter-spacing: var(--hero-name-letter-spacing, normal);
    font-weight: var(--hero-name-font-weight, 400);
    text-transform: var(--hero-name-text-transform, none);
    line-height: var(--hero-name-line-height, normal);
}

.hero_quote {
    font-family: var(--hero-quote-font-family, var(--font-TitleH1));
    font-size: var(--hero-quote-font-size, clamp(0.95rem, 3.2vw, 1.5rem));
    color: var(--hero-quote-font-color, rgba(255, 255, 255, 0.6));
    font-style: var(--hero-quote-font-style, normal);
    letter-spacing: var(--hero-quote-letter-spacing, normal);
    font-weight: var(--hero-quote-font-weight, 400);
    text-transform: var(--hero-quote-text-transform, none);
    line-height: var(--hero-quote-line-height, normal);
}

.hero-footer {
    position: absolute;
    bottom: 5rem;
    left: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    padding: 0 1.25rem;
}


.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 30px;
    height: 30px;
    background: #fff;
    -webkit-mask: url('../images/page/down.svg') center/contain no-repeat;
    mask: url('../images/page/down.svg') center/contain no-repeat;
    animation: scrollBounce 1s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   5. WELCOME (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.welcome-section .section-bg {
    background: var(--welcome-bg);
}

.welcome-section .section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--soft-gold), transparent);
    opacity: 0.15;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section-content {
    position: relative;
    z-index: 1;
}


.icon-container {
    width: fit-content;
    height: fit-content;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-mask {
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
}

.icon-mask--message {
    width: var(--icon-size-message, 22px);
    height: var(--icon-size-message, 22px);
    background-color: var(--icon-color-message, var(--soft-gold));
    -webkit-mask-image: var(--icon-message);
    mask-image: var(--icon-message);
}

.icon-mask--details {
    width: var(--icon-size-details, 22px);
    height: var(--icon-size-details, 22px);
    background-color: var(--icon-color-details, var(--soft-gold));
    -webkit-mask-image: var(--icon-details);
    mask-image: var(--icon-details);
}

.icon-mask--dresscode {
    width: var(--icon-size-dresscode, 22px);
    height: var(--icon-size-dresscode, 22px);
    background-color: var(--icon-color-dresscode, var(--soft-gold));
    -webkit-mask-image: var(--icon-dresscode);
    mask-image: var(--icon-dresscode);
}

.icon-mask--timeline {
    width: var(--icon-size-timeline, 22px);
    height: var(--icon-size-timeline, 22px);
    background-color: var(--icon-color-timeline, var(--soft-gold));
    -webkit-mask-image: var(--icon-timeline);
    mask-image: var(--icon-timeline);
}

.icon-mask--gallery {
    width: var(--icon-size-gallery, 22px);
    height: var(--icon-size-gallery, 22px);
    background-color: var(--icon-color-gallery, var(--soft-gold));
    -webkit-mask-image: var(--icon-gallery);
    mask-image: var(--icon-gallery);
}

.icon-mask--gift {
    width: var(--icon-size-gift, 22px);
    height: var(--icon-size-gift, 22px);
    background-color: var(--icon-color-gift, var(--soft-gold));
    -webkit-mask-image: var(--icon-gift);
    mask-image: var(--icon-gift);
}

.icon-mask--instagram {
    width: var(--icon-size-instagram, 22px);
    height: var(--icon-size-instagram, 22px);
    background-color: var(--icon-color-instagram, var(--soft-gold));
    -webkit-mask-image: var(--icon-instagram);
    mask-image: var(--icon-instagram);
}

.icon-mask--cammera {
    width: var(--icon-size-cammera, 22px);
    height: var(--icon-size-cammera, 22px);
    background-color: var(--icon-color-cammera, var(--soft-gold));
    -webkit-mask-image: var(--icon-cammera);
    mask-image: var(--icon-cammera);
}

.icon-mask--confirmation {
    width: var(--icon-size-confirmation, 22px);
    height: var(--icon-size-confirmation, 22px);
    background-color: var(--icon-color-confirmation, var(--soft-gold));
    -webkit-mask-image: var(--icon-confirmation);
    mask-image: var(--icon-confirmation);
}

.animate-zoom-in-out {
    animation: iconPulse 5s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.welcome_text {
    font-family: var(--welcome-text-font-family, var(--font-TitleH1));
    font-size: var(--welcome-text-font-size, clamp(0.95rem, 3.2vw, 1.25rem));
    color: var(--welcome-text-font-color, var(--color-text));
    font-style: var(--welcome-text-font-style, normal);
    letter-spacing: var(--welcome-text-letter-spacing, normal);
    font-weight: var(--welcome-text-font-weight, 400);
    text-transform: var(--welcome-text-text-transform, none);
    line-height: var(--welcome-text-line-height, 1.7);
}

.marco-dorado {
    border: 2px solid #b38728;
    outline: 2px solid #fcf6ba;
    outline-offset: 2px;
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.25);
    padding: 2.5rem 4.5rem;
    width: calc(100% - 1.5rem);
    margin-left: auto;
    margin-right: auto;
}

/* ════════════════════════════════════════════════════════════════════════════
    6. SAVE THE DATE (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.save-the-date {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.save-the-date .section-bg {
    background: var(--savethedate-bg);
}

.save-the-date.has-image .section-bg {
    background: transparent;
}

/*
.save-the-date .section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFFDFC 0%, #F5E7E6 35%, #EFD5D8 100%);
}

.save-the-date.has-image .section-bg::before {
    background: transparent;


}

.save-the-date .section-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--ivory));
    pointer-events: none;
}

*/
.save-the-date__content {
    position: relative;
    z-index: 2;
    padding: 0 1.25rem;
}

.save-the-date__content h1 {
    font-size: clamp(1.4rem, 5.5vw, 2.4rem);
    color: var(--soft-gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-family: var(--font_titleH3);
    font-weight: 300;
}

.savethedate_title {
    font-family: var(--savethedate-title-font-family, var(--font_titleH3));
    font-size: var(--savethedate-title-font-size, clamp(1.4rem, 5.5vw, 2.4rem));
    color: var(--savethedate-title-font-color, var(--soft-gold));
    letter-spacing: var(--savethedate-title-letter-spacing, 6px);
    font-weight: var(--savethedate-title-font-weight, 300);
    text-transform: var(--savethedate-title-text-transform, uppercase);
    line-height: var(--savethedate-title-line-height, 1.2);
}

.save-the-date__footer {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

.save-the-date__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.savethedate_day_name {
    font-family: var(--savethedate-day-name-font-family, var(--font_titleH3));
    font-size: var(--savethedate-day-name-font-size, 0.6rem);
    color: var(--savethedate-day-name-font-color, rgba(255, 255, 255, 0.35));
    font-style: var(--savethedate-day-name-font-style, normal);
    letter-spacing: var(--savethedate-day-name-letter-spacing, 5px);
    font-weight: var(--savethedate-day-name-font-weight, 400);
    text-transform: var(--savethedate-day-name-text-transform, uppercase);
    line-height: var(--savethedate-day-name-line-height, 1.2);
}

.savethedate_day_num {
    font-family: var(--savethedate-day-num-font-family, var(--font-TitleH1));
    font-size: var(--savethedate-day-num-font-size, clamp(3.2rem, 18vw, 6rem));
    color: var(--savethedate-day-num-font-color, var(--soft-gold));
    font-style: var(--savethedate-day-num-font-style, normal);
    letter-spacing: var(--savethedate-day-num-letter-spacing, 3px);
    font-weight: var(--savethedate-day-num-font-weight, 400);
    text-transform: var(--savethedate-day-num-text-transform, none);
    line-height: var(--savethedate-day-num-line-height, 0.9);
}

.savethedate_day_month {
    font-family: var(--savethedate-day-month-font-family, var(--font-TitleH1));
    font-size: var(--savethedate-day-month-font-size, clamp(1rem, 3.5vw, 1.6rem));
    color: var(--savethedate-day-month-font-color, rgba(255, 255, 255, 0.5));
    font-style: var(--savethedate-day-month-font-style, normal);
    letter-spacing: var(--savethedate-day-month-letter-spacing, 6px);
    font-weight: var(--savethedate-day-month-font-weight, 400);
    text-transform: var(--savethedate-day-month-text-transform, uppercase);
    line-height: var(--savethedate-day-month-line-height, 1.2);
}

.save-the-date__footer h3 {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.55rem;
    letter-spacing: 3.5px;
    margin: 1.25rem 0 0.6rem;
    font-weight: 300;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: clamp(0.8rem, 4vw, 1.5rem);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px clamp(8px, 2vw, 15px);
    min-width: clamp(56px, 14vw, 70px);
    text-align: center;
}

.savethedate_countdown_num {
    font-family: var(--savethedate-countdown-num-font-family, var(--font-TitleH1));
    font-size: var(--savethedate-countdown-num-font-size, clamp(1.5rem, 6vw, 2.5rem));
    color: var(--savethedate-countdown-num-font-color, var(--soft-gold));
    font-style: var(--savethedate-countdown-num-font-style, normal);
    letter-spacing: var(--savethedate-countdown-num-letter-spacing, normal);
    font-weight: var(--savethedate-countdown-num-font-weight, 400);
    line-height: var(--savethedate-countdown-num-line-height, 1);
    margin-bottom: 0.2rem;
}

.savethedate_countdown_label {
    font-family: var(--savethedate-countdown-label-font-family, var(--font_titleH3));
    font-size: var(--savethedate-countdown-label-font-size, 0.5rem);
    color: var(--savethedate-countdown-label-font-color, rgba(255, 255, 255, 0.25));
    font-style: var(--savethedate-countdown-label-font-style, normal);
    letter-spacing: var(--savethedate-countdown-label-letter-spacing, 1.5px);
    font-weight: var(--savethedate-countdown-label-font-weight, 400);
    text-transform: var(--savethedate-countdown-label-text-transform, uppercase);
    line-height: var(--savethedate-countdown-label-line-height, 1.2);
    margin-top: 0.2rem;
    width: 100%;
}


/* ════════════════════════════════════════════════════════════════════════════
   7. DETAILS (mobile — single column)
   ════════════════════════════════════════════════════════════════════════════ */
.details-section .section-bg {
    background: var(--details-bg);
}

.details-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--details-bg));
    pointer-events: none;
    z-index: 1;
}

.details-section .section-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--soft-gold), transparent);
    opacity: 0.15;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.detail-card {

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(255, 255, 255, 0.08);
    border-radius: 28px;
}

@media (hover: hover) {
    .detail-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(42, 42, 42, 0.05);
    }
}

.detail-card:active {
    transform: translateY(-1px);
}

.card-content {
    padding: 1.5rem 1.25rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.card-content h2 {
    font-family: var(--font-TitleH1);
    font-size: clamp(1.15rem, 3.5vw, 1.6rem);
    color: var(--color-title);
    margin-bottom: 0.25rem;
}

.location-item_type {
    font-family: var(--location-item-type-font-family, var(--font-TitleH1));
    font-size: var(--location-item-type-font-size, clamp(1.15rem, 3.5vw, 1.6rem));
    color: var(--location-item-type-font-color, var(--color-title));
    font-style: var(--location-item-type-font-style, normal);
    letter-spacing: var(--location-item-type-letter-spacing, normal);
    font-weight: var(--location-item-type-font-weight, 400);
    text-transform: var(--location-item-type-text-transform, none);
    line-height: var(--location-item-type-line-height, 1.2);
    margin-bottom: 0.25rem;
}

.card-content h3 {
    font-family: var(--font_titleH3);
    font-size: 0.6rem;
    color: var(--subtitle-color);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    font-weight: 400;
}

.location-item_hour {
    font-family: var(--location-item-hour-font-family, var(--font_titleH3));
    font-size: var(--location-item-hour-font-size, 0.6rem);
    color: var(--location-item-hour-font-color, var(--subtitle-color));
    font-style: var(--location-item-hour-font-style, normal);
    letter-spacing: var(--location-item-hour-letter-spacing, 2.5px);
    font-weight: var(--location-item-hour-font-weight, 400);
    text-transform: var(--location-item-hour-text-transform, uppercase);
    line-height: var(--location-item-hour-line-height, 1.2);
}

.location-item_place_name {
    font-family: var(--location-item-place-name-font-family, var(--font_titleH3));
    font-size: var(--location-item-place-name-font-size, 0.6rem);
    color: var(--location-item-place-name-font-color, var(--subtitle-color));
    font-style: var(--location-item-place-name-font-style, normal);
    letter-spacing: var(--location-item-place-name-letter-spacing, 2.5px);
    font-weight: var(--location-item-place-name-font-weight, 400);
    text-transform: var(--location-item-place-name-text-transform, uppercase);
    line-height: var(--location-item-place-name-line-height, 1.2);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    padding: 0 18px;
    /* 15px a izquierda y derecha */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.7s var(--ease-out-expo);

}

@media (hover: hover) {
    .detail-card:hover .card-image img {
        transform: scale(1.05);
    }
}

.location-item_place_address {
    font-family: var(--location-item-place-address-font-family, inherit);
    font-size: var(--location-item-place-address-font-size, 0.85rem);
    color: var(--location-item-place-address-font-color, var(--color-text));
    font-style: var(--location-item-place-address-font-style, normal);
    letter-spacing: var(--location-item-place-address-letter-spacing, normal);
    font-weight: var(--location-item-place-address-font-weight, 400);
    text-transform: var(--location-item-place-address-text-transform, none);
    line-height: var(--location-item-place-address-line-height, 1.5);
}

.location_title {
    font-family: var(--location-title-font-family, var(--font-TitleH1));
    font-size: var(--location-title-font-size, clamp(1.8rem, 6.5vw, 2.4rem));
    color: var(--location-title-font-color, var(--color-title));
    font-style: var(--location-title-font-style, normal);
    letter-spacing: var(--location-title-letter-spacing, 0.3px);
    font-weight: var(--location-title-font-weight, 400);
    text-transform: var(--location-title-text-transform, none);
    line-height: var(--location-title-line-height, 1.12);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
    padding: 12px 28px;
    font-family: var(--font_titleH3);
    font-size: 1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    background: var(--soft-gold);
    border: none;
    cursor: pointer;
    transition: background 0.3s var(--ease-out-expo);
    user-select: none;
    border-radius: 20px;
}

.btn-gold:active {
    background: var(--charcoal);
}

@media (hover: hover) {
    .btn-gold:hover {
        background: var(--charcoal);
    }
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 24px;
    font-family: var(--font_titleH3);
    font-size: 1rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--soft-gold);
    border: 1.5px solid var(--soft-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    user-select: none;
}

.btn-gold-outline:active {
    background: var(--soft-gold);
    color: #fff;
}

@media (hover: hover) {
    .btn-gold-outline:hover {
        background: var(--soft-gold);
        color: #fff;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
    8. DRESS CODE (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.dresscode-section {
    color: rgba(255, 255, 255, 0.8);
}

.dresscode-section .section-bg {
    background: var(--dresscode-bg);
}

.dresscode-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--dresscode-bg));
    pointer-events: none;
    z-index: 1;
}

.dresscode-section .section-title {
    color: var(--soft-gold);
}

.dresscode_title {
    font-family: var(--dresscode-title-font-family, var(--font-TitleH1));
    font-size: var(--dresscode-title-font-size, clamp(1.1rem, 4.5vw, 1.8rem));
    color: var(--dresscode-title-font-color, var(--soft-gold));
    font-style: var(--dresscode-title-font-style, normal);
    letter-spacing: var(--dresscode-title-letter-spacing, 4px);
    font-weight: var(--dresscode-title-font-weight, 400);
    text-transform: var(--dresscode-title-text-transform, uppercase);
    line-height: var(--dresscode-title-line-height, 1.2);
    margin-bottom: 0.5rem;
}

.dresscode-main {
    font-family: var(--dresscode-main-font-family, var(--font-TitleH1));
    font-size: var(--dresscode-main-font-size, clamp(1.5rem, 6vw, 2.6rem));
    color: var(--dresscode-main-font-color, var(--soft-gold));
    font-style: var(--dresscode-main-font-style, normal);
    letter-spacing: var(--dresscode-main-letter-spacing, 0.5px);
    font-weight: var(--dresscode-main-font-weight, 400);
    text-transform: var(--dresscode-main-text-transform, none);
    line-height: var(--dresscode-main-line-height, 1.2);
    margin-bottom: 0.4rem;
}

.dresscode-text {
    font-family: var(--dresscode-text-font-family, var(--font-text));
    font-size: var(--dresscode-text-font-size, clamp(0.85rem, 2.5vw, 1.05rem));
    color: var(--dresscode-text-font-color, rgba(255, 255, 255, 0.45));
    font-style: var(--dresscode-text-font-style, normal);
    letter-spacing: var(--dresscode-text-letter-spacing, normal);
    font-weight: var(--dresscode-text-font-weight, 300);
    text-transform: var(--dresscode-text-text-transform, none);
    line-height: var(--dresscode-text-line-height, 1.6);
    max-width: 480px;
    margin: 0 auto;
}

.itinerary_title {
    font-family: var(--itinerary-title-font-family, var(--font-TitleH1));
    font-size: var(--itinerary-title-font-size, clamp(1.8rem, 6.5vw, 2.4rem));
    color: var(--itinerary-title-font-color, var(--color-title));
    font-style: var(--itinerary-title-font-style, normal);
    letter-spacing: var(--itinerary-title-letter-spacing, 0.3px);
    font-weight: var(--itinerary-title-font-weight, 400);
    text-transform: var(--itinerary-title-text-transform, none);
    line-height: var(--itinerary-title-line-height, 1.12);
    margin-bottom: 0.5rem;
}

.itinerary-subtitle {
    font-family: var(--itinerary-subtitle-font-family, var(--font-text));
    font-size: var(--itinerary-subtitle-font-size, clamp(0.85rem, 2.5vw, 1.05rem));
    color: var(--itinerary-subtitle-font-color, var(--color-text));
    font-style: var(--itinerary-subtitle-font-style, normal);
    letter-spacing: var(--itinerary-subtitle-letter-spacing, 0.5px);
    font-weight: var(--itinerary-subtitle-font-weight, 400);
    text-transform: var(--itinerary-subtitle-text-transform, none);
    line-height: var(--itinerary-subtitle-line-height, 1.6);
    margin-bottom: 1rem;
}

.itinerary_event_time {
    font-family: var(--itinerary-event-time-font-family, var(--font-TitleH1));
    font-size: var(--itinerary-event-time-font-size, 0.9rem);
    color: var(--itinerary-event-time-font-color, var(--soft-gold));
    font-style: var(--itinerary-event-time-font-style, normal);
    letter-spacing: var(--itinerary-event-time-letter-spacing, 0.5px);
    font-weight: var(--itinerary-event-time-font-weight, 400);
    text-transform: var(--itinerary-event-time-text-transform, none);
    line-height: var(--itinerary-event-time-line-height, 1.4);
    margin-bottom: 0.15rem;
}

.itinerary_event_activity {
    font-family: var(--itinerary-event-activity-font-family, var(--font-TitleH1));
    font-size: var(--itinerary-event-activity-font-size, clamp(0.9rem, 3vw, 1.2rem));
    color: var(--itinerary-event-activity-font-color, var(--charcoal));
    font-style: var(--itinerary-event-activity-font-style, normal);
    letter-spacing: var(--itinerary-event-activity-letter-spacing, 0.3px);
    font-weight: var(--itinerary-event-activity-font-weight, 400);
    text-transform: var(--itinerary-event-activity-text-transform, none);
    line-height: var(--itinerary-event-activity-line-height, 1.3);
    margin-bottom: 0.15rem;
}

.itinerary_event_description {
    font-family: var(--itinerary-event-description-font-family, var(--font-text));
    font-size: var(--itinerary-event-description-font-size, 0.8rem);
    color: var(--itinerary-event-description-font-color, var(--subtitle-color));
    font-style: var(--itinerary-event-description-font-style, normal);
    letter-spacing: var(--itinerary-event-description-letter-spacing, normal);
    font-weight: var(--itinerary-event-description-font-weight, 400);
    text-transform: var(--itinerary-event-description-text-transform, none);
    line-height: var(--itinerary-event-description-line-height, 1.5);
}

/* ════════════════════════════════════════════════════════════════════════════
   9. ITINERARY (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.itinerary-section .section-bg {
    background: var(--itinerary-bg);
}

.itinerary-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--itinerary-bg));
    pointer-events: none;
    z-index: 1;
}

.itinerary-section.has-custom-bg .section-bg {
    background: var(--itinerary-custom-bg);
}

.itinerary-section.has-custom-bg .section-bg::before {
    background: linear-gradient(to bottom, transparent, var(--itinerary-custom-bg));
    top: -40px;
    height: 80px;
}

.itinerary-section.has-custom-bg {
    background-size: cover;
    background-position: center;
}

.custom-timeline {
    position: relative;
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 0 0.75rem 0 2rem;
}

.custom-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--soft-gold), transparent);
    opacity: 0.18;
}

.timeline-event {
    position: relative;
    display: block;
    margin-bottom: 2rem;
    width: 100%;
    padding-left: 0;
}

.event-node {
    position: absolute;
    left: -1.35rem;
    top: 1.5rem;
    width: 9px;
    height: 9px;
    background: var(--soft-gold);
    border-radius: 50%;
    z-index: 2;
    border: 2px solid var(--ivory);
}

.glass-effect {
    width: 320px;
    padding: 30px;

    /* Fondo transparente */
    background: rgba(var(--itinerary-event-glass-effect-bg-rgb, 222, 170, 175), var(--itinerary-event-glass-effect-bg-opacity, 0.10));

    /* Efecto vidrio */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Bordes */
    border: 1px solid rgba(255, 255, 255, 0.30);

    /* Sombra */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Bordes redondeados */
    border-radius: 20px;

    /* Texto */
    color: white;
}

.glass-effect svg {
    width: var(--icon-size-timeline, 100px);
    height: var(--icon-size-timeline, 100px);
}

/* ════════════════════════════════════════════════════════════════════════════
   10. GALLERY — ARCH SWIPER (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.insta-gallery-section {
    padding-bottom: 2.5rem;
}

.insta-gallery-section .section-bg {
    background: var(--photoslider-bg);
}

.insta-gallery-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--photoslider-bg));
    pointer-events: none;
    z-index: 1;
}

.galeria-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: min(650px, 78vh);
    margin: 0.5rem auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: pan-y;
}

.swiper-container-custom {
    position: relative;
    width: 82%;
    height: 85%;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(42, 42, 42, 0.18);
    z-index: 5;
    background: rgba(255, 255, 255, 0.35);
}

.swiper-container-custom .swiper {
    width: 100%;
    height: 100%;
}

.swiper-container-custom .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

.arch-texture-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    opacity: 0.28;
    border-radius: inherit;
    mix-blend-mode: multiply;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(198, 167, 125, 0.35);
    color: var(--color-title, #C6A77D);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s, transform 0.2s, background 0.3s;
    backdrop-filter: blur(6px);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.9);
}

@media (hover: hover) {
    .nav-btn:hover {
        background: rgba(255, 255, 255, 0.85);
        color: var(--color-primary, #C6A77D);
    }
}

.nav-btn.btn-prev {
    left: 0;
}

.nav-btn.btn-next {
    right: 18px;
}

.barra-progreso-contenedor {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    height: 90px;
    width: 2px;
    background-color: rgba(198, 167, 125, 0.25);
    z-index: 20;
    border-radius: 2px;
    overflow: hidden;
}

.barra-progreso-fill {
    width: 100%;
    height: 0%;
    background-color: var(--color-primary, #C6A77D);
    transition: height 0.3s ease, transform 0.3s ease;
    border-radius: 2px;
}

.gallery1_title {
    font-family: var(--gallery1-title-font-family, var(--font-TitleH1));
    font-size: var(--gallery1-title-font-size, clamp(1.8rem, 6.5vw, 2.4rem));
    color: var(--gallery1-title-font-color, var(--color-title));
    font-style: var(--gallery1-title-font-style, normal);
    letter-spacing: var(--gallery1-title-letter-spacing, 0.3px);
    font-weight: var(--gallery1-title-font-weight, 400);
    text-transform: var(--gallery1-title-text-transform, none);
    line-height: var(--gallery1-title-line-height, 1.12);
    margin-bottom: 0.5rem;
}

.gallery1_message {
    font-family: var(--gallery1-message-font-family, var(--font-text));
    font-size: var(--gallery1-message-font-size, clamp(0.85rem, 2.8vw, 1rem));
    color: var(--gallery1-message-font-color, var(--color-text));
    font-style: var(--gallery1-message-font-style, normal);
    letter-spacing: var(--gallery1-message-letter-spacing, normal);
    font-weight: var(--gallery1-message-font-weight, 400);
    text-transform: var(--gallery1-message-text-transform, none);
    line-height: var(--gallery1-message-line-height, 1.5);
    opacity: 0.65;
    margin-bottom: 1rem;
}

.gallery1_footer {
    font-family: var(--gallery1-footer-font-family, var(--font-TitleH1));
    font-size: var(--gallery1-footer-font-size, clamp(0.7rem, 2.5vw, 0.9rem));
    color: var(--gallery1-footer-font-color, var(--color-text));
    font-style: var(--gallery1-footer-font-style, normal);
    letter-spacing: var(--gallery1-footer-letter-spacing, normal);
    font-weight: var(--gallery1-footer-font-weight, 400);
    text-transform: var(--gallery1-footer-text-transform, none);
    line-height: var(--gallery1-footer-line-height, 1.4);
    opacity: 0.4;
    text-align: center;
    margin-top: 1.5rem;
}

.gallery2_title {
    font-family: var(--gallery2-title-font-family, var(--font-TitleH1));
    font-size: var(--gallery2-title-font-size, clamp(1.8rem, 6.5vw, 2.4rem));
    color: var(--gallery2-title-font-color, var(--color-title));
    font-style: var(--gallery2-title-font-style, normal);
    letter-spacing: var(--gallery2-title-letter-spacing, 0.3px);
    font-weight: var(--gallery2-title-font-weight, 400);
    text-transform: var(--gallery2-title-text-transform, none);
    line-height: var(--gallery2-title-line-height, 1.12);
    margin-bottom: 0.5rem;
}

.gallery2_message {
    font-family: var(--gallery2-message-font-family, var(--font-text));
    font-size: var(--gallery2-message-font-size, clamp(0.85rem, 2.8vw, 1rem));
    color: var(--gallery2-message-font-color, var(--color-text));
    font-style: var(--gallery2-message-font-style, normal);
    letter-spacing: var(--gallery2-message-letter-spacing, normal);
    font-weight: var(--gallery2-message-font-weight, 400);
    text-transform: var(--gallery2-message-text-transform, none);
    line-height: var(--gallery2-message-line-height, 1.5);
    opacity: 0.65;
    margin-bottom: 1rem;
}

.gallery2_footer {
    font-family: var(--gallery2-footer-font-family, var(--font-TitleH1));
    font-size: var(--gallery2-footer-font-size, clamp(0.7rem, 2.5vw, 0.9rem));
    color: var(--gallery2-footer-font-color, var(--color-text));
    font-style: var(--gallery2-footer-font-style, normal);
    letter-spacing: var(--gallery2-footer-letter-spacing, normal);
    font-weight: var(--gallery2-footer-font-weight, 400);
    text-transform: var(--gallery2-footer-text-transform, none);
    line-height: var(--gallery2-footer-line-height, 1.4);
    opacity: 0.4;
    text-align: center;
    margin-top: 1.5rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   11. DIVIDER HERO (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.divider-hero {
    height: 40vh;
    min-height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.divider-hero .hero-overlay--soft {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to bottom, transparent, rgba(42, 42, 42, 0.08));*/
}

/* ════════════════════════════════════════════════════════════════════════════
   12. GIFTS (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.gifts-section .section-bg {
    background: var(--gifts-bg);
}

.gifts-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gifts-bg));
    pointer-events: none;
    z-index: 1;
}

.gifts_title {
    font-family: var(--gifts-title-font-family, var(--font-TitleH1));
    font-size: var(--gifts-title-font-size, clamp(1.8rem, 6.5vw, 2.4rem));
    color: var(--gifts-title-font-color, var(--color-title));
    font-style: var(--gifts-title-font-style, normal);
    letter-spacing: var(--gifts-title-letter-spacing, 0.3px);
    font-weight: var(--gifts-title-font-weight, 400);
    text-transform: var(--gifts-title-text-transform, none);
    line-height: var(--gifts-title-line-height, 1.12);
    margin-bottom: 0.5rem;
}

.gifts_intro {
    font-family: var(--gifts-intro-font-family, var(--font-TitleH1));
    font-size: var(--gifts-intro-font-size, clamp(0.9rem, 3vw, 1.1rem));
    color: var(--gifts-intro-font-color, var(--color-text));
    font-style: var(--gifts-intro-font-style, normal);
    letter-spacing: var(--gifts-intro-letter-spacing, normal);
    font-weight: var(--gifts-intro-font-weight, 400);
    text-transform: var(--gifts-intro-text-transform, none);
    line-height: var(--gifts-intro-line-height, 1.6);
    max-width: 480px;
    margin: 0 auto 1.5rem;
    opacity: 0.65;
}

.gift-card .gifts_item_type {
    font-family: var(--gifts-item-type-font-family, var(--font-TitleH1));
    font-size: var(--gifts-item-type-font-size, clamp(0.9rem, 3vw, 1.2rem));
    color: var(--gifts-item-type-font-color, var(--charcoal));
    font-style: var(--gifts-item-type-font-style, normal);
    letter-spacing: var(--gifts-item-type-letter-spacing, 0.3px);
    font-weight: var(--gifts-item-type-font-weight, 400);
    text-transform: var(--gifts-item-type-text-transform, none);
    line-height: var(--gifts-item-type-line-height, 1.3);
    margin-bottom: 0.4rem;
}

.gift-card .gifts_item_type_text {
    font-family: var(--gifts-item-type-text-font-family, inherit);
    font-size: var(--gifts-item-type-text-font-size, 0.8rem);
    color: var(--gifts-item-type-text-font-color, var(--subtitle-color));
    font-style: var(--gifts-item-type-text-font-style, normal);
    letter-spacing: var(--gifts-item-type-text-letter-spacing, normal);
    font-weight: var(--gifts-item-type-text-font-weight, 400);
    text-transform: var(--gifts-item-type-text-text-transform, none);
    line-height: var(--gifts-item-type-text-line-height, 1.4);
}

.gifts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.gift-card {
    background: #fff;
    border: 1px solid var(--champagne);
    padding: 1.5rem 1.25rem;
    flex: 1 1 200px;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.gift-card:active {
    transform: translateY(-2px);
}

@media (hover: hover) {
    .gift-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(42, 42, 42, 0.03);
    }
}

.detail-icon {
    display: block;
    margin: 0 auto 0.6rem;
}




/* ════════════════════════════════════════════════════════════════════════════
   13. SOCIAL / HASHTAG (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.social-section {
    padding: 3rem 0;
}

.social-section .section-bg {
    background: var(--social-bg);
}

.social-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--social-bg));
    pointer-events: none;
    z-index: 1;
}

.social-section h3 {
    font-family: var(--font-TitleH1);
    font-size: clamp(1.3rem, 5vw, 2rem);
    color: var(--soft-gold);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.social_hashtag_message {
    font-family: var(--social-hashtag-message-font-family, var(--font-text));
    font-size: var(--social-hashtag-message-font-size, 0.8rem);
    color: var(--social-hashtag-message-font-color, var(--subtitle-color));
    font-style: var(--social-hashtag-message-font-style, normal);
    letter-spacing: var(--social-hashtag-message-letter-spacing, normal);
    font-weight: var(--social-hashtag-message-font-weight, 400);
    text-transform: var(--social-hashtag-message-text-transform, none);
    line-height: var(--social-hashtag-message-line-height, 1.6);
    opacity: 0.55;
}

.social_hashtag {
    font-family: var(--social-hashtag-font-family, var(--font-TitleH1));
    font-size: var(--social-hashtag-font-size, clamp(1.3rem, 5vw, 2rem));
    color: var(--social-hashtag-font-color, var(--soft-gold));
    font-style: var(--social-hashtag-font-style, normal);
    letter-spacing: var(--social-hashtag-letter-spacing, 0.5px);
    font-weight: var(--social-hashtag-font-weight, 400);
    text-transform: var(--social-hashtag-text-transform, none);
    line-height: var(--social-hashtag-line-height, 1.2);
}

.divisor-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    gap: 0.6rem;
}

.icon-mask--divisor {
    width: 30px;
    height: 1px;
    background: var(--soft-gold);
    opacity: 0.25;
}

.divisor-container::before,
.divisor-container::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--soft-gold);
    opacity: 0.12;
}

/* ════════════════════════════════════════════════════════════════════════════
   14. POLAROID GALLERY (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.gallery-section .section-bg {
    background: var(--gallery-bg);
}

.gallery-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gallery-bg));
    pointer-events: none;
    z-index: 1;
}

.polaroid-gallery {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 1rem 0.5rem;
    line-height: 1.2;
}

.polaroid-item {
    display: inline-block;
    background: #fff;
    padding: 0.45rem 0.45rem 0.85rem;
    box-shadow: 0 6px 24px rgba(42, 42, 42, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
    transform: rotate(var(--rot, 0deg)) translateY(var(--y-off, 0px));
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
    vertical-align: middle;
    width: var(--pw, 40%);
    max-width: 200px;
    position: relative;
    margin: 0.3rem 0.15rem;
}

@media (hover: hover) {
    .polaroid-item:hover {
        transform: rotate(0) translateY(-6px) scale(1.05);
        box-shadow: 0 12px 40px rgba(42, 42, 42, 0.15);
        z-index: 10 !important;
    }
}

.polaroid-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.polaroid-note {
    font-family: var(--font-TitleH1);
    font-size: clamp(0.6rem, 2.2vw, 0.8rem);
    color: var(--color-text);
    text-align: center;
    margin-top: 0.4rem;
    opacity: 0.5;
    font-style: italic;
    padding: 0 0.2rem;
    line-height: 1.2;
}

.polaroid-item {
    cursor: pointer;
}

/* ── Polaroid Lightbox (fullscreen) ── */
.polaroid-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(42, 42, 42, 0.94);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}

.polaroid-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.polaroid-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    width: var(--touch-target);
    height: var(--touch-target);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.polaroid-lightbox-close:active {
    background: rgba(255, 255, 255, 0.28);
}

.polaroid-lightbox-card {
    background: #fff;
    padding: 0.7rem 0.7rem 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(-1.5deg) scale(0.94);
    transition: transform 0.3s var(--ease-out-expo);
    max-width: min(92vw, 520px);
    width: 100%;
}

.polaroid-lightbox.active .polaroid-lightbox-card {
    transform: rotate(-1.5deg) scale(1);
}

.polaroid-lightbox-card img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    background: #f4f1ec;
    -webkit-user-drag: none;
    user-select: none;
}

.polaroid-lightbox-note {
    font-family: var(--font-TitleH1);
    font-size: clamp(0.75rem, 3vw, 1rem);
    color: var(--color-text, #2A2A2A);
    text-align: center;
    margin-top: 0.7rem;
    opacity: 0.55;
    font-style: italic;
    line-height: 1.3;
}

/* ════════════════════════════════════════════════════════════════════════════
   15. RSVP (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.rsvp-section {
    color: #fff;
}

.rsvp-section .section-bg {
    background: var(--rsvp-bg);
}

.rsvp-section .section-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--rsvp-bg));
    pointer-events: none;
    z-index: 1;
}

.rsvp-section .section-title {
    color: var(--soft-gold);
}

.confirm_title {
    font-family: var(--confirm-title-font-family, var(--font-TitleH1));
    font-size: var(--confirm-title-font-size, clamp(1.8rem, 6.5vw, 2.4rem));
    color: var(--confirm-title-font-color, var(--soft-gold));
    font-style: var(--confirm-title-font-style, normal);
    letter-spacing: var(--confirm-title-letter-spacing, 0.3px);
    font-weight: var(--confirm-title-font-weight, 400);
    text-transform: var(--confirm-title-text-transform, none);
    line-height: var(--confirm-title-line-height, 1.12);
    margin-bottom: 0.5rem;
}

.confirm_message {
    font-family: var(--confirm-message-font-family, var(--font-text));
    font-size: var(--confirm-message-font-size, clamp(0.85rem, 2.8vw, 1rem));
    color: var(--confirm-message-font-color, rgba(255, 255, 255, 0.35));
    font-style: var(--confirm-message-font-style, normal);
    letter-spacing: var(--confirm-message-letter-spacing, normal);
    font-weight: var(--confirm-message-font-weight, 400);
    text-transform: var(--confirm-message-text-transform, none);
    line-height: var(--confirm-message-line-height, 1.5);
    opacity: 0.65;
}

.btn-open-rsvp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
    margin-top: 1.25rem;
    padding: 14px 40px;
    font-family: var(--font_titleH3);
    font-size: 0.7rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--soft-gold);
    border: 1.5px solid var(--soft-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    user-select: none;
}

.btn-open-rsvp:active {
    background: var(--soft-gold);
    color: #fff;
}

@media (hover: hover) {
    .btn-open-rsvp:hover {
        background: var(--soft-gold);
        color: #fff;
    }
}

/* ── RSVP Modal (mobile) ── */
.rsvp-modal {
    position: fixed;
    inset: 0;
    background: rgba(42, 42, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 0.75rem;
}

.rsvp-modal.active {
    opacity: 1;
    pointer-events: all;
}

.rsvp-modal-content {
    background: #fff;
    padding: 2rem 1.5rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    transform: translateY(15px);
    transition: transform 0.4s var(--ease-out-expo);
    position: relative;
}

.rsvp-modal.active .rsvp-modal-content {
    transform: translateY(0);
}

.rsvp-modal-content h2 {
    font-family: var(--font-TitleH1);
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    color: var(--charcoal);
    margin-bottom: 1.25rem;
}

.close-modal {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--subtitle-color);
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s;
    min-width: var(--touch-target);
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:active {
    opacity: 1;
}

@media (hover: hover) {
    .close-modal:hover {
        opacity: 1;
    }
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rsvp-form input,
.rsvp-form select {
    width: 100%;
    padding: 14px 14px;
    border: 1px solid var(--champagne);
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    background: var(--ivory);
    transition: border-color 0.25s, background 0.25s;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    min-height: var(--touch-target);
}

.rsvp-form input:focus,
.rsvp-form select:focus {
    border-color: var(--soft-gold);
    background: #fff;
}

.rsvp-form input::placeholder {
    color: var(--subtitle-color);
    opacity: 0.35;
}

.rsvp-form label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--subtitle-color);
    opacity: 0.75;
    margin-bottom: 6px;
    font-family: var(--font-text);
}

.rsvp-assigned-seats {
    font-size: 0.78rem;
    color: var(--color-primary);
    opacity: 0.85;
    text-align: center;
    margin: 4px 0 8px;
    font-family: var(--font-text);
    line-height: 1.4;
}

.rsvp-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238A7A6A'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.rsvp-form button[type="submit"] {
    width: 100%;
    padding: 16px;
    min-height: var(--touch-target);
    background: var(--soft-gold);
    color: #fff;
    border: none;
    font-family: var(--font_titleH3);
    font-size: 0.7rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s var(--ease-out-expo);
    user-select: none;
}

.rsvp-form button[type="submit"]:active {
    background: var(--charcoal);
}

@media (hover: hover) {
    .rsvp-form button[type="submit"]:hover {
        background: var(--charcoal);
    }
}

#rsvp-response {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

/* ════════════════════════════════════════════════════════════════════════════
   16. FOOTER (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.footer-section {
    background: var(--ivory);
    padding: 4rem 0 3rem;
    text-align: center;
}

.footer-section::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--soft-gold);
    margin: 0 auto 2.5rem;
    opacity: 0.25;
}

.footer_title {
    font-family: var(--footer-title-font-family, var(--font-TitleH1));
    font-size: var(--footer-title-font-size, clamp(1.1rem, 4vw, 1.6rem));
    color: var(--footer-title-font-color, var(--color-title));
    font-style: var(--footer-title-font-style, normal);
    letter-spacing: var(--footer-title-letter-spacing, 2px);
    font-weight: var(--footer-title-font-weight, 400);
    text-transform: var(--footer-title-text-transform, uppercase);
    line-height: var(--footer-title-line-height, 1.3);
    margin-bottom: 1rem;
    opacity: 0.75;
}

.footer_name {
    font-family: var(--footer-name-font-family, var(--font-TitleH1));
    font-size: var(--footer-name-font-size, clamp(2rem, 9vw, 3.8rem));
    color: var(--footer-name-font-color, var(--color-title));
    font-style: var(--footer-name-font-style, normal);
    letter-spacing: var(--footer-name-letter-spacing, 1.5px);
    font-weight: var(--footer-name-font-weight, 400);
    text-transform: var(--footer-name-text-transform, none);
    line-height: var(--footer-name-line-height, 1.12);
    margin-bottom: 0.75rem;
}

.footer_message {
    font-family: var(--footer-message-font-family, var(--font-TitleH1));
    font-size: var(--footer-message-font-size, clamp(0.9rem, 3vw, 1.3rem));
    color: var(--footer-message-font-color, var(--color-text));
    font-style: var(--footer-message-font-style, italic);
    letter-spacing: var(--footer-message-letter-spacing, normal);
    font-weight: var(--footer-message-font-weight, 400);
    text-transform: var(--footer-message-text-transform, none);
    line-height: var(--footer-message-line-height, 1.6);
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.55;
}

/* ════════════════════════════════════════════════════════════════════════════
   17. AUDIO TOGGLE (mobile)
   ════════════════════════════════════════════════════════════════════════════ */
.audio-toggle {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 999;
    width: var(--touch-target);
    height: var(--touch-target);
    border-radius: 50%;
    border: 1px solid rgba(198, 167, 125, 0.15);
    background: rgba(247, 244, 239, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-gold);
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(42, 42, 42, 0.04);
    transition: transform 0.25s ease, background 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

#invitation-content.visible .audio-toggle {
    opacity: 1;
    pointer-events: auto;
}

.audio-toggle:active {
    transform: scale(0.92);
}

@media (hover: hover) {
    .audio-toggle:hover {
        transform: scale(1.06);
        background: var(--soft-gold);
        color: #fff;
    }
}

.audio-toggle .audio-icon {
    line-height: 1;
}

.audio-toggle .audio-label {
    display: none;
}

/* ════════════════════════════════════════════════════════════════════════════
   18. PARTICLES (desktop only — hidden on mobile for perf)
   ════════════════════════════════════════════════════════════════════════════ */
#particles-container {
    display: none;
}

/* ════════════════════════════════════════════════════════════════════════════
   19. CONTENT VISIBILITY
   ════════════════════════════════════════════════════════════════════════════ */
#invitation-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s var(--ease-out-expo);
}

#invitation-content.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ════════════════════════════════════════════════════════════════════════════
   20. REVEAL ANIMATIONS
   ════════════════════════════════════════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-reveal) var(--ease-out-expo),
        transform var(--duration-reveal) var(--ease-out-expo);
    will-change: transform, opacity;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-indicator {
        animation-duration: 2s !important;
    }

    .animate-zoom-in-out {
        animation-duration: 5s !important;
    }

    .seal-image {
        animation-duration: 5.5s !important;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }

    .fade-in {
        opacity: 1;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ─── ≥480px · PHONES LANDSCAPE / LARGE PHONES ───
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 480px) {
    :root {
        --container-px: 1.5rem;
        --section-py: 4rem;
        --font-size-body: 0.938rem;
    }

    .hero {
        min-height: 520px;
    }

    .galeria-wrapper {
        max-width: 460px;
        height: min(680px, 75vh);
    }

    .polaroid-gallery {
        max-width: 620px;
        padding: 1.5rem 0;
    }

    .custom-timeline {
        padding: 0 1rem;
    }

    .custom-timeline::before {
        left: 50%;
    }

    .timeline-event {
        display: flex;
        align-items: flex-start;
        margin-bottom: 2.5rem;
    }

    .timeline-event.left {
        flex-direction: row;
    }

    .timeline-event.right {
        flex-direction: row-reverse;
    }

    .event-content,
    .glass-effect {
        width: calc(50% - 2.5rem);
        padding: 1.5rem;
    }

    .timeline-event.right .event-content,
    .timeline-event.right .glass-effect {
        text-align: right;
    }

    .event-node {
        left: 50%;
        top: 1.8rem;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ─── ≥600px · TABLETS PORTRAIT ───
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
    :root {
        --section-py: 4.5rem;
        --font-size-body: 0.938rem;
    }

    .section-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
        margin-bottom: 1.25rem;
    }

    .hero {
        min-height: 560px;
    }

    .hero .section-title--top {
        top: 2rem;
    }

    .detail-card {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .card-content {
        padding: 1.75rem 1.5rem;
        flex: 1 1 100%;
    }

    .card-image {
        aspect-ratio: 16/9;
    }

    .gifts-grid {
        gap: 1.25rem;
    }

    .gift-card {
        flex: 1 1 180px;
    }

    .galeria-wrapper {
        max-width: 480px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ─── ≥768px · TABLETS LANDSCAPE / SMALL DESKTOP ───
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    :root {
        --section-py: 5.5rem;
        --container-px: 2rem;
        --font-size-body: 1rem;
    }

    .section-title {
        font-size: clamp(2.4rem, 4vw, 3.2rem);
    }

    .hero {
        min-height: 600px;
    }

    .details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .detail-card {
        display: block;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .card-content {
        padding: 2rem 1.75rem;
    }

    .card-image {
        aspect-ratio: 16/9;
    }

    .scroll-indicator {
        bottom: 2rem;
        height: 22px;
    }

    .galeria-wrapper {
        max-width: 500px;
    }

    .polaroid-gallery {
        max-width: 700px;
        padding: 2rem 1rem;
    }

    .polaroid-item {
        max-width: 220px;
    }

    .gifts-grid {
        gap: 1.5rem;
    }

    .gift-card {
        flex: 1 1 220px;
        max-width: 300px;
        padding: 1.75rem 1.5rem;
    }

    .gift-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(42, 42, 42, 0.04);
    }

    .divider-hero {
        height: 45vh;
        min-height: 300px;
        background-attachment: fixed;
    }

    .footer-section {
        padding: 5rem 0 3.5rem;
    }

    .splash-title h1 {
        font-size: clamp(3rem, 8vw, 4.5rem);
    }

    .btn-open {
        padding: 16px 48px;
        font-size: 0.75rem;
        letter-spacing: 4px;
    }

    .countdown-container {
        gap: clamp(1rem, 3vw, 2rem);
    }

    .countdown-item span:first-child {
        font-size: var(--savethedate-countdown-num-font-size, clamp(1.8rem, 4.5vw, 2.8rem));
    }

    .countdown-item {
        min-width: 50px;
    }

    .social-section {
        padding: 4rem 0;
    }

    #particles-container {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }

    .editorial-divider {
        margin: 2rem auto;
        max-width: 200px;
    }

    .editorial-divider .divider-diamond {
        width: 6px;
        height: 6px;
    }

    .editorial-divider {
        gap: 0.8rem;
    }

    .rsvp-modal-content {
        padding: 2.5rem 2rem;
    }

    .rsvp-form {
        gap: 1rem;
    }

    .custom-splash-envelope {
        width: 75vw;
        max-width: 500px;
    }

    .seal-image {
        width: 15vw;
        max-width: 100px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ─── ≥1024px · DESKTOP ───
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    :root {
        --section-py: 7rem;
        --container-px: 2rem;
    }

    .section-title {
        font-size: clamp(2.8rem, 3.5vw, 3.6rem);
        margin-bottom: 1.5rem;
    }

    .hero {
        min-height: 100vh;
    }

    .card-content {
        padding: 2.5rem 2rem;
    }

    .galeria-wrapper {
        max-width: 520px;
        height: min(700px, 72vh);
    }

    .polaroid-gallery {
        max-width: 780px;
        padding: 2rem 3rem;
    }

    .polaroid-item {
        max-width: 240px;
    }

    .footer-section {
        padding: 6rem 0 4rem;
    }

    .footer-section::before {
        width: 60px;
        margin: 0 auto 3rem;
    }

    .rsvp-form input,
    .rsvp-form select {
        padding: 16px 16px;
    }

    .rsvp-form button[type="submit"] {
        padding: 18px;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ─── ≥1280px · WIDE DESKTOP ───
   ════════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    :root {
        --section-py: 8rem;
    }

    .container {
        padding: 0 2rem;
    }

    .splash-title h1 {
        font-size: clamp(3.5rem, 6vw, 5rem);
    }

    .card-content {
        padding: 3rem 2.5rem;
    }
}