/* --- Variables de Diseño --- */
:root {
    --bg-color: #FAFAFA; /* Blanco Hueso muy sutil */
    --text-main: #1A1A1A; /* Negro suave */
    --text-light: #666666;
    --accent: #4A5D23; /* Verde Opuntia */
    --font-ui: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --spacing-unit: 2rem;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-ui);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- Navegación --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
.logo { font-weight: 600; letter-spacing: 1px; font-size: 1.2rem; }
.logo .dot { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.9rem; letter-spacing: 0.5px; }

/* --- Hero Section --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Aquí pondrás una foto tuya de fondo o un color sólido */
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('https://source.unsplash.com/1600x900/?cactus,shadow') no-repeat center/cover;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    margin: 1rem 0;
    font-weight: 400;
}
.subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- Botones --- */
.btn-primary { background: var(--text-main); color: #fff; padding: 0.8rem 1.5rem; }
.btn-primary:hover { background: var(--accent); }
.btn-outline { border: 1px solid var(--text-main); padding: 1rem 2rem; display: inline-block; margin-top: 1rem; }
.btn-outline:hover { background: var(--text-main); color: #fff; }

/* --- Galería (El Corazón) --- */
.gallery-section { padding: 5rem 5%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.product-card:hover { transform: translateY(-5px); }
.card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background-color: #eee;
    margin-bottom: 1rem;
}
.card-info h3 { font-size: 1.1rem; font-weight: 500; }
.card-info .price { color: var(--text-light); font-size: 0.95rem; }
.status-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* --- Modal (Ficha Técnica) --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 1000px;
    position: relative;
    padding: 2rem;
}
.close-modal {
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.modal-image img { width: 100%; height: 100%; object-fit: cover; }

/* Tabla de Especificaciones */
.specs-sheet {
    margin: 2rem 0;
    border-top: 1px solid #eee;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}
.btn-buy {
    display: block;
    width: 100%;
    background: var(--text-main);
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-buy:hover { background: var(--accent); }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simplificado para el ejemplo */
    .modal-grid { grid-template-columns: 1fr; }
    .modal-content { height: 90vh; overflow-y: scroll; }
}