/* ==================== VIDEO Y FONDO ==================== */
#video-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

#fondo {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ==================== HEADER CON BREADCRUMB DEBAJO DEL LOGO ==================== */
#header {
    position: relative;
    padding: 30px 40px 10px;
    text-align: center;
}

#logo-main {
    margin-bottom: 15px;
}

#header #logo {
    max-height: 100px;
    max-width: 250px;
}

/* Breadcrumb justo debajo del logo y alineado a la izquierda */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #ffffff;
    margin-left: 30px;
    margin-top: 10px;
}

.home-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 10px rgba(160,32,240,0.8));
    transition: all 0.3s ease;
}

.home-link:hover .home-icon {
    transform: scale(1.25) rotate(-10deg);
    filter: drop-shadow(0 0 20px #a020f0);
}

.separator {
    color: #ffffff;
    font-weight: bold;
}

.current-page {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(160,32,240,0.7);
    font-weight: bold;
}

/* ==================== TÍTULOS NEÓN ==================== */
.form-title {
    font-family: 'Share Tech Mono', monospace !important;
    font-size: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #a020f0, #ff007f, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(160,32,240,0.5);
}

/* ==================== SECTION ==================== */
#section {
    padding: 50px 40px;
    background-color: #121212;
    box-shadow: 0 0 40px #8a2be255;
    border-radius: 10px;
    max-width: 1250px;
    margin: 0 auto 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;                     /* ¡Muy juntos como querías! */
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== RECUADRO BLANCO (Visítanos + dirección + mapa) ==================== */
.map-box {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    text-align: center;
    transition: transform 0.4s ease;
}

.map-box:hover {
    transform: translateY(-8px);
}

.map-box .form-title {
    font-family: 'Share Tech Mono', monospace !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background: none !important;
    text-shadow: none !important;
    font-size: 42px !important;
    margin: 0 0 20px 0 !important;
}

.map-box .address-text {
    color: #333 !important;
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;  /* ← fuente limpia */
    font-weight: 500;
}

.map-box iframe {
    border: none;
    border-radius: 14px;
    width: 100%;
    height: 420px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ==================== ANIMACIONES DE ENTRADA ==================== */
.fade-in-left, .fade-in-right {
    opacity: 0;
    transform: translateX(0);
    transition: all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.fade-in-left.active { opacity: 1; transform: translateX(-25px); }
.fade-in-right.active { opacity: 1; transform: translateX(25px); }

/* ==================== FORMULARIO ==================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    font-size: 16px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #ffffff33;
    border-radius: 12px;
    color: #fff;
    transition: all 0.4s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #a020f0;
    box-shadow: 0 0 20px rgba(160,32,240,0.6);
    background: rgba(160,32,240,0.1);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ==================== BOTÓN ENVIAR ==================== */
.submit-btn {
    align-self: center;
    padding: 16px 50px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background-color: rgba(255,255,255,0.08);
    border: 2px solid #fff;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(270deg, #a020f0, #ff007f, #00c6ff, #a020f0);
    background-size: 600% 600%;
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.5s ease;
}

.submit-btn:hover {
    transform: scale(1.08) translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(160,32,240,0.6);
}

.submit-btn:hover::before {
    opacity: 1;
    animation: glowMove 3s linear infinite;
}

@keyframes glowMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== WHATSAPP + FOOTER ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

#footer {
    text-align: center;
    margin: 60px 0 20px;
    color: #cccccc !important;
    font-size: 14px;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;  /* ← fuente limpia */
    letter-spacing: 0.5px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .breadcrumb {
        margin-left: 20px;
        font-size: 17px;
    }
    #section {
        padding: 40px 20px;
    }
    .form-title {
        font-size: 36px;
    }
}