/* Sección de contacto: aislada de las reglas genéricas de formularios del tema. */
.lead-section {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
    gap: 72px;
    align-items: center;
    padding: 92px max(24px, calc((100vw - 1180px) / 2));
    background: #f7f5f0;
}

.lead-section__copy { padding: 10px 0; }
/* Textos de contexto del inicio: más visibles sin competir con el titular principal. */
.hero .eyebrow,
.lead-section .eyebrow {
    margin-bottom: 16px;
    color: #bd4a2d;
    font-size: 15px;
    letter-spacing: .11em;
}

.lead-section h2 {
    max-width: 500px;
    color: #274952;
    font-size: clamp(36px, 3.45vw, 50px);
}

.lead-section__copy > p:not(.eyebrow) {
    max-width: 465px;
    margin: 20px 0 0;
    color: #657a7e;
    font-size: 17px;
    line-height: 1.58;
}

.lead-section__points {
    display: grid;
    gap: 16px;
    margin-top: 31px;
}

.lead-section__points > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lead-section__points > div > i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff0eb;
    color: #ff7148;
}

.lead-section__points strong,
.lead-section__points small { display: block; }
.lead-section__points strong { color: #274952; font-size: 14px; }
.lead-section__points small { margin-top: 3px; color: #718388; font-size: 12px; }

.lead-form {
    max-width: 570px;
    justify-self: end;
    width: 100%;
    padding: 34px;
    border: 1px solid #d8e0dc;
    border-radius: 18px;
    background: #fff;
    color: #274952;
    box-shadow: 0 16px 34px rgba(39, 73, 82, .09);
}

/* Reset explícito: fda-home.css usa selectores globales form/div/label. */
.lead-form div {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.lead-form label { margin: 0; }

.lead-form__head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.lead-form__mark {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff0eb;
    color: #ff7148;
}

.lead-form__head h3 { margin: 0; color: #274952; font-size: 24px; }
.lead-form__head p { margin: 4px 0 0; color: #718388; font-size: 13px; }

.lead-form__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.lead-form__grid > label,
.lead-form__email {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #425e65;
    font-size: 12px;
    font-weight: 800;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid #d5dfda;
    border-radius: 9px;
    outline: 0;
    background: #fafbf9;
    color: #274952;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lead-form__grid input,
.lead-form__email input { height: 48px; padding: 0 13px; }

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: #2d515c;
    box-shadow: 0 0 0 3px rgba(45, 81, 92, .12);
}

.lead-form__channel {
    margin: 24px 0 0;
    padding: 0;
    border: 0;
}

.lead-form__channel legend {
    margin-bottom: 10px;
    color: #425e65;
    font-size: 12px;
    font-weight: 800;
}

.lead-form__channel > div {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lead-form__channel label { position: relative; min-width: 0; cursor: pointer; }
.lead-form__channel input { position: absolute; opacity: 0; pointer-events: none; }

.lead-form__channel span {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    border: 1px solid #d5dfda;
    border-radius: 9px;
    background: #fff;
    color: #60767a;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.lead-form__channel input:checked + span {
    border-color: #2d515c;
    background: #eef5f3;
    color: #274952;
}

.lead-form__channel input:focus-visible + span { box-shadow: 0 0 0 3px rgba(45, 81, 92, .16); }

.lead-form__email { margin-top: 16px; }
.lead-form__email[hidden] { display: none !important; }

.lead-form__details {
    margin-top: 17px;
    border-top: 1px solid #e7ece9;
}

.lead-form__details summary {
    padding: 14px 0 0;
    color: #425e65;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.lead-form__details summary span { color: #8a989a; font-weight: 500; }
.lead-form__details textarea { min-height: 88px; margin-top: 13px; padding: 11px 13px; resize: vertical; }

.lead-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    color: #60767a;
    font-size: 12px;
    line-height: 1.42;
    cursor: pointer;
}

.lead-form__consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 1px 0 0;
    accent-color: #ff7148;
}

.lead-form__consent a {
    color: #bd4a2d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lead-form__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.lead-form__submit {
    width: 100%;
    min-height: 50px;
    margin-top: 20px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ff7148;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 17px rgba(255, 113, 72, .18);
}

.lead-form__submit:hover { background: #ea603a; }
.lead-form__submit:disabled { cursor: wait; opacity: .72; }
.lead-form__status { min-height: 18px; margin: 11px 0 0; font-size: 13px; line-height: 1.4; }
.lead-form__status.is-success { color: #1f7a52; }
.lead-form__status.is-error { color: #bd4a2d; }

@media (max-width: 900px) {
    .lead-section { grid-template-columns: 1fr; gap: 34px; }
    .lead-form { justify-self: stretch; max-width: none; }
}

@media (max-width: 560px) {
    .lead-section { padding: 56px 16px; }
    .hero .eyebrow,
    .lead-section .eyebrow { font-size: 13px; }
    .lead-form { padding: 24px 18px; border-radius: 15px; }
    .lead-form__grid { grid-template-columns: 1fr; }
    .lead-form__channel > div { grid-template-columns: 1fr; }
    .lead-form__channel span { justify-content: flex-start; padding-left: 14px; }
}
