/* ============================================================
   BOSQUE ARÁBICA — style.css
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:      #244432;
  --green-dark: #1a3326;
  --cream:      #F6F3E2;
  --cream-dark: #ede9d4;
  --white:      #ffffff;
  --text:       #1A1A1A;
  --text-muted: #5a5a4a;
  --border:     #d4d0bc;
  --surface:    #efebd8;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(36, 68, 50, 0.10);
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Albert Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 68, 50, 0.18);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.btn-primary:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-outline:hover {
  background-color: var(--green);
  color: var(--cream);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(246, 243, 226, 0.5);
}

.btn-outline-light:hover {
  background-color: rgba(246, 243, 226, 0.12);
  border-color: var(--cream);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Section shared ---------- */
section {
  padding-block: 96px;
  scroll-margin-top: 80px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 20px;
  background-color: var(--cream);
  transition: box-shadow var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 1px 0 rgba(36, 68, 50, 0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-primary {
  color: var(--green);
}

.logo-secondary {
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background-color: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover {
  color: var(--green);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background-color var(--transition);
}

.hamburger:hover {
  background-color: rgba(36, 68, 50, 0.08);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--green);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu — position:absolute so it overlays content without
   changing the navbar's intrinsic height. This prevents the snap/shift
   that happened when the menu closed mid-scroll (portrait). */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background-color: var(--cream);
  border-top: 1px solid rgba(36, 68, 50, 0.10);
  padding: 20px 24px 28px;
  box-shadow: 0 6px 20px rgba(36, 68, 50, 0.10);
}

.mobile-menu[aria-hidden="false"] {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid rgba(36, 68, 50, 0.08);
  transition: color var(--transition);
}

.mobile-link:hover {
  color: var(--green);
}

.mobile-wa {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* ---------- HERO ---------- */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding-top: 80px;
  padding-bottom: 0;
  background-color: var(--cream);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: stretch;
}

.hero-content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 16px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  opacity: 0.8;
}

#hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-visual {
  align-self: stretch;
  position: relative;
  /* Bleed the image to the right edge of the viewport */
  margin-right: calc((min(100vw, 1120px) - 100vw) / 2 - 24px);
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient fade from cream (left) to transparent (right) */
.hero-img-fade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 140px;
  background: linear-gradient(to right, var(--cream), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ---------- BENEFITS ---------- */
#benefits {
  background-color: var(--green);
}

#benefits .section-header h2 {
  color: var(--cream);
}

#benefits .section-sub {
  color: rgba(246, 243, 226, 0.80);
}

#benefits .btn-primary {
  background-color: transparent;
  color: var(--cream);
  border-color: rgba(246, 243, 226, 0.50);
}

#benefits .btn-primary:hover {
  background-color: rgba(246, 243, 226, 0.12);
  border-color: var(--cream);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- PARTNERS ---------- */
#partners {
  background-color: var(--cream);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  border: 1.5px solid rgba(36, 68, 50, 0.12);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.partner-chip:hover {
  border-color: var(--green);
  box-shadow: 0 2px 12px rgba(36, 68, 50, 0.10);
}

.partner-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.partners-callout {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.65;
  margin-bottom: 0;
}

/* ---------- RECIPES ---------- */
#recipes {
  background-color: var(--white);
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.recipe-card {
  background-color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.recipe-img {
  position: relative;
  aspect-ratio: 4 / 4;
  background-color: var(--cream-dark);
  overflow: hidden;
}

.recipe-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-img-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.45;
}

.recipe-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.recipe-body {
  padding: 24px;
}

.recipe-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.recipe-chip--easy {
  background-color: rgba(36, 68, 50, 0.10);
  color: var(--green);
}

.recipe-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.recipe-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
#footer {
  background-color: var(--cream);
  padding-top: 64px;
  padding-bottom: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col--cta {
  align-items: flex-start;
}

.footer-logo-img {
  width: 160px;
  height: auto;
  object-fit: contain;
  margin-top: -12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal-link:hover {
  color: var(--green);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-contact-item:hover {
  color: var(--green);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid rgba(36, 68, 50, 0.2);
  border-radius: 100px;
  padding: 7px 14px;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.footer-social-btn:hover {
  color: var(--green);
  border-color: var(--green);
  background-color: rgba(36, 68, 50, 0.06);
}

.footer-social-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-cta-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-wa {
  padding: 12px 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(36, 68, 50, 0.1);
  padding-block: 20px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-col--cta {
    align-items: center;
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: 900px */
@media (max-width: 900px) {
  section {
    padding-block: 72px;
  }

  #hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-bottom: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    align-items: start;
  }

  .hero-content {
    max-width: 100%;
    padding-block: 32px;
    justify-content: flex-start;
    align-items: center;
  }

  .hero-sub {
    max-width: 100%;
  }

  #hero h1 {
    font-size: clamp(2.75rem, 8vw, 4rem);
  }

  .hero-visual {
    order: -1;
    /* Reset the desktop right-bleed on mobile */
    margin-right: -24px;
    margin-left: -24px;
  }

  .hero-img-wrap {
    width: 100%;
    min-height: 58svh;
    border-radius: 0;
  }

  /* On portrait, fade from bottom so it flows into the text below */
  .hero-img-fade {
    inset: auto 0 0 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--cream));
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ============================================================
   HERO — landscape full-bleed (≥901px)
   Gradient mask is hidden; image covers the entire hero section.
   Text stays dark green — the photo's left side is light enough.
   Portrait (≤900px) keeps its original stacked layout and
   bottom-fade gradient — nothing there changes.
   ============================================================ */
@media (min-width: 901px) {
  /* #hero is the positioning parent for the full-bleed image */
  #hero {
    background-color: var(--cream); /* light fallback readable for dark-green text */
    position: relative;
    align-items: center;
  }

  /* Single column — .hero-visual is absolute, so it gets no grid slot.
     NO position:relative here — that would make .hero-visual position
     relative to the container (max-width 1120px) instead of #hero. */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Text sits above the image via z-index */
  .hero-content {
    max-width: 520px;
    padding-block: 80px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
  }

  /* Dark green text on the photo */
  #hero h1         { color: var(--green); }
  .hero-eyebrow    { color: var(--green); }
  .hero-sub        { color: var(--text-muted); }

  /* Image positioned relative to #hero — full viewport width */
  .hero-visual {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
  }

  .hero-img-wrap {
    height: 100%;
    min-height: 100%;
    border-radius: 0;
  }

  /* Wide left-side gradient so text reads on any hero image */
  .hero-img-fade {
    inset: 0 auto 0 0;
    width: 55%;
    background: linear-gradient(to right, var(--cream) 15%, transparent 100%);
  }
}

/* Tablet nav collapse: 900px — matches the main layout breakpoint */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== NON-HOME PAGES: slim navigation ===== */
/* Hide all nav links — logo and CTA are enough */
body:not(.page-home) .nav-links { display: none; }

/* Mobile: skip the hamburger — CTA is visible directly in the bar */
@media (max-width: 900px) {
  body:not(.page-home) .nav-cta   { display: inline-flex; }
  body:not(.page-home) .hamburger { display: none; }
}

/* Mobile: 640px */
@media (max-width: 640px) {
  section {
    padding-block: 56px;
  }

  .container {
    padding-inline: 20px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .nav-logo {
    font-size: 0.9375rem;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    display: flex;
  }

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

  /* Horizontal scroll for recipes on small screens */
  @supports (overflow: auto) {
    .recipes-grid {
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-top: 8px;
      margin-top: -8px;
      padding-bottom: 12px;
      gap: 20px;
    }

    .recipe-card {
      flex: 0 0 calc(85vw - 40px);
      scroll-snap-align: start;
      max-width: 320px;
    }
  }
}

/* ===== GATEWAY RECIPE CARD ===== */
.recipe-card--gateway .recipe-img {
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.recipe-card--gateway .recipe-img svg {
  width: 56px;
  height: 56px;
  color: var(--cream);
}

/* ===== RECIPE ACCORDION (recetas.html) ===== */
.recipe-accordion-body { padding-bottom: 24px; }
.recipe-accordion-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0 24px;
}
.recipe-accordion-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 8px;
}
.recipe-accordion-body ul,
.recipe-accordion-body ol {
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.75;
}
.recipe-accordion-body li { margin-bottom: 4px; }

/* ===== RECIPE LINK (cards on index.html) ===== */
.recipe-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}
.recipe-link:hover { text-decoration: underline; }

/* ===== FAQ ACCORDION (preguntas-frecuentes.html) ===== */
.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 20px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--green);
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 20px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ===== CONTENT PAGES (landing + recipe pages) ===== */
.page-hero {
  padding: 80px 0 0;
  background: var(--bg-alt);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.page-section { padding: 60px 0; }
.page-section h2 { font-size: 1.5rem; margin-bottom: 16px; }
.page-section p, .page-section li { color: var(--text-muted); line-height: 1.75; }
.page-section ul, .page-section ol { padding-left: 20px; margin: 0 0 16px; }
.page-section li { margin-bottom: 8px; }
.recipe-detail-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
}
.back-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.back-link:hover { color: var(--green); }

/* ---- Partner badge overlay ---- */
.recipe-img-wrapper {
  position: relative;
  display: block;
}
.partner-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  display: block;
  text-decoration: none;
  transition: transform var(--transition);
  z-index: 1;
}
.partner-badge:hover { transform: scale(1.07); }
.partner-badge-logo { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-img .partner-badge { width: 96px; height: 96px; }
.recipe-img-wrapper .partner-badge { width: 78px; height: 78px; }
.partner-credit {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: -8px 0 20px;
}
.partner-credit a { color: var(--green); text-decoration: none; }
.partner-credit a:hover { text-decoration: underline; }

/* ============================================================
   PHASE 3 — New styles
   ============================================================ */

/* ---- Sticky WhatsApp floating button (mobile only) ---- */
.sticky-wa {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  z-index: 990;
  text-decoration: none;
  transition: transform 0.2s;
}
.sticky-wa:hover { transform: scale(1.08); }
.sticky-wa svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .sticky-wa { display: flex; } }

/* ---- Breadcrumbs ---- */
.breadcrumb { padding: 10px 0 0; font-size: 0.83rem; color: var(--text-muted); }
.breadcrumb ol { display: flex; list-style: none; gap: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: " / "; padding: 0 6px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---- Recipe page rich template sections ---- */
.recipe-section { margin-top: 48px; }
.recipe-section h2 { margin-bottom: 16px; }
.recipe-section--highlight {
  background: var(--surface);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-top: 48px;
}
.recipe-section--highlight h2 { margin-top: 0; }
.recipe-faq { margin-top: 48px; }
.recipe-faq .faq-item summary { font-size: 1rem; }
.recipe-prueba {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.recipe-prueba img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.recipe-prueba p { margin: 0; font-size: 0.93rem; }

/* ---- Recipe image placeholder (new recipes awaiting photos) ---- */
.recipe-detail-img--placeholder {
  display: block;
  width: 100%;
  max-width: 100%;
  background-image: url('../assets/images/cold-brew-receta-pronto.webp');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  height: 320px;
  margin-bottom: 40px;
}

/* ---- Tag filter buttons ---- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.filter-btn[data-filter="all"].active { background: var(--text); border-color: var(--text); color: var(--cream); }

/* ---- Product cards ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-card-img--placeholder {
  aspect-ratio: 4/3;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img--placeholder::after {
  content: "Imagen próximamente";
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { margin-top: 0; margin-bottom: 8px; }
.product-card-body p { flex: 1; margin-bottom: 20px; color: var(--text-muted); }
.product-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* ---- Products section — dark green background ---- */
#products {
  background-color: var(--green);
}
#products .section-header h2 {
  color: var(--cream);
}
#products .section-sub {
  color: rgba(246, 243, 226, 0.72);
}
#products .product-tag {
  color: rgba(246, 243, 226, 0.6);
}
#products .product-card {
  background: rgba(246, 243, 226, 0.07);
  border-color: rgba(246, 243, 226, 0.15);
}
#products .product-card-img {
  background: rgba(246, 243, 226, 0.08);
}
#products .product-card-img--placeholder {
  background: rgba(246, 243, 226, 0.08);
}
#products .product-card-img--placeholder::after {
  color: rgba(246, 243, 226, 0.45);
}
#products .product-card-body h3 {
  color: var(--cream);
}
#products .product-card-body p {
  color: rgba(246, 243, 226, 0.72);
}
#products .btn-primary {
  background-color: var(--cream);
  color: var(--green);
  border-color: var(--cream);
}
#products .btn-primary:hover {
  background-color: var(--cream-dark);
  border-color: var(--cream-dark);
}
#products .btn-outline {
  color: var(--cream);
  border-color: rgba(246, 243, 226, 0.45);
}
#products .btn-outline:hover {
  background-color: rgba(246, 243, 226, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

/* ---- Recipe pillar page category sections ---- */
.recipe-category { margin-top: 56px; }
.recipe-category-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.recipe-category-header h2 { margin: 0; }
.recipe-count { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Footer sitemap column ---- */
.footer-col-heading {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; text-decoration: none; }
.footer-links a:hover { color: var(--green); }

/* ---- productos.html — page image ---- */
.productos-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 64px;
  line-height: 0;
}
.productos-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- productos.html — performance table ---- */
.productos-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
}
.productos-table th {
  background: var(--green);
  color: var(--cream);
  padding: 13px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.productos-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.productos-table tr:last-child td { border-bottom: none; }
.productos-table tr:nth-child(even) td { background: var(--surface); }
.table-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  font-style: italic;
  line-height: 1.6;
}

/* ---- productos.html — advantages grid ---- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 640px) { .advantages-grid { grid-template-columns: 1fr; } }
.advantage-item {
  padding: 24px;
  background: var(--surface);
  border-radius: 12px;
  border-left: 3px solid var(--green);
}
.advantage-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
  margin-top: 0;
}
.advantage-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---- recetas.html — recipe pill cards ---- */
.recipe-pills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 600px) { .recipe-pills-grid { grid-template-columns: 1fr; } }
.recipe-pill {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.recipe-pill:hover {
  border-color: var(--green);
  box-shadow: 0 2px 16px rgba(36,68,50,0.1);
  transform: translateY(-2px);
}
.recipe-pill-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--green);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recipe-pill-name::after { content: "→"; font-size: 0.9rem; opacity: 0.45; }
.recipe-pill-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.recipe-pill-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.recipe-pill-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 2px 8px;
}
.recipe-pill-badge--vegano    { background: rgba(36,68,50,0.09);  color: var(--green); }
.recipe-pill-badge--alcohol   { background: rgba(120,60,20,0.09); color: #7c3c14; }
.recipe-pill-badge--sin-azucar{ background: rgba(36,68,50,0.06);  color: var(--green); }
.recipe-category-header h3 { margin: 0; }
