/*
 * Sección de contacto en Inicio.
 * Diseño minimalista y aislado para no depender de otros estilos.
 */
.home-contact-section {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(180deg, rgba(247, 243, 239, .45), rgba(255, 255, 255, 0));
}

.home-contact-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36, 31, 29, .08);
    border-radius: 28px;
    background: #fffaf5;
    box-shadow: 0 18px 46px rgba(36, 31, 29, .08);
}

.home-contact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 10%, rgba(247, 148, 29, .08), transparent 30%),
        radial-gradient(circle at 90% 92%, rgba(36, 31, 29, .045), transparent 26%);
}

.home-contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: stretch;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.home-contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #241f1d;
    padding: clamp(.4rem, 1.2vw, 1rem);
}

.home-contact-copy .section-kicker,
.home-contact-form-heading .section-kicker {
    color: #e36208;
}

.home-contact-copy h2 {
    margin: .45rem 0 .9rem;
    max-width: 13ch;
    color: #241f1d;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.home-contact-copy p {
    max-width: 46ch;
    margin: 0 0 1.25rem;
    color: #6b625d;
    font-size: 1.02rem;
    line-height: 1.65;
}

.home-whatsapp-stack {
    display: grid;
    gap: .8rem;
    max-width: 520px;
    margin-bottom: 1rem;
}

.home-whatsapp-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: .85rem;
    min-height: 72px;
    padding: .85rem .95rem;
    border: 1px solid rgba(18, 140, 75, .14);
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(36, 31, 29, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-whatsapp-card:hover,
.home-whatsapp-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(18, 140, 75, .24);
    box-shadow: 0 14px 28px rgba(36, 31, 29, .09);
}

.home-whatsapp-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #128c4b;
    background: #effaf3;
}

.home-whatsapp-icon svg {
    width: 24px;
    height: 24px;
}

.home-whatsapp-copy {
    display: grid;
    gap: .1rem;
    min-width: 0;
}

.home-whatsapp-copy small {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #128c4b;
    font-size: .76rem;
    font-weight: 800;
}

.home-whatsapp-copy small i {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, .12);
}

.home-whatsapp-copy strong {
    color: #241f1d;
    font-size: .98rem;
    line-height: 1.2;
}

.home-whatsapp-action {
    color: #128c4b;
    font-size: .9rem;
    font-weight: 850;
    white-space: nowrap;
}

.home-contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    max-width: 560px;
}

.home-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 40px;
    padding: .55rem .78rem;
    border: 1px solid rgba(36, 31, 29, .09);
    border-radius: 999px;
    background: rgba(255, 255, 255, .7);
    color: #5b504a;
    text-decoration: none;
    font-size: .91rem;
}

.home-contact-pill:hover,
.home-contact-pill:focus-visible {
    color: #b54800;
    border-color: rgba(227, 98, 8, .22);
    background: #fff;
}

.home-contact-pill-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #b54800;
    background: #fff2e6;
}

.home-contact-pill-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-form-card {
    position: relative;
    border: 1px solid rgba(36, 31, 29, .08);
    border-radius: 24px;
    background: #fff;
    padding: clamp(1rem, 2vw, 1.55rem);
    box-shadow: 0 12px 28px rgba(36, 31, 29, .06);
}

.home-contact-form-heading {
    margin-bottom: 1rem;
}

.home-contact-form-heading h3 {
    margin: .35rem 0 .35rem;
    color: #241f1d;
    font-size: clamp(1.55rem, 2vw, 2rem);
    letter-spacing: -.03em;
}

.home-contact-form-heading p {
    margin: 0;
    color: #6b625d;
}

.home-contact-form-card .form-label {
    color: #2d2723;
    font-size: .86rem;
}

.home-contact-form-card .form-control,
.home-contact-form-card .form-select {
    border-color: rgba(36, 31, 29, .14);
    border-radius: 13px;
    min-height: 46px;
    box-shadow: none;
}

.home-contact-form-card .form-control:focus,
.home-contact-form-card .form-select:focus {
    border-color: rgba(227, 98, 8, .55);
    box-shadow: 0 0 0 .2rem rgba(227, 98, 8, .12);
}

.home-contact-form-card textarea.form-control {
    min-height: 116px;
}

.home-contact-form-card .site-primary-button {
    min-width: 170px;
    border-radius: 14px;
    box-shadow: none;
}

.contact-form {
    scroll-margin-top: 140px;
}

.contact-form-alert {
    display: grid;
    gap: .35rem;
    margin: 0 0 1rem;
    padding: .95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(185, 28, 28, .16);
    background: #fff7f7;
    color: #8a1f1f;
    font-size: .93rem;
}

.contact-form-alert strong {
    color: #7f1d1d;
}

.contact-form-alert span {
    color: #9b2c2c;
}

.contact-form-alert ul {
    margin: .35rem 0 0;
    padding-left: 1.15rem;
}

@media (max-width: 991.98px) {
    .home-contact-grid {
        grid-template-columns: 1fr;
    }

    .home-contact-copy h2 {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .home-contact-panel {
        border-radius: 22px;
    }

    .home-contact-grid {
        padding: 1rem;
    }

    .home-whatsapp-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: .75rem;
    }

    .home-whatsapp-action {
        grid-column: 2;
    }

    .home-contact-pill {
        width: 100%;
        border-radius: 14px;
    }

    .home-contact-form-card {
        border-radius: 18px;
    }
}
