/* ==========================================================================
   SAI INTERNATIONAL EXIM — Core stylesheet
   Design language adapted from the GardenHub reference theme:
   dark utility bar, white logo row, dark navigation bar overlapping a
   full-width hero, Poppins headings, light Roboto body copy, green accents,
   dashed outlines and leaf dividers.

   Files:
     style.css        tokens, base, layout, components (this file)
     responsive.css   breakpoint overrides
     animations.css   motion and reveal effects
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/roboto-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Colour — derived from the official logo (Logo4-01.png, opaque pixels only):
     logo green #0d4d2a (54% of the artwork), logo gold #c09831 (median of #b7922e–#c7a13c).
     Lighter/darker steps keep the logo's hue (147°). Contrast figures are WCAG ratios. */
  --green-deep: #0d4d2a;     /* logo green: primary brand colour (CTA band, light button text) */
  --green-dark: #0d4d2a;     /* buttons and links (9.9:1 on white, 9.2:1 on --light) */
  --green-darker: #093920;   /* hover state */
  --green: #1b7443;          /* highlighted heading words on white (5.8:1) */
  --green-mid: #21834d;      /* icons, dividers, accents on light; white text on it 4.75:1 */
  --green-light: #3dae70;    /* accents and small text on dark surfaces (6.4:1 on --dark-2) */
  --green-bright: var(--green-mid); /* accent token used by components; remapped on dark surfaces below */
  --green-tint: #e8f2ec;     /* pale green background */
  --green-pale: #b4e3c7;     /* small text over photos (hero eyebrow: 4.9:1+ over the darkened photos) */
  --gold: #c09831;           /* logo gold: refined accents only (decorative, dark surfaces) */
  --gold-light: #ddb95f;     /* gold text on the deep green (5.3:1) */
  --cream: #f6f3e9;

  --dark: #13241a;           /* nav bar, dark sections: deep green-black */
  --dark-2: #0b140f;         /* hero, bands */
  --dark-soft: #1a2e23;      /* utility bar */
  --heading: #1b2620;        /* green-tinted charcoal (15.6:1 on white) */
  --text: #5f6862;           /* body copy (5.8:1 on white, 5.3:1 on --light) */
  --text-light: #a7b0aa;     /* body copy on dark (8:1 on --dark-2) */
  --muted: #6b736e;          /* 4.9:1 on white */
  --border: #e4e7e2;
  --border-dark: rgba(255, 255, 255, 0.12);
  --light: #f8f7f2;          /* warm neutral surface */
  --white: #ffffff;
  --error: #b42318;
  --success: #1b6b3e;
  --whatsapp: #0f7f43;

  /* Typography */
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --fs-body: 1rem;           /* 16px */
  --lh-body: 1.7;
  --fs-h1: clamp(1.75rem, 1.2rem + 2.6vw, 3.125rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem);
  --fs-h3: 1.25rem;

  /* Layout */
  --container: 1170px;
  --gutter: 15px;
  --section-y: 80px;
  --header-utility-h: 44px;
  --header-main-h: 125px;
  --nav-h: 70px;

  /* Shape */
  --radius-0: 0;
  --radius-sm: 2px;
  --radius-round: 50%;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-nav: 0 6px 20px rgba(0, 0, 0, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);        /* soft "ease-out-quint": controls, hovers, reveals */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);  /* symmetrical: slides and large movements */
  --t-fast: 0.2s;   /* colour/border feedback on controls */
  --t-base: 0.4s;   /* cards, buttons, small movements */
  --t-slow: 0.9s;   /* large visuals, image zoom */
  --t-slide: 1.1s;  /* hero slide travel */

  /* Floating controls */
  --float-offset: max(16px, calc(env(safe-area-inset-bottom) + 12px));

  /* Decorative leaf glyph (original artwork) */
  --leaf-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 24'%3E%3Cpath d='M13 22c0-5 .6-8.4 3-11.5' fill='none' stroke='%2321834d' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M15 11.5C17 4.8 22.4 1.6 27.6 2.4 26.4 9.2 21.2 13 15 11.5Z' fill='%2321834d'/%3E%3Cpath d='M13 14.6C10.4 9.6 5.8 8 1.4 9.4 3.2 14 8.2 16.2 13 14.6Z' fill='%23c09831'/%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='.025'%3E%3Cpath d='M30 40c4-14 15-20 27-18-3 13-14 21-27 18z'/%3E%3Cpath d='M110 30c-10-6-22-4-28 5 10 6 21 4 28-5z'/%3E%3Cpath d='M95 120c4-14 15-20 27-18-3 13-14 21-27 18z'/%3E%3Cpath d='M40 130c-10-6-22-4-28 5 10 6 21 4 28-5z'/%3E%3Cpath d='M140 80c-2-10 3-18 12-21 2 10-3 18-12 21z'/%3E%3Cpath d='M70 85c-9-3-17 1-21 9 9 3 17-1 21-9z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Dark surfaces: the accent token switches to the lighter brand green so icons, small
   accent text and focus rings keep their contrast (light-surface panels switch back). */
.topbar,
.navbar,
.hero,
.section--dark,
.band,
.cta-band,
.principle--cta,
.logistics-strip,
.aside-box,
.lightbox,
.site-footer {
  --green-bright: var(--green-light);
}

.aside-box--light {
  --green-bright: var(--green-mid);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: var(--lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--green-darker);
}

strong {
  font-weight: 500;
  color: #444;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.navbar :focus-visible {
  outline-color: var(--green-light);
}

::selection {
  background: var(--green-bright);
  color: var(--white);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section--light {
  background: var(--light);
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background-color: var(--dark);
  background-image: var(--pattern-dark);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--tight-top {
  padding-top: 40px;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.split--wide-left {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 60px;
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-0);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

.btn .icon {
  font-size: 1.15em;
}

.btn--primary {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-darker);
  border-color: var(--green-darker);
  color: var(--white);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.btn--outline {
  border-color: #d4d4d4;
  color: var(--heading);
}

.btn--outline:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--green-deep);
}

.btn--light:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: var(--dark);
}

.btn--whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #0d6b38;
  border-color: #0d6b38;
  color: var(--white);
}

.btn--sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.875rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-row--center {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-dark);
}

.link-arrow .icon {
  transition: transform var(--t-fast) var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- Header: utility bar ---------- */
.site-header {
  position: relative;
  z-index: 50;
}

.topbar {
  background: var(--dark-soft);
  color: var(--text-light);
  font-size: 0.875rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-utility-h);
  gap: 20px;
}

.topbar__text {
  margin: 0;
}

.topbar__links {
  display: flex;
  align-items: center;
  list-style: none;
}

.topbar__links li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  color: #b5b5b5;
}

.topbar__links li:last-child a {
  padding-right: 0;
}

.topbar__links a:hover {
  color: var(--green-bright);
}

.topbar__links .icon {
  color: var(--green-bright);
}

/* ---------- Header: language translator ----------
   Two instances share js/main.js: one in the utility bar (desktop) and a
   compact one beside the menu button (mobile). Google translates the page in
   place; its own banner and tooltips are hidden below. */
.translate {
  position: relative;
}

.translate__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: #b5b5b5;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}

.topbar .translate__toggle {
  min-height: var(--header-utility-h);
  padding-left: 16px;
}

.translate__toggle:hover,
.translate__toggle[aria-expanded="true"] {
  color: var(--green-bright);
}

.translate__toggle .icon {
  color: var(--green-bright);
}

.translate__chev {
  font-size: 0.8em;
  transition: transform var(--t-fast) var(--ease);
}

.translate__toggle[aria-expanded="true"] .translate__chev {
  transform: rotate(180deg);
}

.translate__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 70;
  width: 340px;
  padding: 16px;
  border-top: 3px solid var(--green-bright);
  background: var(--white);
  color: var(--heading);
  box-shadow: var(--shadow-nav);
}

/* Title and note stay put; only the list scrolls, inside the visible viewport. */
.translate__panel:not([hidden]) {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-utility-h) - 24px);
  max-height: calc(100dvh - var(--header-utility-h) - 24px);
}

.translate__title {
  flex: none;
  margin: 0 0 10px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.translate__list {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.translate__list button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  background: none;
  color: #444;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}

.translate__list button:hover {
  background: var(--light);
  color: var(--heading);
}

.translate__list button[aria-current="true"] {
  background: var(--green-tint);
  box-shadow: inset 3px 0 0 var(--green-bright);
  color: var(--green-darker);
  font-weight: 500;
}

.translate__list button:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: -2px;
}

.translate__note {
  flex: none;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Compact control beside the menu button (shown at <= 991px). */
.translate--compact {
  display: none;
}

/* Google's own translate UI (banner, hover tooltips, highlights) is hidden:
   the header control is the only translation interface. */
#google_translate_element,
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q {
  background: none !important;
  box-shadow: none !important;
}

/* ---------- Social media icons (header bar, mobile menu, footer) ----------
   Inactive placeholders (<a> without href) until js/main.js SOCIAL_LINKS has the
   official URLs; hover and focus styles apply only once an icon is a real link. */
.social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social__link {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: inherit;
  font-size: 1rem;
  cursor: default;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

a.social__link[href] {
  cursor: pointer;
}

a.social__link[href]:hover,
a.social__link[href]:focus-visible {
  color: var(--green-bright);
}

a.social__link[href]:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
}

.social--footer,
.social--menu {
  gap: 8px;
}

.social--footer {
  margin-top: 22px;
}

.social--footer .social__link,
.social--menu .social__link {
  width: 40px;
  height: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: #cfcfcf;
  font-size: 1.05rem;
}

.social--footer a.social__link[href]:hover,
.social--menu a.social__link[href]:hover {
  border-style: solid;
  border-color: var(--green-bright);
}

/* ---------- Header: logo row ---------- */
.header-main {
  background: var(--white);
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-main-h);
  padding-bottom: 8px;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 96px;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.header-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-info__icon {
  color: var(--green-bright);
  font-size: 2.1rem;
}

.header-info__icon .icon {
  stroke-width: 1.5;
}

.header-info__label {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--muted);
}

.header-info__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--heading);
  text-transform: uppercase;
}

.header-info__value--plain {
  text-transform: none;
}

a.header-info__value:hover {
  color: var(--green-dark);
}

.menu-toggle {
  display: none;
}

/* ---------- Header: navigation bar ---------- */
.navbar-wrap {
  position: relative;
  z-index: 40;
  height: var(--nav-h);
  margin-bottom: calc(var(--nav-h) / -2);
}

.navbar {
  width: 100%;
}

.navbar__inner {
  display: flex;
  gap: 15px;
  height: var(--nav-h);
}

.nav {
  position: relative;
  flex: 1;
  padding: 5px;
  background: var(--dark);
}

.nav__list {
  display: flex;
  height: 100%;
  list-style: none;
}

.nav__item {
  display: flex;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color var(--t-base) var(--ease);
}

.nav__text {
  position: relative;
  display: inline-block;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: var(--green-bright);
}

/* Static leaf on the current page (no-JS and mobile menu) */
.nav__link[aria-current="page"] .nav__text::after {
  content: "";
  position: absolute;
  top: -14px;
  right: -13px;
  width: 17px;
  height: 15px;
  background: var(--leaf-svg) center / contain no-repeat;
}

/* Moving leaf (desktop): positioned by main.js above the active / hovered label */
.nav__leaf {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 17px;
  height: 15px;
  background: var(--leaf-svg) center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--leaf-x, 0px), var(--leaf-y, 0px), 0) rotate(var(--leaf-r, 0deg)) scale(var(--leaf-s, 1));
  transform-origin: 15% 95%;
  transition: transform 0.65s var(--ease), opacity var(--t-base) var(--ease);
  will-change: transform;
}

.nav.has-leaf .nav__leaf {
  opacity: 1;
}

.nav.leaf-instant .nav__leaf {
  transition: opacity var(--t-base) var(--ease);
}

.nav.leaf-ready .nav__link[aria-current="page"] .nav__text::after {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 0 270px;
  background: var(--green-mid);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  transition: background-color var(--t-base) var(--ease);
}

.nav-cta .icon {
  font-size: 1.75rem;
  stroke-width: 1.5;
}

.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white);
}

.navbar__mobile-extra {
  display: none;
}

/* Fixed state after scrolling (desktop) */
.navbar-wrap.is-fixed .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  background: var(--dark-2);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__track {
  display: grid;
}

/* Slides share one grid cell (height = tallest slide, so nothing jumps)
   and travel horizontally: next slide enters from the right. */
.hero__slide {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  min-height: 750px;
  padding: calc(var(--nav-h) / 2 + 70px) 0 110px;
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  transition: transform var(--t-slide) var(--ease-in-out), visibility 0s linear var(--t-slide);
}

.hero__slide.is-active {
  z-index: 1;
  transform: none;
  visibility: visible;
  transition: transform var(--t-slide) var(--ease-in-out), visibility 0s;
}

.hero__slide.no-anim {
  transition: none !important;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(9, 20, 14, 0.72) 0%, rgba(9, 20, 14, 0.52) 70%),
    linear-gradient(180deg, rgba(9, 20, 14, 0.25) 0%, rgba(9, 20, 14, 0) 40%, rgba(9, 20, 14, 0.35) 100%);
}

.hero__content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  margin-bottom: 18px;
  color: var(--green-pale);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.hero__title {
  margin: 0 auto 22px;
  max-width: 860px;
  color: var(--white);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.22;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero__text {
  max-width: 720px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero__actions {
  justify-content: center;
  gap: 20px;
}

/* Pagination: slim horizontal indicators */
.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  z-index: 3;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero__dots {
  display: flex;
  gap: 4px;
  list-style: none;
  pointer-events: auto;
}

.hero__dot-hit {
  display: grid;
  place-items: center;
  width: 48px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero__dot {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  transition: width var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.hero__dot-hit:hover .hero__dot {
  background: rgba(255, 255, 255, 0.85);
}

.hero__dot-hit[aria-current="true"] .hero__dot {
  width: 42px;
  background: var(--green-bright);
}

.no-js .hero__controls {
  display: none;
}

/* ---------- Section titles ---------- */
.sec-title {
  max-width: 820px;
  margin: 0 auto 55px;
  text-align: center;
}

.sec-title__eyebrow {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section--dark .sec-title__eyebrow,
.band .sec-title__eyebrow {
  color: var(--green-bright);
}

.sec-title h2 {
  margin: 0;
  font-size: var(--fs-h2);
}

.hl {
  color: var(--green);
}

.section--dark .hl,
.band .hl,
.cta-band .hl {
  color: var(--green-bright);
}

.divider {
  position: relative;
  width: 150px;
  height: 26px;
  margin: 14px auto 0;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  border-top: 1px dashed var(--green-bright);
}

.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 40px;
  height: 26px;
  transform: translateX(-50%);
  background: var(--white) var(--leaf-svg) center / 26px 22px no-repeat;
}

.section--light .divider::after {
  background-color: var(--light);
}

.section--dark .divider::after {
  background-color: var(--dark);
}

.band .divider::after,
.cta-band .divider::after {
  background-color: transparent;
}

.sec-title__lead {
  margin: 22px auto 0;
  font-size: 1.0625rem;
}

.sec-title--left {
  max-width: none;
  margin-left: 0;
  text-align: left;
}

.sec-title--left .underline {
  width: 110px;
  margin-top: 18px;
  border-bottom: 1px solid var(--border);
}

.section--dark .sec-title--left .underline {
  border-color: var(--border-dark);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.sec-head .sec-title {
  margin-bottom: 0;
}

/* ---------- Intro block ---------- */
.intro__text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.0625rem;
  text-align: center;
}

.intro__cta {
  margin-top: 34px;
  text-align: center;
}

/* ---------- Shared accents ---------- */
.lead-green {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.55;
}

.approach__intro .underline,
.story__body .underline {
  width: 110px;
  margin: 18px 0 24px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Home: Our Products (featured onion + portfolio) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.p-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.p-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eee;
}

.p-card__media picture {
  display: contents;
}

.p-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.p-card:hover .p-card__media img {
  transform: scale(1.05);
}

.p-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.p-card__cat {
  margin-bottom: 6px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.p-card__title {
  margin-bottom: 8px;
  font-size: 1.1875rem;
}

.p-card__title a {
  color: var(--heading);
}

.p-card__title a:hover {
  color: var(--green-dark);
}

.p-card__text {
  flex: 1;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Featured onion card: two columns by two rows */
.p-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.p-card--featured .p-card__media {
  flex: 1;
  min-height: 280px;
}

.p-card--featured .p-card__media img {
  height: 100%;
  aspect-ratio: auto;
}

.p-card--featured .p-card__body {
  flex: none;
  padding: 30px 32px 32px;
}

.p-card--featured .p-card__title {
  margin-bottom: 10px;
  font-size: 1.75rem;
  font-weight: 600;
}

.p-card--featured .p-card__text {
  flex: none;
  margin-bottom: 22px;
}

.p-card__badge {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.p-card__badge .icon {
  font-size: 1rem;
  stroke-width: 2;
}

.p-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
  padding: 18px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}

.p-card__facts dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
}

.p-card__facts dt .icon {
  color: var(--green-dark);
  font-size: 1rem;
}

.p-card__facts dd {
  margin: 4px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.p-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

/* "Other products" card fills the rest of the last row as a horizontal card
   (two columns beside the Wheat and Cotton cards on the four-column grid) */
.p-card--wide {
  grid-column: span 2;
  flex-direction: row;
}

.p-card--wide .p-card__media {
  flex: 0 0 46%;
}

/* The photo fills the card's height without setting it, so the row keeps the height of
   its neighbouring card */
.p-card--wide .p-card__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}

/* ---------- Home: Our Approach ---------- */
.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 70px;
  align-items: start;
}

.approach__intro {
  position: sticky;
  top: 110px;
}

.approach__intro h2 {
  margin: 0;
  font-size: var(--fs-h2);
}

.approach__intro p {
  margin-bottom: 30px;
  font-size: 1.0625rem;
}

.approach__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
  list-style: none;
}

.approach__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "icon text";
  column-gap: 20px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--border);
}

.approach__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.approach__item:hover::before {
  transform: scaleX(1);
}

.approach__num {
  grid-area: num;
  align-self: center;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.approach__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: 8px;
  border-radius: 50%;
  background: rgba(33, 131, 77, 0.12);
  color: var(--green-dark);
  font-size: 1.4rem;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.approach__item:hover .approach__icon {
  background: var(--green-bright);
  color: var(--white);
}

.approach__item h3 {
  grid-area: title;
  margin: 0 0 6px;
  font-size: 1.125rem;
}

.approach__item p {
  grid-area: text;
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Process steps (dark section) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 34px 24px 30px;
  border: 1px dashed var(--border-dark);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.step:hover {
  border-color: rgba(61, 174, 112, 0.6);
  background: rgba(255, 255, 255, 0.02);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px dashed rgba(61, 174, 112, 0.7);
  color: var(--green-bright);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.step p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 61px;
  right: -15px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--green-bright);
  border-right: 1px solid var(--green-bright);
  transform: rotate(45deg);
}

/* Dashed filter / tab buttons (reference "Project Gallery" filters) */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tab {
  min-height: 40px;
  padding: 6px 16px;
  border: 1px dashed #cfcfcf;
  background: var(--white);
  color: #555;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.tab:hover {
  border-color: var(--green-dark);
  color: var(--green-dark);
}

.tab[aria-pressed="true"] {
  border-style: solid;
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.section--dark .tab {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #b9b9b9;
}

.section--dark .tab:hover {
  border-color: var(--green-bright);
  color: var(--white);
}

.section--dark .tab[aria-pressed="true"] {
  border-color: var(--green-bright);
  background: var(--green-mid);
  color: var(--white);
}

.tab--link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Parallax band (markets & buyers) ---------- */
.band {
  position: relative;
  padding: 90px 0;
  background-color: var(--dark-2);
  background-position: center;
  background-size: cover;
  color: #d5d5d5;
  isolation: isolate;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 20, 14, 0.8);
}

.band h2,
.band h3 {
  color: var(--white);
}

.band--markets {
  background-image: url("../assets/images/backgrounds/bg-port-sunset-960.webp");
}

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.band__col {
  padding: 0 50px;
  text-align: center;
}

.band__col + .band__col {
  border-left: 1px dashed rgba(255, 255, 255, 0.2);
}

.band__icon {
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--green-bright);
  font-size: 2.8rem;
}

.band__icon .icon {
  stroke-width: 1.4;
}

.band__title {
  margin-bottom: 0;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.band .divider {
  margin-bottom: 30px;
}

.band .divider::before {
  right: 0;
  border-top-color: rgba(61, 174, 112, 0.8);
  -webkit-mask: linear-gradient(90deg, #000 0 36%, transparent 36% 64%, #000 64% 100%);
  mask: linear-gradient(90deg, #000 0 36%, transparent 36% 64%, #000 64% 100%);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
}

.chip .icon {
  color: var(--green-bright);
}


/* ---------- Supply cards ---------- */
.supply-lead {
  max-width: 820px;
  margin-bottom: 40px;
  font-size: 1.0625rem;
}

.supply-card {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.supply-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.supply-card__badge {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  background: var(--green-bright);
  color: var(--white);
  font-size: 1.6rem;
  outline: 1px solid rgba(255, 255, 255, 0.8);
  outline-offset: -5px;
}

.supply-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

.supply-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
}


/* ---------- Closing CTA band ---------- */
.cta-band {
  position: relative;
  padding: 70px 0;
  background-color: var(--green-deep);
  background-image: var(--pattern-dark);
  color: #d6e3da;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
}

.cta-band p {
  max-width: 640px;
  font-size: 1.0625rem;
}

.cta-band .btn-row {
  flex-shrink: 0;
}

/* Export variant: cargo ship at sea under a deep-green brand overlay. The
   overlay is strongest behind the text (left) and lighter towards the buttons. */
.cta-band--ship {
  overflow: hidden;
  background-color: #0b2616;
  isolation: isolate;
}

.cta-band--ship::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 40, 23, 0.94) 0%, rgba(9, 40, 23, 0.86) 48%, rgba(9, 40, 23, 0.7) 100%);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

/* About: wide container-port image above the sourcing-to-shipment steps */
.logistics-strip {
  margin: 0 0 60px;
  background: var(--dark);
}

.logistics-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

/* ---------- Page banner & breadcrumb (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: calc(var(--nav-h) / 2 + 85px) 0 85px;
  background: #111 url("../assets/images/backgrounds/banner-onions.webp") center 45% / cover no-repeat;
  color: var(--white);
  text-align: center;
  isolation: isolate;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 20, 14, 0.72);
}

.page-banner h1 {
  margin: 0 auto;
  max-width: 900px;
  color: var(--white);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
}

.page-banner p {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
}

.breadcrumb {
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  list-style: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid var(--green-bright);
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-bright) 0 2px, transparent 2.5px);
}

.breadcrumb a {
  color: var(--text);
}

.breadcrumb a:hover {
  color: var(--green-dark);
}

.breadcrumb [aria-current="page"] {
  color: var(--heading);
  font-weight: 400;
}

/* ---------- About page ---------- */
.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 27 / 20;
  object-fit: cover;
}

.about-media .about-media__secondary {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 52%;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
}

/* Our Story: editorial image + text */
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 90px;
  align-items: center;
}

.story__media {
  position: relative;
  margin: 0 24px 24px 0;
}

.story__media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--green-bright);
}

.story__media::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -36px;
  width: 58px;
  height: 50px;
  background: var(--leaf-svg) center / contain no-repeat;
}

.story__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story__body h2 {
  margin: 0;
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  line-height: 1.22;
}

.story__body p {
  max-width: 36em;
}

.story__lead {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.6;
}

.story__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  margin: 34px 0 0;
}

.story__fact {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.story__fact dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story__fact dt .icon {
  font-size: 1.05rem;
}

.story__fact dd {
  margin: 6px 0 0;
  color: var(--heading);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
}

/* Mission & vision */
.band--about {
  background-image: url("../assets/images/sections/farm-cart-maharashtra.webp");
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.mv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 44px 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 20, 14, 0.55);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.mv-card::before {
  content: "";
  position: absolute;
  left: 44px;
  top: -1px;
  width: 56px;
  height: 3px;
  background: var(--green-bright);
  transition: width 0.6s var(--ease);
}

.mv-card:hover {
  border-color: rgba(61, 174, 112, 0.6);
  transform: translateY(-4px);
}

.mv-card:hover::before {
  width: calc(100% - 88px);
}

.mv-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-size: 1.6rem;
  outline: 1px dashed rgba(255, 255, 255, 0.75);
  outline-offset: -7px;
}

.mv-card__label {
  margin: 0 0 6px;
  color: var(--green-bright);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mv-card h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1.625rem;
}

.mv-card p:last-child {
  color: #dddddd;
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* What guides us: equal cards, 3 x 2 */
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.principle {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 34px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.principle:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.principle__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--white);
  font-size: 1.55rem;
  outline: 1px dashed rgba(255, 255, 255, 0.75);
  outline-offset: -7px;
  transition: background-color var(--t-base) var(--ease);
}

.principle:hover .principle__icon {
  background: var(--green-dark);
}

.principle h3 {
  margin: 0 0 10px;
  font-size: 1.1875rem;
}

.principle p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

.principle--cta {
  border-color: var(--green-deep);
  background: var(--green-deep) var(--pattern-dark);
  color: #d6e3da;
}

.principle--cta h3 {
  color: var(--white);
}

.principle--cta .principle__icon,
.principle--cta:hover .principle__icon {
  background: rgba(255, 255, 255, 0.12);
}

.principle--cta .link-arrow {
  margin-top: auto;
  padding-top: 18px;
  color: var(--gold-light);
}

/* Sourcing-to-shipment approach: numbered sequence on a connecting line */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.flow::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  border-top: 1px dashed var(--green-bright);
}

.flow__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--light);
  transition: background-color var(--t-base) var(--ease);
}

.flow__item:hover .flow__num {
  background: var(--green-dark);
}

.flow__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--green-dark);
  font-size: 1.9rem;
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.flow__icon .icon {
  stroke-width: 1.5;
}

.flow__item:hover .flow__icon {
  border-color: var(--green-bright);
  background: var(--green-bright);
  color: var(--white);
  transform: translateY(-4px);
}

.flow__item h3 {
  max-width: 12em;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.note-inline {
  margin-top: 26px;
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Products page ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-status {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.product-list {
  display: grid;
  gap: 40px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1px solid var(--border);
  background: var(--white);
  scroll-margin-top: 20px;
  transition: box-shadow var(--t-base) var(--ease);
}

.product:hover {
  box-shadow: var(--shadow-md);
}

.product[hidden] {
  display: none;
}

.product__media {
  position: relative;
  background: #eeeeec;
}

.pgallery {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pgallery__stage {
  position: relative;
  flex: 1;
  min-height: 330px;
  overflow: hidden;
  background: #eeeeec;
}

.pgallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}

.pgallery__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease), visibility 0s;
}

.pgallery__slide picture {
  display: contents;
}

.pgallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.product:hover .pgallery__slide.is-active img {
  transform: scale(1.04);
}

.pgallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.pgallery__thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  opacity: 0.65;
  overflow: hidden;
  transition: opacity var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.pgallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pgallery__thumb:hover {
  opacity: 1;
}

.pgallery__thumb[aria-pressed="true"] {
  border-color: var(--green-bright);
  opacity: 1;
}

.packaging {
  margin: -6px 0 28px;
}

.packaging__label {
  margin: 0 0 10px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
}

.packaging__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.pack-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--light);
  color: #444;
  font-size: 0.875rem;
  font-weight: 400;
  transition: border-color var(--t-fast) var(--ease);
}

.pack-chip:hover {
  border-color: var(--green-bright);
}

.pack-chip .icon {
  color: var(--green-dark);
  font-size: 1.15rem;
}

.packaging__note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.product__body {
  padding: 40px 42px;
}

.product__cat {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 12px;
  border: 1px dashed var(--green-bright);
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product h2 {
  margin-bottom: 12px;
  font-size: 1.625rem;
}

.product__short {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.specs {
  display: grid;
  grid-template-columns: 170px 1fr;
  margin: 22px 0 28px;
  border-top: 1px solid var(--border);
}

.specs dt,
.specs dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.specs dt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 14px;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 500;
}

.specs dt .icon {
  margin-top: 4px;
  color: var(--green-bright);
}

.enquiry-prompt {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
  padding: 40px;
  border: 1px dashed var(--green-bright);
  background: var(--white);
}

.enquiry-prompt__icon {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--green-bright);
  color: var(--white);
  font-size: 2.2rem;
  outline: 1px dashed rgba(255, 255, 255, 0.75);
  outline-offset: -8px;
}

.enquiry-prompt h2 {
  margin-bottom: 8px;
  font-size: 1.375rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 5px 0 5px 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--green-bright);
  border-bottom: 2px solid var(--green-bright);
  transform: rotate(-45deg);
}

.check-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin-top: 10px;
}

/* ---------- Gallery ---------- */
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.gallery-head .sec-title {
  margin-bottom: 0;
}

/* Keep the four category filters on one line beside the heading (the lead text wraps instead) */
@media (min-width: 768px) {
  .gallery-head .tabs {
    flex: none;
    flex-wrap: nowrap;
  }
}

/* Justified rows: each tile grows in proportion to its aspect ratio (--ar),
   so every photo in a row shares one height and keeps its own shape. */
.gallery-grid {
  --row: 250px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px 18px;
  list-style: none;
}

.gallery-grid::after {
  content: "";
  flex: 999 1 0;
}

.g-item {
  flex: calc(var(--ar, 1) * 100) 1 calc(var(--ar, 1) * var(--row));
  min-width: 0;
}

.gallery-lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--text-light);
}

.g-item[hidden] {
  display: none;
}

.g-item__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}

.g-item__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--dark-soft);
}

.g-item__media img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar, 4 / 3);
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.g-item__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.g-item__zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-size: 1.3rem;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.g-item__btn:hover img,
.g-item__btn:focus-visible img {
  transform: scale(1.05);
}

.g-item__btn:hover .g-item__media::after,
.g-item__btn:focus-visible .g-item__media::after,
.g-item__btn:hover .g-item__zoom,
.g-item__btn:focus-visible .g-item__zoom {
  opacity: 1;
}

.g-item__btn:hover .g-item__zoom,
.g-item__btn:focus-visible .g-item__zoom {
  transform: translate(-50%, -50%) scale(1);
}

.g-item__title {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 16px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
}

.g-item__cat {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 4px;
  color: var(--green-bright);
  font-size: 0.9375rem;
}

.gallery-note {
  max-width: 860px;
  margin: 50px auto 0;
  color: #9d9d9d;
  font-size: 0.9375rem;
  font-style: italic;
  text-align: center;
}

.gallery-note a {
  color: var(--green-bright);
}

/* Lightbox */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.94);
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.lightbox__counter {
  color: #bdbdbd;
  font-family: var(--font-heading);
  font-size: 0.875rem;
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0 84px;
}

.lightbox__figure {
  display: grid;
  place-items: center;
  max-height: 100%;
  margin: 0;
  min-height: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100svh - 190px);
  object-fit: contain;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  padding: 16px 20px 22px;
  text-align: center;
}

.lightbox__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
}

.lightbox__credit {
  display: block;
  margin-top: 4px;
  color: #a9a9a9;
  font-size: 0.8125rem;
}

.lightbox__credit a {
  color: var(--green-bright);
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 1.35rem;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.lightbox__btn:hover {
  border-style: solid;
  border-color: var(--green-bright);
  background: var(--green-mid);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__tools {
  display: flex;
  gap: 10px;
}

.lightbox__btn[hidden] {
  display: none;
}

.lightbox__btn[aria-pressed="true"] {
  border-style: solid;
  border-color: var(--green-bright);
  background: var(--green-mid);
}

.lightbox__img {
  cursor: zoom-in;
}

/* Zoomed: the photo is shown at its full size inside a scrollable frame. */
.lightbox.is-zoomed .lightbox__stage {
  padding: 0;
}

.lightbox.is-zoomed .lightbox__figure {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  cursor: grab;
}

.lightbox.is-zoomed .lightbox__figure.is-dragging {
  cursor: grabbing;
}

.lightbox.is-zoomed .lightbox__img {
  flex: none;
  max-width: none;
  max-height: none;
  margin: auto;
  box-shadow: none;
  cursor: inherit;
}

/* Casual-download deterrents on gallery photos (see js/gallery.js). */
.g-item__media img,
.lightbox__img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.lightbox__nav--prev {
  left: 18px;
}

.lightbox__nav--next {
  right: 18px;
}

/* ---------- Contact page ---------- */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.info-box {
  padding: 36px 24px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.info-box:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.info-box__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border: 1px dashed var(--green-bright);
  border-radius: 50%;
  color: var(--green-dark);
  font-size: 1.7rem;
}

.info-box h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 500;
}

.info-box p,
.info-box a {
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.info-box a {
  color: var(--text);
}

.info-box a:hover {
  color: var(--green-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 30px;
  align-items: start;
}

.form-box {
  padding: 44px 40px;
  border: 1px solid var(--border);
  background: var(--white);
}

.form-box h2 {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.form-intro {
  margin-bottom: 30px;
  font-size: 0.9375rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 7px;
  padding: 0;
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
}

.field__optional {
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.req {
  color: var(--green-dark);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 15px;
  border: 1px solid #dcdcdc;
  border-radius: var(--radius-0);
  background: var(--white);
  color: #333;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
}

.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d820e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a9a9a;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(33, 131, 77, 0.2);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.8125rem;
  font-weight: 400;
}

.field.has-error .field__error {
  display: flex;
}

.field__hint {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 30px;
}

.form-notice {
  flex: 1 1 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.form-status {
  margin-top: 26px;
}

.enquiry-form noscript .alert {
  display: block;
  margin-bottom: 24px;
}

.form-status:empty {
  display: none;
}

.alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 20px 22px;
  border: 1px solid;
  font-size: 0.9375rem;
}

.alert .icon {
  grid-row: span 3;
  margin-top: 3px;
  font-size: 1.3rem;
}

.alert strong {
  display: block;
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 500;
}

.alert--error {
  border-color: #f1c2bd;
  background: #fdf3f2;
  color: var(--error);
}

.alert--success {
  border-color: #c3dccb;
  background: #f0f7f2;
  color: var(--success);
}

.alert--info {
  border-color: #d3e3d8;
  background: #f4f8f5;
  color: var(--green-dark);
}

.alert .btn-row {
  margin-top: 12px;
}

.contact-aside {
  display: grid;
  gap: 30px;
}

.aside-box {
  padding: 36px 32px;
  background: var(--dark);
  background-image: var(--pattern-dark);
  color: var(--text-light);
}

.aside-box h2 {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
}

.aside-box--light {
  border: 1px solid var(--border);
  background: var(--light);
  color: var(--text);
}

.aside-box--light h2 {
  border-color: var(--border);
  color: var(--heading);
}

.contact-list {
  display: grid;
  gap: 18px;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-list .icon {
  margin-top: 3px;
  color: var(--green-bright);
  font-size: 1.25rem;
}

.contact-list__label {
  display: block;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-list a {
  color: var(--text-light);
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--green-bright);
}

.aside-box .btn {
  width: 100%;
  margin-top: 26px;
}

/* ---------- Footer ----------
   Deep forest-green footer built around the colour logo. The logo is designed for light
   backgrounds, so the brand column is an ivory "brand pillar" that runs the full height of
   the footer — from the gold hairline at the footer's top edge down to the bottom bar —
   with a fine gold inner frame. Tablets and phones turn it into a full-width ivory band
   between two gold hairlines. Colours come from the logo (green #0d4d2a, gold #c09831). */
.site-footer {
  --footer-bg: #0f2619;            /* deep forest green */
  --footer-bottom-bg: #0a1b11;
  --footer-ivory: #f8f4ea;         /* warm white brand panel (14.6:1 against the footer) */
  --footer-heading: #f6f1e4;       /* warm white headings (14.2:1) */
  --footer-text: #b9c2bb;          /* body text and links (8.8:1) */
  --footer-muted: #a7b0aa;         /* bottom bar (8:1) */
  --footer-gold-dark: #7a5c12;     /* logo gold, darkened for text on ivory (5.7:1) */
  --footer-line: rgba(255, 255, 255, 0.09);
  --footer-hairline: rgba(192, 152, 49, 0.55); /* logo gold hairlines */
  --footer-pad-top: 72px;
  --footer-pad-bottom: 64px;
  position: relative;
  border-top: 1px solid var(--footer-hairline);
  background-color: var(--footer-bg);
  /* the site's leaf pattern, at a lower opacity so it stays in the background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='.014'%3E%3Cpath d='M30 40c4-14 15-20 27-18-3 13-14 21-27 18z'/%3E%3Cpath d='M110 30c-10-6-22-4-28 5 10 6 21 4 28-5z'/%3E%3Cpath d='M95 120c4-14 15-20 27-18-3 13-14 21-27 18z'/%3E%3Cpath d='M40 130c-10-6-22-4-28 5 10 6 21 4 28-5z'/%3E%3Cpath d='M140 80c-2-10 3-18 12-21 2 10-3 18-12 21z'/%3E%3Cpath d='M70 85c-9-3-17 1-21 9 9 3 17-1 21-9z'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--footer-text);
  font-size: 0.9375rem;
}

.footer-main {
  padding: var(--footer-pad-top) 0 var(--footer-pad-bottom);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}

/* Desktop: one shared offset brings the link and contact columns towards the vertical
   middle of the brand pillar while keeping their headings on one line */
@media (min-width: 1200px) {
  .footer-grid > .footer-col:not(.footer-brand) {
    margin-top: 32px;
  }
}

/* Brand pillar: stretches through the footer's padding so it meets the top hairline and the
   bottom bar; content is centred like a product label. */
.footer-brand {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: calc(-1 * var(--footer-pad-top)) 0 calc(-1 * var(--footer-pad-bottom));
  padding: 48px 36px 44px;
  background: var(--footer-ivory);
  color: #4f5a53;
  text-align: center;
}

.footer-brand::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--footer-hairline);
  pointer-events: none;
}

.footer-brand__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.footer-brand__logo {
  display: block;
  width: 168px;
  line-height: 0;
}

.footer-brand__logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Short gold rule with a centre diamond between the logo and the name */
.footer-brand__text {
  position: relative;
  min-width: 0;
  margin-top: 22px;
  padding-top: 20px;
}

.footer-brand__text::before,
.footer-brand__text::after {
  content: "";
  position: absolute;
  left: 50%;
}

.footer-brand__text::before {
  top: 3px;
  width: 76px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold) 0 30px, transparent 30px 46px, var(--gold) 46px);
}

.footer-brand__text::after {
  top: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.footer-brand__name {
  margin: 0 0 6px;
  color: var(--green-deep);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.footer-brandline {
  margin: 0 auto;
  max-width: 28ch;
  color: var(--footer-gold-dark);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.55;
}

.footer-brand__about {
  max-width: 32ch;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-brand .social--footer {
  justify-content: center;
  margin-top: 20px;
}

.footer-brand .social__link {
  border: 1px solid rgba(13, 77, 42, 0.28);
  color: var(--green-deep);
}

.footer-brand a.social__link[href]:hover,
.footer-brand a.social__link[href]:focus-visible {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: var(--white);
}

.footer-brand a:focus-visible {
  outline-color: var(--green-deep);
}

/* Column headings: warm white with a short gold accent on a fine divider */
.footer-col h2 {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--footer-line);
  color: var(--footer-heading);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-col h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  display: grid;
  gap: 12px;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--footer-text);
  transition: color var(--t-fast) var(--ease);
}

.footer-links a .icon {
  color: var(--green-light);
  font-size: 0.85rem;
  stroke-width: 2.4;
  transition: transform var(--t-fast) var(--ease);
}

.footer-links a:hover {
  color: var(--footer-heading);
}

.footer-links a:hover .icon {
  transform: translateX(3px);
}

/* Contact details: green line icons in fine gold rings */
.site-footer .contact-list {
  gap: 18px;
}

.site-footer .contact-list li {
  grid-template-columns: 34px 1fr;
  align-items: start;
}

.site-footer .contact-list .icon {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  margin-top: 0;
  padding: 8px;
  border: 1px solid var(--footer-hairline);
  border-radius: 50%;
  color: var(--green-light);
  font-size: 1rem;
}

.site-footer .contact-list__label {
  color: var(--footer-heading);
}

.site-footer .contact-list a {
  color: var(--footer-text);
  overflow-wrap: normal;
  word-break: normal;
}

.site-footer .contact-list a:hover {
  color: var(--green-light);
}

/* Bottom bar */
/* The gold hairlines at the footer's top edge and above this bar frame the brand pillar */
.footer-bottom {
  border-top: 1px solid var(--footer-hairline);
  background: var(--footer-bottom-bg);
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.footer-bottom__inner {
  min-height: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 30px;
  padding-top: 20px;
  padding-bottom: 20px; /* side padding comes from .container */
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  list-style: none;
}

.footer-bottom a {
  color: var(--footer-muted);
}

.footer-bottom a:hover {
  color: var(--green-light);
}

/* ---------- Floating controls ---------- */
.float-wa,
.to-top {
  position: fixed;
  right: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    visibility 0s linear var(--t-base), background-color var(--t-fast) var(--ease);
}

/* WhatsApp: a text pill (no image or drawn icon, so it is sharp at any size) */
.float-wa {
  bottom: var(--float-offset);
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.float-wa:hover {
  background: #0d6b38;
  color: var(--white);
}

.float-wa:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 3px;
}

.to-top {
  bottom: calc(var(--float-offset) + 62px);
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--green-bright);
  background: var(--dark);
  color: var(--white);
  font-size: 1.1rem;
}

.to-top:hover {
  background: var(--green-mid);
}

.is-hidden-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

.float-wa:not(.is-hidden-float),
.to-top:not(.is-hidden-float) {
  transition-delay: 0s;
}

.menu-open .float-wa,
.menu-open .to-top,
.lightbox-open .float-wa,
.lightbox-open .to-top {
  opacity: 0;
  visibility: hidden;
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

.credits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.credits-table th,
.credits-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.credits-table th {
  background: var(--light);
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 500;
}

.credits-table td {
  overflow-wrap: anywhere;
}

.table-scroll {
  overflow-x: auto;
}

.credits-subhead {
  margin: 0 0 12px;
  font-size: 1.125rem;
}

.credits-note {
  max-width: 860px;
  margin: 0 0 40px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
