/* ==========================================================================
   Volcán Café Drip — Estilos
   ========================================================================== */

:root {
  /* Paleta */
  --c-coffee-900: #2B1810;
  --c-coffee-800: #3A2418;
  --c-coffee-700: #5C3A28;
  --c-coffee-600: #8B4513;
  --c-terra:      #C97B4F;
  --c-clay:       #B8693E;
  --c-cream-100:  #FAF3E7;
  --c-cream-200:  #F5E6D3;
  --c-cream-300:  #E5C9A8;
  --c-gold:       #D4A574;
  --c-gold-light: #F4C679;
  --c-leaf:       #5C7548;
  --c-ink:        #1A0F08;
  --c-line:       rgba(43, 24, 16, 0.12);

  /* Tipografía */
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(43, 24, 16, 0.06), 0 2px 6px rgba(43, 24, 16, 0.05);
  --shadow:    0 4px 16px rgba(43, 24, 16, 0.08), 0 12px 32px rgba(43, 24, 16, 0.08);
  --shadow-lg: 0 8px 24px rgba(43, 24, 16, 0.12), 0 24px 60px rgba(43, 24, 16, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-coffee-900);
  background: var(--c-cream-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--c-coffee-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-terra); }

h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-coffee-900);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }

p { margin: 0 0 1em; }

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

/* ================================
   Tipografía utilitaria
================================ */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-terra);
  margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--c-coffee-600); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-head p { color: var(--c-coffee-700); font-size: 1.05rem; }

/* ================================
   Botones
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
  border-color: var(--c-coffee-900);
}
.btn--primary:hover {
  background: var(--c-terra);
  border-color: var(--c-terra);
  color: var(--c-cream-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  color: var(--c-coffee-900);
  border-color: var(--c-coffee-900);
}
.btn--ghost:hover { background: var(--c-coffee-900); color: var(--c-cream-100); }
.btn--ghost-dark {
  color: var(--c-cream-100);
  border-color: rgba(245, 230, 211, 0.4);
}
.btn--ghost-dark:hover { background: var(--c-cream-100); color: var(--c-coffee-900); border-color: var(--c-cream-100); }
.btn--block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ================================
   Nav
================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 231, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--c-coffee-900); }
.brand__logo { width: 38px; height: 38px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-serif); font-weight: 700; font-size: 1.1rem; }
.brand__sub { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--c-terra); margin-top: 2px; }

.nav__menu { display: flex; gap: 2rem; }
.nav__menu a {
  color: var(--c-coffee-900);
  font-weight: 500;
  font-size: .92rem;
  position: relative;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--c-terra);
  transition: width .25s ease;
}
.nav__menu a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .5rem; }
.cart-btn {
  position: relative;
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.cart-btn:hover { background: var(--c-terra); transform: translateY(-1px); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--c-gold-light);
  color: var(--c-coffee-900);
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--c-cream-100);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--c-coffee-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   Hero
================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 4rem;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 198, 121, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(201, 123, 79, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, var(--c-cream-100) 0%, var(--c-cream-200) 100%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__title em {
  font-style: italic;
  color: var(--c-terra);
  font-weight: 500;
}
.hero__lead {
  font-size: 1.15rem;
  color: var(--c-coffee-700);
  max-width: 520px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.5rem; }
.hero__badges {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--c-line);
  padding-top: 1.5rem;
}
.hero__badges li {
  display: flex; flex-direction: column;
  font-size: .85rem; color: var(--c-coffee-700);
}
.hero__badges span {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  color: var(--c-coffee-900);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}

/* Animación de taza */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
  position: relative;
}
.cup {
  position: relative;
  width: 280px;
  height: 280px;
}
.cup__body {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 170px;
  background: linear-gradient(180deg, #FAF3E7 0%, #E5C9A8 100%);
  border-radius: 8px 8px 90px 90px;
  box-shadow: var(--shadow-lg), inset 0 -10px 0 rgba(43, 24, 16, 0.07);
  overflow: hidden;
}
.cup__coffee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(180deg, #3A2418 0%, #2B1810 100%);
  border-radius: 0 0 90px 90px;
  box-shadow: inset 0 6px 12px rgba(0,0,0,.35);
}
.cup__coffee::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: rgba(212, 165, 116, 0.4);
  border-radius: 50%;
}
.cup__drip {
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 24px;
  background: var(--c-coffee-700);
  border-radius: 4px;
  opacity: 0;
  animation: drip 2.4s ease-in infinite;
  z-index: 2;
}
@keyframes drip {
  0%   { transform: translate(-50%, -36px); opacity: 0; }
  30%  { opacity: 1; }
  80%  { transform: translate(-50%, 30px); opacity: 1; height: 8px; }
  100% { transform: translate(-50%, 36px); opacity: 0; height: 4px; }
}
.cup__handle {
  position: absolute;
  bottom: 100px;
  right: 30px;
  width: 50px; height: 70px;
  border: 14px solid #E5C9A8;
  border-left: none;
  border-radius: 0 50% 50% 0;
}
.cup__plate {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 20px;
  background: linear-gradient(180deg, #E5C9A8 0%, #C97B4F 100%);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.cup__steam {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
}
.cup__steam span {
  position: absolute;
  bottom: 0;
  width: 6px; height: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.65) 50%, transparent 100%);
  border-radius: 6px;
  opacity: 0;
  filter: blur(2px);
  animation: steam 3.2s ease-in-out infinite;
}
.cup__steam span:nth-child(1) { left: 20px; animation-delay: 0s; }
.cup__steam span:nth-child(2) { left: 38px; animation-delay: 0.6s; }
.cup__steam span:nth-child(3) { left: 56px; animation-delay: 1.2s; }
@keyframes steam {
  0%   { transform: translateY(20px) scale(0.8); opacity: 0; }
  30%  { opacity: 0.8; }
  100% { transform: translateY(-40px) scale(1.3); opacity: 0; }
}

.hero__scroll {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-coffee-700);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ================================
   Story
================================ */
.story {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--c-cream-100);
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story__text p { color: var(--c-coffee-700); font-size: 1.05rem; }
.story__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pillar svg {
  width: 28px; height: 28px;
  color: var(--c-terra);
  margin-bottom: .5rem;
}
.pillar h3 { font-size: 1rem; margin-bottom: .25rem; }
.pillar p { font-size: .88rem; color: var(--c-coffee-700); margin: 0; }
.story__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}
.mountain { width: 100%; height: 100%; }

/* ================================
   Catálogo
================================ */
.catalog {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(180deg, var(--c-cream-200) 0%, var(--c-cream-100) 100%);
}
.catalog__tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 0 0 2.5rem;
  flex-wrap: wrap;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  color: var(--c-coffee-700);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: all .2s ease;
}
.cat-tab:hover { border-color: var(--c-terra); color: var(--c-terra); }
.cat-tab.is-active {
  background: var(--c-coffee-900);
  border-color: var(--c-coffee-900);
  color: var(--c-cream-100);
  box-shadow: var(--shadow-sm);
}
.cat-tab svg { flex-shrink: 0; }
.catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--c-coffee-700);
  padding: 3rem 1rem;
  font-style: italic;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.product {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__visual {
  height: 230px;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product__visual svg { width: 100%; height: 100%; }
.product__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product__name { font-family: var(--f-serif); font-size: 1.45rem; margin: 0 0 .25rem; }
.product__origin { font-size: .82rem; color: var(--c-terra); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .75rem; }
.product__notes {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin: .75rem 0 1rem;
}
.product__notes span {
  font-size: .75rem;
  background: var(--c-cream-200);
  color: var(--c-coffee-700);
  padding: 3px 10px;
  border-radius: 999px;
}
.product__desc { font-size: .92rem; color: var(--c-coffee-700); margin-bottom: 1rem; flex: 1; }
.product__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: var(--c-coffee-700);
  margin-bottom: 1rem;
  padding: .75rem 0;
  border-top: 1px dashed var(--c-line);
  border-bottom: 1px dashed var(--c-line);
}
.product__meta strong { color: var(--c-coffee-900); }
.product__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.product__price {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-coffee-900);
}
.product__price small { font-size: .7rem; color: var(--c-coffee-700); font-weight: 400; letter-spacing: .05em; }
.product__add {
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
  border: none;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: background .2s ease, transform .15s ease;
}
.product__add:hover { background: var(--c-terra); transform: translateY(-1px); }

/* ================================
   Preparación
================================ */
.prep {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
}
.prep .eyebrow { color: var(--c-gold-light); }
.prep h2 { color: var(--c-cream-100); }
.prep__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.prep__lead { color: var(--c-cream-300); font-size: 1.1rem; }
.steps {
  list-style: none;
  padding: 0; margin: 2.5rem 0 0;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.steps li {
  display: flex; gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(245, 230, 211, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(245, 230, 211, 0.1);
}
.step__num {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-gold-light);
  flex-shrink: 0;
}
.steps h3 { color: var(--c-cream-100); font-size: 1.05rem; margin-bottom: .15rem; }
.steps p { color: var(--c-cream-300); font-size: .92rem; margin: 0; }

/* Video */
.prep__video { display: flex; flex-direction: column; gap: .75rem; }
.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(245, 230, 211, 0.95);
  color: var(--c-coffee-900);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s ease, background .2s ease, opacity .25s ease;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.05); background: var(--c-gold-light); }
.video-play.is-hidden { opacity: 0; pointer-events: none; }
.video-caption {
  text-align: center;
  font-size: .82rem;
  color: var(--c-cream-300);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}

/* Ilustraciones */
.prep__illustrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.illu-card {
  background: rgba(245, 230, 211, 0.08);
  border: 1px solid rgba(245, 230, 211, 0.15);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.illu-card svg {
  width: 100%; height: auto; max-width: 140px;
  margin: 0 auto .5rem;
}
.illu-card h4 {
  font-family: var(--f-serif);
  font-size: .95rem;
  color: var(--c-gold-light);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: .25rem;
}
.illu-card p {
  font-size: .8rem;
  color: var(--c-cream-300);
  margin: 0;
}

/* ================================
   Orígenes
================================ */
.origins {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--c-cream-100);
}
.origins__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.origin-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.origin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.origin-card__img {
  height: 160px;
  background-size: cover; background-position: center;
}
.origin-card__img--1 {
  background:
    linear-gradient(180deg, rgba(43,24,16,0) 0%, rgba(43,24,16,0.4) 100%),
    linear-gradient(135deg, #5C7548 0%, #2B1810 100%);
  position: relative;
}
.origin-card__img--1::before, .origin-card__img--2::before, .origin-card__img--3::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'><path d='M0 80 L40 30 L70 50 L110 20 L150 45 L200 30 L200 80 Z' fill='%23000' opacity='0.35'/></svg>") no-repeat bottom / cover;
}
.origin-card__img--2 {
  background: linear-gradient(135deg, #C97B4F 0%, #5C3A28 100%);
  position: relative;
}
.origin-card__img--3 {
  background: linear-gradient(135deg, #D4A574 0%, #8B4513 100%);
  position: relative;
}
.origin-card h3 { padding: 1.25rem 1.25rem 0; }
.origin-card p { padding: 0 1.25rem 1.25rem; color: var(--c-coffee-700); font-size: .92rem; margin: .35rem 0 0; }

/* ================================
   CTA Band
================================ */
.cta-band {
  padding: 4rem 0;
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}
.cta-band h2 { color: var(--c-cream-100); margin-bottom: .3rem; }
.cta-band p { color: var(--c-cream-300); margin: 0; max-width: 540px; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }

/* ================================
   Footer
================================ */
.footer {
  background: var(--c-coffee-800);
  color: var(--c-cream-300);
  padding: 4rem 0 0;
}
.footer .brand__name, .footer h4 { color: var(--c-cream-100); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand p { font-size: .9rem; margin-top: 1rem; max-width: 320px; }
.footer h4 { margin-bottom: 1rem; font-size: .82rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer a { color: var(--c-cream-300); }
.footer a:hover { color: var(--c-gold-light); }
.social { display: flex; gap: .75rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(245, 230, 211, 0.08);
  color: var(--c-cream-100);
  transition: background .2s ease;
}
.social a:hover { background: var(--c-terra); }

.footer__bottom {
  border-top: 1px solid rgba(245, 230, 211, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: .8rem;
}

/* ================================
   Drawer (Carrito)
================================ */
.drawer {
  position: fixed; inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.drawer.is-open { pointer-events: auto; opacity: 1; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(43, 24, 16, 0.5);
  backdrop-filter: blur(4px);
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: 100%; max-width: 440px;
  height: 100%;
  background: var(--c-cream-100);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.drawer__head h3 { margin: 0; font-size: 1.25rem; }
.icon-btn {
  background: transparent; border: 0;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--c-coffee-900);
  transition: background .2s ease;
}
.icon-btn:hover { background: var(--c-cream-200); }
.drawer__body {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.5rem;
}
.drawer__empty {
  text-align: center;
  color: var(--c-coffee-700);
  font-size: .95rem;
  padding: 3rem 1rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.cart-item__img {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: var(--c-cream-200);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cart-item__img svg { width: 80%; height: 80%; }
.cart-item__name { font-family: var(--f-serif); font-size: 1.05rem; margin: 0 0 4px; }
.cart-item__meta { font-size: .82rem; color: var(--c-coffee-700); }
.cart-item__qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  overflow: hidden;
  margin-top: .35rem;
}
.cart-item__qty button {
  background: transparent;
  border: 0;
  width: 28px; height: 28px;
  font-size: 1rem;
  color: var(--c-coffee-900);
}
.cart-item__qty button:hover { background: var(--c-cream-200); }
.cart-item__qty span { padding: 0 .5rem; font-weight: 600; min-width: 24px; text-align: center; }
.cart-item__price { font-weight: 600; color: var(--c-coffee-900); }
.cart-item__remove {
  display: block;
  background: transparent;
  border: 0;
  color: var(--c-clay);
  font-size: .78rem;
  padding: 0;
  text-decoration: underline;
  margin-top: .35rem;
}

.drawer__foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--c-line);
  background: #fff;
}
.drawer__totals {
  display: flex; justify-content: space-between;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.drawer__totals strong { font-family: var(--f-serif); font-size: 1.4rem; }
.drawer__note {
  display: block;
  font-size: .78rem;
  text-align: center;
  color: var(--c-coffee-700);
  margin-top: .75rem;
}

/* ================================
   Modal
================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 110;
  pointer-events: none;
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  transition: opacity .25s ease;
}
.modal.is-open { pointer-events: auto; opacity: 1; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(43, 24, 16, 0.6);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  background: var(--c-cream-100);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  display: flex; flex-direction: column;
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal.is-open .modal__panel { transform: translateY(0); }
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--c-line);
}
.modal__head h3 { margin: 0; }
.modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.form-row { margin-bottom: 1rem; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label {
  display: flex;
  flex-direction: column;
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-coffee-700);
  gap: .35rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-line);
  background: #fff;
  color: var(--c-coffee-900);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-terra);
  box-shadow: 0 0 0 3px rgba(201, 123, 79, 0.15);
}
.modal__summary {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.modal__summary h4 { margin: 0 0 .75rem; font-size: .82rem; color: var(--c-coffee-700); }
.modal__summary ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.modal__summary li {
  display: flex; justify-content: space-between;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--c-line);
}
.modal__summary li:last-child { border-bottom: 0; }
.modal__total {
  display: flex; justify-content: space-between;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 2px solid var(--c-coffee-900);
  font-size: 1.05rem;
}
.modal__total strong { font-family: var(--f-serif); font-size: 1.3rem; }
.modal__actions {
  display: flex; gap: .75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.modal__actions .btn { flex: 1; min-width: 140px; justify-content: center; }
.modal__legal {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--c-coffee-700);
  text-align: center;
}

/* ================================
   Payments strip
================================ */
.payments {
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--c-cream-200);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: var(--c-coffee-700);
}
.payments__logos { display: flex; gap: .35rem; flex-wrap: wrap; }
.pay-pill {
  background: #fff;
  border: 1px solid var(--c-line);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-coffee-900);
}
.pay-pill--qpay {
  background: var(--c-coffee-900);
  color: var(--c-gold-light);
  border-color: var(--c-coffee-900);
}

/* ================================
   Toast
================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--c-coffee-900);
  color: var(--c-cream-100);
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex; align-items: center; gap: .5rem;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ================================
   Responsive
================================ */
@media (max-width: 960px) {
  .hero__inner, .story__grid, .prep__inner, .cta-band__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__visual { order: -1; min-height: 260px; }
  .cup { transform: scale(.85); }
  .story__pillars { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--c-cream-100);
    flex-direction: column;
    gap: 0;
    padding: 1rem 24px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-110%);
    transition: transform .25s ease;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: .85rem 0; border-bottom: 1px solid var(--c-line); }
  .menu-toggle { display: flex; }

  .hero__badges { gap: 1.25rem; }
  .hero__badges span { font-size: 1.5rem; }

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

  .form-row--2 { grid-template-columns: 1fr; }
  .modal__actions { flex-direction: column; }
  .modal__actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .container { padding: 0 18px; }
  .hero { padding: 2rem 0 3rem; }
  .video-wrap { aspect-ratio: 9 / 16; }
}

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