/* Holalan — landing */
:root {
  --night: #0a1226;
  --night-2: #111c3a;
  --blue: #3d8bff;
  --blue-deep: #1f6fff;
  --blue-soft: #e3eeff;
  --sand: #f6f2ea;
  --sun: #ff9f6b;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #0f1a33;
  --muted: #5d6680;
  --line: #e6e8ef;
  --shadow: 0 24px 60px -24px rgba(10, 18, 38, .35);
  --radius: 22px;
  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1328; --surface: #121c38; --ink: #eef2fb; --muted: #a5afc8; --line: #22305a;
    --blue-soft: #16264d; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1328; --surface: #121c38; --ink: #eef2fb; --muted: #a5afc8; --line: #22305a;
  --blue-soft: #16264d; --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.fine { font-size: .85rem; color: var(--muted); }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; color: var(--blue-deep); margin-bottom: .7rem; }

/* Marca */
.brand { font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-decoration: none; letter-spacing: -.03em; }
.brand-ho { color: #dfe6f5; }
.brand-la { color: #ffffff; }
.brand-lan { color: var(--blue); }

/* Barra superior */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem clamp(1rem, 4vw, 3rem); color: #fff;
  background: linear-gradient(180deg, rgba(10, 18, 38, .85), rgba(10, 18, 38, .55));
  backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topnav { display: flex; align-items: center; gap: 1.3rem; }
.topnav a { color: #dfe6f5; text-decoration: none; font-weight: 700; font-size: .95rem; }
.topnav a:hover { color: #fff; }
.lang { border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font: 800 .8rem var(--body); padding: .45rem .7rem; border-radius: 999px; cursor: pointer; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer;
  font: 800 1rem/1 var(--body); padding: 1rem 1.5rem; border-radius: 999px; background: var(--blue-deep); color: #fff;
  text-decoration: none; box-shadow: 0 12px 28px -12px rgba(31, 111, 255, .8); transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: .65rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--night); box-shadow: none; }

.stores { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 2rem 0 1.2rem; }
.store {
  display: inline-flex; align-items: center; gap: .7rem; cursor: pointer; padding: .75rem 1.3rem .75rem 1rem;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff;
  text-align: left; font: 700 1.15rem/1.1 var(--body); backdrop-filter: blur(6px); transition: transform .15s ease, background .15s ease;
}
.store:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .12); }
.store svg { width: 28px; height: 28px; }
.store small { display: block; font-size: .7rem; font-weight: 600; opacity: .75; }
.final .store { background: var(--night); border-color: var(--night); }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 #3ddc97; animation: ping 1.8s infinite; vertical-align: middle; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* HERO */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1rem 6rem; overflow: hidden; color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, var(--night-2), var(--night) 60%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.glow-a { width: 46vw; height: 46vw; background: var(--blue-deep); top: -18vw; right: -12vw; opacity: .35; }
.glow-b { width: 50vw; height: 30vw; background: var(--sun); bottom: -18vw; left: 25vw; opacity: .22; }
.sea { position: absolute; inset: auto 0 0; height: 120px; pointer-events: none; }
.sea span { position: absolute; left: -10%; width: 120%; height: 120px; border-top: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; animation: wave 9s ease-in-out infinite; }
.sea span:nth-child(1) { bottom: -70px; }
.sea span:nth-child(2) { bottom: -84px; animation-delay: -3s; opacity: .7; }
.sea span:nth-child(3) { bottom: -98px; animation-delay: -6s; opacity: .45; }
@keyframes wave { 50% { transform: translateX(3%) scaleY(1.15); } }

/* Las sílabas caen: HO mediana, LA más grande, LAN la más grande */
.drop {
  --base: clamp(4.6rem, 19vw, 13.5rem);
  position: relative; display: flex; align-items: baseline; justify-content: center; gap: .04em;
  margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .9;
}
.syl { display: inline-block; opacity: 0; transform: translateY(-120vh) rotate(-8deg); }
.syl-ho { font-size: calc(var(--base) * .56); color: #dfe6f5; }
.syl-la { font-size: calc(var(--base) * .76); color: #ffffff; }
.syl-lan { font-size: var(--base); color: var(--blue); }
.is-played .syl { animation: fall .95s cubic-bezier(.3, 1.45, .55, 1) forwards; }
.is-played .syl-la { animation-delay: .38s; }
.is-played .syl-lan { animation-delay: .76s; }
.is-played .syl-lan { animation-name: fall, shine; animation-duration: .95s, 3.2s; animation-delay: .76s, 1.9s; animation-iteration-count: 1, infinite; animation-timing-function: cubic-bezier(.3, 1.45, .55, 1), ease-in-out; }
@keyframes fall {
  0% { opacity: 1; transform: translateY(-120vh) rotate(-8deg); }
  70% { transform: translateY(4%) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes shine {
  0%, 100% { opacity: 1; transform: none; text-shadow: 0 0 0 rgba(61, 139, 255, 0); }
  50% { opacity: 1; transform: none; text-shadow: 0 0 40px rgba(61, 139, 255, .55); }
}
.drop::after {
  content: ""; position: absolute; left: 50%; bottom: -.12em; width: 0; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent); transform: translateX(-50%);
}
.is-played .drop::after { animation: line 1s ease-out 1.6s forwards; }
@keyframes line { to { width: 70%; } }

.hero-copy { position: relative; max-width: 42rem; opacity: 0; transform: translateY(20px); }
.hero.is-played .hero-copy { animation: rise .8s ease-out 1.7s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-claim { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 2.1rem); margin: 2.2rem 0 .6rem; letter-spacing: -.02em; }
.hero-sub { color: #b9c4de; font-size: 1.1rem; }
.hero-areas { color: #b9c4de; font-weight: 700; font-size: .95rem; }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Secciones */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 3rem); }
.section-head { max-width: 46rem; margin-bottom: 2.8rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.card-ico { font-size: 1.8rem; display: block; margin-bottom: .8rem; }
.card p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .1rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: var(--blue-soft); color: var(--blue-deep); }
.ticks.light li::before { background: rgba(255, 255, 255, .18); color: #fff; }

/* Teléfono */
.phone { position: relative; justify-self: center; width: 300px; height: 600px; padding: 12px; border-radius: 46px; background: #0d0d10; box-shadow: var(--shadow), inset 0 0 0 2px #2a2a30; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #0d0d10; z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: var(--night); color: #fff; padding: 54px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.app-title { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0; letter-spacing: -.03em; }
.ask { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 12px; font-size: .86rem; font-weight: 600; color: #e6ecfa; min-height: 4.6em; }
.ask.typing::after { content: "▍"; color: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.results-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #8fa0c6; margin: 4px 0 0; }
.listing { display: flex; gap: 10px; background: rgba(255, 255, 255, .06); border-radius: 16px; padding: 8px; }
.listing-img { width: 84px; flex: none; border-radius: 12px; }
.img-a { background: linear-gradient(160deg, #ffb27d 0%, #ff7e6b 35%, #3d8bff 36%, #1b3f86 100%); }
.img-b { background: linear-gradient(160deg, #9fe3b5 0%, #3c9d6b 55%, #24543d 100%); }
.listing-title { font-weight: 800; font-size: .85rem; margin: 2px 0 4px; }
.listing-meta { margin: 0 0 4px; }
.tag { font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; }
.tag-blue { background: rgba(61, 139, 255, .2); color: #a9c8ff; }
.listing-price { font-family: var(--display); font-weight: 700; margin: 0; }
.listing-price small { font-family: var(--body); font-weight: 600; color: #8fa0c6; font-size: .75rem; }
.mock-note { margin-top: auto; text-align: center; font-size: .7rem; color: #6f7fa6; }

/* Comparación */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare .row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; border-top: 1px solid var(--line); }
.compare .row:first-child { border-top: 0; }
.compare .row > span { padding: 1rem 1.2rem; color: var(--muted); font-weight: 600; }
.compare .row > span:first-child { color: var(--ink); font-weight: 800; }
.compare .head > span { font-family: var(--display); color: var(--ink); font-weight: 700; }
.compare .us { background: var(--blue-soft); color: var(--ink) !important; font-weight: 800 !important; }
.compare .head .us { background: var(--blue-deep); color: #fff !important; }

/* Zonas */
.areas { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 1.1rem; }
.area { position: relative; overflow: hidden; border-radius: 26px; padding: 2rem 1.6rem 1.6rem; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.area h3 { font-size: 2rem; font-weight: 800; }
.area p { color: rgba(255, 255, 255, .85); margin: 0; }
.area-si { background: linear-gradient(200deg, #3c9d6b, #1b3f2f 70%); }
.area-mf { background: linear-gradient(200deg, #ff9f6b 0%, #ff7e6b 28%, #1f6fff 29%, #0a1f55 100%); }
.area-soon { background: var(--surface); color: var(--ink); border: 1px dashed var(--line); }
.area-soon p { color: var(--muted); }
.area-status { position: absolute; top: 1.2rem; left: 1.2rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .35rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(4px); }
.area-status.soon { background: var(--blue-soft); color: var(--blue-deep); }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.steps li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--blue); display: block; margin-bottom: .6rem; line-height: 1; }
.steps p { color: var(--muted); margin: 0; }

/* Propietarios */
.owners {
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: end; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, var(--blue-deep), var(--night) 65%);
  border-radius: 32px; padding: clamp(2rem, 5vw, 3.5rem);
}
.owners .kicker { color: #a9c8ff; }
.owners p { color: #c9d4ee; max-width: 40rem; }

.final { text-align: center; }
.final .lead { margin-inline: auto; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer p { margin: 0; }

/* Modal */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(580px, calc(100% - 2rem)); max-height: calc(100% - 2rem); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(5, 10, 25, .6); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.94) translateY(10px); opacity: 0; } }
.modal-body { padding: 3.2rem clamp(1.2rem, 4vw, 2.2rem) 1.8rem; }
.modal-body h2 { font-size: 1.7rem; margin-top: 1rem; }
.modal-lead { color: var(--muted); }
.modal-close-form { position: absolute; top: .8rem; right: .8rem; margin: 0; }
.modal-close { border: 0; background: var(--blue-soft); color: var(--ink); width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.pill-tag { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: var(--blue-soft); font-weight: 700; font-size: .85rem; color: var(--blue-deep); margin: 0; }

.form { display: grid; gap: 1rem; }
.roles { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.role input { position: absolute; opacity: 0; }
.role span { display: block; text-align: center; padding: .8rem; border-radius: 14px; border: 2px solid var(--line); font-weight: 800; cursor: pointer; }
.role input:checked + span { border-color: var(--blue-deep); background: var(--blue-soft); color: var(--blue-deep); }
.role input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.fields label { display: grid; gap: .3rem; font-weight: 700; font-size: .88rem; }
.fields [hidden] { display: none; }
input, select { font: 600 1rem var(--body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .85rem; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--blue-deep); }
.trap { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 800; min-height: 1.2em; }
.form-msg.ok { color: #12a06a; }
.form-msg.err { color: #d92d20; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .area-soon { grid-column: 1 / -1; min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .owners { grid-template-columns: 1fr; }
  .topnav a:not(.keep):not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .cards, .areas, .steps, .fields { grid-template-columns: 1fr; }
  .compare { overflow-x: auto; }
  .compare .row { grid-template-columns: 7.5rem repeat(3, minmax(7.5rem, 1fr)); min-width: 32rem; }
  .compare .row > span { padding: .85rem .8rem; font-size: .9rem; }
  .store { flex: 1 1 100%; justify-content: center; }
  .phone { width: 280px; height: 570px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .syl, .hero-copy, .reveal { opacity: 1 !important; transform: none !important; }
}

section[id] { scroll-margin-top: 72px; }

.topnav a.keep { color: #fff; font-weight: 800; }
.topnav a.btn, .topnav a.btn:hover { color: #fff; }
.web-cta { display: inline-flex; gap: .4rem; color: #a9c8ff; font-weight: 800; text-decoration: none; border-bottom: 2px solid rgba(169, 200, 255, .35); padding-bottom: 2px; margin-bottom: 1rem; }
.web-cta:hover { color: #fff; border-color: #fff; }
.final .btn { margin: .5rem 0 .3rem; }

/* Páginas legales */
.legal { max-width: 800px; padding-top: 7rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal-date { color: var(--muted); font-weight: 700; }
.legal-en { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.legal section { scroll-margin-top: 80px; }
.legal-back { margin-top: 2.5rem; }
