/* ===========================================
   DANIELA & VALENTINO — DESIGN SYSTEM
   Paleta toscana: olivos, crema, dorado
   =========================================== */

/* --- Variables --- */
:root {
    /* Palette from Stitch (Forest, Olive, Taupe, Cream) */
    --primary: #4B5335;
    --forest: #323824;
    --olive-darkest: #3E442B;
    --olive-dark: #4B5335;
    --olive-deep: #4A5C2A;
    --taupe-wedding: #A69B8F;
    --sand-wedding: #C6B9AD;
    --cream-light: #F2F2E2;
    --background-light: #f7f8f6;
    --white: #FFFFFF;

    /* Missing Wedding Variables */
    --gold: #C9A84C;
    --gold-dark: #A68A3E;
    --linen: #F5F0E8;
    --cream: #FAF9F6;
    --cream-dark: #E6E2D3;
    --olive: #4B5335;
    --olive-bg: #2C3B1A;
    --olive-pale: #D9E1C6;
    --text-dark: #2C3B1A;
    --text-mid: #55584D;
    --text-light: #8E9189;

    /* Design tokens */
    --font-primary: 'Playfair Display', serif;
    --font-serif: 'Noto Serif', serif;
    --font-sans: 'Lato', sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 48px;
    --transition: 0.4s cubic-bezier(.4, 0, .2, 1);

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--cream);
    color: var(--olive-darkest);
    overflow-x: hidden;
    line-height: 1.7;
}

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

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

button {
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: var(--font-sans);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    line-height: 1.2;
}

/* ═══════════════════════════════════════════
   NAVIGATION (Centered Logo)
   ═══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    transition: all var(--transition);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    background: var(--primary);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    padding: 0 2.5rem;
    border: 1px solid rgba(198, 185, 173, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.nav__links a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: rgba(242, 242, 226, 0.9);
    transition: color var(--transition);
}

.nav__links a:hover {
    color: var(--sand-wedding);
}

.nav__logo {
    display: none;
}

.nav__toggle {
    display: none;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../assets/images/hero.png?v=2");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--olive-deep) 0%, rgba(74, 92, 42, 0) 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
    width: 100%;
    animation: fadeUp 1.2s ease both;
}

.hero__glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: 6rem 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    max-width: 896px;
    margin: 0 auto;
    position: relative;
}

.hero__glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 128px;
    height: 128px;
    border-left: 2px solid rgba(166, 155, 143, 0.3);
    border-top: 2px solid rgba(166, 155, 143, 0.3);
    border-radius: var(--radius-xl) 0 0 0;
}

.hero__glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 128px;
    height: 128px;
    border-right: 2px solid rgba(166, 155, 143, 0.3);
    border-bottom: 2px solid rgba(166, 155, 143, 0.3);
    border-radius: 0 0 var(--radius-xl) 0;
}

.hero__pre {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.65rem;
    color: var(--forest);
    letter-spacing: 0.6em;
    margin-bottom: 1.5rem;
    font-weight: 700;
    opacity: 0.7;
}

.hero__names {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    color: var(--forest);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: var(--font-primary);
}

.hero__decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.hero__line {
    height: 1px;
    width: 80px;
    background: rgba(166, 155, 143, 0.6);
}

.hero__date {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--forest);
    letter-spacing: normal;
    font-style: italic;
}

.hero__venue {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    letter-spacing: 0.2em;
    font-style: italic;
    color: var(--forest);
    margin-top: 1rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero__divider {
    display: none;
    /* Removed as requested/per Stitch reference */
}

.countdown {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(166, 155, 143, 0.3);
    border-bottom: 1px solid rgba(166, 155, 143, 0.3);
    width: 100%;
}

.countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown__num {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
}

.countdown__label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--forest);
    margin-top: 0.75rem;
    font-weight: 700;
}

.countdown__sep {
    display: none;
}

.countdown__sep {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--olive-darkest);
    opacity: 0.3;
}

/* Scroll arrow */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream);
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
    z-index: 2;
}

/* ═══════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════ */
.section {
    position: relative;
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.section__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section__badge {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.section__title--light {
    color: var(--cream);
}

.section__subtitle {
    text-align: center;
    color: var(--text-mid);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 3.5rem;
    line-height: 1.65;
}

.section__subtitle--light {
    color: var(--olive-pale);
}

/* ═══════════════════════════════════════════
   HISTORIA (Timeline)
   ═══════════════════════════════════════════ */
.historia {
    background: var(--linen);
}

.timeline-v3 {
    position: relative;
    padding: 6rem 0 4rem;
    /* More space to clear header and breathe */
    margin: 0;
    overflow: hidden;
    background: var(--linen);
}

.timeline-v3__nav {
    max-width: 1000px;
    margin: 0 auto 5rem;
    text-align: center;
    border-bottom: 2px solid rgba(198, 185, 173, 0.3);
    /* Soft Gold Line */
    padding-bottom: 3rem;
}

.timeline-v3__year-axis {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 2rem;
}

.timeline-v3__year-item {
    font-family: var(--font-serif);
    font-size: 5rem;
    /* Large and Editorial */
    font-weight: 700;
    color: #e0e0e0;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    line-height: 1;
}

.timeline-v3__year-item.active {
    color: var(--gold);
    transform: scale(1.15);
}

.timeline-v3__month-axis {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.timeline-v3__month-item {
    font-size: 1rem;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0.5rem;
    position: relative;
}

.timeline-v3__month-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.timeline-v3__month-item.active {
    color: var(--text-dark);
}

.timeline-v3__month-item.active::after {
    width: 100%;
}

.timeline-v3__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 15%;
    gap: 4rem;
    /* Reduced gap */
    scrollbar-width: none;
}

.timeline-v3__track::-webkit-scrollbar {
    display: none;
}

.timeline-v3__item {
    flex: 0 0 85%;
    max-width: 600px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .timeline-v3__item {
        flex: 0 0 45%;
    }
}

.timeline-v3__photo-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    /* Square format 1:1 */
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    /* Slightly more radius */
    cursor: pointer;
}

.timeline-v3__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}

.timeline-v3__item:hover .timeline-v3__img {
    transform: scale(1.1);
}

.timeline-v3__caption {
    text-align: center;
    max-width: 450px;
}

.timeline-v3__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.timeline-v3__desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #777;
    font-style: italic;
}

.timeline-h {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.timeline-h__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 1rem 4rem;
    scrollbar-width: none;
    /* Hide for Firefox */
    -ms-overflow-style: none;
    /* Hide for IE/Edge */
}

.timeline-h__track::-webkit-scrollbar {
    display: none;
    /* Hide for Chrome/Safari */
}

.timeline-h__item {
    flex: 0 0 85%;
    max-width: 800px;
    scroll-snap-align: center;
    perspective: 1000px;
}

@media (min-width: 1024px) {
    .timeline-h__item {
        flex: 0 0 60%;
    }
}

.timeline-h__card {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: var(--cream-dark);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-h__item:hover .timeline-h__card {
    transform: scale(1.02);
}

.timeline-h__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

.timeline-h__item:hover .timeline-h__img {
    transform: scale(1.1);
}

.timeline-h__overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.timeline-h__item:nth-child(even) .timeline-h__overlay {
    background: rgba(75, 83, 53, 0.4);
    /* Subtle olive tint for variety */
}

.timeline-h__item:hover .timeline-h__overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Make overlay visible by default if scrolled to (optional enhancement) */
.timeline-h__item .timeline-h__overlay {
    opacity: 1;
    transform: translateY(0);
}

.timeline-h__year {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-h__event {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.timeline-h__text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
}

/* Nav styles */
.timeline-h__nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline-h__progress {
    position: relative;
    height: 2px;
    background: #e0e0e0;
    margin-bottom: 1.5rem;
}

.timeline-h__progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    background: var(--gold);
    transition: width 0.3s ease;
}

.timeline-h__years {
    display: flex;
    justify-content: space-between;
}

.timeline-h__year-nav {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-h__year-nav.active {
    color: var(--gold);
    transform: scale(1.2);
}

/* ═══════════════════════════════════════════
   DETALLES
   ═══════════════════════════════════════════ */
.detalles {
    background: var(--olive-bg);
    padding-top: 8rem;
    padding-bottom: 8rem;
    position: relative;
}

.detalles__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, #3D4F25 0%, #202b13 100%);
    opacity: 0.9;
}

.detalles__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.detalles__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    transition: all var(--transition);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.detalles__card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.detalles__card--wide {
    grid-column: 1/-1;
    flex-direction: column;
    padding: 4rem;
}

.detalles__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 50%;
    padding: 1rem;
    transition: transform var(--transition);
}

.detalles__card:hover .detalles__icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(201, 168, 76, 0.2);
}

.detalles__icon svg {
    width: 100%;
    height: 100%;
}

.detalles__card h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.detalles__time {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.detalles__card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.dress-swatches {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    cursor: help;
    transition: all var(--transition);
}

.swatch:hover {
    transform: scale(1.3);
    border-color: var(--white);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.map-container {
    width: 100%;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════
   GALERÍA
   ═══════════════════════════════════════════ */
.galeria {
    background: var(--cream);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.galeria__tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.galeria__tab {
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    border: 1px solid var(--cream-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-mid);
    background: var(--white);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.galeria__tab:hover,
.galeria__tab.active {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 59, 26, 0.2);
}

.galeria__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .galeria__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.galeria__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
    background: var(--linen);
}

.galeria__item.hidden {
    display: none;
}

.galeria__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.galeria__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(44, 59, 26, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.galeria__overlay span {
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-style: italic;
    transform: translateY(10px);
    transition: transform 0.5s ease;
}

.galeria__item:hover img {
    transform: scale(1.15);
}

.galeria__item:hover .galeria__overlay {
    opacity: 1;
}

.galeria__item:hover .galeria__overlay span {
    transform: translateY(0);
}

.galeria__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px dashed var(--cream-dark);
    border-radius: var(--radius-lg);
}

.galeria__placeholder p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.animate-in {
    animation: scaleIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ═══════════════════════════════════════════
   RSVP
   ═══════════════════════════════════════════ */
.rsvp {
    background: var(--linen);
}

.rsvp__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--linen) 60%, var(--cream-dark) 100%);
}

.rsvp__box {
    max-width: 540px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-dark);
    text-align: center;
}

.rsvp__box--success {
    border-color: var(--olive);
}

.rsvp__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rsvp__box h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.rsvp__box p {
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.rsvp__help {
    font-size: 0.8rem !important;
    margin-top: 1rem;
    margin-bottom: 0 !important;
}

.rsvp__help a {
    color: var(--olive);
    text-decoration: underline;
}

.rsvp__welcome {
    margin-bottom: 1.5rem;
}

.rsvp__confirmed-info {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-mid);
}

/* Guest selector */
.guests-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.guest-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--olive-light);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--olive);
    background: transparent;
    transition: all var(--transition);
}

.guest-btn:hover,
.guest-btn.selected {
    background: var(--olive);
    color: var(--cream);
    border-color: var(--olive);
}

/* ═══════════════════════════════════════════
   PARALLAX ILLUSTRATIONS
   ═══════════════════════════════════════════ */
.parallax-bg {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
    mix-blend-mode: multiply;
    transition: transform 0.2s ease-out;
}

.parallax-bg--olivo-1 {
    width: 350px;
    top: 10%;
    left: -100px;
}

.parallax-bg--olivo-2 {
    width: 400px;
    top: 40%;
    right: -150px;
    transform: rotate(180deg);
}

.parallax-bg--olivo-3 {
    width: 300px;
    bottom: 5%;
    left: -50px;
}

/* ═══════════════════════════════════════════
   PLAYLIST (Refined Design)
   ═══════════════════════════════════════════ */
.playlist {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.playlist__search-box {
    max-width: 600px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 5;
}

.playlist__search-inner {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all var(--transition);
}

.playlist__search-inner:focus-within {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.playlist__search-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.playlist__search-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--olive);
    outline: none;
}

.playlist__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.playlist__col-title {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--olive);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.track-art {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--olive-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.track-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.track-info {
    flex: 1;
}

.track-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.track-info span {
    font-size: 0.78rem;
    color: var(--text-light);
}

.track-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--olive);
    color: var(--olive);
    font-size: 1.2rem;
    line-height: 1;
    transition: all var(--transition);
}

.track-add-btn:hover {
    background: var(--olive);
    color: var(--cream);
}

.track-add-btn.added {
    background: var(--gold);
    color: var(--cream);
    border-color: var(--gold);
}

.playlist__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.playlist__list::-webkit-scrollbar {
    width: 4px;
}

.playlist__list::-webkit-scrollbar-track {
    background: var(--cream);
    border-radius: 4px;
}

.playlist__list::-webkit-scrollbar-thumb {
    background: var(--olive-light);
    border-radius: 4px;
}

/* refined playlist layouts */
.playlist__popular-carousel {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;
}

.playlist__popular-carousel::-webkit-scrollbar {
    display: none;
}

.artist-card {
    flex: 0 0 120px;
    text-align: center;
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-card__img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    padding: 4px;
    border: 2px solid var(--gold);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.artist-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.artist-card h4 {
    font-size: 0.85rem;
    color: var(--olive);
    font-weight: 600;
}

/* Glassmorphism refined list items */
.playlist__item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.playlist__item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.track-suggested-by {
    font-size: 0.7rem;
    color: var(--gold);
    font-style: italic;
    margin-top: 0.2rem;
    display: block;
}

.playlist__count {
    font-size: 0.9rem;
    background: var(--gold-pale);
    color: var(--olive-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

.playlist__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    border: 1px dashed var(--olive-light);
}

.playlist__empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.playlist__msg {
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--olive);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ═══════════════════════════════════════════
   MENSAJES (GUESTBOOK)
   ═══════════════════════════════════════════ */
.mensajes {
    background: var(--olive-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mensajes__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(138, 154, 91, 0.2), transparent),
        radial-gradient(circle at bottom left, rgba(74, 92, 42, 0.3), transparent);
    pointer-events: none;
}

.mensajes__cols {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.mensajes__form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mensajes__feed-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mensajes__feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-height: 700px;
    overflow-y: auto;
    padding: 1rem;
    padding-right: 1.5rem;
}

.mensajes__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 2rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mensajes__card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
}

.mensajes__card-quote {
    font-size: 2rem;
    color: var(--gold-light);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -1rem;
}

.mensajes__card-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--olive-pale);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.mensajes__card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mensajes__card-autor {
    font-weight: 500;
    color: var(--gold-light);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.mensajes__card-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════
   REGALOS (GIFTS)
   ═══════════════════════════════════════════ */
.regalos {
    background: var(--cream);
    position: relative;
    padding: 8rem 0;
}

.regalos__card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 4rem;
    border-radius: 4px;
    /* Stationery style */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(138, 154, 91, 0.1);
    position: relative;
    text-align: center;
}

/* Luxury border effect */
.regalos__card::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid var(--gold-light);
    opacity: 0.5;
    pointer-events: none;
}

.regalos__wreath {
    width: 120px;
    margin: 0 auto 2rem;
    opacity: 0.8;
    mix-blend-mode: multiply;
}

.regalos__title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    color: var(--olive);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.regalos__info-item {
    margin-bottom: 2rem;
}

.regalos__label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.regalos__value {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
}

.regalos__account-box {
    background: var(--cream-dark);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.regalos__copy-btn {
    background: transparent;
    border: 1px solid var(--olive-light);
    color: var(--olive);
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
}

.regalos__copy-btn:hover {
    background: var(--olive);
    color: var(--white);
}

.regalos__copy-btn.copied {
    background: #4A5C2A;
    border-color: #4A5C2A;
    color: var(--white);
}

.regalos__banco {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.regalos__bank-icon {
    width: 56px;
    height: 56px;
}

.regalos__bank-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.regalos__cuenta-wrap {
    margin-bottom: 1rem;
}

.regalos__cuenta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.regalos__cuenta-num {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    background: var(--cream);
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.regalos__titular {
    font-size: 0.85rem;
    color: var(--text-mid);
}

.regalos__copied {
    color: var(--olive);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    animation: fadeUp 0.3s ease both;
}

/* ═══════════════════════════════════════════
   CHAT WIDGET (AI AGENT)
   ═══════════════════════════════════════════ */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--forest);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle:hover {
    transform: scale(1.1) translateY(-5px);
    background: var(--forest);
}

.chat-toggle svg {
    width: 28px;
    height: 28px;
}

.chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    height: 70vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--cream-dark);
}

.chat-panel.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
}

.chat-header {
    background: var(--forest);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-family: var(--font-primary);
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.chat-header span {
    font-size: 0.7rem;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

.chat-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-minimize,
.chat-close {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.chat-minimize svg {
    width: 18px;
    height: 18px;
}

.chat-minimize:hover,
.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--cream-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-msg--user {
    align-self: flex-end;
    background: var(--olive);
    color: var(--white);
    border-bottom-right-radius: 2px;
}

.chat-msg--bot {
    align-self: flex-start;
    background: var(--white);
    color: var(--text-dark);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-footer {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid var(--cream-dark);
}

.chat-form {
    display: flex;
    gap: 0.5rem;
}

.chat-form input {
    flex: 1;
    border: 1px solid var(--cream-dark);
    padding: 0.8rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
}

.chat-form button {
    background: var(--olive);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (max-width: 480px) {
    .chat-panel {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

/* ═══════════════════════════════════════════
   DJ TOAST NOTIFICATIONS
   ═══════════════════════════════════════════ */
.dj-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(45, 66, 45, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 300px;
}

.dj-toast.show {
    transform: translateX(-50%) translateY(0);
}

.dj-toast__icon {
    font-size: 1.5rem;
}

.dj-toast__content {
    display: flex;
    flex-direction: column;
}

.dj-toast__content strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--olive-light);
}

.dj-toast__content span {
    font-size: 0.95rem;
    font-style: italic;
}

/* ═══════════════════════════════════════════
   PARALLAX FLORALS (IMPOSING DETAILS)
   ═══════════════════════════════════════════ */
.parallax-floral {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    mix-blend-mode: multiply;
    transition: transform 0.1s ease-out;
}

.parallax-floral--left {
    left: -5%;
    width: 45%;
    max-width: 650px;
}

.parallax-floral--right {
    right: -5%;
    width: 45%;
    max-width: 650px;
}

.parallax-floral--top {
    top: -10%;
}

.parallax-floral--bottom {
    bottom: -10%;
}

@media (max-width: 960px) {
    .parallax-floral {
        width: 60%;
        opacity: 0.25;
    }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    background: var(--forest);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer__names {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-size: 4rem;
    letter-spacing: -2px;
}

.footer__date {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.footer__names span {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin: 1rem 0;
}

.footer__botanical-final {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    opacity: 0.15;
    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Badge & Icon Consistency */
.section__badge svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
    stroke-width: 1.5;
}

.detalles__icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.rsvp__icon svg {
    width: 64px;
    height: 64px;
    color: var(--olive);
    margin-bottom: 1.5rem;
    stroke-width: 1.5;
}

.playlist__empty-icon svg {
    width: 64px;
    height: 64px;
    color: var(--cream-dark);
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form__group {
    text-align: left;
}

.form__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.form__label--light {
    color: var(--olive-pale);
}

.form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--cream);
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form__input:focus {
    border-color: var(--olive);
    box-shadow: 0 0 0 3px rgba(106, 124, 69, .12);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.65;
}

.rsvp__error {
    color: #c0392b;
    background: #fdf0ef;
    border: 1px solid #f5c6c6;
    border-radius: var(--radius);
    padding: 0.75rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.rsvp__loading,
.playlist__loading,
.mensajes__loading {
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 0.75rem;
}

.form__feedback {
    border-radius: var(--radius);
    padding: 0.75rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form__feedback.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form__feedback.error {
    background: #fdf0ef;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}

.hidden {
    display: none !important;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    transition: all var(--transition);
    cursor: pointer;
}

.btn--olive {
    background-color: #4B5335 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(75, 83, 53, 0.4) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 1.5rem auto 0 !important;
    padding: 1.2rem 2rem !important;
    font-size: 1rem !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    position: relative !important;
    z-index: 10 !important;
}

.btn--olive:hover {
    background-color: #323824 !important;
    box-shadow: 0 15px 40px rgba(50, 56, 36, 0.5) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.btn--olive:disabled {
    opacity: 0.8 !important;
    cursor: wait !important;
    background-color: #4B5335 !important;
}

.btn--gold {
    background: var(--gold);
    color: var(--olive-bg);
    border: none;
}

.btn--gold:hover {
    background: var(--gold-dark);
    box-shadow: 0 6px 24px rgba(201, 168, 76, .4);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--olive-dark);
    border: 2px solid var(--olive-dark);
}

.btn--outline:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
}

.rsvp__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn--primary {
    background: var(--forest);
    color: var(--cream-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 1.25rem 4rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 9999px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
    background: var(--olive-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
}

.favorite-icon {
    font-style: normal;
    margin-left: 0.75rem;
    display: inline-block;
    transition: transform var(--transition);
}

.btn--primary:hover .favorite-icon {
    transform: scale(1.25);
}

.btn--copy {
    background: var(--cream);
    color: var(--olive);
    border: 1.5px solid var(--olive-light);
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

.btn--copy:hover {
    background: var(--olive);
    color: var(--cream);
}

/* ═══════════════════════════════════════════
   CHAT WIDGET
   ═══════════════════════════════════════════ */
.chat-widget {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 9999;
}

.chat-widget__toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--olive);
    color: var(--cream);
    box-shadow: 0 6px 24px rgba(44, 59, 26, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition);
}

.chat-widget__toggle:hover {
    background: var(--olive-dark);
    transform: scale(1.08);
}

.chat-widget__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--olive-bg);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget__panel {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 340px;
    max-height: 480px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: chatOpen 0.3s ease both;
}

.chat-widget__header {
    background: var(--olive);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-widget__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(245, 240, 232, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.chat-widget__header div {
    flex: 1;
}

.chat-widget__header strong {
    display: block;
    color: var(--cream);
    font-size: 0.9rem;
}

.chat-widget__header span {
    font-size: 0.75rem;
    color: var(--olive-pale);
}

.chat-widget__close {
    color: var(--olive-pale);
    font-size: 1.1rem;
    transition: color var(--transition);
}

.chat-widget__close:hover {
    color: var(--cream);
}

.chat-widget__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-widget__messages::-webkit-scrollbar {
    width: 4px;
}

.chat-widget__messages::-webkit-scrollbar-track {
    background: var(--cream);
}

.chat-widget__messages::-webkit-scrollbar-thumb {
    background: var(--olive-light);
    border-radius: 4px;
}

.chat-msg {
    max-width: 85%;
}

.chat-msg--bot {
    background: var(--cream);
    border-radius: 0 var(--radius) var(--radius) var(--radius);
    padding: 0.75rem 1rem;
}

.chat-msg--user {
    background: var(--olive);
    color: var(--cream);
    border-radius: var(--radius) 0 var(--radius) var(--radius);
    padding: 0.75rem 1rem;
    align-self: flex-end;
}

.chat-msg p {
    font-size: 0.88rem;
    line-height: 1.55;
}

.chat-msg--bot p {
    color: var(--text-dark);
}

.chat-widget__input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--cream-dark);
}

.chat-widget__input {
    flex: 1;
    border: 1.5px solid var(--cream-dark);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    background: var(--cream);
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition);
}

.chat-widget__input:focus {
    border-color: var(--olive);
}

.chat-widget__send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--olive);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.chat-widget__send:hover {
    background: var(--olive-dark);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

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

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

@keyframes chatOpen {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(8px);
        transform-origin: bottom right;
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes trackIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════ */
@media (max-width: 960px) {
    .detalles__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .detalles__card--wide {
        grid-column: 1/-1;
    }

    .playlist__cols {
        grid-template-columns: 1fr;
    }

    .mensajes__cols {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 1.5rem;
    }

    .timeline__item--left,
    .timeline__item--right {
        justify-content: flex-start;
        padding-left: 4.5rem;
        padding-right: 0;
    }

    .timeline__dot {
        left: 1.5rem;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 0 1rem;
    }

    .nav__inner {
        height: 60px;
    }

    .nav__links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--olive-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav__links.open {
        clip-path: circle(150% at top right);
    }

    .nav__toggle {
        display: flex;
    }

    .detalles__cards {
        grid-template-columns: 1fr;
    }

    .galeria__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero__names {
        font-size: 3.5rem;
    }

    .hero__glass {
        padding: 1.5rem;
        border-radius: 16px;
        margin: 0 1rem;
    }
}

/* ═══════════════════════════════════════════
   LIGHTBOX / PASARELA
   ═══════════════════════════════════════════ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
    /* Click background to close hint */
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    /* Don't show zoom-out on the image itself unless desired */
}

.lightbox__img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10001;
    transition: background 0.3s;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 3rem;
    z-index: 10001;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev {
    left: 30px;
}

.lightbox__nav--next {
    right: 30px;
}

@media (max-width: 768px) {
    .lightbox__nav {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.4);
    }

    .lightbox__nav--prev {
        left: 10px;
    }

    .lightbox__nav--next {
        right: 10px;
    }

    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox__content {
        max-width: 95vw;
    }
}
/* FORCE PLAYLIST CAROUSEL LAYOUT */
.playlist__popular-carousel {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 1.5rem !important;
    padding: 1rem 0.5rem 2rem !important;
    width: 100% !important;
}

.artist-card {
    flex: 0 0 120px !important;
    cursor: pointer !important;
}

.artist-card__img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid #C9A84C !important;
}

.artist-card__img img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* DJ TOAST / FEEDBACK */
.dj-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4B5335;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    width: max-content;
    max-width: 90vw;
}

.dj-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.dj-toast__icon {
    font-size: 1.5rem;
    background: #C9A84C;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dj-toast__content {
    display: flex;
    flex-direction: column;
}

.dj-toast__content strong {
    font-size: 0.8rem;
    color: #C9A84C;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.dj-toast__content span {
    font-size: 1rem;
    font-family: var(--font-primary);
}

/* SEARCH LIST FEEDBACK */
.playlist__item.animate-in {
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

