/* ===============================
    FONTS
================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Antonio';
    src: url('/assets/fonts/Antonio-Regular.woff2') format('woff2'),
         url('/assets/fonts/Antonio-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antonio';
    src: url('/assets/fonts/Antonio-SemiBold.woff2') format('woff2'),
         url('/assets/fonts/Antonio-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Antonio';
    src: url('/assets/fonts/Antonio-Bold.woff2') format('woff2'),
         url('/assets/fonts/Antonio-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===============================
    RESET
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
    BASE
================================= */
body {
    background: #000000;
    color: #FFFFFF;
    font-family: 'Antonio', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 20pt;
}

section {
    padding: 180px 0;
    scroll-margin-top: 50px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 120px;
}

/* ===============================
    TYPOGRAPHY
================================= */
h1, h2, h3, .logo, .nav-link, .btn {
    font-family: 'Antonio', sans-serif;
    letter-spacing: 2px;
    font-weight: 700;
}

h1 {
    font-size: 84px;
    margin: 0 0 36px;
}

h2 {
    font-size: 56px;
    margin: 0 0 28px;
}

h3 {
    font-size: 28px;
    margin: 16px 0 28px;
}

p {
    color: #EAEAEA;
    max-width: 640px;
    margin-bottom: 24px;
}

/* ===============================
    LEGAL PAGES
================================= */
.legal-page {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: #F2F2F2;
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
    font-family: 'Antonio', sans-serif;
}

.legal-page .container {
    max-width: 840px;
    margin: 40px auto;
    padding: 80px 20px;
}

.legal-page h1 {
    text-transform: uppercase;
    margin-bottom: 24px;
}

.legal-page h2 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-page h3 {
    margin-top: 20px;
    margin-bottom: 16px;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.hero-tagline {
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ===============================
    HERO
================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 120px;
}

.hero-content {
    max-width: 520px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.hero-logo img {
    max-width: 489px;
    margin: 40px 0;
    transform: translateX(-120px);
}

#hero h1 {
    font-size: 96px;
    margin-bottom: 32px;
}

#profesional {
    scroll-margin-top: 130px; /* Ajuste para el header fijo */
}
#producto {
    scroll-padding-top: 120px; /* Ajuste para el header fijo */
}

/* ===============================
    BUTTONS
================================= */
.btn {
    display: inline-block;
    margin-top: 35px;
    padding: 18px 44px;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    transition: all 0.25s ease;
}

.btn:hover {
    background: #FCB041;
    color: #000000;
    transform: scale(1.05); /* Zoom elegante sin elevación */
}

/* ===============================
    PRODUCT SECTION
================================= */
.producto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide el espacio en dos columnas iguales */
    gap: 80px; /* Espacio entre la imagen y la informaci��n */
    align-items: center;
    padding: 0 0;
}

.producto-imagen {
    display: flex;
    justify-content: center;
}

.producto-imagen img {
    width: auto;
    max-width: none;
    height: 80vh;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.producto-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.producto-info h2 {
    margin-bottom: 15px;
}

.producto-info p {
    font-size: 18px;
    margin: 5px 0;
}

.producto-info .btn {
    width: auto;
    text-align: center;
    align-self: flex-start;
}

/* Responsivo para m��viles */
@media (max-width: 768px) {
    .producto-grid {
        grid-template-columns: 1fr; /* En m��vil, la imagen arriba y el texto abajo */
        gap: 40px;
        text-align: center;
    }

    .producto-imagen img {
        height: auto;
        max-height: 60vh;
    }
}

/* ===============================
    HEADER
================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 180px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 180px;
    padding: 0 40px; /* Ajuste interno para no pegar al borde */
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 120px;
    width: auto;
    display: block;
    transform: translateX(-20px);
    transition: transform 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 48px;
    font-size: 20px;
    letter-spacing: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: #FCB041;
    transform: scale(1.05);
}

.footer-container a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-container a:hover {
    color: #FCB041;
    transform: scale(1.05);
}

/* ===============================
    HAMBURGER
================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1200; /* Aumentado para asegurar visibilidad */
    padding: 10px; /* Área de toque más grande */
    margin-left: auto; /* Alinear a la derecha si es necesario */
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: #FCB041; /* Color más visible */
    display: block;
    transition: all 0.3s ease-in-out;
}

/* Animaci��n de la hamburguesa a X */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
    FOOTER
================================= */
footer {
    padding: 60px 0;
    border-top: 1px solid #1A1A1A;
    font-size: 14px;
    color: #888888;
}

/* ===============================
    RESPONSIVE
================================= */
@media (max-width: 1024px) {
    .container { padding: 0 60px; }
    section { padding: 80px 0; }
    h1 { font-size: 64px; }
    h2 { font-size: 44px; }
    #hero h1 { font-size: 72px; }
}

@media (max-width: 768px) {
    body { padding-top: 120px; } /* Ajuste altura header m��vil */

    #site-header {
        height: 120px;
        width: 100%;
        max-width: 100%;
    }

    .nav-container {
        height: 120px;
        padding: 0 20px;
    }

    .nav-logo img {
        height: 80px;
        transform: translateX(0);
    }

    /* Men�� Full Screen con Vidrio Esmerilado */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        margin-left: 0;
        font-size: 28px;
        letter-spacing: 6px;
    }

    .hamburger {
        display: flex;
    }

    /* Ajustes Hero y Secciones en móvil */
    section { padding: 60px 0; }
    .container { padding: 0 32px; }
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    #hero h1 { font-size: 56px; }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-image img { max-height: 50vh; }
    .btn { width: 100%; text-align: center; }
    footer { padding: 80px 0; }

    .producto-info {
        text-align: left;
    }

    .producto-info .btn {
        width: auto;
    }
}

/* =============================== 
    ANIMACIONES DE ENTRADA 
================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===============================
    CONTACT FORM
================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    text-align: left;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #FFFFFF;
    font-family: 'Antonio', sans-serif;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #FCB041;
    border-radius: 4px;
    background: #1a1a1a;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.form-actions .btn {
    width: auto;
    text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* =============================== 
    MEJORAS EN IMÁGENES 
================================= */
.producto-imagen img, .hero-image img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Bordes suaves para modernidad */
}

.producto-imagen img:hover, .hero-image img:hover {
    transform: scale(1.05); /* Solo zoom elegante, sin rotación */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); /* Mantener sombra para profundidad */
}

.btn {
    display: inline-block;
    margin-top: 48px;
    padding: 18px 44px;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
    border: 2px solid #FFFFFF;
    transition: all 0.25s ease;
}

/* =============================== 
    MEJORAS EN TEXTO Y SECCIONES 
================================= */
.hero-tagline {
    letter-spacing: 1px;
    opacity: 0.9;
}

/* No backgrounds en secciones: mantener #000 */
section {
    background: #000;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FCB041;
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.decorative-icon {
    font-size: 2rem;
    margin-top: 20px;
    opacity: 0.7;
}

/* =============================== 
    RESPONSIVE MEJORADO 
================================= */
@media (max-width: 768px) {
    .producto-imagen img:hover {
        transform: none; /* Evitar zoom en móvil para mejor UX */
    }
    
    .btn:hover {
        transform: none; /* Sin zoom en móvil */
    }
}