/* =========================================================
   AARO Engineering — Precision CNC / VMC / EDM
   Stylesheet
   ========================================================= */

:root {
  --navy-950: #040d18;
  --navy-900: #06172a;
  --navy-850: #0a1f37;
  --navy-800: #0d2744;
  --navy-700: #143559;
  --blue-700: #1458b4;
  --blue-600: #1a6ad6;
  --blue-500: #2b84f0;
  --blue-400: #5ba3f6;
  --blue-300: #93c2fa;
  --steel-50: #f5f7fa;
  --steel-100: #eaeff5;
  --steel-200: #dbe3ec;
  --steel-300: #c3cfdc;
  --ink: #0b1828;
  --ink-2: #2a3a4c;
  --muted: #5d6d80;
  --muted-on-dark: #9fb0c4;
  --line: #dde4ec;
  --line-dark: rgba(255, 255, 255, 0.09);
  --white: #ffffff;
  --success: #12a46b;
  --danger: #d43c3c;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(6, 23, 42, 0.06), 0 1px 1px rgba(6, 23, 42, 0.04);
  --shadow: 0 10px 30px -12px rgba(6, 23, 42, 0.18), 0 2px 6px rgba(6, 23, 42, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(6, 23, 42, 0.35);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-500); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

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

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--blue-400); }

.h-display { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.03em; line-height: 1.04; }
.h-1 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.028em; line-height: 1.08; }
.h-2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
.h-3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); line-height: 1.7; }
.accent { color: var(--blue-500); }
.on-dark { color: var(--muted-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead { color: var(--muted-on-dark); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-600); --fg: #fff; --bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd); border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { --bg: var(--blue-700); --bd: var(--blue-700); box-shadow: 0 10px 24px -10px rgba(26, 106, 214, .7); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.35); }
.btn-ghost:hover { --bg: rgba(255,255,255,.08); --bd: #fff; box-shadow: none; }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: var(--steel-300); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); box-shadow: none; }
.btn-dark { --bg: var(--navy-900); --bd: var(--navy-900); }
.btn-dark:hover { --bg: var(--navy-700); --bd: var(--navy-700); }
.btn-white { --bg: #fff; --fg: var(--navy-900); --bd: #fff; }
.btn-white:hover { --bg: var(--steel-100); --bd: var(--steel-100); --fg: var(--navy-900); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--blue-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--blue-400); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(255,255,255,.08); transition: opacity .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(6, 23, 42, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; color: #fff; flex-shrink: 0; }
.brand svg { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: rgba(255,255,255,.78); border-radius: var(--radius-sm);
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--blue-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.75);
}
.header-phone svg { width: 16px; height: 16px; color: var(--blue-400); }
.header-phone:hover { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18);
  background: transparent; border-radius: var(--radius-sm); cursor: pointer; color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--navy-950);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  overflow-y: auto;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff;
}
.mobile-nav a.m-link span { font-family: var(--font-mono); font-size: 12px; color: var(--muted-on-dark); font-weight: 400; }
.mobile-nav a.m-link[aria-current="page"] { color: var(--blue-400); }
.mobile-nav .btn { margin-top: 24px; }
.mobile-nav .m-contact { margin-top: 24px; display: grid; gap: 10px; font-size: 14px; color: var(--muted-on-dark); }
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-950);
  color: var(--muted-on-dark);
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; top: 0; right: 0; height: 100%; width: 72%;
  object-fit: cover; object-position: 40% 40%;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 30%, rgba(4,13,24,.86) 46%, rgba(4,13,24,.35) 70%, rgba(4,13,24,.25) 100%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(4,13,24,0) 38%),
    linear-gradient(180deg, rgba(4,13,24,.7) 0%, rgba(4,13,24,0) 22%);
}
.hero::after { /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,163,246,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,163,246,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 0%, #000 35%, transparent 60%);
}
.hero-body { position: relative; padding-bottom: clamp(48px, 7vw, 88px); }
.hero-content { max-width: 640px; }
.hero-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-300);
}
.hero-tags i { width: 4px; height: 4px; background: var(--blue-500); border-radius: 50%; }
.hero h1 { color: #fff; margin-top: 22px; }
.hero h1 .accent { color: var(--blue-400); }
.hero .lead { margin-top: 22px; max-width: 540px; color: #b6c4d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.spec-card {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 88px);
  width: 290px;
  background: rgba(6, 23, 42, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: var(--font-mono); font-size: 12.5px; color: #c9d6e4;
}
.spec-card .sc-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,.16); margin-bottom: 8px; letter-spacing: .1em; text-transform: uppercase; color: #fff; font-size: 11.5px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: #4ade80; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.spec-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; }
.spec-card dt { color: var(--muted-on-dark); }
.spec-card dd { margin: 0; text-align: right; color: #fff; }

.hero-strip {
  position: relative; border-top: 1px solid var(--line-dark);
  background: rgba(4, 13, 24, .6);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; border-left: 1px solid var(--line-dark); }
.hero-strip li:first-child { border-left: 0; padding-left: 0; }
.hero-strip .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(43,132,240,.12); color: var(--blue-400); }
.hero-strip .ic svg { width: 22px; height: 22px; }
.hero-strip strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; }
.hero-strip span { font-size: 13.5px; line-height: 1.5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: var(--muted-on-dark);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 88px);
}
.page-hero .ph-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-media img { position: absolute; right: 0; top: 0; width: 62%; height: 100%; object-fit: cover; opacity: .9; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 38%, rgba(4,13,24,.75) 60%, rgba(4,13,24,.45) 100%),
              linear-gradient(0deg, rgba(4,13,24,.85) 0%, rgba(4,13,24,0) 50%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(91,163,246,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,163,246,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: var(--blue-400); }
.page-hero h1 { color: #fff; max-width: 720px; }
.page-hero .lead { margin-top: 18px; max-width: 580px; color: #b6c4d4; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-soft { background: var(--steel-50); }
.bg-dark { background: var(--navy-900); color: var(--muted-on-dark); }
.bg-darker { background: var(--navy-950); color: var(--muted-on-dark); }
.bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-darker h2, .bg-darker h3, .bg-darker h4 { color: #fff; }
.bg-grid { position: relative; isolation: isolate; }
.bg-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(91,163,246,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(91,163,246,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 20% 0%, #000 0%, transparent 65%);
}

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .sh-text { max-width: 640px; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 14px; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }

.sec-index {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em;
}
.bg-dark .sec-index, .bg-darker .sec-index { color: var(--muted-on-dark); }

/* ---------- Materials marquee ---------- */
.marquee-wrap { background: var(--navy-950); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; }
.marquee li { display: flex; align-items: center; gap: 14px; padding: 20px 28px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8aa0b8; white-space: nowrap; }
.marquee li::after { content: "◆"; font-size: 8px; color: var(--blue-500); margin-left: 28px; }
.marquee li b { color: #fff; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Capability bento (home) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cap-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--steel-300); }
.cap-card .cc-img { position: relative; overflow: hidden; aspect-ratio: 16/8; background: var(--navy-800); }
.cap-card .cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cap-card:hover .cc-img img { transform: scale(1.06); }
.cap-card .cc-tag {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(4,13,24,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; padding: 6px 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,.14);
}
.cap-card .cc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cap-card h3 { font-size: 1.2rem; }
.cap-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.cap-card .chips { margin-top: 16px; }
.cap-card .cc-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.cap-card .cc-num { font-family: var(--font-mono); font-size: 12px; color: var(--steel-300); }
.cap-card.span-3 { grid-column: span 3; }
.cap-card.span-2 { grid-column: span 2; }
.cap-card.span-3 .cc-img { aspect-ratio: 16/7; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 9px; border-radius: 4px; background: var(--steel-100); color: var(--ink-2); border: 1px solid var(--line); }
.on-dark .chip, .bg-dark .chip, .bg-darker .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #c9d6e4; }

.arrow-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); transition: all .3s var(--ease);
}
.arrow-btn svg { width: 16px; height: 16px; }
.cap-card:hover .arrow-btn, .ind-card:hover .arrow-btn { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: rotate(-45deg); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 3/4; isolation: isolate; color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
}
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ind-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,13,24,.05) 25%, rgba(4,13,24,.92) 100%); transition: background .4s; }
.ind-card:hover img { transform: scale(1.07); }
.ind-card:hover::before { background: linear-gradient(180deg, rgba(10,40,80,.25) 0%, rgba(4,13,24,.95) 100%); }
.ind-card .ic-num { position: absolute; top: 20px; left: 22px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.7); }
.ind-card .arrow-btn { position: absolute; top: 16px; right: 16px; border-color: rgba(255,255,255,.25); color: #fff; }
.ind-card h3 { color: #fff; font-size: 1.25rem; }
.ind-card p { font-size: 14px; color: #b6c4d4; margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s; }
.ind-card:hover p, .ind-card:focus-visible p { max-height: 120px; opacity: 1; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--steel-300) 0 6px, transparent 6px 12px); }
.step { position: relative; padding-right: 28px; }
.step .st-ic {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--blue-600);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
}
.step:hover .st-ic { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.step .st-ic svg { width: 24px; height: 24px; }
.step .st-num { display: block; margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--blue-600); letter-spacing: .1em; }
.step h3 { margin-top: 6px; font-size: 1.12rem; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.bg-dark .process::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }
.bg-dark .step .st-ic { background: var(--navy-800); border-color: rgba(255,255,255,.12); color: var(--blue-400); box-shadow: none; }
.bg-dark .step:hover .st-ic { background: var(--blue-600); color: #fff; }
.bg-dark .step p { color: var(--muted-on-dark); }
.bg-dark .step .st-num { color: var(--blue-400); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { margin-top: 14px; }
.split .lead { margin-top: 18px; }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.tall { aspect-ratio: 4/4.4; }
.media-frame.wide { aspect-ratio: 16/10; }
/* registration corner marks */
.reg { position: relative; }
.reg::before, .reg::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
  border-color: var(--blue-500); border-style: solid;
}
.reg::before { top: -10px; left: -10px; border-width: 2px 0 0 2px; }
.reg::after { bottom: -10px; right: -10px; border-width: 0 2px 2px 0; }

.media-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 3;
  background: rgba(4,13,24,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 14px 18px; color: #fff;
}
.media-badge small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); }
.media-badge strong { font-family: var(--font-head); font-size: 17px; }

.check-list { display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(26,106,214,.1); color: var(--blue-600); display: grid; place-items: center; margin-top: 1px; }
.check-list .ck svg { width: 14px; height: 14px; }
.check-list strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 700; }
.check-list span { font-size: 15px; color: var(--muted); }
.on-dark .check-list strong, .bg-dark .check-list strong, .bg-darker .check-list strong { color: #fff; }
.on-dark .check-list span, .bg-dark .check-list span, .bg-darker .check-list span { color: var(--muted-on-dark); }
.bg-dark .check-list .ck, .bg-darker .check-list .ck { background: rgba(91,163,246,.14); color: var(--blue-400); }

/* ---------- Feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tiles.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile { background: #fff; padding: 30px 28px; transition: background .3s; }
.tile:hover { background: var(--steel-50); }
.tile .t-ic { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--steel-100); color: var(--blue-600); transition: all .3s; }
.tile:hover .t-ic { background: var(--blue-600); color: #fff; }
.tile .t-ic svg { width: 24px; height: 24px; }
.tile h3 { margin-top: 20px; font-size: 1.08rem; }
.tile p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.bg-dark .tiles, .bg-darker .tiles { background: var(--line-dark); border-color: var(--line-dark); }
.bg-dark .tile { background: var(--navy-900); }
.bg-darker .tile { background: var(--navy-950); }
.bg-dark .tile:hover, .bg-darker .tile:hover { background: var(--navy-850); }
.bg-dark .tile .t-ic, .bg-darker .tile .t-ic { background: rgba(91,163,246,.1); color: var(--blue-400); }
.bg-dark .tile:hover .t-ic, .bg-darker .tile:hover .t-ic { background: var(--blue-600); color: #fff; }
.bg-dark .tile p, .bg-darker .tile p { color: var(--muted-on-dark); }

/* ---------- Why AARO (dark) ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; margin-top: 36px; }
.why-list li { background: var(--navy-900); padding: 24px; }
.why-list .t-ic { width: 40px; height: 40px; color: var(--blue-400); }
.why-list .t-ic svg { width: 28px; height: 28px; }
.why-list strong { display: block; margin-top: 12px; color: #fff; font-family: var(--font-head); font-size: 15.5px; }
.why-list span { display: block; margin-top: 4px; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--muted-on-dark); display: grid; grid-template-columns: 1.2fr 1fr; }
.cta-band .cta-text { padding: clamp(36px, 5vw, 64px); }
.cta-band h2 { color: #fff; margin-top: 14px; }
.cta-band p { margin-top: 14px; max-width: 480px; }
.cta-band .hero-actions { margin-top: 28px; }
.cta-band .cta-media { position: relative; min-height: 280px; }
.cta-band .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(6,23,42,0) 45%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91,163,246,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(91,163,246,.07) 1px, transparent 1px); background-size: 40px 40px; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-on-dark); }
.cta-meta span { display: inline-flex; align-items: center; gap: 8px; }
.cta-meta svg { width: 15px; height: 15px; color: var(--blue-400); }

/* ---------- Capabilities page: service rows ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc .svc-media { aspect-ratio: 16/10; }
.svc .svc-num { font-family: var(--font-mono); font-size: 13px; color: var(--blue-600); letter-spacing: .1em; }
.svc h2 { margin-top: 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc > div > p { margin-top: 14px; color: var(--muted); }
.spec-table { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 14.5px; }
.spec-table div { display: grid; grid-template-columns: 170px 1fr; border-top: 1px solid var(--line); }
.spec-table div:first-child { border-top: 0; }
.spec-table dt { padding: 12px 16px; background: var(--steel-50); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; }
.spec-table dd { margin: 0; padding: 12px 16px; color: var(--ink); font-weight: 500; }
.svc .svc-actions { margin-top: 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* sub-nav for capabilities */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.active { color: var(--ink); border-bottom-color: var(--blue-600); }

/* materials table */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mat { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.mat:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.mat .sym { font-family: var(--font-mono); font-size: 12px; color: var(--blue-600); letter-spacing: .08em; }
.mat h3 { font-size: 1.05rem; margin-top: 8px; }
.mat p { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- Industries page ---------- */
.ind-rows { display: grid; gap: 24px; }
.ind-row { display: grid; grid-template-columns: 420px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.ind-row:hover { box-shadow: var(--shadow); border-color: var(--steel-300); }
.ind-row .ir-media { position: relative; min-height: 280px; overflow: hidden; }
.ind-row .ir-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ind-row:hover .ir-media img { transform: scale(1.05); }
.ind-row .ir-body { padding: clamp(28px, 3.5vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.ind-row .ir-head { grid-column: 1 / -1; }
.ind-row .ir-head .sec-index { color: var(--blue-600); }
.ind-row h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 8px; }
.ind-row .ir-head p { margin-top: 10px; color: var(--muted); max-width: 620px; }
.ind-row h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.dot-list { display: grid; gap: 8px; }
.dot-list li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.dot-list li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; background: var(--blue-500); border-radius: 1px; transform: rotate(45deg) translateY(-2px); }

/* ---------- Quality page ---------- */
.q-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.q-card { position: relative; padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); }
.q-card .q-num { font-family: var(--font-mono); font-size: 44px; font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(91,163,246,.55); }
.q-card h3 { margin-top: 18px; font-size: 1.15rem; }
.q-card p { margin-top: 8px; font-size: 14.5px; }
.q-card ul { margin-top: 16px; display: grid; gap: 8px; }
.q-card li { font-size: 14px; display: flex; gap: 10px; align-items: baseline; color: #c9d6e4; }
.q-card li::before { content: "—"; color: var(--blue-400); }

.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doc { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.doc .t-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; background: var(--steel-100); color: var(--blue-600); }
.doc .t-ic svg { width: 22px; height: 22px; }
.doc h3 { font-size: 1rem; }
.doc p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.quote-block { position: relative; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--blue-600); color: #dbeafe; overflow: hidden; isolation: isolate; }
.quote-block::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.quote-block blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; color: #fff; letter-spacing: -0.02em; max-width: 820px; }
.quote-block .qb-foot { margin-top: 22px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- About page ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.vm { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.vm .t-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-900); color: var(--blue-400); display: grid; place-items: center; }
.vm .t-ic svg { width: 22px; height: 22px; }
.vm h3 { margin-top: 18px; font-size: 1.15rem; }
.vm p { margin-top: 8px; font-size: 15px; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding-top: 22px; border-top: 2px solid var(--blue-600); }
.value .sec-index { color: var(--blue-400); }
.value h3 { margin-top: 10px; font-size: 1.1rem; }
.value p { margin-top: 8px; font-size: 14.5px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-800); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(4,13,24,.75); color: #fff; padding: 6px 10px; border-radius: 4px; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.form-steps { display: flex; gap: 8px; margin: 26px 0 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form-steps span { display: inline-flex; align-items: center; gap: 8px; }
.form-steps span + span::before { content: ""; width: 18px; height: 1px; background: var(--steel-300); margin-right: 2px; }
.form-steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--steel-100); color: var(--ink); font-weight: 500; font-size: 11px; }
.fieldset-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin: 30px 0 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--danger); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--steel-50);
  font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%235d6d80' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder, .textarea::placeholder { color: #95a3b3; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--steel-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(43,132,240,.14); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--danger); background: #fff7f7; }
.field .err { display: none; font-size: 12.5px; color: var(--danger); margin-top: 6px; }
.field.invalid .err { display: block; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 6px; padding: 28px 20px; border: 1.5px dashed var(--steel-300); border-radius: var(--radius);
  background: var(--steel-50); cursor: pointer; transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--blue-500); background: #eef5ff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); }
.dropzone .dz-ic svg { width: 22px; height: 22px; }
.dropzone strong { font-family: var(--font-head); color: var(--ink); font-size: 15px; margin-top: 6px; }
.dropzone strong u { color: var(--blue-600); text-decoration: none; }
.dropzone small { font-size: 12.5px; color: var(--muted); }
.file-list { margin-top: 10px; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 14px; }
.file-list .fi-ext { font-family: var(--font-mono); font-size: 11px; padding: 3px 6px; border-radius: 3px; background: var(--navy-900); color: #fff; text-transform: uppercase; }
.file-list .fi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.file-list .fi-size { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.file-list button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; display: grid; place-items: center; }
.file-list button:hover { color: var(--danger); }
.file-list button svg { width: 16px; height: 16px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 20px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--blue-600); flex-shrink: 0; }
.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions .note { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.form-actions .note svg { width: 16px; height: 16px; color: var(--success); }
.hp { position: absolute !important; left: -9999px !important; }

.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.loading .spinner { display: block; }
.btn.loading .btn-label, .btn.loading .btn-arrow { opacity: .75; }
.btn.loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; }
.form-alert.show { display: block; }
.form-alert.error { background: #fff1f1; color: #9b1c1c; border: 1px solid #f7c9c9; }

.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; }
.form-success .ok { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: rgba(18,164,107,.12); color: var(--success); }
.form-success .ok svg { width: 34px; height: 34px; }
.form-success h3 { margin-top: 20px; font-size: 1.5rem; }
.form-success p { margin: 10px auto 0; max-width: 420px; color: var(--muted); }
.form-success .ref { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 13px; padding: 8px 12px; border-radius: 4px; background: var(--steel-100); color: var(--ink); }

/* sidebar */
.aside-card { border-radius: var(--radius-lg); padding: 28px; background: var(--navy-900); color: var(--muted-on-dark); position: relative; overflow: hidden; isolation: isolate; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(91,163,246,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(91,163,246,.06) 1px, transparent 1px); background-size: 28px 28px; }
.aside-card h3 { color: #fff; font-size: 1.15rem; }
.aside-card > p { font-size: 14.5px; margin-top: 8px; }
.aside-card .check-list { margin-top: 20px; gap: 12px; }
.aside-card .check-list .ck { background: rgba(91,163,246,.14); color: var(--blue-400); }
.aside-card .check-list strong { color: #fff; font-size: 14.5px; }
.aside-card .check-list span { color: var(--muted-on-dark); font-size: 13.5px; }
.aside-card.light { background: var(--steel-50); color: var(--muted); border: 1px solid var(--line); }
.aside-card.light::after { display: none; }
.aside-card.light h3 { color: var(--ink); }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { margin-top: 14px; }
.contact-line .t-ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue-600); flex-shrink: 0; }
.contact-line .t-ic svg { width: 18px; height: 18px; }
.contact-line small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-line a, .contact-line span { color: var(--ink); font-weight: 600; font-size: 15px; }
.contact-line a:hover { color: var(--blue-600); }

/* contact page */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-card { display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: all .3s var(--ease); }
a.c-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.c-card .t-ic { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--blue-400); }
.c-card .t-ic svg { width: 22px; height: 22px; }
.c-card small { display: block; margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-card strong { display: block; margin-top: 6px; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); word-break: break-word; }
.c-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--steel-100); height: 100%; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.hours { margin-top: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; color: var(--ink); font-weight: 600; font-family: var(--font-mono); font-size: 13.5px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--steel-300); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; width: 11px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--blue-600); border-color: var(--blue-600); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: #fff; }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-on-dark); position: relative; overflow: hidden; }
.footer-cta { border-bottom: 1px solid var(--line-dark); padding: clamp(48px, 6vw, 72px) 0; }
.footer-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 620px; }
.footer-cta h2 .accent { color: var(--blue-400); }
.footer-main { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-main .brand svg { height: 44px; }
.footer-main .tagline { margin-top: 18px; font-size: 15px; max-width: 320px; }
.footer-main h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-main ul { display: grid; gap: 10px; }
.footer-main ul a { font-size: 15px; transition: color .2s; }
.footer-main ul a:hover { color: #fff; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.f-contact svg { width: 18px; height: 18px; color: var(--blue-400); flex-shrink: 0; margin-top: 3px; }
.f-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--muted-on-dark); transition: all .25s; }
.socials a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }
.footer-word {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em; line-height: .8;
  font-size: clamp(80px, 19vw, 280px); text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(91,163,246,.13);
  margin-bottom: -0.12em; user-select: none; pointer-events: none;
}

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* back to top */
.to-top { position: fixed; right: 20px; bottom: 88px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .spec-card { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .ind-row { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-media img { width: 100%; opacity: .55; }
  .hero::before { background: linear-gradient(90deg, rgba(4,13,24,.95) 0%, rgba(4,13,24,.6) 100%), linear-gradient(0deg, var(--navy-950) 0%, rgba(4,13,24,0) 45%); }
  .hero-strip ul { grid-template-columns: 1fr 1fr; }
  .hero-strip li { padding: 20px; }
  .hero-strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .page-hero .ph-media img { width: 100%; opacity: .45; }
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .cap-card.span-3, .cap-card.span-2 { grid-column: span 1; }
  .cap-card.span-3 .cc-img { aspect-ratio: 16/8; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .ind-card { aspect-ratio: 4/4; }
  .ind-card p { max-height: 120px; opacity: 1; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .process::before { display: none; }
  .split, .why, .svc, .form-shell { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles.cols-3 { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-media { min-height: 220px; order: -1; }
  .cta-band .cta-media::before { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(6,23,42,0) 60%); }
  .mat-grid { grid-template-columns: 1fr 1fr; }
  .ind-row { grid-template-columns: 1fr; }
  .ind-row .ir-media { min-height: 240px; }
  .q-stage, .doc-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .section-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand svg { height: 34px; }
  .hero { min-height: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-strip ul { grid-template-columns: 1fr; }
  .hero-strip li, .hero-strip li:nth-child(odd) { border-left: 0; padding: 16px 0; border-top: 1px solid var(--line-dark); }
  .hero-strip li:first-child { border-top: 0; }
  .cap-grid, .ind-grid, .tiles, .tiles.cols-3, .mat-grid, .q-stage, .doc-grid, .contact-cards, .values, .vm-grid { grid-template-columns: 1fr; }
  .ind-card { aspect-ratio: 16/11; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding-right: 0; }
  .step .st-ic { grid-row: span 3; }
  .step .st-num { margin-top: 2px; }
  .why-list { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .spec-table div { grid-template-columns: 1fr; }
  .spec-table dt { padding-bottom: 4px; }
  .spec-table dd { padding-top: 4px; background: var(--steel-50); }
  .ind-row .ir-body { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .gallery figure:first-child { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; }
  .form-card { padding: 22px 18px; }
  .form-steps { display: none; }
  .media-badge { left: 12px; bottom: 12px; padding: 10px 14px; }
}

/* =========================================================
   Hero v2 — interactive CAM simulator
   ========================================================= */
.hero2 { justify-content: flex-start; min-height: auto; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); }
.hero2::before {
  background:
    radial-gradient(ellipse 60% 70% at 78% 45%, rgba(26,106,214,.22) 0%, rgba(4,13,24,0) 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(26,106,214,.10) 0%, rgba(4,13,24,0) 60%),
    var(--navy-950);
}
.hero2::after { -webkit-mask-image: none; mask-image: none; background-size: 48px 48px; opacity: .55; }
.h2-spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(91,163,246,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,163,246,.22) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 70%);
  mask-image: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 70%);
}
.h2-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(48px, 6vw, 80px); }
.hero2 .hero-content { max-width: 560px; }
.hero2 h1 { margin-top: 26px; }

.proc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip {
  position: relative; overflow: hidden;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.03); color: var(--muted-on-dark);
  border: 1px solid rgba(255,255,255,.12);
  transition: color .25s, border-color .25s, background .25s;
}
.pchip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.pchip.active { color: #fff; border-color: var(--blue-500); background: rgba(43,132,240,.16); }
.pchip.active::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 10px var(--blue-400); }

.h2-drop {
  margin-top: 30px; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px dashed rgba(91,163,246,.38); background: rgba(43,132,240,.05);
  color: #c9d6e4; max-width: 470px;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.h2-drop:hover { border-color: var(--blue-400); background: rgba(43,132,240,.12); transform: translateY(-2px); }
.h2-drop > svg { width: 18px; height: 18px; margin-left: auto; color: var(--blue-400); flex-shrink: 0; transition: transform .25s var(--ease); }
.h2-drop:hover > svg { transform: translateX(4px); }
.h2-drop-ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(43,132,240,.16); color: var(--blue-400); }
.h2-drop-ic svg { width: 20px; height: 20px; }
.h2-drop strong { display: block; color: #fff; font-family: var(--font-head); font-size: 15px; }
.h2-drop small { display: block; font-size: 12.5px; color: var(--muted-on-dark); margin-top: 2px; }

/* simulator panel */
.sim-wrap { perspective: 1400px; }
.sim {
  position: relative;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  background: linear-gradient(180deg, rgba(13,39,68,.85), rgba(6,23,42,.92));
  border: 1px solid rgba(91,163,246,.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 60px -20px rgba(43,132,240,.35);
  overflow: hidden;
}
.sim-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(4,13,24,.4); }
.sim-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: #fff; }
.sim-title .rec { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.sim-part { font-size: 11.5px; color: var(--blue-300); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sim-stage { position: relative; padding: 10px; }
.sim-stage svg { width: 100%; height: auto; display: block; cursor: crosshair; touch-action: pan-y; }

.s-outline .ol { fill: none; stroke: #d6e4f5; stroke-width: 1.3; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: olDraw 1.1s var(--ease) forwards; }
.s-outline .ol.center { stroke: rgba(91,163,246,.45); stroke-width: .7; stroke-dasharray: 0.02 0.01 0.004 0.01; stroke-dashoffset: 0; animation: fadeIn .8s forwards; opacity: 0; }
.s-outline .ol.hidden { stroke: rgba(214,228,245,.4); stroke-width: .8; stroke-dasharray: .02 .012; stroke-dashoffset: 0; animation: fadeIn .8s forwards; opacity: 0; }
.s-outline .ol.thin { stroke: rgba(214,228,245,.55); stroke-width: .8; }
@keyframes olDraw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.s-dims .dim { opacity: 0; animation: fadeIn .6s forwards; }
.s-dims path { fill: none; stroke: rgba(147,194,250,.7); stroke-width: .7; }
.s-dims .arrow { fill: rgba(147,194,250,.85); stroke: none; }
.s-dims text { font-family: var(--font-mono); font-size: 8.5px; fill: #93c2fa; letter-spacing: .04em; }
.s-dims .note { fill: rgba(147,194,250,.7); font-size: 8px; letter-spacing: .1em; }
.s-dims .lbl-bg { fill: #0a1f37; }

.s-preview { fill: none; stroke: rgba(91,163,246,.18); stroke-width: .8; stroke-dasharray: 3 3; }
.s-cut { fill: none; stroke: #4ea0ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sim[data-mode="wire"] .s-cut { stroke: #a5d0ff; stroke-width: 1.4; }
.s-tool-ring { fill: #06172a; stroke: #fff; stroke-width: 1.6; }
.s-tool-x { stroke: #fff; stroke-width: 1.1; }
.sim[data-mode="wire"] .s-tool-ring { fill: #fff; r: 3; }
.spark { fill: #e8f3ff; }
.sim[data-mode="wire"] .spark { fill: #9cc8ff; }

.s-cursor line { stroke: rgba(255,255,255,.35); stroke-width: .6; stroke-dasharray: 2 2; }
.s-cursor rect { fill: rgba(4,13,24,.9); stroke: rgba(91,163,246,.5); stroke-width: .6; }
.s-cursor text { font-size: 8.5px; fill: #fff; font-family: var(--font-mono); }
.s-cursor { transition: opacity .2s; pointer-events: none; }

.s-done { transition: opacity .4s; pointer-events: none; }
.s-done rect { fill: rgba(4,13,24,.92); stroke: #22c55e; stroke-width: 1; }
.s-done-ck { fill: none; stroke: #22c55e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.s-done-t1 { font-family: var(--font-head); font-weight: 800; font-size: 12px; fill: #fff; letter-spacing: .08em; }
.s-done-t2 { font-size: 8.5px; fill: #86efac; }

.sim-dro { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.08); background: rgba(4,13,24,.55); }
.sim-dro div { padding: 10px 14px; border-left: 1px solid rgba(255,255,255,.06); min-width: 0; }
.sim-dro div:first-child { border-left: 0; }
.sim-dro small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-dark); }
.sim-dro b { display: block; margin-top: 2px; font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: #7cf7b0; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 12px rgba(124,247,176,.35); }

.sim-foot { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; }
.sim-status { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; white-space: nowrap; }
.sim-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 0 rgba(91,163,246,.6); animation: pulse 1.6s infinite; }
.sim-status i.ok { background: #22c55e; }
.sim-meta { color: var(--muted-on-dark); font-size: 11.5px; white-space: nowrap; }
.sim-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.sim-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); border-radius: 4px; }
.sim-pct { font-size: 11.5px; color: #fff; min-width: 34px; text-align: right; }
.sim-note { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: rgba(159,176,196,.6); text-align: center; }

@media (max-width: 1024px) {
  .h2-grid { grid-template-columns: 1fr; }
  .hero2 .hero-content { max-width: 680px; }
  .sim-wrap { max-width: 680px; }
}
@media (max-width: 640px) {
  .sim-dro { grid-template-columns: repeat(3, 1fr); }
  .sim-dro div:nth-child(4) { border-left: 0; }
  .sim-dro div:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.06); }
  .sim-foot { grid-template-columns: 1fr auto; }
  .sim-meta { display: none; }
  .sim-bar { grid-column: 1 / -1; grid-row: 2; }
  .sim-part { display: none; }
  .h2-drop small { font-size: 11.5px; }
}
.s-rapid { fill: none; stroke: rgba(255,214,102,.55); stroke-width: .9; stroke-dasharray: 4 3; }
.hero2 h1 { font-size: clamp(2.2rem, 4.3vw, 3.7rem); }
