/* ==========================================================================
   Esposa de Leyenda - Estilos Globales
   ========================================================================== */

:root {
    /* Paleta de Colores */
    --color-white: #FFFFFF;
    --color-off-white: #FAFAFA;
    --color-gold: #C9A962;
    --color-gold-dark: #B8953A;
    --color-charcoal: #2C2C2C;
    --color-charcoal-light: #4A4A4A;
    
    /* Tipografías */
    --font-edwardian: "ITC Edwardian Script", "Edwardian Script ITC", "Pinyon Script", cursive;
    --font-serif: "Cormorant Garamond", serif;
    --font-body: "Montserrat", sans-serif;
    
    /* Variables de Diseño */
    --section-padding: 6rem 0;
    --container-max: 1200px;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Navegación & Header
   ========================================================================== */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    background: transparent;
    transition: background var(--transition-smooth), padding var(--transition-smooth);
}

/* Visibilidad en páginas con fondo claro/internas */
.page-inner .header {
    background: rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 20px rgba(44, 44, 44, 0.08);
    backdrop-filter: blur(10px);
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.logo img {
    height: 100px;
    width: auto;
    transition: transform var(--transition-smooth);
}

.header.scrolled .logo img { height: 100px; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    transition: all var(--transition-smooth);
}

.header.scrolled .nav-menu a { 
    color: var(--color-charcoal); 
}

.nav-menu a:hover,
.nav-menu a.current {
    background: var(--color-gold);
    color: var(--color-white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

.header.scrolled .nav-toggle span { 
    background: var(--color-charcoal); 
}

/* ==========================================================================
   Heros (Principal e Internos)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background-color: var(--color-charcoal);
}

.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.page-hero {
    min-height: 65vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.45em;
    color: #FFFFFF !important;
    margin-bottom: 1rem;
    opacity: 1;
    font-weight: 600;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-edwardian);
    font-size: clamp(5rem, 15vw, 10rem);
    color: var(--color-gold);
    font-weight: 400;
    line-height: 0.8;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1), 0 0 5px rgba(201, 169, 98, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: #FFFFFF !important;
    letter-spacing: 0.1em;
    max-width: 650px;
    margin: 0 auto 3rem;
    opacity: 1 !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    z-index: 2;
    opacity: 0.8;
}

.hero-scroll span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    margin: 0 auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
    transform: translateY(-3px);
}

/* ==========================================================================
   Secciones Generales & Servicios
   ========================================================================== */

.section { padding: var(--section-padding); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.section-label {
    display: block;
    text-align: center;
    margin-bottom: 0.8rem;
    font-family: var(--font-body);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
}

.section-title {
    font-family: var(--font-edwardian);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.1;
}

.section-services-page { padding-top: 140px !important; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(201, 169, 98, 0.15);
    transition: all var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.service-icon-new {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-charcoal-light);
    line-height: 1.8;
}

/* ==========================================================================
   Nosotros / About
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-frame {
    aspect-ratio: 4/5;
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.about-image-frame::after {
    content: '';
    position: absolute;
    top: 30px; left: 30px; right: -30px; bottom: -30px;
    border: 1px solid var(--color-gold);
    z-index: -1;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal-light);
}

.about-features {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-gold-dark);
}

/* ==========================================================================
   Colecciones (CORREGIDO: LETRA EDWARDIAN Y ZOOM)
   ========================================================================== */

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.collection-card {
    display: block;
    position: relative;
    aspect-ratio: 3/4; /* Esto le da la forma vertical de la imagen */
    overflow: hidden;
    text-decoration: none;
}

.collection-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
    display: flex; /* Para centrar el overlay */
}

.collection-overlay {
    position: absolute;
    inset: 0;
    /* Degradado sutil: transparente arriba, negro semitransparente abajo para leer el texto */
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: background 0.4s ease;
}

.collection-overlay h3 {
    font-family: var(--font-edwardian);
    font-size: 3.0rem;
    color: var(--color-gold);
    margin-bottom: 5px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.collection-overlay p {
    color: #FFFFFF !important; /* Forzamos el color blanco */
    font-size: 0.95rem;
    font-family: var(--font-body);
    padding: 0 20px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Sombra para máxima legibilidad */
    margin-top: 10px;
    opacity: 1;
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.collection-card:hover .collection-image {
    transform: scale(1.1);
}

/* ==========================================================================
   Galería (UNIFICADO Y LIGHTBOX)
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item { 
    overflow: hidden; 
    position: relative; 
    aspect-ratio: 3/4; /* Todas las tarjetas iguales */
    cursor: pointer;
}

.gallery-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover .gallery-img { transform: scale(1.08); }

/* Estilos del Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
}

/* ==========================================================================
   Botón de Navegación Galería
   ========================================================================== */

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-charcoal);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 10px 20px;
    border-bottom: 1px solid var(--color-gold);
    transition: all var(--transition-smooth);
}

.btn-back .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-back:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-charcoal);
}

.btn-back:hover .arrow {
    transform: translateX(-5px);
}

/* ==========================================================================
   Sección Contacto (Elegancia & Formulario)
   ========================================================================== */

.section-contact {
    background-color: var(--color-off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid rgba(201, 169, 98, 0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

/* Columna de Información */
.contact-info .section-label {
    text-align: left;
    margin-left: 0;
}

.contact-info .section-title {
    text-align: left;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--color-charcoal-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-gold);
}

.contact-details strong {
    font-family: var(--font-serif);
    color: var(--color-charcoal);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.2rem;
}

/* Estilo del Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-charcoal-light);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #EAEAEA;
    background: var(--color-off-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    outline: none;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 10px rgba(201, 169, 98, 0.1);
}

.contact-form .btn-primary {
    width: 100%;
    cursor: pointer;
    border: none;
    margin-top: 1rem;
}

/* Ajuste Responsivo para Contacto */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 3rem;
    }
    
    .contact-info .section-title,
    .contact-info .section-label {
        text-align: center;
    }
    
    .contact-details p {
        border-left: none;
        border-bottom: 1px solid rgba(201, 169, 98, 0.2);
        padding-left: 0;
        padding-bottom: 1rem;
        text-align: center;
    }
}

/* ==========================================
   6.  BOTÓN FLOTANTE DE WHATSAPP FIJO
   ========================================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 40px !important;
    right: 20px !important;
    background-color: #25D366 !important;
    color: #FFF !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 30px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important; /* Elimina cualquier línea o subrayado */
    transition: all 0.3s ease !important;
}

.whatsapp-float:hover {
    background-color: #20ba5a !important;
    transform: scale(1.1) !important;
    color: #FFF !important;
    text-decoration: none !important; /* Asegura que tampoco aparezca al pasar el mouse */
}

/* ==========================================================================
   FOOTER (AJUSTADO: SÚPER COMPACTO Y NEGRO)
   ========================================================================== */

.footer {
    background: #000000;
    color: var(--color-white);
    padding: 1.5rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-brand .logo {
    font-family: var(--font-edwardian);
    font-size: 1.8rem;
    color: var(--color-gold);
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-brand .logo img {
    height: 60px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.8rem;
    opacity: 0.7;
    max-width: 280px;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.footer-links h4, 
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.3rem; }

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: all var(--transition-smooth);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-gold);
    padding-left: 3px;
}

.footer-contact p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.footer-contact strong {
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social a {
    color: var(--color-white);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 5px; 
}

.footer-social svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-social a[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-social a[aria-label="Facebook"]:hover { color: #1877F2; transform: translateY(-2px); }
.footer-social a[aria-label="WhatsApp"]:hover { color: #25D366; transform: translateY(-2px); }
.footer-social a[aria-label="Pinterest"]:hover { color: #BD081C; transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-credit a { color: var(--color-gold); text-decoration: none; }

/* Barra inferior: Distribución izquierda / derecha */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 15px;
    border-top: 1px solid rgba(248, 247, 247, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Lado izquierdo alineado y estilizado */
.footer-bottom-left p {
    font-size: 0.75rem;
    color: #C9A962;
    margin: 0;
    text-align: left;
}

.footer-bottom-left a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-left a:hover {
    text-decoration: underline;
}

/* Lado derecho (Términos y Privacidad) */
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-right a {
    font-size: 0.75rem;
    color: #C9A962;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: var(--gold-color);
}

.footer-bottom-right .separator {
    color: #C9A962;
    font-size: 0.75rem;
}

/* ==========================================
   8. ESTILOS DE LAS VENTANAS MODALES LEGALES
   ========================================== */
.legal-modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro difuminado */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.legal-modal-content {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #EAE5D9;
    display: flex;
    flex-direction: column;
    padding: 30px 40px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cabecera del modal: Centrada para destacar el logo */
.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: relative;
}

.modal-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Logo más grande y con control estricto de espacios */
.modal-logo {
    width: 200px; /* Puedes subirlo a 110px o 120px si lo quieres más grande */
    height: auto; /* Mantiene la proporción natural sin forzar cajas cuadradas vacías */
    max-height: 90px;
    object-fit: contain;
    display: block;
}

.modal-brand span {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    color: var(--gold-color, #C5A059);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Botón de cierre (X) posicionado de forma absoluta en la esquina superior derecha */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f8f5f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #C5A059;
    color: #FFFFFF;
}

/* Título centrado */
.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #2C2C2C;
    text-align: center;
    margin: 0 0 10px 0;
}

.legal-modal-content .gold-divider {
    width: 60px;
    height: 2px;
    background-color: #C5A059;
    margin: 0 auto 20px auto;
}

/* Cuerpo con scroll interno */
.modal-body-text {
    overflow-y: auto;
    padding-right: 10px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.modal-body-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: #C5A059;
    margin-top: 20px;
    margin-bottom: 8px;
}

.modal-body-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
}

/* Pie de página del modal y el botón dorado */
.modal-footer {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.btn-solid-gold {
    background-color: var(--gold-color, #C5A059);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.btn-solid-gold:hover {
    background-color: #b08d4c;
    transform: translateY(-1px);
}

/* ==========================================================================
   Animaciones & Media Queries
   ========================================================================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .gallery-grid, .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; z-index: 1100; }
    .hero-title { font-size: 3.5rem; }
    .gallery-grid, .collections-grid, .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .footer-brand .logo, .footer-tagline { margin-left: auto; margin-right: auto; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ==========================================
   Estilos para el Modal con Imagen de la Expo
   ========================================== */
.expo-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    
    /* Oculto por defecto */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Esta clase es la que activa el JavaScript para mostrarlo */
.expo-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.expo-modal-content-img {
    background: transparent;
    width: 100%;
    max-width: 500px;
    position: relative;
    outline: none;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.expo-modal-overlay.show .expo-modal-content-img {
    transform: translateY(0);
}

.expo-flyer-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border: 2px solid var(--color-gold);
}

.expo-modal-content-img .expo-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--color-white);
    color: var(--color-charcoal);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

.expo-modal-content-img .expo-modal-close:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ==========================================================================
   RESPONSIVE DESIGN Y MEDIA QUERIES (Celulares, Tablets, Laptops y TVs)
   ========================================================================== */

/* 1. Pantallas Gigantes / Televisores (Ancho mayor a 1400px)
   Evita que los contenedores principales se estiren excesivamente en monitores grandes. */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 2. Laptops medianas y Tablets grandes (Ancho menor o igual a 1024px)
   Ajusta las cuadrículas de 4 o 3 columnas a 2 para mantener proporciones óptimas. */
@media (max-width: 1024px) {
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

/* 3. Tablets pequeñas y Dispositivos de transición (Ancho menor o igual a 992px)
   Adapta los diseños de dos columnas a una sola (como en la sección de contacto). */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 3rem;
    }
    
    .contact-info .section-title,
    .contact-info .section-label {
        text-align: center;
    }
    
    .contact-details p {
        border-left: none;
        border-bottom: 1px solid rgba(201, 169, 98, 0.2);
        padding-left: 0;
        padding-bottom: 1rem;
        text-align: center;
    }
}

/* 4. Celulares Grandes y Tablets Verticales (Ancho menor o igual a 768px)
   Configura el menú móvil desplegable (hamburguesa) y apila las cuadrículas en una sola columna. */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    /* Navegación Móvil */
    .nav-toggle { 
        display: flex; 
        z-index: 1100; 
    }
    
    .nav-menu {
        position: fixed;
        top: 0; 
        right: -100%;
        width: 85%; 
        max-width: 350px;
        height: 100vh;
        background: rgba(44, 44, 44, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .nav-menu.active { 
        right: 0; 
    }

    .nav-menu a {
        color: var(--color-white) !important;
        font-size: 1rem;
    }

    /* Animación del botón hamburguesa a "X" */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: var(--color-gold);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: var(--color-gold);
    }

    /* Tipografías y Secciones adaptadas */
    .hero-title { 
        font-size: 3.5rem; 
    }
    
    .section-title {
        font-size: 3.2rem;
    }

    .gallery-grid, 
    .collections-grid, 
    .services-grid { 
        grid-template-columns: 1fr; 
    }

    /* Footer adaptado a móvil */
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        text-align: center; 
    }
    
    .footer-brand .logo, 
    .footer-tagline { 
        margin-left: auto; 
        margin-right: auto; 
    }
    
    .footer-social { 
        justify-content: center; 
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 0.5rem; 
        text-align: center; 
    }

    /* Marcos decorativos en móviles */
    .about-image-frame::after {
        top: 15px; 
        left: 15px; 
        right: -15px; 
        bottom: -15px;
    }
}

/* 5. Celulares Pequeños (Ancho menor o igual a 480px)
   Ajustes de márgenes y tamaños para pantallas compactas. */
@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .legal-modal-content {
        padding: 20px;
        max-height: 90vh;
    }
}