/* ============================================================
   Alufinish 2026 — Hybrid v1 + Brand DNA
   ============================================================ */

@font-face {
  font-family: "Avenir Next";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/avenir-next-regular.ttf") format("truetype"),
       local("Avenir Next Regular"), local("AvenirNext-Regular"), local("Avenir Next");
}
@font-face {
  font-family: "Avenir Next";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Avenir Next Medium"), local("AvenirNext-Medium"),
       url("fonts/avenir-next-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Avenir Next";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Avenir Next Demi Bold"), local("AvenirNext-DemiBold"),
       url("fonts/avenir-next-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Avenir Next";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Avenir Next Bold"), local("AvenirNext-Bold"),
       url("fonts/avenir-next-regular.ttf") format("truetype");
}
@font-face {
  font-family: "Avenir Next";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("Avenir Next Italic"), local("AvenirNext-Italic"),
       url("fonts/avenir-next-regular.ttf") format("truetype");
}
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --af-blue:           #1463A8;
  --af-blue-700:       #0F4E85;
  --af-blue-900:       #0A3960;
  --af-blue-30:        #B8D1E5;
  --af-sky:            #76B6DD;
  --af-sky-40:         #C7E0EF;
  --af-sky-10:         #EFF6FB;
  --af-white:          #FFFFFF;
  --af-paper:          #F7FAFC;
  --af-line:           #E4ECF3;
  --af-line-strong:    #C9D6E1;
  --af-fg-3:           #6B7B8A;
  --af-fg-2:           #3F5061;
  --af-fg-1:           #1B2A38;
  --af-ink:            #0E1A24;
  --af-success:        #2F9E6B;
  --af-warning:        #C28A2C;
  --af-danger:         #B53A2E;

  --font-sans:    "Avenir Next", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  --shadow-1: 0 1px 2px rgba(14,26,36,.06), 0 1px 1px rgba(14,26,36,.04);
  --shadow-2: 0 4px 14px rgba(14,26,36,.08), 0 1px 2px rgba(14,26,36,.05);
  --shadow-3: 0 18px 40px rgba(14,26,36,.12), 0 2px 6px rgba(14,26,36,.06);
  --shadow-blue: 0 14px 36px rgba(20,99,168,.22);

  --ease: cubic-bezier(.2,0,0,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--af-fg-1);
  background: var(--af-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--af-blue); text-decoration: none; }
a:hover { color: var(--af-blue-700); }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--af-blue);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--af-sky); }

.h-display {
  font-weight: 700;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--af-ink);
  margin: 0;
}
.h1 {
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--af-ink);
  margin: 0 0 16px;
}
.h2 {
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  color: var(--af-ink);
  margin: 0 0 12px;
}
.h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--af-ink);
  margin: 0 0 8px;
}
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--af-fg-2);
  margin: 0 0 16px;
  max-width: 60ch;
}
p { margin: 0 0 16px; color: var(--af-fg-2); text-wrap: pretty; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 48px 0; }

/* ========== GEO BANNER ========== */
.geo-banner {
  background: var(--af-blue-900);
  color: white;
  font-size: 14px;
  position: relative;
}
.geo-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.geo-flag {
  width: 22px;
  height: 16px;
  flex: 0 0 22px;
  border-radius: 2px;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.15);
}
.geo-text {
  flex: 1;
  opacity: .92;
}
.geo-text strong { color: var(--af-sky); font-weight: 600; }
.geo-actions { display: flex; gap: 8px; }
.geo-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.geo-pill:hover { background: rgba(255,255,255,.16); }
.geo-pill.primary { background: var(--af-blue); border-color: var(--af-blue); }
.geo-pill.primary:hover { background: var(--af-blue-700); }
.geo-close {
  background: none; border: none; color: white;
  opacity: .5; cursor: pointer; padding: 4px;
  display: inline-flex; align-items: center;
}
.geo-close:hover { opacity: 1; }

/* ========== HEADER ========== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--af-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1240px; margin: 0 auto;
  gap: 32px;
}
.logo { display: inline-flex; align-items: center; cursor: pointer; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--af-fg-1);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  cursor: pointer;
}
.nav a:hover { color: var(--af-blue); }
.nav a.active { color: var(--af-blue); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--af-blue);
}
.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding-right: 16px; border-right: 1px solid var(--af-line);
}
.lang-switch button {
  background: none; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  color: var(--af-fg-2); padding: 2px 5px; border-radius: 3px;
  transition: color .15s, background .15s;
}
.lang-switch button:hover { color: var(--af-blue); }
.lang-switch button.active { color: var(--af-blue); background: rgba(10,57,96,.07); }
.lang-sep { font-size: 11px; color: var(--af-line); user-select: none; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all .2s var(--ease);
  cursor: pointer;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--af-blue);
  color: white;
}
.btn-primary:hover { background: var(--af-blue-700); }
.btn-primary:active { background: var(--af-blue-900); }
.btn-secondary {
  background: white;
  color: var(--af-blue);
  border-color: var(--af-line-strong);
}
.btn-secondary:hover { border-color: var(--af-blue); color: var(--af-blue-700); }
.btn-ghost-dark {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  backdrop-filter: blur(6px);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,.15); }
.btn-link {
  background: none; border: none; padding: 0;
  color: var(--af-blue); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-link:hover { color: var(--af-blue-700); }
.btn-link:hover svg { transform: translateX(4px); }
.btn-link svg { transition: transform .18s ease; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 15px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 820px;
  display: flex; align-items: center;
  background: var(--af-blue-900);
  overflow: hidden;
  color: white;
  transform: translateZ(0);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,57,96,.22) 0%, rgba(10,57,96,.55) 50%, rgba(10,57,96,.88) 100%);
}
.hero-logo-test {
  width: 240px; height: auto;
  display: block;
  margin-bottom: 24px;
}
.hero-hex {
  position: absolute; pointer-events: none;
  width: 520px; opacity: .17;
  right: -120px; top: 50%;
  transform: translateY(-50%);
}
.hero-hex-2 {
  position: absolute; pointer-events: none;
  width: 220px; opacity: .30;
  right: 18%; bottom: 8%;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0 auto; padding: 0 32px; width: 100%;
}
.hero-inner--right {
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.hero h1 {
  color: white;
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero h1 em {
  color: var(--af-sky);
  font-style: italic;
}
.hero-lede {
  color: rgba(255,255,255,.85);
  font-size: 19px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 36px;
  font-weight: 400;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--af-sky);
  font-weight: 600;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--af-sky);
}
.hero-eyebrow--right::before { display: none; }
.hero-eyebrow--right::after  { content: ""; width: 32px; height: 1px; background: var(--af-sky); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions--right { justify-content: flex-end; }

/* hero stat bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,57,96,.85);
  border-top: 1px solid rgba(118,182,221,.2);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.hero-stats-inner {
  max-width: 1240px; margin: 0 auto; padding: 28px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.hero-stat .num {
  font-size: 32px; font-weight: 700;
  color: white; letter-spacing: -.02em;
  line-height: 1;
}
.hero-stat .label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--af-sky); margin-top: 8px; font-weight: 600;
}
@media (max-width: 720px) {
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ========== PROCESS OVERVIEW (Anodising / Powder) ========== */
.process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
/* moved below for predictable cascade */
.process-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 56px;
  color: white;
  transition: all .4s var(--ease);
}
.process-card .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
}
.process-card:hover .img { transform: scale(1.04); }
.process-card .img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,57,96,.35) 0%, rgba(10,57,96,.65) 55%, rgba(10,57,96,.96) 100%);
}
.process-card.anodising .img {
  background-image: url("https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?auto=format&fit=crop&q=80&w=1600");
}
.process-card.coating .img {
  background-image: url("https://images.unsplash.com/photo-1581092446327-9b52bd1570c2?auto=format&fit=crop&q=80&w=1600");
}
.process-card.multimetal .img {
  background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&q=80&w=1600");
}
.process-card.more .img {
  background-image: url("https://images.unsplash.com/photo-1581092446327-9b52bd1570c2?auto=format&fit=crop&q=80&w=1600");
}
.process-card-body {
  position: relative; z-index: 2; max-width: 480px;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.process-card-body .num { flex: 0 0 auto; }
.process-card .num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--af-sky);
  margin-bottom: 16px;
  display: block;
}
.process-card h2 {
  color: white;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0 0 16px;
}
.process-card p {
  color: rgba(255,255,255,.85);
  margin: 0 0 28px;
  font-size: 16px;
  flex: 1;
}
.process-card .cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.process-card .cat {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.process-card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: white;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 6px; width: fit-content;
  transition: gap .3s var(--ease);
}
.process-card-cta:hover { gap: 16px; }

@media (max-width: 880px) {
  .process-row { grid-template-columns: 1fr; }
  .process-card { min-height: 440px; padding: 40px 32px; }
}

/* ========== BENEFITS ========== */
.benefits {
  background: var(--af-paper);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}
.benefits-bg {
  position: absolute; right: -200px; top: -100px;
  width: 600px; opacity: .35; pointer-events: none;
}
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 48px;
}
@media (max-width: 880px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  background: white;
  padding: 36px 32px;
  border: 1px solid var(--af-line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  position: relative;
  transition: all .3s var(--ease);
}
.benefit:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--af-blue-30);
  transform: translateY(-2px);
}
.benefit-hex {
  width: 56px; height: 64px;
  position: relative;
  margin-bottom: 24px;
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-hex::before {
  content: ""; position: absolute; inset: 0;
  background: var(--af-sky-10);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.benefit-hex svg { position: relative; z-index: 1; color: var(--af-blue); }
.benefit h3 { font-size: 19px; margin-bottom: 10px; }
.benefit p { font-size: 15px; margin: 0; color: var(--af-fg-2); }

/* ========== PRODUCT HIGHLIGHTS ========== */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
@media (max-width: 880px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: white;
  border: 1px solid var(--af-line-strong);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s var(--ease);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--af-blue-30);
}
.product-card .thumb {
  height: 200px;
  background-size: cover; background-position: center;
  background-color: var(--af-sky-10);
  position: relative;
}
.product-card .thumb-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.95);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--af-blue-900);
  letter-spacing: .04em;
}
.product-card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.product-card .code { font-family: var(--font-mono); font-size: 12px; color: var(--af-fg-3); margin-bottom: 6px; letter-spacing: .04em;}
.product-card h3 { font-size: 20px; margin-bottom: 8px; }
.product-card p { font-size: 14px; flex: 1; }
.product-card .meta { display: flex; gap: 14px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--af-line); font-size: 12px; color: var(--af-fg-3); }
.product-card .meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ========== CONFIGURATOR ========== */
.config-section {
  background: linear-gradient(180deg, white 0%, var(--af-sky-10) 100%);
  position: relative;
  overflow: hidden;
}
.config-section .container { position: relative; z-index: 2; }
.config-hex {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.config-hex.one {
  width: 620px; height: 715px;
  top: -200px; right: -260px;
  transform: rotate(8deg);
  opacity: .85;
}
.config-hex.two {
  width: 480px; height: 555px;
  bottom: -240px; left: -180px;
  transform: rotate(-12deg);
  opacity: .9;
}
.config-hex.three {
  width: 150px; height: 175px;
  top: 56%; right: 8%;
  transform: rotate(20deg);
  opacity: .55;
}
.config-shell {
  background: white;
  border: 1px solid var(--af-line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.config-head {
  padding: 32px 40px;
  border-bottom: 1px solid var(--af-line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  background: white;
}
.config-head-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--af-fg-3);
}
.config-head-title strong { color: var(--af-blue); font-weight: 600; }

.steps {
  display: flex; gap: 4px;
  align-items: center;
}
.step {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--af-fg-3);
  font-weight: 500;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--af-paper);
  border: 1.5px solid var(--af-line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  color: var(--af-fg-3);
  transition: all .2s var(--ease);
}
.step.active .step-num { background: var(--af-blue); border-color: var(--af-blue); color: white; }
.step.active { color: var(--af-ink); }
.step.done .step-num { background: var(--af-blue-900); border-color: var(--af-blue-900); color: white; }
.step.done { color: var(--af-fg-2); }
.step-sep { width: 28px; height: 1px; background: var(--af-line-strong); }

.config-body {
  padding: 48px 40px;
  min-height: 480px;
  background: white;
}
.config-q {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--af-blue);
  font-weight: 600;
  margin-bottom: 12px;
}
.config-h {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--af-ink);
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 18ch;
}
.config-sub {
  color: var(--af-fg-2); font-size: 16px;
  max-width: 56ch; margin-bottom: 36px;
}
.config-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.config-options.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) {
  .config-options.cols-2 { grid-template-columns: 1fr; }
}
.opt {
  position: relative;
  background: white;
  border: 1.5px solid var(--af-line-strong);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  transition: all .2s var(--ease);
  display: flex; flex-direction: column;
  gap: 10px;
  font: inherit; color: inherit;
}
.opt:hover {
  border-color: var(--af-blue);
  box-shadow: var(--shadow-1);
}
.opt.selected {
  border-color: var(--af-blue);
  background: var(--af-sky-10);
  box-shadow: 0 0 0 4px rgba(20,99,168,.08);
}
.opt-icon {
  width: 44px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: 4px;
}
.opt-icon::before {
  content: ""; position: absolute; inset: 0;
  background: var(--af-sky-10);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.opt.selected .opt-icon::before { background: var(--af-blue); }
.opt.selected .opt-icon svg { color: white; }
.opt[disabled], .opt.disabled {
  opacity: .55;
  cursor: not-allowed;
  background: var(--af-paper);
  border-style: dashed;
  border-color: var(--af-line-strong);
}
.opt[disabled]:hover, .opt.disabled:hover {
  border-color: var(--af-line-strong);
  box-shadow: none;
}
.opt-lock {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--af-danger);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.config-empty {
  padding: 28px;
  background: var(--af-paper);
  border: 1px dashed var(--af-line-strong);
  border-radius: 12px;
  color: var(--af-fg-2);
}
.opt-icon svg { position: relative; z-index: 1; color: var(--af-blue); }
.opt-title { font-weight: 600; font-size: 16px; color: var(--af-ink); }
.opt-desc { font-size: 13px; color: var(--af-fg-2); line-height: 1.5; }
.opt-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--af-fg-3);
  text-transform: uppercase;
}
.opt-check {
  position: absolute; top: 16px; right: 16px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--af-blue);
  display: none; align-items: center; justify-content: center;
  color: white;
}
.opt.selected .opt-check { display: inline-flex; }

.config-foot {
  padding: 24px 40px;
  border-top: 1px solid var(--af-line);
  background: var(--af-paper);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.config-summary {
  font-size: 13px; color: var(--af-fg-2);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.config-summary kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  background: white;
  border: 1px solid var(--af-line-strong);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--af-blue-900);
  letter-spacing: .02em;
}
.config-foot-actions { display: flex; gap: 10px; }

/* result panel */
.config-result {
  display: grid; grid-template-columns: 1.2fr .9fr; gap: 32px;
}
@media (max-width: 880px) { .config-result { grid-template-columns: 1fr; } }
.result-rec {
  border: 1.5px solid var(--af-blue);
  border-radius: 14px;
  padding: 28px;
  background: linear-gradient(180deg, white 0%, var(--af-sky-10) 100%);
  position: relative;
}
.result-rec-tag {
  position: absolute; top: -10px; left: 24px;
  background: var(--af-blue); color: white;
  padding: 4px 12px; font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: 4px;
}
.result-rec .code { font-family: var(--font-mono); color: var(--af-fg-3); font-size: 12px; margin-top: 4px; }
.result-rec h3 { font-size: 28px; font-weight: 700; margin: 8px 0 8px; }
.result-rec p { font-size: 14px; }
.result-spec {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--af-line);
  border-left: 1px solid var(--af-line);
  border-radius: 6px;
  overflow: hidden;
}
.result-spec div {
  padding: 12px 14px;
  border-right: 1px solid var(--af-line);
  border-bottom: 1px solid var(--af-line);
  font-size: 13px;
}
.result-spec dt {
  color: var(--af-fg-3);
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}
.result-spec dd { margin: 0; color: var(--af-ink); font-weight: 500; font-family: var(--font-mono); font-size: 13px; }

.result-aside {
  background: var(--af-paper);
  border: 1px solid var(--af-line);
  border-radius: 14px;
  padding: 24px;
}
.result-aside h4 { font-size: 14px; margin: 0 0 12px; color: var(--af-ink); font-weight: 600;}
.alt {
  padding: 14px 0;
  border-bottom: 1px solid var(--af-line);
  display: flex; align-items: center; gap: 12px;
}
.alt:last-child { border-bottom: 0; }
.alt-code { font-family: var(--font-mono); font-size: 11px; color: var(--af-fg-3); }
.alt-name { font-weight: 500; font-size: 14px; }
.alt-fit { margin-left: auto; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--af-sky-10); color: var(--af-blue); font-weight: 600; }

/* ========== SUSTAINABILITY ========== */
.sustain {
  background: var(--af-blue-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.sustain-bg {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1466611653911-95081537e5b7?auto=format&fit=crop&q=80&w=2000");
  background-size: cover; background-position: center;
  opacity: .55;
}
.sustain-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,57,96,.80) 30%, rgba(10,57,96,.25) 100%);
}
.sustain-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .sustain-inner { grid-template-columns: 1fr; } }
.sustain h2 { color: white; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.01em; line-height: 1.05; }
.sustain p { color: rgba(255,255,255,.8); font-size: 17px; }
.sustain-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.sustain-stat {
  padding: 28px 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  border-left: 1px solid rgba(255,255,255,.15);
}
.sustain-stat:nth-child(1), .sustain-stat:nth-child(2) { border-top: 0; }
.sustain-stat:nth-child(odd) { border-left: 0; }
.sustain-stat .num { font-size: 32px; font-weight: 700; color: var(--af-sky); letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.sustain-stat .lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 8px; line-height: 1.4; }

/* ========== FOOTER ========== */
.footer {
  background: var(--af-blue-900);
  color: rgba(255,255,255,.8);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before { display: none; }
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.7; }
.footer h5 {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--af-sky); font-weight: 600; margin: 4px 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer a:hover { color: white; }
.footer-bot {
  position: relative;
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,.5);
}

/* ========== CHATBOT LAUNCHER ========== */
.chat-launcher {
  position: relative;
  z-index: 60;
  background: var(--af-blue);
  color: white;
  height: 60px;
  border-radius: 999px;
  padding: 0 24px 0 20px;
  display: inline-flex; align-items: center; gap: 14px;
  border: none;
  box-shadow: var(--shadow-blue);
  font-weight: 600; font-size: 14px;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.chat-launcher:hover { background: var(--af-blue-700); transform: translateY(-2px); }
.chat-launcher .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
}
.chat-launcher-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ========== SCROLL REVEAL ========== */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.22,.68,0,1.1), transform .6s cubic-bezier(.22,.68,0,1.1);
  will-change: opacity, transform;
}
.anim.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .anim { transition: none; } }

/* ========== HEX ANIMATIONS ========== */
@keyframes hex-float-centered {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%       { transform: translateY(calc(-50% - 22px)) rotate(5deg); }
}
@keyframes hex-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(4deg); }
}
@keyframes hex-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35%       { transform: translateY(-14px) rotate(-3deg); }
  70%       { transform: translateY(10px) rotate(3deg); }
}
@keyframes hex-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%       { transform: scale(1.08) rotate(-6deg); }
}
.hero-hex    { animation: hex-float-centered 9s ease-in-out infinite; }
.hero-hex-2  { animation: hex-drift 12s ease-in-out infinite; }
.benefits-bg { animation: hex-pulse 16s ease-in-out infinite; }
.step-cards-hex.hex-1 { animation: hex-float 11s ease-in-out infinite; }
.step-cards-hex.hex-2 { animation: hex-drift 14s ease-in-out infinite 1.5s; }
.step-cards-hex.hex-3 { animation: hex-float 10s ease-in-out infinite 3s; }

/* ========== UTILITIES ========== */
.section-head { max-width: 800px; margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 14px; }
.split-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 32px; margin-bottom: 8px;
}
.split-head .h1 { max-width: 18ch; }

/* ========== MOBILE HAMBURGER & MENU ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 9px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--af-paper); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--af-blue);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 69px; /* header height at mobile (12px padding × 2 + 44px logo + 1px border) */
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--af-line);
  overflow-y: auto;
  padding: 4px 0 32px;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-item {
  display: block;
  padding: 15px 24px;
  font-size: 16px; font-weight: 500;
  color: var(--af-fg);
  cursor: pointer;
  border-bottom: 1px solid var(--af-line);
  transition: color .15s, background .15s;
}
.mobile-nav-item:last-of-type { border-bottom: none; }
.mobile-nav-item:hover { color: var(--af-blue); background: var(--af-paper); }
.mobile-nav-item.active { color: var(--af-blue); font-weight: 600; }
.mobile-menu-foot {
  margin: 16px 24px 0;
  display: flex; align-items: center; gap: 16px;
}
.mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 49;
}

/* ========== RESPONSIVE — HEADER ========== */
@media (max-width: 920px) {
  .header-inner { padding: 12px 20px; gap: 12px; }
  .logo img { height: 44px; }
  .nav { display: none; }
  .header-cta { display: none !important; }
  .hamburger { display: flex; }
  .lang-switch { border-right: none; padding-right: 0; }
}

/* ========== RESPONSIVE — HOMEPAGE ========== */
@media (max-width: 880px) {
  .hero { min-height: 620px; }
  /* Show left side of video where the object lives */
  .hero-video { object-position: left center; }
  /* Switch back to left-aligned layout on tablet/mobile */
  .hero-inner--right { align-items: flex-start; text-align: left; }
  .hero-eyebrow--right::before { display: inline-block; }
  .hero-eyebrow--right::after  { display: none; }
  .hero-actions--right { justify-content: flex-start; }
  /* Give hero-inner bottom clearance so content doesn't hide behind stats bar */
  .hero-inner { padding-bottom: 88px; }
  .config-head { padding: 24px 20px 18px; }
  .config-body { padding: 28px 20px; }
  .config-h { font-size: 26px; }
  .config-sub { margin-bottom: 24px; }
  /* Steps: separators flex so they fill space evenly */
  .steps { gap: 0; width: 100%; }
  .step { gap: 6px; }
  .step-sep { flex: 1; min-width: 8px; width: auto; }
}

@media (max-width: 720px) {
  /* Topbar */
  .topbar-inner { padding: 0 16px; }

  /* Hex decorations — hide on mobile to prevent compositing layer bleed */
  .hero-hex, .hero-hex-2, .benefits-bg, .config-hex, .step-cards-hex { display: none; }

  /* Section spacing */
  .section { padding: 60px 0; }
  .section-sm { padding: 44px 0; }

  /* Hero */
  .hero { min-height: 680px; }
  .hero-inner { padding: 0 20px 88px; }
  .hero h1 { font-size: clamp(36px, 9.5vw, 56px); }
  .hero-lede { font-size: 16px; max-width: none; margin-bottom: 24px; }
  .hero-actions .btn { padding: 11px 18px; font-size: 13px; }
  .hero-stats-inner { gap: 16px; padding: 20px 20px; }
  .hero-stat .num { font-size: 24px; }
  .hero-stat .label { font-size: 11px; margin-top: 6px; }

  /* Process cards */
  .process-card { padding: 32px 20px; }
  .process-card h2 { font-size: clamp(26px, 7vw, 44px); }

  /* Benefits */
  .benefit { padding: 28px 20px; }

  /* Sustainability */
  .sustain p { font-size: 15px; }

  /* Lede utility */
  .lede { font-size: 16px; max-width: none; }

  /* Footer */
  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr !important; }

  /* Chat */
  .chat-launcher { height: 52px; padding: 0 18px 0 14px; font-size: 13px; gap: 10px; }
  .chat-launcher-icon { width: 28px; height: 28px; }

  /* Configurator */
  .config-head { padding: 16px 16px 12px; flex-direction: column; align-items: stretch; gap: 12px; }
  .config-body { padding: 20px 16px; }
  .config-h { font-size: 22px; }
  .step-label { display: none; }
  .step-num { width: 24px; height: 24px; font-size: 11px; }
  input[type="text"], input[type="email"], input[type="tel"], textarea, select { font-size: 16px !important; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero-lede { font-size: 15px; }
  .hero-stat .num { font-size: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bot { flex-direction: column; gap: 8px; }
  .chat-launcher-wrap { bottom: 12px; right: 12px; }
}

/* ── btn-outline ─────────────────────────────────────────────────────────── */
.btn-outline {
  background: white;
  color: var(--af-fg);
  border-color: var(--af-line);
}
.btn-outline:hover { border-color: var(--af-blue); color: var(--af-blue); }

/* ── Cookie Banner ───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: white;
  border-top: 1px solid var(--af-line);
  box-shadow: 0 -4px 24px rgba(10,57,96,.10);
  padding: 20px 0;
}
.cookie-banner-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 260px; }
.cookie-banner-title { font-size: 15px; font-weight: 700; color: var(--af-fg); display: block; margin-bottom: 4px; }
.cookie-banner-text p { margin: 0; font-size: 13px; color: var(--af-fg-2); line-height: 1.55; }
.cookie-link { background: none; border: none; padding: 0; color: var(--af-blue); font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: underline; }
.cookie-link:hover { color: var(--af-sky); }
.cookie-banner-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn-details { background: none; border: none; padding: 0; font-size: 13px; color: var(--af-fg-2); cursor: pointer; text-decoration: underline; white-space: nowrap; }
.cookie-btn-details:hover { color: var(--af-fg); }

.cookie-details { width: 100%; }
.cookie-category { padding: 12px 0; border-bottom: 1px solid var(--af-line); }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.cookie-category-desc { color: var(--af-fg-2); font-weight: 400; }
.cookie-category-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--af-blue); cursor: pointer; }
.cookie-category-label input[type="checkbox"]:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 0 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}
