/* World Steel — public site stylesheet.
   Theme values (colors, fonts, widths) are injected as CSS custom properties by the
   layout builder. Logical properties are used throughout so RTL (ar, he) works. */

:root {
  --c-primary: #1d2024; --c-steel: #6b7078; --c-graphite: #2a2d31; --c-bg: #fff; --c-surface: #f4f4f5;
  --c-accent: #c41d30; --c-accent-text: #fff; --c-border: #dedfe2; --c-gold: #c9932f;
  --h-bg: #fff; --h-text: #1d2024; --h-height: 84px; --h-pad: 32px; --f-bg: #17191c; --f-text: #c8ccd1;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: var(--font-body); --fs-base: 16px; --fw-head: 700; --scale: 1.25;
  --content-w: 1240px; --radius: 2px; --hero-overlay: .55;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(56px, 8vw, 112px);
  --shadow: 0 1px 2px rgba(20, 22, 25, .06), 0 8px 24px rgba(20, 22, 25, .08);
}
html:lang(ja), html:lang(zh-CN), html:lang(ko) { --font-body: system-ui, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "PingFang SC", "Microsoft YaHei", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans CJK JP", "Noto Sans CJK SC", "Noto Sans CJK KR", sans-serif; }
html:lang(ar) { --font-body: system-ui, "Segoe UI", Tahoma, "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif; }
html:lang(he) { --font-body: system-ui, "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; color: var(--c-graphite); background: var(--c-bg); overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: .2em; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--fw-head); color: var(--c-primary); line-height: 1.15; letter-spacing: -.012em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 1000; background: var(--c-accent); color: var(--c-accent-text); padding: 10px 16px; }
.skip-link:focus { inset-inline-start: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-field { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--content-w) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.section--surface { background: var(--c-surface); }
.section--dark { background: var(--c-primary); color: #e6e7e9; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #fff; }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-block-end: 48px; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-steel); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-accent); box-shadow: 0 4px 0 var(--c-gold); }
.section--dark .eyebrow { color: #a9adb3; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: #4a5361; max-width: 68ch; }
.section--dark .lead { color: #c9ccd0; }
.muted { color: var(--c-steel); }
.small { font-size: .875rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--c-accent); color: var(--c-accent-text); }
.btn--accent:hover { background: color-mix(in srgb, var(--c-accent) 86%, #000); color: var(--c-accent-text); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: color-mix(in srgb, var(--c-primary) 80%, #000); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--c-primary); background: transparent; }
.btn--ghost:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--c-primary); }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
[dir="rtl"] .link-arrow::after { content: "←"; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Announcement banner */
.banner { font-size: .9rem; padding: 8px var(--gutter); text-align: center; }
.banner--info { background: #f6efe1; color: var(--c-primary); }
.banner--accent { background: var(--c-accent); color: var(--c-accent-text); }
.banner--dark { background: #0e0f11; color: #e6e7e9; }
.banner a { color: inherit; font-weight: 700; }

/* Header — always spans 100% of the viewport width */
.site-header { position: relative; z-index: 100; width: 100%; background: var(--h-bg); color: var(--h-text); }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header { border-block-end: 1px solid color-mix(in srgb, var(--h-text) 12%, transparent); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--h-height); margin-inline: auto; }
.header-inner--full { padding-inline: 16px; }
.header-inner--full_padded { padding-inline: var(--h-pad); }
.header-inner--contained { max-width: calc(var(--content-w) + 2 * var(--gutter)); padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--h-text); text-decoration: none; flex-shrink: 0; min-width: 0; }
.brand:hover { color: var(--h-text); }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-weight: 800; letter-spacing: .14em; font-size: 1.02rem; white-space: nowrap; }
.brand-tagline { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.brand img { max-height: calc(var(--h-height) - 24px); width: auto; }
.brand picture { display: block; }
.brand .brand-logo { height: calc(var(--h-height) - 26px); max-height: 60px; width: auto; }
.footer-brand .brand-logo { height: 64px; max-height: none; }
.portal-header .brand-logo { height: 48px; }
.primary-nav { flex: 1; display: flex; min-width: 0; }
.primary-nav--right { justify-content: flex-end; }
.primary-nav--center { justify-content: center; }
.primary-nav--left { justify-content: flex-start; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; }
.header--split .nav-item, .header--classic .nav-item { position: relative; }
.nav-item.has-mega { position: static; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: var(--h-height); padding-inline: 12px; color: var(--h-text); text-decoration: none; font-weight: 600; font-size: .92rem; background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; border-block-end: 3px solid transparent; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-active { color: var(--h-text); border-block-end-color: var(--c-accent); }
.nav-link .caret { width: 10px; height: 10px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px; background: #fff; color: var(--c-graphite); box-shadow: var(--shadow); border-top: 3px solid var(--c-accent); padding: 10px 0; list-style: none; margin: 0; display: none; }
.dropdown a { display: block; padding: 9px 20px; color: var(--c-graphite); text-decoration: none; font-size: .92rem; }
.dropdown a:hover { background: var(--c-surface); color: var(--c-primary); }
.nav-item.is-open > .dropdown, .nav-item.is-open > .mega { display: block; }
.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; color: var(--c-graphite); border-top: 1px solid var(--c-border); box-shadow: 0 30px 60px -12px rgba(20,22,25,.28); display: none; }
.nav-item.is-open > .mega { animation: mega-in .18s ease-out; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { display: grid; grid-template-columns: minmax(200px, 250px) 1fr minmax(260px, 300px); gap: 40px; padding: 36px var(--gutter) 32px; max-width: calc(var(--content-w) + 2 * var(--gutter)); margin-inline: auto; }
.mega-intro { border-inline-end: 1px solid var(--c-border); padding-inline-end: 32px; }
.mega-intro-title { font-family: var(--font-head); font-size: 1.7rem; line-height: 1.1; font-weight: 700; color: var(--c-primary); margin: 0 0 12px; letter-spacing: .01em; }
.mega-intro-title::after { content: ""; display: block; width: 40px; height: 3px; background: var(--c-gold); margin-top: 14px; }
.mega-intro-text { color: var(--c-steel); font-size: .9rem; line-height: 1.55; margin: 0 0 18px; }
.mega-overview { display: inline-flex; align-items: center; gap: 8px; color: var(--c-accent); font-weight: 700; font-size: .85rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.mega-overview svg, .mega-bar a svg { width: 14px; height: 14px; transition: transform .15s; }
.mega-overview:hover svg, .mega-bar a:hover svg { transform: translateX(3px); }
[dir="rtl"] .mega-overview svg, [dir="rtl"] .mega-bar a svg { transform: scaleX(-1); }
.mega-links { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px 28px; align-content: start; }
.mega-links--grid { grid-auto-flow: row; grid-template-columns: 1fr; }
.mega-links--grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.mega-links--dense .mega-link { padding-block: 8px; }
.mega-links--dense .mega-link-text small { -webkit-line-clamp: 1; }
.mega-col h3 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-steel); margin: 0 0 8px; padding-inline-start: 10px; }
.mega-col ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.mega-link { display: flex; align-items: flex-start; gap: 14px; padding: 10px; border-radius: var(--radius); color: var(--c-primary); text-decoration: none; transition: background-color .15s; }
.mega-link:hover, .mega-link:focus-visible, .mega-link.is-active { background: var(--c-surface); }
.mega-icon-tile { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); background: color-mix(in srgb, var(--c-accent) 8%, #fff); color: var(--c-accent); border: 1px solid color-mix(in srgb, var(--c-accent) 18%, transparent); transition: background-color .15s, color .15s; }
.mega-link:hover .mega-icon-tile, .mega-link:focus-visible .mega-icon-tile { background: var(--c-accent); color: #fff; }
.mega-icon { width: 22px; height: 22px; }
.mega-link-text { display: grid; gap: 3px; min-width: 0; }
.mega-link-text strong { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.mega-link-text small { font-size: .8rem; line-height: 1.45; color: var(--c-steel); font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-feature { background: var(--c-primary); color: #d6d9dd; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; align-self: start; }
.mega-feature-media { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #f4f5f6; color: var(--c-primary); }
.mega-feature-body { padding: 20px 22px 22px; }
.mega-feature-title { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; margin: 0 0 8px; }
.mega-feature-text { font-size: .85rem; line-height: 1.55; margin: 0 0 16px; }
.mega-feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.mega-feature-link { color: #fff; font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, #fff 40%, transparent); }
.mega-feature-link:hover { color: #fff; text-decoration-color: var(--c-gold); }
.mega-bar { background: var(--c-surface); border-top: 1px solid var(--c-border); }
.mega-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px var(--gutter); max-width: calc(var(--content-w) + 2 * var(--gutter)); margin-inline: auto; font-size: .88rem; color: var(--c-graphite); }
.mega-bar a { display: inline-flex; align-items: center; gap: 8px; color: var(--c-primary); font-weight: 700; text-decoration: none; }
.mega-bar a:hover { color: var(--c-accent); }
@media (max-width: 1200px) {
  .mega-inner { grid-template-columns: 1fr minmax(240px, 280px); }
  .mega-intro { display: none; }
}
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 10px; background: transparent; color: var(--h-text); border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; text-decoration: none; font: inherit; font-size: .85rem; font-weight: 600; }
.icon-btn:hover { border-color: color-mix(in srgb, var(--h-text) 35%, transparent); color: var(--h-text); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-menu { position: relative; }
.lang-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px 0; min-width: 210px; max-height: 70vh; overflow: auto; display: none; z-index: 120; }
.lang-menu.is-open .lang-list { display: block; }
.lang-list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; color: var(--c-graphite); text-decoration: none; font-size: .92rem; }
.lang-list a[aria-current="true"] { font-weight: 700; color: var(--c-accent); }
.lang-list a:hover { background: var(--c-surface); }
.lang-list .code { color: var(--c-steel); font-size: .78rem; text-transform: uppercase; }
.lang-list a { align-items: center; }
.lang-list .lang-name { display: inline-flex; align-items: center; gap: 10px; }
.flag { display: inline-block; width: 20px; height: 15px; flex-shrink: 0; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.header-cta { margin-inline-start: 6px; }
.search-panel { display: none; background: #fff; border-bottom: 1px solid var(--c-border); }
.search-panel.is-open { display: block; }
.search-panel form { display: flex; gap: 8px; padding-block: 16px; }
.search-panel input { flex: 1; }
.nav-toggle { display: none; }
.header--centered .header-inner { flex-wrap: wrap; justify-content: center; }
.header--centered .primary-nav { order: 3; flex-basis: 100%; justify-content: center; }
.header--centered .nav-link { height: 52px; }
.header--split .primary-nav { order: 0; }

/* Mobile navigation */
@media (max-width: 1180px) {
  .primary-nav, .header-cta, .header-actions .hide-mobile { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { justify-content: space-between; }
  .header--centered .header-inner { flex-wrap: nowrap; }
  .site-header.nav-open .primary-nav { display: block; position: fixed; inset: var(--h-height) 0 0 0; background: var(--h-bg); overflow-y: auto; padding: 12px var(--gutter) 120px; z-index: 99; }
  .site-header.nav-open .nav-list { flex-direction: column; }
  .site-header.nav-open .nav-link { height: auto; width: 100%; justify-content: space-between; padding: 14px 4px; border-block-end: 1px solid color-mix(in srgb, var(--h-text) 14%, transparent); font-size: 1.05rem; }
  .site-header.nav-open .mega, .site-header.nav-open .dropdown { position: static; box-shadow: none; border: 0; background: transparent; color: var(--h-text); padding: 0; }
  .site-header.nav-open .mega-inner { padding: 4px 0 12px; grid-template-columns: 1fr; gap: 0; }
  .site-header.nav-open .mega-intro, .site-header.nav-open .mega-feature, .site-header.nav-open .mega-bar { display: none; }
  .site-header.nav-open .mega-links { grid-auto-flow: row; gap: 0; }
  .site-header.nav-open .mega-links--grid ul { grid-template-columns: 1fr; gap: 0; }
  .site-header.nav-open .mega-col h3 { color: color-mix(in srgb, var(--h-text) 60%, transparent); padding-inline-start: 0; }
  .site-header.nav-open .mega-col ul { margin: 0; }
  .site-header.nav-open .mega-link, .site-header.nav-open .dropdown a { color: var(--h-text); padding: 9px 0; }
  .site-header.nav-open .mega-link:hover, .site-header.nav-open .mega-link.is-active { background: transparent; }
  .site-header.nav-open .mega-icon-tile { width: 34px; height: 34px; }
  .site-header.nav-open .mega-icon { width: 19px; height: 19px; }
  .site-header.nav-open .mega-link-text small { color: color-mix(in srgb, var(--h-text) 60%, transparent); }
  .site-header.nav-open .nav-item.is-open > .mega { animation: none; }
  .mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
  .brand-tagline { display: none; }
}
@media (min-width: 1181px) { .mobile-extra { display: none; } }

/* Tighter menu before falling back to the mobile menu (site.js sets .is-tight). */
.site-header.is-tight .nav-link { padding-inline: 7px; font-size: .9rem; letter-spacing: .03em; }
.site-header.is-tight .header-actions .hide-mobile { display: none; }
.site-header.is-tight .header-actions { gap: 2px; }
/* Same navigation as on mobile when the menu does not fit beside the logo (long labels in some languages); site.js sets .is-compact. */
.site-header.is-compact .primary-nav, .site-header.is-compact .header-cta, .site-header.is-compact .header-actions .hide-mobile { display: none; }
.site-header.is-compact .nav-toggle { display: inline-flex; }
.site-header.is-compact .header-inner { justify-content: space-between; }
.site-header.is-compact.header--centered .header-inner { flex-wrap: nowrap; }
.site-header.is-compact.nav-open .primary-nav { display: block; position: fixed; inset: var(--h-height) 0 0 0; background: var(--h-bg); overflow-y: auto; padding: 12px var(--gutter) 120px; z-index: 99; }
.site-header.is-compact.nav-open .nav-list { flex-direction: column; }
.site-header.is-compact.nav-open .nav-link { height: auto; width: 100%; justify-content: space-between; padding: 14px 4px; border-block-end: 1px solid color-mix(in srgb, var(--h-text) 14%, transparent); font-size: 1.05rem; }
.site-header.is-compact.nav-open .mega, .site-header.is-compact.nav-open .dropdown { position: static; box-shadow: none; border: 0; background: transparent; color: var(--h-text); padding: 0; }
.site-header.is-compact.nav-open .mega-inner { padding: 4px 0 12px; grid-template-columns: 1fr; gap: 0; }
.site-header.is-compact.nav-open .mega-intro, .site-header.is-compact.nav-open .mega-feature, .site-header.is-compact.nav-open .mega-bar { display: none; }
.site-header.is-compact.nav-open .mega-links { grid-auto-flow: row; gap: 0; }
.site-header.is-compact.nav-open .mega-links--grid ul { grid-template-columns: 1fr; gap: 0; }
.site-header.is-compact.nav-open .mega-col h3 { color: color-mix(in srgb, var(--h-text) 60%, transparent); padding-inline-start: 0; }
.site-header.is-compact.nav-open .mega-col ul { margin: 0; }
.site-header.is-compact.nav-open .mega-link, .site-header.is-compact.nav-open .dropdown a { color: var(--h-text); padding: 9px 0; }
.site-header.is-compact.nav-open .mega-link:hover, .site-header.is-compact.nav-open .mega-link.is-active { background: transparent; }
.site-header.is-compact.nav-open .mega-icon-tile { width: 34px; height: 34px; }
.site-header.is-compact.nav-open .mega-icon { width: 19px; height: 19px; }
.site-header.is-compact.nav-open .mega-link-text small { color: color-mix(in srgb, var(--h-text) 60%, transparent); }
.site-header.is-compact.nav-open .nav-item.is-open > .mega { animation: none; }
.site-header.is-compact .mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
.site-header.is-compact .brand-tagline { display: none; }
@media (max-width: 420px) { .brand-name { font-size: .9rem; letter-spacing: .1em; } .brand-mark { width: 32px; height: 32px; } .site-header .brand-logo { height: 44px; } .icon-btn { min-width: 38px; padding: 0 6px; } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--c-primary); overflow: hidden; isolation: isolate; }
.hero--tall { min-height: min(86vh, 820px); }
.hero--medium { min-height: 520px; }
.hero--full { min-height: calc(100vh - var(--h-height)); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,15,17,calc(var(--hero-overlay) + .3)) 0%, rgba(14,15,17,var(--hero-overlay)) 55%, rgba(14,15,17,calc(var(--hero-overlay) - .2)) 100%); }
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero-illustration { position: absolute; inset-inline-end: -4%; bottom: 6%; width: min(70vw, 1000px); color: rgba(255,255,255,.55); z-index: -1; filter: invert(1); opacity: .5; }
.hero-inner { display: grid; align-content: center; min-height: inherit; padding-block: 96px 120px; }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem); letter-spacing: -.02em; }
.hero .lead { color: #dcdee1; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: .85rem; color: #b9bdc2; max-width: 820px; }
.hero-facts li { display: flex; gap: 10px; align-items: baseline; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; background: var(--c-gold); flex-shrink: 0; transform: translateY(-1px); }
.media-credit { position: absolute; inset-inline-end: 12px; bottom: 10px; font-size: .7rem; color: rgba(255,255,255,.6); }
.hero-facts { list-style: none; padding-inline-start: 0; }

/* Page hero for inner pages */
.page-hero { background: var(--c-primary); color: #e6e7e9; padding-block: 56px 64px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero .lead { color: #c9ccd0; }
.page-hero .hero-illustration { opacity: .35; width: min(56vw, 760px); bottom: -10%; }
.breadcrumbs { font-size: .82rem; margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.breadcrumbs a { color: #b9bdc2; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); transition: box-shadow .25s, transform .25s, border-color .25s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.card-media { aspect-ratio: 2 / 1; background: #f7f9fb; color: var(--c-primary); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--c-border); overflow: hidden; }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; }
.card-media .ill { padding: 6px; object-fit: contain; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.12rem; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card-body p { margin: 0; color: #4f5866; font-size: .95rem; }
.card-meta { margin-top: auto; padding-top: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-steel); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 2px; background: var(--c-surface); color: var(--c-primary); }
.tag--accent { background: color-mix(in srgb, var(--c-accent) 14%, #fff); color: color-mix(in srgb, var(--c-accent) 70%, #000); }
.tag--warn { background: #fff4d6; color: #7a5600; }
.value-card { padding: 28px; border-top: 3px solid var(--c-accent); background: #fff; }
.section--surface .value-card { background: #fff; }
.value-card .num { font-size: .8rem; font-weight: 800; color: var(--c-steel); letter-spacing: .14em; }
.value-card h3 { margin-top: 10px; }
.value-card p { margin: 0; color: #4f5866; }

.feature-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-figure { background: #fff; border: 1px solid var(--c-border); padding: 16px; color: var(--c-primary); }
.feature-figure figcaption, .figure-note { font-size: .78rem; color: var(--c-steel); margin-top: 8px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 30px; }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 16px; height: 9px; border-inline-start: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent); transform: rotate(-45deg); }
[dir="rtl"] .check-list li::before { transform: rotate(45deg) scaleX(-1); }

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 28px 22px 24px; border-inline-start: 1px solid var(--c-border); }
.section--dark .steps li { border-color: rgba(255,255,255,.15); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.2rem; font-weight: 800; color: var(--c-accent); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.02rem; }
.steps p { font-size: .92rem; margin: 0; }
.steps--compact { grid-template-columns: 1fr; }
.steps--compact li { padding: 10px 0 10px 44px; border: 0; font-size: .9rem; }
.steps--compact li::before { position: absolute; inset-inline-start: 0; top: 8px; font-size: 1.2rem; }
.dropzone .file-list li.is-bad { color: var(--c-danger, #b42318); }
.section--dark .steps p { color: #b9bdc2; }

/* Notices */
.notice { border-inline-start: 4px solid var(--c-steel); background: var(--c-surface); padding: 16px 20px; margin: 0 0 24px; font-size: .93rem; }
.notice--info { border-color: #2f6db5; background: #eef4fb; }
.notice--warn { border-color: #c98a00; background: #fff8e6; }
.notice--accent { border-color: var(--c-accent); }
.notice--success { border-color: #1f8a4c; background: #edf8f1; }
.notice--error { border-color: #c0392b; background: #fdf0ee; }
.notice p:last-child { margin: 0; }
.flash-stack { position: relative; z-index: 5; }
.disclaimer { font-size: .85rem; color: #5a6371; border: 1px dashed var(--c-border); padding: 14px 18px; background: #fbfcfd; }

/* Prose (article/page bodies) */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 980px) { .content-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 2em 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.prose ol.steps > li { counter-increment: step; position: relative; padding: 0 0 26px; padding-inline-start: 64px; margin: 0; border: 0; }
.prose ol.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--c-primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1; margin: 0; border-radius: var(--radius); }
.prose ol.steps > li::after { content: ""; position: absolute; inset-inline-start: 21px; top: 50px; bottom: 6px; width: 2px; background: color-mix(in srgb, var(--c-gold) 55%, transparent); }
.prose ol.steps > li:last-child { padding-bottom: 0; }
.prose ol.steps > li:last-child::after { display: none; }
.prose ol.steps > li > strong:first-child { display: block; color: var(--c-primary); font-size: 1.08rem; margin-bottom: 4px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: start; vertical-align: top; }
.prose th { background: var(--c-surface); color: var(--c-primary); }
.prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-inline-start: 3px solid var(--c-accent); color: #4f5866; }
.prose .callout { background: var(--c-surface); padding: 18px 22px; border-inline-start: 4px solid var(--c-primary); margin: 1.5em 0; }
.prose .callout-warning { background: #fff8e6; border-inline-start: 4px solid #c98a00; padding: 18px 22px; margin: 1.5em 0; }
.prose .disclaimer { margin: 2em 0; }
.prose img { margin: 1.5em 0; }
.aside-box { border: 1px solid var(--c-border); padding: 24px; background: #fff; margin-bottom: 24px; }
.aside-box h2, .aside-box h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-steel); }
.aside-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.aside-box a { text-decoration: none; font-weight: 600; }
.aside-cta { background: var(--c-primary); color: #e6e7e9; padding: 28px; }
.aside-cta h2, .aside-cta h3 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.25rem; }
.sticky-aside { position: sticky; top: calc(var(--h-height) + 24px); }
.toc { font-size: .9rem; }

/* Data table / spec list */
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--c-border); text-align: start; vertical-align: top; }
.spec-table th { width: 38%; color: var(--c-primary); font-weight: 600; background: #fafbfc; }
.table-wrap { overflow-x: auto; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 20px; background: var(--c-surface); margin-bottom: 32px; }
.filters .field { min-width: 180px; flex: 1; margin: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.chip-list a { display: inline-block; padding: 7px 14px; border: 1px solid var(--c-border); border-radius: 999px; text-decoration: none; font-size: .88rem; color: var(--c-primary); background: #fff; }
.chip-list a[aria-current="page"], .chip-list a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-border); text-decoration: none; padding: 0 10px; }
.pagination [aria-current] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px 24px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.form-grid .field { margin-bottom: 0; }
.field--full { grid-column: 1 / -1; }
label, .label { font-weight: 600; font-size: .9rem; color: var(--c-primary); }
.req { color: var(--c-accent); }
.hint { font-size: .8rem; color: var(--c-steel); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=password], input[type=search], input[type=date], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--c-graphite); background: #fff; border: 1px solid #b9c2ce; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(196,29,48,.14); outline: none; }
.field-error { color: #c0392b; font-size: .85rem; margin: 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--c-graphite); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-size: 1.15rem; font-weight: 700; color: var(--c-primary); margin-bottom: 16px; padding: 0; }
.form-card { background: #fff; border: 1px solid var(--c-border); padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow); }
.form-steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: fs; border-bottom: 1px solid var(--c-border); overflow-x: auto; }
.form-steps li { counter-increment: fs; padding: 12px 16px; font-size: .85rem; font-weight: 600; color: var(--c-steel); border-bottom: 3px solid transparent; white-space: nowrap; }
.form-steps li::before { content: counter(fs) ". "; }
.form-steps li.is-active { color: var(--c-primary); border-color: var(--c-accent); }
.js .form-step { display: none; }
.js .form-step.is-active { display: block; }
.form-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.dropzone { border: 2px dashed #b9c2ce; padding: 24px; text-align: center; background: #fafbfc; }
.dropzone.is-over { border-color: var(--c-accent); background: #fff6f2; }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; font-size: .88rem; text-align: start; }

/* Projects */
.project-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--c-border); background: #fbfcfd; }
.empty-state h3 { margin-bottom: 8px; }

/* FAQ */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--c-border); }
.faq-list details { border-bottom: 1px solid var(--c-border); }
.faq-list summary { cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; color: var(--c-primary); list-style: none; }
[dir="rtl"] .faq-list summary { padding: 20px 0 20px 40px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--c-accent); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 22px; color: #4a5361; max-width: 80ch; }

/* CTA band */
.cta-band { background: var(--c-accent); color: var(--c-accent-text); padding-block: clamp(48px, 7vw, 88px); }
.cta-band h2 { color: var(--c-accent-text); max-width: 22ch; }
.cta-band .lead { color: color-mix(in srgb, var(--c-accent-text) 85%, transparent); }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .cta-band-inner { grid-template-columns: 1fr; } }
.cta-band .btn--primary { background: var(--c-primary); }

/* Tool output */
.tool-output { border: 1px solid var(--c-border); background: #fff; padding: clamp(20px, 4vw, 40px); }
.tool-output h2 { font-size: 1.35rem; margin-top: 1.4em; }
.tool-output h2:first-child { margin-top: 0; }
.score-bar { height: 8px; background: var(--c-surface); border-radius: 4px; overflow: hidden; }
.score-bar span { display: block; height: 100%; background: var(--c-primary); width: 0; }
.score-0 { width: 0% !important; } .score-10 { width: 10% !important; } .score-20 { width: 20% !important; } .score-30 { width: 30% !important; } .score-40 { width: 40% !important; } .score-50 { width: 50% !important; } .score-60 { width: 60% !important; } .score-70 { width: 70% !important; } .score-80 { width: 80% !important; } .score-90 { width: 90% !important; } .score-100 { width: 100% !important; }
.h3 { font-size: 1.15rem; margin: 0 0 8px; }
.readiness fieldset { border: 0; padding: 0; margin-inline: 0; }
.readiness .checkbox { display: flex; margin: 6px 0; }
.readiness { display: grid; gap: 10px; }
.chat-log { display: grid; gap: 16px; margin-bottom: 20px; }
.chat-msg { padding: 16px 18px; border: 1px solid var(--c-border); background: #fff; }
.chat-msg--user { background: var(--c-surface); }
.sources { font-size: .85rem; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--f-bg); color: var(--f-text); padding-block: 64px 28px; font-size: .92rem; }
.site-footer a { color: var(--f-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(160px, 1fr)); gap: 40px; }
.footer-grid h2 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; font-size: .82rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer--compact .footer-grid { grid-template-columns: 1fr; }
/* Footer link groups: always open on larger screens; collapsible (accordion) on phones. */
.footer-col > summary { list-style: none; -webkit-tap-highlight-color: transparent; }
.footer-col > summary::-webkit-details-marker { display: none; }
@media (min-width: 761px) { .footer-col > summary { pointer-events: none; } }
.footer-bottom { align-items: center; }
.footer-copy { display: grid; gap: 6px; }
.footer-compliance { display: flex; flex-wrap: wrap; gap: 16px; opacity: .8; font-size: .76rem; }
.footer-standards { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer-standards-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.footer-standards ul { gap: 10px; }
.site-footer a.std-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; height: 44px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; color: #fff; line-height: 1.05; text-decoration: none; transition: border-color .15s, background-color .15s; }
.site-footer a.std-badge:hover, .site-footer a.std-badge:focus-visible { border-color: var(--c-accent); background: rgba(255,255,255,.06); text-decoration: none; }
.std-badge-code { font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; }
.std-badge-region { font-size: .6rem; letter-spacing: .16em; opacity: .7; margin-top: 2px; }
@media (max-width: 760px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* Staff profile page (/team/<slug>/) */
.profile-hero { background: var(--c-primary); color: #e6e7e9; padding-block: 40px 56px; }
.profile-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.profile-photo { width: clamp(140px, 18vw, 220px); aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; border: 4px solid rgba(255,255,255,.14); display: block; background: #2b3036; }
.profile-photo--initials { display: grid; place-items: center; font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; color: #fff; }
.profile-hero .eyebrow { color: var(--c-gold); }
.profile-name { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .15em; }
.profile-title { font-size: 1.15rem; color: #fff; opacity: .92; margin: 0 0 12px; }
.profile-meta { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; }
.profile-meta .muted { color: #9aa0a8; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-social { list-style: none; padding: 0; margin: 20px 0 0; display: flex; gap: 10px; }
.profile-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; transition: background-color .15s, color .15s; }
.profile-social a:hover, .profile-social a:focus-visible { background: #fff; color: var(--c-primary); }
.profile-social svg { width: 18px; height: 18px; }
.profile-contact a { word-break: break-word; }
.profile-qr { text-align: center; }
.profile-qr .qr { width: 180px; height: 180px; display: block; margin: 0 auto 12px; }
.profile-link a { font-weight: 400; word-break: break-all; }
@media (max-width: 640px) {
  .profile-card { grid-template-columns: 1fr; justify-items: start; }
  .profile-actions .btn { flex: 1 1 auto; }
}
/* Assigned contact card (portal) */
.contact-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 12px; }
.contact-card img, .contact-card .contact-initials { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.contact-card .contact-initials { display: grid; place-items: center; background: var(--c-primary); color: #fff; font-weight: 700; }
.contact-card strong { display: block; }
.contact-card .small { display: block; }
.aside-box a.contact-card--link { color: inherit; font-weight: 400; }
.contact-card--link:hover strong { text-decoration: underline; }
.rep-note { border: 1px solid var(--c-border); background: var(--c-surface); padding: 14px 16px; margin-bottom: 24px; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.contact-lines a { word-break: break-word; }

/* Floating elements */
.whatsapp-fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.whatsapp-fab:hover { color: #fff; background: #198548; }
.whatsapp-fab svg { width: 28px; height: 28px; }
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 89; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 18px rgba(0,0,0,.12); gap: 10px; }
  .mobile-cta .btn { flex: 1; min-height: 46px; }
  body.has-mobile-cta { padding-bottom: 74px; }
  .whatsapp-fab { bottom: 86px; }
}
.cookie-banner { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 200; max-width: 640px; background: #fff; color: var(--c-graphite); border: 1px solid var(--c-border); box-shadow: 0 16px 48px rgba(0,0,0,.25); padding: 22px; display: none; }
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-prefs { display: none; margin: 12px 0; }
.cookie-banner.show-prefs .cookie-prefs { display: grid; gap: 10px; }
.preview-bar { position: sticky; top: 0; z-index: 300; background: #7a5600; color: #fff; text-align: center; padding: 8px; font-size: .9rem; }
.preview-bar a { color: #fff; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .site-footer, .whatsapp-fab, .mobile-cta, .cookie-banner, .no-print, .hero-illustration { display: none !important; }
  body { color: #000; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero h1 { color: #000; }
  .tool-output { border: 0; padding: 0; }
  a { color: #000; }
}

/* Utilities (inline style attributes are not used because of the Content-Security-Policy) */
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .text-center { text-align: center; }
.flex-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.w-full { width: 100%; } .hidden { display: none !important; }
.illustration-label { position: absolute; inset-inline-end: 16px; bottom: 12px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Search results */
.search-results { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.search-results li { padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.search-results h2 { font-size: 1.15rem; margin: 8px 0 6px; }
.search-results h2 a { text-decoration: none; }

/* Customer portal */
.portal-body { background: var(--c-surface); }
.portal-header { background: #fff; border-bottom: 1px solid var(--c-border); }
.portal-header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.portal-header .brand { color: var(--c-primary); }
.portal-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-steel); border-inline-start: 1px solid var(--c-border); padding-inline-start: 16px; }
.portal-user { margin-inline-start: auto; }
.portal-nav { background: var(--c-primary); }
.portal-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; align-items: center; }
.portal-nav a { display: block; padding: 14px 14px; color: #d5deea; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.portal-nav a[aria-current="page"], .portal-nav a:hover { color: #fff; border-color: var(--c-accent); }
.portal-nav .portal-nav-cta { margin-inline-start: auto; }
.portal-nav .portal-nav-cta a { border: 0; color: #fff; padding: 8px 14px; }
.portal-main { padding: 32px 0 64px; min-height: 60vh; }
.panel { background: #fff; border: 1px solid var(--c-border); padding: 24px; margin-bottom: 24px; }
.panel h2 { font-size: 1.1rem; margin-top: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--c-border); padding: 20px; }
.stat strong { display: block; font-size: 1.8rem; color: var(--c-primary); }
.stat span { font-size: .85rem; color: var(--c-steel); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--c-surface); color: var(--c-primary); border: 1px solid var(--c-border); }
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.data-table th, .data-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.data-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-steel); background: #fafbfc; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 8px 0 8px 18px; border-inline-start: 2px solid var(--c-border); position: relative; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -6px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.msg { padding: 12px 14px; margin-bottom: 10px; background: var(--c-surface); border-inline-start: 3px solid var(--c-steel); }
.msg--customer { border-color: var(--c-accent); background: #fff8f4; }
.msg-meta { font-size: .78rem; color: var(--c-steel); margin-bottom: 4px; }

/* Narrow-screen overflow guards */
.spec-table td, .spec-table th { overflow-wrap: anywhere; }
.prose table, .content-body table { display: block; max-width: 100%; overflow-x: auto; }
input, select, textarea { max-width: 100%; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-brand { margin-bottom: 24px; }
  .footer-col { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-col:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
  .footer-col > summary h2 { margin: 0; }
  .footer-col > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-inline-end: 4px; transition: transform .2s; opacity: .8; }
  .footer-col[open] > summary::after { transform: rotate(-135deg); }
  .footer-col > ul { padding-bottom: 18px; }
  .footer-col > summary:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
  .spec-table th { width: auto; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: 0; padding-bottom: 4px; }
}
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 0; }
  .brand { gap: 8px; }
  .brand-name { font-size: .82rem; letter-spacing: .06em; }
  .brand-mark { width: 28px; height: 28px; }
  .site-header .brand-logo { height: 38px; }
  .icon-btn { min-width: 36px; padding: 0 4px; gap: 3px; }
}

/* Quote form: review step (1.0.2) */
html:not(.js) .js-only { display: none !important; }
.js .no-js-only { display: none !important; }
.review-title { font-size: 1.35rem; margin-bottom: .3em; }
.review { display: grid; gap: 18px; margin: 20px 0 8px; }
.review-section { border: 1px solid var(--c-border); border-inline-start: 3px solid var(--c-accent); background: #fff; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--c-surface); }
.review-head h3 { margin: 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.review dl { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; margin: 0; }
.review dt, .review dd { margin: 0; padding: 9px 16px; border-top: 1px solid var(--c-border); font-size: .92rem; }
.review dt { color: var(--c-steel); font-weight: 600; }
.review dd { color: var(--c-graphite); overflow-wrap: anywhere; white-space: pre-line; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--c-accent); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) {
  .review dl { grid-template-columns: 1fr; }
  .review dd { border-top: 0; padding-top: 0; }
  .review-actions, .review-actions .btn { width: 100%; }
}

/* Feature hero for main-menu landing pages (1.0.2) */
.page-hero--feature { display: grid; align-items: center; min-height: clamp(460px, 64vh, 660px); padding-block: 72px 96px; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 88% 100%, color-mix(in srgb, var(--c-accent) 32%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 40% 45% at 100% 0%, color-mix(in srgb, var(--c-gold) 16%, transparent) 0%, transparent 70%),
    linear-gradient(115deg, color-mix(in srgb, var(--c-primary) 100%, #000 20%) 0%, var(--c-primary) 55%, color-mix(in srgb, var(--c-primary) 85%, var(--c-accent)) 100%); }
.page-hero--feature::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 75%); mask-image: linear-gradient(100deg, transparent 15%, #000 75%); }
.page-hero--feature::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 5px; z-index: 1;
  background: linear-gradient(90deg, var(--c-accent) 0 72%, var(--c-gold) 72% 100%); }
[dir="rtl"] .page-hero--feature::after { background: linear-gradient(270deg, var(--c-accent) 0 72%, var(--c-gold) 72% 100%); }
.page-hero--feature .hero-illustration { width: min(70vw, 1080px); inset-inline-end: -6%; bottom: -2%; opacity: .5; z-index: -1; animation: hero-rise 1.2s cubic-bezier(.2,.7,.2,1) both .1s; }
.page-hero-inner { position: relative; }
.page-hero--feature h1 { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.5rem); letter-spacing: -.025em; max-width: 18ch; margin-bottom: .45em; animation: hero-in .7s ease-out both; }
.page-hero--feature .lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); max-width: 56ch; color: #dcdee1; animation: hero-in .7s ease-out both .12s; }
.page-hero--feature .eyebrow { color: #c9ccd0; animation: hero-in .6s ease-out both; }
.page-hero--feature .hero-actions { margin-top: 30px; animation: hero-in .7s ease-out both .24s; }
.page-hero--feature.has-media .hero-media { position: absolute; inset: 0; z-index: -3; }
.page-hero--feature.has-media .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--feature.has-media::before { z-index: -2; -webkit-mask-image: none; mask-image: none; background-image: none;
  background: linear-gradient(95deg, rgba(14,15,17,calc(var(--landing-overlay) + .25)) 0%, rgba(14,15,17,var(--landing-overlay)) 55%, rgba(14,15,17,calc(var(--landing-overlay) - .25)) 100%); }
[dir="rtl"] .page-hero--feature.has-media::before { transform: scaleX(-1); }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: .5; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero--feature *, .page-hero--feature .hero-illustration { animation: none !important; } }
@media (max-width: 760px) {
  .page-hero--feature { min-height: 0; padding-block: 48px 64px; }
  .page-hero--feature .hero-illustration { width: 130vw; inset-inline-end: -30%; bottom: -14%; opacity: .16; animation: none; }
  .page-hero--feature .hero-actions .btn { flex: 1 1 100%; }
}

/* Mobile menu on a light header: light-on-dark ghost buttons follow the header text colour */
.site-header .mobile-extra .btn--ghost-light { color: var(--h-text); border-color: color-mix(in srgb, var(--h-text) 45%, transparent); }
.site-header .mobile-extra .btn--ghost-light:hover { background: var(--h-text); color: var(--h-bg); }

/* Sign-in screens (admin and customer portal): split layout */
.auth-body { background: #f3f4f6; min-height: 100vh; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; color: #e6e7e9; padding: 64px clamp(32px, 5vw, 72px) 190px;
  background-color: var(--c-primary);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(165deg, color-mix(in srgb, var(--c-primary) 45%, #1e3a6e) 0%, color-mix(in srgb, var(--c-primary) 75%, #12284d) 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%; }
.auth-side::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: linear-gradient(var(--c-accent), var(--c-gold)); }
.auth-side-inner { position: relative; max-width: 620px; margin-block: auto; padding-bottom: 32px; }
.auth-logo-tile { display: inline-flex; align-items: center; justify-content: center; width: 168px; height: 168px; padding: 18px; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,.28); margin-bottom: 36px; }
.auth-logo-tile img { width: 100%; height: auto; }
.auth-eyebrow { color: var(--c-gold); font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 14px; }
.auth-hero-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: .98; letter-spacing: .005em; font-size: clamp(2.6rem, 4.6vw, 4.6rem); margin: 0 0 22px; color: #fff; }
.auth-hero-title span { display: block; }
.auth-hero-gold { color: var(--c-gold); }
.auth-lead { font-size: 1.08rem; color: #d5d8dc; margin: 0 0 26px; max-width: 54ch; }
.auth-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 14px; font-size: .98rem; color: #eceef0; }
.auth-num { flex: none; display: inline-grid; place-items: center; width: 34px; height: 30px; border-radius: 4px; background: var(--c-gold); color: var(--c-primary); font-family: var(--font-head); font-weight: 700; }
.auth-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.auth-chips li { border: 1px solid rgba(255,255,255,.35); border-radius: 3px; padding: 6px 14px; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; font-size: .9rem; color: #fff; }
.auth-truss { position: absolute; inset-inline: 0; bottom: 66px; display: block; width: 100%; height: 100px; color: color-mix(in srgb, var(--c-gold) 38%, transparent); }
.auth-address { position: absolute; inset-inline: clamp(32px, 5vw, 72px); bottom: 0; margin: 0; padding: 20px 0 24px; font-size: .82rem; color: #9fa5ad; letter-spacing: .02em; }
.auth-main { display: flex; flex-direction: column; padding: 24px clamp(20px, 4vw, 56px); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 520px; width: 100%; margin-inline: auto; }
.auth-home { color: var(--c-primary); text-decoration: none; font-size: .92rem; }
.auth-home:hover { text-decoration: underline; }
.auth-lang { position: relative; }
.auth-lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--c-border); border-radius: 4px; background: #fff; font-size: .85rem; font-weight: 600; }
.auth-lang summary::-webkit-details-marker { display: none; }
.auth-lang[open] summary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.auth-lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 5; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--c-border); box-shadow: 0 12px 30px rgba(0,0,0,.12); min-width: 200px; max-height: 60vh; overflow: auto; }
.auth-lang a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; text-decoration: none; color: var(--c-graphite); font-size: .9rem; }
.auth-lang a:hover, .auth-lang a[aria-current] { background: var(--c-surface); }
.auth-center { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: 32px; }
.auth-card { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 10px; padding: 44px clamp(24px, 4vw, 44px) 32px; box-shadow: 0 24px 60px rgba(17,24,39,.12); overflow: hidden; }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--c-primary) 0 60%, var(--c-accent) 60% 85%, var(--c-gold) 85% 100%); }
.auth-card-logo { display: block; width: 168px; height: auto; margin: 0 auto 22px; }
.auth-title { font-family: var(--font-head); text-transform: uppercase; text-align: center; font-size: 2.5rem; line-height: 1.05; letter-spacing: .03em; margin: 0 0 8px; color: var(--c-primary); }
.auth-intro { text-align: center; color: #4f5866; margin: 0 0 26px; }
.auth-card .notice { margin: 0 0 18px; }
.auth-card .field { margin-bottom: 18px; }
.auth-card .field > label { display: block; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; margin-bottom: 8px; color: var(--c-primary); }
.input-icon { position: relative; }
.input-icon input { width: 100%; height: 54px; padding-inline: 46px 16px; border: 1px solid #cfd3d9; border-radius: 6px; background: #fafbfc; font-size: 1rem; }
.input-icon--pw input { padding-inline-end: 50px; }
.input-icon input:focus { outline: none; border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.input-icon-svg { position: absolute; inset-inline-start: 16px; top: 50%; width: 19px; height: 19px; transform: translateY(-50%); color: #7a828d; pointer-events: none; }
.pw-toggle { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; color: #7a828d; cursor: pointer; border-radius: 4px; }
.pw-toggle:hover, .pw-toggle[aria-pressed="true"] { color: var(--c-primary); }
.pw-toggle svg { width: 20px; height: 20px; }
.auth-submit { height: 56px; margin-top: 8px; font-size: 1.15rem; letter-spacing: .12em; border-radius: 6px; box-shadow: 0 10px 22px color-mix(in srgb, var(--c-accent) 30%, transparent); }
.auth-links { text-align: center; font-size: .9rem; margin: 18px 0 0; }
.auth-note { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--c-border); font-size: .86rem; color: #4f5866; }
.auth-note svg { flex: none; width: 20px; height: 20px; color: #1f8a4c; margin-top: 1px; }
.auth-card .checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.auth-card select, .auth-card .field > input { width: 100%; }
.auth-foot { text-align: center; font-size: .82rem; color: #7a828d; margin: 0; }
@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { min-height: 100vh; }
}
