/* ==========================================================================
   Novas QC — "Precision Datasheet" Design System v2.0
   Engineering drawing × inspection report aesthetic (per DESIGN.md)
   Class names backward-compatible with v1 — full-site reskin
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* primary */
  --nv-950: #061322;
  --nv-900: #0A1C30;   /* replaces v1 --navy #08192E */
  --nv-800: #102841;   /* replaces v1 --navy-2 */
  --nv-700: #1A3A5C;   /* replaces v1 --navy-3 */
  /* brand orange */
  --or-600: #F26000;   /* primary interactive (v1 --accent #FF6A00 refit) */
  --or-500: #FF6A00;
  --or-400: #FF8A33;
  --or-050: #FFF3E8;   /* v1 --accent-soft */
  /* neutrals */
  --bg: #F5F7FA;       /* v1 --bg #ECF0F4 lightened */
  --bg-2: #FFFFFF;
  --bg-3: #EDF1F6;     /* v1 --bg-3 #DDE4EC */
  --bg-4: #F0F3F8;
  --ink: #0B1B2C;
  --text: #2A3B4E;
  --text-2: #51637A;
  --text-3: #6E8098;
  --line: #D9E1EA;
  --line-soft: #E4EAF1;
  --line-strong: #B9C6D4;
  /* semantic */
  --green: #0E8A4A;
  --red: #D92D20;
  --info: #1D6FB8;
  /* legacy aliases (v1 names used by some pages) */
  --navy: var(--nv-900);
  --navy-2: var(--nv-800);
  --navy-3: var(--nv-700);
  --accent: var(--or-600);
  --accent-bright: var(--or-400);
  --accent-soft: var(--or-050);
  --steel: #51637A;
  --steel-light: #8CA0B5;
  --gold: #E85D04;
  /* radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  /* shadows */
  --shadow-xs: 0 1px 2px rgba(10,28,48,.06);
  --shadow-sm: 0 1px 2px rgba(10,28,48,.05), 0 2px 8px rgba(10,28,48,.06);
  --shadow-md: 0 2px 4px rgba(10,28,48,.05), 0 8px 24px rgba(10,28,48,.09);
  --shadow-lg: 0 4px 12px rgba(10,28,48,.07), 0 20px 48px rgba(10,28,48,.14);
  --shadow-orange: 0 6px 20px rgba(242,96,0,.32);
  /* fonts */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", "Monaco", "Roboto Mono", "Consolas", monospace;
  --header-h: 72px;
}

/* CJK & Arabic overrides */
html[lang="zh"] { --font: "PingFang SC", "Noto Sans SC", "Inter", -apple-system, "Microsoft YaHei", sans-serif; }
html[lang="ar"] { --font: "Tajawal", "Noto Sans Arabic", "Inter", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: var(--nv-900); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--or-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
html[dir="rtl"] ul, html[dir="rtl"] ol { padding-left: 0; padding-right: 1.2em; }
strong { color: var(--ink); font-weight: 600; }

.container { width: min(1240px, 92%); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { border-radius: 8px; }
.brand-text span { color: var(--or-600); }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--text);
}
.nav-list > li > a:hover { background: var(--bg-3); color: var(--nv-900); }
.nav-list > li > a.active { color: var(--nv-900); }
.caret { transition: transform .2s ease; opacity: .6; }
.has-sub:hover > a .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 275px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
html[dir="rtl"] .submenu { left: auto; right: 0; }
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: .93rem; font-weight: 500; color: var(--text);
}
.submenu li a:hover { background: var(--bg-3); color: var(--nv-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle .bar { width: 24px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 10px 4vw 20px; gap: 2px; }
  .nav-list > li > a { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); margin: 0 0 4px 14px; padding: 0 0 0 6px; max-height: 0; overflow: hidden; transition: max-height .25s ease; min-width: 0; }
  html[dir="rtl"] .submenu { border-left: 0; border-right: 2px solid var(--line); margin: 0 14px 4px 0; padding: 0 6px 0 0; }
  .has-sub:hover .submenu, .has-sub.open .submenu { max-height: 440px; }
  .has-sub.open > a .caret { transform: rotate(180deg); }
  .nav-cta { margin: 10px 8px 0; text-align: center; }
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  border: 1.5px solid transparent; transition: all .18s ease; text-align: center;
}
.btn-primary { background: var(--or-600); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--or-500); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border-color: var(--nv-900); color: var(--nv-900); background: transparent; }
.btn-outline:hover { background: var(--nv-900); color: #fff; }
.btn-light { background: #fff; color: var(--nv-900); }
.btn-light:hover { background: var(--bg-3); color: var(--nv-900); }
.btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-arrow::after { content: "→"; transition: transform .2s; }
.btn-arrow:hover::after { transform: translateX(4px); }

.link-more { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--nv-900); }
.link-more:hover { color: var(--or-600); }
.link-more::after { content: "→"; transition: transform .18s; }
.link-more:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------- kicker → spec-tag */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--or-600); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 20px; height: 1.5px; background: var(--or-600); flex: none; }
.section-dark .kicker, .section-navy .kicker, .cta-band .kicker { color: var(--or-400); }
.section-dark .kicker::before, .section-navy .kicker::before, .cta-band .kicker::before { background: var(--or-400); }
.hero .kicker, .page-hero .kicker { color: var(--or-400); }
.hero .kicker::before, .page-hero .kicker::before { background: var(--or-400); }

/* explicit spec-tag (same look, for new markup) */
.spec-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--or-600); margin-bottom: 14px; }
.spec-tag::before { content: ""; width: 20px; height: 1.5px; background: var(--or-600); }
.spec-tag.dk { color: var(--or-400); }
.spec-tag.dk::before { background: var(--or-400); }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative; color: rgba(255,255,255,.92);
  background: linear-gradient(135deg, var(--nv-950) 0%, var(--nv-900) 55%, var(--nv-950) 100%);
  padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(900px 480px at 84% 18%, rgba(255,106,0,.14), transparent 60%),
    radial-gradient(700px 420px at 4% 100%, rgba(26,58,92,.5), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; 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: 54px 54px;
  mask-image: radial-gradient(ellipse at 52% 40%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 52% 40%, #000 22%, transparent 78%);
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  color: var(--or-400); padding: 7px 16px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px;
}
.hero-eyebrow .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--or-500); box-shadow: 0 0 0 3px rgba(255,106,0,.25); }
.hero h1 { color: #fff; margin-bottom: 22px; max-width: 17ch; }
.hero h1 .hl { color: var(--or-400); }
.hero-lead { font-size: 1.125rem; color: rgba(255,255,255,.88); max-width: 58ch; margin-bottom: 34px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.hero-quick { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .85rem; color: rgba(255,255,255,.64); }
.hero-quick span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); letter-spacing: .02em; }
.hero-quick svg { color: var(--or-400); flex: none; }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; } .report-card { transform: none; max-width: 520px; } }

/* hero stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius); overflow: hidden; margin-top: clamp(44px, 5vw, 64px);
  font-variant-numeric: tabular-nums;
}
.hero-stat { padding: 22px 20px; background: rgba(6,19,34,.55); text-align: left; }
.hero-stat strong { display: block; color: #fff; font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.hero-stat strong .unit, .hero-stat strong em { font-style: normal; color: var(--or-400); font-size: 1rem; margin-left: 2px; }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.64); letter-spacing: .01em; display: block; margin-top: 6px; line-height: 1.4; }
@media (max-width: 1020px) { .hero-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } .hero-stat strong { font-size: 1.35rem; } .hero-stat { padding: 18px 16px; } }

.hero-trust-logos { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 12px; }
.hero-trust-logo { font-weight: 800; font-size: 1.1rem; color: rgba(255,255,255,.55); letter-spacing: .02em; padding: 4px 0; }

/* hero trust strip */
.hero-trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: center;
  margin-top: 22px; padding: 13px 22px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-sm); font-size: .85rem; color: rgba(255,255,255,.82); letter-spacing: .01em;
}
.hero-trust-strip .hts-main { font-weight: 700; color: #fff; }
.hero-trust-strip .hts-divider { color: rgba(255,255,255,.25); }

/* ---------------------------------------------------------------- hero report card (signature) */
.report-card { position: relative; background: var(--bg-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 32px; color: var(--text); transform: rotate(.6deg); }
.rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 20px; }
.rc-id { font-family: var(--font-mono); font-size: .75rem; color: var(--text-3); letter-spacing: .08em; margin: 0 0 6px; }
.rc-title { font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.rc-std { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; color: var(--info); background: #E7F1FA; padding: 3px 9px; border-radius: 4px; }
.rc-stamp { transform: rotate(-6deg); }
.rc-row { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.rc-row:last-of-type { border-bottom: 0; }
.rc-row .k { color: var(--text-2); }
.rc-row .v { font-family: var(--font-mono); font-weight: 600; color: var(--ink); font-size: .82rem; text-align: right; }
.rc-row .v.ok { color: var(--green); }
.rc-row .v.warn { color: #B45309; }

/* inspector qualification certificates block */
.rc-certs { margin: 12px 0 2px; padding: 10px 14px; background: var(--bg-4); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.rc-certs-k { display: block; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.rc-cert { display: block; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; color: var(--ink); line-height: 1.75; }
.rc-cert::before { content: "\2713 "; color: var(--green); font-weight: 700; }
.rc-sign { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.rc-sign .sig { font-family: var(--font-mono); font-size: .72rem; color: var(--text-3); letter-spacing: .04em; line-height: 1.6; }
.rc-sign .sig strong { display: block; font-size: .78rem; color: var(--ink); }

/* stamp seal */
.stamp { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border: 2px solid var(--green); border-radius: var(--radius-sm); color: var(--green); font-family: var(--font-mono); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(14,138,74,.04); }
.stamp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* registration marks — four corner ticks */
.reg-marks::before, .reg-marks::after, .rm-b::before, .rm-b::after { content: ""; position: absolute; width: 18px; height: 18px; border-color: rgba(10,28,48,.35); border-style: solid; border-width: 0; }
.reg-marks::before { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 2px; }
.reg-marks::after { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 2px; }
.rm-b::before { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 2px; }
.rm-b::after { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 2px; }

/* ---------------------------------------------------------------- page hero */
.page-hero {
  background: linear-gradient(135deg, var(--nv-950) 0%, var(--nv-900) 100%);
  color: #fff; padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 20% 110%, rgba(242,96,0,.15), transparent 65%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero-sub { color: rgba(255,255,255,.84); max-width: 70ch; font-size: 1.06rem; margin: 0; }
.page-hero .eyebrow { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: var(--or-400); padding: 6px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; }
.page-hero-with-image .eyebrow { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: var(--or-400); padding: 6px 14px; border-radius: 999px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.page-hero-with-image { position: relative; color: #fff; background: var(--nv-950); padding: 0; overflow: hidden; }
.page-hero-with-image .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.page-hero-with-image .hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,19,34,.93), rgba(10,28,48,.78)); }
.page-hero-with-image .container { position: relative; z-index: 1; padding: clamp(72px, 9vw, 110px) 0 clamp(56px, 7vw, 88px); }
.page-hero-with-image h1 { color: #fff; max-width: 18ch; margin-bottom: 16px; }
.page-hero-with-image p { color: rgba(255,255,255,.88); max-width: 64ch; font-size: 1.06rem; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-2); }
.section-soft { background: var(--bg-4); }
.section-dark, .section-navy { background: linear-gradient(135deg, var(--nv-950), var(--nv-900)); color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.section-dark::before, .section-navy::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 420px at 85% 10%, rgba(255,106,0,.12), transparent 62%); }
.section-dark::after, .section-navy::after { 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: 54px 54px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 18%, transparent 72%); }
.section-dark .container, .section-navy .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3, .section-navy h2, .section-navy h3 { color: #fff; }
.section-dark .muted, .section-navy .muted { color: rgba(255,255,255,.7); }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker, .section-head.center .spec-tag { justify-content: center; }
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.125rem; color: var(--text-2); margin: 0; line-height: 1.7; }
.section-dark .section-sub, .section-navy .section-sub { color: rgba(255,255,255,.72); }

/* ---------------------------------------------------------------- grids & cards */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-1 { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.grid-3-1 { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .grid-2-1, .grid-3-1 { grid-template-columns: 1fr; } }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-xs); position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--or-600); transition: width .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card:hover::before { width: 100%; }
.card-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--or-050); color: var(--or-600); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; flex: none; }
.card-icon.accent { background: var(--or-050); color: var(--or-600); }
.card-icon.navy { background: #E3EAF2; color: var(--nv-900); }
.card-title { margin-bottom: 10px; font-size: 1.12rem; }
.card-text { font-size: .95rem; color: var(--text-2); margin: 0; line-height: 1.65; flex: 1; }
.card a.card-link { margin-top: 14px; display: inline-block; color: var(--or-600); font-weight: 600; font-size: .9rem; }
.card-index { position: absolute; top: 20px; right: 22px; font-family: var(--font-mono); font-size: .75rem; color: var(--text-3); letter-spacing: .08em; }

.service-card { display: flex; flex-direction: column; }
.service-card .service-img { width: 100%; height: 180px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; }
.service-card .service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card .service-content { flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { font-size: .95rem; color: var(--text-2); flex: 1; margin: 0 0 8px; }
.service-card .service-link { color: var(--or-600); font-weight: 600; font-size: .92rem; margin-top: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* value cards (values section, index/about/values pages) */
.value-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease; }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-glyph { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0 auto 14px; font-family: "Noto Sans SC", "PingFang SC", serif; }
.value-glyph.navy { background: var(--nv-900); }
.value-glyph.orange { background: var(--or-600); }
.value-card h3 { font-size: 1rem; margin: 0 0 6px; color: var(--ink); }
.value-card p { font-size: .88rem; color: var(--text-2); margin: 0; line-height: 1.6; }

/* ---------------------------------------------------------------- checks & lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; line-height: 1.6; }
html[dir="rtl"] .check-list li { padding-left: 0; padding-right: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--or-050); }
html[dir="rtl"] .check-list li::before { left: auto; right: 0; }
.check-list li::after { content: ""; position: absolute; left: 5.5px; top: 8px; width: 8px; height: 4.5px; border-left: 2.2px solid var(--or-600); border-bottom: 2.2px solid var(--or-600); transform: rotate(-45deg); }
html[dir="rtl"] .check-list li::after { left: auto; right: 5.5px; }

/* ---------------------------------------------------------------- badges */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--bg-3); color: var(--nv-900); font-size: .8rem; font-weight: 600; }
.badge.accent { background: var(--or-050); color: var(--or-600); }
.badge.green { background: #E3F6EB; color: var(--green); }
.badge.navy { background: #E3EAF2; color: var(--nv-900); }
.badge.outline { background: transparent; border: 1px solid var(--line-strong); color: var(--text-2); }

/* ---------------------------------------------------------------- stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 24px 16px; }
.stat-meta { display: block; font-size: 3rem; color: var(--nv-900); letter-spacing: -.02em; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-meta .unit { font-size: 1.5rem; color: var(--or-600); margin-left: 2px; }
.section-dark .stat-meta, .section-navy .stat-meta { color: #fff; }
.stat-tag { font-size: .92rem; color: var(--text-2); margin-top: 8px; }
.section-dark .stat-tag, .section-navy .stat-tag { color: rgba(255,255,255,.7); }
.stat-counter { display: inline-block; }

/* ---------------------------------------------------------------- testimonial */
.quote-block { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--or-600); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-xs); position: relative; }
html[dir="rtl"] .quote-block { border-left: 1px solid var(--line); border-right: 3px solid var(--or-600); }
.quote-block::before { content: "\201C"; position: absolute; top: 2px; left: 20px; font-size: 3.6rem; color: var(--or-600); opacity: .14; font-family: Georgia, serif; line-height: 1; }
.quote-block p { font-size: 1rem; color: var(--ink); margin-bottom: 14px; line-height: 1.65; }
.quote-block cite { font-style: normal; font-size: .85rem; color: var(--text-3); display: block; line-height: 1.5; }
.quote-block cite strong { color: var(--ink); display: block; font-size: .95rem; }

/* ---------------------------------------------------------------- coverage map */
.coverage-map { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-xs); }
.coverage-map svg { width: 100%; height: auto; max-width: 720px; display: block; margin: 0 auto; }

/* ---------------------------------------------------------------- workflow → timeline */
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); position: relative; }
@media (max-width: 1020px) { .workflow { grid-template-columns: repeat(2, 1fr); } .workflow-step:not(:last-child)::after { content: ""; } .workflow-step { border-bottom: 1px solid var(--line-soft); } }
@media (max-width: 640px) { .workflow { grid-template-columns: 1fr; } }
.workflow-step { position: relative; padding: 26px 20px; }
.workflow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; bottom: auto; right: 6px; left: calc(50% + 30px); height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px);
}
html[dir="rtl"] .workflow-step:not(:last-child)::after { right: calc(50% + 30px); left: 6px; }
@media (max-width: 1020px) { .workflow-step:not(:last-child)::after { content: none; } }
.workflow-step .step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nv-900); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.workflow-step .step-num.accent, .workflow-step.key .step-num { background: var(--or-600); }
.workflow-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.workflow-step p { font-size: .9rem; color: var(--text-2); margin: 0; }
.workflow-step .tl-time { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; color: var(--or-600); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }

/* steps (generic numbered list) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nv-900); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-2); margin: 0; }

/* ---------------------------------------------------------------- client logos */
.client-strip { display: flex; gap: 28px 44px; flex-wrap: wrap; justify-content: center; align-items: center; }
.client-logo { font-weight: 800; font-size: 1.18rem; color: var(--text-3); letter-spacing: .04em; padding: 12px 0; opacity: .8; transition: opacity .2s, color .2s; }
.client-logo:hover { opacity: 1; color: var(--nv-900); }
.client-logo small { font-weight: 600; font-size: .82rem; color: var(--text-3); display: block; letter-spacing: .02em; opacity: .7; }
.client-logo.bolder { color: var(--nv-900); }
.client-logo.accent { color: var(--or-600); }

/* ---------------------------------------------------------------- certs row */
.certs-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 20px 28px; background: var(--bg-4); border-radius: var(--radius); border: 1px solid var(--line-soft); }
.cert-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; color: var(--nv-900); }
.cert-badge .cert-icon { width: 22px; height: 22px; color: var(--or-600); }
.cert-badge:hover { border-color: var(--or-600); box-shadow: 0 2px 8px rgba(242,96,0,.16); }

/* ---------------------------------------------------------------- split / image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split.reverse > .visual-box { order: -1; }
@media (max-width: 900px) { .split.reverse > .visual-box { order: 0; } }

.visual-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, #f8fbfd, #eef3f9);
  min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 30px; text-align: center; color: var(--text-2); position: relative; overflow: hidden;
}
.visual-box svg { color: var(--nv-900); opacity: .9; }
.visual-box span { font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.visual-box.has-image { padding: 0; min-height: 380px; }
.visual-box img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.visual-box.has-image .caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(6,19,34,.85)); color: #fff; padding: 20px 24px; text-align: left; text-transform: none; font-weight: 500; font-size: .95rem; letter-spacing: 0; }
.visual-box.has-image .caption strong { color: #fff; display: block; font-size: 1rem; }

/* photo frame (v2) */
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-md); }
.photo-frame img { width: 100%; height: auto; display: block; }
.photo-frame .pf-caption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(6,19,34,.88)); color: #fff; padding: 36px 24px 18px; font-size: .85rem; }
.photo-frame .pf-caption strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 2px; }
.photo-frame .pf-tag { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; color: #fff; background: rgba(6,19,34,.72); border: 1px solid rgba(255,255,255,.25); padding: 5px 11px; border-radius: 4px; text-transform: uppercase; }

/* ---------------------------------------------------------------- breadcrumbs */
.breadcrumb { padding: 18px 0 0; font-size: .86rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--text-3); }
.breadcrumb li + li::before { content: "›"; color: var(--text-3); font-weight: 700; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--nv-900); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--nv-950); color: rgba(255,255,255,.75); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col .brand { color: #fff; margin-bottom: 14px; }
.footer-col .brand:hover { color: #fff; }
.footer-about p { color: rgba(255,255,255,.66); font-size: .92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; margin: 14px 0 0; padding: 0; }
.footer-contact li { margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--or-400); }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-note { font-size: .9rem; color: rgba(255,255,255,.62); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-legal { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255,255,255,.58); }
.footer-legal a:hover { color: #fff; }
.footer-lang { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 16px 0 0; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-lang-label { color: rgba(255,255,255,.5); font-weight: 600; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.footer-lang a { color: rgba(255,255,255,.72); }
.footer-lang a:hover { color: #fff; }
.footer-lang a.active { color: var(--or-400); font-weight: 700; }

/* ---------------------------------------------------------------- CTA */
.cta-band { background: linear-gradient(120deg, var(--nv-950), var(--nv-800)); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,106,0,.13), transparent 55%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(44px, 6vw, 72px) 0; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { margin: 0 0 4px; color: rgba(255,255,255,.85); max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* trust-bar */
.trust-bar { text-align: center; padding: 14px 20px; background: var(--nv-900); color: rgba(255,255,255,.85); font-size: .88rem; letter-spacing: .02em; }
.trust-bar a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.trust-bar a:hover { color: #fff; text-decoration-color: var(--or-500); }

/* ---------------------------------------------------------------- form */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-strong); border-radius: 8px;
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-2); transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--nv-700); box-shadow: 0 0 0 3px rgba(26,58,92,.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--text-3); margin-top: 14px; }
.form-success { display: none; background: #E3F6EB; border: 1px solid #86EFAC; color: #15803D; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 14px; }
.form-success.show { display: block; }
.form-error { display: none; background: #FDEAE8; border: 1px solid #FCA5A5; color: #B91C1C; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 14px; }
.form-error.show { display: block; }
.field-check { display: flex; align-items: flex-start; gap: 10px; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--nv-900); }
.field-check label { font-weight: 500; font-size: .9rem; color: var(--text); cursor: pointer; margin: 0; }
.field-check a { font-weight: 600; color: var(--nv-900); }

.info-card { background: var(--bg-4); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.info-card p { font-size: .95rem; margin-bottom: 8px; }
.info-card ul { margin: 0; font-size: .95rem; }
.info-card a { font-weight: 600; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- FAQ */
.faq-list { max-width: 920px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-2); margin-bottom: 14px; overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.open { border-color: var(--nv-700); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: inherit; font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-q svg { flex: none; transition: transform .2s ease; color: var(--nv-900); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 22px; font-size: .97rem; line-height: 1.7; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow-xs); }
table.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th, .table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); font-size: .95rem; vertical-align: top; }
.table th { background: var(--bg-3); color: var(--ink); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-mono); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; color: var(--ink); }

/* ---------------------------------------------------------------- projects */
.project-card { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.project-card .project-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.project-card h3 { font-size: 1.1rem; }
.project-card p { font-size: .95rem; flex: 1; }

/* ---------------------------------------------------------------- misc */
.alert-note { border: 1px dashed var(--or-600); background: var(--or-050); color: var(--text); border-radius: var(--radius); padding: 16px 20px; font-size: .93rem; margin: 22px 0; }
.alert-note strong { color: var(--or-600); }
.note-box { background: var(--bg-4); border-left: 4px solid var(--nv-900); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; margin: 22px 0; }
html[dir="rtl"] .note-box { border-left: 0; border-right: 4px solid var(--nv-900); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

.two-col-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 34px; }
@media (max-width: 680px) { .two-col-list { grid-template-columns: 1fr; } }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* service hero image */
.service-hero { position: relative; height: 280px; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.service-hero img { width: 100%; height: 100%; object-fit: cover; }
.service-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6,19,34,.5)); }
.service-hero .hero-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 32px; color: #fff; }
.service-hero .hero-caption .badge { background: var(--or-600); color: #fff; margin-bottom: 8px; }
.service-hero .hero-caption h1 { color: #fff; font-size: 1.6rem; }

.HERO-IMG-SUPPORT { background-image: var(--hero-img); background-size: cover; background-position: center; }

/* ---------------------------------------------------------------- floating contact */
.float-contact { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
html[dir="rtl"] .float-contact { right: auto; left: 20px; align-items: flex-start; }
.float-contact-toggle {
  width: 58px; height: 58px; border: 0; cursor: pointer;
  background: var(--or-600); color: #fff; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; box-shadow: var(--shadow-orange);
  transition: transform .2s ease, background .2s ease;
}
.float-contact-toggle:hover { background: var(--or-500); transform: translateY(-2px); }
.float-contact-panel { display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.float-contact.open .float-contact-panel { opacity: 1; visibility: visible; transform: none; }
.float-contact-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem;
  color: #fff; text-decoration: none; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-md);
}
.float-contact-item svg { flex: none; }
.float-contact-item.email { background: var(--nv-900); }
.float-contact-item.email:hover { background: var(--nv-800); color: #fff; }
.float-contact-item.whatsapp { background: #128C4A; }
.float-contact-item.whatsapp:hover { background: #0E7A3F; color: #fff; }
@media (max-width: 640px) {
  .float-contact { right: 14px; bottom: 14px; }
  .float-contact-toggle { width: 52px; height: 52px; }
}

/* photos: inset display */
.visual-box img[src*="/photos/"] { max-width: 72%; margin-inline: auto; }

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; } .mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; } .mb-24 { margin-bottom: 24px; }
.mt-32 { margin-top: 32px; } .mb-32 { margin-bottom: 32px; }
.mt-40 { margin-top: 40px; } .mb-40 { margin-bottom: 40px; }
.muted { color: var(--text-2); }
.small { font-size: .88rem; }
