/* ============ VARIABLES ============ */
:root {
    --bronze: #CD7F32;
    --bronze-dark: #8B5A1E;
    --bronze-light: #E8A84A;
    --bg: #080808;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --text: #ffffff;
    --text-muted: #888;
    --text-dim: #333;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; width: 100%; }

/* ============ BODY ============ */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ============ NAV ============ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: linear-gradient(to bottom,
        rgba(8,8,8,1) 0%,
        rgba(8,8,8,0.95) 60%,
        rgba(8,8,8,0.8) 85%,
        transparent 100%);
}
.nav-logo-static { max-height: 32px; opacity: 0.7; }
.nav-links { display: flex; gap: 30px; list-style: none; justify-content: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.8em;
    letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s;
    font-family: 'Orbitron', sans-serif;
}
.nav-links a:hover { color: var(--bronze); }
.nav-btn {
    background: var(--bronze); color: #000; padding: 10px 20px;
    border-radius: 4px; font-family: 'Orbitron', sans-serif; font-size: 0.7em;
    font-weight: 700; letter-spacing: 1px; text-decoration: none;
    transition: 0.3s; justify-self: end;
}
.nav-btn:hover { background: var(--bronze-light); }

/* ============ HAMBURGER ============ */
.hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 4px; position: fixed; top: 20px; right: 20px; z-index: 300;
}
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--bronze); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--bronze); }

/* ============ MENÚ MÓVIL ============ */
.mobile-menu {
    display: none; position: fixed; inset: 0;
    background: rgba(8,8,8,0.98); z-index: 150;
    flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text-muted); text-decoration: none; font-family: 'Orbitron', sans-serif;
    font-size: 1em; letter-spacing: 3px; text-transform: uppercase; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--bronze); }
.mobile-menu .mobile-btn {
    background: var(--bronze); color: #000; padding: 16px 36px;
    border-radius: 4px; font-family: 'Orbitron', sans-serif; font-size: 0.85em;
    font-weight: 700; letter-spacing: 2px; text-decoration: none; margin-top: 10px;
}

/* ============ HERO ============ */
.hero-producto {
    min-height: auto; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 130px 40px 50px; position: relative;
}
.hero-producto::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(205,127,50,0.05) 0%, transparent 65%);
    pointer-events: none;
}

@keyframes logoAppear {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-logo {
    max-width: 200px; height: auto;
    position: relative; z-index: 1;
    animation: logoAppear 0.6s ease-out forwards;
}

/* ============ SECCIONES DE PRODUCTO ============ */
.producto-section {
    padding: 60px 40px;
    border-top: 1px solid #151515;
}
.producto-content {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.producto-content.reverse { direction: rtl; }
.producto-content.reverse > * { direction: ltr; }

.producto-imagen {
    width: 100%; aspect-ratio: 4/3;
    background: var(--bg3);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}
.producto-imagen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.producto-texto { padding: 20px 0; }

.producto-label {
    font-size: 0.7em; letter-spacing: 3px; color: var(--bronze);
    text-transform: uppercase; margin-bottom: 16px;
    font-family: 'Orbitron', sans-serif; display: block;
}
.producto-titulo {
    font-family: 'Orbitron', sans-serif; font-size: 1.6em;
    font-weight: 600; margin-bottom: 20px; line-height: 1.3;
}
.producto-descripcion {
    color: #bbbbbb; font-size: 1.1em; line-height: 1.8;
    font-weight: 400; margin-bottom: 16px;
}
.producto-descripcion strong { color: var(--text); }
.producto-spec {
    color: var(--text); font-size: 1em; line-height: 1.6;
    border-left: 2px solid var(--bronze-dark);
    padding-left: 16px; margin-top: 24px; font-weight: 400;
}

/* ============ CIERRE ============ */
.cierre-producto {
    padding: 120px 40px; text-align: center;
    border-top: 1px solid #151515;
    background: var(--bg2);
}
.cierre-producto .titulo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: 700; line-height: 1.2; margin-bottom: 30px;
}
.cierre-producto .subtitulo {
    color: #bbbbbb; font-size: 1.15em; line-height: 1.8;
    max-width: 700px; margin: 0 auto 40px;
}
.accent { color: var(--bronze); }
.cierre-acciones {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    margin-top: 50px;
}
.btn-primary {
    display: inline-block; background: var(--bronze); color: #000;
    padding: 16px 40px; border-radius: 4px;
    font-family: 'Orbitron', sans-serif; font-size: 0.85em;
    font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; transition: 0.3s;
}
.btn-primary:hover { background: var(--bronze-light); }
.btn-secondary {
    display: inline-block; color: var(--bronze);
    text-decoration: none; font-family: 'Orbitron', sans-serif;
    font-size: 0.75em; letter-spacing: 2px; text-transform: uppercase;
    border: 1px solid var(--bronze-dark); padding: 12px 28px;
    border-radius: 4px; transition: 0.3s;
}
.btn-secondary:hover { background: var(--bronze); color: #000; }

/* ============ FOOTER ============ */
footer {
    padding: 32px 40px; border-top: 1px solid #151515;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-logo { max-width: 80px; height: auto; opacity: 0.6; }
.footer-center { text-align: center; flex: 1; }
.footer-text { font-size: 0.7em; color: var(--text-dim); letter-spacing: 1px; font-family: 'Orbitron', sans-serif; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-social {
    font-size: 0.75em; color: var(--bronze); letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif; text-decoration: none; transition: color 0.3s;
}
.footer-social:hover { color: var(--bronze-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    nav { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
    .nav-links { display: none; }
    .nav-btn { display: none; }
    .hamburger { display: flex; }
    .hero-producto { padding: 90px 20px 30px; }
    .hero-logo { max-width: 110px; }
    .producto-section { padding: 40px 20px; }
    .producto-content { grid-template-columns: 1fr; gap: 30px; }
    .producto-content.reverse { direction: ltr; }
    .producto-texto { padding: 0; }
    .cierre-producto { padding: 80px 20px; }
    footer { padding: 24px 20px; flex-direction: column; text-align: center; }
    .footer-right { align-items: center; }
}
