/* BlueWay — web. Identidad del manual de marca: paleta azul, Fredoka + Lexend. */
@import url("../assets/fonts/fonts.css");

:root {
  --celeste: #4DC5F6; --electrico: #2385E7; --corporativo: #1678E4; --intenso: #0C46C3; --profundo: #0A2CAC;
  --grad: linear-gradient(100deg, #4DC5F6 0%, #2385E7 38%, #1678E4 62%, #0A2CAC 100%);
  --ink: #0A1B6B; --ink-2: #33427A; --muted: #5E6C92;
  --bg: #F5F9FF; --tint: #EAF3FE; --surface: #FFFFFF; --line: #DDE8F6;
  --shadow: 0 18px 50px rgba(22, 120, 228, .14), 0 3px 10px rgba(10, 44, 172, .06);
  --lv1: #1DB173; --lv2: #F5B21B; --lv3: #FF7A2F; --lv4: #EE3A4E;
  --display: "Fredoka", "Lexend", system-ui, sans-serif;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 78px;
  --pad: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.01em; line-height: 1.08; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 600 15px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--corporativo); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); margin: 16px 0 0; }
.tiny { font-size: 13px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font: 600 17px var(--display); text-decoration: none; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(22, 120, 228, .35); }
.btn-grad:hover { box-shadow: 0 16px 34px rgba(22, 120, 228, .45); }
.btn-ghost { background: #fff; color: var(--intenso); box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--intenso); }

/* ---------- Menú ---------- */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); transition: background .3s, box-shadow .3s; }
.nav.solid { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(10, 44, 172, .08); }
.nav-logo img { height: 44px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.on { background: var(--tint); color: var(--intenso); }
.nav-cta { height: 48px; padding: 0 22px; font-size: 16px; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; background: var(--intenso); border-radius: 2px; transition: transform .25s; }
.nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 26px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav { gap: 10px; }
  .nav-links { position: fixed; top: var(--nav-h); left: 12px; right: 12px; flex-direction: column; background: #fff; border-radius: 24px; padding: 12px; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin-left: auto; }
  .nav-burger { display: block; }
}
@media (max-width: 420px) { .nav-logo img { height: 34px; } .nav-cta { padding: 0 16px; } }

/* ---------- Móvil (mockup) ---------- */
.phone { position: relative; width: 320px; aspect-ratio: 390 / 844; border-radius: 48px; background: #0B1240; padding: 10px; box-shadow: 0 0 0 2px #2A3570, 0 40px 90px rgba(10, 30, 110, .35); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 16px; background: #05081F; z-index: 3; }
.phone > img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }

/* ---------- Portada ---------- */
.hero { height: 240vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: var(--nav-h) var(--pad) 0; gap: 40px; }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.b1 { width: 720px; height: 720px; right: -160px; top: -120px; background: radial-gradient(closest-side, #CBE6FD, transparent); }
.b2 { width: 620px; height: 620px; left: -200px; bottom: -260px; background: radial-gradient(closest-side, #D7DDFB, transparent); }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trail path { fill: none; stroke: #8FCBF7; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 2 26; opacity: .7; }
.hero-copy { position: relative; z-index: 2; max-width: 640px; will-change: transform, opacity; }
.hero-copy h1 { font-size: clamp(46px, 6.4vw, 96px); font-weight: 700; color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-phone { position: relative; justify-self: center; z-index: 2; will-change: transform, opacity; }
.hero-phone .phone { width: min(330px, 30vw); min-width: 250px; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.float { position: absolute; width: 92px; filter: drop-shadow(0 12px 18px rgba(10, 44, 172, .2)); transition: transform .3s ease-out; }
.f1 { left: -90px; top: 14%; } .f2 { right: -80px; top: 6%; width: 84px; } .f3 { left: -110px; bottom: 20%; width: 80px; }
.f4 { right: -100px; bottom: 26%; } .f5 { right: -40px; bottom: -20px; width: 74px; }
.hero-statement { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1000px, 90vw); text-align: center; font: 600 clamp(30px, 4.2vw, 64px)/1.15 var(--display); color: var(--ink); margin: 0; pointer-events: none; z-index: 3; }
.hero-statement .w { opacity: .12; transition: opacity .25s; }
.hero-statement .w.on { opacity: 1; }
.hero-statement .w.hl.on { color: var(--corporativo); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.scroll-hint span { width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--corporativo); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }
@media (max-width: 900px) {
  .hero { height: 220vh; }
  .hero-sticky { grid-template-columns: 1fr; text-align: center; padding-top: calc(var(--nav-h) + 10px); gap: 18px; align-content: start; }
  .hero-copy { margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-phone .phone { width: 230px; min-width: 0; }
  .float { width: 60px !important; } .f1 { left: -60px; } .f3 { left: -64px; } .f2, .f4 { right: -60px; }
  .lead { font-size: 17px; }
}
@media (max-height: 760px) and (max-width: 900px) { .hero-phone .phone { width: 180px; } }

/* ---------- Secciones ---------- */
.sec { position: relative; padding: clamp(80px, 12vw, 150px) var(--pad); }
.sec h2 { font-size: clamp(36px, 4.6vw, 68px); font-weight: 700; }
.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.sub-title { font-size: clamp(26px, 2.6vw, 36px); margin: 80px 0 28px; text-align: center; }
.card { background: var(--surface); border-radius: 30px; padding: 32px; box-shadow: var(--shadow); }
.card h3 { font-size: 28px; color: var(--intenso); margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 1. La app: historia con el móvil fijo ---------- */
.app { background: linear-gradient(180deg, var(--bg), #fff 40%, var(--bg)); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; max-width: 1180px; margin: 0 auto; }
.story-phone { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100vh - var(--nav-h) - 8vh); display: flex; align-items: center; justify-content: center; gap: 28px; }
.story-phone .phone { width: auto; height: min(680px, 100%); }
.story-phone .phone > img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-phone .phone > img.on { opacity: 1; transform: none; }
.story-dots { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.story-dots li { width: 10px; height: 10px; border-radius: 50%; background: #C8D8EE; transition: .3s; }
.story-dots li.on { height: 34px; border-radius: 6px; background: var(--grad); }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step-ico { width: 84px; margin-bottom: 8px; }
.step-n { font: 700 18px var(--display); color: var(--celeste); margin: 0; }
.step h3 { font-size: clamp(30px, 3.2vw, 46px); color: var(--ink); margin: 4px 0 14px; }
.step p { font-size: 19px; color: var(--ink-2); margin: 0; max-width: 480px; }
.step-shot { display: none; }
.levels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.lv { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.lv1 { background: #E7F8F0; color: #0E7A4E; } .lv2 { background: #FFF6DF; color: #8A5A00; }
.lv3 { background: #FFEDE3; color: #B5470C; } .lv4 { background: #FDE8EB; color: #B21D33; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .step { min-height: 0; opacity: 1; padding: 40px 0; align-items: center; text-align: center; }
  .step p { margin: 0 auto; }
  .levels { justify-content: center; }
  .step-shot { display: block; width: 240px; margin-top: 26px; border-radius: 30px; border: 8px solid #0B1240; box-shadow: var(--shadow); }
}

/* ---------- 2. Quiénes somos ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center; max-width: 1180px; margin: 0 auto; }
.split p { color: var(--ink-2); }
.split .eyebrow { color: var(--corporativo); }
.split-ill { border-radius: 40px; box-shadow: var(--shadow); background: #fff; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1180px; margin: 70px auto 0; }
.values, .team, .people, .goals { list-style: none; padding: 0; margin: 0 auto; max-width: 1180px; display: grid; gap: 18px; }
.values { grid-template-columns: repeat(3, 1fr); }
.values li, .people li { background: #fff; border-radius: 26px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .3s var(--ease); }
.values li:hover, .people li:hover { transform: translateY(-6px) rotate(-.5deg); }
.values img, .people img { width: 64px; margin-bottom: 8px; }
.values b, .people b { font: 600 22px var(--display); color: var(--intenso); }
.values span, .people span { color: var(--ink-2); font-size: 16px; }
.team { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.team-photo { display: block; width: 160px; height: 160px; border-radius: 50%; padding: 5px; background: var(--grad); margin-bottom: 16px; box-shadow: 0 14px 30px rgba(22, 120, 228, .28); transition: transform .35s var(--ease); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; }
.team li:hover .team-photo { transform: translateY(-6px) rotate(-3deg); }
.team li { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.avatar { width: 110px; height: 110px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 38px var(--display); margin-bottom: 10px; box-shadow: 0 10px 24px rgba(22, 120, 228, .3); }
.team b { font: 600 20px var(--display); } .team span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .split, .mv { grid-template-columns: 1fr; text-align: center; }
  .values { grid-template-columns: 1fr 1fr; } .team { grid-template-columns: 1fr 1fr; }
}

/* ---------- 3. Objetivos ---------- */
.objetivos { background: #fff; }
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto 70px; padding-top: 30px; }
.road-line { position: absolute; left: 4%; right: 4%; top: 52px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.road-line span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; }
.milestone { position: relative; text-align: center; padding: 0 6px; }
.milestone .dot { width: 50px; height: 50px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 4px solid var(--corporativo); display: grid; place-items: center; font: 700 20px var(--display); color: var(--intenso); position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(22, 120, 228, .2); }
.milestone b { font: 600 24px var(--display); color: var(--ink); }
.milestone p { color: var(--ink-2); margin: 6px 0 0; font-size: 16px; }
.goals { grid-template-columns: repeat(4, 1fr); }
.goals li { background: var(--tint); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.goals b { font: 600 21px var(--display); color: var(--intenso); } .goals span { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; gap: 30px; }
  .road-line { left: 50%; right: auto; width: 6px; top: 30px; bottom: 30px; height: auto; transform: translateX(-50%); }
  .road-line span { width: 100%; height: 0; }
  .milestone { background: #fff; }
  .goals { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .goals, .values, .team { grid-template-columns: 1fr; } }

/* ---------- 4. A quién afecta ---------- */
.big-number { text-align: center; max-width: 820px; margin: 0 auto 60px; }
.count { font: 700 clamp(110px, 18vw, 240px)/1 var(--display); margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.people { grid-template-columns: repeat(4, 1fr); }
.sound { max-width: 1180px; margin: 70px auto 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: #0A1B6B; color: #fff; border-radius: 40px; padding: clamp(28px, 4vw, 56px); overflow: hidden; position: relative; }
.sound h3 { font-size: clamp(28px, 3vw, 42px); color: #fff; }
.sound p { color: #C5D6F5; }
.sound .tiny { color: #8FA6D6; }
.sound-places { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.sound-places button { border: 2px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 500; transition: .2s; }
.sound-places button[aria-selected="true"] { background: #fff; color: var(--intenso); border-color: #fff; }
.meter { position: relative; text-align: center; padding: 30px 10px; }
.waves { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; }
.waves i { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 3px solid var(--wave, #1DB173); opacity: 0; animation: wave var(--speed, 3s) infinite; }
.waves i:nth-child(2) { animation-delay: calc(var(--speed, 3s) / 3); } .waves i:nth-child(3) { animation-delay: calc(var(--speed, 3s) / 1.5); }
@keyframes wave { from { transform: scale(.3); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.meter-db { position: relative; font: 700 84px/1 var(--display); margin: 0; color: #fff; }
.meter-lv { position: relative; font: 600 24px var(--display); margin: 8px 0 18px; color: var(--wave, #1DB173); }
.meter-bar { position: relative; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #1DB173 0%, #F5B21B 40%, #FF7A2F 65%, #EE3A4E 100%); overflow: hidden; }
.meter-bar span { position: absolute; right: 0; top: 0; bottom: 0; width: 70%; background: #26377F; transition: width .9s var(--ease); }
.meter-src { position: relative; font-size: 14px; color: #C5D6F5; margin: 12px 0 0; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr 1fr; } .sound { grid-template-columns: 1fr; text-align: center; } .sound-places { justify-content: center; } }

/* ---------- 5. Descargar ---------- */
.descargar { color: #fff; overflow: hidden; }
.dl-bg { position: absolute; inset: 0; background: linear-gradient(125deg, #4DC5F6 0%, #1678E4 45%, #0A2CAC 100%); }
.dl-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 15%, rgba(255, 255, 255, .25), transparent 70%), radial-gradient(500px 500px at 10% 100%, rgba(10, 27, 107, .4), transparent 70%); }
.dl-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 6vw; align-items: center; max-width: 1180px; margin: 0 auto; }
.dl-iso { width: 70px; margin-bottom: 18px; }
.descargar h2 { color: #fff; }
.descargar .lead { color: #E3F0FE; }
.soon { min-height: 24px; color: #fff; font-weight: 500; }
.btn-big { height: 64px; padding: 0 36px; font-size: 21px; margin-top: 32px; box-shadow: 0 16px 34px rgba(5, 15, 70, .3); }
.btn-big svg { width: 24px; height: 24px; }
.dl-note { display: flex; gap: 10px; align-items: flex-start; max-width: 480px; margin: 16px 0 0; font-size: 15px; color: #E3F0FE; }
.dl-note svg { width: 22px; height: 22px; flex: none; color: #B6F09C; margin-top: 1px; }
@media (max-width: 900px) { .dl-note { margin-left: auto; margin-right: auto; text-align: left; } }
.dl-anim { position: relative; display: flex; justify-content: center; }
.phone-anim { width: 290px; overflow: hidden; animation: bob 6s ease-in-out infinite; }
.phone-anim > img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); opacity: 0; transform: translateX(40px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.phone-anim > img.on { opacity: 1; transform: none; }
.phone-anim > img.out { opacity: 0; transform: translateX(-40px); }
.tap { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); opacity: 0; z-index: 4; pointer-events: none; }
.tap.go { animation: tap .65s var(--ease); }
@keyframes tap { 0% { opacity: 0; transform: scale(1.4); } 40% { opacity: 1; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.1); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } }
.float-dl { position: absolute; width: 78px; filter: drop-shadow(0 12px 18px rgba(5, 15, 70, .3)); animation: bob 5s ease-in-out infinite; }
.d1 { left: 4%; top: 12%; } .d2 { right: 4%; top: 38%; animation-delay: -1.5s; } .d3 { left: 10%; bottom: 10%; animation-delay: -3s; }
@media (max-width: 900px) { .dl-inner { grid-template-columns: 1fr; text-align: center; } .dl-iso { margin: 0 auto 18px; } .phone-anim { width: 230px; } .float-dl { width: 56px; } }

/* ---------- 6. Contacto ---------- */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list b { font: 600 15px var(--font); color: var(--corporativo); text-transform: uppercase; letter-spacing: .08em; }
.form { display: grid; gap: 16px; text-align: left; }
.form label { display: grid; gap: 6px; font-weight: 500; color: var(--ink-2); }
.form input, .form textarea { font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--ink); outline: 0; transition: border-color .2s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--celeste); }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.form .check input { width: 20px; height: 20px; }
.link { border: 0; background: none; padding: 0; color: var(--corporativo); text-decoration: underline; font: inherit; }
.form-msg { margin: 0; min-height: 24px; font-weight: 500; color: #0E7A4E; }
.form-msg.err { color: #B21D33; }

/* ---------- Pie ---------- */
.footer { background: #0A1B6B; color: #C5D6F5; padding: 60px var(--pad) 40px; text-align: center; }
.foot-top img { height: 54px; margin: 0 auto; }
.foot-slogan { font: 600 clamp(24px, 3vw, 36px) var(--display); color: #fff; margin: 16px 0 26px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.foot-legal button { border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; border-radius: 999px; padding: 8px 16px; }
.foot-legal button:hover { background: rgba(255, 255, 255, .1); }
.foot-small { font-size: 13px; margin: 26px auto 0; max-width: 720px; color: #8FA6D6; }

.legal { border: 0; border-radius: 30px; padding: 40px; max-width: 680px; width: calc(100% - 32px); max-height: 82vh; color: var(--ink); box-shadow: var(--shadow); }
.legal::backdrop { background: rgba(10, 27, 107, .45); backdrop-filter: blur(4px); }
.legal h3 { font-size: 30px; color: var(--intenso); margin-bottom: 14px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal-close { position: absolute; right: 18px; top: 14px; border: 0; background: var(--tint); width: 40px; height: 40px; border-radius: 50%; font-size: 24px; color: var(--intenso); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: #0A1B6B; color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .35s var(--ease); z-index: 60; }
.toast.show { transform: translate(-50%, 0); }

/* Sin animaciones si la persona lo prefiere */
.rm .hero { height: auto; }
.rm .hero-sticky { position: relative; height: auto; min-height: 100vh; }
.rm .hero-statement { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; margin: 40px auto 80px; opacity: 1 !important; }
.rm .hero-statement .w { opacity: 1; }
.rm .scroll-hint { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Móvil: ajustes finos ---------- */
html, body { overflow-x: clip; }
.hero-sticky { height: 100svh; }
@media (max-width: 600px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .nav-logo img { height: 36px; }
  .nav-cta { height: 44px; padding: 0 16px; font-size: 15px; }
  .nav-burger { width: 44px; height: 44px; }
  .nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 25px; }
  .sec { padding: 72px 18px; }
  .sec-head { margin-bottom: 36px; }
  .sub-title { margin: 56px 0 20px; }
  .btn { height: 50px; padding: 0 22px; font-size: 16px; }

  /* Portada */
  .hero-copy h1 { font-size: 40px; }
  .hero-ctas { gap: 10px; margin-top: 22px; }
  .hero-phone .phone { width: 200px; }
  .float { width: 48px !important; }
  .f1 { left: -50px; } .f3 { left: -54px; } .f2, .f4 { right: -50px; } .f5 { display: none; }
  .hero-statement { font-size: 30px; }

  /* Tarjetas en una columna, icono al lado del texto */
  .values, .people, .goals { grid-template-columns: 1fr; gap: 12px; }
  .values li, .people li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .values img, .people img { width: 48px; margin: 0; }
  .values li b, .people li b { flex: 1; font-size: 19px; }
  .values li span, .people li span { flex-basis: 100%; }
  .goals li { padding: 18px; }

  /* Equipo en dos columnas */
  .team { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .team-photo { width: 118px; height: 118px; padding: 4px; margin-bottom: 10px; }
  .team-photo img { border-width: 3px; }
  .team b { font-size: 16px; line-height: 1.25; }
  .team span { font-size: 13px; }

  /* Misión / visión */
  .mv { gap: 12px; margin-top: 40px; }
  .card { padding: 22px; border-radius: 24px; }
  .split { gap: 30px; }

  /* Hoja de ruta */
  .roadmap { gap: 22px; margin-bottom: 40px; }
  .milestone p { font-size: 15px; }

  /* Medidor */
  .sound { padding: 26px 18px; gap: 12px; border-radius: 28px; }
  .sound-places { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .sound-places button { padding: 10px 8px; font-size: 14px; border-radius: 16px; }
  .meter { padding: 20px 0 6px; }
  .waves i { width: 150px; height: 150px; margin: -75px; }
  .meter-db { font-size: 64px; }

  /* Descargar */
  .btn-big { width: 100%; justify-content: center; height: 60px; font-size: 19px; }
  .dl-iso { width: 56px; }
  .phone-anim { width: 210px; }
  .float-dl { width: 46px; }

  /* Contacto y pie */
  .form { padding: 22px; }
  .legal { padding: 28px 22px; }
  .foot-legal button { padding: 8px 12px; font-size: 14px; }

  .count { font-size: 104px; }
  .step h3 { font-size: 28px; }
  .step p { font-size: 17px; }
  .step-shot { width: 210px; }
}
@media (max-width: 360px) {
  .nav-cta svg { display: none; }
  .hero-copy h1 { font-size: 36px; }
}
