/* =============================================
   LEAD CAPTURE POPUP — CICOVE
   Archivo: assets/css/lead-popup.css
   ============================================= */

/* OVERLAY */
.lp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lp-overlay.lp-visible {
    opacity: 1;
    visibility: visible;
}

/* MODAL */
.lp-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    z-index: 99999;
    width: 92%;
    max-width: 520px;
    background: #0a1a35;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 40px 36px 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    box-sizing: border-box;
}

.lp-modal.lp-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

/* CLOSE BUTTON */
.lp-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

.lp-close:hover {
    color: #fff;
}

/* HEADER */
.lp-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.lp-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e63946;
    flex-shrink: 0;
}

.lp-eyebrow-text {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Geist', sans-serif;
}

.lp-title {
    font-family: 'Geist', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 6px;
}

.lp-title strong {
    font-weight: 600;
    color: #fff;
}

.lp-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.50);
    margin: 0 0 24px;
    font-family: 'Geist', sans-serif;
    line-height: 1.5;
}

/* FORM GRID */
.lp-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lp-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lp-field.lp-full {
    grid-column: 1 / -1;
}

.lp-field label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.40);
    font-family: 'Geist', sans-serif;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    padding: 10px 13px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
}

.lp-field input::placeholder,
.lp-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.09);
}

.lp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.lp-field select option {
    background: #0a1a35;
    color: #fff;
}

.lp-field textarea {
    resize: none;
    height: 72px;
    line-height: 1.5;
}

/* SUBMIT BUTTON */
.lp-submit {
    grid-column: 1 / -1;
    margin-top: 4px;
    background: #e63946;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 13px 24px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
}

.lp-submit:hover {
    background: #c1121f;
}

.lp-submit:active {
    transform: scale(0.98);
}

.lp-submit:disabled {
    background: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
}

/* PRIVACY NOTE */
.lp-privacy {
    grid-column: 1 / -1;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
    font-family: 'Geist', sans-serif;
    line-height: 1.5;
    margin-top: 2px;
}

/* SUCCESS STATE */
.lp-success {
    text-align: center;
    padding: 12px 0 8px;
    display: none;
}

.lp-success-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(30, 200, 120, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lp-success-icon svg {
    width: 26px;
    height: 26px;
    stroke: #1ec878;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lp-success h3 {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
}

.lp-success p {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.50);
    margin: 0;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 540px) {
    .lp-modal {
        padding: 32px 22px 28px;
    }

    .lp-form {
        grid-template-columns: 1fr;
    }

    .lp-field.lp-full {
        grid-column: 1;
    }

    .lp-title {
        font-size: 19px;
    }
}