/* ==========================================================================
   CRESTLINE ENTERPRISES PRIVATE LIMITED — Corporate Stylesheet
   --------------------------------------------------------------------------
   Mobile-first. Breakpoints: 768px (tablet), 1200px (desktop).
   Palette is strictly plum / charcoal / champagne / ivory / mauve.
   No gradients, no blue, orange, brown or green anywhere.

   Contents
   01. Tokens
   02. Reset & base
   03. Layout utilities
   04. Typography helpers
   05. Buttons
   06. Header & navigation
   07. Hero
   08. About & stats
   09. Cards (verticals, USPs)
   10. Product divisions (tiles)
   11. Supply programmes, flow diagram & table
   12. Import & export / world map
   13. Infrastructure
   14. Partnerships
   15. Governance
   16. Sectors
   17. Testimonials carousel
   18. Insights
   19. Contact & form
   20. Footer
   21. Back to top
   22. Scroll reveal & motion
   ========================================================================== */

/* 01. Tokens ============================================================== */
:root {
  --primary-dark: #1F1B1E;     /* Deep warm charcoal */
  --primary-mid: #2A2529;      /* Slightly lighter charcoal */
  --brand: #4A2545;            /* Deep plum / aubergine — main brand */
  --brand-light: #63335C;      /* Lighter plum for hover states */
  --accent: #C5A059;           /* Champagne gold */
  --accent-light: #D8B879;     /* Lighter champagne for hover */
  --bg-ivory: #F7F4F1;         /* Soft ivory background */
  --bg-pearl: #F2EDE8;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #565056;
  --text-light: #D6D0D2;
  --border-soft: #E5DEDC;
  --border-field: #CFC6C8;
  --muted-accent: #B99BA8;     /* Dusty mauve */
  --plum-tint: #F4EEF2;        /* Very light plum wash for selected states */
  --error: #9B2B4B;            /* Deep rose — error state within the plum family */

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 14px 36px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 2px 16px rgba(0, 0, 0, 0.09);

  --font-heading: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --radius-lg: 6px;
  --container: 1240px;
  --gutter: 16px;
  --section-pad: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Height of the sticky header once compacted; used for anchor offsets. */
  --header-compact: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --section-pad: 88px; }
}

@media (min-width: 1200px) {
  :root { --gutter: 32px; --section-pad: 104px; --header-compact: 114px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-compact);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-locked { overflow: hidden; }

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-light); }

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

address { font-style: normal; }

/* Photography: responsive, cropped to its frame, reserved space via width/height attrs */
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-pearl);
}

::selection { background: var(--brand); color: var(--accent-light); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 12px 18px;
  background: var(--brand);
  color: var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--accent); }

/* 03. Layout utilities ==================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }
.section--ivory    { background: var(--bg-ivory); }
.section--white    { background: var(--bg-white); }
.section--dark     { background: var(--primary-dark); color: var(--text-light); }
.section--dark-mid { background: var(--primary-mid); color: var(--text-light); }
.section--plum     { background: var(--brand); color: var(--text-light); }

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .card-grid--4,
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .card-grid { gap: 24px; }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* 04. Typography helpers ================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--light { color: var(--accent); }

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: .01em;
  color: var(--brand);
}
.section-title--light { color: var(--bg-ivory); }

.rule {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin: 20px 0 24px;
}
.rule--center { margin-inline: auto; }

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-intro { color: var(--text-muted); font-size: 1.05rem; }
.section-intro--light,
.text-light { color: var(--text-light); }

.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}

p + p { margin-top: 14px; }

.note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 40px;
  padding: 18px 22px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .95rem;
}
.note i { color: var(--brand); font-size: 1.1rem; margin-top: 3px; }
.note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

.note--light {
  background: var(--primary-mid);
  border-color: rgba(197, 160, 89, .2);
  border-left-color: var(--accent);
  color: var(--text-light);
}
.note--light i { color: var(--accent); }

/* 05. Buttons ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: .9em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }

.btn--plum { background: var(--brand); color: var(--accent); border-color: var(--brand); }
.btn--plum:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--accent-light); }

.btn--gold { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.btn--gold:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--primary-dark); }

.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--accent); }

.btn--outline-light { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--outline-light:hover { background: var(--accent); color: var(--primary-dark); }

.btn[disabled] { opacity: .7; cursor: progress; }

/* 06. Header & navigation ================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); }

.header-bar { border-bottom: 1px solid var(--border-soft); }

.header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  transition: min-height .3s var(--ease);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--primary-dark);
}
.brand:hover { color: var(--primary-dark); }

.brand__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  transition: width .3s var(--ease), height .3s var(--ease);
}

.brand__text { display: flex; flex-direction: column; min-width: 0; }

.brand__name {
  font-family: var(--font-heading);
  font-size: .95rem;
  letter-spacing: .06em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand__tagline {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

@media (min-width: 400px) {
  .brand__name { font-size: 1.05rem; letter-spacing: .08em; }
  .brand__tagline { font-size: .66rem; letter-spacing: .14em; }
}

/* margin-left:auto groups the CTA with the hamburger on the right at tablet widths */
.header-actions { display: none; align-items: center; gap: 12px; margin-left: auto; }
.header-actions > :not(.btn--plum) { display: none; }

/* Hamburger toggle */
.nav-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.nav-toggle:hover { border-color: var(--brand); }

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile / tablet: slide-down panel using the grid-rows technique */
.primary-nav {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--primary-dark);
  transition: grid-template-rows .4s var(--ease);
}
.primary-nav.is-open { grid-template-rows: 1fr; }

.primary-nav__panel {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .4s;
}
.primary-nav.is-open .primary-nav__panel { visibility: visible; transition-delay: 0s; }

.primary-nav__panel > .container {
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-block: 8px 20px;
}

.nav-list { display: grid; grid-template-columns: 1fr; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(214, 208, 210, .08);
  color: var(--text-light);
  font-weight: 600;
  font-size: .95rem;
  transition: color .2s;
}
.nav-link:hover,
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--accent);
}

.nav-link--cta {
  justify-content: center;
  margin-top: 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
}
.nav-link--cta:hover { background: var(--accent); color: var(--primary-dark); }

.nav-mobile-ctas { display: grid; gap: 10px; margin-top: 12px; }

@media (min-width: 768px) {
  .header-actions { display: flex; }
  .nav-list { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .nav-link--cta { grid-column: 1 / -1; }
  /* The bulk-quote CTA is already visible in the brand bar at this width */
  .nav-mobile-ctas .btn--plum { display: none; }
}

/* Desktop: two-tier header — brand bar + always-visible nav band */
@media (min-width: 1200px) {
  .header-bar__inner { min-height: 80px; }
  .site-header.is-scrolled .header-bar__inner { min-height: 64px; }
  .brand__mark { width: 46px; height: 46px; }
  .site-header.is-scrolled .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.2rem; }
  .brand__tagline { font-size: .7rem; }

  .header-actions > :not(.btn--plum) { display: inline-flex; }
  .nav-toggle { display: none; }

  .primary-nav { display: block; }
  .primary-nav__panel { visibility: visible; overflow: visible; }
  .primary-nav__panel > .container { max-height: none; overflow: visible; padding-block: 0; }

  .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 0;
  }
  .nav-link {
    min-height: 50px;
    padding: 0 11px;
    border-bottom: 0;
    font-size: .84rem;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav-link:hover::after,
  .nav-link.is-active::after { transform: scaleX(1); }
  .nav-link.is-active::before { display: none; }

  .nav-link--cta {
    min-height: 34px;
    margin: 0 0 0 10px;
    padding: 0 16px;
    background: var(--accent);
    color: var(--primary-dark);
  }
  .nav-link--cta::after { display: none; }
  .nav-link--cta:hover { background: var(--accent-light); color: var(--primary-dark); }

  .nav-mobile-ctas { display: none; }
}

/* 07. Hero ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--text-light);
  padding-block: 72px 64px;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__content { position: relative; z-index: 1; max-width: 760px; }

.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: .005em;
  color: var(--bg-ivory);
}
.hero__title-accent { display: block; color: var(--accent); margin-top: 6px; }

.hero__subtitle {
  margin-top: 24px;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}

/* Single-column grids: let long content shrink rather than overflow */
.hero__inner, .about, .programmes, .trade, .infra, .partners, .governance, .contact {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 479px) {
  .btn { white-space: normal; }
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(197, 160, 89, .25);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.trust-strip li { display: inline-flex; align-items: center; gap: 10px; }
.trust-strip i { color: var(--accent); }

/* Hero photo: stacked under the copy below desktop, right column above */
.hero__media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
}

.hero__visual {
  position: relative;
  width: calc(100% - 16px); /* leave room for the outline frame */
  aspect-ratio: 1024 / 835;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, .45);
  border-radius: var(--radius-lg);
  outline: 1px solid rgba(197, 160, 89, .3);  /* flat gallery-style double frame */
  outline-offset: 8px;
  margin: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

/* Floating credential labels over the hero photo */
.float-label {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--bg-white);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  line-height: 1.2;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-label strong { display: block; font-size: .9rem; font-weight: 800; color: var(--brand); }
.float-label small {
  display: block;
  margin-top: 2px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.float-label__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--accent);
  font-size: .85rem;
}

.float-label--tl { top: 10%; left: 0; }
.float-label--mr { top: 46%; right: 0; animation-delay: -2s; display: none; }
.float-label--bl { bottom: 8%; left: 6%; animation-delay: -4s; }
.float-label--chip {
  top: 20px;
  right: 24px;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(31, 27, 30, .88);
  border: 1px solid rgba(197, 160, 89, .5);
  color: var(--bg-ivory);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  animation: none;
  display: none; /* would crowd the other labels on phones */
}
.float-label--chip i { color: var(--accent); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (min-width: 480px) {
  .float-label--mr,
  .float-label--chip { display: flex; }
}

@media (min-width: 768px) {
  .float-label { gap: 12px; padding: 10px 18px 10px 10px; }
  .float-label strong { font-size: 1.05rem; }
  .float-label small { font-size: .68rem; }
  .float-label__icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 1rem; }
}

@media (min-width: 768px) {
  .hero { padding-block: 96px 80px; }
  .hero__subtitle { font-size: 1.15rem; }
}

@media (min-width: 1200px) {
  .hero { padding-block: 112px 96px; }
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .hero__title { font-size: 3.35rem; }
  .hero__media { max-width: 600px; justify-self: end; }
  /* Labels break out of the frame on desktop */
  .float-label--tl { left: -36px; }
  .float-label--mr { right: -28px; }
  .float-label--bl { left: -20px; bottom: 10%; }
}

/* 08. About & stats ======================================================= */
.about { display: grid; gap: 48px; align-items: center; }
.about__text p:not(.lead):not(.eyebrow) { color: var(--text-muted); }

.tick-list {
  display: grid;
  gap: 12px 24px;
  margin-top: 28px;
  font-weight: 600;
  font-size: .95rem;
}
.tick-list li { display: flex; align-items: center; gap: 12px; }
.tick-list i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: .7rem;
  color: var(--accent);
  background: var(--brand);
  border-radius: var(--radius);
}

/* "At a Glance" stats panel */
.glance {
  position: relative;
  padding: 28px 24px 24px;
  background-color: var(--primary-dark);
  /* Flat SVG grid texture (not a gradient) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0V40' fill='none' stroke='%23C5A059' stroke-opacity='.07'/%3E%3C/svg%3E");
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  color: var(--text-light);
}

.glance__eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.glance__title {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--bg-ivory);
}

.glance__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  border-top: 1px solid rgba(214, 208, 210, .14);
}

.glance__item {
  min-width: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(214, 208, 210, .14);
}
.glance__item:nth-child(odd)  { padding-right: 16px; border-right: 1px solid rgba(214, 208, 210, .14); }
.glance__item:nth-child(even) { padding-left: 20px; }
.glance__item:nth-last-child(-n + 2) { border-bottom: 0; padding-bottom: 6px; }

.glance__value {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--bg-ivory);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.glance__plus { margin-left: 2px; font-size: .6em; color: var(--accent); vertical-align: top; }

.glance__meta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px !important;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.glance__meta i { flex: 0 0 auto; margin-top: 1px; color: var(--accent); font-size: .85rem; }

.glance__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(197, 160, 89, .3);
  font-size: .86rem;
  color: var(--text-light);
}
.glance__foot i { color: var(--accent); }

@media (min-width: 480px) {
  .tick-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .glance { padding: 36px 36px 28px; }
  .glance__title { font-size: 1.7rem; }
  .glance__item { padding-block: 28px; }
  .glance__item:nth-child(odd) { padding-right: 24px; }
  .glance__item:nth-child(even) { padding-left: 32px; }
  .glance__meta { font-size: .74rem; }
}

@media (min-width: 1200px) {
  .about { grid-template-columns: 6fr 5fr; gap: 72px; }
}

/* 09. Cards (verticals, USPs) ============================================= */
/* Icon sits in front of the title on every card */
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.card-head > i,
.card-head > .icon-box,
.card-head > .tile__icon { flex: 0 0 auto; margin: 0 !important; }
.card-head > h3,
.card-head > p { margin: 0 !important; min-width: 0; }

.card,
.usp {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover,
.usp:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}
.card p,
.usp p { color: var(--text-muted); font-size: .95rem; }
.card { padding-bottom: 44px; } /* room for the corner number */

.card__num {
  position: absolute;
  bottom: 16px;
  right: 22px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--muted-accent);
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--brand);
  background: var(--bg-ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.card:hover .icon-box,
.usp:hover .icon-box { background: var(--brand); color: var(--accent); border-color: var(--brand); }

.card__title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.usp { border-top: 3px solid var(--brand); }
.usp:hover { border-top-color: var(--accent); }

/* 10. Product divisions (tiles) =========================================== */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tile {
  padding: 26px 22px;
  background: var(--primary-mid);
  border: 1px solid rgba(197, 160, 89, .18);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--accent); }

.tile__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  font-size: 1.15rem;
  color: var(--accent);
  border: 1px solid rgba(197, 160, 89, .45);
  border-radius: 50%;
}
.tile__title { font-size: 1.02rem; font-weight: 700; color: var(--bg-ivory); margin-bottom: 8px; line-height: 1.35; }
.tile p { font-size: .92rem; color: var(--text-light); opacity: .88; }

@media (min-width: 600px) { .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* 11. Supply programmes, flow diagram & table ============================= */
.programmes { display: grid; gap: 28px; }

.programme-grid { display: grid; gap: 16px; }

.programme {
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.programme:hover { border-left-color: var(--accent); box-shadow: var(--shadow); }
.programme__icon { font-size: 1.2rem; color: var(--brand); }
.programme__title { font-size: 1.02rem; font-weight: 700; }
.programme p { color: var(--text-muted); font-size: .94rem; }

.flow {
  padding: 28px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.flow__caption {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.flow__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.flow__step {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
}

.flow__node {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  font-size: 1.4rem;
  color: var(--brand);
  background: var(--bg-ivory);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
}
.flow__node svg { width: 34px; height: 34px; }

.flow__step--brand .flow__node {
  width: 76px;
  height: 76px;
  color: var(--accent);
  background: var(--brand);
  border: 3px solid var(--accent);
}

.flow__label { font-weight: 800; font-size: .95rem; color: var(--text-dark); }
.flow__step--brand .flow__label { color: var(--brand); }
.flow__desc { font-size: .8rem; color: var(--text-muted); max-width: 140px; }

.flow__arrow { display: grid; place-items: center; height: 34px; color: var(--muted-accent); }
.flow__arrow svg { width: 30px; transform: rotate(90deg); }

.flow__cta { display: flex; justify-content: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-soft); }

@media (min-width: 600px) {
  .programme-grid { grid-template-columns: repeat(2, 1fr); }
  .flow__steps { flex-direction: row; justify-content: center; align-items: flex-start; }
  .flow__arrow { height: auto; margin-top: 26px; flex: 0 1 44px; min-width: 20px; }
  .flow__arrow svg { width: 100%; transform: none; }
}

@media (min-width: 1200px) {
  .programmes { gap: 24px; }
  .programme-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  /* Flow becomes a single horizontal band: caption + steps | CTA */
  .flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 40px;
    padding: 28px 36px;
  }
  .flow__caption { grid-column: 1 / -1; text-align: left; margin-bottom: 20px; }
  .flow__steps { justify-content: space-between; }
  .flow__arrow { flex: 1 1 60px; max-width: 120px; }
  .flow__desc { max-width: 160px; }
  .flow__cta { margin: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--border-soft); align-self: stretch; align-items: center; }
}

/* Tables — scroll horizontally on small screens */
.table-block { margin-top: 56px; }
.table-block__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--brand);
  margin-bottom: 18px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  scrollbar-color: var(--muted-accent) var(--bg-ivory);
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .92rem;
}
.data-table th,
.data-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }
.data-table thead th {
  background: var(--primary-dark);
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody th { font-weight: 700; color: var(--brand); white-space: nowrap; }
.data-table tbody td { color: var(--text-muted); }
.data-table tbody tr:nth-child(even) { background: var(--bg-ivory); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--plum-tint); }

.table-note { margin-top: 12px; font-size: .85rem; color: var(--text-muted); font-style: italic; }

/* 12. Import & export / world map ========================================= */
.trade { display: grid; gap: 48px; align-items: center; }

.check-grid {
  display: grid;
  gap: 12px 24px;
  margin: 28px 0 36px;
}
.check-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--primary-mid);
  border: 1px solid rgba(197, 160, 89, .16);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  color: var(--bg-ivory);
}
.check-grid i { color: var(--accent); }

.trade__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(197, 160, 89, .25);
  border-radius: var(--radius-lg);
}
.trade__photo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  margin: 12px;
  padding: 10px 14px;
  background: rgba(31, 27, 30, .86);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 600;
  color: var(--bg-ivory);
}
.trade__photo-caption i { color: var(--accent); }

@media (min-width: 768px) {
  .trade__photo-caption { margin: 20px; font-size: .9rem; }
}

@media (min-width: 600px) {
  .check-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
  .trade { grid-template-columns: 5fr 7fr; gap: 64px; }
  .trade__photo { aspect-ratio: 4 / 3; }
}

/* 13. Infrastructure ====================================================== */
.infra { display: grid; gap: 48px; align-items: start; }
.infra__text > p:not(.lead):not(.eyebrow) { color: var(--text-muted); }

.hub-callout {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 22px;
  background: var(--bg-ivory);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.hub-callout > i { font-size: 1.4rem; color: var(--brand); margin-top: 2px; }
.hub-callout__title { font-weight: 800; color: var(--brand); }
.hub-callout__text { margin-top: 4px !important; font-size: .92rem; color: var(--text-muted); }

.cap-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.cap-card {
  padding: 24px 22px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.cap-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--bg-white); }
.cap-card > i { font-size: 1.5rem; color: var(--brand); margin-bottom: 14px; }
.cap-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.cap-card p { font-size: .9rem; color: var(--text-muted); }

@media (min-width: 560px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cap-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1200px) {
  .infra { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 14. Partnerships ======================================================== */
.partners { display: grid; gap: 48px; align-items: start; }
.partners__intro .btn { margin-top: 28px; }

.role-list { display: grid; gap: 14px; }

.role {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(31, 27, 30, .28);
  border: 1px solid rgba(197, 160, 89, .25);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.role:hover { border-color: var(--accent); background: rgba(31, 27, 30, .45); transform: translateY(-3px); }
.role > i {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: var(--accent);
  border: 1px solid rgba(197, 160, 89, .5);
  border-radius: var(--radius);
}
.role h3 { font-size: 1rem; font-weight: 700; color: var(--bg-ivory); margin-bottom: 4px; }
.role p { font-size: .88rem; color: var(--text-light); }

@media (min-width: 768px) {
  .role-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .role--wide { grid-column: 1 / -1; }
}

@media (min-width: 1200px) {
  .partners { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
}

/* 15. Governance ========================================================== */
.governance { display: grid; gap: 28px; align-items: start; }

.identity {
  padding: 28px 24px;
  background: var(--primary-dark);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}
.identity__row { padding-block: 14px; border-bottom: 1px solid rgba(214, 208, 210, .12); }
.identity__row:first-child { padding-top: 0; }
.identity__row:last-child { padding-bottom: 0; border-bottom: 0; }
.identity dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.identity dd { color: var(--bg-ivory); font-weight: 500; }

.gov-list { display: grid; gap: 16px; }

.gov-item {
  display: flex;
  gap: 18px;
  padding: 24px 22px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.gov-item > i {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  color: var(--brand);
  background: var(--bg-ivory);
  border: 1px solid var(--muted-accent);
  border-radius: var(--radius);
}
.gov-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; line-height: 1.35; }
.gov-item p { font-size: .9rem; color: var(--text-muted); }

@media (min-width: 768px) { .gov-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1200px) { .governance { grid-template-columns: 4fr 8fr; gap: 32px; } }

/* 16. Sectors ============================================================= */
.sector-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

.sector {
  padding: 28px 24px;
  background: var(--primary-dark);
  border: 1px solid rgba(197, 160, 89, .15);
  border-bottom: 2px solid var(--brand-light);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.sector:hover { transform: translateY(-4px); border-color: var(--accent); }
.sector > i { font-size: 1.6rem; color: var(--accent); margin-bottom: 16px; }
.sector h3 { font-size: 1.05rem; font-weight: 700; color: var(--bg-ivory); margin-bottom: 6px; }
.sector p { font-size: .92rem; color: var(--text-light); opacity: .88; }

@media (min-width: 600px) { .sector-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .sector-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* 17. Testimonials carousel =============================================== */
.carousel { max-width: 880px; margin-inline: auto; }

.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); }

.carousel__track {
  display: flex;
  transition: transform .7s var(--ease);
  touch-action: pan-y;
}

.testimonial {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  padding: 36px 24px 30px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.testimonial__mark { font-size: 2.4rem; color: var(--accent); }

.stars { display: flex; gap: 4px; margin: 18px 0 14px; color: var(--accent); font-size: .95rem; }

.testimonial__quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, .95rem + .8vw, 1.45rem);
  line-height: 1.55;
  color: var(--text-dark);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .06em;
}
.testimonial__name { display: block; font-weight: 800; color: var(--text-dark); }
.testimonial__role { display: block; font-size: .88rem; color: var(--text-muted); }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }

.carousel__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: transparent;
  color: var(--brand);
  transition: background-color .25s, color .25s;
}
.carousel__btn:hover { background: var(--brand); color: var(--accent); }

.carousel__dots { display: flex; }
.carousel__dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.carousel__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--muted-accent);
  transition: width .3s var(--ease), background-color .3s;
}
.carousel__dot[aria-current="true"]::before { width: 26px; background: var(--brand); }

/* Without JS: horizontally scrollable list of testimonials */
.no-js .carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .testimonial { scroll-snap-align: start; }
.no-js .carousel__controls { display: none; }

@media (min-width: 768px) {
  .testimonial { padding: 48px 56px 40px; }
}

/* 18. Insights ============================================================ */
.insight {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.insight:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--accent); }

.insight > picture { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.insight__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-pearl);
  transition: transform .6s var(--ease);
}
.insight:hover .insight__img { transform: scale(1.04); }

.insight__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.insight__meta { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.insight__meta span { color: var(--brand); }
.insight__title { font-size: 1.12rem; font-weight: 700; line-height: 1.4; }
.insight:hover .icon-box { background: var(--brand); color: var(--accent); border-color: var(--brand); }
.insight__body > p:not(.insight__meta) { font-size: .93rem; color: var(--text-muted); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-top: 14px;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  color: var(--brand);
}
.read-more i { transition: transform .25s var(--ease); color: var(--accent); }
.read-more:hover { color: var(--brand-light); text-decoration: underline; text-underline-offset: 4px; }
.read-more:hover i { transform: translateX(4px); }

/* 19. Contact & form ====================================================== */
.contact { display: grid; gap: 28px; align-items: start; }

.form-card {
  padding: 24px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-compact) + 16px);
}

.form-grid { display: grid; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label,
.checkbox-group legend { font-size: .88rem; font-weight: 700; color: var(--text-dark); }
.req { color: var(--error); }
.hint { font-weight: 500; color: var(--text-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #FCFBFA;
  border: 1px solid var(--border-field);
  border-radius: var(--radius);
  color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #8A8288; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--bg-white);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(74, 37, 69, .15);
}

/* Keep browser autofill inside the palette */
.field input:-webkit-autofill,
.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-ivory) inset;
  -webkit-text-fill-color: var(--text-dark);
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--error); background: #FBF4F6; }
.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(155, 43, 75, .16); }

.field-error { min-height: 0; font-size: .82rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.field-error::before { content: "\f06a"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 6px; }

.checkbox-group { margin: 0; padding: 0; border: 0; }
.checkbox-group legend { padding: 0; margin-bottom: 10px; }

.checkbox-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.check:hover { border-color: var(--muted-accent); }
.check input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.check:has(input:checked) { border-color: var(--brand); background: var(--plum-tint); font-weight: 600; }
.check:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.selection-count { margin-top: 10px; font-size: .82rem; color: var(--text-muted); }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.form-note { font-size: .82rem; color: var(--text-muted); flex: 1 1 240px; }
.form-footer .btn { flex: 1 1 auto; }

.form-status:empty { display: none; }
.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: .94rem;
  outline: none;
}
.form-status.is-success { background: var(--plum-tint); border-left: 3px solid var(--brand); color: var(--text-dark); }
.form-status.is-error { background: #FBF4F6; border-left: 3px solid var(--error); color: var(--error); }
.form-status strong { color: var(--brand); }

.enquiry-context {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-left: 14px;
  background: var(--bg-ivory);
  border: 1px solid var(--muted-accent);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text-muted);
}
.enquiry-context[hidden] { display: none; }
.enquiry-context > i { color: var(--brand); }
.enquiry-context strong { color: var(--brand); }
.enquiry-context__clear {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
}
.enquiry-context__clear:hover { color: var(--brand); }

.contact-card {
  padding: 28px 24px;
  background: var(--primary-dark);
  color: var(--text-light);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}
.contact-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; }
.contact-list i { flex: 0 0 20px; margin-top: 5px; color: var(--accent); text-align: center; }
.contact-list a { color: var(--text-light); word-break: break-word; }
.contact-list a:hover { color: var(--accent); }

.map-frame {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-pearl);
}
.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  /* Neutralise map colours so the embed stays inside the palette */
  filter: grayscale(1) contrast(1.05);
}

@media (min-width: 480px) { .checkbox-grid { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 768px) {
  .form-card { padding: 36px 32px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 20px 22px; }
  .field--full { grid-column: 1 / -1; }
  .checkbox-grid { grid-template-columns: repeat(3, 1fr); }
  .form-footer .btn { flex: 0 0 auto; }
  .contact-card { padding: 32px; }
}

@media (min-width: 1200px) {
  .contact { grid-template-columns: 7fr 5fr; gap: 32px; }
  .contact-info { position: sticky; top: calc(var(--header-compact) + 24px); }
}

/* 20. Footer ============================================================== */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding-top: 48px;
  font-size: .9rem;
}

.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 36px; }

.brand--footer { color: var(--bg-ivory); margin-bottom: 14px; }
.brand--footer:hover { color: var(--bg-ivory); }
.brand--footer .brand__tagline { color: var(--accent); }
.footer-brand > p { max-width: 340px; opacity: .88; }

.footer-title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197, 160, 89, .25);
}

.footer-col li { padding-block: 3px; }
.footer-list--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-contact li { padding-block: 5px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-light); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { flex: 0 0 16px; margin-top: 5px; color: var(--accent); }
.footer-contact a { min-height: 0; word-break: break-word; }

.footer-bottom { border-top: 1px solid rgba(214, 208, 210, .12); }
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 16px;
  font-size: .8rem;
  color: var(--text-light);
  opacity: .85;
}
.footer-bottom__inner p { margin: 0; }

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .footer-bottom__inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1200px) {
  .footer-grid { grid-template-columns: 1.3fr 1.3fr 1.1fr 1.2fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-col a { min-height: 26px; }
  .footer-col li { padding-block: 2px; }
}

/* 21. Back to top ========================================================= */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--accent);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s, background-color .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--brand-light); color: var(--accent-light); }

/* 22. Scroll reveal & motion ============================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hover-lift cards must not inherit the reveal's slower transform timing */
.js .reveal.is-visible.card,
.js .reveal.is-visible.usp,
.js .reveal.is-visible.tile,
.js .reveal.is-visible.cap-card,
.js .reveal.is-visible.sector,
.js .reveal.is-visible.role,
.js .reveal.is-visible.insight {
  transition: opacity .8s var(--ease), transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
