:root {
  --bg: #f6f0e6;
  --sheet: #fffaf4;
  --ink: #3a261c;
  --muted: #6d5b50;
  --line: #eadfce;
  --brown: #8c3d22;
  --brown-dark: #5c2a16;
  --orange: #e07a2f;
  --teal: #2f6f62;
  --soft: #f3e7d6;
  --max: 1120px;
  --sans: Manrope, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--brown-dark); }
h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.55rem; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.02rem; margin: 0; }
p { margin: 0 0 0.8rem; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--brown-dark);
  color: white;
  padding: 0.4rem 0.7rem;
  z-index: 6;
}
.skip:focus { top: 0.75rem; }

.topbar {
  background: var(--brown-dark);
  color: #f6e4d4;
  font-size: 0.84rem;
  text-align: center;
  padding: 0.42rem 1rem;
}
.topbar a { color: white; white-space: nowrap; }

.header {
  background: var(--sheet);
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(92, 42, 22, 0.06);
  border-bottom: 3px solid var(--orange);
}
.header-inner, .wrap, .footer-inner { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.logo {
  height: 132px;
  width: auto;
  max-width: min(320px, 68vw);
  object-fit: contain;
}

.nav-toggle { display: none; }
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { background: #f6e2cf; color: var(--brown); }

.hero { padding: 1.25rem 0 0.2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
  background: white;
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(92, 42, 22, 0.07);
}
.eyebrow { color: var(--orange); font-weight: 800; margin-bottom: 0.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  border: 2px solid transparent;
}
.btn-green { background: var(--teal); color: white; }
.btn-wa { background: #1f8a4c; color: white; }
.btn-line { background: white; color: var(--brown-dark); border-color: var(--line); }
.hero-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.55rem;
  min-height: 280px;
}
.hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: var(--soft);
}
.hero-photos img:first-child { grid-row: 1 / span 2; }

.facts, .cat-row {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}
.facts { grid-template-columns: repeat(3, 1fr); }
.fact, .cat-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
}
.fact span { display: block; color: var(--muted); font-size: 0.82rem; }
.cat-row { grid-template-columns: repeat(5, 1fr); }
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  min-height: 92px;
}
.cat-tile strong { display: block; }
.cat-tile span { color: var(--muted); font-size: 0.86rem; }
.cat-tile:hover { border-color: #e7b089; }

.section { padding: 1.5rem 0 0.4rem; }
.section h2 { display: flex; align-items: center; gap: 0.65rem; }
.section h2::after {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: var(--orange);
}
.lede { color: var(--muted); }
.anchor { scroll-margin-top: 7rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.card:hover { box-shadow: 0 14px 30px rgba(92, 42, 22, 0.1); }
.card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  padding: 0.55rem;
}
.card-body { padding: 0.8rem 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.card .cat { color: var(--orange); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.price { margin-top: auto; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.12rem; }
.card-cta {
  display: inline-block;
  margin-top: 0.35rem;
  background: var(--brown);
  color: white;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  width: fit-content;
}

ol.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  counter-reset: step;
}
ol.steps li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 0.8rem 0.9rem;
  counter-increment: step;
}
ol.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #f6e2cf;
  color: var(--brown);
  font-weight: 800;
  margin-bottom: 0.45rem;
  font-size: 0.85rem;
}

.prose { max-width: 44rem; }
.prose ol, .prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.note {
  background: white;
  border-left: 4px solid var(--orange);
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  border-radius: 0 12px 12px 0;
}

.product {
  display: grid;
  grid-template-columns: minmax(240px, 460px) 1fr;
  gap: 1.4rem;
  align-items: center;
  background: white;
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(92, 42, 22, 0.06);
}
.product > img {
  width: 100%;
  background: white;
  border-radius: 16px;
  object-fit: contain;
  max-height: 460px;
}
.price-lg { font-size: 2rem; font-weight: 800; margin: 0.3rem 0 0.8rem; }

form { display: grid; gap: 0.75rem; max-width: 32rem; }
label { display: grid; gap: 0.3rem; font-size: 0.95rem; font-weight: 700; }
input, textarea {
  font: inherit;
  font-weight: 500;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 8rem; resize: vertical; }
button.btn { cursor: pointer; }
#aviso-form { min-height: 1.2rem; font-weight: 700; }

.footer {
  background: var(--brown-dark);
  color: #f6e4d4;
  padding: 2rem 0 1.4rem;
  margin-top: 2rem;
  font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.footer h2 { color: white; font-size: 1rem; }
.footer h2::after { display: none; }
.footer a { display: block; margin: 0.25rem 0; color: #f6e4d4; text-decoration: none; }
.footer a:hover { color: white; }
.footer address { font-style: normal; }
.legal-line { margin: 1rem auto 0; color: #e7c3a4; font-size: 0.8rem; }

@media (min-width: 861px) {
  .header { display: flex; align-items: center; }
  .header-inner { width: auto; margin-left: max(1rem, calc((100% - var(--max)) / 2)); }
  .nav.wrap { width: auto; margin: 0 max(1rem, calc((100% - var(--max)) / 2)) 0 auto; }
}

@media (max-width: 860px) {
  .hero-grid, .facts, .footer-grid, .product, ol.steps { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 1fr 1fr; }
  .hero-photos { min-height: 220px; }
  .logo { height: 108px; }
  .nav-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 0.8rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
}
