/* ============================================================
   SINTONÍA — landing v2
   Dirección: dating cálido y humano, con onda porteña. Caras reales,
   color vibrante, tipografía confiada (no "AI-tech").
   ============================================================ */
:root {
  --cream: #fff4ec;
  --surface: #ffffff;
  --coral: #ff6a4d;
  --coral-deep: #ea4a2c;
  --berry: #e14b6a;
  --pink: #ffd7ce;
  --plum: #1f0f22;
  --gold: #ffb24c;
  --ink: #2a1626;
  --ink-soft: #7a6a75;
  --placeholder: #7d6c78; /* 4.9:1 sobre blanco — accesible */
  --line: #f1ded3;

  --display: 'Bricolage Grotesque', -apple-system, system-ui, sans-serif;
  --body: 'Hanken Grotesk', -apple-system, system-ui, sans-serif;

  --r-sm: 14px;
  --r: 20px;
  --r-lg: 30px;
  --r-pill: 999px;
  --shadow: 0 30px 60px -28px rgba(234, 74, 44, 0.5);
  --shadow-soft: 0 12px 30px -12px rgba(42, 22, 38, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--coral); color: #fff; }
img { display: block; max-width: 100%; }
.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;
}

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav.scrolled { background: var(--cream); box-shadow: 0 6px 24px -16px rgba(42, 22, 38, 0.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.wordmark {
  font-family: var(--display); font-weight: 800; font-size: 25px;
  letter-spacing: -0.03em; color: var(--ink); text-decoration: none;
}
.wordmark .dot { color: var(--coral); }
.wordmark.small { font-size: 20px; }
.nav-cta {
  font-family: var(--body); font-size: 14px; font-weight: 700; color: #fff;
  background: var(--coral); text-decoration: none;
  padding: 13px 22px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft); transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--coral-deep); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 24px clamp(60px, 9vw, 110px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero::before {
  content: ''; position: absolute; z-index: -1;
  inset: -10% -30% 20% 30%;
  background: radial-gradient(60% 60% at 70% 35%, rgba(255, 106, 77, 0.32), transparent 65%),
              radial-gradient(50% 50% at 90% 10%, rgba(225, 75, 106, 0.28), transparent 60%),
              radial-gradient(45% 55% at 60% 70%, rgba(255, 178, 76, 0.22), transparent 60%);
  filter: blur(10px);
}
.badge {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--berry);
  background: #fff; border: 1.5px solid var(--pink);
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6.6vw, 72px); line-height: 0.98; letter-spacing: -0.035em;
  color: var(--ink);
}
.hl {
  position: relative; color: var(--coral); white-space: nowrap;
}
.hl::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.08em; height: 0.32em;
  background: var(--gold); opacity: 0.45; border-radius: 4px; z-index: -1;
  transform: rotate(-1.5deg);
}
.lede {
  margin-top: 22px; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-soft); max-width: 480px;
}
.lede strong { color: var(--ink); }

/* Form */
.waitlist { margin-top: 30px; max-width: 480px; }
.field-row { display: flex; gap: 10px; }
#email {
  flex: 1; font-family: var(--body); font-size: 16px; padding: 16px 18px;
  border: 2px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s; min-width: 0;
}
#email::placeholder { color: var(--placeholder); }
#email:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 106, 77, 0.16); }
.gender { display: flex; gap: 8px; margin-top: 12px; }
.gender input { position: absolute; opacity: 0; pointer-events: none; }
.gender label {
  font-size: 13.5px; font-weight: 700; padding: 12px 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: #fff; color: var(--ink-soft); cursor: pointer; transition: all 0.2s;
}
.gender label:hover { border-color: var(--coral); color: var(--coral); }
.gender input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.gender input:focus-visible + label { outline: 2px solid var(--coral); outline-offset: 2px; }

.btn-primary {
  font-family: var(--display); font-size: 16px; font-weight: 700; color: #fff;
  background: var(--coral); border: none; border-radius: var(--r); padding: 16px 24px;
  cursor: pointer; white-space: nowrap; box-shadow: var(--shadow);
  transition: transform 0.18s, background 0.2s;
}
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:disabled { opacity: 0.6; transform: none; }

/* Social proof */
.social { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.faces { display: flex; }
.faces img {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--cream);
  object-fit: cover; margin-left: -14px; background: var(--pink);
}
.faces img:first-child { margin-left: 0; }
.social p { font-size: 14.5px; color: var(--ink-soft); }
.social strong { color: var(--berry); }
.form-note { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.form-note.ok { color: var(--coral-deep); font-weight: 700; }
.share-row { display: block; margin-top: 8px; font-weight: 400; color: var(--ink-soft); }
.share-btn {
  font: inherit; font-weight: 700; color: var(--coral-deep); background: none;
  border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.share-btn:hover { color: var(--coral); }

/* Hero card — mockup de la app (device frame) */
.hero-card { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; padding: 9px; background: #1b0f1f;
  border-radius: 48px; box-shadow: var(--shadow); transform: rotate(2deg); transition: transform 0.4s;
}
.phone:hover { transform: rotate(0); }
.phone-island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; background: #1b0f1f; border-radius: var(--r-pill); z-index: 4;
}
.phone-screen { background: var(--surface); border-radius: 40px; overflow: hidden; }
.app-bar { display: flex; align-items: center; justify-content: space-between; padding: 40px 18px 12px; }
.app-bar .app-brand { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.02em; color: var(--ink); }
.app-bar .app-brand .dot { color: var(--coral); }
.app-bar .app-day { font-size: 12px; font-weight: 700; color: var(--coral); }
.card-photo {
  height: 264px; background-size: cover; background-position: center; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.card-photo-grad { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(31, 15, 34, 0.78)); }
.card-name { position: relative; color: #fff; font-family: var(--display); font-weight: 700; font-size: 21px; }
.card-name em { font-style: normal; opacity: 0.85; font-weight: 500; }
.card-body { padding: 16px; }
.why { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; }
.why-label { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--berry); }
.why p { font-size: 14px; line-height: 1.5; color: var(--ink); margin-top: 6px; }
.why em { font-style: italic; color: var(--ink-soft); }
.card-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.act-pass {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 18px; font-weight: 700;
}
.act-go { flex: 1; text-align: center; background: var(--coral); color: #fff; font-weight: 700; font-family: var(--display); padding: 13px; border-radius: var(--r-pill); }

/* ---------- Secciones ---------- */
.section-title {
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.6vw, 44px);
  letter-spacing: -0.03em; text-align: center; color: var(--ink); margin-bottom: 38px;
}

.how { max-width: 1100px; margin: clamp(40px, 7vw, 80px) auto 0; padding: 0 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow-soft); }
.step-emoji { font-size: 38px; display: block; margin-bottom: 14px; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* Quote / sección oscura */
.quote {
  position: relative; max-width: 1100px; margin: clamp(50px, 8vw, 100px) auto 0;
  background: var(--plum); border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(44px, 7vw, 80px) clamp(28px, 6vw, 80px); text-align: center; overflow: hidden;
}
.quote::before {
  content: ''; position: absolute; inset: -40% -20% auto -20%; height: 120%;
  background: radial-gradient(50% 60% at 30% 20%, rgba(255, 106, 77, 0.4), transparent 60%),
              radial-gradient(40% 50% at 80% 10%, rgba(225, 75, 106, 0.35), transparent 60%);
  filter: blur(20px);
}
.quote-text {
  position: relative; font-family: var(--display); font-weight: 600;
  font-size: clamp(24px, 3.6vw, 38px); line-height: 1.25; letter-spacing: -0.02em; color: #fff7f2;
  max-width: 760px; margin: 0 auto;
}
.quote-text em { font-style: italic; color: var(--gold); }
.quote-by { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: #d9c6cf; font-size: 15px; font-weight: 600; }
.quote-by img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.25); }

/* Por qué grid */
.why-grid { max-width: 1100px; margin: clamp(50px, 8vw, 100px) auto 0; padding: 0 24px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.cell span { font-size: 30px; display: block; margin-bottom: 10px; }
.cell h3 { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.cell p { color: var(--ink-soft); font-size: 15px; }

/* Seguridad / confianza */
.trust { max-width: 1100px; margin: clamp(50px, 8vw, 100px) auto 0; padding: 0 24px; }
.trust-inner {
  background: var(--surface); border: 1px solid var(--line); border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--berry); margin-bottom: 12px;
}
.trust-copy h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.03em; line-height: 1.05; color: var(--ink);
}
.trust-copy p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; max-width: 460px; }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; }
.trust-list span {
  flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.trust-list strong { font-family: var(--display); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.trust-list p { margin-top: 2px; color: var(--ink-soft); font-size: 14.5px; }

/* Íconos SVG (reemplazan emojis en pasos/grilla/confianza) */
.step-emoji svg { width: 30px; height: 30px; color: var(--coral); display: block; }
.cell span svg { width: 26px; height: 26px; color: var(--coral); display: block; }
.trust-list span svg { width: 22px; height: 22px; color: var(--berry); display: block; }

/* FAQ */
.faq { max-width: 820px; margin: clamp(50px, 8vw, 100px) auto 0; padding: 0 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 20px; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--pink); box-shadow: var(--shadow-soft); }
.faq summary {
  font-family: var(--display); font-weight: 700; font-size: 17.5px; color: var(--ink);
  cursor: pointer; list-style: none; padding: 16px 0; display: flex;
  align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; font-family: var(--body); font-weight: 400; font-size: 26px;
  line-height: 1; color: var(--coral); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); font-size: 15.5px; padding: 0 0 18px; max-width: 680px; }

/* CTA final */
.final {
  position: relative; max-width: 880px; margin: clamp(56px, 9vw, 110px) auto 0;
  padding: clamp(48px, 8vw, 90px) 24px; text-align: center; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: clamp(24px, 4vw, 44px);
  background: linear-gradient(140deg, var(--coral), var(--berry));
  opacity: 0.12;
}
.final h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5.4vw, 54px); letter-spacing: -0.035em; color: var(--ink); line-height: 1.02; }
.final p { color: var(--ink-soft); font-size: 18px; margin: 16px 0 30px; }
.btn-big { display: inline-block; text-decoration: none; font-size: 18px; padding: 19px 36px; border-radius: var(--r-pill); }

/* Footer */
.foot {
  max-width: 1180px; margin: clamp(50px, 8vw, 90px) auto 0; padding: 26px 24px 46px;
  border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  color: var(--ink-soft); font-size: 14px;
}

/* Animaciones */
/* Hero: una sola entrada orquestada al cargar (above the fold) */
.reveal, .reveal-up { opacity: 0; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
/* Confirmación del waitlist: el momento de conversión merece un acento (evento raro) */
.form-note.ok { animation: pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .form-note.ok { animation: none; opacity: 1; }
}

/* Responsive */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero::before { inset: -10% -20% 40% -20%; }
  .waitlist, .lede { margin-left: auto; margin-right: auto; }
  .hero-card { order: -1; margin-bottom: 12px; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
  .trust-inner { grid-template-columns: 1fr; }
}
