/* MCT Data — site styles. Layout uses logical properties so Arabic (RTL) mirrors automatically. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); 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: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin.woff2) format('woff2'); 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: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-latin-ext.woff2) format('woff2'); 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; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/montserrat-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --red: #d82c27;
  --red-600: #c0231f;
  --red-700: #a11b1f;
  --red-50: #fdf1f0;
  --ink: #15171c;
  --ink-2: #3d424d;
  --muted: #656b78;
  --line: #e5e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --dark: #111318;
  --dark-2: #1b1e25;
  --dark-line: rgba(255, 255, 255, .1);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Montserrat', var(--font-body);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 8px 24px -8px rgba(16, 18, 24, .08);
  --shadow-lg: 0 24px 60px -20px rgba(16, 18, 24, .25);
  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* Arabic and Chinese read better in their native system fonts; tracking breaks Arabic joining. */
:lang(ar) { --font-body: system-ui, 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Geeza Pro', sans-serif; --font-head: var(--font-body); }
:lang(zh-Hans) { --font-body: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Hiragino Sans GB', sans-serif; --font-head: var(--font-body); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-700); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
:lang(ar) :is(h1, h2, h3), :lang(zh-Hans) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
/* CJK system fonts ship only regular and bold; avoid smeared synthetic weights. */
:lang(zh-Hans) { font-synthesis: none; }
:lang(zh-Hans) :is(h1, h2) { font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + 2 * var(--gutter)); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(216, 44, 39, .6); }
.btn-primary:hover { background: var(--red-600); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .55em 1.05em; font-size: .875rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-button:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 1.45rem/1 'Montserrat', sans-serif; letter-spacing: -.02em; }
.brand-tag { font: 500 .6rem/1 'Inter', sans-serif; letter-spacing: .04em; color: var(--muted); margin-top: 5px; white-space: nowrap; }

.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .94rem; white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); background: var(--bg-soft); }
.site-nav a.is-active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px;
  list-style: none; cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--ink-2); user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--bg-soft); color: var(--ink); }
.lang summary .icon { width: 18px; height: 18px; }
.lang .lang-chevron { width: 14px; height: 14px; transition: transform .2s; }
.lang[open] .lang-chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  animation: pop .16s ease-out;
}
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-size: .94rem; }
.lang-list a:hover { background: var(--bg-soft); color: var(--ink); }
.lang-list a[aria-current] { color: var(--red); font-weight: 600; }
.lang-list .icon { width: 16px; height: 16px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Nav labels are long in some languages (de, fr, ru), so the menu collapses early. */
@media (max-width: 1320px) {
  .header-cta { display: none; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 12px var(--gutter) 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { padding: 12px; font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9ccd4;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(216, 44, 39, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(216, 44, 39, .10), transparent 60%),
    linear-gradient(180deg, #14161b 0%, #0e1014 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding-block: clamp(56px, 9vw, 120px) clamp(96px, 12vw, 150px); }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 40em; color: #b9bdc7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-visual { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.hero-graphic { width: 100%; height: auto; overflow: visible; }
.hg-rings circle { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.hg-links path { stroke: rgba(255, 255, 255, .12); stroke-width: 1.2; fill: none; }
.hg-flow path { stroke: #ff5a4f; stroke-width: 2; fill: none; stroke-dasharray: 6 18; stroke-linecap: round; opacity: .8; animation: flow 3.2s linear infinite; }
.hg-nodes circle { fill: #1d2028; stroke: rgba(255, 255, 255, .45); stroke-width: 2; }
.hg-nodes .hg-pulse { fill: none; stroke: #ff5a4f; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s ease-out infinite; }
.hg-nodes .hg-d2 { animation-delay: .9s; }
.hg-nodes .hg-d3 { animation-delay: 1.8s; }
.hg-core circle { fill: #fff; filter: drop-shadow(0 10px 30px rgba(216, 44, 39, .5)); }
@keyframes flow { to { stroke-dashoffset: -96; } }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

.hero-chip {
  position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  animation: float 7s ease-in-out infinite;
}
.hero-chip .icon { width: 24px; height: 24px; }
.hero-chip-1 { top: 6%; inset-inline-start: 2%; }
.hero-chip-2 { top: 44%; inset-inline-end: -2%; animation-delay: -2.3s; }
.hero-chip-3 { bottom: 2%; inset-inline-start: 16%; animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; order: -1; margin-bottom: -12px; }
}
@media (max-width: 560px) {
  .hero-visual { max-width: 260px; }
  .hero-chip { width: 42px; height: 42px; border-radius: 12px; }
  .hero-chip .icon { width: 19px; height: 19px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Facts ---------- */
.facts {
  position: relative; z-index: 2; margin: -56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.facts > div { padding: 26px 28px; display: flex; flex-direction: column-reverse; gap: 4px; }
.facts > div + div { border-inline-start: 1px solid var(--line); }
.facts dt { font-size: .9rem; color: var(--muted); }
.facts dd { margin: 0; font: 800 2rem/1.1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.facts dd.dd-text { font-size: 1.3rem; line-height: 1.5; }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { border-inline-start: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .facts > div { padding: 20px; }
  .facts dd { font-size: 1.6rem; }
  .facts dd.dd-text { font-size: 1.1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head .lead { font-size: 1.1rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 700 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head-center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ff6b62; }
:lang(ar) .eyebrow, :lang(zh-Hans) .eyebrow { letter-spacing: 0; font-size: .9rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; flex: none;
  background: var(--red-50); color: var(--red);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon-dark { background: rgba(255, 255, 255, .08); color: #ff6b62; }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .card .card-icon { grid-row: span 2; margin: 0; }
  .card h3 { margin-bottom: .25em; }
}

/* Split / feature list */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
/* Grid items default to min-width:auto; long words (German compounds) would widen the column. */
.split > *, .about > *, .contact > *, .panel-dark > *, .hero-inner > *, .footer-grid > *,
.card-grid > *, .feature-list > li, .feature-list li > div, .panel-cards > *, .contact-cards a > span { min-width: 0; }
.split-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.split-aside .section-head { margin-bottom: 28px; }
.feature-list { display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 18px; padding: 22px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.feature-list h3 { margin-bottom: .3em; }
.feature-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.list-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; flex: none; }
.list-icon .icon { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-aside { position: static; }
}
@media (max-width: 480px) {
  .feature-list li { gap: 14px; padding: 18px; }
  .list-icon { width: 38px; height: 38px; }
  /* Last resort for long compounds (e.g. German) where the browser can't hyphenate. */
  .feature-list h3, .card h3, .panel-cards h3 { overflow-wrap: anywhere; }
}

/* Dark panel (hardware) */
.panel-dark {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: 28px; color: #b9bdc7;
  background: radial-gradient(600px 400px at 100% 0%, rgba(216, 44, 39, .28), transparent 60%), var(--dark);
}
.panel-dark h2, .panel-dark h3 { color: #fff; }
.panel-dark .section-head { margin-bottom: 20px; }
.panel-dark .section-head .lead { color: #b9bdc7; }
.panel-note { color: #8f94a0; margin-bottom: 28px; }
.panel-cards { display: grid; gap: 16px; }
.panel-cards li { padding: 26px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.panel-cards p { margin: 0; color: #9aa0ac; }
@media (max-width: 900px) { .panel-dark { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 4 / 4.2; border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(150deg, #fff 0%, var(--red-50) 100%); border: 1px solid #f3d9d7;
}
.about-visual::after {
  content: ""; position: absolute; inset: auto -20% -30% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 44, 39, .18), transparent 65%);
}
[dir="rtl"] .about-visual::after { inset: auto auto -30% -20%; }
.about-visual img { width: 84px; }
.about-year { font: 800 clamp(4.5rem, 3rem + 6vw, 8rem)/.9 'Montserrat', sans-serif; letter-spacing: -.05em; color: var(--ink); }
.about-caption { font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
.about-copy p { font-size: 1.05rem; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: auto; min-height: 260px; gap: 24px; }
}

/* Partners */
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-grid li { display: grid; place-items: center; padding: 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.logo-grid img { width: 100%; max-width: 160px; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-grid li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-grid li:hover img { filter: none; opacity: 1; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-direct { font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.contact-cards { display: grid; gap: 12px; }
.contact-cards a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.contact-cards a:hover { border-color: transparent; box-shadow: var(--shadow-lg); color: var(--ink); }
.contact-cards .card-icon { margin: 0; }
.contact-cards small { display: block; color: var(--muted); font-size: .82rem; }
.contact-cards strong { font-weight: 600; word-break: break-word; }
.form-card { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(216, 44, 39, .12); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 6px 0 0; font-size: .85rem; color: var(--red-600); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--red); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.is-error { color: var(--red-600); }
.form-status.is-ok { color: #13804b; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-flash { display: none; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; margin: 0 0 20px; font-weight: 600; }
.form-flash:target { display: flex; }
.form-flash-ok { background: #e8f6ee; color: #13804b; }
.form-flash-error { background: var(--red-50); color: var(--red-600); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #8f94a0; font-size: .95rem; }
.site-footer a { color: #c9ccd4; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 48px; padding-block: 64px 40px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-tag { color: #8f94a0; }
.footer-brand p { margin: 20px 0 0; max-width: 38em; }
.footer-links { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 14px; align-content: start; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: #ff6b62; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--dark-line); font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.site-footer-slim .footer-bottom { border-top: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; z-index: 60; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 720px;
  display: flex; align-items: center; gap: 16px 24px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: .92rem; animation: rise .3s ease-out;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent-actions { display: flex; gap: 8px; flex: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; } }

/* ---------- Simple pages (privacy, legal, language chooser, 404) ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 96px) clamp(24px, 4vw, 40px); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-hero p { color: var(--muted); margin: 0; }
.page-hero-center { text-align: center; }
.big-code { font: 800 5rem/1 'Montserrat', sans-serif; color: var(--red); margin: 0 0 12px !important; }
.prose { font-size: 1.02rem; }
.prose h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: .8em; }
.prose h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.prose ul { list-style: disc; padding-inline-start: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.legal { overflow-wrap: anywhere; }

.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lang-grid a { position: relative; display: block; padding: 18px 48px 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.lang-grid a:hover { border-color: transparent; box-shadow: var(--shadow-lg); color: var(--ink); }
.lang-grid strong { display: block; font-size: 1.1rem; }
.lang-grid span { display: block; font-size: .85rem; color: var(--muted); }
.lang-grid .icon { position: absolute; inset-inline-end: 18px; top: 50%; translate: 0 -50%; color: var(--red); }
@media (max-width: 560px) { .lang-grid { grid-template-columns: 1fr; } }

.plain .site-header { position: static; }

/* ---------- Scroll reveal (enabled by JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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