 
:root {
    /* Colores inspirados en museo/terracota */
    --color-primary: #8B4513; /* Sienna */
    --color-secondary: #D2691E; /* Chocolate */
    --color-accent: #CD5C5C; /* Indian Red */
    --color-light: #F5F5F5;
    --color-dark: #333333;
    --color-white: #FFFFFF;
    --color-gray: #808080;
    --color-gray-light: #E0E0E0;
    --color-gray-dark: #4A4A4A;
    
    /* Tipografía */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    /* Espaciado */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Bordes */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

 
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }
.gap-5 { gap: var(--spacing-xl); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-light); }
.bg-primary { background-color: var(--color-primary); }
.bg-dark { background-color: var(--color-dark); }

.text-white { color: var(--color-white); }
.text-dark { color: var(--color-dark); }
.text-primary { color: var(--color-primary); }
.text-gray { color: var(--color-gray); }
.text-gray-dark { color: var(--color-gray-dark); }

.font-heading { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.cursor-pointer { cursor: pointer; }
.transition-all { transition: all var(--transition-normal); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

 
/* LOADER GLOBAL */
 
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-normal);
}

.global-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.global-loader h3 {
    color: #333;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    text-align: center;
}

.global-loader p {
    color: #666;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 3vw, 1rem);
    padding: 0 var(--spacing-sm);
}

#loader-progress {
    margin-top: var(--spacing-lg);
    width: clamp(150px, 60vw, 200px);
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

#loader-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.loader-spinner {
    width: clamp(50px, 15vw, 60px);
    height: clamp(50px, 15vw, 60px);
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-md);
    margin-left: 30px;  
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

 
/* ESTILOS GENERALES */
 
section {
    padding: var(--spacing-xxl) 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 5vw, 2rem);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all var(--transition-fast);
    gap: var(--spacing-sm);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-light);
    color: var(--color-dark);
    border: 1px solid var(--color-gray-light);
}

.btn-secondary:hover {
    background-color: var(--color-gray-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}
 
/* HEADER Y NAVEGACIÓN */
 
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-light);
    padding: var(--spacing-md) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

 
/* HERO SECTION (Pantalla de bienvenida) */
 
.hero-section {
   
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.85) 0%, rgba(45, 45, 45, 0.7) 100%),url('https://escultordanielguido.com/static/images/header.png'); 
    background-size: cover;          
    background-position: center;      
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: var(--spacing-xxl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-description {
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    opacity: 0.8;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* ============================================= */
/* ABOUT SECTION (Sobre el artista) */
/* ============================================= */
.about-section {
    background-color: var(--color-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-text {
    padding: var(--spacing-xl);
}

.about-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.about-description {
    color: var(--color-gray-dark);
    line-height: 1.8;
}

/* ============================================= */
/* MODE SELECTION SECTION (Elige tu experiencia) */
/* ============================================= */
.mode-section {
    background: linear-gradient(180deg, var(--color-white) 0%, #fafafa 50%, #f5f0eb 100%);
    padding: var(--spacing-xxl) 0;
}

.mode-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.mode-subtitle {
    color: var(--color-gray);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.mode-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .mode-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.mode-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafaf9 100%);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 1.5rem;
    padding: 2rem 1.8rem;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9a96e, #d4b85f, #8b6914);
    opacity: 0;
    transition: opacity 0.45s;
}

.mode-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(201,169,110,0.12);
    border-color: rgba(201, 169, 110, 0.35);
}

.mode-card:hover::before {
    opacity: 1;
}

.mode-card.coming-soon {
    opacity: 0.75;
}

.mode-card.coming-soon:hover {
    opacity: 0.9;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(146,64,14,0.1);
}

.mode-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #faf8f5, #f0ede6);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: #c9a96e;
    font-size: 1.6rem;
    transition: all 0.4s;
    box-shadow: 0 4px 12px rgba(201,169,110,0.08);
}

.mode-card:hover .mode-icon {
    background: linear-gradient(135deg, #c9a96e, #a67c3d);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(201,169,110,0.25);
}

.mode-card-title {
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1510;
}

.mode-card-description {
    color: #5c554b;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    line-height: 1.6;
}

.mode-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9a96e;
    font-weight: 600;
    margin-top: auto;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: 2rem;
    transition: all 0.35s;
    align-self: flex-start;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.mode-card-link:hover {
    background: #c9a96e;
    color: #fff;
    border-color: #c9a96e;
    box-shadow: 0 6px 20px rgba(201,169,110,0.3);
}

.mode-card-link.coming-soon {
    color: #8b949e;
    border-color: rgba(139,148,158,0.2);
}

.mode-card-link.coming-soon:hover {
    background: #f0f0f0;
    color: #5c554b;
    border-color: #d0d0d0;
    box-shadow: none;
}

/* ============================================= */
/* GALLERY SECTION */
/* ============================================= */
.gallery-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-light);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
}

.gallery-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-title-section {
    text-align: center;
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.gallery-intro {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-gray-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.sculpture-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.sculpture-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sculpture-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.sculpture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.sculpture-card:hover .sculpture-image img {
    transform: scale(1.05);
}

.sculpture-info {
    padding: var(--spacing-lg);
}

.sculpture-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.sculpture-artist {
    color: var(--color-primary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.sculpture-meta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.meta-tag {
    background: var(--color-light);
    color: var(--color-gray-dark);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 9999px;
    font-size: 0.75rem;
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
.main-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-xxl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xxl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}
/* ============================================= */
/* LIGTHBOX
/* ============================================= */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    width: 100%;
    max-width: 1200px;
    max-height: 95vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    .lightbox-content {
        grid-template-columns: 1fr 1fr;
    }
}

.lightbox-overlay.active .lightbox-content {
    transform: translateY(0);
}

/* Imagen */
.lightbox-image-container {
    position: relative;
    height: 50vh;
    background: #f8f8f8;
    overflow: hidden;
}

@media (min-width: 992px) {
    .lightbox-image-container {
        height: 100%;
        min-height: 70vh;
    }
}

#lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Loading */
.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 115, 85, 0.3);
    border-top: 4px solid #8b7355;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.lightbox-image-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

/* Controles */
.lightbox-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    transform: scale(1.1);
}

.lightbox-prev i,
.lightbox-next i {
    color: #1a1a1a;
    font-size: 1.2rem;
}

/* Botón cerrar */
#lightbox-close,
button.lightbox-close {
    all: unset !important; /* Reset de todos los estilos heredados */
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    transition: all 0.2s ease !important;
    pointer-events: auto !important;
}

#lightbox-close:hover,
button.lightbox-close:hover {
    background: #8b7355 !important;
    transform: rotate(90deg) !important;
}

#lightbox-close i,
button.lightbox-close i {
    font-size: 1.2rem !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    pointer-events: none !important; /* El click pasa al botón */
}

/* Remover cualquier interferencia del header */
.lightbox-overlay .btn-outline,
.lightbox-overlay .btn-primary,
#lightbox .btn-outline,
#lightbox .btn-primary {
    all: unset !important; /* Reset completo */
}

/* Asegurar que el área del botón sea clickeable */
#lightbox-close::before,
button.lightbox-close::before {
    content: "" !important;
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    bottom: -10px !important;
    left: -10px !important;
    z-index: -1 !important;
}
/* Detalles */
.lightbox-details {
    padding: 2rem;
    overflow-y: auto;
    max-height: 45vh;
}

@media (min-width: 992px) {
    .lightbox-details {
        max-height: 70vh;
    }
}

.lightbox-artist {
    color: #8b7355;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 600;
}

.lightbox-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.lightbox-tag {
    background: #f8f8f8;
    color: #777777;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.lightbox-description {
    color: #777777;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* WhatsApp button */
.lightbox-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.lightbox-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* Counter */
.lightbox-counter {
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .lightbox-image-container {
        height: 40vh;
    }
    
    .lightbox-details {
        max-height: 60vh;
        padding: 1.5rem;
    }
    
    .lightbox-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .lightbox-details {
        padding: 1rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }
    
    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* ============================================= */
/* HEADER GALLERY 
/* ============================================= */

.gallery-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.gallery-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 4rem;
    padding: 0 0.5rem;
    gap: 0.5rem;
    width: 100%;
}

 
 
.btn-outline .hidden.sm\:inline,
.btn-primary .hidden.sm\:inline {
    display: none; /* Oculta en móviles por defecto */
}

/* Solo mostrar texto en desktop (≥ 640px) */
@media (min-width: 640px) {
    .btn-outline .hidden.sm\:inline,
    .btn-primary .hidden.sm\:inline {
        display: inline-block !important; /* Muestra en desktop */
    }
}

/* ICONOS DE RESPALDO PARA LUCIDE */
.btn-outline i[data-lucide],
.btn-primary i[data-lucide] {
    display: inline-block !important;
    width: 1rem !important;
    height: 1rem !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

/* Crear iconos de respaldo usando pseudo-elementos */
.btn-outline i[data-lucide]::before,
.btn-primary i[data-lucide]::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-color: currentColor !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* Flecha izquierda para el botón Volver */
.btn-outline i[data-lucide="arrow-left"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E") !important;
}

/* Icono de enlace externo para Contactar */
.btn-primary i[data-lucide="external-link"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6M15 3h6v6M10 14 21 3'/%3E%3C/svg%3E") !important;
}

/* Título ajustado para dar espacio */
.font-heading {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    max-width: 50%; /* Más espacio ahora que solo hay iconos */
    text-align: center;
    margin: 0;
}

/* Botón Volver - versión solo icono en móviles */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: #4b5563;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
}

/* Botón WhatsApp - versión solo icono en móviles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    min-width: fit-content;
    flex-shrink: 0;
}

.btn-outline:hover {
    background: #f3f4f6;
    color: #374151;
}

.btn-primary:hover {
    background: #1da851;
}

/* Móviles muy pequeños (< 400px) */
@media (max-width: 399px) {
    .font-heading {
        font-size: 0.75rem;
        max-width: 60%; /* Más espacio para solo iconos */
    }
    
    .btn-outline,
    .btn-primary {
        padding: 0.5rem;
        gap: 0;
    }
    
    .btn-outline i[data-lucide],
    .btn-primary i[data-lucide] {
        width: 1.125rem !important;
        height: 1.125rem !important;
    }
}

/* Móviles normales (400px - 639px) */
@media (min-width: 400px) and (max-width: 639px) {
    .font-heading {
        font-size: 0.875rem;
        max-width: 55%;
    }
    
    .btn-outline,
    .btn-primary {
        padding: 0.5rem;
    }
}

/* DESKTOP (640px+) - Mostrar texto + iconos */
@media (min-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .gallery-header-content {
        padding: 0 1rem;
    }
    
    .font-heading {
        font-size: 1.125rem;
        max-width: none;
        white-space: normal;
    }
    
    /* Botones con texto en desktop */
    .btn-outline,
    .btn-primary {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        font-size: 0.875rem;
    }
    
    .btn-outline i[data-lucide],
    .btn-primary i[data-lucide] {
        width: 1rem !important;
        height: 1rem !important;
    }
}

/* Desktop grande (768px+) */
@media (min-width: 768px) {
    .font-heading {
        font-size: 1.25rem;
    }
}

 
/* ============================================= */
/* MODAL AR */
/* ============================================= */
.ar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.ar-modal.active {
    display: flex;
}

.ar-modal-content {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.ar-modal-icon {
    width: 80px;
    height: 80px;
    background: #FEF3C7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    color: #92400E;
}

/* ============================================= */
/* RESPONSIVE */
/* ============================================= */
@media (max-width: 768px) {
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-features {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .lightbox-content {
        flex-direction: column;
        max-height: 95vh;
    }
    
    .lightbox-details {
        max-height: 50vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        width: 100%;
    }
    
    .mode-card {
        padding: var(--spacing-lg);
    }

    /* Lazy loading styles */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: #f0f0f0;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Skeleton loading para imágenes */
.sculpture-image {
    position: relative;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.sculpture-image img {
    position: relative;
    z-index: 1;
}

.sculpture-image img.loaded {
    background: none;
    animation: none;
}

/* Mejoras de accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Mejoras de rendimiento */
* {
    -webkit-tap-highlight-color: transparent;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Reduce repaints */
.will-change-transform {
    will-change: transform;
}
}
/* Overlay de experiencia inmersiva */
.immersive-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Botón de salida mínimo */
.immersive-exit {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.immersive-exit:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* Frases flotantes */
.immersive-quotes {
    position: fixed;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    max-width: 600px;
    padding: 0 2rem;
}

.immersive-quotes p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 212, 163, 0.7);
    text-shadow: 0 0 20px rgba(255, 212, 163, 0.3);
    letter-spacing: 0.5px;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Indicador de navegación */
.immersive-nav-hint {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeHint 4s ease-in-out infinite;
}

@keyframes fadeHint {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Transición cinematográfica entre modos */
.cinematic-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cinematic-transition.active {
    opacity: 1;
}