/* Anuncio en el Barrio — landing (mobile-first) */
:root {
  --ink: #0b0b0c;
  --ink-2: #161618;
  --ink-3: #1e1e22;
  --paper: #f6f3f0;
  --paper-2: #ece7e2;
  --cream: #fbf8f5;
  --white: #ffffff;
  --muted: #5d5854;
  --muted-dark: #b7b1ab;
  --line: #ddd6cf;
  --line-dark: rgba(255, 255, 255, 0.1);
  --pink: #e02963;
  --pink-2: #c41e54;
  --pink-soft: #f8d5e0;
  --pink-glow: rgba(224, 41, 99, 0.35);
  --text: #1c1916;
  --text-dark: #f3efe9;
  --radius: 16px;
  --header-h: 64px;
  --font: "Instrument Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.05rem, 8vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
}

h2 {
  font-size: clamp(1.55rem, 4.4vw, 2.25rem);
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(720px, calc(100% - 2rem));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--pink-soft);
}

.nav {
  display: none;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  min-height: 40px;
}

.btn-lg {
  padding: 1.05rem 1.5rem;
  font-size: 1.02rem;
  min-height: 52px;
  width: 100%;
}

.btn-pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 8px 24px var(--pink-glow);
}

.btn-pink:hover {
  background: var(--pink-2);
}

.btn-pink:focus-visible,
.nav a:focus-visible,
.wordmark:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Hero */
.hero {
  position: relative;
  padding: 2.25rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 80% 10%, rgba(224, 41, 99, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(224, 41, 99, 0.08), transparent 50%),
    var(--ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 0.85rem;
}

.eyebrow.dark {
  color: var(--pink-2);
}

.lead {
  color: var(--muted-dark);
  font-size: 1.05rem;
  max-width: 38rem;
}

.lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  margin: 1.6rem 0 1.25rem;
}

.micro {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted-dark);
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-dark);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(360px, 78%);
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-paper {
  background: var(--paper);
  color: var(--text);
}

.section-dark {
  background: var(--ink-2);
  color: var(--text-dark);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head.dark h2,
.section-paper h2 {
  color: var(--ink);
}

.section-dark h2 {
  color: var(--white);
}

.section-lead {
  color: var(--muted-dark);
  font-size: 1.05rem;
}

.section-lead.dark,
.section-paper .section-lead,
.section-paper p {
  color: var(--muted);
}

.section-paper p {
  color: var(--muted);
}

/* Problem */
.pain-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.7rem;
}

.pain-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
}

.pain-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.closing {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink) !important;
  line-height: 1.4;
}

/* Modules */
.modules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.modules li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  padding: 1.15rem 1.1rem;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.mod-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--pink);
  min-width: 1.8rem;
  line-height: 1.2;
}

.modules h3 {
  color: var(--white);
}

.modules p {
  color: var(--muted-dark);
  margin: 0;
  font-size: 0.98rem;
}

/* For whom */
.split {
  display: grid;
  gap: 1rem;
}

.who {
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.who h3 {
  margin-bottom: 0.8rem;
}

.who.yes h3 {
  color: #1f6b45;
}

.who.no h3 {
  color: var(--pink-2);
}

.who ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.who li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text);
  font-size: 0.98rem;
}

.who.yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f6b45;
  font-weight: 700;
}

.who.no li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--pink-2);
  font-weight: 700;
}

/* Author */
.author-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.author-photo {
  margin: 0;
  justify-self: center;
}

.author-photo img {
  width: min(220px, 60vw);
  border-radius: 50%;
  border: 3px solid var(--pink);
  box-shadow: 0 0 0 8px rgba(224, 41, 99, 0.15);
  background: var(--ink);
}

.author-copy h2 {
  color: var(--white);
  margin-bottom: 0.7rem;
}

.author-copy p {
  color: var(--muted-dark);
}

.author-store {
  color: var(--pink-soft) !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Bonuses */
.bonuses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.bonuses li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.25rem;
  border-top: 3px solid var(--pink);
}

.bonus-price {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink-2);
  margin-bottom: 0.35rem;
}

.bonuses h3 {
  color: var(--ink);
}

.bonuses p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Price */
.price-box {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  background:
    radial-gradient(ellipse at top right, rgba(224, 41, 99, 0.18), transparent 50%),
    var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 24px;
  padding: 1.4rem 1.2rem 1.7rem;
  box-shadow: var(--shadow);
}

.price-cover {
  width: min(220px, 58%);
  margin-inline: auto;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.price-copy h2 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.price-sub {
  color: var(--muted-dark);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.price-amount .currency {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
  margin-right: 0.15em;
  color: var(--pink-soft);
}

.price-note {
  color: var(--muted-dark);
  font-size: 0.95rem;
}

.price-includes {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.4rem;
  display: grid;
  gap: 0.5rem;
}

.price-includes li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

/* Guarantee */
.guarantee {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem 1.3rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* FAQ */
.section-faq {
  padding-top: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  padding: 1.05rem 1.8rem 1.05rem 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  font-weight: 500;
  font-size: 1.3rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  padding-right: 1rem;
}

/* Final CTA */
.section-final {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(224, 41, 99, 0.2), transparent 60%),
    var(--ink);
  padding: 4rem 0 4.5rem;
  text-align: center;
}

.final-box h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}

.final-box p {
  color: var(--muted-dark);
  margin-bottom: 1.5rem;
}

.final-box .btn {
  width: auto;
  min-width: min(100%, 360px);
}

.final-box .micro {
  margin-top: 0.9rem;
}

/* Footer */
.site-footer {
  background: #070708;
  color: #8a8580;
  font-size: 0.8rem;
  line-height: 1.55;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line-dark);
}

.footer-brand {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.footer-inner p + p {
  margin-top: 0.7rem;
}

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(11, 11, 12, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

.mobile-cta-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-cta p {
  margin: 0;
  color: var(--white);
  font-size: 0.95rem;
}

.mobile-cta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted-dark);
}

.mobile-cta .btn {
  flex: 0 0 auto;
  min-width: 8.2rem;
}

/* Tablet+ */
@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero {
    padding: 3.5rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }

  .hero-art img {
    width: min(460px, 100%);
  }

  .btn-lg {
    width: auto;
  }

  .modules {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .author-grid {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
  }

  .author-photo img {
    width: 240px;
  }

  .bonuses {
    grid-template-columns: 1fr 1fr;
  }

  .bonuses li:last-child {
    grid-column: 1 / -1;
  }

  .price-box {
    grid-template-columns: 240px 1fr;
    gap: 2.4rem;
    padding: 2.2rem 2.2rem 2.3rem;
  }

  .price-cover {
    width: 100%;
  }

  .guarantee {
    padding: 2.3rem 2.4rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 4.5rem 0;
  }

  .modules {
    grid-template-columns: 1fr 1fr;
  }

  .bonuses {
    grid-template-columns: repeat(6, 1fr);
  }

  .bonuses li {
    grid-column: span 2;
  }

  .bonuses li:nth-child(4),
  .bonuses li:nth-child(5) {
    grid-column: span 3;
  }

  .bonuses li:last-child {
    grid-column: span 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
