/* ============================================================
   La Casa Azul - Estilos principales
   Colores: Azul #1B3A6B / Amarillo #FFD233 / Ámbar #E8A020
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Nunito:wght@400;600;700;800&family=Sacramento&display=swap');

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    color: #2B2B2B;
    background: #FFF9E6;
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── CSS VARIABLES ─────────────────────────────────────── */
:root {
    --azul-oscuro: #1B3A6B;
    --azul-medio: #2D5AA0;
    --azul-claro: #4A90D9;
    --amarillo: #FFD233;
    --amarillo-claro: #FFEA80;
    --dorado: #FFC107;
    --ambar: #E8A020;
    --ambar-claro: #F5C96A;
    --crema: #FFF9E6;
    --blanco: #FFFFFF;
    --texto: #2B2B2B;
    --texto-light: #5A5A5A;
    --sombra: 0 8px 32px rgba(27,58,107,0.12);
    --sombra-hover: 0 12px 40px rgba(27,58,107,0.2);
    --radius: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 3px solid var(--amarillo);
    padding: 0 2rem;
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(27,58,107,0.1); }
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 48px; width: auto; transition: var(--transition); }
.nav-logo:hover img { transform: scale(1.05) rotate(-2deg); }
.nav-logo span {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--azul-oscuro);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
    padding: 7px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--azul-oscuro);
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
    background: var(--amarillo);
    color: var(--azul-oscuro);
    transform: translateY(-1px);
}
.nav-links .btn-cta {
    background: var(--azul-oscuro);
    color: var(--blanco);
    padding: 9px 20px;
}
.nav-links .btn-cta:hover {
    background: var(--azul-medio);
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27,58,107,0.3);
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { width: 26px; height: 3px; background: var(--azul-oscuro); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--azul-oscuro) 0%, #1a2f55 50%, #162847 100%);
    padding: 100px 2rem 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255,210,51,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(74,144,217,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    width: 100%;
}
.hero-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 8px 32px rgba(255,210,51,0.3));
    animation: heroLogoIn 1s ease-out both;
}
@keyframes heroLogoIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--blanco);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    animation: fadeUp 0.8s 0.2s ease-out both;
}
.hero h1 .accent { color: var(--amarillo); }
.hero-tagline {
    font-family: 'Sacramento', cursive;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--amarillo);
    margin-bottom: 1rem;
    animation: fadeUp 0.8s 0.4s ease-out both;
}
.hero-desc {
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    animation: fadeUp 0.8s 0.6s ease-out both;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.8s ease-out both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.btn-primary {
    background: var(--amarillo);
    color: var(--azul-oscuro);
    box-shadow: 0 4px 20px rgba(255,210,51,0.4);
}
.btn-primary:hover {
    background: var(--dorado);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,210,51,0.5);
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}
.btn-kuchen-hero {
    background: var(--ambar);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,160,32,0.4);
}
.btn-kuchen-hero:hover {
    background: #c98918;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232,160,32,0.5);
}
.btn-kuchen {
    background: var(--ambar);
    color: #fff;
    box-shadow: 0 4px 20px rgba(232,160,32,0.35);
}
.btn-kuchen:hover {
    background: #c98918;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232,160,32,0.5);
}

/* ─── WAVE SEPARATOR ────────────────────────────────────── */
.wave-separator { width: 100%; overflow: hidden; line-height: 0; margin-top: -2px; }
.wave-separator svg { display: block; width: 100%; height: 80px; }
.wave-separator.flip { transform: scaleY(-1); margin-top: 0; margin-bottom: -2px; }

/* ─── SECTION HEADERS ───────────────────────────────────── */
.section { padding: 72px 2rem; position: relative; }
.section-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 10;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amarillo);
    color: var(--azul-oscuro);
    padding: 7px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}
.section-subtitle {
    color: var(--texto-light);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ─── GLOBAL FLOATING DECOS ─────────────────────────────── */
.global-decos {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}
.gd {
    position: absolute;
    pointer-events: none;
    user-select: none;
    opacity: 0.42;
    filter: saturate(1.6) brightness(1.1);
    animation-name: var(--anim, fdA);
    animation-duration: var(--dur, 10s);
    animation-delay: var(--delay, 0s);
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    will-change: transform;
}
@keyframes fdA {
    0%, 100% { transform: translateY(0)     rotate(0deg)  scale(1);    }
    25%       { transform: translateY(-22px) rotate(7deg)  scale(1.06); }
    50%       { transform: translateY(-32px) rotate(-3deg) scale(0.96); }
    75%       { transform: translateY(-12px) rotate(5deg)  scale(1.02); }
}
@keyframes fdB {
    0%, 100% { transform: translateY(0)    rotate(0deg);  }
    33%       { transform: translateY(18px)  rotate(-6deg); }
    66%       { transform: translateY(-14px) rotate(4deg);  }
}
@keyframes fdC {
    0%, 100% { transform: translateX(0)     rotate(0deg);  }
    40%       { transform: translateX(-16px) rotate(5deg);  }
    70%       { transform: translateX(12px)  rotate(-4deg); }
}

/* ─── SECCIONES ─────────────────────────────────────────── */
.productos-section { background: var(--blanco); }
.kuchen-section    { background: var(--crema);  }
.opiniones-section {
    background: linear-gradient(160deg, var(--azul-oscuro) 0%, #1a2f55 100%);
    color: var(--blanco);
}
.kuchen-badge { background: var(--ambar) !important; color: #fff !important; }
.kuchen-section .section-title { color: var(--azul-oscuro); }

/* ─── PRODUCTOS GRID & CARDS ────────────────────────────── */
.productos-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    align-items: stretch;
}
.producto-card {
    background: var(--crema);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: var(--transition);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    flex: 0 0 268px;
    width: 268px;
}
.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-hover);
}
.producto-img-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--amarillo-claro), var(--amarillo));
    flex-shrink: 0;
}
.kuchen-img-wrap { background: linear-gradient(135deg, var(--ambar-claro), var(--ambar)); }
.producto-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.producto-card:hover .producto-img-wrap img { transform: scale(1.08); }
.producto-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--amarillo-claro) 0%, var(--amarillo) 100%);
}
.kuchen-placeholder { background: linear-gradient(135deg, var(--ambar-claro) 0%, var(--ambar) 100%); }
.producto-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--azul-oscuro); color: var(--amarillo);
    padding: 4px 12px; border-radius: 50px;
    font-weight: 800; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.kuchen-badge-tag { background: var(--ambar) !important; color: #fff !important; }
.producto-body { padding: 14px 18px 10px; flex: 1; }
.producto-nombre {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem; font-weight: 700;
    color: var(--azul-oscuro); margin-bottom: 4px;
}
.producto-desc {
    color: var(--texto-light); font-size: 0.85rem;
    margin-bottom: 10px; line-height: 1.45;
}
.producto-precios { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.precio-tag {
    background: var(--blanco);
    border: 2px solid var(--amarillo);
    border-radius: 10px; padding: 5px 10px;
    text-align: center; flex: 1; min-width: 70px;
}
.kuchen-section .precio-tag { border-color: var(--ambar); }
.precio-tag .personas {
    font-size: 0.7rem; color: var(--texto-light);
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.precio-tag .monto { font-size: 1.08rem; font-weight: 800; color: var(--azul-oscuro); }
.producto-nota {
    background: rgba(27,58,107,0.05);
    border-left: 3px solid var(--azul-medio);
    padding: 7px 10px; border-radius: 0 8px 8px 0;
    font-size: 0.75rem; color: var(--texto-light); line-height: 1.45;
}
.kuchen-section .producto-nota { border-left-color: var(--ambar); }
.producto-action { padding: 0 18px 18px; }
.producto-action .btn { width: 100%; justify-content: center; font-size: 0.85rem; padding: 10px 20px; }

/* ─── OPINIONES ─────────────────────────────────────────── */
.opiniones-section .section-title    { color: var(--blanco); }
.opiniones-section .section-subtitle { color: rgba(255,255,255,0.6); }
.opiniones-section .section-badge    { background: rgba(255,210,51,0.2); color: var(--amarillo); }
.opiniones-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.opinion-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); padding: 28px 24px;
    transition: var(--transition); position: relative; z-index: 10;
}
.opinion-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.opinion-quote { font-size: 2.8rem; color: var(--amarillo); opacity: 0.4; font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: 10px; }
.opinion-texto { font-size: 0.97rem; line-height: 1.7; color: rgba(255,255,255,0.85); margin-bottom: 18px; font-style: italic; }
.opinion-footer { display: flex; align-items: center; justify-content: space-between; }
.opinion-nombre { font-weight: 800; color: var(--blanco); font-size: 0.92rem; }
.opinion-estrellas { color: var(--amarillo); font-size: 1rem; letter-spacing: 2px; }

/* ─── CONTACTO ──────────────────────────────────────────── */
.contacto-section { background: var(--blanco); }
.contacto-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
}
.contacto-info-card { background: var(--crema); border-radius: var(--radius); padding: 36px; box-shadow: var(--sombra); position: relative; z-index: 10; }
.contacto-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contacto-item:last-child { margin-bottom: 0; }
.contacto-icon { width: 46px; height: 46px; background: var(--amarillo); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contacto-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--texto-light); font-weight: 700; margin-bottom: 3px; }
.contacto-value { font-weight: 700; color: var(--azul-oscuro); font-size: 0.95rem; }
.contacto-cta { background: var(--crema); border-radius: var(--radius); padding: 36px; box-shadow: var(--sombra); text-align: center; position: relative; z-index: 10; }
.contacto-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--azul-oscuro); margin-bottom: 10px; }
.contacto-cta p { color: var(--texto-light); margin-bottom: 22px; font-size: 0.93rem; }
.social-links { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }
.social-link { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--azul-oscuro); color: var(--blanco); transition: var(--transition); }
.social-link:hover { background: var(--azul-medio); transform: translateY(-3px); box-shadow: 0 4px 16px rgba(27,58,107,0.3); }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer { background: var(--azul-oscuro); color: rgba(255,255,255,0.6); text-align: center; padding: 28px 2rem; font-size: 0.85rem; }
.footer strong { color: var(--amarillo); font-weight: 700; }

/* ─── FLOATING WHATSAPP ─────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition); animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ─── SCROLL ANIMATIONS ─────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet grande (≤1024px) ────────────────────────────── */
@media (max-width: 1024px) {
    .producto-card { flex: 0 0 calc(50% - 11px); width: calc(50% - 11px); max-width: 380px; }
}

/* ── Tablet (≤900px) ────────────────────────────────────── */
@media (max-width: 900px) {
    .contacto-grid { grid-template-columns: 1fr; gap: 24px; }
    .contacto-info-card, .contacto-cta { padding: 28px; }
}

/* ── Móvil landscape / tablet pequeño (≤768px) ──────────── */
@media (max-width: 768px) {
    /* Navbar */
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(280px, 80vw); height: 100vh;
        background: var(--blanco);
        flex-direction: column;
        padding: 90px 28px 28px;
        gap: 4px;
        box-shadow: -8px 0 40px rgba(0,0,0,0.15);
        transition: right 0.35s ease;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-links.open { right: 0; }
    .nav-links a { width: 100%; text-align: left; padding: 13px 18px; border-radius: 12px; font-size: 1rem; }
    .nav-links .btn-cta { text-align: center; margin-top: 10px; }

    /* Hero */
    .hero { padding: 100px 1.5rem 70px; }
    .hero-logo { width: 120px; margin-bottom: 1.5rem; }

    /* Hero buttons: 2 columnas */
    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-buttons .btn:last-child { grid-column: 1 / -1; }

    /* Cards: 1 columna */
    .productos-grid { gap: 16px; }
    .producto-card { flex: 1 1 100%; width: 100%; max-width: 440px; }

    /* Secciones */
    .section { padding: 52px 1.25rem; }
    .section-header { margin-bottom: 36px; }
    .section-subtitle { font-size: 0.95rem; }

    /* Opiniones */
    .opiniones-grid { grid-template-columns: 1fr; gap: 16px; }

    /* WA float */
    .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 1.5rem; }

    /* Decos: reducir en mobile */
    .gd { opacity: 0.22 !important; font-size: 1.4rem !important; }
}

/* ── Móvil (≤600px) ─────────────────────────────────────── */
@media (max-width: 600px) {
    .navbar-inner { height: 62px; }
    .navbar { padding: 0 1rem; }
    .nav-logo img { height: 36px; }
    .nav-logo span { font-size: 1rem; }

    .hero { padding: 90px 1rem 60px; }
    .hero-logo { width: 100px; margin-bottom: 1.2rem; }
    .hero-desc { letter-spacing: 0.06em; }

    /* Hero buttons: stack vertical */
    .hero-buttons {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    .hero-buttons .btn:last-child { grid-column: 1; }
    .btn { font-size: 0.88rem; padding: 12px 22px; }

    /* Wave más pequeña */
    .wave-separator svg { height: 50px; }

    .section { padding: 44px 1rem; }
    .contacto-info-card, .contacto-cta { padding: 22px; }
    .contacto-item { gap: 12px; }
    .contacto-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 10px; }

    .producto-precios { gap: 6px; }
    .precio-tag .monto { font-size: 1rem; }

    /* Decos: ocultar en móvil muy pequeño */
    .gd { display: none; }
}

/* ── Móvil muy pequeño (≤380px) ─────────────────────────── */
@media (max-width: 380px) {
    .hero-logo { width: 84px; }
    .hero h1 { font-size: 1.9rem; }
    .hero-tagline { font-size: 1.4rem; }
    .section-title { font-size: 1.6rem; }
    .producto-img-wrap { height: 160px; }
}

/* ─── LIGHTBOX ──────────────────────────────────────────── */
.producto-img-wrap img { cursor: zoom-in; }

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }

.lightbox-img {
    max-width: min(90vw, 900px);
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
    animation: lightboxIn 0.28s cubic-bezier(0.34, 1.3, 0.64, 1) both;
    cursor: default;
    display: block;
}
@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.82); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2001;
    line-height: 1;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.32); transform: scale(1.1); }

.lightbox-caption {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    white-space: nowrap;
    max-width: 88vw;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}
