/* BaytJeddi — Ecuadorian cacao exporter */
:root {
  /* BaytJeddi brand kit v1.0 (guía de marca, 09 nov 2026) */
  --bj-celeste: #6CB9E5;        /* Celeste BaytJeddi: enlaces, cintas, detalles, acentos */
  --bj-celeste-claro: #AEDCF1;  /* Celeste claro: apoyo del celeste, superficies */
  --bj-cacao: #2C1A12;          /* Cacao profundo: nombre, titulares, texto principal */
  --bj-bronce: #B98132;         /* Bronce: equivalente plano de los bordes metálicos */
  --bj-cacao-dorado: #A56D32;   /* Cacao dorado: apoyo cálido */
  --bj-marfil: #FAF6F0;         /* Marfil: fondo principal */
  --bj-oliva: #718556;          /* Oliva cardamomo: acento botánico secundario */
  --bj-carbon: #363B36;         /* Carbón pimienta: detalles de contraste */
  --bj-cafe: #503326;           /* Café */
  /* Legacy token names remapped to the brand palette */
  --brown-950: var(--bj-cacao);
  --brown-900: var(--bj-cacao);
  --brown-800: var(--bj-cafe);
  --brown-700: var(--bj-cafe);
  --brown-600: var(--bj-cacao-dorado);
  --gold-500: var(--bj-celeste);
  --gold-400: var(--bj-celeste-claro);
  --gold-300: var(--bj-celeste-claro);
  --cream-50: var(--bj-marfil);
  --cream-100: #f5ede0; /* marfil tint (alternate sections) */
  --cream-200: #ebe0ce; /* marfil tint (hairlines/inputs) */
  --text: var(--bj-cacao);
  --text-muted: var(--bj-cafe);
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(44, 26, 18, 0.12);
  --radius: 14px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream-50);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section--alt { background: var(--cream-100); }
.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brown-900);
  margin-bottom: 1rem;
}
.section__lead {
  color: var(--text-muted);
  max-width: 58ch;
  font-size: 1.08rem;
}
.section__head { margin-bottom: 2.75rem; max-width: 640px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,26,18, 0.08);
  height: var(--header-h);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem;
  color: var(--brown-900); letter-spacing: 0.02em;
}
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.logo__tag {
  display: block; font-family: var(--font-sans); font-size: 0.62rem;
  font-weight: 500; letter-spacing: 0.2em; color: var(--gold-500); margin-top: -2px;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--brown-700);
  transition: color .2s;
}
.nav a:hover { color: var(--gold-500); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: .25s;
}
.btn--primary { background: var(--brown-800); color: var(--cream-50); }
.btn--primary:hover { background: var(--brown-950); transform: translateY(-1px); }
.btn--gold { background: var(--gold-500); color: var(--brown-950); }
.btn--gold:hover { background: var(--gold-400); }
.btn--outline {
  background: transparent; border-color: rgba(250,246,240,.45); color: var(--cream-50);
}
.btn--outline:hover { background: rgba(250,246,240,.12); }
.btn--outline-dark {
  background: transparent; border-color: var(--brown-800); color: var(--brown-800);
}
.btn--outline-dark:hover { background: var(--brown-800); color: var(--cream-50); }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--cream-200);
  border-radius: 10px; background: var(--white); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--brown-800); display: block; }

/* Hero */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h));
  display: grid; align-items: center; color: var(--cream-50);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__media picture, .hero__media img { min-height: 100%; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(44,26,18,.88) 0%, rgba(44,26,18,.55) 48%, rgba(44,26,18,.35) 100%);
}
.hero__content { position: relative; z-index: 1; padding: 5rem 0 4rem; max-width: 680px; }
.hero__title {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600; line-height: 1.08; margin-bottom: 1.25rem;
}
.hero__title em { font-style: italic; color: var(--gold-300); }
.hero__text { font-size: 1.15rem; color: rgba(250,246,240,.88); max-width: 48ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* About */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.about-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.about-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-points { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.about-point {
  display: grid; grid-template-columns: 42px 1fr; gap: 0.9rem; align-items: start;
}
.about-point__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, var(--gold-300), var(--gold-500));
  display: grid; place-items: center; color: var(--brown-950); font-weight: 700;
}
.about-point h3 { font-size: 1.05rem; margin-bottom: 0.2rem; color: var(--brown-900); }
.about-point p { color: var(--text-muted); font-size: 0.95rem; }

/* Products */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(44,26,18,.08); transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__img { aspect-ratio: 16/11; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 1.4rem 1.35rem 1.55rem; }
.product-card__body h3 {
  font-family: var(--font-serif); font-size: 1.45rem; margin-bottom: 0.5rem; color: var(--brown-900);
}
.product-card__body p { color: var(--text-muted); font-size: 0.95rem; }
.product-card__tag {
  display: inline-block; margin-bottom: 0.65rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-500);
}
.products-note {
  margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-inline-start: 3px solid var(--gold-500);
  background: var(--cream-100);
  border-start-start-radius: 0; border-end-start-radius: 0;
  border-start-end-radius: var(--radius); border-end-end-radius: var(--radius);
  color: var(--text-muted); font-size: 0.95rem;
}

/* Process */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step;
}
.process-step {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.35rem;
  border: 1px solid rgba(44,26,18,.08); position: relative;
}
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold-500);
  display: block; margin-bottom: 0.75rem; font-weight: 600;
}
.process-step h3 {
  font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--brown-900);
}
.process-step p { color: var(--text-muted); font-size: 0.94rem; }
.process-visual {
  margin-top: 2.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.process-visual img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* Quality */
.quality-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.quality-card {
  background: var(--brown-900); color: var(--cream-50); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; min-height: 180px;
}
.quality-card h3 {
  font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: 0.65rem; color: var(--gold-300);
}
.quality-card p { color: rgba(250,246,240,.82); font-size: 0.95rem; }

/* Logistics */
.logistics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center;
}
.logistics__media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.logistics__media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.incoterms { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.incoterm {
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start;
  background: var(--white); padding: 1rem 1.15rem; border-radius: 12px;
  border: 1px solid rgba(44,26,18,.08);
}
.incoterm strong {
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--gold-500);
}
.incoterm p { color: var(--text-muted); font-size: 0.94rem; }

/* Contact */
.contact-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem;
  background: var(--white); border-radius: calc(var(--radius) + 4px);
  overflow: hidden; box-shadow: var(--shadow);
}
.contact-aside {
  background: linear-gradient(165deg, var(--brown-900), var(--brown-800));
  color: var(--cream-50); padding: 2.5rem 2rem;
}
.contact-aside h2 {
  font-family: var(--font-serif); font-size: 2rem; margin: 0.5rem 0 1rem;
}
.contact-aside p { color: rgba(250,246,240,.82); margin-bottom: 1.5rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.1rem; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: var(--gold-300); font-weight: 600; word-break: break-all;
}
.contact-email:hover { background: rgba(255,255,255,.14); }
.contact-form { padding: 2.5rem 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 0.4rem; color: var(--brown-700);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
  border: 1px solid var(--cream-200); background: var(--cream-50);
  font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(108,185,229,.22);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 0.85rem; font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--brown-950); color: rgba(250,246,240,.72); padding: 2.5rem 0;
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
}
.site-footer .logo { color: var(--cream-50); }
.site-footer a:hover { color: var(--gold-300); }
.footer-meta { font-size: 0.88rem; }


/* Mobile */
@media (max-width: 960px) {
  .about-grid, .logistics, .contact-wrap { grid-template-columns: 1fr; }
  .products-grid, .process-grid, .quality-grid { grid-template-columns: 1fr 1fr; }
  .process-visual img { aspect-ratio: 16/9; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream-50);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(44,26,18,.08); transform: translateY(-120%);
    opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(44,26,18,.06); }
  .header-actions .btn { display: none; }
  .products-grid, .process-grid, .quality-grid, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .section { padding: 4rem 0; }
  .contact-aside, .contact-form { padding: 1.75rem 1.35rem; }
}

/* ——— Modern motion & polish (BaytJeddi 1.0) ——— */

.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  will-change: width;
}

.site-header {
  transition: height .25s ease, background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  --header-h: 60px;
  background: rgba(250, 246, 240, 0.97);
  box-shadow: 0 8px 28px rgba(44, 26, 18, 0.1);
}
.site-header.is-scrolled .logo img { width: 34px; height: 34px; }
.site-header.is-scrolled .logo { font-size: 1.28rem; }

.hero__media {
  overflow: hidden;
  will-change: transform;
}
.hero__media img {
  transform: scale(1.12);
  will-change: transform;
}

/* Full-bleed parallax bands */
.band {
  position: relative;
  min-height: clamp(280px, 42vh, 520px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream-50);
}
.band__media {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}
.band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,26,18,.25) 0%, rgba(44,26,18,.72) 100%);
}
.band__overlay--dark {
  background: linear-gradient(105deg, rgba(44,26,18,.75) 0%, rgba(44,26,18,.45) 100%);
}
.band__caption {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2.75rem;
}
.band__text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  max-width: 28ch;
  color: var(--cream-50);
}

/* Process timeline progress */
.process-track { position: relative; }
.process-track__line {
  display: none;
  position: absolute;
  top: 1.35rem;
  inset-inline: 8%;
  height: 3px;
  background: rgba(44,26,18, 0.12);
  border-radius: 999px;
  z-index: 0;
}
.process-track__progress {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: inherit;
  transition: width .15s linear;
}
@media (min-width: 961px) {
  .process-track__line { display: block; }
  .process-grid { position: relative; z-index: 1; }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
[data-reveal-delay="1"] { --reveal-delay: 1; }
[data-reveal-delay="2"] { --reveal-delay: 2; }
[data-reveal-delay="3"] { --reveal-delay: 3; }
[data-reveal-delay="4"] { --reveal-delay: 4; }

/* Hover micro-interactions */
.product-card__img img,
.about-card img,
.process-visual img,
.logistics__media img {
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-card__img img,
.about-card:hover img {
  transform: scale(1.05);
}
.quality-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.quality-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44,26,18, 0.28);
}
.process-step {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(108,185,229, 0.45);
  box-shadow: var(--shadow);
}
.btn { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { box-shadow: 0 8px 22px rgba(44, 26, 18, 0.18); }
.contact-email { transition: background .2s ease, transform .2s ease; }
.contact-email:hover { transform: translateY(-1px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-progress { display: none; }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__media img,
  .band__media,
  .band__media img {
    transform: none !important;
  }
  .product-card,
  .quality-card,
  .process-step,
  .btn,
  .product-card__img img,
  .about-card img {
    transition: none !important;
  }
  .product-card:hover,
  .quality-card:hover,
  .process-step:hover {
    transform: none !important;
  }
}

/* ——— Multilingual (BaytJeddi 1.1) ——— */

/* Language switcher: compact <details> dropdown, works without JS */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.75rem; border: 1px solid var(--cream-200); border-radius: 999px;
  background: var(--white); color: var(--brown-800);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; user-select: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.lang-switch__btn:hover, .lang-switch[open] .lang-switch__btn { border-color: var(--gold-500); }
.lang-switch__btn:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.lang-switch__globe { color: var(--gold-500); flex: none; }
.lang-switch__code { display: none; letter-spacing: 0.06em; }
.lang-switch__caret { flex: none; transition: transform .2s ease; }
.lang-switch[open] .lang-switch__caret { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 150;
  min-width: 200px; max-height: min(80vh, 540px); overflow-y: auto;
  padding: 0.4rem; margin: 0;
  background: var(--white); border: 1px solid var(--cream-200); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(44, 26, 18, 0.18);
  animation: bj-drop .18s ease-out;
}
@keyframes bj-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-switch__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.75rem; border-radius: 8px;
  font-size: 0.92rem; color: var(--brown-800); text-align: start;
}
.lang-switch__menu a:hover, .lang-switch__menu a:focus-visible { background: var(--cream-100); outline: none; }
.lang-switch__menu a.is-active { background: var(--brown-800); color: var(--cream-50); }
.lang-switch__abbr { font-size: 0.7rem; letter-spacing: 0.08em; opacity: 0.6; direction: ltr; }
.lang-switch__name[lang="ar"] { font-family: "Tajawal", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif; }

/* Header fit for longer labels (de, ru, fr…) */
.nav { gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav a { font-size: 0.86rem; }
  .header-actions .btn { padding: 0.7rem 1.1rem; font-size: 0.88rem; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream-50);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(44,26,18,.08); transform: translateY(-120%);
    opacity: 0; pointer-events: none; transition: .25s;
    box-shadow: 0 18px 30px rgba(44, 26, 18, 0.08);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(44,26,18,.06); font-size: 0.98rem; }
}
@media (max-width: 760px) {
  .lang-switch__current { display: none; }
  .lang-switch__code { display: inline; }
  .lang-switch__btn { padding: 0.5rem 0.65rem; }
  .logo { font-size: 1.25rem; }
  .logo__tag { letter-spacing: 0.14em; }
}

/* Script-specific typography */
html[lang="ru"] { --font-sans: "Outfit", "Manrope", system-ui, sans-serif; }
html[lang="ar"] {
  /* Latin fonts first (brand, FOB/CIF, CCN-51…); Arabic glyphs fall through to Tajawal/Amiri */
  --font-sans: "Outfit", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-serif: "Cormorant Garamond", "Amiri", serif;
}
html[lang="zh-Hans"] {
  --font-sans: "Outfit", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
}
html[lang="ja"] {
  --font-sans: "Outfit", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Serif JP", "Yu Mincho", serif;
}
/* Logo stays in the Latin brand fonts everywhere */
.logo { font-family: "Cormorant Garamond", Georgia, serif; }
.logo__tag { font-family: "Outfit", system-ui, sans-serif; }

/* CJK + Arabic: no faux italics, roomier line-height, no tracking on non-Latin text */
html[lang="ar"] .hero__title em, html[lang="ckb"] .hero__title em,
html[lang="zh-Hans"] .hero__title em,
html[lang="ja"] .hero__title em { font-style: normal; }
html[lang="zh-Hans"] .hero__title, html[lang="ja"] .hero__title { line-height: 1.3; font-size: clamp(2.2rem, 5vw, 3.6rem); }
html[lang="zh-Hans"] .section__title, html[lang="ja"] .section__title { line-height: 1.35; font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
html[lang="zh-Hans"] body, html[lang="ja"] body { line-height: 1.8; }
html[lang="zh-Hans"] .section__eyebrow, html[lang="ja"] .section__eyebrow,
html[lang="zh-Hans"] .product-card__tag, html[lang="ja"] .product-card__tag { letter-spacing: 0.08em; }
html[lang="zh-Hans"] .band__text, html[lang="ja"] .band__text { line-height: 1.5; font-size: clamp(1.25rem, 2.6vw, 1.75rem); }

html[lang="ar"] body, html[lang="ckb"] body { line-height: 1.85; font-size: 1.08rem; }
html[lang="ar"] .hero__title, html[lang="ckb"] .hero__title { line-height: 1.35; font-weight: 700; }
html[lang="ar"] .section__title, html[lang="ckb"] .section__title, html[lang="ar"] .contact-aside h2, html[lang="ckb"] .contact-aside h2 { line-height: 1.45; font-weight: 700; }
html[lang="ar"] .product-card__body h3, html[lang="ckb"] .product-card__body h3, html[lang="ar"] .process-step h3, html[lang="ckb"] .process-step h3,
html[lang="ar"] .quality-card h3, html[lang="ckb"] .quality-card h3, html[lang="ar"] .band__text, html[lang="ckb"] .band__text { font-weight: 700; line-height: 1.5; }
html[lang="ar"] .section__eyebrow, html[lang="ckb"] .section__eyebrow, html[lang="ar"] .product-card__tag, html[lang="ckb"] .product-card__tag,
html[lang="ar"] .form-field label, html[lang="ckb"] .form-field label, html[lang="ar"] .btn, html[lang="ckb"] .btn { letter-spacing: 0; text-transform: none; }
html[lang="ar"] .section__eyebrow, html[lang="ckb"] .section__eyebrow { font-size: 0.9rem; }

/* ——— RTL ——— */
[dir="rtl"] .hero__overlay {
  background: linear-gradient(255deg, rgba(44,26,18,.88) 0%, rgba(44,26,18,.55) 48%, rgba(44,26,18,.35) 100%);
}
[dir="rtl"] .band__overlay--dark {
  background: linear-gradient(255deg, rgba(44,26,18,.75) 0%, rgba(44,26,18,.45) 100%);
}
/* Progress bars fill from the inline start (right in RTL) */
[dir="rtl"] .scroll-progress__bar,
[dir="rtl"] .process-track__progress {
  margin-inline-start: 0;
  margin-inline-end: auto;
  background: linear-gradient(270deg, var(--gold-500), var(--gold-300));
}
[dir="rtl"] .logo { flex-direction: row; direction: ltr; }
[dir="rtl"] .contact-email,
[dir="rtl"] .form-field input[type="email"] { direction: ltr; }
[dir="rtl"] .form-field input[type="email"] { text-align: right; }

/* Buttons: fixed line-height so taller scripts don't overflow the compact header */
.btn { line-height: 1.25; }
.nobr { white-space: nowrap; }

/* Sorani Kurdish (ckb): Arabic script, RTL — Latin brand fonts first, Kurdish glyphs fall through */
html[lang="ckb"] {
  --font-sans: "Outfit", "Vazirmatn", "Noto Naskh Arabic", Tahoma, sans-serif;
  --font-serif: "Cormorant Garamond", "Noto Naskh Arabic", "Vazirmatn", serif;
}
.lang-switch__name[lang="ckb"] { font-family: "Vazirmatn", "Noto Naskh Arabic", Tahoma, sans-serif; }

/* ——— v1.4 Hero: product chips + background crossfade ——— */
.hero__media .hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero__media .hero__slide.is-active { opacity: 1; }
.hero__overlay { z-index: 1; }
/* A touch more depth at the bottom so the chips stay readable on lighter photos */
.hero__overlay::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(44,26,18,.55) 0%, rgba(44,26,18,0) 45%);
}
.hero__chips {
  list-style: none; margin: 2.25rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.65rem;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding-block: 0.35rem;
  padding-inline-start: 0.35rem; padding-inline-end: 1.1rem;
  border-radius: 999px;
  background: rgba(250, 246, 240, 0.12);
  border: 1px solid rgba(250, 246, 240, 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--cream-50); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; line-height: 1.2;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.hero__chip img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid rgba(108,185,229, 0.85);
}
.hero__chip:hover, .hero__chip:focus-visible {
  background: rgba(250, 246, 240, 0.22); border-color: var(--gold-300);
  transform: translateY(-2px);
}
.hero__chip:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; }
/* Highlight the product card a chip jumped to */
.product-card.is-highlight { box-shadow: 0 0 0 3px var(--gold-500), 0 18px 40px rgba(44,26,18,.18); }

html[lang="ar"] .hero__chip, html[lang="ckb"] .hero__chip { font-size: 1rem; }
/* Mobile: one row of four compact tiles (thumb above label) so all products stay visible */
@media (max-width: 560px) {
  .hero__chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; margin-top: 1.6rem; }
  .hero__chip {
    width: 100%; flex-direction: column; justify-content: center; gap: 0.35rem;
    padding: 0.55rem 0.2rem 0.5rem; padding-inline: 0.2rem;
    border-radius: 16px; font-size: 0.78rem; text-align: center;
  }
  .hero__chip span { max-width: 100%; overflow-wrap: anywhere; }
  .hero__chip img { width: 38px; height: 38px; }
  html[lang="ar"] .hero__chip, html[lang="ckb"] .hero__chip { font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media .hero__slide { transition: none; }
  .hero__chip { transition: none; }
  .hero__chip:hover { transform: none; }
}

/* Arabic / Sorani small headings: the heavy naskh bold closes small counters
   (e.g. و in القهوة can read as ر at card size), so use the clearer sans there. */
html[lang="ar"] .product-card__body h3, html[lang="ckb"] .product-card__body h3,
html[lang="ar"] .process-step h3, html[lang="ckb"] .process-step h3,
html[lang="ar"] .quality-card h3, html[lang="ckb"] .quality-card h3 {
  font-family: var(--font-sans); font-weight: 700;
}

/* ═══════════ v1.5 Product showcase: sticky stacking blocks ═══════════ */
.products-showcase { padding-bottom: 0; }
.products-showcase .section__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.pstack { position: relative; }
.pblock-anchor { display: block; height: 0; }
.pblock {
  position: sticky; top: 0;
  z-index: calc(var(--i) + 1);
  background: var(--brown-950);
  color: var(--cream-50);
  overflow: hidden;
}
.pblock__frame {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  transform-origin: 50% 0;
  will-change: transform;
}
.pblock__media { position: absolute; inset: 0; overflow: hidden; }
.pblock__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}
.pblock__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,26,18,.93) 0%, rgba(44,26,18,.8) 40%, rgba(44,26,18,.42) 68%, rgba(44,26,18,.2) 100%);
}
.pblock--end .pblock__shade {
  background: linear-gradient(270deg, rgba(44,26,18,.93) 0%, rgba(44,26,18,.8) 40%, rgba(44,26,18,.42) 68%, rgba(44,26,18,.2) 100%);
}
[dir="rtl"] .pblock--start .pblock__shade {
  background: linear-gradient(270deg, rgba(44,26,18,.93) 0%, rgba(44,26,18,.8) 40%, rgba(44,26,18,.42) 68%, rgba(44,26,18,.2) 100%);
}
[dir="rtl"] .pblock--end .pblock__shade {
  background: linear-gradient(90deg, rgba(44,26,18,.93) 0%, rgba(44,26,18,.8) 40%, rgba(44,26,18,.42) 68%, rgba(44,26,18,.2) 100%);
}
/* Cacao carries more copy (varieties): keep the shade dark across the text width */
.pblock--cacao .pblock__shade { background: linear-gradient(90deg, rgba(44,26,18,.94) 0%, rgba(44,26,18,.86) 50%, rgba(44,26,18,.6) 72%, rgba(44,26,18,.28) 100%); }
[dir="rtl"] .pblock--cacao .pblock__shade { background: linear-gradient(270deg, rgba(44,26,18,.94) 0%, rgba(44,26,18,.86) 50%, rgba(44,26,18,.6) 72%, rgba(44,26,18,.28) 100%); }
/* Darkens a block while the next one slides over it (opacity driven by JS) */
.pblock__dim { position: absolute; inset: 0; background: var(--bj-cacao); opacity: 0; pointer-events: none; z-index: 3; will-change: opacity; }

/* Huge outlined product word drifting in parallax */
.pblock__word {
  position: absolute; bottom: -0.16em; inset-inline-end: -0.04em;
  font-family: var(--font-serif); font-weight: 600; font-style: italic;
  font-size: clamp(7rem, 19vw, 19rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(174,220,241, 0.42);
  white-space: nowrap; pointer-events: none; user-select: none;
  will-change: transform;
}
.pblock--end .pblock__word { inset-inline-end: auto; inset-inline-start: -0.04em; }

.pblock__inner { position: relative; z-index: 2; display: flex; }
.pblock--end .pblock__inner { justify-content: flex-end; }
.pblock__content {
  max-width: 600px;
  padding-block: calc(var(--header-h) + 2.5rem) 4rem;
}
.pblock--cacao .pblock__content { max-width: 880px; }

.pblock__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-300);
}
.pblock__index {
  font-family: "Outfit", system-ui, sans-serif; letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem; border: 1px solid rgba(174,220,241, 0.5); border-radius: 999px;
}
.pblock__title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(3.2rem, 8vw, 6.6rem); line-height: 1;
  margin-bottom: 1.25rem;
}
.pblock__mask { display: block; overflow: hidden; padding-block: 0.04em 0.12em; }
.pblock__mask > span { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform 1.1s cubic-bezier(.19, 1, .22, 1); }
.pblock__desc { font-size: 1.12rem; color: rgba(250, 246, 240, 0.88); max-width: 52ch; margin-bottom: 1.75rem; }
.pblock__subhead {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 0.9rem;
}
.pblock__varieties {
  list-style: none; margin: 0 0 1.4rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem;
}
.pblock__varieties li {
  border-top: 1px solid rgba(174,220,241, 0.45);
  padding-top: 0.9rem;
  font-size: 0.9rem; line-height: 1.55; color: rgba(250, 246, 240, 0.8);
}
.pblock__varieties strong {
  display: block; font-family: var(--font-serif); font-weight: 600;
  font-size: 1.45rem; line-height: 1.15; color: var(--cream-50); margin-bottom: 0.3rem;
}
.pblock__varieties em {
  display: block; font-style: normal; color: var(--gold-300);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.35rem;
}
.pblock__note { font-size: 0.9rem; color: rgba(250, 246, 240, 0.72); margin-bottom: 1.75rem; max-width: 70ch; }
.pblock__note strong { color: var(--cream-50); }
[dir="rtl"] .pblock__varieties strong[dir="ltr"] { text-align: right; }

/* Staggered reveal once a block is in view (transform/opacity only) */
.pblock__meta, .pblock__desc, .pblock__subhead, .pblock__varieties li, .pblock__note, .pblock__cta {
  opacity: 0; transform: translate3d(0, 22px, 0);
  transition: opacity .8s ease, transform .9s cubic-bezier(.19, 1, .22, 1);
}
.pblock.is-in .pblock__mask > span,
.pblock.is-in .pblock__meta, .pblock.is-in .pblock__desc, .pblock.is-in .pblock__subhead,
.pblock.is-in .pblock__varieties li, .pblock.is-in .pblock__note, .pblock.is-in .pblock__cta { opacity: 1; transform: none; }
.pblock.is-in .pblock__mask > span { transition-delay: .05s; }
.pblock.is-in .pblock__desc { transition-delay: .25s; }
.pblock.is-in .pblock__subhead { transition-delay: .35s; }
.pblock.is-in .pblock__varieties li:nth-child(1) { transition-delay: .42s; }
.pblock.is-in .pblock__varieties li:nth-child(2) { transition-delay: .52s; }
.pblock.is-in .pblock__varieties li:nth-child(3) { transition-delay: .62s; }
.pblock.is-in .pblock__note { transition-delay: .7s; }
.pblock.is-in .pblock__cta { transition-delay: .4s; }
.pblock--cacao.is-in .pblock__cta { transition-delay: .78s; }
.pblock.is-in .pblock__cta:hover { transform: translateY(-2px); transition-delay: 0s; }

/* Progress rail for the 4 blocks */
.pstack__rail {
  position: fixed; top: 50%; inset-inline-end: clamp(1rem, 2.4vw, 2.2rem);
  z-index: 40; margin: 0; padding: 0; padding-inline-end: 16px; list-style: none;
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-end;
  transform: translate3d(0, -50%, 0);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
  pointer-events: none;
}
.pstack.is-active .pstack__rail { opacity: 1; visibility: visible; }
.pstack__tick { display: flex; align-items: center; gap: 0.6rem; color: rgba(250, 246, 240, 0.5); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; transition: color .3s; }
.pstack__num { font-family: "Outfit", system-ui, sans-serif; }
.pstack__label { opacity: 0; transform: translate3d(8px, 0, 0); transition: opacity .3s, transform .3s; text-transform: uppercase; }
[dir="rtl"] .pstack__label { transform: translate3d(-8px, 0, 0); }
.pstack__tick.is-current { color: var(--gold-300); }
.pstack__tick.is-current .pstack__label { opacity: 1; transform: none; }
.pstack__bar { position: absolute; inset-block: 0; inset-inline-end: 0; width: 2px; background: rgba(250, 246, 240, 0.22); border-radius: 2px; overflow: hidden; }
.pstack__fill { position: absolute; inset: 0; background: var(--gold-300); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }

/* Script tweaks */
html[lang="ar"] .pblock__meta, html[lang="ckb"] .pblock__meta,
html[lang="ar"] .pblock__subhead, html[lang="ckb"] .pblock__subhead,
html[lang="ar"] .pblock__varieties em, html[lang="ckb"] .pblock__varieties em,
html[lang="ar"] .pstack__label, html[lang="ckb"] .pstack__label { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
html[lang="ar"] .pblock__title, html[lang="ckb"] .pblock__title { line-height: 1.3; font-weight: 700; }
/* Connected Arabic script outlines show overlapping contours: use a faint fill instead of a stroke */
html[lang="ar"] .pblock__word, html[lang="ckb"] .pblock__word { -webkit-text-stroke: 0; color: rgba(174,220,241, 0.13); }
html[lang="ar"] .pblock__word, html[lang="ckb"] .pblock__word,
html[lang="zh-Hans"] .pblock__word, html[lang="ja"] .pblock__word { font-style: normal; }
html[lang="ar"] .pblock__desc, html[lang="ckb"] .pblock__desc { line-height: 1.9; }
html[lang="zh-Hans"] .pblock__meta, html[lang="ja"] .pblock__meta,
html[lang="zh-Hans"] .pblock__subhead, html[lang="ja"] .pblock__subhead { letter-spacing: 0.08em; }
html[lang="zh-Hans"] .pblock__title, html[lang="ja"] .pblock__title { font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height: 1.2; }
html[lang="ru"] .pblock__title, html[lang="de"] .pblock__title { font-size: clamp(2.8rem, 7vw, 5.8rem); }

@media (max-width: 1279px) { .pstack__rail { display: none; } }
@media (max-width: 1080px) {
  .pblock__varieties { grid-template-columns: 1fr; gap: 0.9rem; }
  .pblock__varieties li { display: grid; grid-template-columns: 11rem 1fr; column-gap: 1rem; }
  .pblock__varieties li strong, .pblock__varieties li em { grid-column: 1; }
  .pblock__varieties li span { grid-column: 2; grid-row: 1 / span 2; }
}

/* Mobile: simple stacked blocks, content at the bottom, light parallax only */
@media (max-width: 820px) {
  .pblock { position: relative; top: auto !important; }
  .pblock__frame { min-height: 88vh; min-height: 88svh; align-items: flex-end; }
  .pblock__shade,
  .pblock--end .pblock__shade,
  [dir="rtl"] .pblock--start .pblock__shade,
  [dir="rtl"] .pblock--end .pblock__shade,
  .pblock--cacao .pblock__shade,
  [dir="rtl"] .pblock--cacao .pblock__shade {
    background: linear-gradient(0deg, rgba(44,26,18,.94) 0%, rgba(44,26,18,.78) 45%, rgba(44,26,18,.25) 80%, rgba(44,26,18,.2) 100%);
  }
  .pblock--end .pblock__inner { justify-content: flex-start; }
  .pblock__content { padding-block: max(9rem, 34vw) 2.75rem; }
  .pblock__word { bottom: auto; top: 0.1em; font-size: 30vw; inset-inline-start: 0.05em; inset-inline-end: auto; -webkit-text-stroke-width: 1px; }
  .pblock__title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .pblock__desc { font-size: 1rem; }
  .pblock__varieties li { display: block; }
  .pblock__varieties strong { font-size: 1.25rem; }
  .pblock__dim { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pblock { position: relative; top: auto !important; }
  .pblock__frame, .pblock__media img, .pblock__word { transform: none !important; }
  .pblock__media img { transform: scale(1.02) !important; }
  .pblock__dim { display: none; }
  .pblock__mask > span,
  .pblock__meta, .pblock__desc, .pblock__subhead, .pblock__varieties li, .pblock__note, .pblock__cta {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .pstack__rail { display: none; }
}

/* ═══════════ v1.6 Footer policies column ═══════════ */
.site-footer { padding: 3.25rem 0 2rem; }
.site-footer__inner {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.4fr);
  gap: 2rem 3rem; align-items: start;
}
.footer-policies__title {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300);
  margin: 0.35rem 0 1rem;
}
.footer-policies__title a { color: inherit; text-decoration: none; }
.footer-policies ul { list-style: none; margin: 0; padding: 0; columns: 3 200px; column-gap: 2rem; }
.footer-policies li { break-inside: avoid; margin-bottom: 0.55rem; font-size: 0.9rem; line-height: 1.45; }
.footer-policies a { color: rgba(250, 246, 240, 0.78); text-decoration: none; }
.footer-policies a:hover, .footer-policies a:focus-visible { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-meta {
  grid-column: 1 / -1; margin: 0.5rem 0 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
}
html[lang="ar"] .footer-policies__title, html[lang="ckb"] .footer-policies__title { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-policies ul { columns: 2 150px; }
}

/* ═══════════ v1.6 Policy pages ═══════════ */
.policy__container { width: min(100% - 2.5rem, 860px); }
.policy-hero { background: var(--brown-950); color: var(--cream-50); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.25rem, 5vw, 3.25rem); }
.policy-crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: rgba(250, 246, 240, 0.65); margin-bottom: 1.5rem; }
.policy-crumbs a { color: rgba(250, 246, 240, 0.85); text-decoration: none; }
.policy-crumbs a:hover { color: var(--gold-300); }
.policy-hero .section__eyebrow { color: var(--gold-300); }
.policy__title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; }
.policy__lead { margin-top: 1rem; font-size: 1.1rem; color: rgba(250, 246, 240, 0.85); max-width: 60ch; }
.policy-body { background: var(--cream-50); padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.policy-note {
  background: var(--cream-100); border-inline-start: 3px solid var(--gold-500);
  border-radius: 10px; padding: 1.1rem 1.35rem; margin-bottom: 2.5rem; font-size: 0.95rem; color: var(--text-muted);
}
.policy-note strong { display: block; color: var(--text); margin-bottom: 0.25rem; }
.policy-note a, .policy-section a, .policy-contact a { color: var(--brown-700); text-decoration: underline; text-underline-offset: 3px; }
.policy-section { padding: 1.5rem 0; border-top: 1px solid rgba(44,26,18, 0.1); }
.policy-section:first-child { border-top: 0; padding-top: 0; }
.policy-section h2 {
  display: flex; align-items: baseline; gap: 0.75rem;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem; line-height: 1.25; color: var(--text); margin-bottom: 0.6rem;
}
.policy-section__num { font-family: "Outfit", system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--gold-500); letter-spacing: 0.08em; flex: none; }
.policy-section p { color: var(--text); line-height: 1.8; max-width: 72ch; }
.policy-contact { margin-top: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.policy-list { margin-top: 3rem; }
.policy-list__title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--text); }
.policy-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.policy-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.15rem; border-radius: 12px; background: var(--white);
  border: 1px solid rgba(44,26,18, 0.1); color: var(--text); text-decoration: none; font-weight: 500;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.policy-list a:hover, .policy-list a:focus-visible { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: var(--shadow); }
.policy-list a.is-current { border-color: var(--gold-500); background: var(--cream-100); }
.policy-list svg { flex: none; color: var(--gold-500); }
[dir="rtl"] .policy-list svg { transform: scaleX(-1); }
html[lang="ar"] .policy-section h2, html[lang="ckb"] .policy-section h2,
html[lang="ar"] .policy__title, html[lang="ckb"] .policy__title { font-family: var(--font-sans); font-weight: 700; line-height: 1.45; }
html[lang="ar"] .policy-section p, html[lang="ckb"] .policy-section p { line-height: 2; }
html[lang="zh-Hans"] .policy__title, html[lang="ja"] .policy__title { line-height: 1.35; }
@media (max-width: 640px) { .policy-list ul { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .policy-list a { transition: none; } .policy-list a:hover { transform: none; } }

/* ═══════════ v1.6 Brand kit: palette roles + logo ═══════════
   "Marfil para fondos, cacao para lectura y celeste como acento."
   Celeste (#6CB9E5) is ~2:1 on marfil, so on light surfaces it is used only for
   ribbons, borders, rails and button fills (with cacao text); small text stays cacao/café. */

/* Logo artwork (PNG from the brand kit — never re-typed with fonts) */
.logo--brand { display: inline-flex; align-items: center; gap: 0; line-height: 0; flex: none; }
.logo--brand img.logo__img {
  width: auto; height: 54px; border-radius: 0; object-fit: contain; max-width: none;
  transition: height .25s ease;
}
.site-header.is-scrolled .logo--brand img.logo__img { width: auto; height: 46px; }
@media (max-width: 760px) {
  .logo--brand img.logo__img, .site-header.is-scrolled .logo--brand img.logo__img { height: 44px; }
}
/* Dark footer: the guide asks for a light panel behind the mark */
.logo-panel {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bj-marfil); border-radius: 14px;
  padding: 0.85rem 1.1rem; line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(185, 129, 50, 0.35);
}
.logo-panel img { width: auto; height: 64px; max-width: 100%; }
.site-footer .logo--brand { color: inherit; }

/* Light surfaces: readable text colours + celeste ribbons */
.section__eyebrow {
  color: var(--bj-cafe);
  text-decoration: underline; text-decoration-color: var(--bj-celeste);
  text-decoration-thickness: 2px; text-underline-offset: 0.5em;
}
.hero .section__eyebrow, .band .section__eyebrow, .policy-hero .section__eyebrow,
.contact-aside .section__eyebrow { color: var(--bj-celeste-claro); }
.nav a:hover, .nav a:focus-visible {
  color: var(--bj-cacao);
  text-decoration: underline; text-decoration-color: var(--bj-celeste);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.btn--gold { background: var(--bj-celeste); color: var(--bj-cacao); }
.btn--gold:hover { background: var(--bj-celeste-claro); color: var(--bj-cacao); }
.btn--primary { background: var(--bj-cafe); color: var(--bj-marfil); }
.btn--primary:hover { background: var(--bj-cacao); }
.about-point__icon { background: linear-gradient(145deg, var(--bj-celeste-claro), var(--bj-celeste)); color: var(--bj-cacao); }
.product-card__tag { color: var(--bj-cafe); }
.process-step::before { color: var(--bj-cacao-dorado); }      /* 27px/600 large text, 4.3:1 on white */
.incoterm strong { color: var(--bj-cacao-dorado); }          /* 20px bold large text, 4.3:1 on white */
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--bj-cafe); box-shadow: 0 0 0 3px rgba(108, 185, 229, 0.45);
}
.lang-switch__btn:hover, .lang-switch[open] .lang-switch__btn { border-color: var(--bj-celeste); }
.lang-switch__btn:focus-visible { outline: 2px solid var(--bj-cafe); }
.lang-switch__globe { color: var(--bj-celeste); }
.lang-switch__menu a.is-active { background: var(--bj-cacao); color: var(--bj-marfil); }
.policy-section__num { color: var(--bj-cafe); }
.policy-note a, .policy-section a, .policy-contact a { color: var(--bj-cafe); text-decoration-color: var(--bj-celeste); text-decoration-thickness: 2px; }
.policy-list svg { color: var(--bj-cacao-dorado); }
.policy-list a.is-current { border-color: var(--bj-celeste); }
.product-card.is-highlight { box-shadow: 0 0 0 3px var(--bj-celeste), 0 18px 40px rgba(44,26,18,.18); }

/* Dark surfaces / photos: celeste accents read well (7.7:1 / 11.3:1 on cacao) */
.hero__title em { color: var(--bj-celeste-claro); }
.hero__chip img { border-color: var(--bj-celeste); }
.contact-email { color: var(--bj-celeste-claro); }
.site-footer a:hover, .footer-policies a:hover, .footer-policies a:focus-visible { color: var(--bj-celeste-claro); }
.footer-policies__title { color: var(--bj-celeste); }
.pblock__meta, .pblock__subhead, .pblock__varieties em { color: var(--bj-celeste-claro); }
.pstack__tick.is-current { color: var(--bj-celeste); }
.pstack__fill { background: var(--bj-celeste); }
.scroll-progress__bar, .process-track__progress { background: linear-gradient(90deg, var(--bj-celeste), var(--bj-celeste-claro)); }
[dir="rtl"] .scroll-progress__bar, [dir="rtl"] .process-track__progress { background: linear-gradient(270deg, var(--bj-celeste), var(--bj-celeste-claro)); }
.site-footer .logo-panel { justify-self: start; }
.footer-policies .footer-policies__title a { color: inherit; }

/* ═══════════ v1.7 Owner media: mobile block photos, gallery strip, lightbox ═══════════ */
.pblock__media picture { display: block; width: 100%; height: 100%; }
.pblock__media img { object-position: var(--pos, 50% 50%); }
@media (max-width: 820px) {
  /* Portrait owner photos fill the stacked mobile blocks */
  .pblock__media img { object-position: 50% 40%; }
}

.pblock__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.pgal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pgal__item {
  position: relative; display: block; width: 52px; height: 52px; padding: 0;
  border: 2px solid rgba(250, 246, 240, 0.4); border-radius: 12px; overflow: hidden;
  background: var(--bj-cacao); cursor: zoom-in;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pgal__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgal__item:hover { border-color: var(--bj-celeste); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(44, 26, 18, 0.35); }
.pgal__item:focus-visible { outline: 3px solid var(--bj-celeste); outline-offset: 2px; border-color: var(--bj-celeste-claro); }
.pgal__item--video { cursor: pointer; }
.pgal__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(44, 26, 18, 0.35);
}
.pgal__play::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bj-celeste) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%232C1A12'/%3E%3C/svg%3E") center/16px no-repeat;
}
/* Reveal with the CTA */
.pblock .pgal { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s ease, transform .9s cubic-bezier(.19, 1, .22, 1); }
.pblock.is-in .pgal { opacity: 1; transform: none; transition-delay: .5s; }
.pblock--cacao.is-in .pgal { transition-delay: .88s; }
@media (prefers-reduced-motion: reduce) {
  .pblock .pgal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pgal__item { transition: none; }
}

/* Lightbox */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--bj-marfil); overflow: hidden;
}
.lb::backdrop { background: rgba(44, 26, 18, 0.94); }
.lb[open] { display: block; }
html.lb-open { overflow: hidden; }
.lb__stage {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: clamp(3.5rem, 7vh, 4.5rem) clamp(3.75rem, 8vw, 6rem); touch-action: pan-y;
}
.lb__figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; place-items: center; }
.lb__img, .lb__video {
  max-width: min(100%, 1100px); max-height: calc(100vh - 8rem); max-height: calc(100svh - 8rem);
  width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: var(--bj-cacao);
}
.lb__img[hidden], .lb__video[hidden] { display: none; }
.lb__count {
  position: absolute; bottom: 1rem; inset-inline: 0; text-align: center; margin: 0;
  font-size: 0.85rem; letter-spacing: 0.12em; color: rgba(250, 246, 240, 0.8);
}
.lb__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(250, 246, 240, 0.3);
  background: rgba(44, 26, 18, 0.6); color: var(--bj-marfil); cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lb__btn:hover { background: var(--bj-celeste); border-color: var(--bj-celeste); color: var(--bj-cacao); }
.lb__btn:focus-visible { outline: 3px solid var(--bj-celeste); outline-offset: 2px; }
.lb__btn[hidden] { display: none; }
.lb__close { top: 1rem; inset-inline-end: 1rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { inset-inline-start: 1rem; }
.lb__next { inset-inline-end: 1rem; }
[dir="rtl"] .lb__nav svg { transform: scaleX(-1); }
@media (max-width: 640px) {
  .lb__stage { padding: 4rem 0.75rem 3.5rem; }
  .lb__nav { top: auto; bottom: 0.6rem; transform: none; width: 44px; height: 44px; }
  .lb__count { bottom: 1.4rem; }
  .lb__img, .lb__video { max-height: calc(100svh - 8.5rem); }
}
