/* ==========================================================================
   METFORM — homepage redesign
   Real brand navy (#17375e) sampled from company logo. No gold/brass —
   monochrome-metallic palette only.
   Self-hosted type: Archivo (variable, width + weight axes) for display & body,
   Space Mono for technical labels / eyebrows / spec captions. No CDN fonts.
   ========================================================================== */

/* --- Archivo (variable: weight 300–900, width 62%–125%) --- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Space Mono 400 --- */
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Space Mono 700 --- */
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* --- Brand palette (researched, not invented) --- */
  --navy-900: #17375e;      /* real brand navy, sampled from logo */
  --navy-950: #0d1b2c;      /* darkened navy for deepest surfaces */
  --navy-800: #1f4468;      /* lifted one step for cards on dark */
  --navy-700: #2c5578;      /* hover / interactive surfaces */
  --steel-accent: #5b84a8;  /* desaturated steel-blue, from navy family only */

  --silver-100: #d9d9d9;    /* wordmark silver, sampled from logo */
  --silver-200: #eceeef;
  --steel-600: #7c8894;     /* mid steel grey for secondary text on dark */
  --steel-300: #b9c2c9;

  --paper: #f7f7f5;         /* warm paper, not pure white */
  --paper-dim: #eeeeec;
  --ink: #14212f;           /* near-navy ink for body text on light */
  --ink-soft: #4c5a67;

  --white: #ffffff;

  /* --- Type --- */
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Width axis (font-stretch) presets — the antidote to "basık": expanded, poster-like display */
  --wide-hero: 118%;        /* very largest headline */
  --wide-display: 112%;     /* section h2 / big stats */
  --wide-sub: 106%;         /* h3 / smaller display */

  /* Modular type scale (clamp-based, fluid) */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.75vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.75vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.5vw, 3.8rem);
  --step-5:  clamp(2.8rem, 1.9rem + 4.6vw, 5.6rem);

  /* --- Motion / spacing --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-s: 0.3s;
  --dur-m: 0.6s;
  --dur-l: 1s;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: var(--wide-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
  color: var(--navy-950);
}
h1 {
  font-stretch: var(--wide-hero);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
h3 {
  font-stretch: var(--wide-sub);
  font-weight: 700;
  letter-spacing: -0.005em;
}
h4 {
  font-stretch: var(--wide-sub);
  font-weight: 700;
  letter-spacing: 0;
}
/* Default in-content heading sizes (section-head / cards override where needed) */
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--steel-accent);
  display: inline-block;
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.section--dark {
  background: var(--navy-950);
  color: var(--steel-300);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--navy {
  background: var(--navy-900);
  color: var(--silver-200);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--paper-dim { background: var(--paper-dim); }

.section-head {
  max-width: 40ch;
  margin-bottom: clamp(2.75rem, 6vw, 4.25rem);
}
.section-head h2 {
  font-size: var(--step-3);
  line-height: 1.05;
}
.section-head p {
  margin-top: 1.35rem;
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.55;
}
.section--dark .section-head p,
.section--navy .section-head p { color: var(--steel-300); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--white);
  color: var(--navy-950);
}
.btn--primary:hover { background: var(--silver-200); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.8); transform: translateY(-2px); }
.btn--dark {
  background: var(--navy-950);
  color: var(--white);
}
.btn--dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: padding var(--dur-m) var(--ease), background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), backdrop-filter var(--dur-m) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1.25rem, 1.5vw, 2rem);
}
.site-header.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(13, 27, 44, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img { height: 33px; width: auto; align-self: baseline; }

.main-nav { display: flex; align-items: center; gap: clamp(0.7rem, 0.85vw, 1.05rem); min-width: 0; }
.main-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--silver-200);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0; inset-inline-end: 100%;
  bottom: 0;
  height: 1px;
  background: var(--white);
  transition: inset-inline-end var(--dur-s) var(--ease);
}
.main-nav a:hover::after { inset-inline-end: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-inline-start: auto;   /* push brand to the leading edge, actions to the far end (RTL-aware) */
  flex-shrink: 0;
}
/* Compact the in-header CTA so the full desktop nav fits in the longest
   language (ES/IT) without overflow. */
.site-header .header-actions .btn {
  padding: 0.62rem 1.15rem;
  font-size: 0.85rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--white);
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,27,44,0.55) 0%, rgba(13,27,44,0.35) 32%, rgba(13,27,44,0.72) 78%, var(--navy-950) 100%),
    linear-gradient(100deg, rgba(13,27,44,0.85) 0%, rgba(23,55,94,0.35) 45%, rgba(13,27,44,0.55) 100%);
}
.hero-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 14rem;
  padding-bottom: 3rem;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-100);
  margin-bottom: 1.6rem;
  opacity: 0.9;
}
.hero-title {
  font-size: var(--step-5);
  line-height: 1.0;
  color: var(--white);
  max-width: 16ch;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}
.hero.is-ready .hero-title .line span { transform: translateY(0); }
.hero-title .line:nth-child(1) span { transition-delay: 0.15s; }
.hero-title .line:nth-child(2) span { transition-delay: 0.28s; }
.hero-title .line:nth-child(3) span { transition-delay: 0.41s; }

.hero-sub {
  margin-top: 1.9rem;
  max-width: 52ch;
  font-size: var(--step-1);
  line-height: 1.58;
  color: var(--steel-300);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease) 0.6s, transform 0.8s var(--ease) 0.6s;
}
.hero.is-ready .hero-sub { opacity: 1; transform: translateY(0); }

.hero-ctas {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease) 0.75s, transform 0.8s var(--ease) 0.75s;
}
.hero.is-ready .hero-ctas { opacity: 1; transform: translateY(0); }

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats .stat {
  padding: 1.4rem 1.2rem 1.6rem;
  border-left: 1px solid rgba(255,255,255,0.14);
}
.hero-stats .stat:first-child { border-left: none; padding-left: 0; }
.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-stretch: var(--wide-sub);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.hero-stats .stat span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-300);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-300);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--steel-300), transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.4; }
}

/* ==========================================================================
   Marquee ticker
   ========================================================================== */
.ticker {
  background: var(--navy-900);
  color: var(--silver-200);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  padding: 1.1rem 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track span::after {
  content: "\2022";
  margin-left: 2.4rem;
  color: var(--steel-accent);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
}

/* ==========================================================================
   Reveal utility
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,55,94,0) 55%, rgba(13,27,44,0.55) 100%);
}
.about-copy p { font-size: var(--step-0); line-height: 1.62; color: var(--ink-soft); margin: 0 0 1.3rem; max-width: 62ch; }
.about-copy p:last-child { margin-bottom: 0; }
.vision-mission {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.2rem;
}
.vm-card {
  border-left: 3px solid var(--navy-900);
  padding: 0.9rem 0 0.9rem 1.2rem;
}
.vm-card h4 {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-accent);
  margin-bottom: 0.6rem;
}
.vm-card p { font-size: var(--step-0); line-height: 1.58; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Capability grid
   ========================================================================== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-300);
  border: 1px solid var(--steel-300);
}
.cap-card {
  background: var(--paper);
  padding: 2.4rem 2rem;
  transition: background var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
.cap-card:hover {
  background: var(--white);
  transform: translateY(-4px);
}
.cap-icon {
  width: 46px; height: 46px;
  margin-bottom: 1.4rem;
  color: var(--navy-900);
}
.cap-icon svg { width: 100%; height: 100%; }
.cap-card h3 { font-size: var(--step-1); margin-bottom: 0.7rem; }
.cap-card p { margin: 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.55; }

/* ==========================================================================
   Stat band
   ========================================================================== */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-band .item b {
  display: block;
  font-family: var(--font-display);
  font-stretch: var(--wide-display);
  font-weight: 800;
  font-size: var(--step-4);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  line-height: 1;
}
.stat-band .item span {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-300);
}

/* ==========================================================================
   Products
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.tilt-card {
  perspective: 1400px;
}
.tilt-card__inner {
  background: var(--white);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 30px 60px -25px rgba(13,27,44,0.35);
  transform: rotateX(0) rotateY(0);
  transition: transform 0.25s var(--ease);
  will-change: transform;
}
.tilt-card__inner img { border-radius: 3px; width: 100%; }
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.product-tags span {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
  border: 1px solid var(--steel-300);
  border-radius: 100px;
  color: var(--navy-900);
}
.products-copy p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; max-width: 52ch; }

/* ==========================================================================
   Ar-Ge / Farkımız
   ========================================================================== */
.arge-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.arge-media {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/4.4;
}
.arge-media img { width: 100%; height: 100%; object-fit: cover; }
.diff-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.diff-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
}
.diff-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--steel-accent);
  padding-top: 0.15rem;
}
.diff-item h4 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.diff-item p { margin: 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.55; }

/* ==========================================================================
   Quality band
   ========================================================================== */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.quality-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2.2rem;
}
.quality-card h3 { color: var(--white); font-size: var(--step-1); margin-bottom: 0.8rem; }
.quality-card p { margin: 0; color: var(--steel-300); font-size: var(--step-0); line-height: 1.55; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--steel-300);
  padding: 4.5rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 34px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-stretch: normal;
  color: var(--white);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a, .footer-col address { font-size: 0.95rem; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--steel-600);
}

/* ==========================================================================
   Counters helper
   ========================================================================== */
[data-counter] { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* ---- Header collapses to a mobile drawer below 1300px --------------------
   The 8-item nav in EN/ES/IT (e.g. "Recursos Humanos", "Nuestra diferencia"
   plus a wide "Solicitar presupuesto" CTA) only fits the 1200px content row
   at viewports >=1300px. Below that the full nav is genuinely too wide, so we
   switch to the drawer. Keep the JS resize threshold (main.js) in sync. */
@media (max-width: 1300px) {
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 6rem var(--gutter) 8rem;
    background: rgba(13, 27, 44, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform var(--dur-m) var(--ease);
    overflow-y: auto;
  }
  .main-nav a { font-size: clamp(1.25rem, 3.6vw, 1.6rem); }
  .nav-open .main-nav { transform: translateX(0); display: flex; }
  body.nav-open { overflow: hidden; }
  /* While the drawer is open, drop the header's backdrop-filter/background.
     A header with backdrop-filter becomes the containing block for its
     position:fixed drawer child, which would otherwise trap the drawer inside
     the thin scrolled/solid header bar instead of covering the viewport. The
     opaque drawer supplies the surface, so nothing is lost visually. */
  .nav-open .site-header,
  .nav-open .site-header.is-scrolled,
  .nav-open .site-header--solid {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Keep lang switch + hamburger reachable in the top bar, above the drawer. */
  .header-actions { position: relative; z-index: 95; }
  .nav-toggle { display: block; z-index: 96; }
  /* The wide CTA would crowd the top bar, so hide it there and re-expose it
     pinned to the bottom of the open drawer, where it stays usable/legible. */
  .header-actions .btn { display: none; }
  .nav-open .header-actions .btn {
    display: inline-flex;
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 2rem;
    z-index: 95;
    justify-content: center;
    padding: 0.95rem 1.2rem;
    font-size: 0.95rem;
  }
}
@media (max-width: 980px) {
  .about-grid, .products-grid, .arge-grid { grid-template-columns: 1fr; }
  .arge-media { order: -1; aspect-ratio: 16/9; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 9rem; }
  /* Long non-breaking spec values (e.g. "IATF 16949:2016") must not push the
     hero stats wider than a 2-col cell on small phones. */
  .hero-stats .stat { padding: 1.1rem 0.9rem 1.3rem; }
  .hero-stats .stat:first-child { padding-left: 0; }
  .hero-stats .stat b { overflow-wrap: anywhere; }
  /* Narrow the width axis on small screens so the expanded display type
     doesn't overflow long Turkish words (e.g. "şekillendiriyoruz."). */
  :root {
    --wide-hero: 104%;
    --wide-display: 103%;
    --wide-sub: 102%;
  }
  .hero-title { max-width: 100%; }
  h1, h2, h3, h4 { text-wrap: pretty; }
  .hero-title, .page-banner h1, .about-copy p, .products-copy p { overflow-wrap: break-word; }
}

/* ==========================================================================
   =========================================================================
   MULTI-PAGE SHARED COMPONENT LIBRARY (foundation for all inner pages)
   Built by the foundation pass. Inner pages should reuse these class names.
   =========================================================================
   ========================================================================== */

/* --- Accessible focus rings (global) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--steel-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Header: active nav link + solid inner-page variant --- */
.main-nav a.is-active { color: var(--white); }
.main-nav a.is-active::after { right: 0; height: 2px; background: var(--steel-accent); }

/* Use `.site-header site-header--solid` on inner pages whose masthead is NOT a
   dark banner, so the header is legible (navy blur) from the very top. Pages
   that use a dark `.page-banner` can keep the plain transparent header. */
.site-header--solid {
  background: rgba(13, 27, 44, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Page banner (inner-page masthead) — dark navy band, optional bg photo
   ========================================================================== */
.page-banner {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(9rem, 15vw, 12.5rem) 0 clamp(3rem, 6vw, 4.75rem);
  overflow: hidden;
}
.page-banner__bg { position: absolute; inset: 0; z-index: 0; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,27,44,0.74) 0%, rgba(13,27,44,0.58) 48%, rgba(13,27,44,0.92) 100%),
    linear-gradient(100deg, rgba(13,27,44,0.9) 0%, rgba(23,55,94,0.42) 100%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner .eyebrow { color: var(--steel-accent); margin-bottom: 1rem; }
.page-banner h1 {
  font-size: var(--step-4);
  color: var(--white);
  max-width: 22ch;
}
.page-banner__lead {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: var(--step-1);
  line-height: 1.58;
  color: var(--steel-300);
}

/* Breadcrumb (lives inside a dark banner) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--steel-300);
}
.breadcrumb a { color: var(--steel-300); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--steel-600); }
.breadcrumb [aria-current="page"] { color: var(--white); }

/* ==========================================================================
   Prose — comfortable rich-text block for real paragraph copy
   ========================================================================== */
.prose { max-width: 65ch; }
.prose > * + * { margin-top: 1.4em; }
.prose p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose h2 {
  margin-top: 2.4em;
  font-size: var(--step-2);
  color: var(--navy-950);
}
.prose h3 {
  margin-top: 2em;
  font-size: var(--step-1);
  color: var(--navy-950);
}
.prose h2 + p, .prose h3 + p { margin-top: 1em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { margin: 0; padding-left: 1.35em; color: var(--ink-soft); }
.prose li { margin-top: 0.55em; line-height: 1.75; }
.prose a {
  color: var(--steel-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--navy-900); }
/* `.prose--lead` sets its first paragraph as a larger intro line. */
.prose--lead > p:first-child {
  font-size: var(--step-1);
  line-height: 1.62;
  color: var(--ink);
}

/* ==========================================================================
   Feature grid / card (icon + title + text) — capability & differentiator tiles
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-300);
  border: 1px solid var(--steel-300);
}
.feature-card {
  background: var(--paper);
  padding: 2.4rem 2rem;
  transition: background var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
.feature-card:hover { background: var(--white); transform: translateY(-4px); }
.feature-icon {
  width: 46px; height: 46px;
  margin-bottom: 1.4rem;
  color: var(--navy-900);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: var(--step-1); margin-bottom: 0.7rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.55; }

/* ==========================================================================
   Steps — numbered process list (01–06)
   ========================================================================== */
.steps { display: grid; gap: 0; border-bottom: 1px solid var(--steel-300); }
.steps--cols { grid-template-columns: repeat(2, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--steel-300);
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--steel-accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.1rem;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.6; }

/* ==========================================================================
   Media figure (framed image + caption) & gallery grid
   ========================================================================== */
.media-figure {
  margin: 0;
  border: 1px solid var(--steel-300);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}
.media-figure img { width: 100%; height: auto; display: block; }
.media-figure figcaption {
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--steel-300);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-grid > img,
.gallery-grid .media-figure { border-radius: 4px; overflow: hidden; }
.gallery-grid .media-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-grid > img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--steel-300);
}

/* ==========================================================================
   CTA band — closing call-to-action strip
   ========================================================================== */
.cta-band { background: var(--navy-950); color: var(--white); }
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.cta-band__text h2 {
  color: var(--white);
  font-size: var(--step-3);
  max-width: 22ch;
}
.cta-band__text p {
  margin-top: 1rem;
  max-width: 48ch;
  color: var(--steel-300);
  font-size: var(--step-0);
}
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Value cards — Vizyon / Misyon / Değerler / Kalite Politikası
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--steel-300);
  border-top: 3px solid var(--navy-900);
  border-radius: 4px;
  padding: 2rem 1.9rem;
}
.value-card__label {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-accent);
}
.value-card h3 { font-size: var(--step-1); margin-bottom: 0.8rem; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.72; }
.value-card ul { margin: 0; padding-left: 1.15em; color: var(--ink-soft); }
.value-card li { margin-top: 0.55em; line-height: 1.6; }
/* `.value-card--wide` spans both columns (e.g. long Kalite Politikası). */
.value-card--wide { grid-column: 1 / -1; }

/* ==========================================================================
   Contact — info column + form + map embed
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem 1.6rem;
}
.contact-info dl > div:first-child { grid-column: 1 / -1; }
.contact-info dt {
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-accent);
}
.contact-info dd {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  font-style: normal;
}
.contact-info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--steel-accent);
  overflow-wrap: anywhere;
}
.contact-info a:hover { color: var(--navy-900); }

.form { display: grid; gap: 1.2rem; }
.form-field { display: grid; gap: 0.5rem; }
.form label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form input,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--steel-300);
  border-radius: 3px;
  padding: 0.85rem 1rem;
}
.form textarea { resize: vertical; min-height: 150px; }
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(23,55,94,0.15);
}
.form__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.5;
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--steel-300);
  border-radius: 4px;
  overflow: hidden;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Homepage teaser helpers (link chip used on index section links)
   ========================================================================== */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.text-link svg { width: 16px; height: 16px; transition: transform var(--dur-s) var(--ease); }
.text-link:hover svg { transform: translateX(4px); }
.section--dark .text-link,
.section--navy .text-link { color: var(--white); }

/* ==========================================================================
   Shared-component responsive
   ========================================================================== */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .steps--cols { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-info dl { grid-template-columns: 1fr; gap: 1.15rem; }
  .contact-info dl > div:first-child { grid-column: auto; }
}

/* ==========================================================================
   Brand lockup (new metal logo) + Language switcher
   ========================================================================== */
/* The metallic "M" mark reads as the first letter of METFORM, so its glyph
   height is matched to the wordmark's cap height (with a slight emphasis) and
   its bottom seats on the text baseline, giving one cohesive wordmark rather
   than an oversized mark floating beside smaller letters. */
.brand-mark { height: 33px; width: auto; display: block; align-self: baseline;
  position: relative; top: 1.5px; }
.brand-word {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 2.35rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
  margin-left: 1px;
}
/* Metallic wordmark matching the logo: "ET" brushed silver, "FORM" brand blue,
   so the mark reads MET (silver) + FORM (blue) exactly like the source logo. */
.bw-et, .bw-form {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.bw-et {
  background-image: linear-gradient(180deg, #f4f6f8 0%, #ffffff 26%, #b9bfc6 60%, #e9ecef 100%);
}
.bw-form {
  background-image: linear-gradient(180deg, #5c9be2 0%, #2f6fc0 46%, #123e79 100%);
}
.footer-logo { height: 62px; width: auto; }

.lang-switch { position: relative; flex-shrink: 0; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--silver-200);
  border-radius: 2px;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-mono, "Space Mono", monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.lang-switch__btn:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.lang-switch__btn svg { width: 10px; height: 7px; transition: transform var(--dur-s) var(--ease); }
.lang-switch__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 150px;
  list-style: none; margin: 0; padding: 0.35rem;
  background: var(--navy-950, #0d1b2c);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), visibility var(--dur-s);
  z-index: 120;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch__menu button {
  width: 100%; text-align: start;
  background: transparent; border: none; cursor: pointer;
  color: var(--silver-200);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  padding: 0.6rem 0.75rem; border-radius: 3px;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}
.lang-switch__menu button:hover { background: rgba(255,255,255,0.06); color: #fff; }
.lang-switch__menu button[aria-selected="true"] { color: var(--steel-accent); font-weight: 700; }

/* Touch-friendly hit areas for the always-visible language switcher. */
@media (max-width: 1300px) {
  .lang-switch__btn { min-height: 44px; padding: 0.55rem 0.8rem; }
  .lang-switch__menu button { padding: 0.7rem 0.75rem; }
}
/* On phones the full METFORM wordmark stays visible next to the mark; both
   shrink fluidly so the lockup never crowds the switcher/hamburger, down to
   the smallest common widths (~320px). */
@media (max-width: 480px) {
  .brand-mark { height: clamp(22px, 6.6vw, 30px); }
  .brand-word { display: inline-block; font-size: clamp(1.3rem, 5.9vw, 1.95rem); }
  .lang-switch__btn { padding: 0.5rem 0.6rem; }
  .header-actions { gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-switch__menu { transition: none; }
  .lang-switch__btn svg { transition: none; }
}

/* ==========================================================================
   Products page — product-family cards (SCOPED via .product-family-grid /
   .product-card so other pages' .feature-card / .feature-grid are untouched)
   ========================================================================== */
.media-figure--showcase { background: var(--white); }
.media-figure--showcase img { background: var(--white); }

.product-family-grid {
  gap: 1.2rem;
  background: transparent;
  border: 0;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--steel-300);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--dur-m) var(--ease),
              box-shadow var(--dur-m) var(--ease),
              border-color var(--dur-m) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-900);
  box-shadow: 0 14px 34px rgba(13, 27, 44, 0.14);
}
.product-card__media {
  aspect-ratio: 4 / 3;
  background: var(--white);   /* real parts are shot on white */
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 1.4rem 1.4rem 1.6rem; }
.product-card__body h3 {
  font-size: var(--step-1);
  margin: 0 0 0.55rem;
  color: var(--navy-950);
}
.product-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step-0);
  line-height: 1.55;
}

/* ==========================================================================
   Products page — IATF 16949:2016 certificate credibility block
   ========================================================================== */
.cert-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cert-figure {
  margin: 0;
  max-width: 360px;
  border: 1px solid var(--steel-300);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.cert-figure a {
  display: block;
  outline-offset: 3px;
}
.cert-figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease);
}
.cert-figure a:hover img { transform: scale(1.02); }
.cert-figure figcaption {
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--steel-300);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.cert-copy h2 { margin: 0.7rem 0 1.1rem; }
.cert-copy p {
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 1.2rem;
}
.cert-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.cert-points li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--ink);
}
.cert-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--navy-900);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 980px) {
  .cert-layout { grid-template-columns: 1fr; }
  .cert-figure { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card__media img,
  .cert-figure img { transition: none; }
  .product-card:hover { transform: none; }
  .product-card:hover .product-card__media img,
  .cert-figure a:hover img { transform: none; }
}

/* ==========================================================================
   Long-word safety — German (and any language) compounds must not overflow
   narrow viewports. overflow-wrap only breaks words that don't fit, so
   shorter-word languages are unaffected; hyphens:auto gives clean, dictionary
   aware breaks for German where the browser supports it.
   ========================================================================== */
h1, h2, h3, h4, .hero-title, .eyebrow, .section-eyebrow {
  overflow-wrap: break-word;
}
:root[lang="de"] h1, :root[lang="de"] h2, :root[lang="de"] h3, :root[lang="de"] h4 {
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* ==========================================================================
   RTL support — Arabic (ar) and Persian (fa)
   The i18n runtime sets <html dir="rtl"> for these languages. Most layout is
   already direction-agnostic (logical margins, flexbox), so this block only
   fixes the handful of physically-anchored pieces plus Arabic/Persian text
   metrics (the Latin display font has no Arabic glyphs and its width axis /
   letter-spacing would misrender fallback text).
   ========================================================================== */
[dir="rtl"] {
  /* System stack with strong Arabic/Persian coverage; falls back cleanly. */
  --font-display: "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", Tahoma, "Vazirmatn", -apple-system, sans-serif;
  --font-body: "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", Tahoma, "Vazirmatn", -apple-system, sans-serif;
}
/* Neutralise the poster-width axis + tight tracking tuned for Archivo Latin. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .hero-title, [dir="rtl"] .section-title, [dir="rtl"] .eyebrow,
[dir="rtl"] .btn, [dir="rtl"] .main-nav a {
  font-stretch: normal;
  letter-spacing: normal;
}
/* Arabic/Persian read better with a touch more line-height for body copy. */
[dir="rtl"] p, [dir="rtl"] li { line-height: 1.85; }

/* The brand always reads left-to-right (M + ETFORM), even in RTL pages. */
[dir="rtl"] .brand { direction: ltr; }

/* Mobile drawer slides in from the leading (left) edge in RTL. Scoped to the
   drawer breakpoint so the desktop nav is never translated off-canvas. */
@media (max-width: 1300px) {
  [dir="rtl"] .main-nav { transform: translateX(-100%); }
  [dir="rtl"] .nav-open .main-nav { transform: translateX(0); }
}

/* Inline SVG arrow icons in CTAs point the wrong way in RTL, mirror them. */
[dir="rtl"] .btn svg,
[dir="rtl"] .text-link svg,
[dir="rtl"] .breadcrumb .sep svg { transform: scaleX(-1); }

/* Breadcrumb chevrons / list markers follow reading direction automatically
   via logical props; ensure any left-anchored figure captions read from the
   start edge. */
[dir="rtl"] .breadcrumb { direction: rtl; }
