/* ── Material Symbols ─────────────────────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-bg {
    background-image: url('../img/seguro-retiro-01-1.webp');
    background-size: cover;
    background-position: center 20%;
}

.hero-gradient {
    /* background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0) 100%); */
}

/* ── Utilities ────────────────────────────────────────────────── */
.axa-bullet {
    color: #ff1721;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    margin-right: 0.5rem;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ── Reveal Animations ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ── Reveal Delay Utilities ───────────────────────────────────── */
.delay-100,
.reveal-delay-100 {
    transition-delay: 100ms;
}

.delay-200,
.reveal-delay-200 {
    transition-delay: 200ms;
}

.delay-300,
.reveal-delay-300 {
    transition-delay: 300ms;
}

.delay-400,
.reveal-delay-400 {
    transition-delay: 400ms;
}

.reveal-delay-500 {
    transition-delay: 500ms;
}

/* ── Hover Effects ────────────────────────────────────────────── */
.hover-lift-premium {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.hover-grow {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-grow:hover {
    transform: scale(1.05) !important;
}

.hover-tint {
    transition: background-color 0.3s ease;
}

.hover-tint:hover {
    background-color: rgba(0, 0, 143, 0.03);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content.open {
    max-height: 300px;
}

/* ── Vue ──────────────────────────────────────────────────────── */
[v-cloak] {
    display: none;
}

/* ── Transiciones Loader / Alerta ─────────────────────────────── */
/* fade - loader overlay */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.25s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

/* modal - alerta custom */
.modal-enter-active {
    transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-leave-active {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-enter-from,
.modal-leave-to {
    opacity: 0;
    transform: scale(0.88);
}

/* ── Field Validation States ────────────────────────────────── */
.field-wrapper {
    position: relative;
}

.field-success {
    outline: none !important;
    border: 1.5px solid rgba(34, 197, 94, 0.5) !important;
    background-color: rgba(34, 197, 94, 0.08) !important;
    box-shadow:
        0 0 10px rgba(34, 197, 94, 0.25),
        inset 0 0 6px rgba(34, 197, 94, 0.15) !important;
}

.field-error {
    outline: none !important;
    border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
    background-color: rgba(239, 68, 68, 0.08) !important;
    box-shadow:
        0 0 10px rgba(239, 68, 68, 0.25),
        inset 0 0 6px rgba(239, 68, 68, 0.15) !important;
}

/* Transición suave para todos los inputs y selects dentro del wrapper */
.field-wrapper input,
.field-wrapper select {
    border: 1.5px solid transparent !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

/* Ícono check verde al lado derecho del campo válido */
.field-success-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Ocultar el caracter ✓ literal */
    font-size: 0 !important;
    color: transparent !important;

    /* Contenedor circular con efecto liquid glass */
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.45);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.25), inset 0 0 4px rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.field-success-icon::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: solid #4ade80;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-0.5px, -0.5px);
}

/* ── Checkbox custom ─────────────────────────────────────────── */
.ui-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.checkbox-container {
    position: relative;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    border-radius: 4px;
    background: #ffffff;
    border: 2.5px solid #ccc;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.checkbox-container:hover input~.checkmark {
    border-color: #ff1721;
}

.checkbox-container input:checked~.checkmark {
    background: #ffffff;
    border-color: #ffffff;
    opacity: 1;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 4.5px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid #ff1721;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 13px;
    line-height: 1.4;
    color: #ffffff;
}

.checkbox-label a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.2s ease;
}

.checkbox-label a:hover {
    color: #e5e7eb;
}

.ui-checkbox.error .checkmark {
    border-color: #ff4d4f;
    box-shadow: 0 0 4px rgba(255, 77, 79, 0.4);
}

/* Custom carets for desktop select fields */
.desktop-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px 14px !important;
    padding-right: 28px !important;
}

.desktop-select-date {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22white%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    background-size: 10px 10px !important;
    padding-right: 16px !important;
}