/* =========================================================
   NEH CONTROLS — Design System
   Navy + Signal Blue, Barlow / Barlow Condensed / JetBrains Mono
   ========================================================= */

:root {
  /* Brand colour */
  --navy: #1E3A57;          /* Control Navy — primary */
  --navy-2: #26496D;
  --ink: #0D1B2B;           /* Deep Ink — dark surfaces */
  --ink-2: #132841;
  --blue: #3A8DDE;          /* Signal Blue — action / accent */
  --blue-2: #6BB0F0;
  --glacier: #5B8FC2;       /* Glacier — from the seal sky */
  --ice: #EEF3F8;           /* Ice — light surfaces */
  --ice-2: #E2EAF3;
  --line: #D3DEEA;
  --steel: #5D6F86;         /* body muted */
  --text: #12233A;
  --seal: #7A1F10;          /* Seal Maroon — heritage accent, sparingly */
  --led-green: #3DDC84;
  --led-amber: #F5B83D;
  --led-red: #F0524A;
  --white: #FFFFFF;

  /* Type */
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(13, 27, 43, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.02; letter-spacing: .005em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icons ---------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Utility bar ---------- */
.topbar { background: var(--ink); color: #A9BBD0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar a { color: #D6E3F1; transition: color .2s; }
.topbar a:hover { color: var(--blue-2); }
.topbar .tb-left, .topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.topbar .ic { width: 14px; height: 14px; color: var(--blue-2); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .led { width: 7px; height: 7px; border-radius: 50%; background: var(--led-green); box-shadow: 0 0 0 3px rgba(61, 220, 132, .15), 0 0 10px var(--led-green); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(13, 27, 43, .35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 27px; letter-spacing: .02em; color: var(--navy); }
.brand-sub { margin-top: 4px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .22em; color: var(--steel); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav-link { position: relative; padding: 10px 16px; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); transition: color .2s; }
.nav a.nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-link[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 12px; }

.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); align-items: center; justify-content: center; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(58, 141, 222, .8); }
.btn-primary:hover { background: #2E7BC8; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section-ice { background: var(--ice); }
.section-dark { background: var(--ink); color: #C5D3E3; }
.section-navy { background: var(--navy); color: #D3DFEC; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .section-navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--blue-2); }

/* Catalogue-style tab bar (Sempra inspired) */
.tab-bar { display: inline-flex; align-items: center; gap: 14px; padding: 9px 64px 9px 18px; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 62%, rgba(30, 58, 87, 0) 100%); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.tab-bar span { font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--blue-2); letter-spacing: .1em; }

.h-xl { font-size: clamp(46px, 6.6vw, 88px); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
.h-lg { font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; text-transform: uppercase; }
.h-md { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.h-sm { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.accent { color: var(--blue); }
.section-dark .accent, .section-navy .accent, .hero .accent, .page-hero .accent { color: var(--blue-2); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--steel); }
.section-dark .lead, .section-navy .lead { color: #A9BBD0; }
.muted { color: var(--steel); }

.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { margin-top: 18px; }
.sec-head .lead { margin: 0; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 780px; margin-left: auto; margin-right: auto; }

/* Blueprint grid background */
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(107, 176, 240, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 176, 240, .07) 1px, transparent 1px), linear-gradient(rgba(107, 176, 240, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 176, 240, .035) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 78%); }
.grid-bg.light { background-image: linear-gradient(rgba(30, 58, 87, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 58, 87, .06) 1px, transparent 1px); background-size: 48px 48px; }

/* Hex cluster decoration */
.hexes { position: absolute; pointer-events: none; width: 260px; opacity: .55; }
.hexes path { fill: none; stroke: var(--line); stroke-width: 1.2; }
.section-dark .hexes path, .hero .hexes path, .page-hero .hexes path { stroke: rgba(107, 176, 240, .22); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 78% 30%, #1D3F63 0%, rgba(29, 63, 99, 0) 60%), linear-gradient(180deg, #0F2135 0%, var(--ink) 100%); color: #fff; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: calc(100vh - 116px); min-height: calc(100svh - 116px); padding-top: 64px; padding-bottom: 120px; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line { display: block; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.hero .lead { color: #AFC1D6; max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 42px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8EA6C1; }
.hero-tags li { display: inline-flex; align-items: center; gap: 9px; }
.hero-tags li::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--blue-2); }
.hero-art { width: 100%; max-width: 640px; justify-self: end; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }

/* Hero stat strip */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat { position: relative; padding: 30px 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--f-display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--navy); }
.stat .num small { font-size: 26px; color: var(--blue); }
.stat .lbl { margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--steel); }
.stat::before { content: ""; position: absolute; top: -1px; left: -1px; width: 38px; height: 3px; background: var(--blue); }

/* ---------- Pillars (Automation · Maintenance · Control · Service) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { position: relative; padding: 40px 32px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .35s var(--ease), color .35s; overflow: hidden; }
.pillar .idx { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--steel); }
.pillar .ic-wrap { width: 58px; height: 58px; margin: 26px 0 24px; display: grid; place-items: center; color: var(--blue); }
.pillar .ic-wrap .ic { width: 34px; height: 34px; stroke-width: 1.5; }
.pillar h3 { font-size: 30px; text-transform: uppercase; color: var(--navy); transition: color .35s; }
.pillar p { margin: 14px 0 0; font-size: 16px; color: var(--steel); transition: color .35s; }
.pillar::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.pillar:hover { background: var(--navy); }
.pillar:hover h3 { color: #fff; }
.pillar:hover p, .pillar:hover .idx { color: #AFC1D6; }
.pillar:hover .ic-wrap { color: var(--blue-2); }
.pillar:hover::after { transform: scaleX(1); }

/* ---------- Offer cards ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer { position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.offer .hex-ic { width: 64px; height: 72px; display: grid; place-items: center; color: #fff; background: var(--navy); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 26px; transition: background .3s; }
.offer:hover .hex-ic { background: var(--blue); }
.offer .hex-ic .ic { width: 28px; height: 28px; }
.offer h3 { font-size: 26px; text-transform: uppercase; color: var(--navy); }
.offer p { margin: 12px 0 22px; font-size: 16px; color: var(--steel); flex: 1; }
.offer .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; color: var(--blue); }
.offer .more .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.offer:hover .more .ic { transform: translateX(4px); }

/* ---------- Panel types (dark) ---------- */
.ptype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(107, 176, 240, .16); border: 1px solid rgba(107, 176, 240, .16); }
.ptype { position: relative; padding: 38px 34px; background: var(--ink); transition: background .35s; overflow: hidden; }
.ptype:hover { background: #10233A; }
.ptype .code { position: absolute; top: 26px; right: 28px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; color: #5F7894; }
.ptype .ic { width: 40px; height: 40px; stroke-width: 1.4; color: var(--blue-2); margin-bottom: 26px; }
.ptype h3 { font-size: 27px; color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.ptype p { margin: 10px 0 0; font-size: 15.5px; color: #93A8C0; }
.ptype .lamp { position: absolute; left: 34px; bottom: 0; width: 46px; height: 3px; background: var(--blue); transform: scaleX(.35); transform-origin: left; transition: transform .45s var(--ease); }
.ptype:hover .lamp { transform: scaleX(1); }

/* ---------- Trust / partner ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.trust-list { display: grid; gap: 18px; }
.trust { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 26px 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius); }
.trust .num { font-family: var(--f-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--ice-2); -webkit-text-stroke: 1px var(--glacier); }
.trust h3 { font-size: 23px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; letter-spacing: .02em; }
.trust p { margin: 0; font-size: 16px; color: var(--steel); }

/* Hex image frame (brochure inspired) */
.hex-collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; }
.hex-img { position: absolute; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); overflow: hidden; background: var(--navy); }
.hex-img img { width: 100%; height: 100%; object-fit: cover; }
.hex-img.a { width: 64%; aspect-ratio: 1.15; left: 0; top: 10%; }
.hex-img.b { width: 46%; aspect-ratio: 1.15; right: 0; top: 0; }
.hex-img.c { width: 46%; aspect-ratio: 1.15; right: 4%; bottom: 4%; }
.hex-outline { position: absolute; width: 30%; left: 14%; bottom: 0; }
.hex-outline path { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.hex-badge { position: absolute; left: 50%; top: 50%; transform: translate(-30%, -10%); width: 120px; height: 120px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.hex-badge img { width: 100px; height: 100px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 35px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); opacity: .5; }
.step { position: relative; padding: 0 14px; text-align: center; }
.step .node { position: relative; width: 72px; height: 72px; margin: 0 auto 22px; display: grid; place-items: center; background: #fff; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); transition: background .3s, color .3s; }
.step .node .ic { width: 28px; height: 28px; }
.step:hover .node { background: var(--navy); color: #fff; }
.step .node::after { counter-increment: step; content: "0" counter(step); position: absolute; top: -6px; right: -10px; padding: 2px 6px; background: var(--blue); color: #fff; font-family: var(--f-mono); font-size: 10.5px; border-radius: 2px; }
.step h4 { font-size: 21px; text-transform: uppercase; color: var(--navy); letter-spacing: .03em; }
.step p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--steel); }

/* ---------- Brands strip ---------- */
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 14px; }
.brand-chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.brand-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--navy) 0%, #1A4672 55%, #1F5A93 100%); color: #fff; }
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { font-size: clamp(34px, 4vw, 54px); text-transform: uppercase; }
.cta-band p { margin: 14px 0 0; color: #B9CCE1; font-size: 18px; }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .phone-big { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 700; font-size: 34px; letter-spacing: .04em; }
.cta-band .phone-big .ic { width: 30px; height: 30px; color: var(--blue-2); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 85% 0%, #22466D 0%, rgba(34, 70, 109, 0) 70%), linear-gradient(180deg, #10233A 0%, var(--ink) 100%); color: #fff; }
.page-hero .wrap { position: relative; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(70px, 8vw, 110px); }
.crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7F98B4; margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 800; text-transform: uppercase; max-width: 15ch; }
.page-hero .lead { color: #AFC1D6; max-width: 640px; margin: 24px 0 0; }
.page-hero .seal-ghost { position: absolute; right: -60px; top: 50%; width: 460px; transform: translateY(-50%); opacity: .07; filter: grayscale(1) brightness(2.2); }
.page-index { position: absolute; right: var(--gutter); bottom: 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: #5F7894; }

/* ---------- About ---------- */
.about-photo { position: relative; }
.about-photo .frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 4.2; background: var(--navy); }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .est { position: absolute; right: -24px; bottom: -24px; width: 170px; height: 170px; display: grid; place-content: center; text-align: center; background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.about-photo .est b { font-family: var(--f-display); font-size: 58px; font-weight: 800; line-height: 1; }
.about-photo .est span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
.about-photo .corner { position: absolute; left: -14px; top: -14px; width: 90px; height: 90px; border-left: 3px solid var(--navy); border-top: 3px solid var(--navy); }

.check-list { display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 16.5px; }
.check-list li .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); stroke-width: 2.2; }
.check-list.two { grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.section-dark .check-list li, .section-navy .check-list li { color: #C5D3E3; }

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv { padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.mv .ic { width: 36px; height: 36px; color: var(--blue); stroke-width: 1.5; margin-bottom: 20px; }
.mv h3 { font-size: 26px; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.mv p { margin: 0; color: var(--steel); font-size: 16px; }

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(107, 176, 240, .16); border: 1px solid rgba(107, 176, 240, .16); counter-reset: ks; }
.strength { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 24px 26px; background: var(--ink); color: #D3DFEC; font-size: 16px; line-height: 1.45; transition: background .3s; }
.strength:hover { background: #10233A; }
.strength::before { counter-increment: ks; content: counter(ks, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--blue-2); padding-top: 3px; letter-spacing: .1em; }

/* ---------- Solutions ---------- */
.subnav { position: sticky; top: 78px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 18px 16px; font-family: var(--f-display); font-weight: 600; font-size: 15.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.active { color: var(--navy); border-color: var(--blue); }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; padding: 40px 34px 36px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.feature .tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.feature .ic { width: 42px; height: 42px; color: var(--navy); stroke-width: 1.4; margin: 22px 0 22px; }
.feature h3 { font-size: 28px; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.feature p { margin: 0; font-size: 16px; color: var(--steel); }
.feature .std { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature .std span { padding: 5px 10px; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--navy); background: var(--ice); }

.panel-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard .vis { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #142B45 0%, var(--ink) 100%); display: grid; place-items: center; overflow: hidden; }
.pcard .vis::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(107, 176, 240, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 176, 240, .08) 1px, transparent 1px); background-size: 20px 20px; }
.pcard .vis svg.art { position: relative; width: 62%; height: auto; }
.pcard .vis img { width: 100%; height: 100%; object-fit: cover; }
.pcard .vis .code { position: absolute; left: 16px; top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--blue-2); }
.pcard .body { padding: 26px 26px 28px; flex: 1; }
.pcard h3 { font-size: 25px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.pcard p { margin: 0; font-size: 15.5px; color: var(--steel); }
.pcard ul { margin-top: 14px; display: grid; gap: 6px; }
.pcard li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text); }
.pcard li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border: 1.5px solid var(--blue); transform: rotate(45deg); }

.deal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.deal { position: relative; padding: 30px 26px 28px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(107, 176, 240, .18); border-radius: var(--radius); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.deal:hover { background: rgba(58, 141, 222, .08); border-color: rgba(107, 176, 240, .45); transform: translateY(-4px); }
.deal .ic { width: 38px; height: 38px; color: var(--blue-2); stroke-width: 1.4; margin-bottom: 22px; }
.deal h3 { font-size: 23px; text-transform: uppercase; color: #fff; letter-spacing: .03em; }
.deal p { margin: 8px 0 0; font-size: 15px; color: #93A8C0; line-height: 1.5; }
.deal.wide { grid-column: span 2; }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 32px; background: var(--ice); border: 1px solid var(--line); }
.svc .ic-box { width: 64px; height: 64px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.svc .ic-box .ic { width: 28px; height: 28px; }
.svc h3 { font-size: 25px; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.svc p { margin: 0; color: var(--steel); font-size: 16px; }

.smart-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.smart-app { padding: 22px 20px; border: 1px solid rgba(107, 176, 240, .22); background: rgba(255, 255, 255, .03); }
.smart-app .ic { width: 30px; height: 30px; color: var(--blue-2); margin-bottom: 14px; }
.smart-app h4 { font-size: 20px; text-transform: uppercase; color: #fff; letter-spacing: .03em; }
.smart-app p { margin: 6px 0 0; font-size: 14.5px; color: #93A8C0; line-height: 1.5; }

.tablet { position: relative; max-width: 520px; margin-left: auto; padding: 16px; background: linear-gradient(160deg, #26384C, #0B1520); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tablet .screen { border-radius: 14px; overflow: hidden; background: #0F2033; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.c-cards { display: grid; gap: 16px; }
.c-card { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
a.c-card:hover { border-color: var(--blue); box-shadow: 0 14px 30px -20px rgba(13, 27, 43, .45); }
.c-card .ic-box { width: 54px; height: 54px; display: grid; place-items: center; background: var(--ice); color: var(--navy); border-radius: var(--radius); }
.c-card .k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.c-card .v { margin-top: 4px; font-family: var(--f-display); font-weight: 700; font-size: 25px; letter-spacing: .02em; color: var(--navy); line-height: 1.15; }
.c-card address { margin-top: 6px; font-style: normal; font-size: 16px; line-height: 1.55; color: var(--text); }
.c-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.reg { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 22px 24px; border: 1px dashed var(--glacier); background: var(--ice); font-family: var(--f-mono); font-size: 13.5px; letter-spacing: .05em; }
.reg dt { color: var(--steel); }
.reg dd { margin: 0; color: var(--navy); font-weight: 500; }

.form { padding: clamp(28px, 4vw, 44px); background: var(--ink); color: #C5D3E3; border-radius: var(--radius); position: relative; overflow: hidden; }
.form h2 { color: #fff; font-size: 38px; text-transform: uppercase; }
.form .lead { color: #93A8C0; font-size: 16.5px; margin: 10px 0 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #8EA6C1; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(107, 176, 240, .25); border-radius: var(--radius); color: #fff; font: inherit; font-size: 16px; transition: border-color .2s, background .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8EA6C1 50%), linear-gradient(135deg, #8EA6C1 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); background: rgba(255, 255, 255, .07); }
.field input::placeholder, .field textarea::placeholder { color: #5F7894; }
.form .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form .note { margin: 16px 0 0; font-size: 13.5px; color: #6F87A3; }

.map-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ice); }
.map-wrap iframe { display: block; width: 100%; height: 460px; border: 0; filter: saturate(.85) contrast(1.02); }
.map-card { position: absolute; left: 20px; bottom: 20px; max-width: 360px; padding: 20px 22px; background: #fff; box-shadow: var(--shadow); border-left: 3px solid var(--blue); }
.map-card h3 { font-size: 22px; text-transform: uppercase; color: var(--navy); }
.map-card p { margin: 6px 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--steel); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #93A8C0; font-size: 15.5px; overflow: hidden; }
.site-footer .wrap { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 80px 0 56px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #6F87A3; }
.footer-brand p { margin: 22px 0 0; max-width: 340px; line-height: 1.6; }
.f-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 18px; }
.f-links { display: grid; gap: 10px; }
.f-links a { transition: color .2s; }
.f-links a:hover { color: #fff; }
.f-contact { display: grid; gap: 14px; }
.f-contact a, .f-contact div { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.f-contact .ic { width: 18px; height: 18px; color: var(--blue-2); margin-top: 3px; }
.f-contact a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0 28px; border-top: 1px solid rgba(107, 176, 240, .14); font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: #5F7894; }
.footer-word { display: block; width: 100%; height: auto; margin-top: 8px; user-select: none; }
.footer-word text { font-family: var(--f-display); font-weight: 800; font-size: 170px; fill: none; stroke: rgba(107, 176, 240, .16); stroke-width: 1; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Hero art animation ---------- */
.lamp-pulse { animation: lamp 2.4s ease-in-out infinite; }
.lamp-pulse.d1 { animation-delay: .4s; }
.lamp-pulse.d2 { animation-delay: .8s; }
.lamp-pulse.d3 { animation-delay: 1.2s; }
@keyframes lamp { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.trend { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3.4s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.needle { transform-box: fill-box; transform-origin: 50% 100%; animation: needle 4s ease-in-out infinite; }
.needle.n2 { animation-duration: 5.2s; }
@keyframes needle { 0%, 100% { transform: rotate(-22deg); } 45% { transform: rotate(18deg); } 70% { transform: rotate(6deg); } }
.flow { stroke-dasharray: 4 10; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); 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: none !important; transition: none !important; }
  .trend { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .offer-grid, .pillars, .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .process::before { display: none; }
  .strengths { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .topbar .tb-left .hide-md { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 116px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(13, 27, 43, .4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a.nav-link { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav a.nav-link::after { display: none; }
  .nav .btn { margin: 18px 0 0; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; }
  .hero-art { justify-self: center; max-width: 560px; }
  .sec-head, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .ptype-grid, .panel-cards, .feature-row, .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .about-photo { max-width: 560px; }
  .tablet { margin: 0 auto; }
  .subnav { top: 78px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .tb-right { display: none; }
  .topbar .wrap { justify-content: center; }
  .site-header .wrap { height: 70px; }
  .nav { inset: 108px 0 auto 0; }
  .subnav { top: 70px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 23px; }
  .brand-sub { font-size: 8.5px; letter-spacing: .16em; }
  .offer-grid, .pillars, .ptype-grid, .panel-cards, .feature-row, .mv-grid, .deal-grid, .svc-grid, .strengths, .smart-apps { grid-template-columns: 1fr; }
  .deal.wide { grid-column: auto; }
  .process { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat .num { font-size: 36px; }
  .check-list.two, .f-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
  .hero-ctas .btn, .cta-band .ctas .btn { flex: 1 1 100%; }
  .about-photo .est { right: 12px; bottom: -20px; width: 130px; height: 130px; }
  .about-photo .est b { font-size: 44px; }
  .map-card { position: static; max-width: none; box-shadow: none; border-left: 0; border-top: 3px solid var(--blue); }
  .map-wrap iframe { height: 340px; }
  .svc { grid-template-columns: 1fr; }
  .tab-bar { font-size: 16px; padding-right: 40px; }
  .page-index { display: none; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Decorative hex placement */
.section > .hexes { bottom: -40px; left: -60px; opacity: .45; }
.section-ice { overflow: hidden; }
.section-ice + .section-ice { padding-top: 0; }
.pcard .vis svg.art { position: relative; width: 30%; height: auto; fill: none; stroke: var(--blue-2); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(58, 141, 222, .45)); transition: transform .5s var(--ease); }
.pcard:hover .vis svg.art { transform: scale(1.08); }
.form > .grid-bg { mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 60%); }
.c-card .ic-box .ic { width: 24px; height: 24px; }
.mv > .ic { display: block; }
@media (max-width: 640px) {
  .pillar { padding: 28px 24px 30px; }
  .pillar .ic-wrap { margin: 14px 0 12px; height: 44px; justify-content: start; }
  .sec-head.center .eyebrow { justify-content: center; }
}
