/* Estimador fullscreen oferta desde 99€ — animado */

.offer-estimator-body {
    --oe-green: #00ff88;
    --oe-cyan: #00d4ff;
    --oe-ink: #050815;
    --oe-ink-soft: rgba(5, 8, 21, 0.72);
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--oe-ink);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #00d4ff;
}

.oe-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.oe-wash {
    position: absolute;
    inset: -20% 0 0;
    background: linear-gradient(
        0deg,
        #00ff88 0%,
        #00e8b0 28%,
        #00d4ff 55%,
        #00ff88 78%,
        #00d4ff 100%
    );
    background-size: 100% 240%;
    animation: oeWashRise 12s ease-in-out infinite;
}

@keyframes oeWashRise {
    0% { background-position: 50% 100%; }
    50% { background-position: 50% 0%; }
    100% { background-position: 50% 100%; }
}

.oe-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: oeOrbFloat 11s ease-in-out infinite;
}

.oe-orb--1 {
    width: min(55vw, 480px);
    height: min(55vw, 480px);
    left: -10%;
    bottom: -8%;
    background: rgba(0, 255, 136, 0.65);
}

.oe-orb--2 {
    width: min(50vw, 420px);
    height: min(50vw, 420px);
    right: -12%;
    top: 8%;
    background: rgba(0, 212, 255, 0.55);
    animation-delay: -3.5s;
}

.oe-orb--3 {
    width: min(40vw, 320px);
    height: min(40vw, 320px);
    left: 35%;
    top: 40%;
    background: rgba(255, 255, 255, 0.28);
    animation-delay: -7s;
}

@keyframes oeOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(16px, -28px) scale(1.08); }
}

.oe-sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    animation: oeSparkle 4.5s ease-in-out infinite;
}

.oe-sparkles span:nth-child(1) { left: 12%; top: 22%; animation-delay: 0s; }
.oe-sparkles span:nth-child(2) { left: 78%; top: 18%; animation-delay: 0.7s; }
.oe-sparkles span:nth-child(3) { left: 55%; top: 70%; animation-delay: 1.4s; }
.oe-sparkles span:nth-child(4) { left: 28%; top: 58%; animation-delay: 2s; }
.oe-sparkles span:nth-child(5) { left: 88%; top: 48%; animation-delay: 2.6s; }
.oe-sparkles span:nth-child(6) { left: 42%; top: 12%; animation-delay: 3.2s; }

@keyframes oeSparkle {
    0%, 100% { opacity: 0; transform: translateY(12px) scale(0.4); }
    40% { opacity: 1; transform: translateY(-8px) scale(1); }
    70% { opacity: 0.4; transform: translateY(-18px) scale(0.7); }
}

.oe-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
    animation: oeDropIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oeDropIn {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

.oe-brand {
    font-weight: 800;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    letter-spacing: -0.03em;
    color: var(--oe-ink);
    text-decoration: none;
    transition: transform 0.25s ease;
}

.oe-brand:hover {
    transform: scale(1.03);
}

.oe-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(5, 8, 21, 0.9);
    color: var(--oe-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: oeBadgePulse 2.4s ease-in-out infinite;
}

@keyframes oeBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.35); }
    50% { box-shadow: 0 0 0 8px rgba(0, 255, 136, 0); }
}

.oe-main {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    padding: 0.25rem clamp(1rem, 4vw, 2rem) 3.5rem;
    min-height: calc(100dvh - 4.5rem);
}

.oe-instant {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    margin-bottom: 1.1rem;
    padding: 0.75rem 1.1rem;
    border-radius: 16px;
    background: rgba(5, 8, 21, 0.88);
    color: #fff;
    font-size: 0.92rem;
    overflow: hidden;
    animation: oeSlideDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.oe-instant strong {
    color: var(--oe-green);
    letter-spacing: -0.02em;
}

.oe-instant span:not(.oe-instant-pulse) {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
}

.oe-instant-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--oe-green);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6);
    animation: oeLiveDot 1.6s ease-out infinite;
}

@keyframes oeLiveDot {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes oeSlideDown {
    from { opacity: 0; transform: translateY(-16px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.oe-progress {
    height: 5px;
    border-radius: 999px;
    background: rgba(5, 8, 21, 0.12);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.oe-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--oe-ink), rgba(5, 8, 21, 0.7));
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 12px rgba(5, 8, 21, 0.25);
}

.oe-stage {
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.oe-step {
    will-change: transform, opacity;
    width: 100%;
}

.oe-step[hidden] {
    display: none !important;
}

.oe-step.is-active:not([hidden]):not(.is-layered) {
    display: block;
    position: relative;
}

.oe-stage.is-transitioning {
    pointer-events: none;
}

.oe-step.is-layered {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
}

.oe-step.is-enter-forward {
    animation: oeEnterRight 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.oe-step.is-enter-back {
    animation: oeEnterLeft 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.oe-step.is-exit-forward {
    animation: oeExitLeft 0.45s cubic-bezier(0.4, 0, 1, 1) both;
    pointer-events: none;
    z-index: 1;
}

.oe-step.is-exit-back {
    animation: oeExitRight 0.45s cubic-bezier(0.4, 0, 1, 1) both;
    pointer-events: none;
    z-index: 1;
}

.oe-step.is-layered .oe-kicker,
.oe-step.is-layered .oe-title,
.oe-step.is-layered .oe-sub,
.oe-step.is-layered .oe-field,
.oe-step.is-layered .oe-choice,
.oe-step.is-layered .oe-check,
.oe-step.is-layered .oe-nav,
.oe-step.is-layered .oe-panel,
.oe-step.is-layered .oe-form .oe-field {
    animation: none !important;
}

@keyframes oeEnterRight {
    from { opacity: 0; transform: translate3d(48px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes oeEnterLeft {
    from { opacity: 0; transform: translate3d(-48px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes oeExitLeft {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(-48px, 0, 0); }
}

@keyframes oeExitRight {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(48px, 0, 0); }
}

.oe-step--center {
    text-align: center;
    padding-top: 8vh;
}

.oe-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--oe-ink-soft);
    animation: oeFadeUp 0.45s ease both 0.05s;
}

.oe-title {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 6vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--oe-ink);
    animation: oeFadeUp 0.5s ease both 0.08s;
}

.oe-title--sm {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.oe-sub {
    margin: 0 0 1.75rem;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--oe-ink-soft);
    animation: oeFadeUp 0.5s ease both 0.12s;
}

.oe-subtitle {
    margin: 1.75rem 0 0.85rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--oe-ink);
    letter-spacing: -0.02em;
}

.oe-step--center .oe-sub {
    margin-left: auto;
    margin-right: auto;
}

@keyframes oeFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.oe-form {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.oe-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    animation: oeFadeUp 0.45s ease both;
}

.oe-form .oe-field:nth-child(1) { animation-delay: 0.12s; }
.oe-form .oe-field:nth-child(2) { animation-delay: 0.18s; }
.oe-form .oe-field:nth-child(3) { animation-delay: 0.24s; }
.oe-form .oe-field:nth-child(4) { animation-delay: 0.3s; }

.oe-field span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--oe-ink-soft);
}

.oe-field span em {
    font-style: normal;
    font-weight: 500;
    opacity: 0.75;
}

.oe-field input,
.oe-field textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid rgba(5, 8, 21, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    color: var(--oe-ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.oe-field textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
}

.oe-field input:focus,
.oe-field textarea:focus {
    outline: none;
    border-color: var(--oe-ink);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 4px rgba(5, 8, 21, 0.08);
    transform: translateY(-1px);
}

.oe-field.is-invalid input,
.oe-field.is-invalid textarea {
    border-color: #c0392b;
    animation: oeShake 0.4s ease;
}

@keyframes oeShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.oe-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.oe-choices {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.oe-choices--grid4 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
    .oe-choices--grid4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.oe-choice {
    width: 100%;
    text-align: left;
    padding: 1.05rem 1.2rem;
    border-radius: 16px;
    border: 2px solid rgba(5, 8, 21, 0.12);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    color: var(--oe-ink);
    font: inherit;
    font-weight: 650;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
    animation: oeFadeUp 0.45s ease both;
}

.oe-choices .oe-choice:nth-child(1) { animation-delay: 0.08s; }
.oe-choices .oe-choice:nth-child(2) { animation-delay: 0.12s; }
.oe-choices .oe-choice:nth-child(3) { animation-delay: 0.16s; }
.oe-choices .oe-choice:nth-child(4) { animation-delay: 0.2s; }
.oe-choices .oe-choice:nth-child(5) { animation-delay: 0.24s; }

.oe-choice:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(5, 8, 21, 0.35);
}

.oe-choice.is-selected {
    background: var(--oe-ink);
    color: #fff;
    border-color: var(--oe-ink);
    box-shadow: 0 12px 30px rgba(5, 8, 21, 0.22);
    animation: oePopSelect 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes oePopSelect {
    0% { transform: scale(0.96); }
    60% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.oe-checks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 560px) {
    .oe-checks {
        grid-template-columns: 1fr 1fr;
    }
}

.oe-checks--compact {
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 560px) {
    .oe-checks--compact {
        grid-template-columns: repeat(3, 1fr);
    }
}

.oe-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem;
    border-radius: 14px;
    border: 2px solid rgba(5, 8, 21, 0.12);
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    animation: oeFadeUp 0.4s ease both;
}

.oe-checks .oe-check:nth-child(odd) { animation-delay: 0.06s; }
.oe-checks .oe-check:nth-child(even) { animation-delay: 0.12s; }

.oe-check:hover {
    transform: translateY(-2px);
}

.oe-check:has(input:checked) {
    border-color: var(--oe-ink);
    background: rgba(5, 8, 21, 0.08);
    transform: scale(1.02);
}

.oe-check input {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--oe-ink);
}

.oe-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    animation: oeFadeUp 0.45s ease both 0.2s;
}

.oe-nav--stack {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
}

.oe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.oe-btn:active {
    transform: scale(0.97);
}

.oe-btn--primary {
    background: var(--oe-ink);
    color: #fff;
    box-shadow: 0 10px 28px rgba(5, 8, 21, 0.25);
}

.oe-btn--primary:hover {
    box-shadow: 0 14px 36px rgba(5, 8, 21, 0.32);
    transform: translateY(-2px);
}

.oe-btn--ghost {
    background: transparent;
    border-color: rgba(5, 8, 21, 0.25);
    color: var(--oe-ink);
}

.oe-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.35);
}

.oe-btn--huge {
    min-height: 4.25rem;
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    letter-spacing: -0.02em;
    background: var(--oe-ink);
    color: #fff;
    animation: oeCtaPulse 2.6s ease-in-out infinite;
}

@keyframes oeCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 8, 21, 0.35); }
    50% { box-shadow: 0 0 0 14px rgba(5, 8, 21, 0); }
}

.oe-btn:disabled {
    opacity: 0.55;
    cursor: wait;
    animation: none;
}

/* Loader ondas estilo wifi (sube hacia arriba) */
.oe-wifi {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.75rem;
}

.oe-wifi-dot {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--oe-ink);
    animation: oeWifiDot 1.4s ease-in-out infinite;
}

.oe-wifi-arc {
    position: absolute;
    left: 50%;
    bottom: 14px;
    border: 4px solid transparent;
    border-top-color: var(--oe-ink);
    border-radius: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: oeWifiRise 1.6s ease-out infinite;
}

.oe-wifi-arc--1 {
    width: 36px;
    height: 36px;
    animation-delay: 0s;
}

.oe-wifi-arc--2 {
    width: 60px;
    height: 60px;
    animation-delay: 0.22s;
}

.oe-wifi-arc--3 {
    width: 86px;
    height: 86px;
    animation-delay: 0.44s;
}

@keyframes oeWifiRise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px) scale(0.7);
    }
    35% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-22px) scale(1.08);
    }
}

@keyframes oeWifiDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}

.oe-loading-text-wrap {
    position: relative;
    height: 3.2rem;
    overflow: hidden;
    margin: 0 auto 0.75rem;
    max-width: 28rem;
}

.oe-loading-text {
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.oe-loading-text.is-in {
    animation: oeTextInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.oe-loading-text.is-out {
    animation: oeTextOutUp 0.35s cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes oeTextInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes oeTextOutUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-28px); }
}

.oe-result-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .oe-result-grid {
        grid-template-columns: 1.4fr 0.8fr;
    }
}

.oe-panel {
    padding: 1.25rem 1.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(5, 8, 21, 0.1);
    backdrop-filter: blur(10px);
    animation: oeFadeUp 0.5s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.oe-panel:nth-child(2) {
    animation-delay: 0.1s;
}

.oe-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(5, 8, 21, 0.12);
}

.oe-panel h2 {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--oe-ink-soft);
}

.oe-includes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.oe-includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 600;
    line-height: 1.35;
    animation: oeFadeUp 0.4s ease both;
}

.oe-includes li::before {
    content: '✓';
    flex-shrink: 0;
    font-weight: 800;
}

.oe-days {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.oe-error {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(192, 57, 43, 0.12);
    border: 1px solid rgba(192, 57, 43, 0.35);
    color: #7b1e16;
    font-weight: 600;
    animation: oeShake 0.4s ease;
}

.oe-success-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--oe-ink);
    position: relative;
    animation: oePop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.oe-success-mark::after {
    content: '';
    position: absolute;
    left: 26px;
    top: 20px;
    width: 16px;
    height: 28px;
    border: solid #00ff88;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    animation: oeCheckDraw 0.4s ease 0.25s both;
}

@keyframes oeCheckDraw {
    from { opacity: 0; transform: rotate(45deg) scale(0.4); }
    to { opacity: 1; transform: rotate(45deg) scale(1); }
}

@keyframes oePop {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.oe-budget-num {
    margin: 0 0 1.5rem;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    animation: oeFadeUp 0.5s ease both 0.2s;
}

@media (prefers-reduced-motion: reduce) {
    .oe-wash,
    .oe-orb,
    .oe-sparkles span,
    .oe-badge,
    .oe-instant,
    .oe-instant-pulse,
    .oe-btn--huge,
    .oe-wifi-arc,
    .oe-wifi-dot {
        animation: none !important;
    }
}
