/* =========================================
   PÁGINA: CONTACTO - ESTILO HERO PREMIUM
   ========================================= */

/* --- HERO SECTION --- */
.contacto-hero {
    height: 85vh !important; /* Más alto para impactar en Home */
    min-height: 550px;
    background-size: cover !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;}

/* Estilos para el video de fondo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(43, 43, 43, 0.3), rgba(75, 64, 54, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    margin-bottom: 3rem; /* Espacio para que no lo tape el contenido */
}

.hero-title-contact {
    font-family: 'Quickpen', cursive;
    font-size: clamp(4rem, 8vw, 6rem);
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: 'Marcellus', serif;
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* --- CONTENEDOR PRINCIPAL (Overlap) --- */
.content-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -100px; 
    padding-bottom: 5rem;
}

/* --- TARJETAS --- */
.card-contact {
    background: #fff;
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1); /* Sombra difusa elegante */
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.card-contact:hover {
    transform: translateY(-5px);
}

.card-body-custom {
    padding: 3rem;
}

/* --- MAPA --- */
.mapa-container {
    height: 100%;
    min-height: 500px;
    position: relative;
}

.mapa-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Filtro sutil para que el mapa no sea tan chillón */
    filter: saturate(0.8) contrast(1.1); 
}

/* --- FORMULARIO --- */
.form-title {
    font-family: 'Marcellus', serif;
    color: var(--color-principal); /* Negro suave */
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-label {
    font-family: 'Marcellus', serif;
    font-size: 0.9rem;
    color: var(--color-secundario); /* Marrón */
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-control {
    background-color: var(--fondo-principal); /* Beige muy claro */
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: var(--acento-principal); /* Dorado */
    box-shadow: 0 0 0 4px rgba(196, 138, 58, 0.1);
}

.btn-enviar {
    background: var(--color-secundario);
    color: #fff;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Marcellus', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    background: var(--acento-principal);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(196, 138, 58, 0.2);
    color: #fff;
}

/* --- INFO GRID (Iconos abajo) --- */
.info-section {
    margin-top: 5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: var(--acento-principal);
    box-shadow: 0 15px 30px rgba(196, 138, 58, 0.1);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--acento-principal);
    margin-bottom: 1rem;
}

.info-label {
    font-family: 'Quickpen', cursive;
    font-size: 1.8rem;
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.info-text {
    font-family: 'Cambay', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.info-text strong {
    display: block;
    color: #222;
    margin-bottom: 3px;
    font-family: 'Marcellus', serif;
}

.info-text a {
    color: var(--acento-secundario);
    text-decoration: none;
    font-weight: 500;
}

/* QR Code Style */
.qr-img {
    width: 100px;
    margin-top: 10px;
    opacity: 0.9;
}

/* Utils */
.d-none { display: none; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .content-wrapper { margin-top: -50px; }
    .hero-title-contact { font-size: 3.5rem; }
    .card-contact { margin-bottom: 2rem; }
}

/* --- MARQUEE (Cinta en movimiento) --- */
.marquee-wrapper {
    background: var(--color-secundario);
    color: var(--acento-principal);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 4px solid var(--acento-principal);
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    font-family: 'Marcellus', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.marquee-content i {
    margin: 0 15px;
    font-size: 0.7rem;
    vertical-align: middle;
    color: #fff;
    opacity: 0.7;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}