/* Landing de mochitrip.com: liviana, sin JavaScript. Misma identidad que la app. */

@font-face {
  font-family: "Dela Gothic One";
  src: url("/assets/fonts/dela-gothic-one.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F7F3EC;
  --ink: #1B1B1F;
  --muted: #57534C;
  --accent: #E2402F;
  --accent-text: #B5301F;
  --surface: #FFFDF8;
  --surface-2: #EFE9DE;
  --line: #1B1B1F;
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #121318; --ink: #ECE7DE; --muted: #B9B2A6; --surface: #1C1D24; --surface-2: #24262F; --line: #ECE7DE; --accent-text: #FF8A7A; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
main > section { max-width: 1040px; margin: 0 auto; padding: 40px 16px; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible, summary:focus-visible, .input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Barra superior ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 12px 16px; }
.logotype { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 400 1.35rem/1 var(--display); text-decoration: none; }
.logotype img { width: 36px; height: 36px; }
.top__link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-underline-offset: 4px; }

/* ---------- Héroe ---------- */
.hero { display: grid; gap: 24px; align-items: center; padding-top: 24px; }
.hero h1 { margin: 0; font: 400 clamp(2rem, 1.4rem + 3.2vw, 3.4rem)/1.08 var(--display); text-wrap: balance; }
.hero__sub { margin: 16px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__note { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.hero__mochi { width: min(180px, 44vw); height: auto; justify-self: center; }
@media (min-width: 820px) {
  .hero { grid-template-columns: 1fr auto; padding-top: 48px; }
  .hero__mochi { width: 240px; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--accent); color: #fff; font: 800 1.05rem/1 "Inter", system-ui, sans-serif; text-decoration: none; box-shadow: 3px 3px 0 var(--line); cursor: pointer; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn--ghost { background: var(--surface); color: var(--ink); }

.section-title { margin: 0; font: 400 clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem)/1.15 var(--display); }
.section-sub { margin: 8px 0 0; color: var(--muted); }

/* ---------- Capturas en teléfonos ---------- */
.shots__row { display: flex; gap: 20px; margin: 24px -16px 0; padding: 4px 16px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.phone { flex: none; width: min(72vw, 280px); margin: 0; scroll-snap-align: center; }
.phone img {
  display: block; width: 100%; height: auto; aspect-ratio: 375 / 812;
  border: 8px solid var(--ink); border-radius: 34px; background: var(--surface);
  box-shadow: 6px 6px 0 var(--accent);
}
.phone figcaption { margin-top: 12px; font-weight: 700; text-align: center; }
@media (min-width: 900px) {
  .shots__row { justify-content: center; overflow: visible; margin: 32px 0 0; padding: 0; }
  .phone { width: 260px; }
  .phone:nth-child(2) { transform: translateY(24px); }
}

/* ---------- Cómo funciona ---------- */
.steps__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
.steps__list li { position: relative; padding: 20px 20px 20px 72px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; }
.steps__n { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font: 400 1.2rem/1 var(--display); }
.steps__list h3 { margin: 0 0 4px; font-size: 1.1rem; }
.steps__list p { margin: 0; color: var(--muted); }

/* ---------- Funciones ---------- */
.features__grid { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; }
.feature h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }

/* ---------- Posicionamiento ---------- */
.angle { text-align: center; }
.angle h2 { margin: 0 auto; max-width: 18em; font: 400 clamp(1.6rem, 1.2rem + 2vw, 2.6rem)/1.15 var(--display); color: var(--accent-text); }
.angle p { margin: 16px auto 0; max-width: 40em; font-size: 1.1rem; }

/* ---------- Pedí tu invitación ---------- */
.invite__form { display: grid; gap: 16px; max-width: 520px; margin-top: 20px; padding: 24px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: 4px 4px 0 var(--line); }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: .95rem; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.invite__privacy { margin: 0; color: var(--muted); font-size: .88rem; }
/* Trampa para bots: fuera de la vista y del lector de pantalla. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Preguntas frecuentes ---------- */
.faq details { max-width: 760px; margin-top: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; }
.faq details:first-of-type { margin-top: 20px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.4rem/1 var(--display); color: var(--accent-text); }
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { margin: 0; padding: 0 18px 16px; }
.faq ul { padding-left: 36px; }

/* ---------- Pie ---------- */
.foot { display: grid; justify-items: center; gap: 4px; margin-top: 24px; padding: 24px 16px 40px; border-top: 1.5px solid var(--line); text-align: center; }
.foot__brand { margin: 0; font-weight: 800; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.foot a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Páginas legales y de confirmación ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 32px 16px 48px; }
.legal h1 { font: 400 2rem/1.1 var(--display); margin: 16px 0; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal .muted { color: var(--muted); }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; text-decoration: none; min-height: 44px; }
.legal .back img { width: 32px; height: 32px; }
.thanks { text-align: center; display: grid; justify-items: center; gap: 12px; }
.thanks img.mochi { width: 160px; height: auto; }
