/* ==========================================================================
   COMPONENTS — desktop-first (≥1025). Tablet/mobile overrides: responsive.css.
   Every number here was measured from the reference; see docs/REFERENCE_ANALYSIS.md.
   Layout model = the reference's own: full-bleed band → boxed inner (max 1400)
   → columns with fixed % widths and 10 px padding → content.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons  (.btn + .btn--red | .btn--gold)
   67 px tall: 25 + 17 + 25.  Icon follows the label with a 15 px gap.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;          /* inside flex columns: shrink-wrap, don't stretch */
  max-width: 100%;
  gap: var(--btn-gap);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font: 600 var(--font-size-btn)/1 var(--font-body);
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
  background: var(--btn-bg, var(--color-primary));
  border-radius: var(--radius-btn);
  transition: all var(--transition-fast);
}
.btn .icon { width: var(--btn-icon); height: var(--btn-icon); }
.btn:hover,
.btn:focus-visible { background: var(--btn-bg-hover, var(--color-secondary)); }

.btn--red  { --btn-bg: var(--color-secondary); --btn-bg-hover: var(--color-primary); }
.btn--gold { --btn-bg: var(--color-primary);   --btn-bg-hover: var(--color-secondary); }
.btn--on-red { --btn-bg-hover: var(--color-black); }   /* gold button on the red CTA band */
/* The reference does NOT shrink two buttons on mobile (partner + final CTA): */
.btn--keep-size { --font-size-btn: 17px; --btn-pad-y: 25px; --btn-pad-x: 40px; --btn-icon: 17px; }

/* --------------------------------------------------------------------------
   Entrance animation (reference: Elementor fadeInRight on hero copy,
   fadeInDown, staggered 0/200/400/600 ms, on the trust pills).
   Only active when JS adds html.anim; softened distances via tokens.
   -------------------------------------------------------------------------- */
html.anim [data-anim] { opacity: 0; }
html.anim [data-anim].is-in {
  animation: var(--anim-name) var(--anim-duration) cubic-bezier(.22, .61, .36, 1) var(--anim-delay, 0ms) both;
}
[data-anim="fade-right"] { --anim-name: fadeInRight; }
[data-anim="fade-down"]  { --anim-name: fadeInDown; }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(var(--anim-shift-x), 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown  { from { opacity: 0; transform: translate3d(0, var(--anim-shift-y), 0); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Header — 86 px white bar (10 + 66 + 10). Logo tab overhangs the hero.
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 99;
  padding-inline: 10px;
  background: var(--color-white);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-block: 10px;
}

.site-logo {
  position: absolute;
  z-index: 10;
  top: 0; left: 0;
  width: 12.75%;                   /* 85 % of the 15 % logo column */
}
.site-logo__img {
  display: block;
  width: 100%;
  height: auto;
  padding: 20px 30px;
  background: var(--color-white);
  border-radius: 30px;
}

.primary-nav {
  flex: 0 0 85%;
  margin-left: auto;
  padding: 10px;
}
.primary-nav__list { display: flex; align-items: center; justify-content: flex-end; }
.primary-nav__list > li { position: relative; display: flex; align-items: center; }
.primary-nav__list > li > a {
  display: block;
  padding: 15px;
  font: 700 var(--font-size-nav)/1 var(--font-body);
  text-transform: uppercase;
  color: var(--color-text);
  transition: color .2s;
}
.primary-nav__list > li > a:hover,
.primary-nav__list > li.is-current > a,
.primary-nav__list > li:focus-within > a { color: var(--color-accent); }

.primary-nav__list > li.has-sub > a { padding-right: 0; }
.sub-toggle {
  display: flex; align-items: center; justify-content: flex-start;
  align-self: stretch;
  width: 34.7px;                    /* 11 gap + 9 arrow + 14.7 padding (measured) */
  padding-left: 11px;
  padding-block: 0; padding-right: 0; border: 0; background: none;
  color: var(--color-text);
  transition: color .2s;
}
.sub-toggle .icon { width: 9px; height: 14px; }
.has-sub:hover > .sub-toggle { color: var(--color-accent); }

.sub-menu {
  position: absolute;
  z-index: 9999;
  top: 100%; left: 0;
  min-width: 220px;                 /* reference width; grows only if a label (e.g. "Safekeeping & Storage") needs more */
  background: var(--color-primary);
  box-shadow: var(--shadow-menu);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast) ease-out, visibility var(--transition-fast) ease-out;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu,
.has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; }
.sub-menu li:not(:last-child) { border-bottom: 1px solid var(--color-border); }
.sub-menu a {
  display: block;
  white-space: nowrap;
  padding: 15px 15px 15px 35px;
  font: 500 var(--font-size-nav)/1 var(--font-body);
  text-transform: capitalize;
  color: var(--color-white);
  transition: background var(--transition-fast);
}
.sub-menu a:hover,
.sub-menu a:focus-visible { background: var(--color-secondary); }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Hero — min-height 90vh, photo cover, copy block 60 % wide on the right.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hero-min-height);
  padding-bottom: 60px;
  background: var(--color-dark) url("../images/hero-mine-logistics-vault.jpg") center / cover no-repeat;
}
.hero::before {                       /* legibility scrim: darkest behind the copy (right), fades out over the flag */
  content: "";
  position: absolute; inset: 0;
  background: var(--hero-scrim);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
}
.hero__content {
  width: 60%;
  padding: 10px;
  text-align: right;
  color: var(--color-white);
}
.hero__title {
  margin-bottom: 35px;             /* 20 gap + 15 */
  font: 700 var(--font-size-h1)/1.4 var(--font-heading);
  text-transform: uppercase;
}
.hero__title,
.hero__title-sub { text-wrap: balance; }   /* even line lengths, no one-word last line (progressive enhancement) */
.hero__title-sub {                    /* second clause of the headline: same <h1>, one step down in size */
  display: block;
  margin-top: 6px;
  font-size: .76em;
  line-height: 1.3;
  font-weight: 600;
}
.hero__lead {
  display: flow-root;               /* keep the last paragraph's margin inside (as the reference widget does) */
  margin-bottom: 20px;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}
.hero__lead p { margin-bottom: .9rem; }
.hero__actions {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px;
}
.hero__actions .btn { align-self: auto; margin-top: 20px; }

/* --------------------------------------------------------------------------
   Trust strip — 4 pills, pulled 100 px up over the hero.
   -------------------------------------------------------------------------- */
.trust {
  position: relative;
  z-index: 10;
  margin-top: var(--trust-overlap);
  padding-inline: 10px;
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-block: 10px;
}
.trust__item { display: flex; width: 25%; padding: var(--col-pad); }   /* flex → all four pills share the tallest pill's height */
.trust__pill {
  display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center;
  padding: 40px 25px 30px;
  text-align: center;
  background: var(--color-pill);
  border-bottom: 3px solid var(--color-primary);
  border-radius: var(--radius-pill);
  transition: background var(--transition-card), border-color var(--transition-card);
}
.trust__item:first-child .trust__pill { padding-inline: 14px 15px; }  /* as in the reference */
.trust__pill:hover { background: var(--color-pill-hover); border-bottom-color: var(--color-secondary); }
.trust__title {
  margin: 8px 0 16px;
  font: 600 23px/1.2 var(--font-body);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Why partner — 40 % text / 60 % square photo (right aligned).
   -------------------------------------------------------------------------- */
.why-partner { padding: var(--section-padding) var(--gutter); }
.why-partner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-width);
  margin-inline: auto;
}
.why-partner__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 40%;
  padding: var(--col-pad);
}
.why-partner__title,
.info-list { align-self: stretch; }
.why-partner__title {
  margin-bottom: 40px;
  font: 700 var(--font-size-h2)/var(--line-height-heading) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-primary);
}
.why-partner__text .btn { margin-top: 30px; }
.why-partner__media { width: 60%; text-align: right; }
.why-partner__media img { display: inline-block; max-width: 100%; height: auto; vertical-align: top; }

/* Info rows: 60 px icon + title + text. Hover swaps the two accent colours. */
.info-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.info-item__icon { flex: none; width: 60px; height: 60px; color: var(--color-secondary); transition: color var(--transition-fast); }
.info-item__icon .icon { width: 60px; height: 60px; }
.info-item__body { min-width: 0; padding-left: 15px; }
.info-item__title {
  margin-bottom: 10px;
  font: 700 var(--font-size-h4)/1 var(--font-heading);
  color: var(--color-primary);
  transition: color .1s;
}
.info-item__text { margin-bottom: 15px; font-size: 16px; line-height: var(--line-height-body); color: var(--color-muted); }
.info-item:hover .info-item__icon { color: var(--color-primary); }
.info-item:hover .info-item__title { color: var(--color-secondary); }

/* --------------------------------------------------------------------------
   Live gold price — photo background, 60 % empty / 40 % navy card.
   -------------------------------------------------------------------------- */
.gold-price {
  padding: var(--section-padding) var(--gutter);
  background: var(--color-dark) url("../images/gold-price-bg.jpg") center / cover no-repeat;
}
.gold-price__inner {
  display: flex;
  align-items: center;
  max-width: var(--container-width);
  margin-inline: auto;
}
.gold-price__spacer { width: 60%; padding: var(--col-pad); }
.gold-price__panel  { width: 40%; padding: var(--col-pad); }

.gold-card {
  max-width: 600px;
  margin-inline: auto;
  padding: 20px;
  text-align: center;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: var(--radius-card);
  font-family: var(--font-widget);
}
.gold-card__title { margin: 8px 0 16px; font-size: 32px; font-weight: 500; line-height: 1.2; }
.gold-card__select {
  display: block;
  width: calc(100% - 10px);
  height: 35px;
  margin: 5px auto;
  padding: 5px;
  color: #000;
  background: var(--color-white);
  border: 1px solid #666;
  border-radius: 3px;
  font-size: 16px;
}
.gold-card__price {
  min-height: 42px;
  margin: 10px;
  font-size: 28px;
  line-height: 1.5;
  color: var(--color-price);
}
.gold-card__loading {
  display: inline-block;
  min-width: 12em;
  border-radius: 4px;
  color: transparent;
  background: linear-gradient(90deg, rgba(255,215,0,.10) 25%, rgba(255,215,0,.28) 50%, rgba(255,215,0,.10) 75%) 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.gold-card__price.is-error { font-size: 18px; color: #ff9c92; }
.gold-card[aria-busy="true"] .gold-chart__canvas { opacity: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Chart panel — 300 px tall, stands in for the reference's TradingView embed */
.gold-chart {
  position: relative;
  height: 300px;
  overflow: hidden;
  text-align: left;
  color: #d1d4dc;
  background: #0f1013;
  border: 1px solid #2a2e39;
}
.gold-chart__toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 0 6px;
  border-bottom: 1px solid #2a2e39;
  font-size: 13px;
}
.gold-chart__tf {
  height: 28px;
  padding: 0 8px;
  color: #d1d4dc;
  background: none;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}
.gold-chart__tf:hover { background: #1e222d; }
.gold-chart__tf.is-active { background: #2a2e39; }
.gold-chart__sep { width: 1px; height: 20px; margin: 0 8px; background: #2a2e39; }
.gold-chart__tool { font-weight: 500; }
.gold-chart__badge {
  flex: none;
  white-space: nowrap;
  margin-left: auto;
  padding: 3px 8px;
  color: #f0b90b;
  background: rgba(240, 185, 11, .12);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gold-chart__legend {
  position: absolute; z-index: 1;
  top: 46px; left: 10px; right: 70px;
  display: flex; flex-wrap: wrap; gap: 0 6px;
  font-size: 12px; line-height: 18px;
  pointer-events: none;
}
.gold-chart__legend strong { font-weight: 600; color: #e6e8ec; }
.gold-chart__legend .up { color: #26a69a; } .gold-chart__legend .down { color: #ef5350; }
.gold-chart__canvas { width: 100%; height: calc(100% - 40px); transition: opacity .4s; }

/* --------------------------------------------------------------------------
   What we do — cream band, centered title, 3 × 2 white cards.
   -------------------------------------------------------------------------- */
.what-we-do { padding: var(--section-padding) var(--gutter); background: var(--color-cream); }
.what-we-do__inner { max-width: var(--container-width); margin-inline: auto; }
.what-we-do__head { padding: var(--col-pad); }
.what-we-do__title {
  text-align: center;
  font: 700 var(--font-size-h2)/var(--line-height-heading) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-primary);
}
.service-grid { display: flex; flex-wrap: wrap; margin-top: 40px; }
.service-cell { width: 33.3333%; padding: var(--col-pad); }
.service-card {
  padding: 30px;                    /* cards are NOT stretched: each sizes to its own content (ragged at tablet, as in the reference) */
  background: var(--color-white);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition-card);
}
.service-card:hover { box-shadow: var(--shadow-card-hover); }
.service-card__media { margin-bottom: 24px; }   /* 10 + 6 (inline-block gap) + 8 (title margin) */
.service-card__img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); }
.service-card__title {
  margin: 0 0 10px;
  text-align: center;
  font: 700 var(--font-size-card-title)/1.2 var(--font-body);
  text-transform: uppercase;
  color: var(--color-primary);
}
.service-card__list,
.service-card__text { text-align: center; font-size: 16px; line-height: var(--line-height-body); color: var(--color-text); }
.service-card__list li::before { content: "> "; }
/* Desktop: cards in a row share the tallest card's height (their copy now differs in length); at tablet they stay content-sized, as in the reference. */
@media (min-width: 1025px) {
  .service-cell { display: flex; }
  .service-card { flex: 1 1 auto; }
}

/* --------------------------------------------------------------------------
   Safekeeping & storage — white band: sticky 4:5 photo | text column.
   Added after the reference (no reference geometry): built only from existing tokens/patterns.
   -------------------------------------------------------------------------- */
.safekeeping { padding: var(--section-padding) var(--gutter); background: var(--color-white); }
.safekeeping__inner { display: flex; align-items: flex-start; max-width: var(--container-width); margin-inline: auto; }
.safekeeping__media { position: sticky; top: 20px; flex: 0 0 48%; padding: var(--col-pad); }
.safekeeping__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;          /* the graphic carries its own text/logo → shown whole, not cropped */
  border-radius: var(--radius-card);
}
.safekeeping__content { flex: 1 1 0; min-width: 0; padding: var(--col-pad) var(--col-pad) var(--col-pad) 40px; }
.safekeeping__tag {                   /* same pill as the "For Investors" tag */
  display: inline-block;
  margin-bottom: 20px;
  padding: 12px 35px 10px;
  font: 700 18px/1.2 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-card);
}
.safekeeping__title {
  margin-bottom: 15px;
  font: 700 var(--font-size-h2-md)/var(--line-height-heading) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-primary);
}
.safekeeping__subtitle {
  margin-bottom: 20px;
  font: 700 var(--font-size-h3)/var(--line-height-heading) var(--font-heading);
  color: var(--color-secondary);
}
.safekeeping__content p { margin-bottom: .9rem; font-size: var(--font-size-body); line-height: var(--line-height-lead); color: var(--color-text); }
.safekeeping__content .safekeeping__lead { font-size: var(--font-size-lead); }
.safekeeping__subtitle { margin-top: 28px; }
.safekeeping__values {                /* core values: two columns, gold marker */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px;
  margin-bottom: .9rem;
  font-size: var(--font-size-body); line-height: var(--line-height-body); color: var(--color-text);
}
.safekeeping__values li { position: relative; padding-left: 22px; }
.safekeeping__values li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 9px; height: 9px; background: var(--color-primary); border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Why invest — light-grey band: title | lead, then 5 boxes (2 + 1/2/1).
   -------------------------------------------------------------------------- */
.why-invest { padding: var(--section-padding) var(--gutter); background: var(--color-light); }
.why-invest__inner { max-width: var(--container-width); margin-inline: auto; }
.why-invest__head { display: flex; gap: 20px; }
.why-invest__head-col { flex: 0 1 50%; min-width: 0; padding: var(--col-pad); }
.why-invest__title {
  font: 700 var(--font-size-h2)/var(--line-height-heading) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-primary);
}
.why-invest__lead { padding-bottom: .9rem; font-size: var(--font-size-lead); line-height: 1.5; color: var(--color-black); }
.why-invest__lead strong { font-weight: 700; }

.reason-grid { display: flex; flex-wrap: wrap; align-items: stretch; margin-top: 40px; }   /* 3 × 2; cards in a row share the tallest card's height */
.reason-cell { display: flex; flex-direction: column; width: 33.3333%; padding: var(--col-pad); }
.reason-card { flex: 1 1 auto; width: 100%; padding: 40px; text-align: center; background: var(--color-white); }
.reason-card__title {
  margin: 8px 0 16px;
  font: 700 var(--font-size-h3)/var(--line-height-heading) var(--font-heading);
  color: var(--color-black);
}
.reason-card__text { margin-bottom: 15px; font-size: 16px; line-height: var(--line-height-body); color: var(--color-muted); }

/* --------------------------------------------------------------------------
   Investors (red) | Responsible (black) — full-bleed 50/50 split.
   -------------------------------------------------------------------------- */
.investors { display: flex; align-items: stretch; }
.investors__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding: 100px;
}
.investors__panel--left  { padding-right: 50px; background: var(--color-secondary); }
.investors__panel--right {
  padding-left: 50px;
  text-align: right;
  background-color: var(--color-black);
  background-image: linear-gradient(rgba(0, 0, 0, var(--responsible-overlay)), rgba(0, 0, 0, var(--responsible-overlay))), var(--responsible-image);
  background-size: cover;
  background-position: center;
}

.investors__tag {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 12px 35px 10px;
  font: 700 18px/1.2 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--radius-card);
}
.investors__title,
.responsible__title {
  margin-bottom: 20px;
  font: 700 var(--font-size-h2-md)/var(--line-height-heading) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-white);
}
.investors__lead,
.responsible__lead {
  padding-bottom: .9rem;            /* trailing paragraph margin, part of the reference's widget height */
  margin-bottom: 5px;               /* 20 gap − 15 */
  font-size: var(--font-size-body);
  line-height: var(--line-height-lead);
  color: var(--color-white);
}
.responsible__lead { color: var(--color-primary); }

.opportunities { display: flex; gap: 20px; margin-top: 30px; }
.opportunity {
  flex: 0 1 auto;
  min-width: 0;                      /* shrink to fit, exactly like the reference */
  padding: 40px 25px;
  text-align: center;
  font-size: 16px; line-height: 24px;
  color: var(--color-text);
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  border-radius: var(--radius-card);
  transition: background var(--transition-card), border-color var(--transition-card);
}
.opportunity:hover { background: var(--color-primary); border-bottom-color: var(--color-secondary); }

/* --------------------------------------------------------------------------
   Transparent trade process — intro + connector timeline.
   Connector = 5 px vertical bar + 23 px tick, 75 px item pitch, 50 px icon.
   -------------------------------------------------------------------------- */
.trade-process { padding: var(--section-padding) var(--gutter); }
.trade-process__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-width);
  margin-inline: auto;
}
.trade-process__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 40%;
  padding: var(--col-pad);
}
.trade-process__title {
  align-self: stretch;              /* box = column width; long words overflow visibly like the reference */
  margin-bottom: 20px;
  font: 700 var(--font-size-h2-md)/var(--line-height-heading) var(--font-heading);
  text-transform: uppercase;
  color: var(--color-primary);
}
.trade-process__kicker {             /* "Our Commitment" sub-heading, same treatment as the Safekeeping H3s */
  margin-bottom: 10px;
  font: 700 var(--font-size-h3)/var(--line-height-heading) var(--font-heading);
  color: var(--color-secondary);
}
.trade-process__lead {
  padding-bottom: .9rem;
  margin-bottom: 5px;
  font-size: var(--font-size-body);
  line-height: var(--line-height-lead);
  color: var(--color-black);
}
.trade-process__timeline { flex: 1 1 0; min-width: 0; padding: var(--col-pad); }

.process { --bar: 5px; }
.process__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0 0 25px 50px;
}
.process__step::before {           /* vertical bar, overlaps 50 px into the next step */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: -50px;
  width: var(--bar);
  background: var(--color-secondary);
}
.process__step:last-child::before { bottom: 0; }
.process__step::after {            /* horizontal tick from the bar towards the icon */
  content: "";
  position: absolute;
  left: var(--bar); top: 50%;
  width: 23px; height: var(--bar);
  background: var(--color-secondary);
}
.process__icon {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  color: var(--color-white);
  background: var(--color-primary);
}
.process__icon .icon { width: 26px; height: 26px; }
.process__body { min-width: 0; margin-left: 19px; }
.process__title { margin-top: -2px; font: 600 18px/1.2 var(--font-body); color: var(--color-step-title); }
.process__text { font-size: 16px; line-height: 24px; color: var(--color-text); }

/* Optional numeric badges (01–07): <ol class="process process--numbered"> */
.process--numbered .process__icon::after {
  content: attr(data-step);
  position: absolute; top: -9px; left: -9px;
  min-width: 22px; height: 22px; padding: 0 4px;
  font: 700 11px/22px var(--font-body);
  text-align: center;
  color: var(--color-secondary);
  background: var(--color-white);
  border: 1px solid var(--color-secondary);
  border-radius: 11px;
}

/* --------------------------------------------------------------------------
   Final CTA — solid red band, text 70 % / button on the right.
   -------------------------------------------------------------------------- */
.final-cta { padding: var(--section-padding) var(--gutter); background: var(--color-secondary); }
.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-width);
  margin-inline: auto;
}
.final-cta__text { width: 70%; padding: var(--col-pad); }
.final-cta__title {
  margin-bottom: 20px;
  font: 700 var(--font-size-h2-cta)/1 var(--font-heading);
  text-transform: uppercase;
  color: var(--color-white);
}
.final-cta__lead { padding-bottom: .9rem; font-size: var(--font-size-lead); line-height: 1.5; color: var(--color-white); }
.final-cta__action { display: flex; flex: 1 1 0; justify-content: flex-end; padding: var(--col-pad); }

/* --------------------------------------------------------------------------
   Footer — 4 × 25 % columns on #131313, then a 75 px black legal bar.
   -------------------------------------------------------------------------- */
.site-footer__main { padding: 60px var(--gutter); background: var(--color-dark); }
.site-footer__inner { display: flex; flex-wrap: wrap; max-width: var(--container-width); margin-inline: auto; }
.footer-col { display: flex; flex-direction: column; gap: 20px; width: 25%; padding: var(--col-pad); }
.footer-col__title { font: 700 18px/1 var(--font-body); text-transform: uppercase; color: var(--color-primary); }
.footer-col__text { padding-bottom: .9rem; font-size: 14px; line-height: 21px; color: var(--color-white); }

.footer-logo-link { display: block; }
.footer-logo { display: block; width: 35%; height: auto; margin-bottom: 6.5px; }

.social { display: flex; gap: 10px; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  color: var(--color-white);
  border-radius: 50%;
  font-size: 16px;
  transition: opacity .2s;
}
.social__link:hover { opacity: .8; }
.social__link--facebook { background: var(--color-social-fb); }
.social__link--twitter  { background: var(--color-social-tw); }
.social__link--youtube  { background: var(--color-social-yt); }

.footer-links a {
  display: flex; align-items: center;
  padding: 12px 0;
  font: 600 var(--font-size-small)/1 var(--font-body);
  color: var(--color-white);
  transition: color .2s;
}
.footer-links a:hover,
.contact-list a:hover,
.site-footer__legal a:hover { color: var(--color-accent); }

.footer-col:nth-child(3) { gap: 15px; }
.contact-list { display: flex; flex-direction: column; gap: 15px; }
.contact-list li {
  display: flex; align-items: center; gap: 10px;
  font: 600 var(--font-size-small)/18px var(--font-body);
  color: var(--color-white);
}
.contact-list li:first-child { align-items: flex-start; }   /* as in the reference: first row top-aligned */
.contact-list li > :last-child { margin: 8px 0 16px; }      /* 8 + 18 + 16 = 42 px row */
.contact-list__icon { flex: none; width: 25px; height: 25px; color: var(--color-primary); }
.contact-list__icon .icon { width: 25px; height: 25px; }
.contact-list a { color: inherit; transition: color .2s; }

.footer-col:nth-child(4) { gap: 0; }
.footer-col:nth-child(4) .footer-col__title { margin-bottom: 20px; }

.newsletter { margin-bottom: 30px; font-family: var(--font-widget); }
.newsletter__input {
  display: block;
  width: 100%; height: 40.8px;
  padding: 9px;
  color: #000;
  background: var(--color-white);
  border: 1px solid #666;
  border-radius: 2px;
  font-size: 16px; line-height: 1.3;
}
.newsletter__input::placeholder { color: #666; opacity: 1; }
.newsletter__submit {
  display: block;
  width: 100%; height: 40.3px;
  margin-top: 20px;
  color: var(--color-white);
  background: var(--color-primary);
  border: 0;
  border-radius: 2px;
  font-size: 14px; font-weight: 500; text-transform: uppercase;
  transition: background var(--transition-fast);
}
.newsletter__submit:hover { background: var(--color-secondary); }
.newsletter__status { margin-top: 10px; font-size: 14px; color: var(--color-white); }
.newsletter__status.is-error { color: #ff9c92; }

.site-footer__bar { padding-inline: 10px; background: var(--color-black); }
.site-footer__bar-inner {
  display: flex; align-items: center;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-block: 10px;
}
.site-footer__copy { flex: 0 1 calc(55% - 20px); margin: 10px; font-size: var(--font-size-small); line-height: 1.5; color: var(--color-white); }
.site-footer__legal { flex: 0 0 auto; margin-left: auto; padding: 10px; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.site-footer__legal a {
  display: block; padding: 10px;
  font: 600 var(--font-size-small)/1 var(--font-body);
  color: var(--color-white);
  transition: color .2s;
}
.back-to-top {
  flex: none;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  padding: 0;
  color: var(--color-primary);
  background: none; border: 0; border-radius: 50%;
  font-size: 16px;
  transition: color var(--transition-fast);
}
.back-to-top:hover { color: var(--color-secondary); }

/* No-JS / failed-JS safety net: if the reveal script never runs, show content after 3 s. */
html.anim [data-anim]:not(.is-in) { animation: revealFallback 1ms 3s forwards; }
@keyframes revealFallback { to { opacity: 1; } }
