@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ==========================================================================
   DARK LUXURY GLOBAL PALETTE & VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #0d0c0b;
    --bg-dark-rgb: 13, 12, 11;
    --bg-card: #141312;
    --bg-elevated: #1a1917;
    --bg-spotlight: #161513;

    --text-main: #f0ece1;       /* Hueso / Alabastro cálido (papel de algodón) */
    --text-muted: #8e877c;      /* Tono piedra cálido para metadatos y secundarios */
    --text-subtle: #5e5952;     /* Divisores y texto terciario */

    --accent: #c5a880;          /* Oro viejo apagado / Bronce noble */
    --accent-light: #dfcaa7;    /* Acento luminoso para hover */
    --accent-dark: #9e825c;     /* Acento profundo */

    --border-subtle: rgba(197, 168, 128, 0.12);
    --border-light: rgba(240, 236, 225, 0.08);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'Space Mono', 'SF Mono', 'Roboto Mono', Menlo, monospace;

    /* Iluminación museográfica cenital (Spotlight sutil) */
    --spotlight: radial-gradient(ellipse 65% 55% at 50% 40%, rgba(197, 168, 128, 0.07) 0%, rgba(13, 12, 11, 0) 75%);
    --spotlight-modal: radial-gradient(ellipse 70% 65% at 50% 45%, rgba(28, 25, 22, 0.96) 0%, #080706 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   INTERIOR HEADER: Sticky / Blur / Hide on Scroll Down, Reveal on Scroll Up
   ========================================================================== */
.interior-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 12, 11, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 500;
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
}

.interior-header.header-hidden {
    transform: translateY(-100%);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-light);
}

.breadcrumbs .sep {
    color: var(--border-subtle);
}

.breadcrumbs .current {
    color: var(--accent);
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-contact-link {
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: color 0.25s ease;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: color 0.25s ease, transform 0.25s ease;
}

.back-link:hover {
    color: var(--accent-light);
    transform: translateX(-4px);
}

/* ==========================================================================
   HERO / INTRO SECTION (MUSEUM PRESENTATION)
   ========================================================================== */
.gallery-hero {
    padding: 10rem 4rem 3.5rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: 2rem;
    width: 60%;
    height: 100%;
    background: var(--spotlight);
    pointer-events: none;
    z-index: 0;
}

.hero-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-meta::after {
    content: '';
    display: block;
    height: 1px;
    width: 48px;
    background: var(--border-subtle);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

.hero-curation {
    font-family: var(--font-serif);
    font-style: italic;
    color: #b5ada2;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    max-width: 820px;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   FASE 3: BARRA DE FILTROS MINIMALISTA (CURADURÍA INTELIGENTE)
   ========================================================================== */
.gallery-filter-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem 2.5rem;
}

.gallery-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}

.filter-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-right: 0.75rem;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.55rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(197, 168, 128, 0.18);
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
    color: var(--text-main);
    border-color: var(--accent);
    background: rgba(197, 168, 128, 0.06);
}

.filter-btn.active {
    color: var(--bg-dark);
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 700;
}

/* ==========================================================================
   MASONRY GRID: Natural Aspect Ratios (NO CROPPING) + MUSEUM LIGHTING
   ========================================================================== */
.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem 7rem;
}

.masonry-grid {
    columns: 3 340px;
    column-gap: 2.25rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2.25rem;
    cursor: pointer;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease,
                opacity 0.4s ease;
    opacity: 1;
}

.masonry-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-subtle);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 35px rgba(197, 168, 128, 0.05);
}

/* Estado de filtrado JS */
.masonry-item.is-fading {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

.masonry-item.is-hidden {
    display: none !important;
}

.image-frame {
    position: relative;
    overflow: hidden;
    background: #090807;
}

.image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(197, 168, 128, 0.04) 0%, transparent 75%);
    pointer-events: none;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.masonry-item:hover img {
    transform: scale(1.025);
}

.item-info {
    padding: 1.1rem 1.1rem 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border-top: 1px solid var(--border-light);
    background: #11100f;
}

.item-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

.item-date {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

/* ==========================================================================
   MINIMALIST LIGHTBOX: Museum Darkroom & Keyboard Controls
   ========================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: var(--spotlight-modal);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 3rem 2.25rem;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-topbar {
    width: 100%;
    max-width: 1500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.lightbox-counter {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.lightbox-close {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.75rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.lightbox-close:hover {
    transform: scale(1.15);
    color: var(--accent);
}

.lightbox-viewport {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
    padding: 0.5rem 0;
    min-height: 0;
}

.lightbox-img {
    max-width: min(88vw, 1200px);
    max-height: min(58vh, calc(100vh - 290px));
    object-fit: contain;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(197, 168, 128, 0.04);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 19, 18, 0.6);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s, transform 0.25s, border-color 0.25s, color 0.25s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(197, 168, 128, 0.15);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-50%) scale(1.08);
}

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

.lightbox-details {
    width: 100%;
    max-width: 950px;
    text-align: center;
    padding-top: 0.6rem;
    padding-bottom: 0.5rem;
    flex-shrink: 0;
    z-index: 10;
}

.lightbox-swipe-hint {
    display: none;
}

.lightbox-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

.lightbox-caption {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* FASE 4: BOTÓN WHATSAPP CONTEXTUAL DENTRO DEL LIGHTBOX */
.lightbox-inquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    margin-bottom: 0.25rem;
    padding: 0.65rem 1.5rem;
    background: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-inquire-btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 168, 128, 0.2);
}

/* ==========================================================================
   GALLERY CONTACT STRIP: Fine Art Acquisitions
   ========================================================================== */
.gallery-contact-strip {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem 4rem;
}

.contact-strip-card {
    background: radial-gradient(circle at 75% 30%, #171513 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-subtle);
    padding: 3.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.contact-strip-info {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.strip-meta {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.strip-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--text-main);
    font-weight: 400;
}

.strip-desc {
    font-size: 0.88rem;
    color: #9d968b;
    line-height: 1.6;
}

.strip-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
    white-space: nowrap;
}

.strip-btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.strip-btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   SERIES NAVIGATION FOOTER: Switch Between Galleries
   ========================================================================== */
.series-nav-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 4rem 6rem;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.series-nav-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.series-nav-item:hover {
    transform: translateY(-4px);
}

.series-nav-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.series-nav-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.series-nav-item:hover .series-nav-title {
    color: var(--accent-light);
}

/* ==========================================================================
   FASE 4: BOTÓN FLOTANTE Y MODAL DE CONSERJERÍA GLOBAL
   ========================================================================== */
.concierge-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 850;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1.35rem;
    background: rgba(20, 19, 18, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 40px;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.concierge-trigger .trigger-icon {
    color: var(--accent);
    font-size: 0.95rem;
    line-height: 1;
}

.concierge-trigger:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(197, 168, 128, 0.15);
}

/* Modal de Conserjería con elemento <dialog> nativo */
dialog.concierge-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    background: transparent;
    border: none;
    max-width: 580px;
    width: 92%;
    height: fit-content;
    max-height: 90vh;
    overflow: visible;
    z-index: 1100;
    color: var(--text-main);
}

dialog:not([open]) {
    display: none !important;
}

dialog.concierge-modal:modal {
    overscroll-behavior: contain;
}

dialog.concierge-modal::backdrop {
    background: rgba(8, 7, 6, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    overscroll-behavior: contain;
}

.concierge-modal-inner {
    position: relative;
    padding: 2.75rem;
    background: #141312;
    border: 1px solid var(--border-subtle);
    border-radius: 2px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 0 0 60px rgba(197, 168, 128, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.concierge-modal-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 2rem;
}

.concierge-modal-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.concierge-modal-title {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 400;
    color: var(--text-main);
    letter-spacing: -0.3px;
}

.concierge-modal-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.concierge-modal-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.concierge-modal-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.concierge-menu {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.5rem;
}

.concierge-option {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.35rem 1.5rem;
    background: #191816;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.concierge-option:hover {
    border-color: var(--accent);
    background: #201e1b;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.concierge-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.concierge-option-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.concierge-option-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.concierge-option-action {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.25s ease;
}

.concierge-option:hover .concierge-option-action {
    color: var(--accent-light);
    transform: translateX(3px);
}

.concierge-option-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.concierge-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-subtle);
}

/* ==========================================================================
   RESPONSIVE DESIGN: Tablet (< 992px) & Mobile (< 600px)
   ========================================================================== */
@media (max-width: 992px) {
    .interior-header {
        padding: 0 2rem;
        height: 68px;
    }
    .gallery-hero {
        padding: 8rem 2rem 3rem;
    }
    .gallery-filter-wrapper {
        padding: 0 2rem 2rem;
    }
    .gallery-container {
        padding: 0 2rem 5rem;
    }
    .gallery-contact-strip {
        padding: 0 2rem 3rem;
    }
    .contact-strip-card {
        padding: 2.5rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .strip-actions {
        align-items: flex-start;
    }
    .masonry-grid {
        columns: 2 260px;
        column-gap: 1.5rem;
    }
    .masonry-item {
        margin-bottom: 1.5rem;
    }
    .lightbox {
        padding: 1.5rem;
    }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }
    .series-nav-footer {
        padding: 4rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    .concierge-trigger {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.15rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 600px) {
    .interior-header {
        padding: 0 1.25rem;
        height: 60px;
    }
    .breadcrumbs {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
    .breadcrumbs .breadcrumb-parent {
        display: none;
    }
    .gallery-hero {
        padding: 6rem 1.25rem 2rem;
    }
    .hero-meta {
        font-size: 0.7rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .gallery-filter-wrapper {
        padding: 0 1.25rem 1.75rem;
    }
    .gallery-filter-bar {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.45rem 0.95rem;
        font-size: 0.68rem;
    }
    .gallery-container {
        padding: 0 1.25rem 4rem;
    }
    .gallery-contact-strip {
        padding: 0 1.25rem 2.5rem;
    }
    .contact-strip-card {
        padding: 2rem 1.25rem;
        gap: 1.5rem;
    }
    .strip-title {
        font-size: 1.4rem;
    }
    .masonry-grid {
        columns: 1;
        column-gap: 0;
    }
    .masonry-item {
        margin-bottom: 1.5rem;
    }
    .item-info {
        padding: 0.9rem 0.85rem;
    }
    .lightbox {
        padding: 1.25rem 1rem 1.5rem;
    }
    .lightbox-img {
        max-height: 54vh;
        max-width: 96vw;
    }
    .lightbox-prev, .lightbox-next {
        display: flex;
        width: 44px;
        height: 64px;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        color: var(--text-main);
        font-size: 2.1rem;
        font-weight: 300;
        line-height: 1;
        opacity: 0.35;
        transition: opacity 0.25s ease, color 0.25s ease, transform 0.2s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        z-index: 25;
        padding: 0;
    }
    .lightbox-prev:active, .lightbox-next:active {
        opacity: 0.95;
        color: var(--accent);
        background: transparent;
        transform: translateY(-50%) scale(1.15);
    }
    .lightbox-prev {
        left: 0.2rem;
    }
    .lightbox-next {
        right: 0.2rem;
    }
    .lightbox-swipe-hint {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        margin-bottom: 0.55rem;
        font-family: var(--font-mono);
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--accent);
        opacity: 0.88;
        user-select: none;
        pointer-events: none;
    }
    .lightbox-swipe-hint .swipe-arrow {
        font-size: 0.82rem;
        line-height: 1;
        opacity: 0.75;
    }
    .lightbox-swipe-hint .swipe-arrow-prev {
        animation: swipeHintLeft 2.4s ease-in-out infinite;
    }
    .lightbox-swipe-hint .swipe-arrow-next {
        animation: swipeHintRight 2.4s ease-in-out infinite;
    }
    .lightbox-caption {
        font-size: 0.8rem;
    }
    .lightbox-inquire-btn {
        padding: 0.65rem 0.95rem;
        font-size: 0.64rem;
        letter-spacing: 0.08em;
        white-space: nowrap;
        max-width: 94vw;
        box-sizing: border-box;
    }
    dialog.concierge-modal {
        padding: 0;
        width: 94%;
        max-height: 94vh;
    }
    .concierge-modal-inner {
        padding: 2rem 1.35rem;
        gap: 1.25rem;
        max-height: 90vh;
    }
    .concierge-modal-title {
        font-size: 1.4rem;
    }
    .concierge-trigger {
        bottom: 1.25rem;
        right: 1.25rem;
        padding: 0.7rem 1.1rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 380px) {
    .lightbox-inquire-btn {
        font-size: 0.58rem;
        padding: 0.6rem 0.75rem;
        letter-spacing: 0.05em;
    }
}

@keyframes swipeHintLeft {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.55;
    }
    50% {
        transform: translateX(-4px);
        opacity: 1;
    }
}

@keyframes swipeHintRight {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.55;
    }
    50% {
        transform: translateX(4px);
        opacity: 1;
    }
}
