/* =========================================================
   EDGEROX Technologies — Design System
   Primary blue is taken from the existing logo (#264AA0)
   ========================================================= */
@font-face {
  font-family: "EDGEROX";
  src: url("/fonts/your-font-file.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Brand */
  --brand-900: #0A1633;   /* deep navy – dark sections */
  --brand-800: #0F2150;
  --brand-700: #1A3678;
  --brand-600: #264AA0;   /* LOGO BLUE – primary */
  --brand-500: #2F5FD0;   /* hover / brighter */
  --brand-400: #4F82F0;
  --brand-100: #E7EEFC;
  --brand-50:  #F3F6FD;

  /* Accents (used sparingly) */
  --cyan-500:  #19B6E6;   /* tech accent – cloud, data, links on dark */
  --cyan-100:  #DDF5FC;
  --amber-400: #FFB547;   /* light/glow accent – Smart Lighting only */
  --amber-100: #FFF3DF;

  /* Neutrals */
  --ink-900: #0E1726;
  --ink-700: #33415C;
  --ink-500: #5D6B85;
  --ink-300: #B7C1D3;
  --line:    #E3E8F1;
  --surface: #FFFFFF;
  --bg-soft: #F5F8FD;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06);
  --shadow: 0 10px 30px -12px rgba(15, 33, 80, .18);
  --shadow-lg: 0 30px 60px -24px rgba(15, 33, 80, .35);

  --container: 1200px;
  --gutter: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 2px; border-radius: 4px; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #eef1f7; }
::-webkit-scrollbar-thumb { background: var(--brand-600); border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--cyan-500); }
.eyebrow--amber { color: var(--amber-400); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--ink-500); }
.text-gradient {
  background: linear-gradient(90deg, #7FB2FF 0%, var(--cyan-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(38, 74, 160, .6); }
.btn--primary:hover { background: var(--brand-500); transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--brand-600); }
.btn--light:hover { background: var(--brand-50); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { border-color: var(--brand-600); color: var(--brand-600); }
.btn--outline:hover { background: var(--brand-600); color: #fff; }
.btn--amber { background: var(--amber-400); color: var(--brand-900); }
.btn--amber:hover { background: #ffc36b; transform: translateY(-1px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-900); color: var(--ink-300); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #DCE4F5; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar__links { display: flex; gap: 22px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { height: 48px; width: auto; transition: transform .4s ease; }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.04); }
.logo__type { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 10px 14px; border-radius: 8px;
  font-weight: 500; font-size: 15px; color: var(--ink-700); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--brand-600); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand-600);
}
.nav__item { position: relative; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 4px; }
.nav__item > .nav__link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: 640px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; transition: background .15s; }
.mega a:hover { background: var(--brand-50); }
.mega strong { display: block; font-size: 14px; color: var(--ink-900); font-weight: 600; }
.mega span { display: block; font-size: 13px; color: var(--ink-500); line-height: 1.45; }
.mega .ico { width: 38px; height: 38px; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 12px 20px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink-900); }
.burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10, 22, 51, .5); opacity: 0; transition: opacity .25s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff;
  padding: 20px 24px 32px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer__panel a.d-link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; }
.drawer__panel a.d-link small { font-weight: 500; color: var(--ink-500); }
.drawer__panel .btn { margin-top: 20px; }

/* ---------- Icon tile ---------- */
.ico {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-600);
}
.ico svg { width: 55%; height: 55%; stroke-width: 1.8; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(25, 182, 230, .22), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(47, 95, 208, .45), transparent 60%),
    linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=70");
  background-size: cover; background-position: center; opacity: .12; mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-top: 96px; padding-bottom: 120px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; color: #DCE4F5;
}
.hero__badge b { background: var(--cyan-500); color: var(--brand-900); padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); margin: 24px 0 22px; font-weight: 800; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #C9D5EE; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; color: #AFC0E2; font-size: 14px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 18px; height: 18px; color: var(--cyan-500); }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
.float { animation: float 6s ease-in-out infinite; }
.float--d { animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.pulse { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.dash { stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* ---------- Featured solutions (overlapping hero) ---------- */
.featured { position: relative; z-index: 2; margin-top: -64px; }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.f-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 140px; gap: 16px; align-items: center;
  padding: 30px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.f-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.f-card h3 { font-size: 22px; margin: 8px 0 8px; }
.f-card p { color: var(--ink-500); font-size: 15px; margin-bottom: 14px; }
.f-card__art { width: 140px; height: 120px; }
.f-card--light { background: linear-gradient(135deg, #0F2150 0%, #1A3678 100%); border-color: transparent; }
.f-card--light h3 { color: #fff; }
.f-card--light p { color: #B9C7E4; }
.f-card--light .f-card__tag { color: var(--amber-400); }
.f-card--light .link-arrow { color: var(--amber-400); }

/* ---------- Services grid ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.s-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.s-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--cyan-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.s-card:hover::after { transform: scaleX(1); }
.s-card:hover .ico { background: var(--brand-600); color: #fff; }
.s-card .ico { transition: background .25s, color .25s; }
.s-card h3 { font-size: 19px; margin: 22px 0 10px; }
.s-card p { color: var(--ink-500); font-size: 15px; }
.s-card__cat { position: absolute; top: 28px; right: 24px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-300); }
.services__more { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Spotlight (dedicated sections) ---------- */
.spot .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.spot h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 20px; }
.spot__lead { font-size: 18px; color: var(--ink-500); margin-bottom: 30px; }
.spot__features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-bottom: 36px; }
.feat { display: flex; gap: 14px; }
.feat .ico { width: 42px; height: 42px; border-radius: 10px; }
.feat h4 { font-size: 16px; margin-bottom: 4px; }
.feat p { font-size: 14px; color: var(--ink-500); line-height: 1.5; }
.spot__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.spot__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.spot__visual svg { width: 100%; height: auto; }

/* OCI */
.oci { background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); }
.oci .ico { background: var(--cyan-100); color: #0B7FA6; }
.oci__strip { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.oci__strip div { background: #fff; padding: 26px 24px; }
.oci__strip h4 { font-size: 15px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.oci__strip h4 span { font-size: 12px; font-weight: 700; color: var(--brand-600); background: var(--brand-50); padding: 2px 8px; border-radius: 999px; }
.oci__strip p { font-size: 14px; color: var(--ink-500); line-height: 1.5; }

/* Smart lighting */
.lighting {
  color: #C9D5EE; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(255, 181, 71, .12), transparent 60%),
    radial-gradient(700px 500px at 90% 90%, rgba(47, 95, 208, .35), transparent 60%),
    var(--brand-900);
}
.lighting h2, .lighting h4 { color: #fff; }
.lighting .spot__lead { color: #B9C7E4; }
.lighting .feat p { color: #9FB1D6; }
.lighting .ico { background: rgba(255, 181, 71, .12); color: var(--amber-400); }
.lighting .spot__visual { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .08); }
.lighting .container { grid-template-columns: 1fr 1fr; }
.lighting__stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lighting__stats div { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.lighting__stats h4 { font-size: 16px; margin-bottom: 6px; }
.lighting__stats p { font-size: 14px; color: #9FB1D6; line-height: 1.5; }
.lighting__stats svg { width: 24px; height: 24px; color: var(--amber-400); margin-bottom: 14px; }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--brand-600); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step__num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--brand-100), transparent); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-500); }

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about__visual { position: relative; }
.about__card {
  border-radius: var(--radius-lg); padding: 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--brand-600), var(--brand-800));
}
.about__mark { position: absolute; right: -40px; bottom: -50px; width: 240px; opacity: .1; pointer-events: none; }
.about__card > :not(.about__mark) { position: relative; }
.about__rox { font-family: var(--font-display); font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.about__rox span { color: var(--cyan-500); }
.about__card p { color: #D3DDF2; margin-top: 12px; max-width: 320px; }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.about__pillars div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; text-align: center; box-shadow: var(--shadow-sm); }
.about__pillars svg { width: 26px; height: 26px; color: var(--brand-600); margin: 0 auto 8px; }
.about__pillars strong { display: block; color: var(--ink-900); font-size: 14px; }
.about h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 20px; }
.about__text p { font-size: 17px; color: var(--ink-500); margin-bottom: 16px; }
.about__list { display: grid; gap: 12px; margin: 26px 0 32px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); }
.about__list svg { width: 22px; height: 22px; color: var(--brand-600); flex-shrink: 0; margin-top: 1px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 104px; }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(25, 182, 230, .35), transparent 60%), linear-gradient(120deg, var(--brand-600), var(--brand-800));
}
.cta-band__inner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cta-band__mark { position: absolute; left: -30px; top: 50%; width: 220px; transform: translateY(-50%); opacity: .05; pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); position: relative; }
.cta-band p { color: #D3DDF2; margin-top: 10px; font-size: 17px; position: relative; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; flex-shrink: 0; }

/* ---------- Contact ---------- */
.contact .container { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 16px; }
.contact__lead { font-size: 18px; color: var(--ink-500); margin-bottom: 32px; }
.contact__info { display: grid; gap: 16px; }
.c-item { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.c-item small { display: block; font-size: 13px; color: var(--ink-500); }
.c-item a, .c-item strong { font-weight: 600; color: var(--ink-900); }
.c-item a:hover { color: var(--brand-600); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.field label i { color: var(--brand-600); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: 15px; color: var(--ink-900); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); background: #fff; box-shadow: 0 0 0 4px rgba(38, 74, 160, .12); }
.field.has-error input, .field.has-error textarea { border-color: #DC2626; background: #FEF6F6; }
.field__error { font-size: 13px; color: #DC2626; min-height: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-500); font-size: 13px; }
.alert { display: none; gap: 12px; align-items: center; margin-top: 20px; padding: 14px 16px; border-radius: 10px; font-size: 14px; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert.is-success { display: flex; background: #EFFAF3; color: #166534; }
.alert.is-error { display: flex; background: #FEF2F2; color: #991B1B; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-900); color: #9FB1D6; padding-top: 80px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer .logo__mark { height: 52px; }
.footer .logo__type { height: 44px; }
.footer__about p { margin-top: 20px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer__bottom nav { display: flex; gap: 24px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .pulse, .dash { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav, .header__cta .btn--outline { display: none; }
  .burger { display: inline-flex; }
  .spot .container, .about .container, .contact .container { gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .oci__strip, .lighting__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 112px; text-align: left; }
  .hero__art { max-width: 520px; margin: 0 auto; width: 100%; }
  .featured__grid { grid-template-columns: 1fr; }
  .spot .container, .about .container, .contact .container { grid-template-columns: 1fr; }
  .spot--reverse .spot__visual { order: -1; }
  .oci .spot__visual { order: -1; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .cta-band { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar__links span.hide-sm, .topbar__left { display: none; }
  .topbar .container { justify-content: center; }
  .header .container { height: 66px; }
  .logo__mark { height: 36px; }
  .logo__type { height: 30px; }
  .header__cta .btn--primary { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .f-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .f-card__art { width: 110px; height: 94px; order: -1; }
  .services__grid, .process__grid, .spot__features, .oci__strip, .lighting__stats { grid-template-columns: 1fr; }
  .about__pillars { grid-template-columns: repeat(3, 1fr); }
  .about__card { padding: 32px 26px; }
  .about__rox { font-size: 64px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .spot__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
}
