/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --primary:          oklch(0.706 0.195 47.2);   /* warm orange */
  --primary-hover:    oklch(0.446 0.085 53.2);   /* coffee brown on hover */
  --brand-brown:      oklch(0.446 0.085 53.2);
  --background:       oklch(0.99 0.002 80);
  --foreground:       oklch(0.23 0.015 65);
  --ink:              oklch(0.205 0.012 65);
  --soft-surface:     oklch(0.965 0.009 80);
  --on-dark:          oklch(0.99 0 0);
  --on-dark-muted:    oklch(0.8 0.015 80);
  --muted:            oklch(0.5 0.012 65);
  --border:           oklch(0.929 0.013 255.508);

  --radius:           0.375rem;
  --container:        min(1200px, calc(100% - 80px));
  --section-pad:      90px;

  --header-h:         82px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  line-height: 1.18;
  font-weight: 800;
  color: var(--foreground);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  width: var(--container);
  margin-inline: auto;
}

.hidden { display: none !important; }

.section-pad { padding-block: var(--section-pad); }

.bg-soft-surface { background: var(--soft-surface); }

.on-dark { color: var(--on-dark); }
.on-dark-muted { color: var(--on-dark-muted); font-size: 14px; line-height: 1.9; }
.text-brand-brown { color: var(--brand-brown); }
.accent-dot { color: var(--primary); }

/* Eyebrow label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-brown);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1.5px;
  background: var(--brand-brown);
  flex-shrink: 0;
}
.eyebrow-light {
  color: var(--on-dark-muted);
}
.eyebrow-light::before {
  background: var(--on-dark-muted);
}

/* Body copy */
.body-copy {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Section intro block */
.section-intro {
  max-width: 520px;
  margin-bottom: 52px;
}
.section-intro h2 { margin-bottom: 16px; }
.section-intro-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* Text link */
.text-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-brown);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}
.text-link:hover { opacity: 0.75; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-brand {
  background: var(--primary);
  color: #fff;
}
.btn-brand:hover {
  background: var(--primary-hover);
}

.btn-hero-outline {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ============================================================
/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: var(--background);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  align-self: center;
  margin-right: -10px;
  position: relative;
  top: -9px;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 1px;
}
.brand-name {
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.brand-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-brown);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 5px;
  margin-left: 3px;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-link svg { flex-shrink: 0; transition: transform 0.22s ease; }
.has-mega.mega-open > .nav-link svg,
.has-mega:hover > .nav-link svg { transform: rotate(180deg); }
.nav-link:hover {
  color: var(--foreground);
  background: var(--soft-surface);
}
.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta { margin-left: 12px; }

/* ============================================================
   LANGUAGE SWITCHER
============================================================ */
.lang-switcher {
  position: relative;
  margin-left: 8px;
  flex-shrink: 0;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--soft-surface);
}
.lang-chevron {
  transition: transform 0.22s ease;
}
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 50;
}
.lang-switcher.open .lang-dropdown {
  display: block;
  animation: mega-drop-in 0.18s cubic-bezier(0.22,1,0.36,1) forwards;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.lang-option:hover {
  background: var(--soft-surface);
  color: var(--primary);
}
.lang-option.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--soft-surface);
}

/* Mobile: hide lang switcher text, show icon only */
@media (max-width: 900px) {
  .lang-btn span { display: none; }
  .lang-btn { padding: 6px 8px; }
  .lang-dropdown { right: 0; }
}

/* Hamburger */
/* Hide mobile-only elements on desktop */
.mobile-acc-btn  { display: none; }
.mobile-acc-panel { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
  border-radius: var(--radius);
  transition: background 0.18s;
}
.hamburger:hover { background: var(--soft-surface); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav — legacy block, superseded by MEGA-NAV section below */
@media (max-width: 1100px) {
  .nav-cta { display: none; }
}

@media (max-width: 768px) {  .hamburger { display: flex; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,8,6,0.82) 0%, rgba(10,8,6,0.45) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
}
.hero-title {
  font-size: 64px;
  font-weight: 800;
  color: var(--on-dark);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 15px;
  color: var(--on-dark-muted);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero bottom bar */
.hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(0,0,0,0.4);
  font-size: 11px;
  color: var(--on-dark-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-discover {
  color: var(--on-dark-muted);
  transition: color 0.2s;
}
.hero-discover:hover { color: var(--on-dark); }
.hero-bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   SERVICE STRIP
============================================================ */
.service-strip {
  background: var(--brand-brown);
  padding-block: 0;
}
.service-strip-inner {
  display: flex;
  align-items: stretch;
}
.strip-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s, background 0.2s;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.strip-item svg { opacity: 0.75; flex-shrink: 0; }

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 2);
}
.about-img-tag {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: var(--brand-brown);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-content h2 {
  font-size: 39px;
  margin-bottom: 20px;
}
.check-list {
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}
.check-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

/* ============================================================
   SERVICES SECTION
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.service-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-card-img-wrap img { transform: scale(1.04); }
.service-number {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.35);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
}
.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card-body h3 {
  font-size: 18px;
  font-weight: 700;
}
.service-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

/* Sub-services grid (services page) */
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.sub-service-item { display: flex; flex-direction: column; gap: 12px; }
.sub-service-item h4 {
  font-size: 16px;
  font-weight: 700;
}
.sub-service-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   COFFEE BANNER
============================================================ */
.coffee-banner {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.coffee-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,8,6,0.82) 0%, rgba(10,8,6,0.5) 55%, transparent 100%);
}
.coffee-banner-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding-block: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.coffee-banner-content h2 {
  font-size: 36px;
  color: var(--on-dark);
}

/* ============================================================
   VALUES SECTION
============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-item { display: flex; flex-direction: column; gap: 12px; }
.value-icon {
  width: 52px;
  height: 52px;
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-brown);
}
.bg-soft-surface .value-icon {
  background: var(--background);
}
.value-item h3 {
  font-size: 17px;
  font-weight: 700;
}
.value-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   PAGE COVER
============================================================ */
.page-cover {
  position: relative;
  height: 310px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.page-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.75) 0%, rgba(10,8,6,0.35) 60%, transparent 100%);
}
.page-cover-content {
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}
.page-cover-content h1 {
  font-size: 49px;
  color: var(--on-dark);
  margin-top: 8px;
}

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
  min-width: 0;
}
.contact-info {
  overflow: hidden;
  min-width: 0;
}
.contact-info h2 {
  font-size: 39px;
  margin-bottom: 16px;
}
.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-brown);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 14px;
  color: var(--foreground);
  line-height: 1.6;
}
a.contact-detail-value:hover { color: var(--brand-brown); }

/* Contact form */
.contact-form-wrap {
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 3);
  padding: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group-full { grid-column: 1 / -1; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0.2px;
}
.required { color: var(--primary); }
.optional { color: var(--muted); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 13.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.706 0.195 47.2 / 0.15);
}
.form-group textarea { resize: vertical; line-height: 1.6; }
.form-group select { appearance: none; cursor: pointer; }
.form-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-submit { width: 100%; }
.form-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.form-note.success {
  color: #2e7d32;
  font-weight: 500;
}

/* ============================================================
   CONTACT BAND
============================================================ */
.contact-band {
  background: var(--brand-brown);
  padding-block: 64px;
}
.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.contact-band-title {
  font-size: 32px;
  color: var(--on-dark);
  margin-bottom: 8px;
}
.contact-band .on-dark-muted { font-size: 14px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--ink);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand .brand-name {
  color: var(--on-dark);
}
.footer-brand .brand-sub {
  color: rgba(255,255,255,0.55);
}
.footer-tagline {
  font-size: 13px;
  color: var(--on-dark-muted);
  line-height: 1.75;
  max-width: 280px;
}
.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--on-dark-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--on-dark); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact li {
  font-size: 13px;
  color: var(--on-dark-muted);
  line-height: 1.6;
}
.footer-contact a {
  color: var(--on-dark-muted);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--on-dark); }
.footer-bottom {
  padding-block: 24px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .hero-title { font-size: 50px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img { height: 360px; }
  .about-img-tag { left: 0; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:last-child { grid-column: 1 / -1; max-width: 50%; }

  .sub-services-grid { grid-template-columns: 1fr 1fr; }
  .sub-services-grid .sub-service-item:last-child { grid-column: 1 / -1; }

  .values-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root {
    --container: calc(100% - 40px);
    --section-pad: 58px;
  }
  .brand-logo {
    top: -8px;
  }

  .hero { min-height: 520px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 14px; }
  .hero-bottom { padding: 12px 20px; font-size: 10px; }
  .hero-bottom-right { display: none; }

  .service-strip-inner {
    flex-wrap: wrap;
  }
  .strip-item {
    flex: 1 0 33.33%;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 10px;
  }

  .about-content h2 { font-size: 30px; }
  .check-list { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child { grid-column: auto; max-width: 100%; }

  .sub-services-grid { grid-template-columns: 1fr; }
  .sub-services-grid .sub-service-item:last-child { grid-column: auto; }

  .values-grid { grid-template-columns: 1fr; gap: 24px; }

  .page-cover { height: 240px; }
  .page-cover-content h1 { font-size: 32px; }

  .contact-form-wrap { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }

  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }

  .contact-band-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .coffee-banner-content h2 { font-size: 26px; }
  .contact-band-title { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-col:last-child { grid-column: auto; }
}

/* ============================================================
   STATS SECTION
============================================================ */
.stats-section {}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  margin-bottom: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--background);
  gap: 8px;
}

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-unit {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-brown);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  max-width: 120px;
  line-height: 1.5;
}

/* Export destinations */
.destinations-wrap {}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.destination-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 20px 12px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.destination-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.destination-flag {
  font-size: 32px;
  line-height: 1;
}

.destination-country {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
}

.destination-count {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   MISSION / VISION
============================================================ */
.mission-vision-section {}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 3);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid var(--border);
}

.mv-icon {
  width: 56px;
  height: 56px;
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.mv-card h3 {
  font-size: 22px;
  font-weight: 800;
}

.mv-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ============================================================
   OFFICE PHOTOS
============================================================ */
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.office-img-wrap {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  position: relative;
}

.office-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.office-img-wrap:hover .office-img {
  transform: scale(1.03);
}

/* ============================================================
   SISTER COMPANY
============================================================ */
.sister-section {}

.sister-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sister-content h2 {
  font-size: 39px;
  margin-bottom: 20px;
}

.sister-img-wrap {
  position: relative;
}

/* ============================================================
   COFFEE GRADES
============================================================ */
.coffee-grades-section {}

.grades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grade-card {
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.grade-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}

.grade-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

.grade-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   PROCESSING METHODS
============================================================ */
.processing-section {}

.processing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.processing-card {
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.processing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.processing-icon {
  width: 48px;
  height: 48px;
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-brown);
  flex-shrink: 0;
}

.processing-card h4 {
  font-size: 16px;
  font-weight: 700;
}

.processing-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.processing-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--brand-brown);
  background: oklch(0.446 0.085 53.2 / 0.1);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
  margin-top: auto;
}

.processing-tag-request {
  color: var(--muted);
  background: oklch(0.5 0.012 65 / 0.1);
}

/* ============================================================
   QUALITY & CERTIFICATIONS
============================================================ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.quality-content h2 {
  font-size: 39px;
  margin-bottom: 20px;
}

.quality-packaging {}

.packaging-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.packaging-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 2);
  padding: 20px;
  border: 1.5px solid var(--border);
}

.packaging-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.packaging-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.packaging-card-full {
  /* spans naturally in flex column */
}

/* ============================================================
   IMPORT SECTION (SERVICES PAGE)
============================================================ */
.import-section {}

.import-highlight {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 3);
  padding: 48px;
  border: 1.5px solid var(--border);
  align-items: start;
}

.import-highlight-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.import-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  width: fit-content;
}

.import-highlight-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-top: -4px;
}

.dooxin-stats {
  display: flex;
  gap: 32px;
}

.dooxin-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dooxin-stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.dooxin-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.import-highlight-aside {
  display: flex;
  flex-direction: column;
}

.import-license-list {
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  padding: 24px;
  border: 1.5px solid var(--border);
}

.import-license-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.import-license-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}

.import-license-items li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   CLIENTS LIST (CONTACT PAGE)
============================================================ */
/* ============================================================
   CLIENTS TICKER (CONTACT PAGE)
============================================================ */
.clients-block {
  margin-top: 8px;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

.clients-ticker-wrap {
  margin-top: 14px;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
  padding-block: 14px;
  max-width: 100%;
  width: 100%;
  contain: layout style;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.clients-ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  padding-inline: 4px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.clients-ticker:hover .ticker-item {
  color: rgba(255,255,255,0.85);
}

.ticker-dot {
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
  margin-left: 14px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   RESPONSIVE — NEW SECTIONS
============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(3, 1fr); }

  .mv-grid { grid-template-columns: 1fr; }

  .sister-grid { grid-template-columns: 1fr; gap: 48px; }

  .grades-grid { grid-template-columns: 1fr 1fr; }
  .processing-grid { grid-template-columns: 1fr 1fr; }

  .quality-grid { grid-template-columns: 1fr; gap: 48px; }

  .import-highlight { grid-template-columns: 1fr; gap: 32px; }
  .import-highlight-aside { flex-direction: row; gap: 16px; }
  .import-license-list { flex: 1; }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }

  .office-grid { grid-template-columns: 1fr; }
  .office-img { height: 260px; }

  .grades-grid { grid-template-columns: 1fr; }
  .processing-grid { grid-template-columns: 1fr; }

  .import-highlight { padding: 28px 20px; }
  .import-highlight-aside { flex-direction: column; }

  .dooxin-stats { gap: 20px; }
  .dooxin-stat-number { font-size: 28px; }

  .stat-number { font-size: 38px; }
  .stat-unit { font-size: 20px; }

  .sister-grid { grid-template-columns: 1fr; }

  .mv-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .stat-item { padding: 28px 16px; }
  .stat-number { font-size: 30px; }

  .destinations-grid { grid-template-columns: repeat(2, 1fr); }

  .grades-grid { grid-template-columns: 1fr; }
  .processing-grid { grid-template-columns: 1fr; }

  .import-highlight { padding: 20px 16px; }
}

/* ============================================================
   MACHINERY GALLERY (Services / Import section)
============================================================ */
.machinery-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}

.machinery-gallery-main {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}

.machinery-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.machinery-gallery-thumb {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  flex: 1;
}

.machinery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.machinery-gallery-main .machinery-img {
  height: 420px;
}

.machinery-gallery-thumb .machinery-img {
  height: 200px;
}

.machinery-gallery-main:hover .machinery-img,
.machinery-gallery-thumb:hover .machinery-img {
  transform: scale(1.04);
}

.machinery-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 20px 16px 14px;
}

/* ============================================================
   JUTE BAG PHOTO (Coffee / Quality section)
============================================================ */
.jute-bag-wrap {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}

.jute-bag-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.jute-bag-wrap:hover .jute-bag-img {
  transform: scale(1.03);
}

.jute-bag-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 20px 14px 12px;
}

/* ============================================================
   SHIPPING STRIP (Coffee page bottom banner)
============================================================ */
.shipping-strip {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.shipping-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,8,6,0.88) 0%, rgba(10,8,6,0.55) 55%, transparent 100%);
}

.shipping-strip-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding-block: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shipping-strip-content h2 {
  font-size: 36px;
  color: var(--on-dark);
}

/* ============================================================
   RESPONSIVE — NEW IMAGES
============================================================ */
@media (max-width: 1024px) {
  .machinery-gallery {
    grid-template-columns: 1fr;
  }
  .machinery-gallery-main .machinery-img { height: 320px; }
  .machinery-gallery-side { flex-direction: row; }
  .machinery-gallery-thumb .machinery-img { height: 200px; }
}

@media (max-width: 768px) {
  .machinery-gallery-main .machinery-img { height: 240px; }
  .machinery-gallery-side { flex-direction: row; gap: 12px; }
  .machinery-gallery-thumb .machinery-img { height: 160px; }

  .jute-bag-img { height: 220px; }

  .shipping-strip-content h2 { font-size: 26px; }
  .shipping-strip { min-height: 260px; }
}

@media (max-width: 480px) {
  .machinery-gallery-side { flex-direction: column; }
  .machinery-gallery-thumb .machinery-img { height: 180px; }
}

/* ============================================================
   SERVICES DIVIDER (between import & coffee sections)
============================================================ */
.services-divider {
  padding-block: 0;
  border-top: 1px solid var(--border);
}

.services-divider .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 28px;
}

.services-divider .container::before,
.services-divider .container::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.services-divider-label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   DESIGN REFINEMENTS — less uniform, more human
============================================================ */

/* Vary hero title weight slightly */
.hero-title {
  font-weight: 800;
  letter-spacing: -1.5px;
}

/* Grade cards — break the grid uniformity with offset hover */
.grade-card:nth-child(odd) {
  margin-top: 0;
}
.grade-card:nth-child(even) {
  margin-top: 16px;
}

/* Processing cards — vary icon background tones */
.processing-card:nth-child(1) .processing-icon { background: oklch(0.446 0.085 53.2 / 0.08); }
.processing-card:nth-child(2) .processing-icon { background: oklch(0.706 0.195 47.2 / 0.1); }
.processing-card:nth-child(3) .processing-icon { background: oklch(0.446 0.085 53.2 / 0.12); }
.processing-card:nth-child(4) .processing-icon { background: oklch(0.5 0.012 65 / 0.07); }

/* Stats — remove equal-weight sameness, scale the biggest number */
.stat-item:first-child .stat-number { font-size: 62px; }
.stat-item:first-child .stat-label { font-weight: 600; color: var(--foreground); }

/* Service cards — let the first card be slightly taller */
.services-grid .service-card:first-child .service-card-img-wrap { height: 260px; }

/* Value items — don't all look like identical boxes */
.values-grid .value-item:nth-child(2) {
  padding-top: 20px;
}

/* Destination cards — stagger heights subtly */
.destination-item:nth-child(1),
.destination-item:nth-child(4) { transform: translateY(-6px); }
.destination-item:nth-child(2),
.destination-item:nth-child(5) { transform: translateY(4px); }
.destination-item:nth-child(3),
.destination-item:nth-child(6) { transform: translateY(-2px); }
.destination-item:hover { transform: translateY(-4px) !important; }

/* About img tag — slightly rotated to feel hand-placed */
.about-img-tag {
  transform: rotate(-1deg);
}

/* Mission/vision — give them different left-border accents instead of identical cards */
.mv-card:first-child {
  border-left: 3px solid var(--primary);
}
.mv-card:last-child {
  border-left: 3px solid var(--brand-brown);
}

/* Footer tagline — slightly looser tracking */
.footer-tagline {
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.45);
}

/* Import highlight — rough asymmetry in padding */
.import-highlight {
  padding: 44px 48px 44px 44px;
}

/* Stat section — off-center divider line between stats */
.stats-grid {
  border-radius: calc(var(--radius) * 2.5);
}

/* Grade badge — first one gets a slightly different shade to feel curated */
.grade-card:first-child .grade-badge {
  background: var(--brand-brown);
}

/* Processing tags — slightly uneven pill widths by natural content */
.processing-tag {
  align-self: flex-start;
}

/* Eyebrow — reduce mechanical look of ALL-CAPS label */
.eyebrow {
  letter-spacing: 1.5px;
  font-size: 9.5px;
}

/* Page cover h1 — tighten tracking on large headings */
.page-cover-content h1 {
  letter-spacing: -1px;
}

/* Service strip items on hover — slight warm tint not just opacity */
.strip-item:hover {
  color: oklch(0.97 0.02 80);
  background: rgba(255,255,255,0.07);
}

/* Contact band — offset the text block left of center */
.contact-band-inner {
  padding-block: 4px;
}

/* Office images — first one taller, second one fills remainder */
.office-grid .office-img-wrap:first-child .office-img {
  height: 420px;
}
.office-grid .office-img-wrap:last-child .office-img {
  height: 340px;
}

/* Machinery gallery label — slightly transparent, not full gradient block */
.machinery-img-label {
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .grade-card:nth-child(even) { margin-top: 0; }
  .values-grid .value-item:nth-child(2) { padding-top: 0; }
  .destination-item:nth-child(n) { transform: none; }
  .office-grid .office-img-wrap:first-child .office-img,
  .office-grid .office-img-wrap:last-child .office-img { height: 260px; }
}

/* ============================================================
   CHATBOT WIDGET
============================================================ */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Toggle button */
.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 13px 20px 13px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.chat-toggle:hover {
  background: var(--brand-brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.chat-toggle-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-toggle-label {
  letter-spacing: 0.2px;
}

/* Panel */
.chat-panel {
  width: 360px;
  background: var(--background);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  transform-origin: bottom right;
  animation: chat-pop-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-panel.chat-panel--hidden {
  display: none !important;
}

@keyframes chat-pop-in {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--ink);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.chat-header-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--on-dark);
  line-height: 1.2;
}

.chat-header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--on-dark-muted);
  margin-top: 2px;
}

.chat-status-dot {
  width: 7px;
  height: 7px;
  background: #4caf7d;
  border-radius: 50%;
  display: inline-block;
  animation: status-pulse 2.4s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.chat-close-btn {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--on-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.chat-close-btn:hover {
  background: rgba(255,255,255,0.2);
  color: var(--on-dark);
}

/* Messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
  min-height: 180px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Message bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: msg-in 0.18s ease;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg-bot {
  align-self: flex-start;
}

.chat-msg-bot p {
  background: var(--soft-surface);
  color: var(--foreground);
  border-bottom-left-radius: 4px;
}

.chat-msg-user {
  align-self: flex-end;
}

.chat-msg-user p {
  background: var(--ink);
  color: var(--on-dark);
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat-msg-typing p {
  background: var(--soft-surface);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  display: inline-block;
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-5px); opacity: 1; }
}

/* Input row */
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--background);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 9px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--foreground);
  background: var(--soft-surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.706 0.195 47.2 / 0.12);
}

.chat-input::placeholder { color: var(--muted); }

.chat-send-btn {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

.chat-send-btn:hover { background: var(--brand-brown); transform: scale(1.08); }
.chat-send-btn:disabled { background: var(--border); cursor: not-allowed; transform: none; }

/* Footer note */
.chat-footer-note {
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
  padding: 6px 14px 10px;
  background: var(--background);
  flex-shrink: 0;
}

.chat-footer-link {
  color: var(--brand-brown);
  font-weight: 600;
}

.chat-footer-link:hover { opacity: 0.75; }

/* Mobile */
@media (max-width: 768px) {
  .chat-widget { 
    bottom: 20px; 
    right: 20px; 
  }
  .chat-panel { 
    width: calc(100vw - 40px);
    max-height: calc(100vh - 100px);
  }
  .chat-messages {
    max-height: calc(100vh - 280px);
  }
}

@media (max-width: 480px) {
  .chat-widget { 
    bottom: 16px; 
    right: 16px;
    left: auto;
  }
  .chat-panel { 
    width: calc(100vw - 32px);
    max-height: calc(100vh - 80px);
    border-radius: 12px;
  }
  .chat-toggle-label { 
    display: none; 
  }
  .chat-toggle { 
    padding: 12px;
    width: 52px;
    height: 52px;
  }
  .chat-header {
    padding: 14px 16px;
  }
  .chat-avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .chat-header-name {
    font-size: 12px;
  }
  .chat-header-status {
    font-size: 10px;
  }
  .chat-messages {
    max-height: calc(100vh - 240px);
    padding: 12px;
  }
  .chat-msg {
    font-size: 13px;
  }
  .chat-input-wrap {
    padding: 12px;
  }
  .chat-input {
    font-size: 13px;
    padding: 10px 12px;
  }
  .chat-send-btn {
    width: 36px;
    height: 36px;
  }
  .chat-footer {
    padding: 10px 12px;
    font-size: 10px;
  }
}

/* ============================================================
   MOBILE FIXES — Ticker + Contact form
============================================================ */
@media (max-width: 768px) {

  /* ── Ticker: contain within column on mobile ── */
  .clients-block {
    overflow: hidden;
    width: 100%;
  }

  .clients-ticker-wrap {
    padding-block: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
    max-width: 100%;
    width: 100%;
  }

  .clients-ticker {
    display: flex;
    width: max-content;
    animation: ticker-scroll 28s linear infinite;
  }

  .ticker-item {
    font-size: 10.5px;
    padding-inline: 4px;
    letter-spacing: 0.5px;
  }

  /* ── Contact form ── */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-wrap {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-form {
    gap: 14px;
  }

  .contact-info h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .ticker-item {
    font-size: 10px;
  }

  .contact-form-wrap {
    padding: 16px 14px;
    border-radius: 10px;
  }

  .form-group label {
    font-size: 11.5px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 9px 12px;
    font-size: 13px;
  }

  .form-submit {
    height: 44px;
    font-size: 12px;
  }
}


/* ============================================================
   PREMIUM ANIMATIONS
============================================================ */

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--primary), var(--brand-brown));
  z-index: 9999;
  transition: transform 0.1s linear;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px oklch(0.706 0.195 47.2 / 0.5);
}

/* ── Hero particles canvas ── */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content, .hero-bottom { position: relative; z-index: 2; }

/* ── Header scrolled ── */
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: oklch(0.99 0.002 80 / 0.94);
}

/* ── Page transition ── */
.page-enter {
  animation: page-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Ripple ── */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: scale(0);
  animation: ripple 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ── Stat burst ── */
.stat-burst {
  animation: stat-burst 0.55s ease;
}
@keyframes stat-burst {
  0%   { text-shadow: none; }
  40%  { text-shadow: 0 0 20px oklch(0.706 0.195 47.2 / 0.65), 0 0 40px oklch(0.706 0.195 47.2 / 0.25); }
  100% { text-shadow: none; }
}

/* ════════════════════════════════════════════════
   SCROLL-REVEAL SYSTEM
   .rv          = will-animate element
   .rv-up       = rise from below
   .rv-left     = slide from left
   .rv-right    = slide from right
   .rv-fade     = fade only
   .rv-in       = triggered — plays animation
════════════════════════════════════════════════ */

/* Base — hidden before entering viewport */
.rv {
  will-change: opacity, transform;
}
.rv-up    { opacity: 0; transform: translateY(42px); }
.rv-left  { opacity: 0; transform: translateX(-52px); }
.rv-right { opacity: 0; transform: translateX(52px); }
.rv-fade  { opacity: 0; }

/* Transitions (BEFORE .rv-in so they apply when class is added) */
.rv-up, .rv-left, .rv-right {
  transition:
    opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.rv-fade {
  transition: opacity 0.8s ease;
}

/* Visible state */
.rv-in {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .rv-up, .rv-left, .rv-right, .rv-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #hero-particles,
  .btn-ripple { display: none !important; }
  .stat-burst,
  .page-enter { animation: none !important; }
}

/* ── Mobile: reduce translate distances to prevent viewport overflow ── */
@media (max-width: 768px) {
  .rv-up    { transform: translateY(24px); }
  .rv-left  { transform: translateX(-24px); }
  .rv-right { transform: translateX(24px); }
}

/* ============================================================
   MULTI-PAGE ADDITIONS
============================================================ */

/* ── Partners grid (About page) ── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.partner-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.partner-card span:first-child {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
}

.partner-region {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-brown);
}

/* ── Location grid (Contact page) ── */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: calc(var(--radius) * 3);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.location-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.location-icon {
  width: 56px;
  height: 56px;
  background: var(--soft-surface);
  border-radius: calc(var(--radius) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.location-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.location-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

.location-card a {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.2s;
}
.location-card a:hover { color: var(--brand-brown); }

/* ── Active nav link for multi-page ── */
.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
}
/* ── Active nav link for multi-page — see HEADER block for canonical definition ── */

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-grid .location-card:last-child { grid-column: 1 / -1; max-width: 50%; }
}

@media (max-width: 768px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-grid .location-card:last-child { grid-column: auto; max-width: 100%; }
  .partners-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MEGA-NAV
============================================================ */
.site-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.has-mega {
  position: static;
}

/* Top-level link button */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link svg { flex-shrink: 0; transition: transform 0.22s ease; }
.has-mega.mega-open > .nav-link svg,
.has-mega:hover > .nav-link svg { transform: rotate(180deg); }
.nav-link:hover {
  color: var(--foreground);
  background: var(--soft-surface);
}
.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 13px; right: 13px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Mega dropdown panel ── */
.mega-panel {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100vw;
  background: var(--background);
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  z-index: 29;
  display: none;
}
.has-mega.mega-open > .mega-panel {
  display: block;
  animation: mega-drop-in 0.2s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes mega-drop-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mega-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  padding: 32px 0 36px;
}

/* Column count variants */
.mega-inner.cols-2 {
  grid-template-columns: 1fr 280px;
  gap: 0 48px;
}
.mega-inner.cols-3 {
  grid-template-columns: 1fr 1fr 260px;
  gap: 0 32px;
}
.mega-inner.cols-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
}

/* Dividers between content columns on cols-3, but not before the feature card */
.mega-inner.cols-3 > div:nth-child(2) {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
/* The feature card gets no left border */
.mega-inner.cols-3 > .mega-feature {
  border-left: none;
  padding-left: 0;
}

/* Mega column heading */
.mega-col-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Mega links list */
.mega-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: calc(var(--radius) * 1.5);
  transition: background 0.15s;
  text-decoration: none;
}
.mega-link:hover { background: var(--soft-surface); }
.mega-link.active {
  background: oklch(0.706 0.195 47.2 / 0.07);
}

.mega-link-icon {
  width: 32px;
  height: 32px;
  background: var(--soft-surface);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-brown);
  flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.15s, color 0.15s;
}
.mega-link:hover .mega-link-icon {
  background: oklch(0.446 0.085 53.2 / 0.12);
  color: var(--brand-brown);
}

.mega-link-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}
.mega-link-text span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* Mega feature block (image + cta) */
.mega-feature {
  background: var(--ink);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  align-self: start;
}
.mega-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.mega-feature:hover img { opacity: 0.5; }
.mega-feature-body {
  position: relative;
  z-index: 1;
}
.mega-feature-body p {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.mega-feature-body h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.35;
  font-weight: 700;
}
.mega-feature-body .btn {
  height: 36px;
  font-size: 11px;
  padding: 0 16px;
}

/* ── Mobile nav drawer ── */
@media (max-width: 900px) {
  .mega-panel { display: none !important; }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--background);
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 28px;
    gap: 0;
    z-index: 29;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.open { display: flex; animation: mega-drop-in 0.22s cubic-bezier(0.22,1,0.36,1) forwards; }
  .nav-cta { display: none !important; }

  .hamburger { display: flex; }

  .has-mega { width: 100%; }

  /* Plain links (Home / Contact) */
  .nav-link:not(.has-mega > .nav-link) {
    display: flex;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
    border-radius: 0;
    background: none;
    width: 100%;
  }
  .nav-link:not(.has-mega > .nav-link):hover {
    background: var(--soft-surface);
    color: var(--brand-brown);
  }
  .nav-link:not(.has-mega > .nav-link).active::after {
    display: none;
  }
  /* Hide desktop trigger link inside .has-mega */
  .has-mega > .nav-link { display: none; }

  /* Mobile accordion button */
  .mobile-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
  }
  .mobile-acc-btn:hover { background: var(--soft-surface); }
  .mobile-acc-btn svg { transition: transform 0.22s ease; }
  .mobile-acc-btn[aria-expanded="true"] {
    color: var(--brand-brown);
  }
  .mobile-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

  /* Accordion sub-panel */
  .mobile-acc-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    background: var(--soft-surface);
    border-top: 1px solid transparent;
  }
  .mobile-acc-btn[aria-expanded="true"] + .mobile-acc-panel {
    border-top-color: var(--border);
  }
  .mobile-acc-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px 10px 44px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.15s;
  }
  .mobile-acc-panel a:hover { color: var(--brand-brown); }
  .mobile-acc-panel a::before {
    content: '';
    width: 3px; height: 3px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.6;
  }

  /* Separator between nav items */
  .has-mega + .has-mega,
  .has-mega + a.nav-link,
  a.nav-link + .has-mega {
    border-top: 1px solid var(--border);
  }
}

/* ── Tabs ── */
.tab-group {}
.tab-list {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--foreground); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-panel[hidden] { display: none; }

/* ── Accordion ── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.accordion-btn .acc-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.accordion-btn .acc-icon svg { transition: transform 0.25s ease; }
.accordion-item.open .accordion-btn .acc-icon { background: var(--primary); border-color: var(--primary); }
.accordion-item.open .accordion-btn .acc-icon svg { transform: rotate(45deg); color: #fff; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}
.accordion-body-inner {
  padding: 0 0 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ── Region cards (coffee origins) ── */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.region-card {
  position: relative;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.region-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.18); }
.region-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.region-card:hover .region-card-bg { transform: scale(1.04); }
.region-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.85) 0%, rgba(10,8,6,0.1) 60%, transparent 100%);
}
.region-card-body {
  position: relative;
  z-index: 1;
  padding: 22px 20px;
  width: 100%;
}
.region-tag {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.region-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.region-card-body p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.region-meta {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.region-meta span {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.region-meta strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 16px);
  right: calc(10% + 16px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 64px; height: 64px;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  transition: background 0.2s, border-color 0.2s;
}
.process-step:hover .process-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.process-step h4 {
  font-size: 13px;
  font-weight: 700;
}
.process-step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 28px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--background);
  border: 2.5px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.timeline-item:hover::before {
  border-color: var(--primary);
  background: var(--primary);
}
.timeline-year {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 4px;
}
.timeline-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.timeline-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── Insight / blog cards ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  background: var(--background);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.insight-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.1); transform: translateY(-3px); }
.insight-card-img {
  height: 200px;
  overflow: hidden;
}
.insight-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.insight-card:hover .insight-card-img img { transform: scale(1.04); }
.insight-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.insight-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-brown);
}
.insight-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.insight-card-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}
.insight-card-body .text-link { margin-top: 8px; }

/* ── Full bleed banner (dark bg + text split) ── */
.full-bleed-banner {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.full-bleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,8,6,0.88) 0%, rgba(10,8,6,0.5) 55%, transparent 100%);
}
.full-bleed-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding-block: 80px;
}
.full-bleed-text h2 {
  font-size: 40px;
  color: var(--on-dark);
  margin-bottom: 18px;
}
.full-bleed-text p {
  font-size: 14px;
  color: var(--on-dark-muted);
  line-height: 1.85;
  margin-bottom: 28px;
}

/* ── Cert / certification items ── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.cert-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--brand-brown);
}
.cert-icon {
  width: 44px; height: 44px;
  background: oklch(0.446 0.085 53.2 / 0.1);
  border-radius: calc(var(--radius) * 1.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-brown);
  flex-shrink: 0;
}
.cert-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cert-item p  { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* ── Impact stats (sustainability) ── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
}
.impact-stat {
  background: var(--background);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.impact-number {
  font-family: 'Manrope', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.impact-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  max-width: 110px;
  line-height: 1.45;
}

/* ── Feature row (alternating image/text) ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 64px;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 2);
}
.feature-text h2 { font-size: 32px; margin-bottom: 16px; }
.feature-text p  { font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }

/* ── Brand story number ── */
.brand-story-num {
  font-family: 'Manrope', sans-serif;
  font-size: 96px;
  font-weight: 800;
  color: oklch(0.446 0.085 53.2 / 0.08);
  line-height: 1;
  position: absolute;
  top: -12px;
  right: 0;
  pointer-events: none;
  user-select: none;
}

/* ── Responsive new components ── */
@media (max-width: 1024px) {
  .regions-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip { direction: ltr; }
  .feature-img { height: 300px; }
  .mega-inner.cols-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .regions-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .full-bleed-text h2 { font-size: 28px; }
  .brand-story-num { font-size: 60px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Photo Gallery Grid ── */
.photo-gallery-section { background: var(--surface, #fff); }
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── Machinery Cards Grid ── */
.machinery-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.machinery-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-soft, #f8f5f0);
  border: 1px solid var(--border, #e8e0d5);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.machinery-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.machinery-card-img {
  height: 180px;
  overflow: hidden;
  background: #f0ece6;
}
.machinery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.machinery-card:hover .machinery-card-img img { transform: scale(1.06); }
.machinery-card-body {
  padding: 18px 18px 22px;
}
.machinery-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-dark, #1a1a1a);
}
.machinery-card-body p {
  font-size: 13.5px;
  color: var(--text-muted, #666);
  line-height: 1.55;
  margin: 0;
}

/* ── Responsive gallery + machinery ── */
@media (max-width: 1024px) {
  .photo-gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 1; }
  .machinery-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .photo-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .machinery-cards-grid { grid-template-columns: 1fr; }
  .gallery-caption { opacity: 1; }
}

/* ============================================================
   PRODUCTS & MACHINERY SHOWCASE
============================================================ */
.products-showcase {
  background: var(--background);
}

.products-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.product-item {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.5);
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 2;
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-item:hover img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  padding: 20px 16px 16px;
  color: white;
  transition: padding 0.3s ease;
}

.product-item:hover .product-overlay {
  padding: 24px 16px 20px;
}

.product-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.product-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: white;
  line-height: 1.25;
}

.product-overlay h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
  color: white;
  line-height: 1.3;
}

.product-overlay p {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.5;
}

/* Grid layout variants */
.product-item--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 380px;
}

.product-item--medium {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 200px;
}

.product-item--small {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 180px;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-item--large {
    grid-column: span 2;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .products-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-item--large {
    grid-column: span 2;
    min-height: 260px;
  }
  .product-item--medium,
  .product-item--small {
    min-height: 180px;
  }
  .product-overlay {
    padding: 14px 10px 10px;
  }
  .product-overlay h3 {
    font-size: 15px;
    margin-bottom: 3px;
  }
  .product-overlay h4 {
    font-size: 13px;
    margin-bottom: 2px;
  }
  .product-overlay p {
    font-size: 11px;
    line-height: 1.4;
  }
  .product-badge {
    font-size: 9px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .products-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-item--large,
  .product-item--medium,
  .product-item--small {
    grid-column: span 1;
    min-height: 240px;
  }
  .product-item--large {
    min-height: 280px;
  }
  .product-overlay {
    padding: 16px 12px 12px;
  }
  .product-overlay h3 {
    font-size: 16px;
  }
  .product-overlay h4 {
    font-size: 14px;
  }
  .product-overlay p {
    font-size: 12px;
  }
  .product-badge {
    font-size: 9px;
    padding: 4px 9px;
  }
  .product-item img {
    object-position: center;
  }
}

/* ============================================================
   MOBILE HEADER IMPROVEMENTS
============================================================ */
@media (max-width: 900px) {
  .header-inner {
    gap: 12px;
    justify-content: space-between;
  }
  
  .brand {
    flex: 0 1 auto;
  }
  
  .site-nav {
    order: 10; /* Move nav to end for mobile drawer */
  }
  
  .lang-switcher {
    order: 5;
    margin-left: auto;
    margin-right: 0;
  }
  
  .hamburger {
    order: 6;
    margin-left: 8px;
    margin-right: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 8px;
  }
  
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  
  .brand-name {
    font-size: 18px;
    letter-spacing: 1px;
  }
  
  .brand-sub {
    font-size: 7px;
  }
  
  .hamburger {
    padding: 6px;
  }
  
  .hamburger span {
    width: 20px;
  }
}

/* ============================================================
   ADDITIONAL MOBILE OPTIMIZATIONS
============================================================ */

/* Hero mobile improvements */
@media (max-width: 768px) {
  .hero {
    min-height: 480px;
  }
  
  .hero-title {
    font-size: 38px;
    line-height: 1.12;
  }
  
  .hero-content {
    padding-top: 60px;
    padding-bottom: 50px;
    max-width: 100%;
  }
  
  .hero-desc {
    max-width: 100%;
  }
  
  .hero-bottom {
    padding: 12px 20px;
    font-size: 9px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 420px;
  }
  
  .hero-title {
    font-size: 32px;
    line-height: 1.15;
  }
  
  .hero-desc {
    font-size: 13px;
    line-height: 1.65;
  }
  
  .hero-bottom {
    padding: 10px 16px;
    font-size: 8px;
  }
  
  .hero-bottom span {
    display: none;
  }
  
  .hero-discover {
    margin: 0 auto;
  }
}

/* About section mobile improvements */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .about-img-wrap {
    max-width: 100%;
    height: 280px;
  }
  
  .about-img {
    height: 100%;
    object-fit: cover;
  }
  
  .about-content {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .about-img-wrap {
    height: 240px;
  }
  
  .section-intro-copy {
    font-size: 13px;
  }
}

/* Photo gallery mobile improvements */
@media (max-width: 768px) {
  .photo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .gallery-item,
  .gallery-item--tall,
  .gallery-item--wide {
    grid-column: span 1;
    height: auto;
    min-height: 220px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  .gallery-caption {
    font-size: 11px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .gallery-item,
  .gallery-item img {
    min-height: 200px;
    height: 200px;
  }
  
  .gallery-caption {
    font-size: 10px;
    padding: 6px;
  }
}

/* Service strip mobile */
@media (max-width: 768px) {
  .service-strip-inner {
    flex-wrap: wrap;
  }
  
  .strip-item {
    flex: 1 1 48%;
    padding: 15px 8px;
    font-size: 9px;
    gap: 6px;
  }
  
  .strip-item svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .strip-item {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 14px 10px;
  }
  
  .strip-item:last-child {
    border-bottom: none;
  }
}

/* Stats section mobile */
@media (max-width: 480px) {
  .stats-grid {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 42px;
  }
  
  .stat-label {
    font-size: 11px;
  }
}

/* Section padding mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 45px;
  }
  
  .section-intro h2 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
}

/* Button mobile improvements */
@media (max-width: 480px) {
  .btn {
    font-size: 12px;
    padding: 0 20px;
    height: 42px;
  }
}

/* Container adjustments for very small screens */
@media (max-width: 375px) {
  :root {
    --container: calc(100% - 28px);
  }
  
  .hero-title {
    font-size: 28px;
  }
}

/* Region cards mobile */
@media (max-width: 480px) {
  .region-card {
    min-height: 280px;
  }
  
  .region-card-bg {
    height: 100%;
  }
}

/* Process steps mobile */
@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
