/* ============================================================
   ATLANTIX INTERNATIONAL, Connecting Global Trade
   Light UI: white and cool grey carry the page, navy for
   structure and type, gold as a fine accent only.
   Display: Playfair Display · Body: Archivo · Data: IBM Plex Mono
   ============================================================ */

:root {
  /* Brand */
  --navy-950: #061228;
  --navy-900: #081733;
  --navy: #0A1F44;
  --steel: #1B3B6F;
  --steel-light: #2A4E8A;
  --gold: #C9A24B;
  --gold-deep: #A8802F;
  --gold-light: #DDBC72;
  --gold-wash: #FAF5EA;

  /* Surfaces, the page is built from these, not from navy */
  --paper: #FFFFFF;
  --mist: #F7F9FC;
  --cloud: #EFF3F8;
  --line: #E4EAF2;
  --line-soft: #EDF1F6;
  --line-navy: rgba(255, 255, 255, 0.14);

  /* Type */
  --ink: #26314A;
  --slate: #64708A;
  --slate-light: #8B95A9;

  /* Validation, a muted brick that sits beside the gold without shouting.
     --error-ink is the darker tone used for text on --error-wash. */
  --error: #B02A2A;
  --error-ink: #8C1F1F;
  --error-wash: #FDF4F3;

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Archivo", "Segoe UI", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  --shadow-xs: 0 1px 2px rgba(16, 32, 64, 0.05);
  --shadow-sm: 0 2px 6px rgba(16, 32, 64, 0.06), 0 1px 2px rgba(16, 32, 64, 0.04);
  --shadow-md: 0 10px 28px rgba(16, 32, 64, 0.08), 0 2px 8px rgba(16, 32, 64, 0.05);
  --shadow-lg: 0 22px 54px rgba(12, 26, 54, 0.13), 0 6px 16px rgba(12, 26, 54, 0.07);

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --nav-h: 84px;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 1.0425rem;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  color: var(--navy);
}

h1 { font-size: clamp(2.3rem, 4.5vw, 3.65rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.008em; }
h3 { font-size: 1.28rem; }

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

::selection { background: var(--navy); color: #fff; }

/* ---------- Utilities ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding: clamp(4.5rem, 8.5vw, 7.5rem) 0; }
.section--tint { background: var(--mist); }
.section--tint + .section--tint { padding-top: 0; }

/* Manifest-style eyebrow with a gold tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }

/* Inverted contexts */
.cta-band .eyebrow,
.section--navy .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before,
.section--navy .eyebrow::before { background: var(--gold-light); }

.section-head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--slate); }

.gold-rule {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border: none;
  margin: 1.35rem 0 0;
}
.section-head--center .gold-rule { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.9rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.015em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.22);
}
.btn--navy:hover {
  background: var(--steel);
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(10, 31, 68, 0.28);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(201, 162, 75, 0.32);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(201, 162, 75, 0.42);
}

/* Secondary on light ground */
.btn--outline {
  border-color: var(--line);
  background: var(--paper);
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--outline-gold {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: transparent;
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 162, 75, 0.28);
}

/* Secondary on navy ground */
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn--sm { padding: 0.68rem 1.35rem; font-size: 0.875rem; }

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 26px rgba(16, 32, 64, 0.09);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
  transition: opacity 0.25s var(--ease);
}
.brand:hover { opacity: 0.82; }
.brand__mark { height: 54px; width: auto; flex: none; }
.brand__word { height: 32px; width: auto; flex: none; }

.nav-drawer-head, .nav-drawer-foot { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
}
.nav-links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--slate);
  padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--navy); font-weight: 600; }
.nav-links a.is-active::after { transform: scaleX(1); }

.navbar .btn { flex: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared light banner (hero + interior page heads) ---------- */

.hero,
.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 82% 0%, rgba(42, 78, 138, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 6% 100%, rgba(201, 162, 75, 0.09) 0%, transparent 62%),
    linear-gradient(178deg, var(--paper) 0%, var(--cloud) 100%);
}

/* Fine dot texture keeps the light ground from reading as flat */
.hero::before,
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 31, 68, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 80%);
  pointer-events: none;
}

.hero::after,
.page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.5;
}

/* ---------- Page head (interior pages) ---------- */

.page-head { padding: clamp(3.5rem, 7vw, 5.75rem) 0 clamp(3rem, 6vw, 4.75rem); }
.page-head > .container { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); }
.page-head p:not(.eyebrow) {
  margin-top: 1.05rem;
  max-width: 600px;
  color: var(--slate);
  font-size: 1.05rem;
}
.page-head .routes-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }

/* ---------- Hero ---------- */

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero h1 { margin-bottom: 1.35rem; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }

.hero__lede {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }

.hero__globe { position: relative; display: grid; place-items: center; }
.hero__orbit { width: 100%; height: auto; grid-area: 1 / 1; }
.hero__emblem {
  grid-area: 1 / 1;
  width: 64%;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(12, 26, 54, 0.16));
}

/* Route dash animation */
.route-arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
  opacity: 0.7;
  animation: route-flow 30s linear infinite;
}
@keyframes route-flow { to { stroke-dashoffset: -330; } }

.port-dot { fill: var(--gold-deep); }
.port-pulse {
  fill: none;
  stroke: var(--gold);
  opacity: 0.55;
  animation: port-pulse 3.2s var(--ease) infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes port-pulse {
  0% { transform: scale(0.4); opacity: 0.75; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Stats: elevated white card inside the hero ---------- */

.stats-bar { position: relative; z-index: 3; padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 3vw, 2.3rem) clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
}

.stat { text-align: center; padding: 0.35rem 1rem; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: none; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 2.85rem);
  color: var(--navy);
  line-height: 1;
}
.stat__num sup { font-size: 0.48em; color: var(--gold-deep); margin-left: 2px; top: -0.55em; position: relative; }
.stat__label {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.655rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* ---------- Split / vision ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split__copy p:not(.eyebrow) { color: var(--slate); margin-top: 1.15rem; }
.split__copy p strong { color: var(--navy); font-weight: 600; }

.split__visual { position: relative; }
.split__visual svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.vision-quote {
  margin-top: 2rem;
  padding-left: 1.35rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--navy);
  line-height: 1.5;
}
.vision-quote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cat-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.85rem 1.9rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #D8E1EE; }
.cat-card:hover::before { transform: scaleX(1); }

.cat-card__icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold-wash);
  border: 1px solid rgba(201, 162, 75, 0.28);
  color: var(--gold-deep);
  margin-bottom: 1.3rem;
}
.cat-card__icon svg { width: 25px; height: 25px; }

.cat-card h3 { margin-bottom: 0.55rem; }
.cat-card p { font-size: 0.94rem; color: var(--slate); }

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy);
}
.cat-card__link svg { width: 15px; height: 15px; color: var(--gold-deep); transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }

/* Why choose us */

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.3rem 2rem; }
.why-item { display: flex; gap: 1.15rem; align-items: flex-start; }
.why-item__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 5px 14px rgba(10, 31, 68, 0.2);
}
.why-item__icon svg { width: 23px; height: 23px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.92rem; color: var(--slate); }

/* Partner strip */

.partner-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 0; background: var(--paper); }
.partner-strip__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* --slate-light lands at ~3:1 here; at this size it needs the full 4.5:1. */
  color: var(--slate);
  margin-bottom: 1.7rem;
}
.partner-strip__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* Tight enough that all six badges hold one line at container width,
     at 1.5rem the last one dropped alone onto a second row. */
  gap: 1rem 1.1rem;
}
.partner-strip__row li {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--slate);
  transition: color 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
}
.partner-strip__row li:hover { color: var(--navy); }
.partner-strip__row li + li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.65;
}

/* ---------- CTA band, the one deep navy moment ---------- */

.cta-band {
  position: relative;
  background:
    radial-gradient(ellipse 70% 130% at 50% -30%, rgba(42, 78, 138, 0.55) 0%, transparent 62%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%);
  text-align: center;
  padding: clamp(4rem, 8vw, 6.25rem) 0;
  overflow: hidden;
}
.cta-band h2 { color: #fff; max-width: 620px; margin: 0 auto 1rem; }
.cta-band p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); max-width: 520px; margin: 0 auto 2.1rem; }

/* ---------- Products ---------- */

.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2.5rem; }
.filter-tab {
  padding: 0.58rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--slate);
  font-size: 0.87rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.filter-tab:hover { border-color: var(--navy); color: var(--navy); }
.filter-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card.is-hidden { display: none; }

.product-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--mist) 0%, var(--cloud) 100%);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--steel);
  overflow: hidden;
}
.product-card__media > svg.icon-lg {
  width: 52px; height: 52px;
  position: relative;
  z-index: 2;
  transition: transform 0.35s var(--ease);
}
.product-card:hover .product-card__media > svg.icon-lg { transform: scale(1.08); }
.product-card__media .media-arc { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }

.product-card__body { padding: 1.45rem 1.5rem 1.65rem; display: flex; flex-direction: column; flex: 1; }
.product-card__tag {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.product-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.product-card p:not(.product-card__tag) { font-size: 0.91rem; color: var(--slate); flex: 1; }
.product-card .btn { margin-top: 1.25rem; align-self: flex-start; }

/* Single-product feature block */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.feature__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 70% at 50% 35%, rgba(255, 255, 255, 0.95) 0%, transparent 70%),
    linear-gradient(150deg, var(--mist) 0%, var(--cloud) 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.feature__visual .media-arc { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.feature__visual > svg:not(.media-arc) { width: 42%; height: auto; color: var(--steel); position: relative; z-index: 2; }

.feature__badge {
  position: absolute;
  left: 1.4rem;
  top: 1.4rem;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--paper);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  box-shadow: var(--shadow-xs);
}

.feature__body p { color: var(--slate); margin-top: 1.1rem; }
.feature__body .btn { margin-top: 1.9rem; }

/* Definition-style spec list */
.spec-list {
  margin-top: 1.9rem;
  border-top: 1px solid var(--line);
}
.spec-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-family: var(--font-mono);
  font-size: 0.655rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-top: 0.28rem;
}
.spec-list dd { font-size: 0.95rem; color: var(--ink); }

/* Application tiles */
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.app-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D8E1EE; }
.app-card svg { width: 24px; height: 24px; color: var(--gold-deep); margin-bottom: 0.95rem; }
.app-card h3 { font-size: 1.03rem; margin-bottom: 0.3rem; }
.app-card p { font-size: 0.875rem; color: var(--slate); }

/* ---------- About ---------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.timeline { margin-top: 0.4rem; border-left: 1px solid var(--line); padding-left: 1.7rem; }
.timeline li { position: relative; padding-bottom: 1.65rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.7rem - 5px);
  top: 0.45em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
}
.timeline__year { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--gold-deep); }
.timeline h3 { font-size: 1.05rem; margin: 0.25rem 0 0.28rem; }
.timeline p { font-size: 0.91rem; color: var(--slate); }

.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.mv-card { border-radius: var(--radius); padding: 2.3rem 2.1rem; }
.mv-card--navy {
  background: linear-gradient(150deg, var(--steel) 0%, var(--navy) 72%);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
}
.mv-card--navy h3 { color: #fff; }
.mv-card--light {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--slate);
  box-shadow: var(--shadow-sm);
}
.mv-card h3 { font-size: 1.32rem; margin-bottom: 0.75rem; }
.mv-card .gold-rule { margin: 0 0 1.15rem; }
.mv-card p { font-size: 0.97rem; }

.cert-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.cert-badge {
  text-align: center;
  padding: 1.75rem 1rem 1.55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cert-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.cert-badge__seal {
  width: 54px; height: 54px;
  margin: 0 auto 0.95rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--gold-wash);
  color: var(--navy);
}
.cert-badge__seal svg { width: 25px; height: 25px; }
.cert-badge strong { display: block; font-size: 0.93rem; color: var(--navy); font-weight: 600; }
.cert-badge span { font-size: 0.77rem; color: var(--slate); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-item {
  padding: 1.85rem 1.55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-item svg { width: 25px; height: 25px; color: var(--gold-deep); margin-bottom: 0.95rem; }
.value-item h3 { font-size: 1.03rem; margin-bottom: 0.35rem; }
.value-item p { font-size: 0.87rem; color: var(--slate); }

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.7rem);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--slate); font-size: 0.94rem; margin-bottom: 1.75rem; }

/* Required marker. Archivo ships no italic here, so a synthesised oblique
   would slant the asterisk into the following word. */
.form-card em { font-style: normal; font-weight: 700; color: var(--gold-deep); }
.form-card > p em { margin-inline: 0.08em 0.22em; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.35rem; }
.form-field { display: flex; flex-direction: column; gap: 0.42rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.81rem; font-weight: 600; letter-spacing: 0.03em; color: var(--navy); }

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 1px solid #CFD8E5;
  border-radius: var(--radius-sm);
  background: var(--mist);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--slate-light); }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--steel-light); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 59, 111, 0.12);
}
.form-card .btn { margin-top: 1.5rem; width: 100%; }

.form-success {
  display: none;
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--gold-wash);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }

/* Navy accent cards (trust + contact info) */

.trust-card,
.info-card {
  background: linear-gradient(158deg, var(--steel) 0%, var(--navy) 62%, var(--navy-900) 100%);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-lg);
}
.trust-card { padding: 2.2rem 2rem; position: sticky; top: calc(var(--nav-h) + 24px); }
.info-card { padding: 2.3rem 2.1rem; }

.trust-card h3 { color: #fff; font-size: 1.28rem; margin-bottom: 0.45rem; }
.info-card h2 { color: #fff; font-size: 1.45rem; margin-bottom: 0.4rem; }
.trust-card > p:not(.trust-card__foot),
.info-card > p { font-size: 0.91rem; color: rgba(255, 255, 255, 0.62); margin-bottom: 1.55rem; }

.trust-card ul { display: flex; flex-direction: column; gap: 1rem; }
.trust-card li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.91rem; }
.trust-card li svg { flex: none; width: 18px; height: 18px; color: var(--gold-light); margin-top: 3px; }
.trust-card__foot {
  margin-top: 1.8rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line-navy);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.info-card__list { display: flex; flex-direction: column; gap: 1.35rem; }
.info-card__list li { display: flex; gap: 0.95rem; align-items: flex-start; }
.info-card__list svg { flex: none; width: 19px; height: 19px; color: var(--gold-light); margin-top: 3px; }
.info-card__list strong {
  display: block;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.22rem;
}
.info-card__list span { font-size: 0.93rem; line-height: 1.55; }
.info-card__list a:hover { color: var(--gold-light); }

.social-row { display: flex; gap: 0.7rem; margin-top: 1.9rem; padding-top: 1.7rem; border-top: 1px solid var(--line-navy); }
.social-row a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-navy);
  color: var(--gold-light);
  transition: all 0.25s var(--ease);
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: translateY(-3px); }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.75rem;
  align-items: start;
}

.map-placeholder {
  position: relative;
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
  aspect-ratio: 21 / 9;
  display: grid;
  place-items: center;
}
.map-placeholder svg.map-dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-placeholder__pin { position: relative; z-index: 2; text-align: center; color: var(--navy); }
.map-placeholder__pin svg { width: 32px; height: 32px; margin: 0 auto 0.45rem; color: var(--gold-deep); }
.map-placeholder__pin span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Footer, light, not navy ---------- */

.footer {
  background: var(--cloud);
  border-top: 1px solid var(--line);
  color: var(--slate);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.55;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: clamp(3.25rem, 6vw, 4.5rem) 0 2.75rem;
}

.footer__about p { font-size: 0.9rem; margin-top: 1.3rem; max-width: 310px; }
.footer .brand__mark { height: 60px; }
.footer .brand__word { height: 46px; }

.footer h4 {
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer h4::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.55rem;
}

.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { font-size: 0.91rem; transition: color 0.2s var(--ease), padding-left 0.25s var(--ease); }
.footer__links a:hover { color: var(--navy); padding-left: 5px; }

.footer__contact li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; margin-bottom: 0.85rem; }
.footer__contact svg { flex: none; width: 16px; height: 16px; color: var(--gold-deep); margin-top: 4px; }

.footer__bottom { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--slate-light);
}
.footer .social-row { margin: 0; padding: 0; border: none; }
.footer .social-row a {
  width: 36px; height: 36px;
  border-color: #D5DEEA;
  color: var(--gold-deep);
  background: var(--paper);
}
.footer .social-row a:hover { background: var(--navy); border-color: var(--navy); color: var(--gold-light); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .card-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-row { grid-template-columns: repeat(3, 1fr); }
  .values-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --nav-h: 70px; }

  .brand__mark { height: 44px; }
  .brand__word { height: 26px; }
  .navbar {
    position: sticky;
  }
  .navbar__inner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 2rem; }
  .nav-drawer-head .brand { display: flex; align-items: center; text-decoration: none; }
  .nav-drawer-head .brand__mark { height: 32px; margin-right: 0.5rem; width: auto; }
  .nav-drawer-head .brand__word { height: 16px; width: auto; }
  .nav-close { background: transparent; border: 1px solid var(--line-soft); border-radius: 8px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; color: var(--navy); }
  
  .nav-drawer-body { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; overflow-y: auto; padding-bottom: 2rem; }
  .nav-drawer-body a { 
    width: 100%;
    padding: 1rem 1.25rem; 
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    transition: background 0.2s var(--ease);
  }
  .nav-drawer-body a.is-active { background: var(--sand-2); }
  
  .nav-drawer-foot { display: flex; flex-direction: column; gap: 0.85rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
  .nav-drawer-foot .btn { width: 100%; text-align: center; justify-content: center; padding: 1.15rem 1rem; border-radius: var(--pill); font-weight: 700; font-size: 0.95rem; }
  .nav-drawer-foot .btn--outline { border: 1px solid var(--line-soft); color: var(--navy); background: transparent; }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    border-radius: 24px 0 0 24px;
  }
  .nav-links.is-open { 
    transform: translateX(0); 
  }
  .nav-toggle { 
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(20, 25, 45, 0.12);
    background: #fff;
    cursor: pointer;
    position: relative;
    z-index: 999;
  }
  .nav-toggle span {
    width: 18px; height: 2px;
    background: var(--navy);
    margin: 2px 0;
    transition: 0.3s;
  }
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  body.nav-open::after {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open {
    overflow: hidden;
  }
  .navbar .btn--sm { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__globe { max-width: 400px; margin: 0 auto; }
  .split, .story-grid, .feature { grid-template-columns: 1fr; }
  .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .trust-card { position: static; }
  .stats-bar__grid { 
    grid-template-columns: repeat(2, 1fr); 
    row-gap: 2.5rem; 
    padding: 2.5rem 1rem;
    border-radius: 24px;
    border: none;
    box-shadow: 0 16px 40px rgba(10, 31, 68, 0.4);
  }
  .stat { border-left: none; }
  .mv-grid { grid-template-columns: 1fr; }
  .feature__visual { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  /* Once the strip wraps, the dots would lead a line instead of separating items. */
  .partner-strip__row li + li::before { display: none; }
  .partner-strip__row { gap: 0.7rem 1.9rem; }
}

@media (max-width: 620px) {
  .card-grid, .product-grid, .why-grid, .values-grid, .app-grid { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.1rem; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; }
  .hero__meta { gap: 0.9rem; }
  .spec-list div { grid-template-columns: 1fr; gap: 0.2rem; }
}


/* ============================================================
   RICH ENHANCEMENT LAYER
   Additive polish for a more premium, high-end feel.
   Overrides base rules via the cascade. Self-contained and
   safe to delete as a block to revert to the original look.
   ============================================================ */

/* ---- Hero & page-head: deeper, layered "aurora" ground ---- */
.hero,
.page-head {
  background:
    radial-gradient(ellipse 52% 68% at 86% -8%, rgba(42, 78, 138, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 48% 66% at 4% 108%, rgba(201, 162, 75, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 90% 46% at 50% 122%, rgba(27, 59, 111, 0.07) 0%, transparent 72%),
    linear-gradient(178deg, #ffffff 0%, #eef3fa 56%, #e6edf7 100%);
}

/* Soft golden halo behind the hero emblem for depth */
.hero__globe::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22) 0%, rgba(201, 162, 75, 0.05) 45%, transparent 70%);
  filter: blur(6px);
  animation: emblem-breathe 7s ease-in-out infinite;
}
.hero__orbit,
.hero__emblem { position: relative; z-index: 1; }
@keyframes emblem-breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.85; }
  50%      { transform: scale(1.04); opacity: 1; }
}

/* ---- Stats card: gilt top hairline + gentle gradient body ---- */
.stats-bar__grid {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-lg);
}
.stats-bar__grid::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 20%, var(--gold) 50%, var(--gold-light) 80%, transparent);
}

/* ---- Section tint: subtle gradient instead of flat fill ---- */
.section--tint {
  background: linear-gradient(180deg, #f4f8fd 0%, var(--mist) 100%);
}

/* ---- Category icons: richer gilt plate ---- */
.cat-card__icon {
  background: linear-gradient(150deg, #ffffff 0%, var(--gold-wash) 100%);
  border-color: rgba(201, 162, 75, 0.38);
  box-shadow: 0 6px 16px rgba(201, 162, 75, 0.16), inset 0 1px 0 #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cat-card:hover .cat-card__icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(201, 162, 75, 0.26), inset 0 1px 0 #fff;
}

/* ---- Cards: warmer, deeper elevation on hover ---- */
.cat-card:hover,
.product-card:hover,
.app-card:hover,
.value-item:hover,
.cert-badge:hover {
  box-shadow: 0 24px 50px rgba(12, 26, 54, 0.14), 0 6px 16px rgba(201, 162, 75, 0.10);
}

/* ============================================================
   MEDALLION MEDIA PANELS
   The former flat-grey placeholder panels become branded navy
   panels with a gilt medallion, cohesive with the trade-lane
   graphics, and no longer read as "empty".
   ============================================================ */
.product-card__media,
.feature__visual {
  background:
    radial-gradient(circle at 50% 34%, rgba(42, 78, 138, 0.55) 0%, transparent 58%),
    linear-gradient(158deg, var(--steel) 0%, var(--navy) 58%, var(--navy-900) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
}
.feature__visual { border-color: rgba(255, 255, 255, 0.10); }

/* Fine dot texture over the panel */
.product-card__media::before,
.feature__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

/* Gilt medallion plate behind the product/feature icon */
.product-card__media::after,
.feature__visual::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 94px; height: 94px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 60%, transparent 72%);
  border: 1px solid rgba(201, 162, 75, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28), inset 0 0 22px rgba(201, 162, 75, 0.14);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature__visual::after { width: 148px; height: 148px; }

.product-card:hover .product-card__media::after {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34), inset 0 0 26px rgba(201, 162, 75, 0.2);
}

/* Photo panels: the dot texture and gilt medallion are placeholder dressing for
   icon-only panels. When a real product photo is present they sit on top of it
   (positioned, z-index 1, vs. a static img) and read as a stray ring, so drop
   both. The class covers older browsers; :has() covers any photo added later. */
.product-card__media--photo::before,
.product-card__media--photo::after,
.product-card__media:has(> img)::before,
.product-card__media:has(> img)::after,
.feature__visual:has(> img)::before,
.feature__visual:has(> img)::after {
  content: none;
}

.product-card__media--photo,
.product-card__media:has(> img) {
  background: var(--cloud);
}

/* The panel is a centring grid, so a percentage height on the image has no
   definite track to resolve against. Fill by absolute inset instead. */
.product-card__media > img,
.feature__visual > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

/* Square sources crop tighter than the 16:10 landscape ones; nudge the window
   down so the bowl and its shadow stay in frame. */
.product-card__media--photo.is-square > img { object-position: 50% 62%; }
.product-card:hover .product-card__media > img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .product-card:hover .product-card__media > img { transform: none; }
}

/* Icons sit above texture + medallion, rendered in gold */
.product-card__media > svg.icon-lg {
  width: 44px; height: 44px;
  color: var(--gold-light);
  z-index: 2;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}
.feature__visual > svg:not(.media-arc) {
  color: var(--gold-light);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* The route arc reads brighter over navy */
.product-card__media .media-arc .route-arc,
.feature__visual .media-arc .route-arc {
  stroke: var(--gold-light);
  opacity: 0.6;
}

/* ---- Buttons: subtle light-sweep sheen on hover ---- */
.btn--gold,
.btn--navy {
  position: relative;
  overflow: hidden;
}
.btn--gold::after,
.btn--navy::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn--gold:hover::after,
.btn--navy:hover::after { left: 140%; }

/* ---- CTA band: add a faint trade-route texture for richness ---- */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201, 162, 75, 0.10) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }

/* ---- Navy accent cards: warmer gilt edge ---- */
.mv-card--navy,
.trust-card,
.info-card {
  position: relative;
  overflow: hidden;
}
.mv-card--navy::before,
.trust-card::before,
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .hero__globe::before { animation: none; }
}


/* ============================================================
   BENTONITE HERO, dark, high-contrast landing section.
   Replaces the white-on-white hero and the logo emblem with a
   navy hero + a "bentonite palette" showcase of the 8 grades.
   ============================================================ */

.hero,
.page-head {
  background:
    radial-gradient(ellipse 58% 78% at 84% -6%, rgba(42, 78, 138, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 48% 68% at 4% 104%, rgba(201, 162, 75, 0.20) 0%, transparent 62%),
    linear-gradient(158deg, var(--steel) 0%, var(--navy) 54%, var(--navy-950) 100%);
}

/* Fine light texture (base dots are navy and vanish on dark) */
.hero::before,
.page-head::before {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 85%);
}
.hero::after,
.page-head::after { opacity: 0.6; }

/* Hero type on dark ground */
.hero .eyebrow, .page-head .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before, .page-head .eyebrow::before { background: var(--gold-light); }
.hero h1, .page-head h1 { color: #fff; }
.hero h1 em, .page-head h1 em { color: var(--gold-light); font-style: normal; }
.hero__lede, .page-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.74); }
.hero__meta { color: rgba(255, 255, 255, 0.6); }
.hero__meta i { background: var(--gold-light); }

/* Give the white navbar a crisp gilt underline so it reads as a
   deliberate bar above the dark hero rather than a seam. */
.navbar { border-bottom-color: rgba(201, 162, 75, 0.28); }
.navbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.5;
}

/* ---- The bentonite palette card ---- */
.hero__samples {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border-radius: 20px;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 64px rgba(4, 12, 28, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero__samples::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.samples__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.samples__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}
.samples__count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}

.samples__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 0.75rem;
}
.swatch { text-align: center; }
.swatch__disc {
  width: clamp(46px, 4.4vw, 58px);
  aspect-ratio: 1;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.5) 0%, transparent 46%),
    linear-gradient(158deg, var(--clay) 0%, var(--clay2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 -7px 13px rgba(0, 0, 0, 0.38),
    inset 0 5px 9px rgba(255, 255, 255, 0.14),
    0 9px 18px rgba(0, 0, 0, 0.36);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.swatch:hover .swatch__disc {
  transform: translateY(-4px) scale(1.07);
  box-shadow:
    inset 0 -7px 13px rgba(0, 0, 0, 0.4),
    inset 0 5px 9px rgba(255, 255, 255, 0.18),
    0 14px 26px rgba(0, 0, 0, 0.45);
}
.swatch figcaption {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.2;
}
.swatch em {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-top: 3px;
}

@media (max-width: 880px) {
  .hero__samples { max-width: 440px; margin-top: 0.5rem; }
}
@media (max-width: 400px) {
  .samples__grid { gap: 1.1rem 0.5rem; }
  .swatch figcaption { font-size: 0.72rem; }
}


/* ============================================================
   MODERN THEME (syncromet-style)
   Cream ground · floating pill nav · bold grotesk type ·
   pill buttons · rounded hero panel · ticker · dark footer.
   ============================================================ */

:root {
  --sand: #F6F4EF;
  --sand-2: #EFEBE2;
  --brand-blue: #1F55B3;
  --brand-blue-deep: #163F86;
  --pill: 999px;
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 96px;
}

body { background: var(--sand); color: #222738; }

/* Headings → bold grotesk */
h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.06;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.05rem); }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }

/* Eyebrow → blue bold label */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--brand-blue);
}
.eyebrow::before { background: var(--brand-blue); width: 26px; }

/* Buttons → pills */
.btn { border-radius: var(--pill); padding: 1rem 1.7rem; font-weight: 700; }
.btn--navy { background: var(--brand-blue-deep); box-shadow: 0 6px 18px rgba(22, 63, 134, 0.28); }
.btn--navy:hover { background: var(--brand-blue); }
.btn--sm { padding: 0.72rem 1.35rem; }


/* ---- Floating pill navbar ---- */
.navbar {
  position: sticky; top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 14px clamp(0.8rem, 3vw, 2rem);
  z-index: 1000;
}
.navbar::after { display: none; }
.navbar.is-scrolled { background: transparent; box-shadow: none; }
.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: auto;
  padding: 0.55rem 0.55rem 0.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(20, 25, 45, 0.07);
  border-radius: var(--pill);
  box-shadow: 0 10px 30px rgba(20, 25, 45, 0.10), 0 2px 6px rgba(20, 25, 45, 0.05);
}
.navbar.is-scrolled .navbar__inner { box-shadow: 0 14px 36px rgba(20, 25, 45, 0.16); }
.brand__mark { height: 46px; }
.brand__word { height: 28px; }

.nav-links { gap: 0.2rem; }
.nav-links a {
  color: var(--slate);
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--pill);
}
.nav-links a::after { display: none; }
.nav-links a:hover { color: var(--navy); background: rgba(31, 85, 179, 0.08); }
.nav-links a.is-active {
  color: var(--brand-blue-deep);
  background: rgba(31, 85, 179, 0.12);
  font-weight: 700;
}


/* ---- Hero as a rounded panel ---- */
.hero {
  margin: 0 clamp(0.6rem, 2vw, 1.1rem) clamp(1rem, 3vw, 1.6rem);
  border-radius: clamp(20px, 3vw, 34px);
  overflow: hidden;
}
.hero::after { display: none; }
.hero__inner { padding-top: clamp(2.5rem, 5vw, 4rem); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--pill);
  padding: 0.4rem 0.95rem 0.4rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.4rem;
}
.hero__badge b {
  background: var(--brand-blue);
  color: #fff;
  border-radius: var(--pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---- Ticker marquee ---- */
.ticker { background: var(--navy); overflow: hidden; border-top: 1px solid rgba(255,255,255,0.06); }
.ticker__row { display: flex; width: max-content; animation: ticker-scroll 26s linear infinite; }
.ticker__row span {
  display: inline-flex;
  align-items: center;
  padding: 1.05rem 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
}
.ticker__row i {
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--gold-light);
  transform: rotate(45deg);
  margin: 0 1.7rem;
  flex: none;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__row { animation: none; } }


/* ---- Sections & cards ---- */
.section--tint { background: var(--sand-2); }

.cat-card, .product-card, .app-card, .value-item, .cert-badge,
.form-card, .stats-bar__grid, .mv-card, .trust-card, .info-card {
  border-radius: var(--radius);
}
.cat-card, .product-card, .app-card, .value-item, .cert-badge {
  border-color: rgba(20, 25, 45, 0.08);
}

/* Icon chips → light-blue rounded squares (reference style) */
.cat-card__icon {
  background: rgba(31, 85, 179, 0.1);
  border-color: rgba(31, 85, 179, 0.16);
  color: var(--brand-blue);
  border-radius: var(--radius-sm);
}
.cat-card__link { color: var(--brand-blue-deep); }
.cat-card__link svg { color: var(--brand-blue); }
.why-item__icon { background: var(--brand-blue-deep); border-radius: var(--radius-sm); }

/* Filter tabs + outline-gold link colour to blue */
.filter-tab.is-active { background: var(--brand-blue-deep); border-color: var(--brand-blue-deep); }
.cat-card:hover, .product-card:hover, .app-card:hover, .value-item:hover, .cert-badge:hover {
  box-shadow: 0 24px 50px rgba(20, 25, 45, 0.12);
}

/* ---- Dark footer ---- */
.footer {
  background: var(--navy-950);
  border: none;
  color: rgba(255, 255, 255, 0.6);
}
.footer::before { opacity: 0.45; }
.footer .brand__mark { height: 54px; }
.footer .brand__word { height: 40px; }
.footer__about p { color: rgba(255, 255, 255, 0.58); }
.footer h4 { color: #fff; }
.footer h4::after { background: var(--gold); }
.footer__links a, .footer__contact li { color: rgba(255, 255, 255, 0.6); }
.footer__links a:hover { color: #fff; }
.footer__contact svg { color: var(--gold-light); }
.footer__bottom { border-top-color: rgba(255, 255, 255, 0.1); }
.footer__bottom-inner { color: rgba(255, 255, 255, 0.45); }
.footer .social-row a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--gold-light);
}
.footer .social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }


/* Fix: swatch disc is a <span> (inline), make it a block so size applies */
.swatch__disc { display: block; }


/* Repoint display font to the grotesk so numbers/quotes match the theme */
:root { --font-display: "Archivo", "Segoe UI", sans-serif; }
.stat__num { font-weight: 800; letter-spacing: -0.02em; }
.samples__title { font-weight: 700; }
.vision-quote { font-weight: 600; }


/* ---- Hide scrollbar (scrolling still works) ---- */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body { overflow-x: clip; }


/* Footer logo = the same updated logo as the navbar. Because that logo is
   navy + gold (built for light backgrounds) and the footer is dark navy,
   we sit it on a light rounded panel so it stays fully visible and keeps
   its real colours instead of blending into the background. */
.footer .brand {
  background: #ffffff;
  padding: 0.7rem 1.15rem;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  align-self: flex-start;
}

/* ---- Bentonite product media (clay-colour placeholder until photos arrive) ---- */
.product-card__media.is-clay {
  background: linear-gradient(158deg, var(--clay) 0%, var(--clay2) 100%);
}
.product-card__media.is-clay::before,
.product-card__media.is-clay::after { display: none; }
.media-note {
  position: absolute;
  z-index: 3;
  left: 0.9rem;
  bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.3rem 0.62rem;
  border-radius: var(--pill);
  backdrop-filter: blur(4px);
}


/* ---- Category tabs: scroll horizontally when more categories are added ---- */
.filter-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { flex: none; white-space: nowrap; }

/* ---- Testimonials ---- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.testi-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid rgba(20, 25, 45, 0.08);
  border-radius: var(--radius);
  padding: 1.9rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testi-card__stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.95rem; }
.testi-card blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
}
.testi-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.testi-card__avatar {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue-deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.testi-card figcaption strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.testi-card figcaption em { font-style: normal; color: var(--slate); font-size: 0.82rem; }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---- Mobile: remove the blue/grey tap-highlight box on tap ----
   (keyboard focus styling via :focus-visible is preserved) */
* { -webkit-tap-highlight-color: transparent; }
a, button, .btn, .filter-tab, .nav-toggle, input, select, textarea, .cat-card, .product-card {
  -webkit-tap-highlight-color: transparent;
}


/* ---- Centered slogan hero (no palette) ---- */
.hero__inner--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}
.hero__inner--center .hero__badge,
.hero__inner--center .hero__actions,
.hero__inner--center .hero__meta { justify-content: center; }
.hero__inner--center .hero__lede { margin-inline: auto; max-width: 620px; }

/* Percent sits inline with the number (not raised like a letter superscript) */
.stat__pct { color: var(--gold-deep); font-size: 0.9em; margin-left: 1px; }

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__inner .hero__actions,
  .hero__inner .hero__meta {
    justify-content: center;
  }
  .hero__image-wrapper {
    margin-top: 2rem;
  }
}
/* ========================================= */
/* --- SYNCROMET IMPORTED NAV CSS --- */
/* ========================================= */


/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 2000; visibility: hidden;
}
.mobile-drawer.open { visibility: visible; }
.mobile-drawer__scrim {
  position: absolute; inset: 0; background: rgba(15,21,27,.5);
  opacity: 0; transition: opacity .25s var(--ease);
}
.mobile-drawer.open .mobile-drawer__scrim { opacity: 1; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; box-shadow: var(--shadow-lg); padding: 22px;
  transform: translateX(100%); transition: transform .3s var(--ease);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-drawer.open .mobile-drawer__panel { transform: none; }
.mobile-drawer__head { display:flex; align-items:center; margin-bottom: 14px; }
.mobile-drawer__close { margin-left:auto; width:42px; height:42px; border-radius:9px; border:1.5px solid rgba(0,0,0,0.1); background:#fff; cursor:pointer; display:grid; place-items:center; }
.mobile-drawer__close svg { width: 22px; height: 22px; color: var(--navy); }
.mobile-drawer a.mlink {
  padding: 13px 14px; border-radius: 9px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy);
  text-decoration: none;
}
.mobile-drawer a.mlink:hover, .mobile-drawer a.mlink.active { background: var(--sand-2); color: var(--brand-blue-deep); }
.mobile-drawer .btn { margin-top: 14px; }



/* ============================================================
   FORM VALIDATION STATES
   Errors are written in by script.js on submit and cleared as
   soon as the visitor starts correcting the field.
   ============================================================ */

/* Honeypot. Kept in the layout (bots skip display:none) but out of
   sight, out of the tab order and out of the accessibility tree. */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field-error {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--error);
}
.field-error:empty { display: none; }

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--error);
  background: var(--error-wash);
}
.form-field.has-error input:focus,
.form-field.has-error select:focus,
.form-field.has-error textarea:focus {
  outline-color: var(--error);
  box-shadow: 0 0 0 3px rgba(176, 42, 42, 0.14);
}

.form-error {
  display: none;
  margin-top: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--error-wash);
  border: 1px solid var(--error);
  color: var(--error-ink);
  font-size: 0.92rem;
}
.form-error.is-visible { display: block; }
.form-error a { color: var(--error-ink); font-weight: 600; text-decoration: underline; }

/* ---- Markets We Serve grid ---- */
.markets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  margin: 2.5rem auto;
  max-width: 900px;
  justify-content: center;
}
.markets-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.markets-grid span:hover {
  background: var(--sand-2);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.markets-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate);
  opacity: 0.7;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .markets-grid span { font-size: 0.8rem; padding: 0.38rem 0.75rem; }
}

/* ---- Product form/grade badge (added) ---- */
.product-card__media { position: relative; }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  background: linear-gradient(135deg, #DDBC72, #C9A24B);
  color: #0A1F44;
  font-family: "Archivo", sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(10,31,68,0.22);
}
.product-card__media--ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #eef2f8 0%, #dfe7f1 100%);
  color: #64708a;
}
.product-card__media--ph .ph-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- Global reach: country flag grid (added) ---- */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
  margin-top: 2.2rem;
}
.market-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16,32,64,0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.market-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,32,64,0.10); border-color: #d3ddec; }
.market-chip img { width: 28px; height: 21px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); flex: none; }
.market-chip span { font-size: 0.9rem; font-weight: 600; color: #0A1F44; line-height: 1.2; }
@media (max-width: 520px) { .markets-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; } .market-chip span { font-size: 0.82rem; } }

/* ==========================================================================
   PRODUCT DETAILS DIALOG + CATALOGUE DOWNLOAD
   Added for the bentonite product detail view and the email-gated catalogue.
   ========================================================================== */

/* ---------- Card action row ----------
   .product-card .btn sets align-self: flex-start, which would stack the two
   buttons on their own rows. The row owns the alignment instead, and
   margin-top: auto pins it to the card foot so buttons line up across the
   grid regardless of how long the description runs. */
.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.product-card__actions .btn { margin-top: 0; align-self: auto; }
.product-card__body { justify-content: flex-start; }
.product-card__body .product-card__actions { margin-top: auto; padding-top: 1.25rem; }

/* ---------- Product details dialog ---------- */
.pdialog {
  /* The global reset zeroes margin, which kills the UA's margin:auto and
     pins the dialog to the top-left. Restore it explicitly. */
  margin: auto;
  width: min(1040px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pdialog::backdrop {
  background: rgba(6, 18, 40, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.pdialog__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  max-height: calc(100dvh - 2rem);
}

.pdialog__media {
  position: relative;
  background: linear-gradient(150deg, var(--mist) 0%, var(--cloud) 100%);
  border-right: 1px solid var(--line-soft);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}
.pdialog__media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}
.pdialog__thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pdialog__thumbs button {
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pdialog__thumbs button[aria-current="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 75, 0.32);
}
.pdialog__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pdialog__body {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  overflow-y: auto;
  min-width: 0;
}
.pdialog__body h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 0.6rem; }
.pdialog__summary { color: var(--slate); font-size: 0.98rem; }

.pdialog__subhead {
  font-family: var(--font-mono);
  font-size: 0.655rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 1.75rem 0 0.75rem;
}

.pdialog__apps { display: grid; gap: 0.5rem; }
.pdialog__apps li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--ink);
}
.pdialog__apps li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--gold);
}

.pdialog__specs { border-top: 1px solid var(--line); }
.pdialog__specs > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.pdialog__specs dt {
  font-family: var(--font-mono);
  font-size: 0.645rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-top: 0.2rem;
}
.pdialog__specs dd { font-size: 0.94rem; color: var(--ink); }

.pdialog__note {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--slate);
}
.pdialog__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.85rem; }
/* Size to content so "Request a Quotation" keeps one line; an equal flex-basis
   squeezed it onto two and left the two buttons different heights. */
.pdialog__actions .btn { flex: 1 1 auto; }

.pdialog__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  box-shadow: var(--shadow-xs);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pdialog__close svg { width: 18px; height: 18px; }
.pdialog__close:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Catalogue download ---------- */
.catalogue {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--mist);
  border-top: 1px solid var(--line);
}
.catalogue__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.catalogue__copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin: 0.9rem 0 1rem; }
.catalogue__copy > p { color: var(--slate); max-width: 520px; }

.catalogue__list { display: grid; gap: 0.8rem; margin: 1.75rem 0; }
.catalogue__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
}
.catalogue__list svg { width: 17px; height: 17px; flex: none; margin-top: 0.2rem; color: var(--gold-deep); }
.catalogue__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.catalogue__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.catalogue__card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.catalogue__lede { color: var(--slate); font-size: 0.92rem; margin-bottom: 1.6rem; }
.catalogue__card .btn { width: 100%; margin-top: 0.35rem; }

/* Consent checkbox sits inline with its label, unlike the stacked text fields */
.form-consent { margin-top: 0.35rem; }
.form-consent label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.89rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--slate);
  letter-spacing: normal;
}
.form-consent input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  accent-color: var(--gold-deep);
  cursor: pointer;
}
.form-consent.has-error label { color: var(--error-ink); }

.catalogue__status {
  margin-top: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.89rem;
  line-height: 1.6;
}
.catalogue__status.is-info    { background: var(--gold-wash); border-color: rgba(201, 162, 75, 0.45); color: #6B5216; }
.catalogue__status.is-success { background: #F1F8F3; border-color: #A9CFB6; color: #1F5B33; }
.catalogue__status.is-warning { background: var(--gold-wash); border-color: rgba(168, 128, 47, 0.55); color: #6B4E12; }
.catalogue__status.is-error   { background: var(--error-wash); border-color: rgba(176, 42, 42, 0.4); color: var(--error-ink); }

.catalogue__fallback { margin-top: 0.9rem; font-size: 0.87rem; color: var(--slate); }
.catalogue__fallback a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pdialog__inner { grid-template-columns: 1fr; }
  .pdialog__media { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .catalogue__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pdialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .pdialog__inner { max-height: calc(100dvh - 1rem); }
  .pdialog__actions .btn { flex: 1 1 100%; }
  .product-card__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .pdialog__thumbs button,
  .pdialog__close { transition: none; }
}
