

/* ==========================
    CONFIGURACIÓN GENERAL
========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #f5f5f5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================
   ANIMACIONES FLUIDAS EN SCROLL
========================== */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    filter: blur(10px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* ==========================
            NAVBAR
========================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.navbar {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    will-change: transform, filter;
}

.logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
    transition: filter 0.4s ease;
}

.logo:hover {
    transform: scale(1.06);
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.menu {
    display: flex;
    gap: 35px;
    list-style: none;
}

.menu li {
    position: relative;
    padding: 10px 15px;
}

.menu a {
    position: relative;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.4s ease;
    z-index: 2;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 1.5px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.menu li:hover a::after, 
.menu a.active-link::after {
    width: 100%;
}

.menu a:hover, 
.menu a.active-link {
    color: #ffffff;
}

.icons {
    display: flex;
    gap: 25px;
    font-size: 20px;
}

.icons span {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    will-change: transform;
}

.icons span:hover {
    transform: translateY(-3px) scale(1.1);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ==========================
       SECCIÓN DE CONTACTO
========================== */
.contact-page {
    padding-top: 180px;
    padding-bottom: 120px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: clamp(35px, 6vw, 75px);
    letter-spacing: 15px;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #666666 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8));
}

.contact-header p {
    font-size: 12px;
    letter-spacing: 5px;
    color: #888888;
    text-transform: uppercase;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

/* Formulario con estética oscura y bordes sutiles */
.contact-form {
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: 2px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: 11px;
    letter-spacing: 3px;
    color: #aaaaaa;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 16px 20px;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.form-group select option {
    background: #050505;
    color: #ffffff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    background: rgba(15, 15, 15, 0.9);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    font-size: 12px;
    letter-spacing: 5px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
    will-change: transform;
}

.submit-btn:hover {
    background: #cccccc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Info Lateral */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 10px;
}

.info-block {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 25px;
    transition: border-color 0.4s ease;
}

.info-block:hover {
    border-left-color: #ffffff;
}

.info-block h3 {
    font-size: 13px;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.info-block p {
    font-size: 13px;
    letter-spacing: 2px;
    color: #777777;
    line-height: 1.8;
}

.info-block a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.info-block a:hover {
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ==========================
            FOOTER
========================== */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 70px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    width: 170px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-column {
    min-width: 200px;
}

.footer-column h3,
.footer-column h4 {
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 25px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a,
.footer-column p {
    color: #777777;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover,
.footer-column p:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    color: #555555;
    font-size: 12px;
    letter-spacing: 2px;
}

/* ==========================
       RESPONSIVE (MOBILE)
========================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-page {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 768px) {
    .navbar { padding: 0 25px; }
    .hamburger { display: flex; }
    .icons { display: none; }

    .menu {
        position: absolute;
        top: 90px;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .menu.active { left: 0; }

    .contact-form {
        padding: 30px 20px;
    }

    footer { padding: 50px 20px 30px; }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================
   BOTÓN FLOTANTE WHATSAPP
========================== */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background-color: #111111;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

.contact-account-link {
    color: #e0e0e0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-decoration: none;
}

.contact-account-link:hover { color: #ffffff; }

.contact-message {
    margin: 0 0 26px;
    padding: 14px 16px;
    border: 1px solid;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: .5px;
}

.contact-success { color: #dce7ae; border-color: rgba(220, 231, 174, .45); background: rgba(220, 231, 174, .08); }
.contact-error { color: #ffb3ae; border-color: rgba(255, 92, 92, .45); background: rgba(255, 59, 48, .08); }

/* Opcional: Ajuste para pantallas móviles */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn svg {
        width: 25px;
        height: 25px;
    }
}
