/* =========================================================
   1. VARIABLES & BASE
========================================================= */
:root {
    --km-primary: #9dcc07;
    --km-primary-dark: #70a402;
    --km-dark: #2c3e50;
    --km-light-bg: #f8f9fa;
    --km-text-muted: #6c757d;
}

/* Utilidades Texto/Fondo */
.text-primary-km { color: var(--km-primary) !important; }
.text-dark-km { color: #1a1a1a !important; } 
.bg-primary-km { background-color: var(--km-primary) !important; }
.bg-light-km { background-color: #f4f6f8 !important; }
.ls-2 { letter-spacing: 2px; }

/* Botón KM Principal */
.btn-primary-km {
    background-color: var(--km-primary);
    border: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
}
.btn-primary-km:hover {
    background-color: var(--km-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 204, 7, 0.4);
}

/* =========================================================
   2. HERO SECTION (100vh)
========================================================= */
.contact-hero {
    margin-top: -95px; /* Compensa navbar fijo */
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('https://placehold.co/1920x1080/2c3e50/2c3e50');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 0;
}

.contact-hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.60);
    z-index: 0;
}

/* Animación flecha */
.animate-bounce {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* =========================================================
   3. TARJETAS DE CONTACTO
========================================================= */
.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-bottom: 5px solid var(--km-primary);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(157, 204, 7, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--km-primary);
    transition: all 0.3s ease;
}

.contact-card:hover .icon-box {
    background: var(--km-primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.contact-link {
    text-decoration: none;
    color: #444;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--km-primary);
}

/* Botón WhatsApp pequeño en tarjeta */
.btn-whatsapp-sm {
    background-color: #25D366;
    color: white;
    border: none;
    transition: all 0.3s ease;
}
.btn-whatsapp-sm:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* =========================================================
   4. FORMULARIO
========================================================= */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 10px;
    background-color: #f8f9fa !important;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(157, 204, 7, 0.2);
    border-color: var(--km-primary);
}

.form-floating > label {
    color: #6c757d;
}

/* Ajustes Responsivos */
@media (max-width: 992px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
}