/* ===== Fresh Jar — Design Tokens ===== */
:root {
  --green-900: #1f3d2b;
  --green-800: #26492f;
  --green-700: #2f6b4f;
  --green-600: #3c8c5c;
  --green-500: #4caf7d;
  --green-200: #cdeadb;
  --green-100: #e8f5ec;
  --cream: #fbfaf5;
  --white: #ffffff;
  --text: #1f2a24;
  --text-light: #5b6b60;
  --border: #e2ece4;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 12px 30px -12px rgba(31, 61, 43, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--green-900);
  line-height: 1.15;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-100);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-light);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(47, 107, 79, 0.55);
}

.btn-primary:hover {
  background: var(--green-800);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border: 1.5px solid var(--green-700);
}

.btn-outline:hover {
  background: var(--green-100);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--green-800);
}

.btn-light:hover { transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--green-900);
}

.logo-mark svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--green-700);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 480px;
  height: 480px;
  background: var(--green-100);
  border-radius: 50%;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}

.hero-copy h1 span {
  color: var(--green-600);
}

.hero-copy p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-600);
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: block;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 36px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--green-800);
}

.hero-stats div span {
  font-size: 13px;
  color: var(--text-light);
}

.hero-visual {
  position: relative;
}

.hero-visual .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
}

.hero-visual .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
}

.floating-card.top {
  top: 24px;
  left: -30px;
}

.floating-card.bottom {
  bottom: 24px;
  right: -20px;
}

.floating-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  flex-shrink: 0;
}

.floating-card strong {
  display: block;
  font-size: 14px;
  color: var(--green-900);
}

.floating-card span {
  font-size: 12px;
  color: var(--text-light);
  font-family: var(--font-body);
}

/* ===== Features / About ===== */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-visual img { width: 100%; height: 100%; object-fit: cover; }

.about-copy h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 18px;
}

.about-copy p {
  color: var(--text-light);
  margin-bottom: 28px;
  max-width: 540px;
}

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

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ===== Products preview / grid ===== */
.products {
  background: var(--cream);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.product-card:hover { transform: translateY(-6px); }

.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .img-wrap img { transform: scale(1.06); }

.product-body {
  padding: 20px 22px 24px;
}

.product-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.product-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-100);
  padding: 4px 12px;
  border-radius: 999px;
}

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

/* ===== How it works ===== */
.how {
  background: var(--green-900);
  color: var(--white);
}

.how .section-head h2,
.how .section-head p { color: var(--white); }
.how .section-head p { color: rgba(255,255,255,0.72); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.how-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}

.how-card .num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--green-500);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.how-card h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 10px;
}

.how-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ===== Location ===== */
.location {
  background: var(--white);
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-info {
  background: var(--green-100);
  padding: 56px 48px;
}

.location-info .eyebrow { background: var(--white); }

.location-info h2 {
  font-size: clamp(26px, 4vw, 32px);
  margin-bottom: 20px;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0 34px;
}

.location-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.location-list .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--green-900);
  margin-bottom: 2px;
}

.location-list span {
  font-size: 14px;
  color: var(--text-light);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.location-map {
  min-height: 420px;
}

.location-map iframe,
.location-map img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--green-500); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s ease;
}

.social-row a:hover { background: var(--green-600); }

/* ===== Products page header banner ===== */
.page-banner {
  background: var(--green-100);
  padding: 72px 0 56px;
  text-align: center;
}

.page-banner .eyebrow { background: var(--white); }

.page-banner h1 {
  font-size: clamp(32px, 5vw, 46px);
  margin-bottom: 16px;
}

.page-banner p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
}

.products-full .product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.coffee-menu {
  background: var(--green-100);
}

.coffee-inner {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 56px;
  align-items: center;
}

.coffee-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-visual img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

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

.coffee-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
}

.coffee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px -22px rgba(51,60,31,0.45);
}

.coffee-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--olive-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.coffee-card:hover .coffee-icon {
  background: var(--olive-700);
  color: var(--white);
}

.coffee-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.coffee-variant {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-light);
}

.coffee-price {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--olive-700);
}

.coffee-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-light);
}

.order-banner {
  background: var(--green-700);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  margin-top: 24px;
}

.order-banner h2 {
  color: var(--white);
  font-size: clamp(24px, 3.5vw, 30px);
  margin-bottom: 10px;
}

.order-banner p {
  color: rgba(255, 255, 255, 0.8);
}

.order-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-visual { order: -1; }

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

  .location-inner {
    grid-template-columns: 1fr;
  }

  .location-map { min-height: 320px; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .order-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px -16px rgba(31, 61, 43, 0.25);
  }

  .site-header.open .nav-links a {
    text-align: center;
    font-size: 17px;
  }

  .section { padding: 64px 0; }

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

  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .floating-card { display: none; }

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

  .product-grid, .how-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .location-info { padding: 40px 28px; }
}

/* ============================================================
   FRESH JAR — Olive header, plants & motion layer
   ============================================================ */
:root {
  --olive-900: #333c1f;
  --olive-800: #43502a;
  --olive-700: #5a6639;
  --olive-600: #6f7f47;
  --olive-500: #8b9a5b;
  --olive-200: #d9e0c4;
}

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--olive-500), var(--green-500));
  box-shadow: 0 0 12px rgba(139,154,91,0.8);
  transition: width 0.12s linear;
}

/* ---- Header: verde sólido ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--green-700);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.4s ease, transform 0.45s cubic-bezier(.22,1,.36,1),
              box-shadow 0.4s ease, padding 0.4s ease;
  will-change: transform;
}

.site-header.scrolled {
  background: var(--green-800);
  box-shadow: 0 14px 40px -22px rgba(31, 45, 20, 0.75);
}

.site-header.hidden { transform: translateY(-104%); }

.header-inner { padding: 20px 24px; }

.logo-mark img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.28));
  transition: height 0.4s cubic-bezier(.22,1,.36,1), transform 0.4s ease;
}
.site-header.scrolled .logo-mark img { height: 44px; }
.logo-mark:hover img { transform: scale(1.04) rotate(-1deg); }

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: width 0.35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.site-header .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
}
.site-header .btn-outline:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--white);
}

.nav-toggle span { background: var(--white); transition: transform .35s ease, opacity .3s ease; }
.site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body { padding-top: 96px; }

@media (max-width: 720px) {
  .site-header.open .nav-links {
    background: rgba(38, 73, 47, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: none;
    animation: menuDrop .4s cubic-bezier(.22,1,.36,1) both;
  }
  .site-header.open .nav-links a { color: #fff; }
}
@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.footer-brand img { height: 44px; width: auto; filter: none; }

/* ---- Plantas decorativas por sección ---- */
.plant {
  position: absolute;
  pointer-events: none;
  color: var(--olive-500);
  opacity: 0.35;
  transform-origin: bottom center;
  animation: sway 7s ease-in-out infinite;
  z-index: 0;
}
.plant.left  { left: -30px; bottom: -10px; }
.plant.right { right: -24px; top: 40px; animation-duration: 9s; animation-direction: alternate-reverse; }
.plant.slow  { animation-duration: 11s; }
.plant.dark  { color: var(--green-500); opacity: 0.22; }

@keyframes sway {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-8px); }
}

.section, .hero, .page-banner, .how, .products { position: relative; overflow: hidden; }
.container { position: relative; z-index: 2; }

/* ---- Hero motion ---- */
.hero::before { animation: blobPulse 12s ease-in-out infinite; }
@keyframes blobPulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1.12) translateY(20px); }
}
.hero-visual .frame img { transition: transform 0.8s cubic-bezier(.22,1,.36,1); }
.hero-visual:hover .frame img { transform: scale(1.05); }

.floating-card.top    { animation: floatY 5.5s ease-in-out infinite; }
.floating-card.bottom { animation: floatY 6.5s ease-in-out infinite reverse; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero-tag { animation: pulseTag 3.5s ease-in-out infinite; }
@keyframes pulseTag {
  0%, 100% { opacity: 1; letter-spacing: 1px; }
  50%      { opacity: 0.65; letter-spacing: 2.4px; }
}

/* ---- Reveal variants ---- */
.reveal { transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal[data-anim="left"]  { transform: translateX(-46px); }
.reveal[data-anim="right"] { transform: translateX(46px); }
.reveal[data-anim="zoom"]  { transform: scale(.9); }
.reveal[data-anim="blur"]  { filter: blur(10px); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* ---- Cards ---- */
.product-card {
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
  transform-style: preserve-3d;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 50px -22px rgba(51,60,31,0.45);
}
.product-card .img-wrap { position: relative; }
.product-card .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(51,60,31,0.35));
  opacity: 0;
  transition: opacity .4s ease;
}
.product-card:hover .img-wrap::after { opacity: 1; }
.product-tag { transition: background .3s ease, color .3s ease; }
.product-card:hover .product-tag { background: var(--olive-700); color: #fff; }

.how-card {
  transition: transform .45s cubic-bezier(.22,1,.36,1), background .4s ease, border-color .4s ease;
}
.how-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.how-card .num { transition: transform .4s ease; display: inline-block; }
.how-card:hover .num { transform: translateX(6px) scale(1.15); }

.feature-item .icon { transition: transform .4s cubic-bezier(.22,1,.36,1), background .3s ease; }
.feature-item:hover .icon { transform: rotate(-8deg) scale(1.08); background: var(--olive-200); }

.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.35), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.btn:hover::after { opacity: 1; }

/* ---- Contadores hero ---- */
.hero-stats div strong { font-variant-numeric: tabular-nums; }

/* ---- Banner de productos ---- */
.order-banner { position: relative; overflow: hidden; }
.order-banner::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: blobPulse 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ============================================================
   PANTALLA DE CARGA
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #6f7f47 0%, #4a5530 45%, #2b3319 100%);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
body.loading { overflow: hidden; }

.pre-core {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.pre-logo {
  width: min(340px, 62vw);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.35));
  animation: logoIn 1.4s cubic-bezier(.22,1,.36,1) both, logoFloat 4s ease-in-out 1.4s infinite;
}
@keyframes logoIn {
  0%   { opacity: 0; transform: scale(.82) translateY(24px); filter: blur(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.pre-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  animation: ringPulse 3.4s ease-out infinite;
}
.pre-ring::before, .pre-ring::after {
  content: "";
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  animation: ringPulse 3.4s ease-out infinite;
  animation-delay: 1.1s;
}
.pre-ring::after { inset: 90px; animation-delay: 2.2s; }
@keyframes ringPulse {
  0%   { transform: scale(.7); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

.pre-bar {
  width: 210px; height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
}
.pre-bar span {
  display: block; height: 100%; width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #cdeadb, #ffffff);
  box-shadow: 0 0 14px rgba(255,255,255,0.7);
  transition: width 0.3s ease;
}

.pre-tag {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  animation: pulseTag 3s ease-in-out infinite;
}

/* Plantas que crecen en la carga */
.pre-plants { position: absolute; inset: 0; z-index: 1; }
.pre-plant {
  position: absolute;
  bottom: -10px;
  width: 160px; height: 300px;
  color: rgba(255,255,255,0.16);
  transform-origin: bottom center;
  animation: growUp 1.6s cubic-bezier(.22,1,.36,1) both, sway 8s ease-in-out 1.6s infinite;
}
.pre-plant svg { width: 100%; height: 100%; }
.pre-plant.p1 { left: 2%;  animation-delay: 0.1s, 1.7s; }
.pre-plant.p2 { left: 20%; width: 110px; height: 210px; animation-delay: 0.35s, 1.9s; opacity: .8; }
.pre-plant.p3 { right: 4%; animation-delay: 0.2s, 1.8s; }
.pre-plant.p4 { right: 22%; width: 120px; height: 230px; animation-delay: 0.5s, 2.1s; opacity: .8; }
@keyframes growUp {
  0%   { transform: scaleY(0) rotate(0deg); opacity: 0; }
  100% { transform: scaleY(1) rotate(0deg); opacity: 1; }
}

/* ============================================================
   CARRUSEL 3D DE JARS
   ============================================================ */
.jar-carousel {
  position: relative;
  height: 560px;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  user-select: none;
  touch-action: pan-y;
}

.jar-backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  z-index: 0;
}

.jar-glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-200) 0%, rgba(205,234,219,0.35) 45%, transparent 70%);
  animation: blobPulse 9s ease-in-out infinite;
}

.jar-word {
  position: absolute;
  top: 24%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(52px, 8.5vw, 104px);
  letter-spacing: -2px;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(90, 102, 57, 0.45);
  text-transform: uppercase;
  transition: opacity .55s ease, transform .65s cubic-bezier(.22,1,.36,1), filter .55s ease;
}
.jar-word.ghost {
  -webkit-text-stroke: 0;
  color: rgba(90, 102, 57, 0.13);
  top: 26%;
  font-size: clamp(58px, 9.5vw, 116px);
}
.jar-word.swap-out { opacity: 0; transform: translateY(-50%) translateX(-40px) scale(.94); filter: blur(12px); }
.jar-word.swap-in  { opacity: 0; transform: translateY(-50%) translateX(40px) scale(.94); filter: blur(12px); }

.jar-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  z-index: 1;
}

.jar-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  margin: -220px 0 0 -150px;
  transform-style: preserve-3d;
  transition: transform .85s cubic-bezier(.22,1,.36,1), opacity .7s ease, filter .7s ease;
  cursor: pointer;
}
.jar-slide img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(31, 45, 20, 0.35));
  pointer-events: none;
}
.jar-slide.is-active {
  cursor: default;
  animation: jarBob 5s ease-in-out 0.9s infinite;
}
@keyframes jarBob {
  0%, 100% { margin-top: -220px; }
  50%      { margin-top: -232px; }
}

.jar-slide::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: -26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(51,60,31,0.32), transparent 70%);
  transition: opacity .7s ease;
}

.jar-nav {
  position: absolute;
  top: 46%;
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  color: var(--olive-700);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.jar-nav:hover { background: var(--olive-700); color: #fff; transform: scale(1.1); }
.jar-nav.prev { left: -6px; }
.jar-nav.next { right: -6px; }

.jar-caption {
  position: absolute;
  left: 0; right: 0;
  bottom: 8px;
  z-index: 4;
  text-align: center;
  transition: opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1);
}
.jar-caption.swap { opacity: 0; transform: translateY(14px); }
.jar-caption .jar-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive-700);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.jar-caption h3 { font-size: 24px; margin-bottom: 6px; }
.jar-caption p {
  font-size: 14px;
  color: var(--text-light);
  max-width: 330px;
  margin: 0 auto;
}

.jar-dots {
  position: absolute;
  bottom: -26px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 4;
}
.jar-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: var(--green-200);
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
.jar-dots button.active { width: 26px; background: var(--olive-700); }

.hero-visual .floating-card.top    { top: 6px; left: -34px; z-index: 6; }
.hero-visual .floating-card.bottom { bottom: 128px; left: -46px; right: auto; z-index: 6; }

@media (max-width: 960px) {
  .jar-carousel { height: 500px; margin-top: 16px; }
  .jar-slide { width: 250px; margin-left: -125px; }
}
@media (max-width: 720px) {
  .jar-carousel { height: 440px; }
  .jar-slide { width: 200px; margin: -180px 0 0 -100px; }
  @keyframes jarBob { 0%,100%{margin-top:-180px;} 50%{margin-top:-190px;} }
  .jar-nav { display: none; }
  .jar-caption p { display: none; }
  .pre-plant { width: 100px; height: 190px; }
  .pre-plant.p2, .pre-plant.p4 { display: none; }
}

/* ============================================================
   SECCIÓN NUTRICIONAL POR SABOR
   ============================================================ */
.nutrition {
  background: linear-gradient(180deg, var(--white) 0%, var(--green-100) 100%);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-700);
  transition: gap .3s ease, color .3s ease;
}
.card-link:hover { gap: 12px; color: var(--green-700); }

/* --- Índice de sabores --- */
.nutri-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 72px;
}
.nutri-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--olive-700);
  transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}
.nutri-nav a:hover {
  background: var(--olive-700);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 22px -12px rgba(51,60,31,.6);
}

/* --- Bloque por jar --- */
.nutri-list { display: flex; flex-direction: column; gap: 96px; }

.nutri-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  scroll-margin-top: 110px;
}
.nutri-block.flipped .nutri-visual { order: 2; }

/* Visual */
.nutri-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}
.nutri-visual img {
  position: relative;
  z-index: 2;
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 30px 40px rgba(31,45,20,.32));
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.nutri-block:hover .nutri-visual img { transform: translateY(-12px) scale(1.03); }

.nutri-halo {
  position: absolute;
  z-index: 0;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-200) 0%, rgba(205,234,219,.4) 50%, transparent 72%);
  animation: blobPulse 10s ease-in-out infinite;
}

.nutri-word {
  position: absolute;
  z-index: 1;
  top: 8%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px rgba(90,102,57,.38);
  text-transform: uppercase;
}

.nutri-kcal {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  right: 6%;
  background: var(--olive-700);
  color: var(--white);
  border-radius: 50%;
  width: 108px; height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 34px -14px rgba(51,60,31,.8);
  animation: floatY 6s ease-in-out infinite;
}
.nutri-kcal strong {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
}
.nutri-kcal span { font-size: 10px; letter-spacing: 1px; opacity: .8; margin-top: 3px; }

/* Panel */
.nutri-panel h3 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 12px 0 10px;
}
.nutri-frase {
  font-size: 16px;
  color: var(--text-light);
  border-left: 3px solid var(--olive-500);
  padding-left: 16px;
  margin-bottom: 26px;
  font-style: italic;
}

.macro-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  transition: transform .35s ease, border-color .35s ease;
}
.chip:hover { transform: translateY(-4px); border-color: var(--olive-500); }
.chip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--olive-800);
}
.chip span { font-size: 11px; color: var(--text-light); letter-spacing: .3px; }

/* Tabla */
.nutri-table {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(51,60,31,.45);
  border: 1px solid var(--border);
}
.nutri-table-head {
  background: var(--olive-800);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .5px;
  padding: 14px 22px;
}
.nutri-energy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--green-100);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-900);
  font-size: 15px;
}
.nutri-energy em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--text-light); }
.nutri-energy .energy-val { text-align: right; font-size: 19px; color: var(--olive-800); }

.nutri-table table { width: 100%; border-collapse: collapse; }
.nutri-table th, .nutri-table td {
  padding: 11px 22px;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--border);
}
.nutri-table th {
  text-align: left;
  font-weight: 400;
  color: var(--text);
}
.nutri-table td {
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-900);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.nutri-table tr:last-child th, .nutri-table tr:last-child td { border-bottom: none; }
.nutri-table tbody tr { transition: background .25s ease; }
.nutri-table tbody tr:hover { background: var(--green-100); }
.nutri-table tr.hl th { font-weight: 600; color: var(--olive-800); }
.nutri-table tr.hl td { color: var(--olive-700); }
.nutri-table tr.hl { background: rgba(139,154,91,.08); }

.nutri-nota {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 12px 2px 18px;
}

.nutri-ing {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  overflow: hidden;
}
.nutri-ing summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--olive-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .25s ease;
}
.nutri-ing summary::-webkit-details-marker { display: none; }
.nutri-ing summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  transition: transform .35s ease;
}
.nutri-ing[open] summary::after { transform: rotate(45deg); }
.nutri-ing summary:hover { background: var(--green-100); }
.nutri-ing p {
  padding: 0 18px 18px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-light);
  text-align: justify;
  animation: menuDrop .4s ease both;
}

@media (max-width: 960px) {
  .nutri-block { grid-template-columns: 1fr; gap: 24px; }
  .nutri-block.flipped .nutri-visual { order: 0; }
  .nutri-visual { min-height: 380px; }
  .nutri-visual img { max-height: 330px; }
  .nutri-list { gap: 72px; }
}

@media (max-width: 720px) {
  .macro-chips { grid-template-columns: repeat(2, 1fr); }
  .nutri-kcal { width: 88px; height: 88px; right: 0; }
  .nutri-kcal strong { font-size: 24px; }
  .nutri-table th, .nutri-table td { padding: 10px 14px; font-size: 13.5px; }
  .nutri-energy { padding: 14px; font-size: 14px; }
  .nutri-nav { gap: 8px; margin-bottom: 48px; }
  .nutri-nav a { font-size: 12px; padding: 8px 14px; }
}

/* ============================================================
   NUESTRA HISTORIA
   ============================================================ */
.story {
  background: var(--olive-800);
  color: rgba(255,255,255,0.86);
}
.story::before {
  content: "";
  position: absolute;
  top: -140px; left: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  animation: blobPulse 12s ease-in-out infinite;
}

.story-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.story-visual { position: relative; }

.story-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,0.6);
  transform: rotate(-1.5deg);
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.story-frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.story-visual:hover .story-frame { transform: rotate(0deg) scale(1.02); }
.story-frame img { width: 100%; height: auto; display: block; }

.story-badge {
  position: absolute;
  bottom: -22px;
  right: -18px;
  background: var(--white);
  color: var(--green-900);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.55);
  animation: floatY 6s ease-in-out infinite;
}
.story-badge strong {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  color: var(--olive-700);
}
.story-badge span {
  font-size: 12px;
  line-height: 1.3;
  color: var(--text-light);
}

.story-copy .eyebrow { background: rgba(255,255,255,0.14); color: #fff; }
.story-copy h2 {
  color: var(--white);
  font-size: clamp(27px, 4vw, 38px);
  margin-bottom: 22px;
}
.story-copy p {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
  text-align: justify;
}
.story-copy p strong { color: var(--white); font-weight: 600; }

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn.story-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn.story-outline:hover { background: rgba(255,255,255,0.14); }

@media (max-width: 960px) {
  .story-inner { grid-template-columns: 1fr; gap: 52px; }
  .story-visual { max-width: 460px; margin: 0 auto; }
}

/* ============================================================
   MODAL NUTRIMENTAL
   ============================================================ */
body.modal-open { overflow: hidden; }

.nutri-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.nutri-modal[hidden] { display: none; }

.nutri-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 40, 18, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .38s ease;
}
.nutri-modal.is-open .nutri-modal-backdrop { opacity: 1; }

.nutri-modal-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, var(--white) 0%, var(--green-100) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.55);
  padding: 40px 40px 44px;
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .42s cubic-bezier(.22,1,.36,1), transform .42s cubic-bezier(.22,1,.36,1);
}
.nutri-modal.is-open .nutri-modal-shell { opacity: 1; transform: none; }

.nutri-modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 5;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--olive-800);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.nutri-modal-close:hover { background: var(--olive-700); color: #fff; transform: rotate(90deg); }

.nutri-modal .nutri-block { opacity: 1; transform: none; }
.nutri-modal .nutri-block[hidden] { display: none; }
.nutri-modal .nutri-visual { min-height: 400px; }
.nutri-modal .nutri-visual img { max-height: 360px; }
.nutri-modal .nutri-block.flipped .nutri-visual { order: 0; }
.nutri-modal .nutri-block { grid-template-columns: 0.85fr 1.15fr; gap: 40px; }

.nutri-modal .nutri-visual img,
.nutri-modal .nutri-panel > * {
  animation: modalRise .6s cubic-bezier(.22,1,.36,1) both;
}
.nutri-modal .nutri-panel > *:nth-child(2) { animation-delay: .05s; }
.nutri-modal .nutri-panel > *:nth-child(3) { animation-delay: .1s; }
.nutri-modal .nutri-panel > *:nth-child(4) { animation-delay: .15s; }
.nutri-modal .nutri-panel > *:nth-child(5) { animation-delay: .2s; }
.nutri-modal .nutri-panel > *:nth-child(6) { animation-delay: .25s; }
.nutri-modal .nutri-panel > *:nth-child(7) { animation-delay: .3s; }
@keyframes modalRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* Enlace del carrusel */
.jar-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--olive-700);
  transition: gap .3s ease;
}
.jar-more:hover { gap: 12px; }

.products-cta-section { padding-top: 0; }

/* ============================================================
   AJUSTES MÓVIL
   ============================================================ */
@media (max-width: 960px) {
  .products-full .product-grid { grid-template-columns: repeat(2, 1fr); }
  .coffee-grid { grid-template-columns: repeat(2, 1fr); }
  .coffee-inner { grid-template-columns: 1fr; gap: 32px; }
  .coffee-visual img { max-height: 360px; }
}

@media (max-width: 720px) {
  .products-full .product-grid,
  .products .product-grid { grid-template-columns: 1fr; }

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

  .product-card .img-wrap { aspect-ratio: 16 / 11; }
  .product-body { padding: 18px 20px 22px; }
  .product-body h3 { font-size: 19px; }
  .product-body p { font-size: 14px; }

  .card-link { font-size: 13px; }
  .card-link svg { flex-shrink: 0; }

  .nutri-modal { padding: 0; }
  .nutri-modal-shell {
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
    padding: 20px 18px 32px;
  }
  .nutri-modal .nutri-block { grid-template-columns: 1fr; gap: 18px; }
  .nutri-modal .nutri-visual { min-height: 260px; }
  .nutri-modal .nutri-visual img { max-height: 240px; }
  .nutri-modal .nutri-word { font-size: 26px; -webkit-text-stroke-width: 1.5px; }
  .nutri-modal .nutri-kcal { width: 76px; height: 76px; bottom: 8px; right: 2%; }
  .nutri-modal .nutri-kcal strong { font-size: 22px; }
  .nutri-modal .nutri-kcal span { font-size: 9px; }
  .nutri-panel h3 { font-size: 24px; }
  .nutri-frase { font-size: 14.5px; }
  .nutri-panel .btn { width: 100%; justify-content: center; text-align: center; }

  .story { padding-top: 56px; }
  .story-copy p { text-align: left; font-size: 15px; }
  .story-badge { right: 0; bottom: -16px; padding: 12px 16px; }
  .story-badge strong { font-size: 26px; }
  .story-actions .btn { width: 100%; justify-content: center; }

  .page-banner { padding: 52px 0 40px; }
  .order-banner { padding: 36px 24px; }
  .order-actions { width: 100%; flex-direction: column; }
  .order-actions .btn { width: 100%; justify-content: center; }

  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-stats { gap: 18px; }
  .hero-stats div { flex: 1 1 40%; }

  .container { padding: 0 20px; }
}

@media (max-width: 380px) {
  .macro-chips { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nutri-table th, .nutri-table td { padding: 9px 12px; font-size: 13px; }
}

/* ============================================================
   CORRECCIONES — accesibilidad, resiliencia y conversión
   ============================================================ */

/* ---- Si el JS no carga, nada queda oculto ---- */
html.no-js .preloader { display: none; }
html.no-js .reveal { opacity: 1; transform: none; filter: none; }
html.no-js .nav-links { display: flex; }

/* ---- Foco visible para teclado (WCAG 2.4.7) ---- */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-header :focus-visible,
.order-banner :focus-visible,
.story :focus-visible,
.location-info :focus-visible { outline-color: #cfe0a8; }

/* ---- Contraste del eyebrow: 3.67:1 -> 6.4:1 ---- */
.eyebrow { color: var(--green-900); background: var(--green-100); }

/* ---- Horarios ---- */
.hours-list { display: flex; flex-direction: column; gap: 2px; }
.hours-list b { font-weight: 600; }

/* ---- Aviso de alérgenos ---- */
.allergens {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--green-100);
  border: 1px solid var(--border);
  border-left: 4px solid var(--olive-600);
  border-radius: var(--radius-md);
}
.allergens h2 { font-size: 20px; margin-bottom: 10px; }
.allergens p { color: var(--text-light); font-size: 15px; }
.allergens p + p { margin-top: 10px; }

/* ---- Botón flotante de WhatsApp ---- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.55);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.7); }
.wa-float:active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ---- WhatsApp dentro del menú móvil ---- */
.nav-wa-mobile { display: none; }
@media (max-width: 720px) {
  .site-header.open .nav-wa-mobile {
    display: block;
    margin-top: 4px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--olive-600);
    color: #fff !important;
    font-weight: 600;
  }
  .wa-float { right: 14px; bottom: 14px; }
}

/* ---- Tarjetas clicables: que se note ---- */
.product-card[role="button"] { cursor: pointer; }
.product-card[role="button"]:focus-visible { outline: 3px solid var(--green-600); outline-offset: 4px; }
