/* ==========================================================================
   ALFALAH TECHNO FEED (BD) — Main Stylesheet
   --------------------------------------------------------------------------
   Mobile-first base styles. Larger-screen rules live in responsive.css.

   Table of contents
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout helpers
   05. Buttons & links
   06. Top bar & header / navigation
   07. Hero (home)
   08. Page banner & breadcrumb (inner pages)
   09. Section headings
   10. Media frames & split layouts
   11. Cards (category, value, feature, info)
   12. Quality band & principle lists
   13. Products catalogue & product details
   14. Gallery grid & lightbox
   15. CTA & social bands
   16. Forms
   17. Notices, badges & "awaiting details" placeholders
   18. Footer
   19. Back-to-top, reveal animations, utilities
   ========================================================================== */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  /* Brand palette (supplied by the brief) */
  --green: #008c45;          /* Primary green — accents, icons, large text */
  --green-dark: #075e35;     /* Accessible green for buttons & links (7.9:1 on white) */
  --green-forest: #06452b;   /* Deep backgrounds, footer */
  --green-light: #eaf5ed;    /* Soft section backgrounds */
  --white: #ffffff;
  --text: #1c2922;
  --bg-light: #f7faf8;
  --gold: #d7a83e;           /* Accent — decorative or on dark backgrounds only */

  /* Derived tones */
  --text-muted: #4d5d54;     /* 7.0:1 on white */
  --text-on-dark: #e7f1ea;
  --border: #dde8e1;
  --border-strong: #c3d6ca;
  --green-tint: rgba(0, 140, 69, 0.1);
  --gold-tint: rgba(215, 168, 62, 0.16);
  --danger: #b42318;
  --danger-bg: #fdecea;
  --info-bg: #fff8e8;

  /* Typography */
  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing & sizing */
  --container: 1200px;
  --gutter: 1.25rem;
  --section-space: clamp(4rem, 3rem + 4vw, 7rem);
  --header-h: 72px;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(6, 69, 43, 0.06), 0 2px 6px rgba(6, 69, 43, 0.05);
  --shadow: 0 6px 18px rgba(6, 69, 43, 0.08), 0 2px 6px rgba(6, 69, 43, 0.05);
  --shadow-lg: 0 22px 48px rgba(6, 69, 43, 0.14), 0 6px 14px rgba(6, 69, 43, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t: 320ms;
}

/* 02. Reset & base -------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

/* The hidden attribute must always win over component display rules */
[hidden] {
  display: none !important;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

a {
  color: var(--green-dark);
  text-underline-offset: 3px;
}

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Lucide icons from the inline SVG sprite at the top of each page */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  vertical-align: -0.14em;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--green-forest);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

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

/* 03. Typography ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--green-forest);
  line-height: 1.2;
  margin: 0 0 0.75em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}

.text-muted {
  color: var(--text-muted);
}

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

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

.container--narrow {
  max-width: calc(860px + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-space);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--section-space) * 0.65);
}

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

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

.section--forest {
  background: var(--green-forest);
  color: var(--text-on-dark);
}

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

.grid {
  display: grid;
  gap: 1.5rem;
}

.stack > * + * {
  margin-top: 1rem;
}

/* 05. Buttons & links ----------------------------------------------------- */
.btn {
  --btn-bg: var(--green-dark);
  --btn-fg: var(--white);
  --btn-border: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-pill);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.btn .icon {
  font-size: 1.15em;
  transition: transform var(--t-fast) var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 69, 43, 0.2);
}

.btn:hover .icon--move {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary:hover {
  --btn-bg: var(--green-forest);
  --btn-border: var(--green-forest);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--green-dark);
  --btn-border: var(--green-dark);
}

.btn-outline:hover {
  --btn-bg: var(--green-dark);
  --btn-fg: var(--white);
}

.btn-light {
  --btn-bg: var(--white);
  --btn-fg: var(--green-forest);
  --btn-border: var(--white);
}

.btn-light:hover {
  --btn-bg: var(--green-light);
  --btn-border: var(--green-light);
  --btn-fg: var(--green-forest);
}

.btn-ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--green-forest);
  --btn-border: var(--white);
}

.btn-gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--text);
  --btn-border: var(--gold);
}

.btn-gold:hover {
  --btn-bg: #e4b955;
  --btn-border: #e4b955;
}

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-dark);
  text-decoration: none;
}

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

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

/* 06. Top bar & header / navigation -------------------------------------- */
.topbar {
  display: none; /* shown from tablet up (responsive.css) */
  background: var(--green-forest);
  color: var(--text-on-dark);
  font-size: 0.85rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-on-dark);
  text-decoration: none;
}

.topbar__item .icon {
  color: var(--gold);
}

a.topbar__item:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Phone / email links inside the dark top bar */
.topbar__item a {
  color: var(--text-on-dark);
  text-decoration: none;
}

.topbar__item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.topbar__item {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

/* Note: backdrop-filter is only applied on desktop (responsive.css). On mobile it
   would turn the header into the containing block of the fixed nav drawer. */

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 20px rgba(6, 69, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--green-forest);
  min-width: 0;
}

/* Official logo: height-locked so the original 1.513:1 proportions are kept */
.brand__logo {
  height: 48px;
  width: auto;
  aspect-ratio: 994 / 657;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-strong);
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--green-forest);
  white-space: nowrap;
}

.brand__tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 0.15rem;
}

/* Hamburger toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-right: -6px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--green-forest);
  position: relative;
  z-index: 120;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  transform: translateY(-7px);
}

.nav-toggle__bars::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

/* Mobile drawer (desktop overrides in responsive.css) */
.primary-nav {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 110;
  width: min(360px, 88vw);
  height: 100vh;
  height: 100dvh;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--t) var(--ease), visibility 0s linear var(--t);
}

.primary-nav.is-open {
  transform: none;
  visibility: visible;
  transition: transform var(--t) var(--ease), visibility 0s;
}

/* Sits just below the sticky header (z-index 100) so the drawer inside the
   header stays above it. */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 69, 43, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t) var(--ease), visibility 0s;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav-link:hover {
  color: var(--green-dark);
  background: var(--green-light);
}

.nav-link[aria-current="page"] {
  color: var(--green-dark);
  background: var(--green-light);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-weight: 500;
  color: var(--green-dark);
  text-decoration: none;
}

.icon-circle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 1.15rem;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

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

/* 07. Hero (home) --------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 780px);
  padding-block: 5rem 7.5rem;
  color: var(--white);
  overflow: hidden;
  background: var(--green-forest);
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__media img {
  animation: heroZoom 18s var(--ease) both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 69, 43, 0.95) 0%, rgba(6, 69, 43, 0.82) 42%, rgba(6, 69, 43, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 69, 43, 0.65) 0%, rgba(6, 69, 43, 0) 40%);
}

.hero__content {
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.hero__eyebrow .icon-dot {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-forest);
  font-size: 0.85rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 1.4rem + 3.8vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .accent {
  color: var(--gold);
  display: block;
}

.hero__subheadline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero__text {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 2.1rem;
}

/* Staggered entrance animation for hero text */
.hero__animate > * {
  animation: fadeUp 0.9s var(--ease) both;
}

.hero__animate > *:nth-child(2) { animation-delay: 0.12s; }
.hero__animate > *:nth-child(3) { animation-delay: 0.24s; }
.hero__animate > *:nth-child(4) { animation-delay: 0.36s; }
.hero__animate > *:nth-child(5) { animation-delay: 0.48s; }

/* Category quick-links strip overlapping the hero's bottom edge */
.hero-strip {
  position: relative;
  z-index: 5;
  margin-top: -4rem;
}

.hero-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-strip__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-fast) var(--ease);
}

.hero-strip__item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.hero-strip__item:hover {
  background: var(--green-light);
  color: var(--text);
}

.hero-strip__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.3rem;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.hero-strip__item:hover .hero-strip__icon {
  background: var(--green-dark);
  color: var(--white);
}

.hero-strip__title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-forest);
  line-height: 1.3;
}

.hero-strip__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Small "Illustrative image" chip on stock photos */
.media-label {
  position: absolute;
  z-index: 2;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(6, 69, 43, 0.72);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.hero .media-label {
  bottom: 5rem;
}

/* Framed photos: label top-right so it never collides with overlapping badges */
.media-frame .media-label,
.pd-gallery__main .media-label {
  top: 0.75rem;
  bottom: auto;
}

/* 08. Page banner & breadcrumb ------------------------------------------- */
.page-banner {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 3rem + 5vw, 7rem);
  color: var(--white);
  background: var(--green-forest);
  overflow: hidden;
}

.page-banner__media,
.page-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(6, 69, 43, 0.95) 0%, rgba(6, 69, 43, 0.8) 50%, rgba(6, 69, 43, 0.45) 100%);
}

.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold) 0 18%, var(--green) 18% 100%);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-banner__text {
  max-width: 640px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.page-banner .media-label {
  bottom: 1.25rem;
}

.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--gold);
}

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

.breadcrumb a:hover {
  text-decoration: underline;
  color: var(--white);
}

.breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.82);
}

/* 09. Section headings ---------------------------------------------------- */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section--forest .eyebrow,
.cta-band .eyebrow {
  color: var(--gold);
}

.section--forest .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* 10. Media frames & split layouts --------------------------------------- */
.split {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split > * {
  min-width: 0;
}

.media-frame {
  position: relative;
  margin: 0; /* reset the browser's default <figure> margins */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--green-light);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
}

.media-frame--wide img {
  aspect-ratio: 16 / 10;
}

.media-composition {
  position: relative;
  padding: 0 0 2.5rem 0;
}

.media-composition::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -14px;
  width: 45%;
  height: 55%;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle, var(--green) 1.6px, transparent 1.8px) 0 0 / 16px 16px;
  opacity: 0.35;
  z-index: -1;
}

.media-badge {
  position: absolute;
  right: 1rem;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 300px;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
}

.media-badge img {
  width: 64px;
  height: auto;
  aspect-ratio: 994 / 657;
}

.media-badge strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--green-forest);
  font-size: 0.95rem;
  line-height: 1.3;
}

.media-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.check-list .icon-wrap {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.95rem;
}

.check-list strong {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-forest);
}

/* 11. Cards --------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

/* Category cards (home) */
.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-card:hover,
.category-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.category-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-light);
}

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

.category-card:hover .category-card__media img {
  transform: scale(1.06);
}

.category-card__icon {
  position: absolute;
  left: 1.25rem;
  bottom: -22px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 8px 18px rgba(6, 69, 43, 0.28);
}

.category-card__media-wrap {
  position: relative;
}

.category-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.1rem 1.4rem 1.5rem;
}

.category-card__body h3 {
  margin-bottom: 0.5rem;
}

.category-card__body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

/* Value cards */
.value-card {
  padding: 2rem 1.6rem;
  text-align: left;
  overflow: hidden;
}

.value-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.4rem;
  border-radius: 18px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.65rem;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}

.value-card:hover .value-card__icon {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(-6deg);
}

.value-card h3 {
  margin-bottom: 0.6rem;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Numbered feature list (Why choose) */
.feature-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.35rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

.feature-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.feature-item__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 1.4rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Panel used in split layouts on dark backgrounds */
.why-panel {
  position: relative;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--green-forest);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}

.why-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05);
  z-index: -1;
}

.why-panel h2 {
  color: var(--white);
}

.why-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.why-panel .media-frame {
  margin: 1.75rem 0 0;
  box-shadow: none;
}

.why-panel .media-frame img {
  aspect-ratio: 16 / 10;
}

/* Generic info card (about / quality pages) */
.info-card {
  padding: 2rem 1.75rem;
}

.info-card:hover {
  box-shadow: var(--shadow);
}

.info-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1.5rem;
}

.info-card h3 {
  margin-bottom: 0.6rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card p {
  color: var(--text-muted);
}

.info-card--accent {
  background: var(--green-forest);
  border-color: var(--green-forest);
  color: var(--text-on-dark);
}

.info-card--accent h3 {
  color: var(--white);
}

.info-card--accent p {
  color: rgba(255, 255, 255, 0.84);
}

.info-card--accent .info-card__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.section--forest .info-card--accent {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.section--forest .info-card--accent:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

/* Mission / vision statement cards */
.statement {
  position: relative;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.statement__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--green-forest);
  font-size: 1.25rem;
}

.statement__label .icon-circle {
  width: 46px;
  height: 46px;
  color: var(--green);
}

.statement blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text);
}

/* 12. Quality band & principle lists ------------------------------------ */
.quality-band {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-space);
  overflow: hidden;
  background: var(--green-forest);
}

.quality-band__media,
.quality-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.quality-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 69, 43, 0.25) 0%, rgba(6, 69, 43, 0.55) 100%);
}

.quality-band__card {
  max-width: 600px;
  margin-left: auto;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold);
}

.quality-band .media-label {
  left: 0.75rem;
  right: auto;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.quality-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.quality-points .icon {
  color: var(--green);
  font-size: 1.15rem;
}

.principles {
  counter-reset: principle;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle {
  counter-increment: principle;
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem 5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.principle::before {
  content: counter(principle, decimal-leading-zero);
  position: absolute;
  left: 1.4rem;
  top: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green);
}

.principle:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.principle h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.principle p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Improvement cycle steps */
.cycle {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.cycle__step {
  counter-increment: step;
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cycle__step::before {
  content: "Step " counter(step);
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.cycle__step .icon {
  display: block;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.cycle__step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cycle__step p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* 13. Products catalogue & product details ------------------------------ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

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

.filter-btn[aria-pressed="true"] {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.filter-btn__count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--green-light);
  color: var(--green-dark);
}

.filter-btn[aria-pressed="true"] .filter-btn__count {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.results-meta {
  margin: -0.75rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-light);
}

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

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

.product-card__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.4rem 1.5rem;
}

.product-card__category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.product-card__body h3 {
  margin-bottom: 0.5rem;
}

.product-card__body p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

/* Product details */
.product-detail {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

.pd-gallery__main {
  position: relative;
  margin: 0 0 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-light);
  box-shadow: var(--shadow);
}

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

.pd-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-light);
  transition: border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  opacity: 0.75;
}

.pd-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pd-thumb:hover {
  opacity: 1;
}

.pd-thumb[aria-current="true"] {
  border-color: var(--green-dark);
  opacity: 1;
}

.pd-info__category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  text-decoration: none;
}

.pd-info h1 {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem);
  margin-bottom: 1rem;
}

.spec-list {
  display: grid;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.spec-list > div:nth-child(odd) {
  background: var(--bg-light);
}

.spec-list dt {
  font-weight: 600;
  color: var(--green-forest);
}

.spec-list dd {
  margin: 0;
  color: var(--text-muted);
}

.detail-sections {
  display: grid;
  gap: 1.5rem;
}

.detail-block {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.detail-block h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.detail-block h2 .icon {
  color: var(--green);
}

.detail-block ul:not([class]) {
  margin: 0;
  padding-left: 1.2rem;
}

.detail-block ul:not([class]) li + li {
  margin-top: 0.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table thead th {
  background: var(--green-light);
  color: var(--green-forest);
  font-family: var(--font-heading);
  font-weight: 600;
}

.data-table td {
  color: var(--text-muted);
}

.table-wrap {
  position: relative; /* contains visually-hidden text so it can't widen the page */
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.table-wrap .data-table tbody tr:last-child > * {
  border-bottom: 0;
}

.data-table tbody th {
  font-weight: 600;
  color: var(--green-forest);
}

/* 14. Gallery grid & lightbox ------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-light);
}

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

/* Homepage preview: 2 columns until laptop width, then 4 (see responsive.css) */
.gallery-grid--preview {
  grid-auto-rows: 160px;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: var(--white);
}

.gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter var(--t) var(--ease);
}

.gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 69, 43, 0.85) 0%, rgba(6, 69, 43, 0) 55%);
  opacity: 0.85;
  transition: opacity var(--t) var(--ease);
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
  transform: scale(1.06);
}

.gallery-link:focus-visible {
  outline-offset: -4px;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

.gallery-zoom {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

.gallery-link:hover .gallery-zoom,
.gallery-link:focus-visible .gallery-zoom {
  opacity: 1;
  transform: none;
}

.gallery-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(4, 30, 19, 0.96);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t) var(--ease), visibility 0s;
}

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
}

.lightbox__counter {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
}

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

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

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity var(--t-fast) var(--ease);
}

.lightbox__img.is-loading {
  opacity: 0.2;
}

.lightbox__bottom {
  padding: 0.9rem 1rem 1.25rem;
  text-align: center;
}

.lightbox__caption {
  margin: 0 auto;
  max-width: 760px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.lightbox__credit {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

.lightbox__credit a {
  color: rgba(255, 255, 255, 0.85);
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  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 {
  background: var(--white);
  color: var(--green-forest);
  border-color: var(--white);
}

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

.lightbox__nav--prev {
  left: 0.5rem;
}

.lightbox__nav--next {
  right: 0.5rem;
}

/* 15. CTA & social bands -------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 168, 62, 0.22) 0%, rgba(215, 168, 62, 0) 38%),
    linear-gradient(120deg, var(--green-dark) 0%, var(--green-forest) 100%);
  color: var(--white);
  text-align: center;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-band::before {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -300px;
}

.cta-band::after {
  width: 380px;
  height: 380px;
  right: -120px;
  top: -200px;
  border-width: 50px;
  border-color: rgba(255, 255, 255, 0.04);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  margin-bottom: 0.9rem;
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto 2.2rem;
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .btn-group {
  justify-content: center;
}

.social-band {
  padding-block: 2.5rem;
}

.social-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.social-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1.8rem;
}

.social-card h2 {
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  margin-bottom: 0.35rem;
}

.social-card p {
  margin: 0;
  color: var(--text-muted);
}

/* 16. Forms --------------------------------------------------------------- */
.form-card {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--green-forest);
}

.form-field .req {
  color: var(--danger);
  margin-left: 0.15rem;
}

.form-field .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: var(--bg-light);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.form-control::placeholder {
  color: #6b7b72;
}

.form-control:hover {
  border-color: var(--green);
}

.form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-dark);
  box-shadow: 0 0 0 4px rgba(0, 140, 69, 0.18);
}

textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

.form-control[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.form-control[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15);
}

.field-error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.form-status {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

.form-status .icon {
  font-size: 1.3rem;
  margin-top: 0.1rem;
}

.form-status p {
  margin: 0;
}

.form-status p + p {
  margin-top: 0.35rem;
}

.form-status--success {
  background: var(--green-light);
  border: 1px solid #b7dcc3;
  color: var(--green-forest);
}

.form-status--error {
  background: var(--danger-bg);
  border: 1px solid #f4c3bd;
  color: #7a1a12;
}

.form-status--info {
  background: var(--info-bg);
  border: 1px solid #efd9a5;
  color: #5b4510;
}

.form-status a {
  color: inherit;
  font-weight: 600;
}

.spinner {
  animation: spin 0.9s linear infinite;
}

/* Contact detail list */
.contact-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 1.3rem;
}

.contact-item h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-item p,
.contact-item address {
  margin: 0;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a {
  font-weight: 500;
  word-break: break-word;
}

.map-card {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 69, 43, 0.96), rgba(7, 94, 53, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 22px),
    var(--green-forest);
}

.map-cards {
  display: grid;
  gap: 1.25rem;
}

.map-card h2,
.map-card h3 {
  color: var(--white);
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  margin-bottom: 0.4rem;
}

.map-card h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
}

.map-card address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.86);
}

.map-card__pin {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-forest);
  font-size: 2rem;
  box-shadow: 0 0 0 10px rgba(215, 168, 62, 0.2), 0 0 0 22px rgba(215, 168, 62, 0.08);
}

/* 17. Notices, badges & "awaiting details" placeholders ----------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--green-forest);
  box-shadow: var(--shadow-sm);
}

.badge--gold {
  background: var(--gold);
  color: var(--text);
}

.badge--green {
  background: var(--green-dark);
  color: var(--white);
}

.badge--soft {
  background: var(--green-light);
  color: var(--green-dark);
  box-shadow: none;
}

.badge--glass {
  background: rgba(6, 69, 43, 0.72);
  color: var(--white);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

/* Site-owner notice: marks demonstration / illustrative content */
.notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: var(--info-bg);
  border: 1px solid #efd9a5;
  border-left: 4px solid var(--gold);
  color: #4a3a12;
  font-size: 0.92rem;
  line-height: 1.6;
}

.notice .icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  margin-top: 0.15rem;
  color: #9a7419;
}

.notice p {
  margin: 0;
}

.notice strong {
  color: #3b2e0c;
}

.notice--center {
  max-width: 820px;
  margin-inline: auto;
}

/* Inline placeholder for facts awaiting confirmation from the company */
.tbc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.05rem 0.55rem;
  font-size: 0.9em;
  font-weight: 500;
  font-style: normal;
  color: #6b520f;
  background: var(--gold-tint);
  border: 1px dashed #c99a2e;
  border-radius: 6px;
}

/* Block placeholder for whole sections awaiting company content */
.pending-block {
  padding: 1.5rem;
  border: 2px dashed #d9bf84;
  border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, #fffcf3 0 12px, #fff8e6 12px 24px);
}

.pending-block h3,
.pending-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5b4510;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.pending-block p,
.pending-block li {
  color: #5b4a20;
  font-size: 0.92rem;
}

.pending-block ul {
  margin: 0;
  padding-left: 1.2rem;
}

.pending-block p:last-child {
  margin-bottom: 0;
}

.draft-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b520f;
  background: var(--gold-tint);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.7rem;
}

/* 18. Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--green-forest);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 70%, var(--gold) 70% 100%);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

/* The logo sits on a white plate so its original colours are never altered */
.footer-logo {
  display: inline-block;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-logo img {
  height: 64px;
  width: auto;
  aspect-ratio: 994 / 657;
}

.footer-brand__name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}

.footer-brand__tagline {
  display: block;
  margin: 0.15rem 0 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold);
}

.footer-title {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--white);
}

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

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 32px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer-links a .icon {
  color: var(--gold);
  font-size: 0.85rem;
}

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

.footer-contact {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-contact .icon {
  margin-top: 0.3rem;
  color: var(--gold);
  font-size: 1.05rem;
}

.footer-contact address {
  font-style: normal;
}

.footer-contact__label {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
  color: var(--white);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact .tbc {
  color: #f3dca5;
  background: rgba(215, 168, 62, 0.12);
  border-color: rgba(215, 168, 62, 0.5);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.1rem;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--green-forest);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  font-size: 0.875rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

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

/* 19. Back-to-top, reveal animations, utilities ------------------------- */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(6, 69, 43, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t),
    background-color var(--t-fast) var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s,
    background-color var(--t-fast) var(--ease);
}

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

/* Scroll reveal — only hides content when JS is running (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { --reveal-delay: 0.1s; }
.reveal-d2 { --reveal-delay: 0.2s; }
.reveal-d3 { --reveal-delay: 0.3s; }

/* Breadcrumb bar for pages without a photo banner (product details) */
.crumb-bar {
  padding-block: 1.1rem;
  background: var(--green-light);
  border-bottom: 1px solid var(--border);
}

.breadcrumb--dark {
  margin: 0;
}

.breadcrumb--dark li {
  color: var(--text-muted);
}

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

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

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

/* Company fact sheet (about page) */
.fact-list {
  display: grid;
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--border);
}

.fact-list > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.fact-list dt {
  font-weight: 600;
  color: var(--green-forest);
}

.fact-list dd {
  margin: 0;
  color: var(--text-muted);
}

/* Image credits table */
.credits-table td:first-child {
  width: 120px;
}

.credits-table img {
  width: 104px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.credits-table td {
  vertical-align: middle;
}

.credits-table a {
  word-break: break-word;
}

.nf-actions {
  justify-content: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Print: drop chrome, keep content */
@media print {
  .topbar,
  .site-header,
  .back-to-top,
  .cta-band,
  .social-band,
  .lightbox,
  .nav-backdrop {
    display: none !important;
  }

  .hero,
  .page-banner {
    color: #000;
    background: none;
  }

  .hero::before,
  .page-banner::before,
  .hero__media,
  .page-banner__media {
    display: none;
  }

  .hero h1,
  .page-banner h1 {
    color: #000;
  }
}
