/* =========================================
   SECCIÓN: HABLEMOS DE TU EQUIPO (NETAMENTE PROPIO)
   ========================================= */
.hablemos-section {
    background-color: var(--background-color);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hablemos-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.hablemos-info h2 {
    font-size: 3em;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-color);
    text-transform: uppercase;
}

.hablemos-info h2 span {
    color: var(--primary-color);
}

.hablemos-info > p {
    color: #a7a7a7;
    font-size: 1.05em;
    margin-bottom: 35px;
    line-height: 1.6;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item .icon-box {
    width: 45px;
    height: 45px;
    background: var(--background-color-2);
    border: 1px solid #333;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    color: var(--text-color);
    font-size: 0.9em;
    margin-bottom: 2px;
}

.contact-text span {
    color: #a7a7a7;
    font-size: 0.9em;
}

/* Ajustes interactivos del mapa */
.map-link-wrapper {
    display: block;
    text-decoration: none;
    width: 100%;
}

.map-container {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #444;
    filter: grayscale(100%) sepia(100%) hue-rotate(320deg) saturate(320%) brightness(0.45) contrast(1.2);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* Permite que el click traspase directamente al enlace <a> */
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-overlay span {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Efectos Hover del mapa */
.map-link-wrapper:hover .map-container {
    filter: grayscale(0%) sepia(0%) brightness(0.9);
    transform: translateY(-2px);
}

.map-link-wrapper:hover .map-overlay {
    opacity: 1;
}

/* Formulario Card */
.hablemos-form-wrapper {
    background: linear-gradient(145deg, #120508, #161616);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.hablemos-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75em;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

.form-group input, 
.form-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 14px;
    color: var(--text-color);
    font-size: 0.95em;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group select option {
    background: var(--background-color-2);
    color: var(--text-color);
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(226, 29, 72, 0.2);
}

.btn-submit-whatsapp {
    background: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.btn-submit-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 29, 72, 0.4);
}

/* =========================================
   PIE DE PÁGINA (FOOTER)
   ========================================= */
.main-footer {
    background-color: var(--background-color-2);
    border-top: 1px solid #252525;
    padding: 60px 20px 25px;
    color: #a7a7a7;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.95em;
}

.footer-col h4 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a7a7a7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95em;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: var(--background-color);
    color: var(--text-color);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1em;
    transition: background 0.3s, color 0.3s;
    border: 1px solid #222;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #252525;
    font-size: 0.85em;
    color: #666;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVIDAD TOTAL)
   ========================================= */

/* Tablets e pantallas medianas */
@media (max-width: 992px) {
    .hablemos-container {
        grid-template-columns: 1fr; /* Cambia a una sola columna */
        gap: 50px;
    }

    .hablemos-info h2 {
        font-size: 2.6em;
    }
}

/* Celulares */
@media (max-width: 600px) {
    .hablemos-section {
        padding: 40px 15px;
    }

    .hablemos-info h2 {
        font-size: 2.2em;
    }

    .hablemos-form-wrapper {
        padding: 25px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Todo en una sola fila vertical */
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}