/* =====================================================
   CONVERSION STYLES (v1.0)
   Conversion-focused UI components for Pre-screening.
   ===================================================== */

/* NOTE: .sticky-cta is defined in styles.css (global). Do not duplicate here. */

/* Exit Intent / Scroll Trigger Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 42, 90, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-overlay.visible { display: flex; }

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--texto-light);
}

/* Home Page Specifics */
.home-inline-ps {
    background-color: var(--crema);
    padding: 60px 0;
    border-top: 1px solid var(--gris-borde);
    border-bottom: 1px solid var(--gris-borde);
}
.home-inline-ps h2 {
    text-align: center;
    margin-bottom: 10px;
}
.home-inline-ps > .container > p {
    text-align: center;
    margin-bottom: 30px;
}

.hips-form {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--sombra-md);
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.hips-group {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hips-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--texto-suave);
    text-transform: uppercase;
}
.hips-input, .hips-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gris-borde);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}
.hips-submit {
    background: var(--naranja);
    color: white;
    border: none;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.hips-submit:hover { background: var(--naranja-hover); }

.hips-urgency {
    text-align: center;
    font-size: 0.82rem;
    margin-top: 20px;
    color: var(--texto-light);
}
