/* LlenaPistas — landing. Apple-like: white and light grey, system type, one teal accent. */

:root {
  --text: #1d1d1f;
  --text-2: #424245;
  --muted: #6e6e73;
  --bg: #fff;
  --bg-2: #f5f5f7;
  --line: #d2d2d7;
  --accent: #0f766e; /* brand teal, dark enough for text on white (AA) */
  --accent-hover: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.14);

  --wa-chat: #efeae2;
  --wa-meta: #667781;
  --wa-link: #027eb5;

  --radius: 28px;
  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ── Type ───────────────────────────── */

.display {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.42; color: var(--muted); letter-spacing: -0.016em; }
.eyebrow { display: block; margin-bottom: 12px; font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 600; color: var(--accent); }

.section-head { max-width: 780px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head .lead a { color: var(--accent); }

/* The four player slots: the brand's small signature. */
.slots { display: inline-flex; gap: 4px; }
.slots i {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0.5;
  transition: background-color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.slots i.on { background: currentColor; opacity: 1; }

/* ── Buttons ────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 980px;
  font: inherit; font-size: 17px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.btn--sm { min-height: 30px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn:disabled { opacity: 0.5; cursor: default; }

.more-link { color: var(--accent); text-decoration: none; }
.more-link::after { content: '\00a0›'; }
.more-link:hover { text-decoration: underline; }

/* ── Nav ────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 52px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; }
.nav__links a { text-decoration: none; color: var(--text-2); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav .btn { margin-left: auto; }
.nav__links ~ .btn,
.lang ~ .btn { margin-left: 0; }

/* Language picker: a native <details>, so it works without JS. */
.lang { position: relative; margin-left: auto; font-size: 13px; }
.nav__links ~ .lang { margin-left: 0; }
.lang summary {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 8px;
  list-style: none; cursor: pointer; color: var(--text-2);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ''; width: 5px; height: 5px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); }
.lang summary:hover,
.lang[open] summary { background: var(--bg-2); color: var(--text); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 160px; padding: 6px;
  border-radius: 12px; background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.lang a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.lang a:hover { background: var(--bg-2); }
.lang a[aria-current] { color: var(--accent); font-weight: 600; }

.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }

/* ── Hero ───────────────────────────── */

.hero { padding-top: clamp(64px, 9vw, 120px); text-align: center; overflow: hidden; }
.hero__copy { max-width: 860px; margin-inline: auto; }
.hero .lead { max-width: 34em; margin: 24px auto 0; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; margin-top: 36px; }
.hero__visual { position: relative; display: inline-block; margin: clamp(56px, 7vw, 88px) 0 0; text-align: left; }

/* ── Phone + WhatsApp mock ──────────── */

.phone {
  width: 336px;
  padding: 11px 11px 0;
  border-radius: 54px 54px 0 0;
  background: #1d1d1f;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 30px 70px -24px rgba(0, 0, 0, 0.35);
}
.phone__screen {
  height: 560px;
  border-radius: 44px 44px 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--wa-chat);
  color: #111b21;
  font-size: 13.4px;
  line-height: 1.38;
  letter-spacing: 0;
}
.wa-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 46px 14px 10px 8px;
  background: #fff;
  border-bottom: 1px solid #e9edef;
}
.wa-bar__back { width: 22px; height: 22px; color: #111b21; }
.wa-bar__avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 600;
}
.wa-bar__title { display: flex; flex-direction: column; min-width: 0; }
.wa-bar__title strong { font-size: 15px; font-weight: 600; }
.wa-bar__title small { font-size: 12px; color: var(--wa-meta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wa-chat {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 12px 12px 14px;
  overflow: hidden;
}
.wa-day {
  align-self: center; margin-bottom: auto;
  font-size: 11.5px; color: #54656f; background: #fff; padding: 4px 10px; border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.wa-msg {
  position: relative;
  max-width: 92%;
  padding: 6px 9px 18px;
  background: #fff;
  border-radius: 0 9px 9px 9px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.wa-msg::before {
  content: ''; position: absolute; left: -7px; top: 0;
  border-top: 9px solid #fff; border-left: 8px solid transparent;
}
.wa-msg__from { display: block; font-size: 12.5px; font-weight: 600; color: var(--accent); margin-bottom: 1px; }
.wa-msg__meta {
  position: absolute; right: 8px; bottom: 4px;
  display: inline-flex; gap: 6px;
  font-size: 10.5px; color: var(--wa-meta);
}
.wa-link { color: var(--wa-link); }
.wa-edited { font-style: italic; }
.wa-players li { transition: background-color 0.6s var(--ease); border-radius: 4px; margin-inline: -3px; padding-inline: 3px; }
.wa-players li.is-new { background: rgba(37, 211, 102, 0.18); }
.wa-foot { padding: 12px 16px 16px; background: #f0f2f5; color: var(--wa-meta); font-size: 12px; text-align: center; }

.score {
  position: absolute; left: -180px; bottom: 200px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 16px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--text);
  font-size: 15px; font-weight: 600;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.score .slots { color: var(--accent); }
.score .slots i { width: 11px; height: 11px; }
.score.is-full { background: var(--accent); color: #fff; }
.score.is-full .slots { color: #fff; }

/* ── Sections and cards ─────────────── */

.section { padding: var(--section) 0; }
.section--grey { background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 36px 32px 40px; border-radius: var(--radius); background: var(--bg-2); }
.section--grey .card { background: #fff; }
.card h3 { margin-bottom: 10px; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; }
.step__n {
  display: grid; place-items: center;
  width: 36px; height: 36px; margin-bottom: 24px;
  border-radius: 50%; background: #fff;
  color: var(--accent); font-size: 15px; font-weight: 600;
}
.section-note { max-width: 56ch; margin: 40px auto 0; text-align: center; color: var(--muted); font-size: 16px; }

/* ── FAQ ────────────────────────────── */

.faq__list { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  list-style: none; cursor: pointer;
  font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.018em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 14px; height: 1.5px; background: var(--muted);
  transition: transform 0.3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { max-width: 62ch; padding: 0 44px 24px 0; color: var(--muted); }

/* ── Contact ────────────────────────── */

.form { display: grid; gap: 18px; max-width: 640px; margin-inline: auto; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span,
.field legend { padding: 0; font-size: 14px; font-weight: 500; }
.field em { font-style: normal; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--text);
  font: inherit; font-size: 17px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #a1a1a6; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[aria-invalid='true'] { border-color: #d70015; }

.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 8px; }
.field--chips label { position: relative; cursor: pointer; }
.field--chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.field--chips span {
  display: inline-block; padding: 8px 18px;
  border: 1px solid var(--line); border-radius: 980px;
  font-size: 15px; transition: all 0.2s;
}
.field--chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.field--chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-size: 15px; color: var(--muted); text-align: center; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-error { color: #d70015; }
.form__status a { color: var(--accent); }
.form.is-sent .form__row,
.form.is-sent .field,
.form.is-sent .consent,
.form.is-sent [data-submit] { display: none; }
.form.is-sent .form__status { font-size: 19px; color: var(--text); }

/* ── Footer ─────────────────────────── */

.footer { padding: 40px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer .brand__name { font-size: 15px; }
.footer .brand__mark { width: 22px; height: 22px; }
.footer__tag { max-width: 44ch; margin-top: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__fine { padding-top: 16px; }
.footer__fine p { max-width: 90ch; }

/* ── Legal ──────────────────────────── */

.legal { max-width: 720px; padding: clamp(56px, 8vw, 96px) 0 96px; }
.legal__updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2:not(.h2) { margin: 56px 0 16px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.022em; }
.legal h3 { margin: 28px 0 8px; font-size: 1.1rem; }
.legal p { color: var(--text-2); }
.legal p + p { margin-top: 14px; }
.legal a { color: var(--accent); }
.legal__data { margin: 20px 0; border-top: 1px solid var(--line); }
.legal__data div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__data dt { font-weight: 600; }
.legal__data dd { margin: 0; color: var(--text-2); }

/* ── 404 ────────────────────────────── */

.notfound {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-content: center; justify-items: center; gap: 20px;
  padding: 48px var(--gutter);
  text-align: center;
}
.notfound .eyebrow { margin: 0; }

/* ── Reveal ─────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity 0.9s var(--ease), translate 0.9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Responsive ─────────────────────── */

@media (max-width: 1000px) {
  .score { left: -80px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__links ~ .lang { margin-left: auto; }
  .cards { grid-template-columns: 1fr; }
  .score { left: auto; right: -40px; bottom: 120px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .phone { width: 300px; padding: 9px 9px 0; border-radius: 48px 48px 0 0; }
  .phone__screen { height: 540px; border-radius: 40px 40px 0 0; font-size: 12.6px; }
  .score { right: -12px; bottom: 90px; padding: 10px 14px; font-size: 14px; }
  .form__row { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
}
