:root {
  --red: #dc2525;
  --red-dark: #b91c1c;
  --yellow: #e8c55a;
  --green: #1e5a2b;
  --cream: #f6f0e4;
  --paper: #fbf8f2;
  --ink: #2a1e16;
  --ink-soft: #5c4a3d;
  --dark: #1c1512;
  --radius: 18px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }

/* Eyebrow: "— CAMPO VIVO" style from the Instagram stories */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.center .eyebrow { justify-content: center; }
.eyebrow .num { color: var(--red); font-weight: 700; letter-spacing: .1em; }
.eyebrow-light { color: rgba(255,255,255,.85); }
.eyebrow-light::before { background: var(--yellow); }
.eyebrow-light .num { color: var(--yellow); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,248,242,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(42,30,22,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; font-size: .98rem; }
.nav a { text-decoration: none; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--red); }
.nav .nav-cta { color: #fff; background: var(--red); padding: .5rem 1.05rem; border-radius: 999px; }
.nav .nav-cta:hover { color: #fff; background: var(--red-dark); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: #efd77e; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--red); }

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3.5rem; padding: clamp(3rem, 7vw, 6rem) 0; }
.lead { font-size: 1.3rem; color: var(--ink-soft); }
.badges { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.badges li {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 999px; background: rgba(232,197,90,.38); color: var(--ink);
}
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: 28px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 60px -25px rgba(42,30,22,.45); }
.hero-media::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 120px; height: 120px;
  background: url("assets/img/sello.svg") center / contain no-repeat;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.8rem; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--dark); color: #f3ece0; }
.section-dark .eyebrow { color: rgba(243,236,224,.7); }
.section-red { background: var(--red); color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-copy p { color: var(--ink-soft); font-size: 1.12rem; }

/* Day in the farm */
.day { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.day-step { counter-increment: step; }
.day-step img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 1.2rem; }
.day-step h3::before { content: "0" counter(step) " "; color: var(--yellow); font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .1em; vertical-align: middle; margin-right: .3rem; }
.day-step p { color: rgba(243,236,224,.78); }

/* Recipes */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(42,30,22,.06), 0 18px 40px -28px rgba(42,30,22,.4); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-body h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.card-body p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: 14px; padding: 1.1rem 1.4rem; border: 1px solid rgba(42,30,22,.08); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); }
.faq a { color: var(--red); font-weight: 500; }

.lead-dark { font-size: 1.2rem; color: var(--ink-soft); }
.lead-dark a { color: var(--red); font-weight: 700; }

.comprar-logo { width: 150px; margin: 0 auto 2rem; filter: drop-shadow(0 12px 24px rgba(0,0,0,.25)); }
.section-red p { color: rgba(255,255,255,.88); font-size: 1.15rem; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(243,236,224,.75); padding: 2.6rem 0; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }
.brand-footer { color: #f3ece0; font-size: 1.25rem; }
.brand-footer img { width: 40px; height: 40px; }
.site-footer .fine { width: 100%; font-size: .82rem; opacity: .7; }


/* Nosotros: founder card + milestones */
.split-media { position: relative; }
.founder {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.94); border-radius: 14px; padding: .6rem .9rem;
  font-size: .9rem; line-height: 1.35; color: var(--ink-soft);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
}
.split-media .founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; aspect-ratio: 1; }
.founder strong { color: var(--ink); }
.milestones { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.milestones li { display: flex; gap: 1rem; align-items: baseline; color: var(--ink-soft); padding-bottom: .9rem; border-bottom: 1px solid rgba(42,30,22,.1); }
.milestones p { margin: 0; }
.milestones span { font-family: var(--serif); font-size: 1.6rem; color: var(--red); line-height: 1; flex: none; width: 3.4rem; }

/* Productos: stats */
.stats { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stats li { background: var(--cream); border-radius: var(--radius); padding: 1.3rem 1.4rem; color: var(--ink-soft); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--red); line-height: 1.1; margin-bottom: .2rem; }

.site-footer a { color: inherit; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } }


/* Product pages */
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link .card-body h3::after { content: " →"; color: var(--red); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.product { background: var(--cream); padding: 2rem 0 clamp(3rem, 7vw, 5rem); }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 2rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 .35rem; opacity: .6; }
.breadcrumb [aria-current] { margin: 0; opacity: 1; color: var(--ink); font-weight: 500; }
.product-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product-media { margin: 0; }
.product-media img { width: 100%; border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(42,30,22,.5); }
.product-tag { font-family: var(--serif); font-style: italic; color: var(--green); font-size: 1.25rem; margin-top: -.3rem; }
.delivery { margin-top: 1.2rem; color: var(--ink-soft); font-size: .95rem; }
.product-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.product-details h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.checks strong { color: var(--ink); }
@media (max-width: 820px) {
  .product-inner, .product-details, .cards-3 { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .day { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 820px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .hero-media::after { width: 90px; height: 90px; inset: auto 8px -14px auto; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
