/* Web comercial DAYIA Carta */
:root {
  --navy: #071e52; --navy-2: #0c2a6b; --ink: #0e1733; --muted: #56658c; --line: #e3e7f1;
  --bg: #ffffff; --soft: #f5f6fb; --violet: #746dff; --cyan: #20d5ed; --coral: #ff6a55; --green: #12a173;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn.primary { background: linear-gradient(135deg, var(--violet), #5a52f0); color: #fff; box-shadow: 0 10px 24px -10px rgb(116 109 255 / .8); }
.btn.primary:hover { box-shadow: 0 14px 30px -10px rgb(116 109 255 / .9); }
.btn.light { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .25); }
.btn.light:hover { background: rgb(255 255 255 / .16); }
.btn.ghost { color: inherit; }
.btn.outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn.block { width: 100%; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s, color .25s; }
.nav.scrolled { background: rgb(255 255 255 / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav-row { height: 72px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; }
.brand small { font-weight: 600; opacity: .7; }
.links { display: flex; gap: 26px; margin-left: 20px; }
.links a { text-decoration: none; font-weight: 600; font-size: 14.5px; opacity: .85; }
.links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 140px 0 90px; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.g1 { width: 620px; height: 620px; right: -120px; top: -160px; background: var(--violet); }
.g2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: var(--cyan); opacity: .35; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); font-size: 13.5px; font-weight: 600; color: #dfe4f7; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgb(32 213 237 / .2); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.03; letter-spacing: -.035em; margin: 22px 0 22px; text-wrap: balance; }
.grad { background: linear-gradient(90deg, var(--cyan), #a59fff 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: #c9d2ee; max-width: 590px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: #aeb9dd; font-size: 14px; font-weight: 500; }
.trust li::before { content: "✓"; color: var(--cyan); font-weight: 800; margin-right: 7px; }
.hero-visual { position: relative; display: grid; justify-items: center; }
.phone { position: relative; width: 320px; height: 650px; border-radius: 48px; padding: 12px; background: #050a1a; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .7), inset 0 0 0 2px #2b3150, 0 0 0 1px rgb(255 255 255 / .06); transform: rotate(2deg); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 14px; background: #050a1a; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 37px; background: #f6f0e5; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 16px; background: rgb(255 255 255 / .96); color: var(--ink); box-shadow: 0 24px 50px -18px rgb(0 0 0 / .55); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 14px; }
.float small { display: block; font-size: 12px; color: var(--muted); }
.fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.fi svg { width: 20px; height: 20px; }
.fi.bell { background: #ffece9; color: var(--coral); }
.fi.ok { background: #e6f7f0; color: var(--green); }
.f1 { top: 90px; left: -30px; }
.f2 { bottom: 150px; right: -40px; animation-delay: -2s; }
.f3 { bottom: 40px; left: -10px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -4s; }
.f3 b { font-size: 24px; letter-spacing: -.02em; }
.spark { display: flex; gap: 4px; align-items: flex-end; height: 26px; margin-top: 4px; }
.spark i { width: 9px; border-radius: 3px; background: linear-gradient(180deg, var(--violet), var(--cyan)); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Cifras */
.stats { background: var(--navy-2); color: #fff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-row div { padding: 30px 20px; text-align: center; border-left: 1px solid rgb(255 255 255 / .08); }
.stats-row div:first-child { border-left: 0; }
.stats-row b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-row span { color: #b9c3e0; font-size: 14px; }

/* Secciones */
.section { padding: 110px 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; text-wrap: balance; }
.section-head p { margin: 0; font-size: 18px; color: var(--muted); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.col { border-radius: 22px; padding: 32px; }
.col h3 { margin: 0 0 18px; font-size: 20px; }
.col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.col li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.col li::before { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.col.bad { background: var(--soft); color: #4a5578; }
.col.bad li::before { content: "✕"; background: #fde4e1; color: #c9473d; }
.col.good { background: linear-gradient(160deg, var(--navy), #1a2f86); color: #fff; box-shadow: 0 30px 60px -30px rgb(7 30 82 / .7); }
.col.good li::before { content: "✓"; background: rgb(32 213 237 / .18); color: var(--cyan); }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgb(7 30 82 / .35); }
.fico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgb(116 109 255 / .14), rgb(32 213 237 / .14)); color: var(--violet); margin-bottom: 18px; }
.fico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.for-who { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 46px; }
.for-who span { font-weight: 700; color: var(--muted); margin-right: 6px; }
.for-who b { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 30px; border-radius: 22px; background: var(--soft); }
.num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--cyan)); margin-bottom: 18px; box-shadow: 0 10px 24px -10px rgb(116 109 255 / .8); }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

.billing { display: flex; justify-content: center; gap: 4px; width: max-content; margin: -20px auto 34px; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.billing button { border: 0; background: none; height: 40px; padding: 0 18px; border-radius: 10px; font: 700 14px var(--font); color: var(--muted); cursor: pointer; }
.billing button.on { background: var(--navy); color: #fff; }
.billing em { font-style: normal; font-size: 11.5px; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: rgb(18 161 115 / .14); color: var(--green); }
.billing button.on em { background: rgb(32 213 237 / .2); color: var(--cyan); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; min-height: 520px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(165deg, var(--navy), #1b2f8a); color: #fff; border-color: transparent; box-shadow: 0 40px 80px -36px rgb(7 30 82 / .8); transform: translateY(-10px); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--violet), var(--cyan)); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.plan h3 { margin: 0; font-size: 21px; }
.ptag { margin: 6px 0 20px; color: var(--muted); font-size: 14.5px; min-height: 46px; }
.plan.featured .ptag { color: #c9d2ee; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 50px; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.plan.featured .price span, .plan.featured .billed { color: #c9d2ee; }
.billed { margin: 8px 0 22px; font-size: 13.5px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }
.plan.featured li svg { color: var(--cyan); }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 30px 0 0; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 18px 40px -26px rgb(7 30 82 / .4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; color: var(--muted); }

.final { padding: 0 0 110px; }
.final-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px; border-radius: 30px; color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgb(116 109 255 / .7), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgb(32 213 237 / .35), transparent 60%), var(--navy); }
.final-box h2 { margin: 0 0 8px; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.03em; }
.final-box p { margin: 0; color: #c9d2ee; font-size: 17px; max-width: 520px; }
.final-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.final .btn.outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }

.foot { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot .brand { color: var(--ink); font-size: 16px; }
.foot nav { margin-left: auto; display: flex; gap: 20px; }
.foot nav a { text-decoration: none; font-weight: 600; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { display: none; }
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone { transform: none; width: 300px; height: 610px; }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { left: 0; }
  .compare, .steps, .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stats-row div:nth-child(3) { border-left: 0; }
  .final-box { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .nav-cta .ghost { display: none; }
  .features { grid-template-columns: 1fr; }
  .float { display: none; }
  .hero-cta .btn { width: 100%; }
  .col { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.foot .legal-nav { flex-basis: 100%; margin-left: 0; gap: 18px; font-size: 13px; }
.foot .legal-nav a { font-weight: 500; }
