/* =========================================================
   Irradiant Systems and Technologies — main stylesheet
   ========================================================= */

:root {
  /* Brand */
  --navy-950: #050a18;
  --navy-900: #0a1228;
  --navy-800: #101a36;
  --navy-700: #1a2650;
  --orange: #f7931e;
  --orange-2: #ffb547;

  /* Pillars */
  --water: #2cc6ee;
  --energy: #f7a21b;
  --telecom: #8f72ff;

  /* Neutrals */
  --ink: #0b1226;
  --text: #2d3654;
  --muted: #626b88;
  --line: #e2e5ee;
  --paper: #f5f6fa;
  --white: #ffffff;
  --on-dark: #c3cae0;
  --on-dark-muted: #8a93b2;
  --line-dark: rgba(255, 255, 255, 0.1);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Unbounded", "Manrope", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--navy-950); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--navy-950); padding: 10px 18px; border-radius: 999px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(84px, 11vw, 150px); position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-head { display: grid; gap: 22px; max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--split {
  max-width: none; grid-template-columns: 1fr; align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.display, .h1, .h2, .h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.035em; }
.display { font-size: clamp(2.7rem, 6.6vw, 6rem); line-height: 1; }
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.04; }
.h2 { font-size: clamp(2.05rem, 4.2vw, 3.6rem); line-height: 1.06; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; }

.serif { font-family: var(--font-accent); font-weight: 500; font-style: normal; letter-spacing: -0.045em; font-size: .84em; }
@media (max-width: 520px) { .display .serif, .h1 .serif { font-size: .7em; } }
.grad-text {
  background: linear-gradient(100deg, var(--orange-2), var(--orange) 45%, #ff6a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.on-dark .lead, .section--dark .lead { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--navy-950);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(247, 147, 30, .7); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); box-shadow: none; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--dark:hover { box-shadow: 0 14px 34px -14px rgba(11,18,38,.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem;
  color: inherit;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-logo { height: 48px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 40px; }
@media (max-width: 900px) { .brand-logo { height: 40px; } }
.brand-logo--lg { height: 54px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(6, 11, 26, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  color: var(--on-dark); font-weight: 600; font-size: .95rem; transition: color .25s, background-color .25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange); transform: translateX(-50%);
}
.nav-cta { padding: 12px 22px; }
.nav-mobile-cta { display: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.04); cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 4px; padding: 100px var(--gutter) 40px;
    background: radial-gradient(120% 80% at 100% 0%, rgba(247,147,30,.14), transparent 50%), var(--navy-950);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-links a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; padding: 6px 0; color: var(--white); background: none !important; }
  .nav-links a[aria-current="page"] { color: var(--orange); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 28px; font-size: 1rem !important; letter-spacing: 0 !important; padding: 15px 26px !important; color: var(--navy-950) !important; background: var(--orange) !important; }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .brand { position: relative; z-index: 2; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--navy-950); color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow, .page-hero-glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(247,147,30,.20), transparent 60%),
    radial-gradient(45% 50% at 10% 85%, rgba(44,198,238,.14), transparent 60%),
    radial-gradient(40% 40% at 55% 100%, rgba(143,114,255,.16), transparent 60%);
}
.grid-lines {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px;
}
.hero-inner > * + * { margin-top: 28px; }
.hero h1 { color: var(--white); max-width: 19ch; }
.hero .lead { max-width: 560px; color: var(--on-dark); }
.hero .btn-row { margin-top: 40px; }

.hero-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.hero-pillar {
  --accent: var(--water);
  display: grid; gap: 6px; align-content: start; padding: 26px 28px 30px 0; position: relative;
  transition: background-color .3s;
}
.hero-pillar + .hero-pillar { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.hero-pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--accent);
  transition: width .6s var(--ease);
}
.hero-pillar:hover::before { width: 100%; }
.hero-pillar .tag { display: flex; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.hero-pillar .tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.hero-pillar strong { color: var(--white); font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.hero-pillar span:last-child { color: var(--on-dark-muted); font-size: .92rem; line-height: 1.5; }
.hero-pillar--energy { --accent: var(--energy); }
.hero-pillar--telecom { --accent: var(--telecom); }

@media (max-width: 760px) {
  .hero-pillars { grid-template-columns: 1fr; }
  .hero-pillar, .hero-pillar + .hero-pillar { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-pillar:first-child { border-top: 0; }
}

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 150px; writing-mode: vertical-rl;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-muted);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--orange), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1100px) { .scroll-cue { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy-950); color: var(--on-dark); overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(80px, 12vw, 150px)); padding-bottom: clamp(80px, 10vw, 130px);
}
.page-hero h1 { color: var(--white); max-width: 17ch; margin-top: 26px; }
.page-hero .lead { max-width: 620px; margin-top: 28px; color: var(--on-dark); }
.sunburst-bg {
  position: absolute; right: -12vw; top: 50%; width: min(70vw, 860px); aspect-ratio: 1; z-index: -1;
  transform: translateY(-50%); opacity: .09; pointer-events: none;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.breadcrumb { display: flex; gap: 10px; font-size: .85rem; color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Approach ---------- */
.approach-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 960px) { .approach-grid { grid-template-columns: 1fr 1.05fr; } }
.approach-grid .h2 { margin-top: 22px; }
@media (min-width: 960px) { .approach-aside { position: sticky; top: 110px; align-self: start; } }
.orbit-viz { margin: 48px 0 0; max-width: 420px; }
.orbit-viz svg { width: 100%; height: auto; overflow: visible; }
.orbit-viz figcaption { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.orbit-viz figcaption strong { color: var(--ink); }
.ov-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.ov-ring--dash { stroke: #c9d0e0; stroke-dasharray: 2 7; animation: ov-dash 30s linear infinite; }
.ov-orbit { color: var(--accent); transform-origin: 220px 220px; animation: ov-rot 48s linear infinite; }
.ov-upright { transform-box: fill-box; transform-origin: center; animation: ov-rot 48s linear infinite reverse; }
.ov-dots { transform-origin: 220px 220px; animation: ov-rot 90s linear infinite reverse; }
.ov-core { transform-origin: 220px 220px; animation: ov-rot 36s linear infinite; }
.ov-link { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .55; }
.ov-packet { fill: var(--accent); }
.ov-node { fill: var(--white); stroke: var(--accent); stroke-width: 1.5; filter: drop-shadow(0 8px 14px rgba(11,18,38,.12)); }
.orbit-viz text { font-family: var(--font-sans); font-size: 13px; font-weight: 700; fill: var(--ink); letter-spacing: .02em; }
.ov-pulse { fill: none; stroke: var(--orange); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ov-pulse 3.2s ease-out infinite; }
@keyframes ov-rot { to { transform: rotate(360deg); } }
@keyframes ov-dash { to { stroke-dashoffset: -180; } }
@keyframes ov-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ov-packet { display: none; } }
.approach-body > * + * { margin-top: 22px; }
.principles { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principle-num { font-family: var(--font-accent); font-size: .95rem; font-weight: 500; padding-top: 3px; color: var(--orange); line-height: 1.2; }
.principle h3 { font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.principle p { color: var(--muted); font-size: .98rem; margin-top: 4px; }

.quote-block {
  margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
  display: grid; gap: 24px;
}
@media (min-width: 900px) { .quote-block { grid-template-columns: 220px 1fr; gap: 64px; } }
.quote-block blockquote { font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.18; letter-spacing: -.03em; color: var(--ink); font-weight: 600; }
.quote-block blockquote .w { color: var(--water); }
.quote-block blockquote .e { color: var(--energy); }
.quote-block blockquote .t { color: var(--telecom); }

/* ---------- Pillar cards ---------- */
.pillar-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-card {
  --accent: var(--water);
  position: relative; border-radius: var(--radius); padding: 22px 22px 30px;
  display: flex; flex-direction: column; gap: 28px;
  color: var(--white); background: linear-gradient(180deg, var(--navy-800), rgba(16,26,54,.55));
  border: 1px solid var(--line-dark); transition: border-color .4s, transform .5s var(--ease);
}
.pillar-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-4px); }
.pillar-card--energy { --accent: var(--energy); }
.pillar-card--telecom { --accent: var(--telecom); }
.pillar-card .stack { aspect-ratio: 4 / 3.4; }
.pillar-meta { display: flex; align-items: center; gap: 12px; }
.pillar-icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-index { margin-left: auto; font-family: var(--font-accent); font-size: .9rem; color: rgba(255,255,255,.45); }
.pillar-body { padding-inline: 6px; }
.pillar-body > * + * { margin-top: 14px; }
.pillar-body .kicker { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.pillar-body h3 { color: var(--white); font-size: clamp(1.45rem, 2vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; margin-top: 20px; }
.pillar-body p { color: #b9c1d8; font-size: .98rem; }
.pillar-body .link-arrow { margin-top: 22px; color: var(--white); }
.pillar-bar { height: 2px; width: 48px; background: var(--accent); transition: width .6s var(--ease); margin-top: 22px !important; }
.pillar-card:hover .pillar-bar { width: 100%; }

/* ---------- Photo stack (cycling; next photo peeks diagonally) ---------- */
.stack { --step: 13px; position: relative; margin: calc(var(--step) * 2) calc(var(--step) * 2) 0 0; cursor: pointer; }
.stack--lg { --step: 16px; aspect-ratio: 4 / 3.3; }
.stack-item {
  --i: 0;
  position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 16px; background: var(--navy-700);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.75);
  transform-origin: 100% 0;
  transform: translate(calc(var(--i) * var(--step)), calc(var(--i) * var(--step) * -1)) scale(calc(1 - var(--i) * .045));
  z-index: calc(10 - var(--i));
  filter: brightness(calc(1 - var(--i) * .3)) saturate(calc(1 - var(--i) * .3));
  transition: transform .9s var(--ease), filter .9s var(--ease), opacity .5s;
}
.stack-item:nth-child(2) { --i: 1; }
.stack-item:nth-child(3) { --i: 2; }
.stack-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s linear; }
.stack-item.is-front img { transform: scale(1.06); }
.stack-item.is-leaving { transform: translate(-7%, 9%) rotate(-5deg) scale(.94); opacity: 0; transition: transform .55s var(--ease), opacity .45s; }
.stack-ui {
  position: absolute; left: 14px; bottom: 14px; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; border-radius: 999px; background: rgba(5,10,24,.66); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .76rem; font-weight: 600; letter-spacing: .06em;
}
.stack-count { color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.stack-count b { color: var(--white); font-weight: 700; }
.stack-dots { display: flex; gap: 5px; }
.stack-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .4s var(--ease), background-color .4s; }
.stack-dots i.is-on { width: 18px; background: var(--accent); }
.stack--lg .stack-ui { left: auto; right: 16px; bottom: 16px; padding: 6px 6px 6px 14px; }
.stack-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); transition: background-color .25s, color .25s;
}
.stack-btn:hover { background: var(--white); color: var(--ink); }
.stack-btn svg { width: 16px; height: 16px; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 0; position: relative; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.steps-track { display: none; }
@media (min-width: 900px) {
  .steps-track {
    display: block; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: var(--line);
  }
  .steps-track::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--water), var(--energy), var(--telecom));
    transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .3s;
  }
  .steps.is-in .steps-track::after { transform: scaleX(1); }
}
.step { position: relative; padding: 0 0 40px 76px; }
@media (min-width: 900px) { .step { padding: 0; } }
.step::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line);
}
@media (min-width: 900px) { .step::before { display: none; } }
.step:last-child::before { display: none; }
.step-num {
  position: absolute; left: 0; top: 0;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  font-weight: 800; font-size: .95rem; letter-spacing: .04em;
  box-shadow: 0 10px 30px -18px rgba(11,18,38,.4);
  transition: background-color .4s, color .4s, border-color .4s;
}
@media (min-width: 900px) { .step-num { position: relative; margin-bottom: 30px; } }
.step:hover .step-num { background: var(--ink); color: var(--white); border-color: var(--ink); }
.step h3 { font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; padding-top: 12px; }
@media (min-width: 900px) { .step h3 { padding-top: 0; } }
.step p { color: var(--muted); margin-top: 10px; font-size: .98rem; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-950); color: var(--white); overflow: hidden; padding-block: clamp(36px, 5vw, 60px);
  border-block: 1px solid var(--line-dark);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(32px, 4vw, 56px); padding-right: clamp(32px, 4vw, 56px); }
.marquee-item { font-size: clamp(2rem, 4.6vw, 3.9rem); letter-spacing: -.03em; white-space: nowrap; font-weight: 600; }
.marquee-item .serif { color: var(--orange-2); }
.marquee svg { width: clamp(28px, 3vw, 40px); height: auto; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius) + 8px);
  padding: clamp(48px, 7vw, 96px); background: var(--navy-900); color: var(--on-dark);
  display: grid; gap: 32px; align-items: end;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 90% at 100% 100%, rgba(247,147,30,.32), transparent 60%),
    radial-gradient(50% 80% at 0% 0%, rgba(44,198,238,.14), transparent 60%);
}
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { margin-top: 18px; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-intro .h2 { margin-top: 22px; }
.contact-intro .lead { margin-top: 22px; }
.contact-cards { display: grid; gap: 14px; margin-top: 44px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.025);
  transition: border-color .3s, background-color .3s, transform .35s var(--ease);
}
.contact-card:hover { border-color: rgba(247,147,30,.5); background: rgba(247,147,30,.06); transform: translateX(4px); }
.contact-card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(247,147,30,.12); color: var(--orange);
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 700; }
.contact-card strong { color: var(--white); font-weight: 700; font-size: 1.05rem; }

.form-card {
  background: var(--white); color: var(--text); border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.form-card h3 { color: var(--ink); font-size: 1.5rem; letter-spacing: -.02em; }
.form-card > p { color: var(--muted); margin-top: 6px; font-size: .96rem; }
.form-grid { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--orange); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 1rem; transition: border-color .25s, background-color .25s, box-shadow .25s; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23626b88' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(247,147,30,.14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { color: var(--muted); font-size: .84rem; max-width: 300px; }
.form-foot small a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f8ef; color: #136c3a; }
.form-status.is-error { display: block; background: #fdecec; color: #a3262a; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- About ---------- */
.intro-grid { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1fr 1.1fr; } }
.intro-grid .h2 { margin-top: 22px; }
.intro-grid .body > * + * { margin-top: 20px; }
.intro-grid .body p { font-size: 1.12rem; }

.essentials { display: grid; gap: 18px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 800px) { .essentials { grid-template-columns: repeat(3, 1fr); } }
.essential {
  --accent: var(--water);
  position: relative; padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s;
}
.essential:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(11,18,38,.35); }
.essential::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.essential--energy { --accent: var(--energy); }
.essential--telecom { --accent: var(--telecom); }
.essential .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.essential .ic svg { width: 26px; height: 26px; }
.essential h3 { margin-top: 26px; color: var(--ink); font-size: 1.35rem; letter-spacing: -.02em; }
.essential p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

.mv-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(32px, 4.5vw, 56px); border-radius: var(--radius); border: 1px solid var(--line-dark);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.mv-card::after {
  content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -160px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,30,.22), transparent 70%);
}
.mv-card--vision::after { background: radial-gradient(circle, rgba(143,114,255,.25), transparent 70%); }
.mv-card .label { font-family: var(--font-accent); font-size: 1.05rem; letter-spacing: -.02em; color: var(--orange-2); }
.mv-card--vision .label { color: #b8a6ff; }
.mv-card p { margin-top: 18px; font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.45; color: var(--white); font-weight: 500; letter-spacing: -.015em; }

.team-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 360px)); } }
.member { display: grid; gap: 20px; }
.member-photo {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform 1s var(--ease); }
.member:hover .member-photo img { filter: grayscale(0); transform: scale(1.04); }
.member-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--water), var(--energy), var(--telecom)); }
.member h3 { color: var(--ink); font-size: 1.35rem; letter-spacing: -.02em; }
.member p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.team-layout { display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1000px) { .team-layout { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.team-layout .h2 { margin-top: 22px; }
.team-layout .lead { margin-top: 22px; }

/* ---------- Services ---------- */
.service-nav {
  position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.service-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0; list-style: none; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s;
}
.service-nav a i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.service-nav a:hover, .service-nav a.is-active { background: var(--paper); color: var(--ink); }

.service {
  --accent: var(--water);
  display: grid; gap: clamp(36px, 5vw, 80px); align-items: center;
  padding-block: clamp(72px, 9vw, 120px); border-bottom: 1px solid var(--line);
}
.service:last-child { border-bottom: 0; }
.service--energy { --accent: var(--energy); }
.service--telecom { --accent: var(--telecom); }
@media (min-width: 960px) {
  .service { grid-template-columns: 1fr 1fr; }
  .service:nth-child(even) .service-media { order: 2; }
}
.service-media { position: relative; }
.service-media .badge {
  position: absolute; left: 16px; top: 16px; z-index: 20; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: rgba(5,10,24,.72); color: var(--white);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .85rem; font-weight: 700;
}
.service-media .badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.service-num { font-family: var(--font-accent); font-size: 1rem; color: var(--accent); }
.service-copy > * + * { margin-top: 20px; }
.service-copy .h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.service-copy .tagline { font-family: var(--font-accent); font-weight: 400; letter-spacing: -.035em; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.3; }
.service-copy p { color: var(--muted); }
.checklist { display: grid; gap: 12px; margin-top: 30px !important; padding: 0; list-style: none; }
@media (min-width: 560px) { .checklist { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--text); font-weight: 600; line-height: 1.45; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: color-mix(in srgb, var(--accent) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b1226' stroke-width='2'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.engage-grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .engage-grid { grid-template-columns: repeat(3, 1fr); } }
.engage { background: var(--navy-900); padding: clamp(28px, 3.6vw, 44px); transition: background-color .4s; }
.engage:hover { background: var(--navy-800); }
.engage .num { font-family: var(--font-accent); font-size: 1.8rem; letter-spacing: -.04em; color: var(--orange-2); line-height: 1; }
.engage h3 { margin-top: 28px; font-size: 1.3rem; letter-spacing: -.02em; }
.engage p { margin-top: 10px; color: var(--on-dark-muted); font-size: .98rem; }

/* ---------- Legal ---------- */
.legal { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 980px) { .legal { grid-template-columns: 260px 1fr; } }
.legal-toc { position: sticky; top: 100px; align-self: start; display: none; }
@media (min-width: 980px) { .legal-toc { display: block; } }
.legal-toc p { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: .9rem; color: var(--muted); font-weight: 600; }
.legal-toc a:hover { color: var(--ink); border-color: var(--orange); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); color: var(--ink); letter-spacing: -.02em; margin-top: 56px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; color: var(--ink); margin-top: 28px; }
.prose p, .prose ul { margin-top: 14px; color: var(--text); }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: #c86a00; text-decoration: underline; text-underline-offset: 3px; }
.prose .note { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: var(--paper); border-left: 3px solid var(--orange); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.footer-top { display: grid; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: 22px; max-width: 340px; font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-950); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: .86rem; }
.footer-bottom a:hover { color: var(--white); }
.footer-word {
  font-weight: 800; letter-spacing: -.05em; line-height: .8; text-align: center; white-space: nowrap;
  font-size: clamp(4rem, 17vw, 16rem); margin-top: 16px; margin-bottom: -0.12em;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}

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

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transform: translateY(24px); }

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

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.not-found .display { color: var(--white); }
.not-found .btn-row { justify-content: center; margin-top: 36px; }
