/* ============================================================
   Abbarci Industries Ltd — site styles
   Palette: espresso browns, warm cream, caramel accent
   Type:    Fraunces (display) + Manrope (body)
   ============================================================ */

:root {
  --espresso: #17100a;
  --coffee: #231610;
  --mocha: #3a2417;
  --cream: #f6efe3;
  --paper: #fdfaf4;
  --caramel: #c58a3f;
  --caramel-dark: #a9712b;
  --ink: #2a1d12;
  --muted: #6f6154;
  --line: rgba(42, 29, 18, 0.12);
  --line-light: rgba(246, 239, 227, 0.16);
  --shadow-lg: 0 30px 60px -20px rgba(23, 16, 10, 0.35);
  --shadow-md: 0 16px 40px -18px rgba(23, 16, 10, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 40px); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--caramel);
}
.eyebrow--light { color: var(--caramel); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--espresso); color: var(--cream); }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.section__title em {
  font-style: italic;
  color: var(--caramel-dark);
}
.section--dark .section__title em { color: var(--caramel); }
.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__lede { color: var(--muted); font-size: 1.05rem; }
.section--dark .section__lede { color: rgba(246, 239, 227, 0.72); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--caramel);
  color: #20130a;
  box-shadow: 0 12px 28px -12px rgba(197, 138, 63, 0.7);
}
.btn--primary:hover { background: var(--caramel-dark); color: var(--cream); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(246, 239, 227, 0.55); color: var(--cream); }
.btn--ghost:hover { background: rgba(246, 239, 227, 0.14); border-color: var(--cream); transform: translateY(-2px); }
.btn--outline { border-color: var(--mocha); color: var(--mocha); }
.btn--outline:hover { background: var(--mocha); color: var(--cream); transform: translateY(-2px); }
.btn--lg { padding: 1.05em 2.3em; font-size: 1.02rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--espresso);
  color: rgba(246, 239, 227, 0.85);
  font-size: 0.8rem;
  position: relative;
  z-index: 60;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
}
.topbar__contacts { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: color 0.2s;
}
.topbar__item:hover { color: var(--caramel); }
.topbar__item svg { color: var(--caramel); }
.topbar__socials { display: flex; gap: 0.35rem; }
.topbar__socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.topbar__socials a:hover { background: var(--caramel); color: var(--espresso); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 244, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(23, 16, 10, 0.4); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { display: block; height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav__list { display: flex; gap: 1.5rem; }
.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.4em 0;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--caramel-dark); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

/* dropdown submenu */
.nav__item--has-sub { position: relative; }
.nav__item--has-sub > .nav__link { display: inline-flex; align-items: center; gap: 0.35em; }
.nav__item--has-sub > .nav__link::before {
  content: "";
  order: 2;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.12em);
  transition: transform 0.25s var(--ease);
}
.nav__item--has-sub:hover > .nav__link::before,
.nav__item--has-sub:focus-within > .nav__link::before { transform: rotate(225deg) translateY(-0.05em); }
.nav__sub {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 220px;
  background: var(--mocha);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav__sub::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__sub a {
  display: block;
  padding: 0.65em 1.4em;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] {
  background: rgba(197, 138, 63, 0.18);
  color: var(--caramel);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--espresso);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  color: var(--cream);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(15, 9, 5, 0.92) 8%, rgba(15, 9, 5, 0.68) 45%, rgba(15, 9, 5, 0.35) 100%),
    url("../img/hero-beans.jpg") center/cover;
}
.hero__inner { padding: clamp(5rem, 10vw, 8rem) 0; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 15ch;
  margin-bottom: 1.4rem;
}
.hero__title em { font-style: italic; color: var(--caramel); }
.hero__sub {
  max-width: 56ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(246, 239, 227, 0.85);
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3.4rem; }
.hero .eyebrow { color: var(--caramel); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-light);
  padding-top: 1.8rem;
  max-width: 780px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  color: var(--caramel);
  line-height: 1;
}
.stat__unit { font-size: 0.45em; font-family: var(--font-body); font-weight: 700; margin-left: 0.25em; }
.stat__label { font-size: 0.82rem; color: rgba(246, 239, 227, 0.72); max-width: 20ch; margin-top: 0.5rem; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(246, 239, 227, 0.45);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--caramel);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Partner marquee ---------- */
.marquee {
  background: var(--coffee);
  color: var(--cream);
  padding: 1.6rem 0;
  overflow: hidden;
  border-block: 1px solid var(--line-light);
}
.marquee__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.5);
  margin-bottom: 1rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__group span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  white-space: nowrap;
  padding: 0.2rem 2.4rem;
  color: rgba(246, 239, 227, 0.85);
  position: relative;
}
.marquee__group span::after {
  content: "·";
  position: absolute;
  right: -0.1em;
  color: var(--caramel);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
}
.about__media--single > img { aspect-ratio: 4 / 3.6; }
.about__media-inset {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 46%;
  background: var(--paper);
  padding: 10px 10px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.about__media-inset img {
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.about__media-inset figcaption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  padding-top: 7px;
}
.about__body p { color: var(--muted); margin-bottom: 1rem; max-width: 56ch; }
.about__body .btn { margin-top: 0.6rem; }

.checklist { margin: 1.4rem 0 1.8rem; display: grid; gap: 0.7rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--caramel);
  -webkit-mask: none;
  mask: none;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.5em;
  width: 0.6rem;
  height: 0.32rem;
  border-left: 2.5px solid var(--espresso);
  border-bottom: 2.5px solid var(--espresso);
  transform: rotate(-45deg);
}

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 30px -14px rgba(23, 16, 10, 0.18);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--caramel);
  color: var(--espresso);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45em 0.9em;
  border-radius: 999px;
}
.card__body { padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.card__body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.card__body > p { color: var(--muted); font-size: 0.95rem; }
.card__specs { margin-top: auto; padding-top: 0.9rem; border-top: 1px dashed var(--line); display: grid; gap: 0.4rem; }
.card__specs li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mocha);
  padding-left: 1.2rem;
  position: relative;
}
.card__specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--caramel);
}

/* ---------- Services ---------- */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem) 0;
}
.service + .service { border-top: 1px solid var(--line); }
.service__media { position: relative; }
.service__media img {
  border-radius: var(--radius);
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.service--flip .service__media { order: 2; }
.service__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--caramel);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}
.service__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.service__body p { color: var(--muted); max-width: 52ch; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-light);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--caramel);
}
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--caramel);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: rgba(246, 239, 227, 0.7); }

/* ---------- Quality band ---------- */
.quality {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  isolation: isolate;
}
.quality__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 9, 5, 0.88) 20%, rgba(15, 9, 5, 0.4) 70%),
    url("../img/brewing.jpg") center/cover fixed;
}
.quality__card {
  max-width: 560px;
  background: rgba(23, 16, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
}
.quality__card .eyebrow { color: var(--caramel); }
.quality__card .section__title em { color: var(--caramel); }
.quality__card p { color: rgba(246, 239, 227, 0.78); margin-bottom: 1.6rem; }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__intro p { color: var(--muted); margin-bottom: 1.6rem; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq__item[open] { border-color: var(--caramel); box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--caramel);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--caramel-dark);
  transition: transform 0.3s var(--ease);
}
.faq__icon::before { width: 11px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 2px; height: 11px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon { background: var(--caramel); transform: rotate(45deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--espresso); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Factory video ---------- */
.video__head { margin-inline: auto; text-align: center; }
.video__head .eyebrow { justify-content: center; }
.video__head .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--caramel); }
.video__frame {
  max-width: 860px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--espresso);
}
.video__frame video { display: block; width: 100%; aspect-ratio: 16 / 9; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  color: var(--cream);
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(15, 9, 5, 0.82), rgba(15, 9, 5, 0.82)),
    url("../img/coffee-pour.jpg") center/cover;
}
.cta__inner { max-width: 640px; }
.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--caramel); }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.cta p { color: rgba(246, 239, 227, 0.8); margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__info > p { color: var(--muted); max-width: 46ch; }
.contact__list { margin: 1.8rem 0; display: grid; gap: 1.3rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list svg {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--caramel-dark);
}
.contact__list strong { display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact__list a, .contact__list span { display: block; font-weight: 600; font-size: 0.98rem; }
.contact__list a:hover { color: var(--caramel-dark); }
.contact__map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  filter: saturate(0.85);
}

.form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.15rem;
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form__field { display: grid; gap: 0.4rem; align-content: start; }
.form__field label, .form__legend {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mocha);
}
.form__field label span { color: #b23b3b; }
.form__field input, .form__field select, .form__field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8em 1em;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 4px rgba(197, 138, 63, 0.18);
}
.form__field input.invalid, .form__field select.invalid { border-color: #b23b3b; }
.form__radios { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span {
  display: inline-block;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}
.radio input:checked + span {
  background: var(--mocha);
  border-color: var(--mocha);
  color: var(--cream);
}
.radio input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }
.form__submit { justify-self: start; }
.form__note { font-size: 0.8rem; color: var(--muted); }
.form__status { font-weight: 700; font-size: 0.95rem; color: var(--caramel-dark); min-height: 1.2em; }
.form__status.error { color: #b23b3b; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(246, 239, 227, 0.78); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 3rem;
}
.footer__brand p { font-size: 0.92rem; margin-top: 1.1rem; max-width: 36ch; }
.brand--footer .brand__logo {
  height: auto;
  width: 84px;
  background: #fff;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.footer__col { display: grid; gap: 0.6rem; align-content: start; }
.footer__col h4 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.footer__col a, .footer__col span { font-size: 0.92rem; transition: color 0.2s; width: fit-content; }
.footer__col a:hover { color: var(--caramel); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
  color: rgba(246, 239, 227, 0.5);
}
.footer__tag { font-family: var(--font-display); font-style: italic; }

/* ---------- WhatsApp float ---------- */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.9rem;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease);
}
.whatsapp:hover { transform: scale(1.08) translateY(-3px); }

/* ---------- Inner-page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  color: var(--cream);
  isolation: isolate;
}
.page-hero {
  background:
    linear-gradient(100deg, rgba(15, 9, 5, 0.92) 10%, rgba(15, 9, 5, 0.6) 60%, rgba(15, 9, 5, 0.4) 100%),
    url("../img/hero-beans.jpg") center/cover;
}
.page-hero--farming    { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/cherries.jpg"); }
.page-hero--production { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/crop-rows.jpg"); }
.page-hero--sustain    { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/farmers.jpg"); }
.page-hero--why        { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/coffee-sack.jpg"); }
.page-hero--harvest    { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/roasted-beans.jpg"); }
.page-hero--logistics  { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/container-ship.jpg"); }
.page-hero--team       { background-image: linear-gradient(100deg, rgba(15,9,5,.92) 10%, rgba(15,9,5,.6) 60%, rgba(15,9,5,.4) 100%), url("../img/coffee-pour.jpg"); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.6);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: var(--caramel); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cream); }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.page-hero__title em { font-style: italic; color: var(--caramel); }
.page-hero__sub { max-width: 58ch; color: rgba(246, 239, 227, 0.82); font-size: 1.05rem; }

/* ---------- Product spec cards ---------- */
.cards--products { grid-template-columns: repeat(4, 1fr); }
.card--product { background: var(--paper); }
.sku-badge {
  display: inline-block;
  width: fit-content;
  background: var(--mocha);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45em 0.9em;
  border-radius: 999px;
}
.card__body h3 em { font-style: italic; color: var(--caramel-dark); }
.card__link {
  margin-top: auto;
  padding-top: 0.9rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--caramel-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.card__link::after { content: "→"; transition: transform 0.25s var(--ease); }
.card__link:hover::after { transform: translateX(4px); }
.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--mocha) !important;
}
.tagline em { color: var(--caramel-dark); }
.cta__bg--instant {
  background:
    linear-gradient(rgba(15, 9, 5, 0.82), rgba(15, 9, 5, 0.82)),
    url("../img/brewing.jpg") center/cover;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--coffee);
  color: var(--cream);
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}
.stats-band--inline {
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem) clamp(1.2rem, 3vw, 2.4rem);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.stats-band--inline .stats-band__grid { padding: 0; }
.stats-band__item {
  display: grid;
  gap: 0.4rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--caramel);
}
.stats-band__item strong {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--caramel);
  line-height: 1;
}
.stats-band__item span { font-size: 0.85rem; color: rgba(246, 239, 227, 0.72); }

/* ---------- Data table ---------- */
.table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1rem, 2.5vw, 1.8rem);
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 0.8em 1em;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel-dark);
  border-bottom: 2px solid var(--caramel);
}
.data-table tbody th { font-family: var(--font-display); font-weight: 600; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--cream); }
.table-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }

/* ---------- Partners ---------- */
.partners__row {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.partners__logo {
  background: #fff;
  padding: 1.3rem 1.9rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.partners__logo img { height: 88px; width: auto; display: block; }
.partners__chips { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.partners__chips li {
  padding: 0.75em 1.5em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.partners__chips li:hover {
  border-color: var(--caramel);
  color: var(--caramel-dark);
  transform: translateY(-2px);
}

/* ---------- Two-column checklist ---------- */
.checklist--cols {
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
}

/* ---------- Team cards ---------- */
.cards--team { grid-template-columns: repeat(2, minmax(0, 340px)); }
.team-card .card__body { align-items: center; text-align: center; padding: 2.4rem 1.6rem; }
.team-card__avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mocha), var(--espresso));
  color: var(--caramel);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  margin-bottom: 0.6rem;
}
.team-card__role {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__list { gap: 1.1rem; }
  .nav { gap: 1.2rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar__socials { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__contacts { justify-content: center; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -20px rgba(23, 16, 10, 0.3);
    padding: 0.8rem 4% 1.6rem;
    transform: translateY(-115%);
    transition: transform 0.4s var(--ease);
    z-index: 49;
  }
  .nav.open { transform: translateY(0); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding: 0.85em 0.4em;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1rem; align-self: flex-start; }

  /* submenu becomes static nested list on mobile */
  .nav__item--has-sub > .nav__link::before { display: none; }
  .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 1.2rem;
  }
  .nav__sub::before { display: none; }
  .nav__sub a {
    color: var(--muted);
    font-size: 0.95rem;
    padding: 0.7em 0.4em;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] {
    background: transparent;
    color: var(--caramel-dark);
  }

  .about__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; }
  .faq__intro { position: static; }
  .service { grid-template-columns: 1fr; gap: 1.4rem; }
  .service--flip .service__media { order: 0; }
  .hero { min-height: auto; }
  .hero__scroll { display: none; }
}

@media (max-width: 1020px) {
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .checklist--cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards, .cards--products, .cards--team { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
  .stat__label { max-width: none; }
  .about__media-inset { right: 0; }
  .whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
