/* =============================================================
   CACAOUS — Editorial luxury theme
   Palette: ivory, charcoal, cacao brown
   Typography: Cormorant Garamond (display) + Montserrat (body)
   ============================================================= */

:root {
  --bg: #FAF7F2;
  --bg-alt: #FFFFFF;
  --bg-dark: #141211;
  --ink: #1A1816;
  --ink-soft: #5A504A;
  --muted: #8B8379;
  --cacao: #6B4423;
  --cacao-soft: #8B6341;
  --cacao-pale: #E8DFD4;
  --hairline: #D9CFC2;
  --hairline-dark: #2A2522;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s var(--ease), color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.25; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cacao);
  margin-bottom: 1.25rem;
  display: inline-block;
}

p { margin: 0 0 1.1em; max-width: 62ch; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(70px, 10vw, 140px) 0; }
.divider {
  height: 1px;
  background: var(--hairline);
  margin: 0 auto;
  max-width: var(--container);
  width: calc(100% - 2 * var(--gutter));
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--hairline); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(8px, 2vw, 24px);
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.brand img {
  height: auto;
  max-width: 120px;
  display: block;
  transition: opacity .2s var(--ease);
}
.brand img:hover { opacity: .75; }
.brand span { color: var(--cacao); }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

/* ---------- Language switch ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch a {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  opacity: .45;
  transition: opacity .3s var(--ease);
}
.lang-switch a:hover,
.lang-switch .lang-active { opacity: 1; font-weight: 500; }
.lang-divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.18);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--cacao);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero-text .eyebrow { margin-bottom: 1.8rem; }
.hero-text h1 {
  font-style: italic;
  font-weight: 300;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--cacao);
}
.hero-text .lead { margin-top: 2rem; max-width: 46ch; }
.hero-cta { margin-top: 2.5rem; display: flex; gap: 18px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--cacao-pale);
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.hero-visual:hover img { transform: scale(1); }
.hero-visual::after {
  content: "— Cacao fino de origen";
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: .02em;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: all .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--filled { background: var(--ink); color: var(--bg); }
.btn--filled:hover { background: var(--cacao); border-color: var(--cacao); }
.btn--cacao { background: var(--cacao); border-color: var(--cacao); color: #fff; }
.btn--cacao:hover { background: var(--ink); border-color: var(--ink); }
.btn .arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- About (home preview) ---------- */
.about-preview {
  background: var(--bg-alt);
}
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about-grid .imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-grid .imgs img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.about-grid .imgs img:nth-child(1) { margin-top: 40px; }
.about-grid h2 em { color: var(--cacao); font-style: italic; }

/* ---------- Origins preview cards ---------- */
.origins-section { background: var(--bg); }
.origins-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 80px;
}
.origins-head p { max-width: 46ch; justify-self: end; }

.origins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--hairline);
}
.origin-card {
  background: var(--bg-alt);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 320px;
  transition: background .35s var(--ease);
}
.origin-card:hover { background: #fff; }
.origin-card .flag {
  width: 36px;
  height: 24px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.origin-card h3 {
  font-style: italic;
  font-weight: 400;
}
.origin-card .tags {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.origin-card .tag {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cacao);
  padding: 5px 12px;
  border: 1px solid var(--hairline);
}

/* ---------- Split section (cacao & coffee) ---------- */
.split {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-panel {
  padding: clamp(50px, 7vw, 110px) clamp(30px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.split-panel--cacao {
  background: var(--bg-dark);
  color: #F3EADD;
}
.split-panel--cacao h2 { color: #F3EADD; }
.split-panel--cacao .eyebrow { color: var(--cacao-soft); }
.split-panel--coffee {
  background: var(--cacao);
  color: #FAF2E6;
}
.split-panel--coffee h2 { color: #FAF2E6; }
.split-panel--coffee .eyebrow { color: #F3DDBF; }
.split-panel p { max-width: 44ch; opacity: .85; }

.split-panel .btn {
  align-self: flex-start;
  border-color: currentColor;
  color: inherit;
  margin-top: 12px;
}
.split-panel--cacao .btn:hover { background: #F3EADD; color: var(--bg-dark); }
.split-panel--coffee .btn:hover { background: #FAF2E6; color: var(--cacao); }

/* ---------- Quote ---------- */
.quote {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--bg-alt);
}
.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 28px;
  color: var(--ink);
  position: relative;
}
.quote blockquote::before,
.quote blockquote::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--cacao);
  margin: 28px auto;
}
.quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  padding: clamp(80px, 11vw, 160px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
}
.page-header h1 { font-style: italic; }
.page-header h1 em { font-style: normal; color: var(--cacao); }
.page-header p { margin: 24px auto 0; }

/* ---------- About page ---------- */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-body .side-img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  position: sticky;
  top: 100px;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px solid var(--hairline);
}
.pillar h3 {
  font-style: italic;
  margin-bottom: 12px;
}
.pillar .num {
  display: block;
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--cacao);
  margin-bottom: 18px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 80px;
}
.gallery img {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  filter: saturate(.95);
  transition: filter .3s var(--ease), transform .6s var(--ease);
}
.gallery img:hover { filter: saturate(1.1); transform: scale(1.02); }

/* ---------- Origins page ---------- */
.origin-block {
  padding: clamp(60px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--hairline);
}
.origin-block:last-child { border-bottom: 0; }
.origin-block .origin-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.origin-block.reverse .origin-grid { direction: rtl; }
.origin-block.reverse .origin-grid > * { direction: ltr; }
.origin-block img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.origin-block .origin-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.origin-block .origin-meta img {
  width: 40px; height: 28px;
  aspect-ratio: auto;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.origin-block h2 {
  font-style: italic;
  margin-bottom: 8px;
}
.origin-block .origin-tags {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.origin-block .origin-tags span {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--cacao);
  color: var(--cacao);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  padding-top: 0;
}
.contact-info h3 {
  font-style: italic;
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--cacao);
}
.contact-info .info-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-info .info-block:last-child { border-bottom: 0; }
.contact-info .info-block p { margin: 0; }
.contact-info a:hover { color: var(--cacao); }

.socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.socials a {
  width: 42px; height: 42px;
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.socials a:hover { border-color: var(--cacao); color: var(--cacao); }
.socials svg { width: 16px; height: 16px; }

/* Contact form */
.form {
  background: var(--bg-alt);
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--hairline);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; position: relative; }
.field label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field label .req { color: var(--cacao); }
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  font: inherit;
  color: var(--ink);
  background: transparent;
  transition: border-color .3s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--cacao);
}
.field textarea { min-height: 110px; resize: vertical; }

.form .btn { margin-top: 8px; }
.form-status {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--cacao);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #D6CEC3;
  padding: clamp(60px, 8vw, 100px) 0 40px;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-brand {
  font-family: var(--font-body);
  letter-spacing: .32em;
  font-size: 1.2rem;
}
.footer-brand span { color: var(--cacao-soft); }
.footer-top p { color: #9a9189; font-size: .92rem; max-width: 34ch; margin-top: 18px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cacao-soft);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: .92rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: .78rem;
  color: #7d756d;
  letter-spacing: .08em;
}
.footer-bottom .socials a { border-color: var(--hairline-dark); color: #D6CEC3; }
.footer-bottom .socials a:hover { border-color: var(--cacao-soft); color: #fff; }

/* ---------- Origin subpage: hero ---------- */
.origin-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(50px, 7vw, 90px);
  position: relative;
}
.origin-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.origin-hero .crumb {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: inline-block;
}
.origin-hero .crumb a { color: inherit; border-bottom: 1px solid transparent; transition: border-color .2s; }
.origin-hero .crumb a:hover { border-bottom-color: var(--cacao); }
.origin-hero .flag-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.origin-hero .flag-row img {
  width: 44px; height: 30px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.origin-hero h1 { font-style: italic; margin-bottom: 10px; }
.origin-hero h1 em { font-style: normal; color: var(--cacao); }
.origin-hero .tagline {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cacao);
  margin-top: 18px;
  display: inline-block;
}
.origin-hero-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cacao-pale);
}
.origin-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Section heading ---------- */
.section-head {
  margin-bottom: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.section-head .eyebrow-num {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cacao);
  margin-bottom: 18px;
  display: inline-block;
}
.section-head h2 { font-style: italic; }
.section-head h2 em { font-style: normal; color: var(--cacao); }
.section-head p { justify-self: end; max-width: 44ch; }

/* ---------- Variety blocks ---------- */
.varieties {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.variety {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.variety:last-child { border-bottom: 0; }
.variety .v-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--cacao);
  line-height: 1;
}
.variety h3 {
  font-style: italic;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.variety .v-body p { font-size: 1rem; max-width: 70ch; }
.variety .v-body p + p { margin-top: .9em; }

/* ---------- Product cards (specs) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 3.5vw, 42px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-card h3 {
  font-style: italic;
  font-size: 1.55rem;
  color: var(--ink);
}
.product-card .pc-desc { font-size: .96rem; color: var(--ink-soft); max-width: 56ch; }
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.spec-list li {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--hairline);
  font-size: .88rem;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list .sk {
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--muted);
  align-self: center;
}
.spec-list .sv { color: var(--ink); }

/* ---------- Cross-links footer (more origins) ---------- */
.more-origins {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--hairline);
  background: var(--bg-alt);
}
.more-origins h3 {
  font-style: italic;
  margin-bottom: 40px;
  text-align: center;
}
.more-origins h3 em { font-style: normal; color: var(--cacao); }
.mo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mo-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  transition: all .3s var(--ease);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mo-card:hover { border-color: var(--cacao); transform: translateY(-2px); }
.mo-card img { width: 36px; height: 24px; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin-bottom: 6px; }
.mo-card .mo-name { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
.mo-card .mo-type { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cacao); }

/* ---------- Origins INDEX page cards ---------- */
.origins-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: var(--hairline);
}
.oi-card {
  background: var(--bg-alt);
  padding: clamp(36px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .3s var(--ease);
  position: relative;
  min-height: 360px;
}
.oi-card:hover { background: #fff; }
.oi-card .oi-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.oi-card .oi-top img {
  width: 42px; height: 28px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.oi-card .oi-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--cacao-pale);
  position: absolute;
  top: 30px;
  right: 36px;
}
.oi-card h3 {
  font-style: italic;
  font-size: 2rem;
}
.oi-card .oi-kind {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cacao);
  font-weight: 500;
}
.oi-card p { font-size: .96rem; max-width: 46ch; }
.oi-card .oi-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.oi-card .oi-cta .arrow { transition: transform .25s var(--ease); }
.oi-card:hover .oi-cta .arrow { transform: translateX(4px); }

@media (max-width: 960px) {
  .origin-hero-grid,
  .section-head,
  .origins-index { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .variety { grid-template-columns: 60px 1fr; gap: 24px; }
  .variety .v-num { font-size: 1.8rem; }
  .products-grid { grid-template-columns: 1fr; }
  .mo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  z-index: 40;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(37, 211, 102, .55);
}
.wa-fab svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .about-body,
  .contact-grid,
  .origin-block .origin-grid,
  .origins-head { grid-template-columns: 1fr; }
  .origin-block.reverse .origin-grid { direction: ltr; }
  .about-body .side-img { position: static; }
  .origins-head p { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .origins-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 720px) {
  .brand img { max-width: 100px; }
  .lang-switch { display: none; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 10px 0 30px;
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links li { border-top: 1px solid var(--hairline); }
  .nav-links a {
    display: block;
    padding: 18px var(--gutter);
  }
  .nav-toggle { display: block; }
  .about-grid .imgs img:nth-child(1) { margin-top: 0; }
  .form .row { grid-template-columns: 1fr; }
  .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
