/* ---------- Botones: rectangulares redondeados y con movimiento ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 14px !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s !important; }
.btn::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg); animation: btnShine 4.2s ease-in-out infinite; pointer-events: none; }
.btn.light::before, .btn.white::before { background: linear-gradient(100deg, transparent, rgba(19,128,138,.16), transparent); }
.btn::after { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--grad); opacity: 0; transition: opacity .4s var(--ease); }
.btn:not(.light):not(.white):hover::after { opacity: 1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(19,128,138,.6); }
.btn:active { transform: translateY(0) scale(.97); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
@keyframes btnShine { 0% { left: -75%; } 45%, 100% { left: 135%; } }
.nav-cta { animation: ctaPulse 3.2s ease-in-out infinite; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(19,128,138,.35); } 50% { box-shadow: 0 0 0 8px rgba(19,128,138,0); } }
.tabs, .tab, .pill { border-radius: 12px !important; }
.reasons label { border-radius: 10px !important; }
.wa-float { border-radius: 18px !important; animation: waBob 3s ease-in-out infinite; }
@keyframes waBob { 50% { transform: translateY(-5px); } }

/* ---------- Logos de la prepaga moviéndose detrás ---------- */
.logo-rain { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.logo-rain img { position: absolute; width: var(--w, 120px); height: auto; opacity: var(--o, .07); animation: lrFloat var(--t, 22s) ease-in-out var(--dl, 0s) infinite alternate; filter: saturate(.8); }
.cta .logo-rain img { filter: brightness(0) invert(1); --o: .12; }
@keyframes lrFloat { from { transform: translate(0, 0) rotate(var(--r0, -6deg)); } to { transform: translate(var(--dx, 40px), var(--dy, -50px)) rotate(var(--r1, 6deg)); } }
.hero > .wrap, .cta > .wrap { position: relative; z-index: 1; }
.cta { position: relative; overflow: hidden; }

/* ---------- Familia Veel ---------- */
.fveel { max-width: 760px; margin: 0 auto; }
.fveel svg { display: block; width: 100%; height: auto; overflow: visible; }
.fveel .fv { animation: fvBob 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
.fveel .fv:nth-of-type(2) { animation-delay: -.4s; } .fveel .fv:nth-of-type(3) { animation-delay: -.9s; animation-duration: 1.8s; }
.fveel .fv:nth-of-type(4) { animation-delay: -1.3s; animation-duration: 1.6s; } .fveel .fv:nth-of-type(5) { animation-delay: -.2s; animation-duration: 2s; }
.fveel .fv:nth-of-type(6) { animation-delay: -1s; animation-duration: 3s; }
@keyframes fvBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px) rotate(-1.5deg); } }
.fveel.walk svg { animation: fvWalk 1.6s var(--ease) both; }
@keyframes fvWalk { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
.fveel-sec { text-align: center; padding: 90px 0 70px; overflow: hidden; }
.fveel-sec h2 { margin-top: 16px; }
.fveel-sec p { color: var(--ink-2); max-width: 560px; margin: 14px auto 34px; font-size: 17px; }
.cta .fveel { max-width: 560px; margin-bottom: 26px; }
.cta .fveel path[stroke="#c9a45c"]:first-child { stroke: rgba(255,255,255,.6); }

@media (prefers-reduced-motion: reduce) { .btn::before, .logo-rain img, .fveel .fv, .nav-cta, .wa-float { animation: none !important; } }

/* Familia Veel junto a "Suele convenir a…" */
.fveel.side { max-width: 380px; margin: 34px 0 0; }
.fveel .fv { animation-name: fvBob, fvSway; animation-duration: 2.4s, 5s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@keyframes fvSway { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }
.fveel .fv:hover { animation-name: fvJump; animation-duration: .6s; }
@keyframes fvJump { 40% { transform: translateY(-22px) rotate(-4deg); } }
@media (max-width: 860px) { .fveel.side { max-width: 300px; margin-top: 24px; } }

/* ---------- "Suele convenir a…": escena con la Familia Veel ---------- */
.scene { position: relative; margin-top: 34px; aspect-ratio: 16/11; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #dff2ee 0%, #f3faf5 62%); box-shadow: 0 40px 70px -50px rgba(35,43,59,.55); }
.scene .sun { position: absolute; right: 13%; top: 13%; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffe9b8, #ffc56e); box-shadow: 0 0 0 14px rgba(255,205,120,.22), 0 0 0 30px rgba(255,205,120,.1); animation: sunGlow 6s ease-in-out infinite; }
@keyframes sunGlow { 50% { box-shadow: 0 0 0 20px rgba(255,205,120,.18), 0 0 0 42px rgba(255,205,120,.06); } }
.scene .cloud { position: absolute; left: -30%; width: 92px; height: 24px; border-radius: 20px; background: #fff; animation: cloudMove 38s linear infinite; }
.scene .cloud::before { content: ""; position: absolute; left: 18px; top: -18px; width: 42px; height: 42px; border-radius: 50%; background: #fff; }
.scene .cloud::after { content: ""; position: absolute; left: 46px; top: -10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.scene .c1 { top: 20%; } .scene .c2 { top: 36%; scale: .65; opacity: .85; animation-duration: 54s; animation-delay: -26s; }
@keyframes cloudMove { to { left: 115%; } }
.scene .hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 44%; }
.scene .fveel.side { position: absolute; left: 50%; bottom: 10%; width: 74%; max-width: none; margin: 0; translate: -50% 0; }
.scene .fveel svg > path:first-child { display: none; }
.scene .fic { position: absolute; width: 18px; color: var(--teal); opacity: .35; animation: ficUp 7s ease-in-out infinite; }
.scene .fic svg { width: 100%; height: auto; display: block; }
.scene .i1 { left: 10%; top: 30%; color: #e07a5f; } .scene .i2 { left: 30%; top: 14%; animation-delay: -2s; width: 14px; }
.scene .i3 { right: 32%; top: 34%; animation-delay: -4s; width: 14px; color: #e07a5f; } .scene .i4 { right: 8%; top: 46%; animation-delay: -5.5s; }
@keyframes ficUp { 0%, 100% { transform: translateY(0) rotate(0); opacity: .25; } 50% { transform: translateY(-16px) rotate(10deg); opacity: .6; } }
.scene-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: 0 10px 24px -16px rgba(35,43,59,.5); }
.scene-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(92,203,106,.22); }

.ideal { display: grid; gap: 12px; }
.ideal li { background: #fff; border: 0 !important; border-radius: 18px; padding: 20px 22px !important; box-shadow: 0 22px 44px -36px rgba(35,43,59,.55); transition: opacity 1s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease) !important; }
.ideal li.in:hover { transform: translateX(8px); box-shadow: 0 26px 50px -30px rgba(19,128,138,.45); }
.ideal .dot { position: relative; width: 40px !important; height: 40px !important; border-radius: 12px !important; background: var(--grad); }
.ideal .dot::after { content: ""; position: absolute; left: 15px; top: 10px; width: 8px; height: 15px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .scene { aspect-ratio: 4/3; } }
