/* ============================================
   FORDEMA — Estilos Contacto
   ============================================ */

/* --- HERO --- */
.contacto-hero {
    position: relative;
    height: 48vh;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-color: #1a2d42;
}

.contacto-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contacto-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.contacto-hero h2 {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.contacto-hero p {
    font-size: 1.3em;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- CONTACTO SECTION --- */
.contacto-section {
    padding: 80px 5%;
    background-color: #fff;
    border-top: 4px solid #a8c528;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contacto-title {
    font-size: 1.8em;
    color: #3b6fa0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contacto-subtitle {
    color: #666;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* --- INFO ITEMS --- */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #3b6fa0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    flex-shrink: 0;
}

.info-item:nth-child(2) .info-icon {
    background-color: #ecb94a;
}

.info-item:nth-child(3) .info-icon {
    background-color: #a8c528;
}

.info-item:nth-child(4) .info-icon {
    background-color: #3b6fa0;
}

.info-item strong {
    display: block;
    color: #333;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.info-item p {
    color: #666;
    font-size: 0.95em;
}

/* --- FORM --- */
.contacto-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contacto-form .form-row input {
    flex: 1;
}

.contacto-form input[type="text"],
.contacto-form input[type="email"],
.contacto-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.95em;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: #a8c528;
}

.contacto-form input::placeholder,
.contacto-form textarea::placeholder {
    color: #999;
}

.contacto-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contacto-form .form-footer {
    text-align: right;
}

.contacto-form button[type="submit"] {
    background-color: #3b6fa0;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contacto-form button[type="submit"]:hover {
    background-color: #2d5a84;
    transform: scale(1.02);
}

/* --- MAPA --- */
.mapa-section {
    width: 100%;
}

.mapa-section iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contacto-hero h2 {
        font-size: 2.5em;
    }

    .contacto-hero p {
        font-size: 1em;
    }

    .contacto-section {
        padding: 50px 20px;
    }

    .contacto-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .mapa-placeholder {
        height: 250px;
    }
}
