:root {
    --green-dark: #3f4200;
    --green-base: #5D5C00;
    --green-sage: #e8eae1;
    --green-muted: #B6B27C;
    --green-olive: #B5B063;
    --burgundy-deep: #44121B;
    --burgundy-medium: #7C3341;
    --burgundy-dark: #5A1924;
    --bg-lino: #faf8f5;
    --text-dark: #2b2625;
    --text-muted: #665a58;
    --white: #ffffff;
    --border-olive: rgba(181, 176, 99, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-lino);
    color: var(--text-dark);
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
    overflow-x: hidden;
    line-height: 1.6;
}

/* TOAST LUXURY */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--burgundy-deep); color: var(--white); padding: 14px 30px; border-radius: 2px;
    font-size: 0.8rem; letter-spacing: 2.5px; text-transform: uppercase;
    box-shadow: 0 15px 35px rgba(68,18,27,0.35); z-index: 9999; opacity: 0; 
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none;
    border: 1px solid var(--green-olive); display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* INTRO CINEMATOGRÁFICA */
#contenedor-principal {
    position: fixed; inset: 0; z-index: 5000; background: var(--burgundy-deep);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
#videoSobre { width: 100%; height: 100%; object-fit: cover; display: none; }
#imgSobreEstetica { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: opacity 0.6s ease; }
#capa-boton { position: absolute; bottom: 55px; left: 50%; transform: translateX(-50%); z-index: 5001; width: 90%; max-width: 320px; }
.boton-editorial-inicio {
    background: rgba(250, 248, 245, 0.95); color: var(--burgundy-deep); padding: 16px 28px; border-radius: 2px;
    font-family: 'Cormorant Garamond', serif; font-size: 0.9rem; letter-spacing: 3px; font-weight: 600;
    text-transform: uppercase; box-shadow: 0 12px 30px rgba(0,0,0,0.4); border: 1px solid var(--green-olive);
    transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.boton-editorial-inicio:hover { background: var(--white); transform: scale(1.02); }

/* CONTROL FLOTANTE MÚSICA */
.music-btn {
    position: fixed; bottom: 22px; right: 22px; width: 48px; height: 48px;
    background: var(--burgundy-deep); color: var(--white); border: 1px solid var(--green-olive); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; z-index: 4999; cursor: pointer;
    box-shadow: 0 8px 20px rgba(68,18,27,0.3); display: none; transition: transform 0.3s;
}
.music-btn:hover { transform: scale(1.08); }

/* WRAPPER MOBILE */
.editorial-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-lino);
    position: relative;
    box-shadow: 0 0 60px rgba(68,18,27,0.08);
}

.oculto { display: none !important; }

/* TIPOGRAFÍA */
.title-script { font-family: 'Pinyon Script', cursive; font-size: clamp(3.2rem, 10vw, 4.2rem); color: var(--burgundy-deep); line-height: 1.15; }
.title-editorial { font-size: clamp(1.8rem, 6vw, 2.2rem); font-weight: 600; color: var(--burgundy-deep); letter-spacing: 2.5px; text-transform: uppercase; }
.sub-editorial { font-size: clamp(1rem, 3.5vw, 1.15rem); font-style: italic; color: var(--green-base); line-height: 1.6; }

/* SECCIONES EDITORIALES CON BLOQUES OLIVA OPCIONALES */
section { padding: 65px 25px; border-bottom: 1px solid var(--border-olive); position: relative; }
section.olive-tint { background: var(--green-sage); border-color: rgba(93,92,0,0.15); }

/* PORTADA HERO (foto1.png) */
.hero-cover {
    height: 94vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 25px;
    background-size: cover;
    background-position: center;
    color: var(--white);
}
.hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(68,18,27,0.88) 0%, rgba(68,18,27,0.2) 55%, transparent 85%);
}
.hero-content { position: relative; z-index: 2; }
.hero-title { font-family: 'Pinyon Script', cursive; font-size: clamp(3.8rem, 12vw, 4.8rem); color: var(--white); text-shadow: 0 4px 15px rgba(0,0,0,0.35); }
.hero-date { font-size: 0.8rem; letter-spacing: 5px; text-transform: uppercase; color: var(--green-olive); margin-top: 10px; font-weight: 600; }

/* PASE VIP DINÁMICO */
.vip-badge {
    background: var(--white); border: 1px solid var(--green-olive); padding: 16px 22px;
    margin: -30px 25px 35px 25px; border-radius: 2px; position: relative; z-index: 10;
    box-shadow: 0 10px 30px rgba(93,92,0,0.1);
}
.vip-badge span { font-size: 0.7rem; letter-spacing: 2.5px; color: var(--green-base); text-transform: uppercase; display: block; }
.vip-badge strong { font-size: 1.35rem; color: var(--burgundy-deep); display: block; margin-top: 4px; font-weight: 600; }

/* DIVISOR Y PADRES */
.line-divider { width: 40px; height: 1.5px; background: var(--green-olive); margin: 0 auto 22px auto; }
.parents-box { margin: 24px 0; font-size: 1rem; line-height: 1.9; border-left: 1.5px solid var(--green-olive); padding-left: 18px; display: inline-block; text-align: left; }
.names-pinyon-block { margin-top: 32px; padding-top: 22px; border-top: 1.5px dashed var(--border-olive); }
.names-pinyon { font-family: 'Pinyon Script', cursive; font-size: 2.7rem; color: var(--burgundy-deep); line-height: 1.2; }
.names-sub { font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; letter-spacing: 3px; color: var(--green-base); text-transform: uppercase; margin-top: 4px; }

/* CARRUSEL DE FOTOS */
.carousel-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 15px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.carousel-container::-webkit-scrollbar { display: none; }
.carousel-item {
    flex: 0 0 250px;
    height: 350px;
    scroll-snap-align: center;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(68,18,27,0.15);
    border: 1px solid var(--border-olive);
    transition: transform 0.4s ease;
}
.carousel-item:hover { transform: scale(1.015); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }

/* SAVE THE DATE 3 CÍRCULOS */
.circles-grid { display: flex; justify-content: center; gap: 18px; margin: 30px 0; }
.circle-btn {
    width: 74px; height: 74px; border-radius: 50%; border: 1.5px solid var(--green-base);
    background: var(--white); color: var(--burgundy-deep); font-family: 'Cormorant Garamond', serif;
    font-weight: 600; font-size: 1.1rem; cursor: pointer; 
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s, color 0.4s, border-color 0.4s;
    box-shadow: 0 8px 25px rgba(93,92,0,0.15); text-transform: uppercase;
}
.circle-btn.revealed { background: var(--burgundy-deep); border-color: var(--green-muted); color: var(--white); transform: rotateY(360deg) scale(1.05); }

.revealed-date-container { opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.8s ease, max-height 0.8s ease; }
.revealed-date-container.show-revealed { opacity: 1; max-height: 600px; margin-top: 25px; }
.day-text { font-size: 1.5rem; font-weight: 600; color: var(--burgundy-deep); margin: 15px 0 22px 0; letter-spacing: 1.5px; }

.countdown-grid { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.timer-box { 
    background: var(--white); border: 1px solid var(--border-olive); padding: 14px 10px; 
    border-radius: 2px; min-width: 74px; box-shadow: 0 8px 20px rgba(68,18,27,0.06); 
    transition: transform 0.3s;
}
.timer-box:hover { transform: translateY(-3px); }
.timer-box span { font-size: 1.6rem; font-weight: 600; color: var(--burgundy-deep); display: block; }
.timer-box small { font-size: 0.65rem; color: var(--green-base); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; display: block; font-weight: 600; }

/* POLAROID PARA CRONOGRAMA */
.polaroid-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 30px; }
.polaroid-card {
    background: var(--white);
    padding: 16px 16px 32px 16px;
    box-shadow: 0 15px 40px rgba(68,18,27,0.1);
    border: 1px solid var(--green-olive);
    transform: rotate(-0.8deg);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    position: relative;
}
.polaroid-card:nth-child(even) { transform: rotate(1deg); }
.polaroid-card:hover { transform: translateY(-4px) rotate(0deg); box-shadow: 0 22px 48px rgba(68,18,27,0.16); }
.polaroid-img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 14px; filter: contrast(1.03) sepia(6%); border: 1px solid rgba(0,0,0,0.05); }
.polaroid-time { font-size: 1.15rem; font-weight: 600; color: var(--green-base); letter-spacing: 1.5px; text-transform: uppercase; }
.polaroid-label { font-size: 1.1rem; color: var(--burgundy-deep); margin-top: 4px; font-weight: 600; }

/* UBICACIONES */
.location-clean { margin: 30px 0; }
.location-divider { margin-top: 40px; padding-top: 30px; border-top: 1px dashed var(--border-olive); }
.location-icon { width: 50px; height: 50px; background: var(--green-sage); border: 1.5px solid var(--green-olive); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px auto; color: var(--green-base); font-size: 1.2rem; }

.btn-editorial {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; background: var(--burgundy-deep); color: var(--white);
    text-decoration: none; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
    border-radius: 2px; transition: all 0.3s; margin: 4px; border: 1px solid var(--green-olive);
    font-weight: 600;
}
.btn-editorial:hover { background: var(--burgundy-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(68,18,27,0.25); }
.btn-editorial.olive { background: var(--green-base); border-color: var(--green-muted); color: var(--white); }
.btn-editorial.olive:hover { background: var(--green-dark); }

/* ACORDEÓN FAQ */
.faq-editorial { text-align: left; margin-top: 25px; }
.faq-item-clean { border-bottom: 1px solid var(--border-olive); padding: 18px 0; cursor: pointer; transition: background 0.3s; }
.faq-question-clean { display: flex; justify-content: space-between; align-items: center; font-size: 1.15rem; font-weight: 600; color: var(--burgundy-deep); }
.faq-question-clean i { font-size: 0.75rem; color: var(--green-base); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-answer-clean { max-height: 0; overflow: hidden; opacity: 0; font-size: 0.98rem; color: var(--text-muted); line-height: 1.6; transition: all 0.45s ease-in-out; }
.faq-item-clean.active .faq-answer-clean { max-height: 200px; opacity: 1; margin-top: 10px; }
.faq-item-clean.active .faq-question-clean i { transform: rotate(180deg); color: var(--burgundy-deep); }

/* SUGERENCIA DE REGALO */
.gift-card-luxury {
    background: var(--white); border: 1.5px solid var(--green-olive); border-radius: 2px;
    padding: 35px 24px; margin-top: 28px; box-shadow: 0 15px 40px rgba(93,92,0,0.1);
    text-align: left; position: relative; background-image: radial-gradient(circle at top right, rgba(181,176,99,0.15), transparent 70%);
}
.gift-tag-top {
    position: absolute; top: -11px; left: 24px; background: var(--green-sage); border: 1px solid var(--green-olive);
    padding: 2px 12px; font-size: 0.7rem; color: var(--green-dark); letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
}

/* DOTS DRESS CODE */
.palette-dots { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--green-olive); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }

/* CIERRE ROMÁNTICO */
.closing-section {
    background: linear-gradient(to bottom, var(--green-sage), rgba(250, 248, 245, 0));
    padding: 75px 25px 55px 25px; border-bottom: none;
}
.closing-script { font-family: 'Pinyon Script', cursive; font-size: clamp(3.2rem, 10vw, 4rem); color: var(--burgundy-deep); line-height: 1.1; }

footer { padding: 35px 20px; font-size: 0.72rem; letter-spacing: 3.5px; color: var(--burgundy-deep); text-transform: uppercase; opacity: 0.85; }

/* ANIMACIONES REVEAL SCROLL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.mt-20 { margin-top: 20px; }
.mt-25 { margin-top: 25px; }