:root {
    --gold: #D4AF37;
    --black: #050505;
    --dark-grey: #111111;
    --white: #ffffff;
    --muted: #888888;
    --font-h: 'Cinzel', serif;
    --font-b: 'Montserrat', sans-serif;
    --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-b); overflow-x: hidden; }

/* --- LOADER CORREGIDO (Nítido y Centrado) --- */
#loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--black); z-index: 9999;
    display: flex; 
    justify-content: center; /* Centrado horizontal perfecto */
    align-items: center; /* Centrado vertical perfecto */
    transition: opacity 1s ease;
}
.loader-logo-pulse { 
    font-family: var(--font-h); 
    font-size: 5rem; /* Más grande */
    font-weight: 900; /* Ultra Bold para máxima nitidez */
    color: var(--gold); 
    letter-spacing: 15px; 
    animation: pulse 3s infinite ease-in-out; /* Animación más suave */
}
/* Nueva animación: Solo respiración de luz, sin cambio de tamaño para evitar borrosidad */
@keyframes pulse { 
    0%, 100% { opacity: 0.4; text-shadow: 0 0 10px rgba(212, 175, 55, 0.2); } 
    50% { opacity: 1; text-shadow: 0 0 30px rgba(212, 175, 55, 0.6); } 
}

/* --- NAVBAR --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 35px 6%; position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 15px 6%; background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.logo { font-family: var(--font-h); font-size: 1.8rem; letter-spacing: 4px; font-weight: 700; }
.logo span { color: var(--gold); }
.nav-links a { 
    color: white; text-decoration: none; margin: 0 15px; font-size: 0.75rem; 
    letter-spacing: 2px; text-transform: uppercase; transition: 0.3s; 
}
.nav-links a:hover { color: var(--gold); }
.nav-icons { display: flex; align-items: center; gap: 25px; }
.cart-trigger { cursor: pointer; position: relative; transition: 0.3s; }
.cart-trigger:hover { color: var(--gold); }
#cart-count { position: absolute; top: -10px; right: -10px; background: var(--gold); color: black; font-size: 0.7rem; width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-weight: bold; transition: 0.3s; }
.btn-vip {
    background: transparent; border: 1px solid var(--gold); color: var(--gold);
    padding: 12px 25px; font-family: var(--font-h); font-weight: bold;
    cursor: pointer; position: relative; overflow: hidden; transition: var(--transition);
}
.btn-vip:hover { color: var(--black); background: var(--gold); box-shadow: 0 0 30px rgba(212, 175, 55, 0.5); }

/* --- HERO SECTION --- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(2px); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
.pre-title { color: var(--gold); letter-spacing: 8px; font-size: 0.9rem; display: block; margin-bottom: 20px; font-weight: 600; }
.hero h1 { font-family: var(--font-h); font-size: clamp(3rem, 10vw, 6rem); line-height: 1.1; margin-bottom: 30px; }
.hero h1 span { color: var(--gold); }
.hero p { color: #ccc; font-weight: 300; font-size: 1.2rem; margin: 0 auto 40px; max-width: 600px; }
.cta-group { display: flex; gap: 20px; justify-content: center; }
.btn-gold { background: var(--gold); color: black; padding: 18px 45px; text-decoration: none; font-weight: bold; transition: var(--transition); }
.btn-outline { border: 1px solid white; color: white; padding: 18px 45px; text-decoration: none; transition: var(--transition); }
.btn-gold:hover, .btn-outline:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* --- BRAND STRIP --- */
.brand-strip { background: var(--gold); color: black; padding: 15px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid white; }
.brand-track { display: inline-block; animation: marquee 30s linear infinite; font-weight: 800; letter-spacing: 4px; font-size: 0.8rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- CATALOG GRID --- */
.catalog-section { padding: 120px 6%; background: var(--dark-grey); }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; position: relative; }
.section-number { font-family: var(--font-h); font-size: 7rem; color: #1a1a1a; position: absolute; top: -50px; left: -10px; z-index: 0; }
.title-wrap h2 { font-family: var(--font-h); font-size: 3rem; position: relative; z-index: 1; }
.filters button { background: none; border: none; color: var(--muted); margin-left: 20px; cursor: pointer; transition: 0.3s; font-family: var(--font-b); font-size: 0.9rem; }
.filters button.active, .filters button:hover { color: var(--gold); font-weight: 700; }

.grid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.card.wide { grid-column: span 2; }
.card { background: #0a0a0a; border-bottom: 1px solid #222; transition: var(--transition); padding-bottom: 20px; }
.card-img { position: relative; overflow: hidden; height: 400px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 1s; filter: grayscale(30%); }
.card:hover .card-img img { transform: scale(1.1); filter: grayscale(0%); }
.card-badge { position: absolute; top: 20px; left: 20px; padding: 6px 15px; font-size: 0.6rem; font-weight: 800; letter-spacing: 2px; z-index: 2;}
.card-badge.gold { background: var(--gold); color: black; }
.card-badge.white { background: white; color: black; }

.btn-add { 
    position: absolute; bottom: -60px; left: 0; width: 100%; background: var(--gold); 
    border: none; padding: 18px; color: black; font-weight: 800; cursor: pointer; 
    transition: var(--transition); letter-spacing: 2px; font-family: var(--font-h);
}
.card:hover .btn-add { bottom: 0; }

.card-info { padding: 30px 0 10px; }
.card-info h3 { font-family: var(--font-h); font-size: 1.3rem; margin-bottom: 10px; }
.card-info p { color: var(--muted); font-size: 0.85rem; margin-bottom: 15px; }
.price { color: var(--gold); font-size: 1.1rem; font-weight: 700; }

/* --- BESPOKE SECTION --- */
.bespoke-section { display: flex; background: var(--black); min-height: 600px; border-top: 1px solid #222; }
.bespoke-text { flex: 1; padding: 100px 6%; display: flex; flex-direction: column; justify-content: center; }
.bespoke-text h2 { font-family: var(--font-h); font-size: 3.5rem; color: var(--gold); margin-bottom: 30px; }
.bespoke-text p { color: #ccc; line-height: 1.8; margin-bottom: 40px; }
.bespoke-list { list-style: none; margin-bottom: 40px; }
.bespoke-list li { margin-bottom: 15px; color: var(--muted); }
.bespoke-list i { color: var(--gold); margin-right: 15px; }
.bespoke-visual { flex: 1; }
.bespoke-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

/* --- FOOTER --- */
footer { padding: 100px 6% 40px; background: #020202; border-top: 2px solid var(--gold); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; padding-bottom: 80px; }
.f-col h4 { color: var(--gold); font-family: var(--font-h); margin-bottom: 30px; letter-spacing: 2px; }
.f-col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 15px; transition: 0.3s; }
.f-col a:hover { color: white; transform: translateX(5px); }
.f-col-brand p { color: var(--muted); margin: 30px 0; line-height: 1.6; max-width: 300px; }
.socials a { font-size: 1.5rem; color: white; margin-right: 20px; transition: 0.3s; }
.socials a:hover { color: var(--gold); }
.f-input { display: flex; border-bottom: 1px solid #333; padding: 10px 0; }
.f-input input { background: none; border: none; color: white; width: 100%; outline: none; }
.f-input button { background: none; border: none; color: var(--gold); cursor: pointer; }
.footer-bottom { border-top: 1px solid #111; padding-top: 40px; display: flex; justify-content: space-between; color: #444; font-size: 0.8rem; }
.legal a { color: #444; text-decoration: none; margin: 0 10px; }

@media (max-width: 1024px) {
    .grid-gallery { grid-template-columns: repeat(2, 1fr); }
    .card.wide { grid-column: span 1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 3.5rem; }
}