.contacto-icasa-section {
    background: #f8f9fa;
    font-family: "Inter", "Montserrat", system-ui, sans-serif;
}

.py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contacto-icasa-info {
    padding: clamp(1rem, 2vw, 1.75rem) 0.25rem;
}

.contacto-icasa-kicker {
    color: #006837;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    font-weight: 700;
}

.contacto-icasa-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.contacto-icasa-lead {
    color: #334155;
    line-height: 1.7;
    max-width: 38rem;
}

.contacto-icasa-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 0.5rem 0;
}

.contacto-icasa-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 104, 55, 0.08);
    color: #006837;
    flex-shrink: 0;
}

.contacto-icasa-list h2 {
    font-size: 1rem;
    margin: 0 0 0.2rem;
    color: #0f172a;
    font-weight: 700;
}

.contacto-icasa-list p,
.contacto-icasa-list a {
    color: #475569;
    text-decoration: none;
}

.contacto-icasa-list a:hover {
    color: #006837;
}

.contacto-icasa-whatsapp {
    background: #fff;
    border: 1px solid rgba(0, 104, 55, 0.14);
    border-radius: 0.9rem;
    padding: 1rem;
}

.btn-contacto-whatsapp {
    border: 1px solid #006837;
    color: #006837;
    font-weight: 600;
}

.btn-contacto-whatsapp:hover {
    background: #006837;
    color: #fff;
}

.contacto-icasa-social p {
    color: #334155;
    font-weight: 600;
}

.contacto-social-link {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 104, 55, 0.24);
    color: #006837;
    background: #fff;
    transition: all 0.2s ease;
}

.contacto-social-link:hover {
    background: #006837;
    color: #fff;
}

.contacto-icasa-card {
    background: linear-gradient(145deg, #006837 0%, #00562d 55%, #0a4a2c 100%);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: clamp(1.2rem, 2.5vw, 2rem);
    box-shadow: 0 18px 40px rgba(0, 86, 45, 0.32);
}

.contacto-form-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.contacto-form-subtitle {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.15rem;
}

.contacto-icasa-card .form-label {
    color: #fff;
    font-weight: 600;
}

.contacto-input {
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 0.75rem;
    min-height: 2.85rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.97);
}

.contacto-input:focus {
    border-color: #006837;
    box-shadow: 0 0 0 0.18rem rgba(0, 104, 55, 0.14);
    background: #fff;
}

.btn-contacto-submit {
    border: none;
    border-radius: 0.8rem;
    min-height: 3rem;
    font-weight: 700;
    color: #fff;
    background: #006837;
}

.btn-contacto-submit:hover {
    background: #00552d;
}

.contacto-quick-msg {
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 0.75rem;
    padding: 0.7rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
}

.contacto-quick-msg__label {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 600;
}

.contacto-quick-msg__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.contacto-quick-msg__btn {
    border: 1px solid rgba(0, 104, 55, 0.25);
    background: #fff;
    color: #006837;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 0.33rem 0.62rem;
    line-height: 1.2;
}

.contacto-quick-msg__btn:hover {
    background: #006837;
    color: #fff;
    border-color: #006837;
}

/* —— Hero estático de portada (reutiliza empleo-page.css) + mapa discreto —— */
.page-contacto {
    --empleo-green: #006837;
    --empleo-green-bright: #00a751;
    --empleo-ink: #0f172a;
    --empleo-muted: #64748b;
    --empleo-surface: #f1f5f4;
    /* Altura hero móvil: icasa-hero-portada.css (unificado con Destinos / Únete a ICASA) */
    --empleo-hero-h: clamp(16rem, 42vw, 22rem);
}

.page-contacto .contacto-hero-banner {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 16px 44px rgba(15, 23, 42, 0.1);
}

.page-contacto .contacto-hero-banner .empleo-hero-slide {
    width: 100%;
    height: var(--empleo-hero-h);
    min-height: var(--empleo-hero-h);
}

@media (min-width: 769px) {
    .page-contacto .contacto-hero-banner .empleo-hero-slide {
        min-height: 0;
        height: auto;
    }
}

.page-contacto .contacto-hero-banner .empleo-hero-slide__caption {
    padding: 1rem 1.15rem 1.15rem;
    padding-right: 1.15rem;
}

@media (min-width: 576px) {
    .page-contacto .contacto-hero-banner .empleo-hero-slide__caption {
        padding: 1.15rem 1.35rem 1.35rem;
        max-width: 85%;
    }
}

.page-contacto .contacto-page {
    background: linear-gradient(180deg, #eef6f2 0%, var(--empleo-surface) 38%, #e8eef0 100%);
    font-family: "Inter", "Montserrat", system-ui, sans-serif;
    min-width: 0;
}

.page-contacto .contacto-icasa-section {
    background: transparent;
}

/* Mapa interactivo (JS API), mismo patrón de altura que el iframe anterior */
.contacto-mapa-sede {
    border-radius: 0.65rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    max-width: 100%;
    width: 100%;
    height: 11.5rem;
    min-height: 11.5rem;
    background: #e2e8f0;
}

.contacto-mapa-hint kbd {
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.75em;
}

/* InfoWindow mapa sede (fondo blanco Google: colores fijos) */
.contacto-mapa-iw {
    color: #334155;
    color-scheme: light;
    max-width: 240px;
    line-height: 1.45;
}

.contacto-mapa-iw strong {
    display: block;
    color: #0f172a;
    font-weight: 700;
}

.contacto-mapa-iw p {
    color: #64748b;
}

.contacto-mapa-iw a {
    color: #006837;
    font-weight: 600;
    text-decoration: none;
}

.contacto-mapa-iw a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .contacto-mapa-sede {
        max-width: 22rem;
        height: 10.5rem;
        min-height: 10.5rem;
    }
}

/* Móvil / tablet: portada → texto intro → formulario → ubicación y datos */
@media (max-width: 991.98px) {
    .contacto-icasa-layout {
        display: flex;
        flex-direction: column;
    }

    .contacto-icasa-left {
        display: contents;
    }

    .contacto-icasa-intro {
        order: 1;
        width: 100%;
    }

    .contacto-icasa-form-col {
        order: 2;
        width: 100%;
    }

    .contacto-icasa-datos {
        order: 3;
        width: 100%;
    }

    .contacto-icasa-intro .contacto-icasa-title {
        margin-bottom: 0.75rem;
    }

    .contacto-icasa-datos {
        margin-top: 0.25rem;
    }

    .contacto-icasa-datos .contacto-icasa-list {
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 992px) {
    .contacto-icasa-left {
        display: flex;
        flex-direction: column;
    }

    .contacto-icasa-intro {
        flex-shrink: 0;
    }

    .contacto-icasa-datos {
        flex: 1 1 auto;
    }
}

@media (max-width: 991.98px) {
    .py-lg-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}
