/* Barrera Conversation · landing Argentina (raíz). Compartidos en base.css */

/* ---------- Hero ---------- */
.hero { background: var(--bg); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5rem);
  font-weight: 820;
  font-variation-settings: "wdth" 112;
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.hero__lead {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.3rem);
  line-height: 1.5;
  max-width: 42ch;
  color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero__note { margin-top: 1rem; font-size: 0.92rem; color: var(--ink-soft); max-width: 40ch; }

.hero__media {
  position: relative; margin: 0;
  width: min(80vw, 26rem); aspect-ratio: 1; justify-self: center;
}
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  border-radius: 50%;
}
.blob {
  position: absolute; border-radius: 46% 54% 42% 58% / 52% 38% 62% 48%;
}
.blob--yellow { inset: -6% -10% 6% 8%; background: var(--yellow); transform: rotate(-12deg); }
.blob--red { inset: 8% -8% -6% 6%; background: var(--red); transform: rotate(18deg); }
.dot { position: absolute; border-radius: 50%; z-index: 2; }
.dot--red { width: 11%; height: 11%; right: 2%; top: 10%; background: var(--red); }
.dot--blue { width: 7%; height: 7%; left: 4%; bottom: 14%; background: var(--blue); }

@media (min-width: 56rem) {
  .hero__grid { grid-template-columns: 1.2fr 1fr; }
  .hero__media { width: min(100%, 30rem); justify-self: end; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title { animation: rise 1s var(--ease-out) both; }
  .js .hero__lead, .js .hero__actions, .js .hero__note { animation: fade-up 0.8s var(--ease-out) both; animation-delay: 0.3s; }
  .js .hero__actions { animation-delay: 0.4s; }
  .js .hero__note { animation-delay: 0.5s; }
  .js .hero__media img { animation: pop 1s var(--ease-out) both; animation-delay: 0.15s; }
  .js .blob--yellow { animation: pop 1.1s var(--ease-out) both; }
  .js .dot { animation: fade-up 0.8s var(--ease-out) both; animation-delay: 0.6s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 30% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
.js .blob--yellow { animation-name: pop; }

/* ---------- Objetivos (banda amarilla) ---------- */
.goals { background: var(--yellow); color: var(--ink); padding-block: clamp(3.5rem, 8vw, 6rem); }
.goals .lead { color: oklch(0.3 0.03 82); }
.goals__list {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.goals__list button {
  width: 100%; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink);
  background: var(--bg); border: 0; border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
  display: grid; gap: 0.35rem;
  box-shadow: 0 1px 0 oklch(0.4 0.05 82 / 0.15);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.goals__list button strong {
  font-size: 1.25rem; font-weight: 720; font-variation-settings: "wdth" 108; letter-spacing: -0.01em;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.goals__list button strong::after {
  content: "→"; font-weight: 500; color: var(--ink-soft);
  transition: transform 0.35s var(--ease-out), color 0.25s;
}
.goals__list button span { color: var(--ink-2); font-size: 0.98rem; line-height: 1.45; text-wrap: pretty; }
.goals__list button:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px oklch(0.3 0.06 82 / 0.6); }
.goals__list button:hover strong::after { transform: translateX(4px); color: var(--ink); }

/* ---------- Pasos ---------- */
.steps { padding-block: clamp(3.5rem, 8vw, 7rem); }
.steps__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.steps__list { display: grid; gap: 1.75rem; }
.steps__list li { max-width: 32ch; }
.steps__num {
  display: block;
  font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem);
  font-weight: 860; font-variation-settings: "wdth" 118;
  line-height: 0.9; letter-spacing: -0.03em; color: var(--yellow);
  -webkit-text-stroke: 1px var(--ink);
}
.steps__list h3 { margin-top: 0.6rem; }
.steps__list p { margin-top: 0.45rem; color: var(--ink-2); }
@media (min-width: 56rem) {
  .steps__grid { grid-template-columns: 0.8fr 1.6fr; align-items: start; }
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ---------- Por qué ---------- */
.why { background: var(--surface); padding-block: clamp(3.5rem, 8vw, 7rem); }
.why__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why__media {
  position: relative; margin: 0;
  width: min(70vw, 22rem); aspect-ratio: 1; justify-self: center;
}
.why__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.why__list { margin-top: clamp(1.5rem, 3vw, 2rem); display: grid; gap: 1rem; }
.why__list li {
  padding-left: 1.5rem; position: relative; max-width: 56ch; color: var(--ink-2); line-height: 1.5;
}
.why__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--yellow);
}
.why__list li:nth-child(3n+2)::before { background: var(--red); }
.why__list li:nth-child(3n+3)::before { background: var(--blue); }
.why__list strong { color: var(--ink); font-weight: 680; }
@media (min-width: 56rem) {
  .why__grid { grid-template-columns: 0.8fr 1.2fr; }
  .why__media { width: min(100%, 24rem); }
}

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(3.5rem, 8vw, 7rem); }
.faq__grid { display: grid; gap: 2rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.1rem; font-weight: 640; font-size: 1.1rem; font-variation-settings: "wdth" 104;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--ink);
  font-weight: 700; line-height: 1; transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 56rem) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }

/* ---------- CTA final ---------- */
.cta { background: var(--yellow); color: var(--ink); padding-block: clamp(4rem, 9vw, 8rem); }
.cta__inner { display: grid; gap: 1.25rem; justify-items: start; }
.cta h2 { font-size: clamp(2.2rem, 1.2rem + 4.5vw, 4.5rem); max-width: 16ch; }
.cta p { font-size: 1.2rem; color: oklch(0.3 0.02 82); max-width: 40ch; }
.cta .btn { margin-top: 0.5rem; }

/* Botón flotante en versión pastilla */
.wa-float--pill {
  width: auto; height: auto; border-radius: var(--pill); border: 0; cursor: pointer;
  padding: 0.85rem 1.2rem 0.85rem 1rem; gap: 0.5rem; display: flex; align-items: center;
  font: inherit; font-weight: 640; font-size: 0.98rem; font-variation-settings: "wdth" 104;
}
.wa-float--pill .ico { width: 1.4rem; height: 1.4rem; }
.wa-float--pill[hidden] { display: flex; }

/* ---------- Formulario (dialog) ---------- */
.lead-form {
  border: 0; padding: 0; margin: auto;
  width: min(100% - 2rem, 34rem);
  max-height: min(100dvh - 2rem, 52rem);
  border-radius: 1.25rem;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 30px 80px -30px oklch(0.2 0.02 82 / 0.6);
  overflow: auto;
}
.lead-form::backdrop { background: oklch(0.2 0.02 82 / 0.55); backdrop-filter: blur(3px); }
.lead-form__inner { padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: 1.25rem; position: relative; }
.lead-form h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.lead-form__hint { margin-top: -0.75rem; color: var(--ink-2); }
.lead-form__close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); font-size: 1.4rem; line-height: 1;
}
.field { display: grid; gap: 0.5rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 640; font-size: 0.98rem; padding: 0; }
.field em { font-style: normal; font-weight: 480; color: var(--ink-soft); }
.field input[type="text"] {
  font: inherit; font-size: 1.05rem; color: var(--ink);
  padding: 0.8rem 1rem; border-radius: 0.75rem;
  border: 1.5px solid var(--line); background: var(--bg);
}
.field input[type="text"]::placeholder { color: var(--ink-soft); }
.field input[type="text"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px oklch(0.825 0.17 82.6 / 0.45); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.chips span {
  display: inline-block; padding: 0.55rem 0.95rem; border-radius: var(--pill);
  border: 1.5px solid var(--line); font-size: 0.95rem; font-weight: 560;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chips input:checked + span { background: var(--ink-deep); color: var(--yellow); border-color: var(--ink-deep); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.lead-form__error { color: var(--red); font-weight: 560; font-size: 0.95rem; }
.lead-form__submit { justify-self: start; }
.lead-form__fallback { background: var(--surface); border-radius: 0.75rem; padding: 1rem; font-size: 0.92rem; color: var(--ink-2); }
.lead-form__fallback pre { margin: 0.5rem 0 0; white-space: pre-wrap; font: inherit; color: var(--ink); }
