/* ============================================================
   SKYLED — skyled.pk
   Design system
   Display type: Sora · Body: Instrument Sans · Data: IBM Plex Mono
   ============================================================ */

:root {
  /* Brand */
  --sky: #1693dc;
  --sky-deep: #0e76b4;
  --led: #7fbe3b;
  --led-deep: #639a2a;

  /* Surfaces */
  --night: #0a1626;
  --night-soft: #0f2034;
  --bg: #ffffff;
  --mist: #f2f6fa;
  --line: #e2e9f0;

  /* Text */
  --ink: #14222f;
  --slate: #5b6b78;
  --on-dark: #eaf2f9;
  --on-dark-dim: #9db1c2;

  /* Type */
  --font-display: "Sora", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(10, 22, 38, 0.18);
  --shadow-glow: 0 14px 38px -10px rgba(22, 147, 220, 0.35);
  --container: 1180px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type scale ---------- */
h1, h2, h3, .display { font-family: var(--font-display); line-height: 1.14; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--led); border-radius: 2px; }
.on-dark .eyebrow { color: #6cc4f4; }

.lead { font-size: 1.13rem; color: var(--slate); max-width: 60ch; }
.on-dark .lead { color: var(--on-dark-dim); }

.section { padding: 96px 0; }
.section.alt { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; }

.btn-primary { background: var(--sky); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: var(--sky-deep); }

.btn-ghost { color: var(--on-dark); border: 1.5px solid rgba(234, 242, 249, 0.35); }
.btn-ghost:hover { border-color: var(--led); color: #fff; }

.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-soft); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.solid,
.site-header.always-solid {
  background: rgba(10, 22, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; }

/* Text logo (matches SKYLED brand mark) */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.52rem; letter-spacing: 0.01em; }
.logo-word .sky { color: var(--sky); }
.logo-word .led { color: var(--led); }
.logo-tag {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--on-dark-dim); margin-top: 4px;
}

.logo-img { height: 24px; width: auto; display: block; }
.site-footer .logo-img { height: 28px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-weight: 500; font-size: 0.97rem; color: var(--on-dark-dim);
  transition: color 0.15s ease; position: relative; padding: 6px 0;
}
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px;
  border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--led));
}
.main-nav .btn { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; z-index: 110; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto;
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (home) — night sky, video slot, light-beam signature
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(110% 90% at 50% 0%, #12283f 0%, var(--night) 58%, #060d18 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding: calc(var(--header-h) + 64px) 0 72px;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.42;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 22, 38, 0.55) 0%, rgba(10, 22, 38, 0.35) 45%, rgba(10, 22, 38, 0.88) 100%);
}

/* Signature: street-light beams cutting through the night */
.beam {
  position: absolute; top: -12%; width: 46vw; max-width: 720px; aspect-ratio: 0.62;
  pointer-events: none; filter: blur(8px);
  animation: beam-pulse 7s ease-in-out infinite;
}
.beam-left {
  left: -6vw;
  background: conic-gradient(from 168deg at 50% 0%, transparent 0deg, rgba(22, 147, 220, 0.30) 12deg, rgba(22, 147, 220, 0.07) 26deg, transparent 36deg);
}
.beam-right {
  right: -4vw; animation-delay: 2.4s;
  background: conic-gradient(from 158deg at 50% 0%, transparent 0deg, rgba(127, 190, 59, 0.26) 12deg, rgba(127, 190, 59, 0.06) 26deg, transparent 36deg);
}
@keyframes beam-pulse { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }

.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 13ch; margin-bottom: 22px; color: #fff; }
.hero h1 .lit {
  background: linear-gradient(92deg, #4db5ee 5%, var(--led) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 18px 56px;
  width: fit-content; border-top: 1px solid rgba(234, 242, 249, 0.14); padding-top: 28px;
}
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; color: #fff;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-num small { font-size: 1rem; font-weight: 700; color: var(--led); }
.stat-label { font-size: 0.84rem; color: var(--on-dark-dim); margin-top: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 50% -20%, #143251 0%, var(--night) 62%);
  color: var(--on-dark);
  padding: calc(var(--header-h) + 76px) 0 70px;
}
.page-hero .beam { top: -34%; width: 38vw; opacity: 0.8; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); color: #fff; max-width: 18ch; }
.page-hero .lead { margin-top: 16px; }
.page-hero .hero-inner { position: relative; z-index: 2; }

/* ============================================================
   HOME — category tiles
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 248px; padding: 26px; border-radius: var(--radius);
  background: var(--mist); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(22, 147, 220, 0.45); }
.cat-tile img {
  position: absolute; top: 18px; right: 18px; width: 132px; height: 132px;
  object-fit: contain; filter: drop-shadow(0 12px 18px rgba(10, 22, 38, 0.18));
  transition: transform 0.25s ease;
}
.cat-tile:hover img { transform: scale(1.06) rotate(-2deg); }
.cat-tile h3 { margin-bottom: 4px; }
.cat-count { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); }
.cat-link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.9rem; color: var(--sky);
}
.cat-tile:hover .cat-link { color: var(--sky-deep); }

/* ============================================================
   HOME — why SKYLED
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(22, 147, 220, 0.12), rgba(127, 190, 59, 0.14));
  color: var(--sky);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.feature p { font-size: 0.94rem; color: var(--slate); }

/* Component brand strip */
.brand-strip { margin-top: 56px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 34px; justify-content: center; }
.brand-strip .strip-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); width: 100%; text-align: center; margin-bottom: 4px; }
.brand-strip span { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #8aa0b0; }

/* ============================================================
   HOME — clients marquee
   ============================================================ */
.marquee { overflow: hidden; position: relative; padding: 8px 0; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--mist), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--mist), transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 24px; white-space: nowrap;
}

/* ============================================================
   HOME — projects
   ============================================================ */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-card {
  background: var(--night-soft); border: 1px solid rgba(234, 242, 249, 0.1);
  border-radius: var(--radius); padding: 28px 26px; color: var(--on-dark);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(127, 190, 59, 0.5); }
.project-value { font-family: var(--font-mono); font-weight: 600; font-size: 1.3rem; color: var(--led); margin-bottom: 10px; }
.project-card h3 { color: #fff; font-size: 1.04rem; margin-bottom: 6px; }
.project-card p { font-size: 0.9rem; color: var(--on-dark-dim); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px;
  background: radial-gradient(130% 160% at 50% -30%, #15375a 0%, var(--night) 70%);
  color: var(--on-dark); text-align: center; padding: 76px 32px;
}
.cta-band .beam { top: -52%; width: 34vw; }
.cta-band h2 { color: #fff; margin-bottom: 14px; position: relative; z-index: 2; }
.cta-band p { color: var(--on-dark-dim); max-width: 54ch; margin: 0 auto 32px; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.toolbar {
  position: sticky; top: var(--header-h); z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.toolbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.search-box { position: relative; flex: 1 1 240px; max-width: 330px; }
.search-box svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--slate);
}
.search-box input {
  width: 100%; padding: 11px 14px 11px 40px;
  font: inherit; font-size: 0.94rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-box input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(22, 147, 220, 0.12); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  padding: 9px 17px; border-radius: 999px;
  background: var(--mist); color: var(--slate); border: 1.5px solid transparent;
  transition: all 0.15s ease;
}
.chip:hover { color: var(--ink); border-color: var(--line); }
.chip.active { background: var(--night); color: #fff; }
.chip:focus-visible { outline: 3px solid var(--led); outline-offset: 2px; }

.results-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate); margin: 30px 0 6px; }

.group-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  margin: 44px 0 22px; display: flex; align-items: center; gap: 14px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-title .g-count { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; color: var(--slate); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -14px rgba(22, 147, 220, 0.28); border-color: rgba(22, 147, 220, 0.4); }

.product-media {
  position: relative; height: 196px; display: grid; place-items: center;
  background: radial-gradient(90% 100% at 50% 0%, #f7fafc 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}
.product-media img { max-height: 152px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(10, 22, 38, 0.16)); transition: transform 0.25s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.cat-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.cat-tag.indoor { background: rgba(22, 147, 220, 0.12); color: var(--sky-deep); }
.cat-tag.outdoor { background: rgba(127, 190, 59, 0.16); color: var(--led-deep); }

.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.07rem; }
.product-series { font-size: 0.85rem; color: var(--slate); margin: 2px 0 14px; }

.watt-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.watt {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500;
  padding: 4px 9px; border-radius: 6px;
  background: var(--mist); border: 1px solid var(--line); color: var(--ink);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.spec-table tr { border-top: 1px solid var(--line); }
.spec-table tr:first-child { border-top: none; }
.spec-table th {
  text-align: left; font-weight: 500; color: var(--slate);
  padding: 7px 12px 7px 0; white-space: nowrap; width: 38%;
}
.spec-table td { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink); padding: 7px 0; }

.product-codes {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--slate);
}
.product-codes b { font-weight: 500; color: var(--sky-deep); }

.no-results { text-align: center; padding: 80px 20px; color: var(--slate); }
.no-results h3 { margin-bottom: 8px; color: var(--ink); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split .lead { margin-bottom: 18px; }
.split p + p { margin-top: 14px; color: var(--slate); }

.fact-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; background: #fff; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact-k { font-size: 0.92rem; color: var(--slate); }
.fact-v { font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; text-align: right; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.cert-card .cert-no { font-family: var(--font-mono); font-size: 0.74rem; color: var(--slate); margin-top: 10px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--led-deep); background: rgba(127, 190, 59, 0.13);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.cert-card h3 { font-size: 1.05rem; }
.cert-card p { font-size: 0.92rem; color: var(--slate); margin-top: 6px; }

.list-cols { columns: 2; column-gap: 48px; }
.list-cols li {
  break-inside: avoid; padding: 11px 0 11px 30px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 0.97rem;
}
.list-cols li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--led));
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  text-align: left; padding: 16px 22px;
  background: var(--night); color: #fff;
}
.data-table th:last-child, .data-table td:last-child { text-align: right; }
.data-table td { padding: 14px 22px; border-top: 1px solid var(--line); font-size: 0.94rem; }
.data-table td:last-child { font-family: var(--font-mono); font-size: 0.84rem; white-space: nowrap; }
.data-table tr:nth-child(even) td { background: var(--mist); }

.city-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.city {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px;
}
.city svg { width: 15px; height: 15px; color: var(--led); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.contact-card .feature-icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-card h3 { font-size: 0.99rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--slate); }
.contact-card a:hover { color: var(--sky); }
.contact-card .mono { font-family: var(--font-mono); font-size: 0.88rem; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 6px; }
.form-note { font-size: 0.9rem; color: var(--slate); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.86rem; }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--mist); transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--sky); background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 147, 220, 0.12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { margin-top: 22px; width: 100%; justify-content: center; }

.map-frame {
  margin-top: 64px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ============================================================
   Approvals (government bodies)
   ============================================================ */
.approval-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.approval {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 14px 14px; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.approval:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.approval img { height: 58px; width: auto; max-width: 86%; object-fit: contain; margin: 0 auto 12px; }
.approval span {
  display: block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate);
}

/* ============================================================
   Facility photos
   ============================================================ */
.photo-mosaic {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 18px;
}
.photo-mosaic .col { display: grid; gap: 18px; align-content: start; }
.photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--mist);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 18px 14px;
  background: linear-gradient(to top, rgba(10, 22, 38, 0.82), transparent);
  color: #fff; font-size: 0.86rem; font-weight: 500;
}
.photo-tall { height: 100%; }
.photo-tall img { min-height: 480px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.photo-wide img { height: 250px; }
.photo-pair .photo img { height: 212px; }

/* Made in Lahore (home) */
.made-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.made-split .photo img { height: 460px; object-position: 50% 38%; }
.made-points { margin-top: 24px; display: grid; gap: 12px; }
.made-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--slate); }
.made-points li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  margin-top: 8px; background: linear-gradient(135deg, var(--sky), var(--led));
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--night); color: var(--on-dark-dim); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-grid .logo-tag { color: #5d7488; }
.footer-about { font-size: 0.92rem; margin-top: 18px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.94rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--led); }
.footer-col p { font-size: 0.92rem; margin-bottom: 11px; }
.footer-col .mono { font-family: var(--font-mono); font-size: 0.86rem; }
.footer-bottom {
  border-top: 1px solid rgba(234, 242, 249, 0.1);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between; font-size: 0.84rem;
}
.footer-bottom .mono { font-family: var(--font-mono); font-size: 0.78rem; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .approval-grid { grid-template-columns: repeat(3, 1fr); }
  .made-split { grid-template-columns: 1fr; gap: 36px; }
  .made-split .photo img { height: 340px; }
  .photo-mosaic { grid-template-columns: 1fr; }
  .photo-tall img { min-height: 0; height: 360px; }
  .feature-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 22px 44px; }
  .beam { width: 78vw; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(10, 22, 38, 0.98);
    opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1.3rem; }

  .cat-grid, .product-grid, .feature-grid, .project-grid, .cert-grid { grid-template-columns: 1fr; }
  .approval-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair .photo img, .photo-wide img { height: 220px; }
  .list-cols { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 26px 22px; }
  .toolbar-inner { gap: 10px; }
  .search-box { max-width: none; flex-basis: 100%; }
}

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