/* Tooki — landing. Recreación 1:1 del sitio de Framer en HTML/CSS/JS plano. */

@font-face {
  font-family: "Tooki";
  src: url("../assets/fonts/tooki-regular.woff2") format("woff2");
  font-weight: 541;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: rgb(238, 242, 238);
  --ink: rgb(30, 30, 30);
  --green: rgb(0, 222, 0);
  --forest: rgb(27, 63, 26);
  --pink: rgb(241, 136, 255);
  --light: rgb(238, 238, 238);
  --footer-text: rgb(237, 237, 237);

  --mona: "Mona Sans", system-ui, sans-serif;
  --inter: "Inter", system-ui, sans-serif;
  --tooki: "Tooki", "Mona Sans", sans-serif;

  /* Desktop (1200–1599) */
  --container: 1200px;
  --hero-fs: 236.11px;
  --plan-fs: 128px;
  --frase-fs: 51px;
  --legal-title-fs: 160px;
  --spring: cubic-bezier(0.34, 1.32, 0.64, 1);
}

@media (min-width: 1600px) {
  :root { --container: 1440px; --hero-fs: 256px; }
}
@media (max-width: 1199.98px) {
  :root { --container: 811px; --hero-fs: 195px; --plan-fs: 96px; --legal-title-fs: 120px; }
}
@media (max-width: 809.98px) {
  :root { --container: 100%; --hero-fs: 100px; --plan-fs: clamp(34px, 10.5vw, 51px); --frase-fs: 35px; --legal-title-fs: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--inter);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: none; }
a { color: inherit; }

/* Mona Sans en ancho condensado, como en Framer */
.display {
  font-family: var(--mona);
  font-variation-settings: "wdth" 75, "wght" 746;
  font-weight: 746;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Botón (Button Simple) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 100px;
  padding: 10px 15px;
  background: var(--forest);
  color: #fff;
  font-family: var(--inter);
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.4s var(--spring), transform 0.4s var(--spring);
}
.btn:hover { background: var(--pink); font-weight: 700; }
.btn--big { padding: 20px 30px; font-size: 28px; }
@media (max-width: 809.98px) {
  .btn { font-size: 13px; padding: 8px 12px; }
  .btn--big { font-size: 20px; padding: 16px 26px; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  pointer-events: none;
}
.navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 10px 15px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(6.15px);
  backdrop-filter: blur(6.15px);
}
.brand { display: flex; align-items: center; gap: 2.56px; text-decoration: none; }
.brand img:first-child { width: 30px; height: 26px; }
.brand img:last-child { width: 60px; height: 23px; }
.socials { display: flex; align-items: center; gap: 10px; color: var(--green); }
.socials svg { width: 20px; height: 20px; display: block; }
.socials a { display: block; line-height: 0; }

@media (min-width: 1600px) {
  .nav { padding: 40px 0; }
  .navbar { gap: 59.4px; padding: 13.5px 20.25px; border-radius: 54px; backdrop-filter: blur(8px); }
  .brand img:first-child { width: 40.5px; height: 35px; }
  .brand img:last-child { width: 81px; height: 31px; }
  .socials { gap: 13.5px; }
  .socials svg { width: 27px; height: 27px; }
  .navbar .btn { font-size: 21.6px; padding: 13.5px 20.25px; }
}
@media (max-width: 809.98px) {
  .navbar { width: 332.5px; justify-content: space-between; gap: 0; padding: 8.1px 12.15px; border-radius: 32.4px; }
  .brand img:first-child { width: 24.3px; height: 21.06px; }
  .brand img:last-child { width: 48.6px; height: 18.63px; }
  .socials { gap: 8.1px; }
  .socials svg { width: 16.2px; height: 16.2px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 3;
  width: var(--container);
  margin: 0 auto;
  padding-top: 156px; /* banda superior de 96px + gap de 60px */
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}
.hero__eyebrow {
  margin: 0;
  padding: 16.43px 0;
  font-family: var(--mona);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
.hero__title { font-size: var(--hero-fs); text-align: center; width: 100%; }

.mono { position: absolute; height: auto; will-change: transform; pointer-events: none; }
/* Posiciones Desktop (contenedor de 1200px) */
.m1  { left: 42.5px;  top: 491px;   width: 61.4px; }
.m2  { left: 43px;    top: 29.5px;  width: 71.8px; }
.m3  { left: 295.5px; top: 576px;   width: 77px; }
.m4  { left: 1129px;  top: 260px;   width: 68.8px; }
.m5  { left: 825.5px; top: 404px;   width: 74.1px; }
.m6  { left: 900.2px; top: 79.45px; width: 69.6px; }
.m7  { left: 296px;   top: 102.5px; width: 73.3px; }
.m8  { left: 94px;    top: 271px;   width: 65.1px; }
.m9  { left: 1091.5px; top: 538px;  width: 74.1px; }
.m10 { left: 752px;   top: 690px;   width: 75.5px; }

@media (min-width: 1600px) {
  /* SUPERTELE: misma composición, desplazada 120px por el contenedor más ancho */
  .mono { translate: 120px 0; }
}
@media (max-width: 1199.98px) {
  .m1  { left: 93.5px; top: 436px; }
  .m7  { left: 623px; top: 78.5px; }
  .m8  { left: 155px; top: 180.5px; }
  .m10 { left: 656px; top: 458px; }
  .m4, .m5, .m6, .m9 { display: none; }
}
@media (max-width: 809.98px) {
  .hero { min-height: 100vh; min-height: 100svh; padding-top: 0; display: flex; align-items: center; justify-content: center; overflow: clip; }
  .hero__content { gap: 30px; }
  .hero__eyebrow { font-family: var(--tooki); font-weight: 541; font-size: 17px; padding: 16.43px 0 0; }
  .m1, .m4, .m5 { display: none; }
  .m6, .m9 { display: block; }
  .m2  { left: 166px; top: 108px;  width: 57.4px; }
  .m3  { left: 53.5px; top: 742px; width: 61.5px; }
  .m6  { left: 292.5px; top: 483.5px; width: 56px; }
  .m7  { left: 303px; top: 180.5px; width: 58.6px; }
  .m8  { left: 28.5px; top: 513.5px; width: 52px; }
  .m9  { left: 264px; top: auto; bottom: 114px; width: 59px; }
  .m10 { left: 24.5px; top: 146px; width: 60px; }
}

/* ---------- Secciones apiladas (sticky, como en Framer) ---------- */
.frase,
.plan,
.celu {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}

.frase {
  z-index: 2;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc((100% - var(--container)) / 2 + 200px);
}
.reveal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  font-family: var(--tooki);
  font-size: var(--frase-fs);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.reveal span {
  display: inline-block;
  margin-right: 0.25em;
  opacity: 0.1;
  color: rgba(0, 0, 0, 0.56);
}
@media (max-width: 1199.98px) { .frase { padding: 0 60px; } }
@media (max-width: 809.98px) { .frase { padding: 0 10px; } }

.plan {
  z-index: 2;
  background: linear-gradient(180deg, rgba(237, 242, 237, 0) 0%, var(--bg) 30%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: var(--plan-fs);
}
.plan__title { font-size: 1em; font-variation-settings: "wdth" 75, "wght" 726; font-weight: 726; text-align: center; }

/* Ticker: ventana de 100px sobre texto de 128px; paso de 143px (todo en em) */
.ticker {
  position: relative;
  width: 100%;
  height: 0.78125em;
  overflow: hidden;
}
.ticker__list {
  position: absolute;
  left: 0;
  right: 0;
  top: -0.125em;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.4s var(--spring);
  will-change: transform;
}
.ticker__list.no-anim { transition: none; }
.ticker__list li {
  height: 1.1171875em;
  font-family: var(--mona);
  font-variation-settings: "wdth" 75, "wght" 672;
  font-weight: 672;
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}

.cards { position: relative; z-index: 3; overflow-x: clip; }
.cards__frame {
  height: 100vh;
  height: 100svh;
  width: var(--container);
  margin: 0 auto;
  padding: 0 200px;
  display: flex;
  align-items: center;
}
.cards__frame--right { justify-content: flex-end; }
.card { width: 176px; height: auto; aspect-ratio: 0.67; object-fit: cover; }
.card--left { rotate: -9deg; }
.card--right { rotate: 10deg; }
@media (max-width: 1199.98px) {
  .cards__frame { padding: 0 200px; }
  .card { width: 238px; }
  .cards__frame--right { padding: 0 200px 0 372px; justify-content: flex-start; }
}
@media (max-width: 809.98px) {
  .cards__frame { height: 75vh; padding: 0 24px; justify-content: flex-start; }
  .cards__frame--right { padding: 0 24px; justify-content: flex-end; }
  .card { width: 211px; }
}

.celu {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: clip;
  pointer-events: none;
}
.celu__group { position: relative; width: 300px; aspect-ratio: 0.83; }
.celu__shadow {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 425px;
  height: 19.875%;
  translate: -50% 0;
  border-radius: 50%;
  background: rgba(128, 128, 128, 0.72);
  filter: blur(86px);
}
.celu__img { position: relative; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1199.98px) { .celu__group { width: 404px; } }
@media (max-width: 809.98px) { .celu__group { width: 75%; max-width: 292px; } }

.espacio { height: 100vh; height: 100svh; position: relative; z-index: 1; }
@media (max-width: 809.98px) { .espacio { display: none; } }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 7;
  background: var(--ink);
  color: var(--footer-text);
  padding-top: 20px;
  overflow: hidden;
}
.footer__main { display: flex; flex-direction: column; gap: 30px; padding: 0 20px; }
.footer__cta { display: flex; flex-direction: column; gap: 29px; }
.footer__title {
  color: var(--light);
  line-height: 0.8;
  white-space: nowrap;
  font-size: 236.11px; /* se ajusta al ancho por JS (fit-text) */
  padding-top: 0.06em;
}
.signup { position: relative; }
.signup__monkey { position: absolute; left: -2px; top: -49px; width: 56px; height: 64px; z-index: 1; }
.signup__form { display: flex; gap: 10px; }
.signup__input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  border-radius: 33px;
  padding: 12px;
  background: var(--light);
  color: #000;
  font-family: var(--tooki);
  font-weight: 541;
  font-size: 25px;
  line-height: 1.2;
  text-transform: uppercase;
  outline: none;
}
.signup__input::placeholder { color: rgb(153, 153, 153); }
.signup__input:focus { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.signup__button {
  flex: 1;
  height: 50px;
  border: 0;
  border-radius: 32px;
  background: var(--pink);
  color: #fff;
  font-family: var(--tooki);
  font-weight: 541;
  font-size: 29px;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.signup__button:hover { filter: brightness(1.05); }
.signup__button:disabled { opacity: 0.6; cursor: default; }
.signup__msg { margin: 10px 0 0; font-size: 16px; min-height: 1.2em; }

.footer__rule { height: 1px; border: 0; margin: 0; background: #fff; opacity: 0.38; }
.footer__row { display: flex; align-items: center; gap: 10px; }
.footer__links { flex: 1; display: flex; align-items: center; gap: 10px; }
.footer__brand { display: flex; align-items: center; gap: 2.5px; padding: 0 30px 0 10px; height: 47.5px; text-decoration: none; }
.footer__brand img:first-child { width: 46.5px; height: 41.75px; }
.footer__brand img:last-child { width: 114.5px; height: 47.5px; }
.footer__links a {
  flex: 1;
  text-align: center;
  color: var(--footer-text);
  text-decoration: none;
  font-family: var(--inter);
  font-size: 17px;
  line-height: 1.2;
}
.footer__links a:hover { text-decoration: underline; }
.footer__socials { display: flex; gap: 18px; color: var(--bg); }
.footer__socials svg { width: 36px; height: 36px; display: block; }
.footer__socials a { display: block; line-height: 0; }
.footer__bottom { display: flex; gap: 10px; padding-left: 20px; margin-top: 54px; }
.footer__bottom p { flex: 1; margin: 0; font-size: 16px; line-height: 1.2; }
.footer__asado { position: relative; width: 125.25px; height: 104.25px; flex: none; }
.footer__asado img { position: absolute; right: -13.5px; top: 0; width: 133.5px; height: 111px; }

@media (max-width: 1199.98px) {
  .footer__socials svg { width: 32px; height: 32px; }
}
@media (max-width: 809.98px) {
  .footer__title .line { display: block; }
  .signup__form { flex-direction: column; }
  .signup__input { flex: none; font-size: 22px; }
  .signup__button { flex: none; }
  .footer__row { flex-direction: column; align-items: flex-start; gap: 40px; }
  .footer__links { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__links a { text-align: left; }
  .footer__brand { padding-left: 0; }
}

/* ---------- Páginas legales ---------- */
.legal {
  width: var(--container);
  margin: 0 auto;
  padding: 156px 100px 120px;
}
.legal__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.legal__title { font-size: var(--legal-title-fs); max-width: 930px; }
.legal__date {
  margin: 0;
  flex: none;
  font-family: var(--mona);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.legal__body { margin-top: 40px; font-family: var(--mona); color: var(--ink); }
.legal__body h2 {
  margin: 36px 0 10px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.legal__body h3 { margin: 24px 0 8px; font-size: 14px; font-weight: 700; line-height: 1.25; max-width: 50%; }
.legal__body p,
.legal__body li {
  max-width: 50%;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.legal__body p { margin: 0 0 12px; }
.legal__body ul { margin: 0 0 12px; padding-left: 18px; }
.legal__body .lead { max-width: none; font-size: 24px; font-weight: 700; line-height: 1; text-transform: uppercase; margin: 0 0 6px; }
.legal__body .legal-cta { max-width: none; font-size: 18px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.legal__body .legal-cta a { color: rgb(15, 38, 150); }

@media (max-width: 1199.98px) {
  .legal { padding: 140px 20px 100px; }
  .legal__body p, .legal__body li, .legal__body h3 { max-width: 75%; }
}
@media (max-width: 809.98px) {
  .legal { padding: 120px 20px 80px; }
  .legal__head { flex-direction: column; align-items: flex-start; }
  .legal__date { font-size: 14px; }
  .legal__body h2, .legal__body .lead { font-size: 20px; }
  .legal__body p, .legal__body li, .legal__body h3 { max-width: none; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__list { transition: none; }
  .reveal span { opacity: 1 !important; color: var(--ink) !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
