/* Captación — layout en bloques (también copiado al final de landing.css por si este archivo no se sube) */

.captacion-page {
    padding: 2rem 0 4rem;
}

.captacion-wrap {
    max-width: 760px;
}

.captacion-intro {
    margin-bottom: 1.75rem;
}

.captacion-intro h1 {
    display: block;
    margin: 0.75rem 0 0.65rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
}

.captacion-intro .lead {
    display: block;
    color: var(--muted);
    margin: 0;
}

.captacion-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.captacion-section {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.5rem 1.35rem;
}

.captacion-section h2 {
    display: block;
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.section-hint {
    display: block;
    margin: -0.35rem 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 400;
}

.modulos-help {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem 0.85rem 1.35rem;
    background: #f6f7fb;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.modulos-help li {
    margin: 0.45rem 0;
}

.modulos-help strong {
    color: var(--text);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.15rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.field-span2 {
    grid-column: 1 / -1;
}

.field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.captacion-section input[type="text"],
.captacion-section input[type="email"],
.captacion-section input[type="tel"],
.captacion-section input[type="number"],
.captacion-section textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-weight: 400;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(35, 52, 70, 0.14);
    border-radius: 10px;
    background: #fff;
}

.captacion-section textarea {
    resize: vertical;
    min-height: 140px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.check-chip {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(35, 52, 70, 0.12);
    border-radius: 10px;
    background: #f8f8fc;
    font-size: 0.9rem;
    font-weight: 500 !important;
    cursor: pointer;
}

.check-chip-block {
    width: 100%;
    margin-bottom: 1rem;
}

.check-chip input {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.aptos-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
}

.aptos-count {
    color: var(--muted);
    font-size: 0.9rem;
}

.captacion-actions {
    text-align: center;
    padding: 0.5rem 0 1rem;
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
}

.captacion-legal {
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 0.85rem;
    max-width: 520px;
}

.captacion-alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.captacion-alert.ok {
    background: rgba(113, 221, 55, 0.15);
    color: #2d6a1f;
}

.captacion-alert.err {
    background: rgba(255, 62, 29, 0.12);
    color: #a02820;
}

.captacion-success {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
}

.captacion-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

@media (max-width: 700px) {
    .form-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .field-span2 {
        grid-column: auto;
    }
}
