/* --- VARIABLES & THEME (Basado en tailwind.config.ts) --- */
:root {
    /* Colores HSL convertidos */
    --gold: #b59058;          /* hsl(34, 37%, 53%) */
    --gold-light: #d6bda8;    /* hsl(34, 30%, 70%) */
    --cream:  #eee7e4;         /* hsl(22, 20%, 91%) */
    --cream-light: #f5f2f0;   /* hsl(22, 20%, 96%) */
    --charcoal: #2b2929;      /* hsl(0, 5%, 16%) */
    --charcoal-light: #4d4a4a; /* hsl(0, 3%, 30%) */
    
    --foreground: #2b2929;
    --muted: #666666;
    
    /* Fuentes */
    --font-heading: 'Livvic', sans-serif;
    --font-body: 'Noto Sans', sans-serif;

    /* Espaciado y Layout */
    --container-width: 1200px;
    --section-padding: 6rem 1.5rem;
}

/* --- RESET BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- SPLASH LOADER --- */
.splash-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo {
    width: clamp(80px, 15vw, 160px);
    height: auto;
    animation: splashPulse 1.5s ease-in-out infinite;
}

@keyframes splashPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-light);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

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

ul {
    list-style: none;
}

/* --- UTILIDADES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gold { color: var(--gold); }
.text-accent { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-muted { color: var(#eee7e4); }
.text-center { text-align: center; }
.bg-charcoal { background-color: var(--charcoal); }
.bg-cream-light { background-color:  #eee7e4; }
.bg-white { background-color: #ffffff; }
.mt-8 { margin-top: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-accent {
    background-color: var(--gold);
    color: white;
}
.btn-accent:hover {
    background-color: var(--gold-light);
}

.btn-outline {
    border-color: var(--cream-light);
    color: var(--cream-light);
}
.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 242, 240, 0.9); /* Cream light con transparencia */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: auto;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 50;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-right: auto;
}
.logo-icon {
    height: 20px;
    width: auto;
    margin-right: 10px;
}
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}
.nav-links a:hover { color: var(--gold); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

/* --- HERO --- */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--cream-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(13, 13, 13, 0.458); /* Charcoal opacity */
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* --- PRODUCTOS (GRID) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
}

.card-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

/* Overlay Hover Effect */
.card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(43, 41, 41, 0.7);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .card-overlay {
    opacity: 1;
}

.card-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.card-overlay h3 {
    font-size: 1.5rem;
    color: var(--cream-light);
    margin-bottom: 0.5rem;
}

.card-models {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

/* Label visible por defecto */
.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(43, 41, 41, 0.8), transparent);
    transition: opacity 0.5s;
}

.product-card:hover .card-label {
    opacity: 0;
}

.card-label p {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.card-label h3 {
    font-size: 1.25rem;
    color: var(--cream-light);
}

/* --- ESPACIOS --- */
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.space-img {
    height: 300px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.space-img img {
    width: 100%;
    transition: transform 0.7s;
}
.space-item:hover .space-img img {
    transform: scale(1.05);
}

.space-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.space-item p {
    color: var(--muted);
}

/* --- CUSTOM DESIGN --- */
.custom-design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem; /* Más espacio entre las dos columnas principales */
    align-items: center;
}

.materials-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.materials-tags span {
    border: 1px solid var(--gold); /* Borde dorado */
    padding: 0.75rem 1.5rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    white-space: nowrap; /* Evita que el texto se rompa en dos líneas */
}

/* Contenedor de las cajas de la derecha */
.custom-stats {
    display: flex;
    flex-direction: column; /* Apila las cajas verticalmente */
    gap: 2rem; /* Espacio entre las dos cajas */
    width: 100%;
}

/* Diseño de cada caja de estadística */
.stat-box {
    /* Eliminado aspect-ratio para que sean rectangulares y anchas */
    padding: 3.5rem 2rem; /* Mucho relleno vertical */
    background-color: var(--charcoal-light); /* Fondo gris oscuro */
    border: 1px solid rgba(255,255,255,0.1); /* Borde sutil claro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; /* Asegura que ocupen todo el ancho de la columna */
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem; /* Número más grande */
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em; /* Más espaciado entre letras */
    color: rgba(255,255,255,0.6); /* Color claro pero no blanco puro */
}

/* Clase utilitaria eliminada del HTML, ya no es necesaria en CSS: .mt-8 { ... } */

/* Ajuste Responsive para esta sección */
@media (max-width: 900px) {
    .custom-design-grid {
        grid-template-columns: 1fr; /* Una sola columna en móviles/tablets */
        gap: 3rem;
    }
}

/* --- CONTACTO --- */
.contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

.contact-links a, .location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--foreground);
    font-size: 0.9rem;
}

.contact-links i {
    color: var(--gold);
}

/* --- FOOTER --- */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: rgba(233, 229, 226, 0.5);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-content > .logo {
    justify-self: start;
}

.footer-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: center;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-light);
    opacity: 0.85;
}

.footer-icon:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-icon svg {
    width: 20px;
    height: 20px;
}

.copyright {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    justify-self: end;
}

/* --- ANIMACIONES & RESPONSIVE --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.mobile-menu {
    display: none;
    background-color: var(--cream-light);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #ccc;
}

.mobile-menu.active {
    display: block;
}

/* --- PRODUCTOS PAGE --- */
.productos-page {
    min-height: 100vh;
    padding-top: 8rem;
}

.catalog-wrapper {
    background-color: var(--cream-light);
    padding: 1rem;
    border: 1px solid var(--gold-light);
}

.catalog-pdf {
    display: block;
    width: 100%;
    height: 80vh;
    aspect-ratio: 8.5 / 11;
    border: none;
}

.catalog-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.catalog-note a {
    color: var(--gold);
    font-weight: 600;
}

.catalog-note a:hover {
    color: var(--gold-light);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .custom-design-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .spaces-grid { grid-template-columns: 1fr; }
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- GALLERY MODAL --- */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.gallery-modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    background-color: var(--cream-light);
    padding: 3rem;
    border-radius: 8px;
    margin: 2rem auto;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0;
    border-radius: 999px;
    transition: background-color 0.3s, color 0.3s;
    z-index: 2010;
}

.gallery-close:hover {
    color: var(--gold-light);
    background: rgba(0, 0, 0, 0.65);
}

.gallery-close svg {
    width: 28px;
    height: 28px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-general-note {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--gold);
    background-color: var(--cream-light);
    border-radius: 6px;
}

.gallery-general-note h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.gallery-general-note p {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.gallery-general-note ul {
    list-style: disc;
    margin-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.gallery-general-note li {
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.note-mobile {
    display: none;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.1);
}

.gallery-item-info {
    padding: 1.5rem;
    text-align: center;
}

.gallery-item-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    font-size: 0.875rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- IMAGE LIGHTBOX --- */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    transition: color 0.3s;
    z-index: 3001;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3001;
    transition: background-color 0.3s, color 0.3s;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.65);
    color: var(--gold-light);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-nav svg {
    width: 30px;
    height: 30px;
}

.lightbox-content {
    width: min(94vw, 1200px);
    max-height: 90vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    background-color: rgba(245, 242, 240, 0.98);
    border-radius: 14px;
    overflow: hidden;
    text-align: left;
}

.lightbox-content img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 78vh;
    margin: 0 auto;
    object-fit: contain;
    background-color: rgba(43, 41, 41, 0.08);
    padding: 1rem;
}

.lightbox-caption {
    color: var(--charcoal);
    font-size: 1rem;
    margin-top: 0;
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    text-align: left;
    padding: 2rem;
}

.lightbox-caption-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--charcoal);
}

.lightbox-caption-meta,
.lightbox-caption-description,
.lightbox-caption-sizes,
.lightbox-caption-materials {
    color: var(--muted);
    text-align: justify;
}

@media (max-width: 900px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-nav svg {
        width: 24px;
        height: 24px;
    }

    .lightbox-content {
        grid-template-columns: 1fr;
        max-height: 92vh;
    }

    .lightbox-content img {
        max-height: 55vh;
    }

    .lightbox-caption {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .image-lightbox {
        padding: 1rem;
    }
}

/* --- RESPONSIVE GALLERY --- */
@media (max-width: 768px) {
    .gallery-close {
        top: 1rem;
        right: 1rem;
    }

    .gallery-modal {
        padding: 1rem;
    }

    .gallery-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
        max-height: calc(100vh - 2rem);
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-item-image {
        height: 200px;
    }

    .note-desktop {
        display: none;
    }

    .note-mobile {
        display: block;
        margin-bottom: 0;
    }
}

/* --- CONTACTO PAGE --- */
.contacto-page {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/fondo1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.contacto-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 41, 41, 0.7);
}

.contacto-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 0;
}

.contacto-form-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(245, 242, 240, 0.98);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contacto-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(43, 41, 41, 0.18);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.contacto-close-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    background-color: #fff;
}

.contacto-close-btn svg {
    width: 20px;
    height: 20px;
}

.contacto-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contacto-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.contacto-description {
    display: none;
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.contacto-form {
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--cream);
    background-color: white;
    color: var(--charcoal);
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.btn-large {
    width: 100%;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.contacto-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--cream);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-item p,
.info-item a {
    font-size: 0.95rem;
    color: var(--muted);
}

.info-item a:hover {
    color: var(--gold);
}

/* --- RESPONSIVE CONTACTO PAGE --- */
@media (max-width: 768px) {
    .contacto-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .contacto-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }
    
    .contacto-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contacto-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contacto-background {
        background-attachment: scroll;
    }
}

/* --- NOSOTROS PAGE --- */
.nosotros-page {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
}

.nosotros-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/fondo2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.nosotros-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
}

.nosotros-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 0;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: self-start;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.story-content {
    margin-bottom: 3rem;
    text-align: justify;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.nosotros-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.value-item i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.value-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--muted);
}

.nosotros-image {
     margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.image-stack {
    margin-top: 50px;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 8px;
    z-index: -1;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- RESPONSIVE NOSOTROS PAGE --- */
@media (max-width: 968px) {
    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nosotros-text {
        order: 2;
    }

    .nosotros-image {
        margin-top: 1rem;
        order: 1;
    }
    
    .nosotros-text h1 {
        font-size: 2.5rem;
    }

    .story-content p {
        font-size: 1rem;
    }

    .nosotros-background {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .nosotros-content {
        padding: 2rem 0;
    }

    .nosotros-text h1 {
        font-size: 2rem;
    }

    .image-wrapper::before {
        display: none;
    }
}

