/* Sin Juicio · portada
   Paleta "anochecer": tinta azul profunda, lila, melocotón y salvia sobre un blanco azulado. */

:root {
  --bg: #eef0f6;
  --surface: #f8f9fc;
  --ink: #1d2136;
  --ink-soft: #4d5270;
  --muted: #7c8099;
  --line: #dcdfea;
  --lilac: #c8c1ec;
  --lilac-soft: #e6e2f8;
  --dawn: #f5c7b4;
  --dawn-soft: #fbe6dc;
  --sage: #b9d5cb;
  --sage-soft: #e0eee8;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --radius-xl: 36px;
  --radius-l: 28px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow-x: clip) { html { overflow-x: clip; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; }
h1 em, h2 em { font-style: italic; color: var(--ink-soft); }

/* Navegación flotante */
.nav {
  position: sticky; top: 0.75rem; z-index: 20;
  max-width: var(--max); margin: 0.75rem auto 0;
  width: calc(100% - 2 * var(--gutter));
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  background: rgba(248, 249, 252, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 6px 24px -14px rgba(29, 33, 54, 0.25);
}
.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-size: 1.5rem; text-decoration: none; line-height: 1; }
.logo-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--dawn), var(--lilac) 60%, var(--sage));
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9375rem; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: var(--surface); background: var(--ink); padding: 0.6rem 1.15rem; border-radius: 999px; }
.nav-links .nav-cta:hover { color: var(--surface); background: #2e3352; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 1rem/1 var(--sans);
  padding: 1rem 1.6rem; border-radius: 999px;
  text-decoration: none; transition: transform 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-ink:hover { background: #2e3352; }
.btn-soft { background: rgba(255, 255, 255, 0.65); color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.9); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }

/* Aura: tres luces difusas que respiran */
.aura { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.aura span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.85; animation: breathe 9s ease-in-out infinite; }
.aura span:nth-child(1) { width: 34rem; height: 34rem; background: var(--lilac); right: 2%; top: 4%; }
.aura span:nth-child(2) { width: 24rem; height: 24rem; background: var(--dawn); right: 22%; top: 34%; animation-delay: -3s; }
.aura span:nth-child(3) { width: 22rem; height: 22rem; background: var(--sage); right: -4%; top: 46%; animation-delay: -6s; }
@keyframes breathe {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-2%, 2%); }
}

/* Portada */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: 0.98; }
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 33rem; margin: 1.75rem 0 2.25rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.chips { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chips li {
  font-size: 0.875rem; color: var(--ink-soft);
  padding: 0.45rem 0.9rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.9);
}

/* Móvil de ejemplo */
.phone {
  position: relative; z-index: 1; justify-self: center;
  width: min(100%, 22rem);
  padding: 0.7rem; border-radius: 46px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 40px 80px -40px rgba(29, 33, 54, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: rotate(2deg);
}
.phone-screen { background: var(--surface); border-radius: 38px; padding: 1.4rem 1.1rem 1rem; display: flex; flex-direction: column; min-height: 33rem; }
.phone-bar { text-align: center; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.phone-title { display: block; font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; }
.phone-sub { font-size: 0.75rem; color: var(--muted); }
.bubbles { flex: 1; display: flex; flex-direction: column; gap: 0.65rem; padding: 1rem 0; font-size: 0.875rem; line-height: 1.45; }
.bubbles p { margin: 0; padding: 0.7rem 0.9rem; max-width: 88%; }
.b-ai { background: var(--lilac-soft); border-radius: 18px 18px 18px 6px; align-self: flex-start; }
.b-me { background: var(--ink); color: var(--surface); border-radius: 18px 18px 6px 18px; align-self: flex-end; }
.b-typing { background: var(--lilac-soft); border-radius: 18px; align-self: flex-start; display: flex; gap: 4px; padding: 0.8rem 0.9rem !important; }
.b-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); opacity: 0.35; animation: dot 1.4s infinite; }
.b-typing i:nth-child(2) { animation-delay: 0.2s; } .b-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 0.9; } }
.phone-input { border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1rem; font-size: 0.875rem; color: var(--muted); background: var(--bg); }

/* Secciones */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter); }
.section-head { margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.05; }
.section-head p { color: var(--ink-soft); margin: 0.6rem 0 0; font-size: 1.125rem; }

/* Pasos en tarjetas de color */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step { position: relative; border-radius: var(--radius-l); padding: 1.75rem 1.75rem 2rem; overflow: hidden; min-height: 21rem; display: flex; flex-direction: column; }
.step-lilac { background: linear-gradient(160deg, var(--lilac-soft), var(--lilac)); }
.step-dawn { background: linear-gradient(160deg, var(--dawn-soft), var(--dawn)); }
.step-sage { background: linear-gradient(160deg, var(--sage-soft), var(--sage)); }
.step-art { width: 7.5rem; height: auto; margin-bottom: auto; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step-art circle { fill: var(--ink); stroke: none; }
.step-n {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.6); font-weight: 600; font-size: 0.9375rem;
}
.step h3 { font-family: var(--serif); font-size: 1.875rem; line-height: 1.1; margin-top: 2.5rem; }
.step p { margin: 0.6rem 0 0; color: var(--ink-soft); }

/* Banners grandes */
.banner {
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  position: relative; overflow: hidden;
}
.banner h2 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.05; }
.banner-copy p { margin: 1.25rem 0 0; font-size: 1.125rem; }

.banner-ink { background: var(--ink); color: var(--surface); }
.banner-ink::before {
  content: ""; position: absolute; width: 30rem; height: 30rem; right: -8rem; bottom: -14rem;
  border-radius: 50%; background: radial-gradient(circle, rgba(200, 193, 236, 0.45), transparent 65%);
}
.banner-ink h2 em { color: var(--lilac); }
.banner-ink .banner-copy p { color: #b9bcd3; max-width: 30rem; }

.topics-mock { position: relative; display: grid; gap: 0.6rem; }
.tm-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem; border-radius: 20px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.tm-card strong { display: block; font-weight: 500; }
.tm-card small { color: #9a9eb9; font-size: 0.8125rem; }
.tm-active { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.22); transform: translateX(-0.75rem); }
.tm-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-dawn { background: var(--dawn); } .dot-lilac { background: var(--lilac); } .dot-sage { background: var(--sage); }
.tm-note strong { white-space: nowrap; }
.tm-note { margin-top: 0.4rem; padding: 1rem 1.1rem; border-radius: 20px; background: var(--dawn); color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tm-note small { color: var(--ink-soft); }

/* Qué es / qué no es */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.panel { border-radius: var(--radius-l); padding: clamp(1.75rem, 4vw, 2.5rem); }
.panel h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 1.25rem; }
.panel-is { background: var(--surface); box-shadow: 0 20px 50px -35px rgba(29, 33, 54, 0.35); }
.panel-isnt { border: 1.5px dashed #c3c6d6; }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.ticks li, .crosses li { display: flex; gap: 0.85rem; align-items: flex-start; }
.ticks li::before, .crosses li::before {
  flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 600; margin-top: 0.05rem;
}
.ticks li::before { content: "✓"; background: var(--sage-soft); color: #2f5d4f; }
.crosses li::before { content: "✕"; background: var(--dawn-soft); color: #8a4a33; }
.crosses li { color: var(--ink-soft); }

/* Privacidad */
.banner-lilac { background: linear-gradient(135deg, var(--lilac-soft), var(--lilac) 70%, #b9b0e6); grid-template-columns: auto minmax(0, 1fr); }
.lock-art { width: clamp(6rem, 12vw, 9rem); fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; align-self: start; }
.lock-art rect { fill: rgba(255, 255, 255, 0.45); }
.privacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.privacy-grid div { background: rgba(255, 255, 255, 0.55); border-radius: 20px; padding: 1.25rem; }
.privacy-grid strong { font-weight: 600; }
.privacy-grid p { margin: 0.35rem 0 0; font-size: 0.9375rem; color: var(--ink-soft); }

/* Cierre */
.closing {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-xl); background: var(--surface);
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}
.closing > *:not(.aura) { position: relative; z-index: 1; }
.aura-small span:nth-child(1) { width: 26rem; height: 26rem; right: auto; left: -6rem; top: -8rem; }
.aura-small span:nth-child(2) { width: 22rem; height: 22rem; right: -5rem; top: auto; bottom: -10rem; }
.aura-small span:nth-child(3) { width: 16rem; height: 16rem; right: 30%; top: auto; bottom: -12rem; }
.closing h2 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1; }
.closing p { color: var(--ink-soft); font-size: 1.125rem; margin: 1rem 0 2rem; }

/* Ayuda inmediata */
.help {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center;
  border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--dawn-soft); border: 1px solid #f2d3c5;
}
.help-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.help-icon svg { width: 1.75rem; fill: var(--dawn); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.help h2 { font-family: var(--sans); font-weight: 600; font-size: 1.1875rem; letter-spacing: 0; }
.help p { margin: 0.3rem 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.help-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Pie */
.foot {
  max-width: var(--max); margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.875rem;
}
.foot .logo { font-size: 1.25rem; color: var(--ink); }
.foot p { margin: 0; flex: 1 1 18rem; }
.foot nav { display: flex; gap: 1.25rem; }

/* Tablet y móvil */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .phone { transform: none; margin-top: 1rem; }
  .aura span:nth-child(1) { width: 22rem; height: 22rem; right: -6rem; top: auto; bottom: 10rem; }
  .aura span:nth-child(2) { width: 16rem; height: 16rem; right: 40%; top: auto; bottom: 2rem; }
  .aura span:nth-child(3) { width: 16rem; height: 16rem; right: -4rem; top: auto; bottom: -2rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 1.5rem; }
  .banner, .banner-lilac { grid-template-columns: 1fr; }
  .tm-active { transform: none; }
  .pair { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .help { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .phone-screen { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura span, .b-typing i { animation: none; }
  .btn:hover { transform: none; }
}
