@font-face {
    font-family: 'Croisan';
    src: url("../fonts/Croisan.22421a781d93.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AleoItalic';
    src: url("../fonts/Aleo-Italic.d1cf49052c69.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mobilla';
    src: url("../fonts/Mobilla.4c9c5fd43de3.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JosefinSansLight';
    src: url("../fonts/JosefinSans-Light.0cf5f9ac0e66.ttf") format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewYork';
    src: url("../fonts/NewYork.a2200ff318b2.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bilgie';
    src: url("../fonts/Bilgie.42ae1ffb1a7e.otf") format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AbhayaLibre';
    src: url("../fonts/AbhayaLibre-Regular.12c8f3743990.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Forum';
    src: url("../fonts/Forum-Regular.ff57d0d9febd.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MontserratRegular';
    src: url("../fonts/Montserrat-Regular.9c4609511838.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Unicase';
    src: url("../fonts/CormorantUnicase-Medium.308e7dc87da4.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url("../fonts/PlayfairDisplay-Regular.06b103d23cb2.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display Black';
    src: url("../fonts/PlayfairDisplay-Black.90bd8fc6f4db.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #0f0e0c;
    --content-width: 1100px;
    --color-surface: rgba(255, 252, 245, 0.06);
    --color-surface-hover: rgba(255, 252, 245, 0.12);
    --color-text: #f8f4ec;
    --color-text-muted: rgba(248, 244, 236, 0.72);
    --color-accent: #c9a962;
    --color-accent-light: #e8d5a3;
    --color-border: rgba(201, 169, 98, 0.25);
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Outfit", system-ui, sans-serif;
    --radius: 16px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Forzar fuentes y colores en el index */
.page-home {
    font-family: 'AleoItalic', sans-serif !important;
}

.page-home .home-title {
    font-family: 'Croisan', serif !important;
}

.page-home .eyebrow,
.page-home .home-subtitle {
    font-family: 'AleoItalic', sans-serif !important;
    color: #ffffff !important;
}

.page-home .venue-card__tagline,
.page-home .venue-card__cta {
    font-family: 'AleoItalic', sans-serif !important;
}

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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 169, 98, 0.45) #0f0e0c;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0f0e0c;
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 98, 0.45);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 98, 0.7);
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ── Hero slideshow (home) ── */
.hero-slideshow {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.01);
    z-index: 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transition: opacity 3.5s ease-in-out, transform 9.5s ease-in-out, z-index 0s 3.5s;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1.04);
    z-index: 1;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transition: opacity 3.5s ease-in-out, transform 9.5s ease-in-out, z-index 0s 0s;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(15, 14, 12, 0.55) 0%,
        rgba(15, 14, 12, 0.75) 50%,
        rgba(15, 14, 12, 0.92) 100%
    );
}

/* ── Hero Slideshow Dots (Indicators) ── */
.hero-slideshow-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
    pointer-events: auto;
}

.hero-slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-slideshow-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.hero-slideshow-dot.is-active {
    width: 28px;
    border-radius: 5px;
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Theme color active dots overrides */
.theme-fundo .hero-slideshow-dot.is-active {
    background-color: #c7af93;
    border-color: #c7af93;
}

.theme-mansion .hero-slideshow-dot.is-active {
    background-color: #b5a482;
    border-color: #b5a482;
}

/* Vertical indicators on the left side for Quote and Spotlight sections */
.mansion-quote .hero-slideshow-dots,
.mansion-spotlight__frame .hero-slideshow-dots {
    flex-direction: column;
    left: 2rem;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

.mansion-quote .hero-slideshow-dots .hero-slideshow-dot,
.mansion-spotlight__frame .hero-slideshow-dots .hero-slideshow-dot {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
}

.mansion-quote .hero-slideshow-dots .hero-slideshow-dot:hover,
.mansion-spotlight__frame .hero-slideshow-dots .hero-slideshow-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.mansion-quote .hero-slideshow-dots .hero-slideshow-dot.is-active,
.mansion-spotlight__frame .hero-slideshow-dots .hero-slideshow-dot.is-active {
    width: 10px;
    height: 28px;
    background-color: #ffffff;
    border-color: #ffffff;
}

@media (max-width: 768px) {
    .mansion-quote .hero-slideshow-dots,
    .mansion-spotlight__frame .hero-slideshow-dots {
        flex-direction: row;
        left: 50%;
        transform: translateX(-50%);
        bottom: 1.5rem;
        top: auto;
    }
    
    .mansion-quote .hero-slideshow-dots .hero-slideshow-dot.is-active,
    .mansion-spotlight__frame .hero-slideshow-dots .hero-slideshow-dot.is-active {
        width: 28px;
        height: 10px;
    }
}

/* Showcase Slideshow Dots */
.showcase-slideshow-dots {
    position: absolute;
    bottom: 3.5rem;
    right: 3.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    pointer-events: auto;
}

.showcase-slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.showcase-slideshow-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.showcase-slideshow-dot.is-active {
    width: 22px;
    border-radius: 4px;
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .showcase-slideshow-dots {
        right: 50%;
        transform: translateX(50%);
        bottom: 1.5rem;
    }
}

/* ── Home ── */
.home-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    gap: 3.5rem;
}

.home-header { text-align: center; max-width: 680px; }

.eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.home-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.8vw, 3.8rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.home-logo {
    display: block;
    width: min(320px, 80%);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.35));
}

.home-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(248, 244, 236, 0.9);
    max-width: 540px;
    margin: 0 auto;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 7rem;
    width: 100%;
    max-width: 1100px;
}

.venue-card {
    position: relative;
    display: block;
    min-height: 380px;
    height: clamp(360px, 52vh, 420px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .venue-card:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: var(--color-accent);
        box-shadow: 0 32px 100px rgba(201, 169, 98, 0.15), var(--shadow);
    }

    .venue-card:hover .venue-card__bg { transform: scale(1.08); }

    .venue-card:hover .venue-card__overlay {
        opacity: 1;
    }

    .venue-card:hover .venue-card__cta {
        gap: 0.85rem;
        color: var(--color-accent-light);
    }

    .venue-card:hover .venue-card__shine { transform: translateX(120%); }
}

.venue-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 14, 12, 0.97) 0%, rgba(15, 14, 12, 0.55) 60%, rgba(15, 14, 12, 0.4) 100%);
    opacity: 0.82;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.venue-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    z-index: 2;
    text-align: center;
}

.venue-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.65rem;
    padding-bottom: 0.5rem;
}

.venue-card__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0;
}

.venue-card__logo {
    display: block;
    width: min(210px, 72%);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.venue-card:hover .venue-card__logo {
    transform: scale(1.05);
}

.venue-card--mansion .venue-card__logo {
    width: min(190px, 66%);
}

.venue-card__tagline {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0;
    max-width: 260px;
}

.venue-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    transition: gap var(--transition), color var(--transition);
    margin-top: auto;
    flex-shrink: 0;
}

.venue-card__cta svg {
    transition: transform var(--transition);
}

.venue-card:hover .venue-card__cta svg {
    transform: translateX(6px);
}

.venue-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 60%
    );
    transform: translateX(-120%);
    transition: transform 0.8s ease;
    pointer-events: none;
    z-index: 3;
}

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

.home-footer__note {
    font-size: 0.9rem;
    color: rgba(227, 218, 206, 0.72);
}

.link-subtle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.link-subtle:hover {
    color: var(--color-accent-light);
    border-color: var(--color-accent);
}

/* ── Venue landing ── */
.venue-hero, .registro-hero {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
}

.venue-hero--slideshow {
    overflow: hidden;
}

.venue-hero__bg,
.venue-hero__slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.venue-hero__slideshow .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.venue-hero__slideshow .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.venue-hero > .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.venue-hero__inner, .registro-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem 4rem;
}

.venue-nav { margin-bottom: auto; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.back-link:hover { color: var(--color-accent-light); }

.venue-hero__content, .registro-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-width);
}

.venue-hero h1, .registro-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.venue-hero__intro, .registro-hero p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.venue-hero__brand {
    display: none;
}

.venue-logo {
    width: auto;
    height: 150px;
    margin: 68px 0 1.25rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.venue-main, .registro-main {
    position: relative;
    z-index: 1;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.highlight-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.highlight-card__label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.highlight-card__value {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.section { margin-bottom: 4rem; }

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 4rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--color-border);
}

.gallery--featured {
    grid-template-columns: repeat(2, 1fr);
}

.gallery--featured .gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

/* ── Galería carrusel + lightbox ── */
.gardens-section {
    margin-bottom: 4rem;
}

.gardens-section__header {
    max-width: 100%;
    margin-bottom: 2.5rem;
    text-align: left;
}

.gardens-section__subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.60rem);
    color: var(--color-accent-light);
    margin: -1rem 0 1.5rem 0;
    font-style: italic;
}

.gardens-section__description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gardens-section__text {
    max-width: 100%;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.gardens-section__hint {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.gallery-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.75rem;
    align-items: center;
}

.gallery-carousel__viewport {
    grid-row: 1;
    grid-column: 2;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.gallery-carousel__track {
    display: flex;
    gap: 1rem;
    padding: 0.25rem 0;
}

.gallery-carousel__slide {
    flex: 0 0 min(320px, 78vw);
    scroll-snap-align: start;
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-carousel__image {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border: none;
    border-radius: var(--radius);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-carousel__slide:hover .gallery-carousel__image,
.gallery-carousel__slide:focus-visible .gallery-carousel__image {
    transform: scale(1.04) translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* Indicador del Carrusel */
.gallery-carousel__indicator {
    grid-row: 2;
    grid-column: 1 / span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.75rem;
    width: 100%;
    user-select: none;
}

.gallery-carousel__counter-current,
.gallery-carousel__counter-total {
    font-family: var(--font-body), sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    color: rgba(248, 244, 236, 0.5);
    transition: color 0.3s ease;
}

.gallery-carousel__counter-current {
    color: var(--color-accent);
}

.gallery-carousel__progress-bar {
    flex: 0 1 120px;
    height: 1px;
    background: rgba(248, 244, 236, 0.12);
    position: relative;
    overflow: hidden;
}

.gallery-carousel__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--color-accent);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-carousel__nav {
    grid-row: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.gallery-carousel__nav:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 10, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-lightbox[hidden] {
    display: none !important;
}

.gallery-lightbox:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

.gallery-lightbox__content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.25rem 2.5rem;
    pointer-events: none;
}

.gallery-lightbox__image {
    max-width: min(1100px, 90vw);
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: calc(var(--radius) - 4px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

.gallery-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.gallery-lightbox__close:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.05);
}

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.gallery-lightbox__nav:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.05);
}

.gallery-lightbox__nav--prev { left: 1.5rem; }
.gallery-lightbox__nav--next { right: 1.5rem; }

.gallery-lightbox__counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-body), sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

.showcase:last-of-type {
    border-bottom: none;
    margin-bottom: 4rem;
}

.showcase--reverse .showcase__image { order: 2; }
.showcase--reverse .showcase__text { order: 1; }

.showcase__image {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--color-border);
}

.showcase__text h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.75rem;
}

.showcase__text p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.downloads { margin-bottom: 4rem; }

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.download-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.download-card:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.download-card__icon { color: var(--color-accent); }

.download-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.download-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ── Forms ── */
.contact-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 2rem;
}

.contact-header .section-title {
    margin-bottom: 0.75rem;
}

.contact-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.contact-form-wrap--compact {
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.registration-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    gap: 0 1.25rem;
}

.form-row--pair {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .form-row--pair {
        grid-template-columns: 1fr;
    }
}

.contact-info p {
    color: var(--color-text-muted);
    margin: 1rem 0;
}

.link-accent {
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition), border-color var(--transition);
}

.link-accent:hover {
    color: var(--color-accent-light);
    border-color: var(--color-accent);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.form-input, .form-textarea, select.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}



.form-input:focus, .form-textarea:focus, select.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

.form-textarea { resize: vertical; min-height: 100px; }

.has-error .form-input, .has-error .form-textarea {
    border-color: #c45c5c;
}

.field-error {
    display: block;
    font-size: 0.8rem;
    color: #e8a0a0;
    margin-top: 0.35rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.form-privacy-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.85;
}

.venue-footer__social-link:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.radio-label input[type="radio"] {
    accent-color: var(--color-accent);
    width: 1rem;
    height: 1rem;
}

.form-group--checkbox {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--color-accent);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #a88b4a 100%);
    color: var(--color-bg);
    border: none;
    border-radius: 999px;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 169, 98, 0.35);
}

.btn-full { width: 100%; }

.btn-hero {
    margin-top: 0.25rem;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}

.btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
}

.form-messages { margin-bottom: 1.5rem; }
.form-messages--center { text-align: center; max-width: 560px; margin: 0 auto 2rem; }

.message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.message--success {
    background: rgba(100, 180, 120, 0.15);
    border: 1px solid rgba(100, 180, 120, 0.35);
    color: #b8e0c4;
}

.registro-main {
    max-width: 560px;
}

.registro-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 2.5rem;
}

/* ── Backoffice ── */
.page-backoffice, .page-backoffice-login {
    background: #121110;
    min-height: 100vh;
}

.backoffice-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.backoffice-login__card {
    width: 100%;
    max-width: 400px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.backoffice-login__card h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.backoffice-login__card > p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.backoffice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
}

.backoffice-header h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.backoffice-header p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.backoffice-nav {
    display: flex;
    gap: 0.5rem;
    padding: 0 2rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.backoffice-nav a {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: background var(--transition), color var(--transition);
}

.backoffice-nav a:hover,
.backoffice-nav a.is-active {
    background: rgba(201, 169, 98, 0.12);
    color: var(--color-accent-light);
}

.backoffice-main--narrow {
    max-width: 560px;
}

.backoffice-main {
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.backoffice-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.backoffice-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.backoffice-panel__header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.backoffice-panel--padded {
    padding: 1.5rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(201, 169, 98, 0.15);
    color: var(--color-accent-light);
    border: 1px solid var(--color-border);
}

.table-wrap { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table th, .data-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: rgba(0, 0, 0, 0.2);
}

.data-table a {
    color: var(--color-accent-light);
}

.data-table a:hover { text-decoration: underline; }

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* ── Animaciones (AOS en JS) ── */
html:not(.aos-init) [data-aos] {
    opacity: 1;
    transform: none;
}

[data-aos] {
    pointer-events: auto;
}

/* Custom AOS fade-down override for a more dramatic, premium drop-fade */
[data-aos="fade-down"] {
    transform: translateY(-50px) !important;
    opacity: 0 !important;
    transition-property: transform, opacity !important;
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* ── Mobile y pantallas táctiles ── */
@media (max-width: 768px) {
    .home-main {
        padding: 2rem 1rem 3rem;
        gap: 2.5rem;
        justify-content: flex-start;
        padding-top: max(2rem, env(safe-area-inset-top));
    }

    .venue-grid {
        gap: 1.25rem;
    }

    .venue-card {
        min-height: 320px;
        height: auto;
        aspect-ratio: 4/5;
    }

    .venue-hero__inner, .registro-hero__inner {
        min-height: 88svh;
        padding: 1rem 1rem 2.5rem;
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .venue-hero, .registro-hero {
        min-height: 88svh;
    }

    .venue-hero__content, .registro-hero__content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .venue-hero__intro, .registro-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .venue-main, .registro-main {
        padding: 2.5rem 1rem 4rem;
    }

    .highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .highlight-card {
        padding: 1rem;
    }

    .highlight-card__value {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .gallery,
    .gallery--featured {
        grid-template-columns: 1fr;
    }

    .gallery--featured .gallery-item:first-child {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .showcase,
    .showcase--reverse {
        grid-template-columns: 1fr;
    }

    .showcase--reverse .showcase__image,
    .showcase--reverse .showcase__text {
        order: unset;
    }

    .contact-section {
        padding: 1.5rem;
    }

    .contact-grid {
        gap: 1.5rem;
    }

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

    .btn-primary {
        min-height: 48px;
        padding: 0.95rem 1.5rem;
    }

    .form-input, .form-textarea, select.form-input {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    .highlights {
        grid-template-columns: 1fr;
    }
}

/* ── Venue footer ── */
.venue-footer {
    position: relative;
    background-size: cover;
    background-position: center top;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.venue-footer__overlay {
    position: absolute;
    inset: 0;
    background: var(--footer-overlay, linear-gradient(
        180deg,
        rgba(15, 14, 12, 0.45) 0%,
        rgba(15, 14, 12, 0.92) 100%
    ));
}

.venue-footer__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem 1.5rem 3.5rem;
    max-width: 640px;
}

.venue-footer__line {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    letter-spacing: 0.04em;
    color: #f5f2eb;
    margin-bottom: 0.35rem;
    line-height: 1.6;
}

.venue-footer__line a {
    color: inherit;
    border-bottom: 1px solid rgba(245, 242, 235, 0.35);
    transition: border-color var(--transition), opacity var(--transition);
}

.venue-footer__line a:hover {
    border-color: #f5f2eb;
    opacity: 0.92;
}

.contact-form-wrap--compact .form-group {
    margin-bottom: 1rem;
}

/* ── Popup registro exitoso ── */
.registration-success-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.registration-success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.72);
}

.registration-success-modal__card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    background: #fff;
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

body.theme-fundo .registration-success-modal__card {
    background: #3d2a1a;
    border: 1px solid rgba(199, 175, 147, 0.28);
}

.registration-success-modal__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 51, 40, 0.1);
    color: #1b3328;
}

body.theme-fundo .registration-success-modal__icon {
    background: rgba(199, 175, 147, 0.15);
    color: #e3dace;
}

.registration-success-modal__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: #1b3328;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

body.theme-fundo .registration-success-modal__title {
    color: #e3dace;
}

.registration-success-modal__text {
    color: #4a4a48;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

body.theme-fundo .registration-success-modal__text {
    color: rgba(227, 218, 206, 0.85);
}

.registration-success-modal__social-label {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6a6a68;
    margin-bottom: 0.85rem;
}

body.theme-fundo .registration-success-modal__social-label {
    color: rgba(227, 218, 206, 0.7);
}

.registration-success-modal__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(27, 51, 40, 0.18);
    color: #1b3328;
    font-size: 0.85rem;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

body.theme-fundo .social-btn {
    border-color: rgba(199, 175, 147, 0.35);
    color: #e3dace;
}

.social-btn:hover {
    transform: translateY(-1px);
    border-color: #1b3328;
    background: rgba(27, 51, 40, 0.06);
}

body.theme-fundo .social-btn:hover {
    border-color: #c7af93;
    background: rgba(199, 175, 147, 0.12);
}

body.registration-success-open {
    overflow: hidden;
}

/* Botón Volver Arriba */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
}

.back-to-top:not([hidden]) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    border-color: var(--color-accent);
    background: #ffffff;
    color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

/* Sección de Mapa y Distribución (Nuestros Espacios) */
.venue-map-section {
    margin-bottom: 5.5rem;
    width: 100%;
}

.venue-map-grid {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.venue-map-grid__image-box {
    cursor: zoom-in;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    background: #ffffff;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.venue-map-grid__image-box:hover {
    transform: scale(1.01) translateY(-2px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.venue-map-grid__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.venue-map-grid__info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
}

.venue-map-grid__info-box .section-title {
    margin: 0;
    text-align: left;
}

.venue-map-grid__address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--color-text-muted);
}

.venue-map-grid__address svg {
    color: var(--color-accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.venue-map-grid__address-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.venue-map-grid__address-title {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin: 0 0 0.25rem 0;
}

.venue-map-grid__address-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.venue-map-grid__btn {
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .venue-map-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ── Squeeze Page Layout (Columna asimétrica lateral) ── */
.squeeze-container {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    min-height: 100vh;
    width: 100%;
}

.squeeze-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.squeeze-visual__slideshow,
.squeeze-visual__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.squeeze-visual__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
}

.squeeze-nav {
    display: flex;
    align-items: center;
}

.squeeze-nav .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.squeeze-nav .back-link:hover {
    opacity: 1;
}

.squeeze-visual__brand-box {
    margin: auto;
    width: 100%;
    text-align: center;
}

.squeeze-visual__logo {
    display: inline-block;
    margin: 0 auto;
    height: 220px !important;
    width: auto !important;
    max-height: 25vh !important;
    object-fit: contain;
}

.squeeze-visual__title {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 1.25rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8) !important;
}

/* Forzar degradado oscuro de izquierda a derecha para proteger el contraste del texto */
.theme-mansion .squeeze-visual .hero-overlay {
    background: rgba(27, 51, 40, 0.8) !important;
    z-index: 2;
}

.theme-fundo .squeeze-visual .hero-overlay {
    background: rgba(36, 24, 15, 0.82) !important;
    z-index: 2;
}

.theme-mansion .squeeze-visual__title {
    font-family: 'Forum', serif !important;
}

.theme-fundo .squeeze-visual__title {
    font-family: 'Bilgie', serif !important;
}

.squeeze-visual__intro {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.theme-mansion .squeeze-visual__intro {
    font-family: 'MontserratRegular', sans-serif !important;
}

.theme-fundo .squeeze-visual__intro {
    font-family: 'AbhayaLibre', sans-serif !important;
}

.squeeze-visual__footer {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.squeeze-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    min-height: 100vh;
    z-index: 10;
}

/* Colores de fondo de la columna de formulario según el tema */
.theme-mansion .squeeze-form-col {
    background: #f5f2eb; /* Crema suave de Mansión */
}

.theme-fundo .squeeze-form-col {
    background: #e8e2d7; /* Crema claro de Fundo */
}

.squeeze-form-content {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.squeeze-form-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin: 0 0 0.5rem 0;
}

.theme-mansion .squeeze-form-header h2 {
    font-family: 'Forum', serif !important;
    color: #1b3328;
}

.theme-fundo .squeeze-form-header h2 {
    font-family: 'Bilgie', serif !important;
    color: #24180f;
}

.squeeze-form-header p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: var(--color-text-muted);
}

.theme-mansion .squeeze-form-header p {
    font-family: 'MontserratRegular', sans-serif !important;
}

.theme-fundo .squeeze-form-header p {
    font-family: 'AbhayaLibre', sans-serif !important;
    color: #5d4636;
}

/* Forzar inputs limpios y elegantes */
.squeeze-form-body .form-group label {
    font-size: 0.95rem;
}

.squeeze-form-body .form-input {
    background: rgba(0, 0, 0, 0.035) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #111111 !important;
}

.theme-mansion .squeeze-form-body .form-input:focus {
    background: #ffffff !important;
    border-color: #1b3328 !important;
}

.theme-fundo .squeeze-form-body .form-input:focus {
    background: #ffffff !important;
    border-color: #5d4636 !important;
}

@media (max-width: 992px) {
    .squeeze-container {
        grid-template-columns: 1fr;
    }

    .squeeze-visual {
        min-height: 380px;
        height: auto;
    }

    .squeeze-visual__content {
        padding: 2rem;
        justify-content: flex-start;
        gap: 3rem;
    }

    .squeeze-visual__brand-box {
        margin: 0;
    }

    .squeeze-visual__footer {
        display: none; /* Ocultar el copyright flotante del visual en móvil */
    }

    .squeeze-form-col {
        padding: 3rem 2rem;
        min-height: auto;
    }
}

/* ── UI/UX Formulario Premium para Squeeze Pages ── */
/* El card ha sido removido a petición del usuario para optimizar espacio */

/* Encabezado del Formulario */
.page-squeeze .squeeze-form-header h2 {
    font-size: 2.1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.theme-mansion.page-squeeze .squeeze-form-header h2 {
    font-family: 'Forum', serif !important;
    color: #1b3328;
}

.theme-fundo.page-squeeze .squeeze-form-header h2 {
    font-family: 'Bilgie', serif !important;
    color: #24180f;
}

.page-squeeze .squeeze-form-header p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

.theme-mansion.page-squeeze .squeeze-form-header p {
    font-family: 'MontserratRegular', sans-serif !important;
}

.theme-fundo.page-squeeze .squeeze-form-header p {
    font-family: 'AbhayaLibre', sans-serif !important;
    color: #5d4636;
}

/* Grilla y Espaciados de Inputs */
.page-squeeze .squeeze-form-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Usar el grid de dos columnas original */

/* Labels de Inputs (Mayúsculas refinadas y lectura amigable) */
.page-squeeze .form-group label,
.page-squeeze .form-group .form-label,
.page-squeeze .form-label {
    display: block !important;
    font-family: inherit !important;
    text-transform: none !important; /* Desactivar mayúsculas sostenidas y capitalización forzada */
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    margin-bottom: 0.5rem !important;
}

.theme-mansion.page-squeeze .form-group label,
.theme-mansion.page-squeeze .form-group .form-label,
.theme-mansion.page-squeeze .form-label,
.theme-mansion.page-squeeze .radio-label,
.theme-mansion.page-squeeze .checkbox-label {
    color: #1b3328 !important;
}

.theme-fundo.page-squeeze .form-group label,
.theme-fundo.page-squeeze .form-group .form-label,
.theme-fundo.page-squeeze .form-label,
.theme-fundo.page-squeeze .radio-label,
.theme-fundo.page-squeeze .checkbox-label {
    color: #24180f !important;
}

/* Cambiar los asteriscos de obligatoriedad a color dorado corporativo */
.page-squeeze .form-group label span.required,
.page-squeeze .form-group label::after {
    color: #c9a962 !important;
    font-weight: bold;
    margin-left: 0.25rem;
}

.page-squeeze .field-error {
    color: #b32b2b !important;
    font-weight: 500;
}

/* Estilización Premium de Inputs de Texto */
.page-squeeze .form-input {
    width: 100%;
    padding: 0.95rem 1.15rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    background: #ffffff !important; /* Fondo blanco limpio para excelente contraste */
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    color: #222222 !important;
    transition: all 0.25s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.page-squeeze .form-input::placeholder {
    color: #a0a0a0 !important;
    font-size: 0.9rem;
}

/* Enfoque Focus con anillo de luz suave */
.theme-mansion.page-squeeze .form-input:focus {
    border-color: #1b3328 !important;
    box-shadow: 0 0 0 3px rgba(27, 51, 40, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    background: #ffffff !important;
}

.theme-fundo.page-squeeze .form-input:focus {
    border-color: #5d4636 !important;
    box-shadow: 0 0 0 3px rgba(93, 70, 54, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    background: #ffffff !important;
}

/* Estilo Radio Botones (Sí/No) alineados horizontalmente */
.page-squeeze .form-radio-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.4rem 0;
    color: #222222 !important;
}

.page-squeeze .form-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.page-squeeze .form-radio-input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent) !important;
}

/* Botón de Enviar (Botón Call to Action Premium) */
.page-squeeze .btn-primary.btn-full {
    width: 100% !important;
    padding: 1.1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
}

.theme-mansion.page-squeeze .btn-primary.btn-full {
    background: #1b3328 !important;
    color: #ffffff !important;
}

.theme-mansion.page-squeeze .btn-primary.btn-full:hover {
    background: #c9a962 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(201, 169, 98, 0.35) !important;
    transform: translateY(-2px);
}

.theme-fundo.page-squeeze .btn-primary.btn-full {
    background: #24180f !important;
    color: #e8e2d7 !important;
    border: 1px solid rgba(199, 175, 147, 0.2) !important;
}

.theme-fundo.page-squeeze .btn-primary.btn-full:hover {
    background: #c7af93 !important;
    color: #24180f !important;
    box-shadow: 0 12px 30px rgba(199, 175, 147, 0.35) !important;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .page-squeeze .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ── Botón Flotante de WhatsApp ── */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-2px);
    background-color: #20ba5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 576px) {
    .whatsapp-btn {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}

/* ── Dynamic Grid Gallery ── */
.gallery-grid-wrapper {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px 240px 220px;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-grid__slot {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f7f7f7;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-grid__slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.slot-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.8s ease-in-out;
}

.slot-image.is-active {
    opacity: 1;
    z-index: 1;
}

/* Specific Grid Placements for Desktop */
.gallery-grid__title-card {
    grid-column: 1;
    grid-row: 1;
    background-color: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.gallery-grid__title-card h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin: 0;
    font-weight: normal;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #ffffff !important;
}

/* Fundo uses the same green as Mansion for Title card */
body.theme-fundo .gallery-grid__title-card {
    background-color: #1b3b2c !important; /* Green tone from screenshot */
}

body.theme-mansion .gallery-grid__title-card {
    background-color: #1b3b2c !important;
}

.gallery-grid .slot-1 {
    grid-column: 1;
    grid-row: 2 / 4;
}

.gallery-grid .slot-2 {
    grid-column: 1;
    grid-row: 4;
}

.gallery-grid .slot-3 {
    grid-column: 2;
    grid-row: 1;
}

.gallery-grid .slot-4 {
    grid-column: 2;
    grid-row: 2 / 5;
}

.gallery-grid .slot-5 {
    grid-column: 3;
    grid-row: 1 / 3;
}

.gallery-grid .slot-6 {
    grid-column: 3;
    grid-row: 3;
}

.gallery-grid .slot-7 {
    grid-column: 3;
    grid-row: 4;
}

/* Responsive Rules for Tablet */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto auto auto;
        gap: 1rem;
    }

    .gallery-grid__title-card {
        grid-column: 1 / -1;
        grid-row: auto;
        padding: 2.5rem 1.5rem;
    }

    .gallery-grid .slot-1 {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 4/5;
    }

    .gallery-grid .slot-2 {
        grid-column: 2;
        grid-row: auto;
        aspect-ratio: 4/3;
    }

    .gallery-grid .slot-3 {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 4/3;
    }

    .gallery-grid .slot-4 {
        grid-column: 2;
        grid-row: auto;
        aspect-ratio: 4/5;
    }

    .gallery-grid .slot-5 {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 1/1;
    }

    .gallery-grid .slot-6 {
        grid-column: 2;
        grid-row: auto;
        aspect-ratio: 4/3;
    }

    .gallery-grid .slot-7 {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16/9;
    }
}

/* Responsive Rules for Mobile */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .gallery-grid__title-card {
        grid-column: 1;
        padding: 2rem 1rem;
    }

    .gallery-grid .slot-1,
    .gallery-grid .slot-2,
    .gallery-grid .slot-3,
    .gallery-grid .slot-4,
    .gallery-grid .slot-5,
    .gallery-grid .slot-6,
    .gallery-grid .slot-7 {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 4/3;
    }
    
    .gallery-grid .slot-1 {
        aspect-ratio: 3/4; /* Keep it portrait */
    }
    .gallery-grid .slot-4 {
        aspect-ratio: 3/4; /* Keep it portrait */
    }
}

/* ── Botón flotante para volver al inicio ── */
.floating-home-btn {
    position: fixed;
    bottom: 2rem;
    right: 6.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.floating-home-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Theme overrides */
body.theme-fundo .floating-home-btn {
    background: #5d4636;
    color: #f7f4f0;
    border-color: rgba(199, 175, 147, 0.15);
}

body.theme-fundo .floating-home-btn:hover {
    background: #6f5442;
    color: #ffffff;
}

body.theme-mansion .floating-home-btn {
    background: #1b3328;
    color: #f7f5f0;
    border-color: rgba(181, 164, 130, 0.2);
}

body.theme-mansion .floating-home-btn:hover {
    background: #274b3a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .floating-home-btn {
        bottom: 1.5rem !important;
        right: 4.75rem !important;
        width: 42px !important;
        height: 42px !important;
    }
    .floating-home-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
}
