@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f4ef;
  --paper: #ffffff;
  --ink: #1c1916;
  --muted: #4f4943;
  --line: rgba(28, 25, 22, 0.1);
  --accent: #6b4e38;
  --wa: #2fce62;
  --wa-ink: #04210f;
  --wa-hover: #5ae07f;
  --focus: #146b38;
  --wrap: 1120px;
  --shadow: 0 14px 36px rgba(48, 36, 24, 0.1);
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffcf8 0%, var(--bg) 280px);
  background-color: var(--bg);
}

img {
  max-width: 100%;
}

h1,
h2,
.brand strong {
  font-family: var(--font-display);
  text-wrap: balance;
}

h1,
h2,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.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;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 80;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 20px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 252, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand {
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 0.95rem/1.15 var(--font-body);
  text-decoration: none;
  text-align: center;
}

.btn-wa {
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 6px 16px rgba(47, 206, 98, 0.28);
}

.btn-wa:hover {
  background: var(--wa-hover);
  color: var(--wa-ink);
}

.hero {
  padding: 18px 0 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f0e8 100%);
  border-bottom: 1px solid rgba(28, 25, 22, 0.12);
}

.hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: center;
}

.hero__stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 896 / 1200;
  object-fit: contain;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(48, 36, 24, 0.16);
}

.hero .eyebrow {
  margin-bottom: 10px;
  font-size: 0.74rem;
}

.hero h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(48, 36, 24, 0.07);
}

.hero__bar p {
  flex: 1 1 12rem;
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero__bar .btn {
  flex: 1 1 auto;
}

.pair {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 12px;
  align-items: center;
}

.pair-block--flip .pair {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.pair img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 896 / 1200;
  object-fit: contain;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pair__copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.pair .btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.pair__copy .eyebrow,
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pair-block {
  padding: 14px 0;
}

.pair-block--flip .pair img {
  order: 2;
}

.pair-block h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.faq {
  padding: 18px 0 8px;
}

.faq__inner {
  max-width: 40rem;
}

.faq h2 {
  margin: 8px 0 4px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 10px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.faq p {
  margin: 0;
  padding: 0 28px 14px 0;
  color: var(--muted);
}

.cierre {
  padding: 22px 0 12px;
}

.cierre__inner {
  display: grid;
  gap: 14px;
  align-items: center;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cierre h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.precios {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.precios li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.precios li:last-child {
  border-bottom: 1px solid var(--line);
}

.precios span {
  font-size: 1rem;
}

.precios small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.precios strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.cierre p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 18px 0 calc(20px + env(safe-area-inset-bottom));
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--ink);
}

.wa-sticky {
  position: fixed;
  z-index: 30;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 10px 28px rgba(28, 25, 22, 0.18);
}

@media (max-width: 899px) {
  .site-footer {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 800px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 48px));
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero__stage {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.24fr);
    gap: 48px;
  }

  .hero__stage img {
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(48, 36, 24, 0.16);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 4.5vw, 4.2rem);
  }

  .hero__bar {
    margin-top: 28px;
    padding: 18px 24px;
  }

  .hero__bar p {
    font-size: 1.28rem;
  }

  .hero__bar .btn {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 12px 22px;
    font-size: 1.05rem;
  }

  .pair {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
  }

  .pair-block--flip .pair {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .pair img {
    border-radius: 22px;
  }

  .pair-block {
    padding: 26px 0;
  }

  .pair-block h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .pair__copy p {
    font-size: 1.16rem;
    line-height: 1.5;
  }

  .eyebrow,
  .pair__copy .eyebrow {
    font-size: 0.78rem;
  }

  .pair .btn {
    width: auto;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 1.02rem;
  }

  .cierre {
    padding: 36px 0 16px;
  }

  .cierre__inner {
    grid-template-columns: 1fr auto;
    padding: 28px 32px;
  }

  .cierre h2 {
    font-size: 2rem;
  }
}

@media (min-width: 900px) {
  .wa-sticky {
    display: none;
  }
}

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