/* ==========================================================================
   GALERÍA EDITORIAL DE ALTA GAMA: SERGIO Y AIDE
   Paleta: Beige Orgánico, Lino, Crema, Acentos Oro Champaña y Espresso
   Diseño: Mobile-First, Tipografía Editorial y Experiencia Táctil Fluida
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & PALETA DE COLOR BEIGE
   -------------------------------------------------------------------------- */
:root {
    /* Paleta Principal Beige */
    --beige-50:  #FAF7F2;   /* Fondo general: Lino alabastro suave */
    --beige-100: #F4EFE6;   /* Fondo secundario: Crema francesa */
    --beige-200: #ECE4D6;   /* Superficies y tarjetas: Arena cálida */
    --beige-300: #DFD3C1;   /* Bordes sutiles y divisores finos */
    --beige-400: #C9B8A0;   /* Acentos neutros cálidos */
    --beige-500: #AF9A7F;   /* Taupe editorial */

    /* Contraste & Tipografía (Tinte Espresso para legibilidad máxima) */
    --text-primary:   #231D18; /* Espresso tostado profundo (Alto contraste) */
    --text-secondary: #574B40; /* Muted Taupe slate */
    --text-muted:     #85776A; /* Arcilla suave */
    --text-light:     #FAF7F2; /* Texto sobre fondos oscuros */

    /* Acentos Champaña & Oro Editorial */
    --gold-primary:   #C5A36B; /* Oro cepillado champaña */
    --gold-light:     #EADCC6; /* Oro pálido */
    --gold-dark:      #9E7E48; /* Bronce cálido */
    --gold-glow:      rgba(197, 163, 107, 0.28);
    --whatsapp-green: #25D366;

    /* Tipografías Editoriales */
    --font-serif:   'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-sans:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Sombras & Elevaciones Suaves */
    --shadow-subtle: 0 4px 20px -2px rgba(35, 29, 24, 0.05);
    --shadow-card:   0 14px 34px -8px rgba(35, 29, 24, 0.09);
    --shadow-hover:  0 22px 48px -10px rgba(35, 29, 24, 0.16);

    /* Radios */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.2s ease-out;
}

/* --------------------------------------------------------------------------
   2. RESET & ESTILOS BASE (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--beige-50);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--beige-50);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Selección de texto elegante */
::selection {
    background: var(--gold-light);
    color: var(--text-primary);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* --------------------------------------------------------------------------
   3. BOTÓN FLOTANTE COMPARTIR (HERO LIMPIO)
   -------------------------------------------------------------------------- */
.hero-floating-share {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 100;
}

.btn-floating-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(223, 211, 193, 0.7);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(35, 29, 24, 0.12);
    transition: var(--transition-snappy);
    cursor: pointer;
}

.btn-floating-circle:hover {
    background: var(--gold-primary);
    color: #fff;
    border-color: var(--gold-primary);
    transform: scale(1.08);
    box-shadow: 0 6px 24px var(--gold-glow);
}

.btn-floating-circle:active {
    transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (ENCUADRE COMPLETO DE AIDE & HERO LIMPIO)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Todo el contenido editorial abajo */
    overflow: hidden;
    padding: 24px 20px 48px;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    will-change: transform;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-image: url('images/hero.webp');
    background-position: center top; /* Asegura que la cabeza, rostro y cabello de Aide sean 100% visibles */
    background-repeat: no-repeat;
    background-size: cover;
}

/* Degradado inferior suave para contraste óptimo de textos sin tapar a la familia */
.hero-scrim-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(250, 247, 242, 0.98) 0%, rgba(250, 247, 242, 0.75) 45%, rgba(250, 247, 242, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Contenido inferior limpio: Aide y Sergio */
.hero-content-bottom {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 10px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 7.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 16px rgba(250, 247, 242, 0.9);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 3.2vw, 1.8rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.35;
}

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
}

.btn-hero-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-primary);
    color: var(--beige-50);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-hero-explore:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-hero-explore i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-hero-explore:hover i {
    transform: translateY(3px);
}

/* --------------------------------------------------------------------------
   5. SECCIÓN INTRODUCCIÓN / PRÓLOGO EDITORIAL
   -------------------------------------------------------------------------- */
.prologue-section {
    padding: 60px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.editorial-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 24px;
    max-width: 240px;
}

.editorial-divider::before,
.editorial-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
}

.editorial-divider-icon {
    color: var(--gold-primary);
    font-size: 0.9rem;
}

.prologue-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-dark);
    margin-bottom: 12px;
    display: block;
}

.prologue-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.prologue-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 32px;
}

/* Tarjetas resumen de las 3 partes */
.summary-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
}

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

.summary-card {
    background: var(--beige-100);
    border: 1px solid var(--beige-300);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    transition: var(--transition-smooth);
    text-align: center;
}

.summary-card:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-card);
}

.summary-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.summary-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.summary-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   6. SECCIONES DE GALERÍA INDIVIDUALES (CARGA PROGRESIVA BAJO DEMANDA)
   -------------------------------------------------------------------------- */
.gallery-chapter-section {
    padding: 50px 0 60px;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 520px;
}

.gallery-chapter-section:nth-child(even) {
    background: var(--beige-100);
    border-top: 1px solid var(--beige-300);
    border-bottom: 1px solid var(--beige-300);
}

.chapter-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .chapter-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.chapter-title-group {
    max-width: 650px;
}

.chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
    margin-bottom: 6px;
}

.chapter-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4.8vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.chapter-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Controles de Swiper: Play/Pause, Flechas, Contador */
.chapter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
}

@media (min-width: 768px) {
    .chapter-controls {
        align-self: flex-end;
    }
}

.btn-ctrl {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--beige-200);
    border: 1px solid var(--beige-300);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition-snappy);
    box-shadow: var(--shadow-subtle);
}

.btn-ctrl:hover {
    background: var(--gold-primary);
    color: #fff;
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

.btn-ctrl:active {
    transform: scale(0.95);
}

/* Swiper Container: Optimizado para scroll nativo fluido */
.swiper-editorial {
    width: 100%;
    padding: 10px 0 32px !important;
    touch-action: pan-y !important; /* Vital: Permite desplazamiento vertical a 120fps sin bloquear */
}

/* Placeholder de carga ligera mientras se desplaza hacia la sección */
.swiper-loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 320px;
    width: 100%;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.spinner-mini {
    width: 20px;
    height: 20px;
    border: 2px solid var(--beige-300);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spinMini 0.8s linear infinite;
}

@keyframes spinMini {
    to { transform: rotate(360deg); }
}

.swiper-slide {
    width: 82vw; /* Mobile-First */
    max-width: 380px;
    /* Sin transiciones de transform para no interferir con los gestos táctiles de Swiper */
}

@media (min-width: 640px) {
    .swiper-slide {
        width: 320px;
    }
}

@media (min-width: 1024px) {
    .swiper-slide {
        width: 360px;
    }
}

/* Tarjeta individual de fotografía */
.photo-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--beige-300);
    user-select: none;
    aspect-ratio: 2 / 3;
    contain: paint; /* Aísla el repintado en el hilo de render */
}

@media (hover: hover) {
    .photo-card {
        transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    }
    .photo-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-hover);
        border-color: var(--gold-primary);
    }
}

.photo-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--beige-200);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-card:hover img {
    transform: scale(1.06);
}

/* Overlay de acciones elegantes */
.photo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(35, 29, 24, 0.88) 0%, rgba(35, 29, 24, 0.2) 50%, rgba(35, 29, 24, 0.4) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    transition: opacity 0.35s ease;
    z-index: 5;
}

/* En dispositivos táctiles siempre mantenemos accesibles los botones o con toque suave */
@media (hover: hover) {
    .photo-card:hover .photo-card-overlay {
        opacity: 1;
    }
}

@media (hover: none) {
    .photo-card .photo-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(35, 29, 24, 0.75) 0%, transparent 40%);
    }
}

.overlay-top-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--beige-50);
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.overlay-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.btn-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition-snappy);
    cursor: pointer;
}

.btn-card-zoom {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-primary);
    backdrop-filter: blur(6px);
}

.btn-card-zoom:hover {
    background: #fff;
    color: var(--gold-dark);
    transform: scale(1.04);
}

.btn-card-download {
    background: var(--gold-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-card-download:hover {
    background: var(--gold-dark);
    transform: scale(1.04);
}

/* Paginación Swiper Editorial */
.swiper-pagination-editorial {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
}

.swiper-pagination-editorial .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--beige-400);
    opacity: 0.6;
    transition: var(--transition-snappy);
    border-radius: var(--radius-full);
}

.swiper-pagination-editorial .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--gold-primary);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   7. FOOTER MEMORABLE: FOTO HERO EN BLANCO Y NEGRO & POEMA MATERNAL
   -------------------------------------------------------------------------- */
.footer-editorial {
    position: relative;
    background: #181412;
    color: var(--beige-50);
    overflow: hidden;
    padding: 90px 20px 40px;
}

.footer-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.webp');
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
    /* REQUISITO ESTRICTO: Foto del hero en blanco y negro */
    filter: grayscale(100%) contrast(1.2) brightness(0.28);
    -webkit-filter: grayscale(100%) contrast(1.2) brightness(0.28);
    transform: scale(1.04);
    z-index: 1;
}

.footer-overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(24, 20, 18, 0.75) 0%, rgba(24, 20, 18, 0.96) 100%);
    z-index: 2;
}

.footer-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5.5vw, 3.4rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-divider-ornament {
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-bottom: 30px;
}

/* Caja del poema alusivo a la espera del hijo */
.footer-poem-box {
    background: rgba(35, 29, 24, 0.65);
    border: 1px solid rgba(197, 163, 107, 0.35);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    margin-bottom: 45px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-poem-box {
        padding: 48px 42px;
    }
}

.poem-strophe-intro {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    line-height: 1.45;
    color: var(--gold-light);
    margin-bottom: 22px;
}

.poem-body-text {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.8;
    color: #D6CEC5;
    margin-bottom: 18px;
    font-weight: 300;
}

.poem-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(197, 163, 107, 0.25);
}

.sig-names {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 0.08em;
    display: block;
}

.sig-desc {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-top: 4px;
}

/* Tarjeta CTA WhatsApp (Estilo Glassmorphic con pulso dorado) */
.footer-cta-card {
    background: rgba(45, 37, 31, 0.75);
    border: 1px solid rgba(197, 163, 107, 0.4);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    margin-bottom: 45px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

@media (min-width: 768px) {
    .footer-cta-card {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 28px 34px;
    }
}

.footer-cta-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.cta-info h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 4px;
}

.cta-info p {
    font-size: 0.85rem;
    color: #C0B4A6;
}

.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp-green);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: var(--transition-smooth);
    animation: pulseGlow 2.5s infinite;
    white-space: nowrap;
}

.btn-whatsapp-premium:hover {
    background: #1eb956;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Bottom Credits */
.footer-bottom-bar {
    border-top: 1px solid rgba(223, 211, 193, 0.15);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 0.8rem;
    color: #8C8074;
}

@media (min-width: 640px) {
    .footer-bottom-bar {
        flex-direction: row;
        justify-content: space-between;
    }
}

.btn-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-snappy);
}

.btn-back-to-top:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. PERSONALIZACIONES LIGHTGALLERY (DESCARGA CLARA & ESTÉTICA EDITORIAL)
   -------------------------------------------------------------------------- */
.lg-backdrop {
    background-color: rgba(18, 14, 12, 0.96) !important;
    backdrop-filter: blur(14px) !important;
}

.lg-toolbar {
    background: linear-gradient(to bottom, rgba(18, 14, 12, 0.85) 0%, transparent 100%) !important;
    padding: 10px 14px !important;
}

/* Botón de descarga destacado en el Lightbox */
.lg-toolbar .lg-download {
    color: var(--gold-light) !important;
    font-size: 20px !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-snappy) !important;
}

.lg-toolbar .lg-download:hover {
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* Botón flotante móvil de descarga dentro del Lightbox */
.lg-custom-download-floating {
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-snappy);
}

.lg-custom-download-floating:hover {
    background: var(--gold-dark);
    transform: translateX(-50%) translateY(-2px);
}

/* Thumbnails de LightGallery */
.lg-thumb-outer {
    background-color: rgba(18, 14, 12, 0.95) !important;
    border-top: 1px solid rgba(197, 163, 107, 0.25) !important;
}

.lg-thumb-item {
    border-radius: 6px !important;
    border: 2px solid transparent !important;
    transition: var(--transition-snappy) !important;
}

.lg-thumb-item.active,
.lg-thumb-item:hover {
    border-color: var(--gold-primary) !important;
}

/* --------------------------------------------------------------------------
   9. NOTIFICACIÓN TOAST (DESCARGAS, COPIADO, ACCIONES)
   -------------------------------------------------------------------------- */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--text-primary);
    color: var(--beige-50);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--gold-primary);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notice i {
    color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   10. ANIMACIONES DE SCROLL FLUIDAS (CERO BRINCOS DE LAYOUT)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
    opacity: 0;
    transition: opacity 0.45s ease;
    will-change: opacity;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
}
