:root {
  --blush: #F4E1D2;
  --paper: #FFFDF9;
  --cream: #F6EFE4;
  --cream-deep: #EAD9C4;
  --ink: #221A15;
  --ink-soft: #7C6C5C;

  --red: #8C2415;
  --red-dark: #63180C;

  --teal: #2F6B5E;
  --teal-dark: #1F5347;
  --amber: #B9722A;
  --amber-dark: #935B1F;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-card: 0 16px 34px -18px rgba(34, 26, 21, 0.3);
  --shadow-soft: 0 24px 60px -24px rgba(34, 26, 21, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow: small dash + caps label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: #000; border-color: #000; box-shadow: 0 14px 26px -12px rgba(0,0,0,0.45); }
.btn-ghost, .btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Order CTA: single button, WhatsApp / Correo choice */
.order-cta { position: relative; display: inline-flex; }
.order-cta-center { display: flex; justify-content: center; margin-top: 8px; }
.order-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.order-cta-center .order-menu { left: 50%; transform: translateX(-50%); }
.order-menu[hidden] { display: none; }
.order-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}
.order-menu-item:hover { background: var(--cream); }
.order-menu-icon { font-size: 1rem; }

/* Hero shell: soft-tinted backdrop framing the rounded hero card */
.hero-shell { background: var(--blush); padding: 18px 18px 0; }
.hero-frame {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

/* Header */
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 44px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.01em;
}
.brand-name small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.58rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}
.site-nav {
  display: flex;
  gap: 30px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--ink);
}
.site-nav a:hover { color: var(--red-dark); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 12px 44px 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 440px;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  color: var(--ink);
  max-width: 12ch;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 44ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 20px; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 34px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-body); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.hero-stats span { font-size: 0.76rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.03em; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, var(--red) 0%, transparent 68%);
  opacity: 0.14;
  border-radius: 50%;
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-social {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-social:hover { color: var(--red-dark); }

/* Trust strip */
.trust-strip { background: var(--ink); padding: 28px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item { color: var(--cream); }
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  width: 30px;
  height: 30px;
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-item p { margin: 0; font-size: 0.86rem; font-weight: 600; }

/* Section head */
.section-head { max-width: 620px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { color: var(--ink-soft); }

/* Productos */
.productos { padding: 84px 0; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-pill {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
}
.filter-pill.is-active { background: var(--ink); color: var(--cream); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px -4px rgba(0,0,0,0.25);
}
.product-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red-dark);
  margin-bottom: 6px;
}
.product-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.product-desc { color: var(--ink-soft); font-size: 0.92rem; }
.product-ingredients {
  flex: 1;
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
}
.product-ingredients li {
  position: relative;
  padding-left: 16px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.product-ingredients li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-deep);
  font-size: 0.82rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.product-note {
  margin-top: 28px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: var(--cream-deep);
  padding: 12px 18px;
  border-radius: var(--radius-md);
}

/* Recetas */
.recetas { padding: 84px 0; background: var(--paper); overflow: hidden; }
.recetas-head {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.recetas-head > div { max-width: 560px; }
.slider-nav-group { display: flex; gap: 10px; flex-shrink: 0; }
.slider-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.slider-nav:hover { background: var(--ink); color: var(--paper); }

.recetas-grid {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 4px;
  padding: 4px 4px 14px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.recetas-grid::-webkit-scrollbar { display: none; }
.receta-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.receta-card:hover { transform: translateY(-4px); }
.receta-media { aspect-ratio: 4 / 3; overflow: hidden; }
.receta-media img { width: 100%; height: 100%; object-fit: cover; }
.receta-body { padding: 20px 22px 24px; }
.receta-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.receta-body p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* Nosotros */
.nosotros { background: var(--paper); padding: 84px 0; }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.nosotros-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: 16ch; }
.nosotros-copy p { color: var(--ink-soft); max-width: 52ch; }
.nosotros-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-weight: 600;
  border-top: 1px solid var(--cream-deep);
}
.nosotros-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 800;
}
.nosotros-visual {
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.nosotros-logo { width: 220px; border-radius: 50%; box-shadow: var(--shadow-card); }

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 84px 0;
  text-align: center;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.cta-band p { color: rgba(246,239,228,0.75); }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn-primary:hover { background: #fff; }

/* Footer */
.site-footer { background: var(--paper); padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--cream-deep);
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--ink);
}
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 8px; }
.footer-col a:hover { color: var(--red-dark); }
.placeholder-note { color: var(--red-dark); font-style: italic; }
.footer-bottom {
  padding: 20px 24px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .nosotros-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-visual { order: -1; }
  .hero-photo { max-width: 360px; margin: 0 auto; }
  .hero-social { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner, .hero { padding-left: 24px; padding-right: 24px; }
  .header-actions .order-cta { display: none; }
  .slider-nav-group { display: none; }
  .receta-card { flex-basis: 240px; }
}
@media (max-width: 900px) {
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 16px 24px 24px;
    gap: 14px;
    box-shadow: var(--shadow-card);
    z-index: 30;
  }
}
@media (max-width: 560px) {
  .hero-shell { padding: 12px 12px 0; }
  .hero-frame { border-radius: var(--radius-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .brand-name { font-size: 1.1rem; }
  .brand-name small { display: none; }
}

/* Accessibility floor */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
