/* ===========================================================
   BPNVS SOLAR — DESIGN TOKENS
   Palette: blueprint navy + sky blue + solar amber + circuit green
   Type: Space Grotesk (display) / Inter (body) / JetBrains Mono (data)
   Signature: blueprint corner-bracket panels + schematic connectors
=========================================================== */
:root {
  --navy: #0a1a30;
  --navy-deep: #061224;
  --sky: #0e86d4;
  --sky-light: #5fb6ec;
  --green: #4f9d3c;
  --green-light: #7cc657;
  --amber: #f2a93b;
  --amber-deep: #d98a1e;
  --paper: #f6f8fb;
  --paper-dim: #eef2f7;
  --ink: #0d1b2a;
  --ink-soft: #4a5a6b;
  --line: #d9e1ea;
  --white: #ffffff;

  --font-display: 'Space Grotesk', 'Arial', sans-serif;
  --font-body: 'Inter', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --container: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--amber); color: var(--navy-deep); }

:focus-visible {
  outline: 2.5px solid var(--sky);
  outline-offset: 3px;
}

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

/* ---- decorative grid overlay (blueprint feel) ---- */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(14,134,212,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,134,212,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

/* ===========================================================
   NAVBAR
=========================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.82);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}
.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.nav-brand-tag {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }
.nav-link.active-link { color: var(--navy); font-weight: 600; }
.nav-link.active-link::after { width: 100%; background: var(--amber); }

.nav-cta {
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--sky); transform: translateY(-1px); }
.nav-cta-mobile { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-progress {
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--green));
  width: 0%;
  transition: width 0.1s linear;
}

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  padding: 150px 0 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 70%, #eef4f9 100%);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--green);
  font-weight: 600;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79,157,60,0.5);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(79,157,60,0.45); }
  70% { box-shadow: 0 0 0 6px rgba(79,157,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,157,60,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.hero-title .hl {
  color: var(--green);
  position: relative;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--sky); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 38px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hstat {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 2px;
}
.hstat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
}
.hstat-suffix {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--amber-deep);
}
.hstat-label {
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* hero visual */
.hero-visual { position: relative; z-index: 2; }
.hero-photo-stack {
  position: relative;
  width: 100%;
  padding-top: 8px;
}
.hero-photo {
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 18px 40px -12px rgba(10,26,48,0.28);
  border: 5px solid var(--white);
}
.hero-photo-a {
  width: 100%;
  height: 320px;
  position: relative;
  z-index: 1;
}
.hero-photo-b {
  width: 58%;
  height: 170px;
  position: absolute;
  bottom: -56px;
  right: -18px;
  z-index: 2;
}
.hero-tag-card {
  position: absolute;
  top: -8px;
  left: -14px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 6px;
  z-index: 3;
  box-shadow: 0 12px 24px -8px rgba(10,26,48,0.4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-tag-kw { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--amber); }
.hero-tag-sub { font-size: 11px; color: rgba(255,255,255,0.75); }

/* marquee */
.hero-marquee {
  position: relative;
  z-index: 2;
  background: var(--navy);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 14px;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.marquee-track span:nth-child(2n) { color: var(--amber); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   SHARED SECTION HEAD
=========================================================== */
.section { position: relative; padding: 96px 0; z-index: 1; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--sky);
  font-weight: 600;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.section-kicker-light { color: var(--amber); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section-head-light .section-title,
.section-head-light .section-desc { color: var(--white); }
.section-desc { font-size: 16px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ===========================================================
   COMPANY PROFILE
=========================================================== */
.profile-section { background: var(--white); }
.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}
.profile-text p { font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 18px; }
.profile-lead { font-size: 19px; color: var(--ink); font-weight: 500; line-height: 1.55; }

.profile-pillars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.pillar-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1.5px solid var(--sky);
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.pillar-arrow { color: var(--line); font-size: 14px; }

.vm-cards { display: flex; flex-direction: column; gap: 20px; }
.vm-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 26px 24px;
}
.vm-card::before, .vm-card::after,
.vm-card .vm-icon::before { content: none; }
.vm-card {
  background-image:
    linear-gradient(to right, var(--sky) 0 16px, transparent 16px) top 14px left 14px / 16px 1.5px no-repeat,
    linear-gradient(to bottom, var(--sky) 0 16px, transparent 16px) top 14px left 14px / 1.5px 16px no-repeat,
    linear-gradient(to left, var(--sky) 0 16px, transparent 16px) top 14px right 14px / 16px 1.5px no-repeat,
    linear-gradient(to bottom, var(--sky) 0 16px, transparent 16px) top 14px right 14px / 1.5px 16px no-repeat;
}
.vm-icon { width: 38px; height: 38px; color: var(--sky); margin-bottom: 14px; }
.vm-icon-mission { color: var(--green); }
.vm-icon svg { width: 100%; height: 100%; }
.vm-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}
.vm-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }

/* ===========================================================
   SERVICES
=========================================================== */
.services-section { background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.svc-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 36px -16px rgba(10,26,48,0.22);
}
.svc-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover .svc-img-wrap img { transform: scale(1.07); }
.svc-num {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--white);
  background: rgba(10,26,48,0.65);
  padding: 3px 7px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.svc-body { padding: 14px 14px 16px; }
.svc-title { font-size: 13.5px; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 0; }

/* ===========================================================
   EXPERTISE (dark band, schematic chevrons)
=========================================================== */
.expertise-section {
  background: var(--navy-deep);
  background-image: radial-gradient(circle at 85% 20%, rgba(14,134,212,0.18), transparent 55%);
}
.expertise-section .section-title { color: var(--white); }
.expertise-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.exp-card {
  position: relative;
  padding: 34px 22px 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.exp-card:hover { 
  background: rgba(255,255,255,0.08); 
  transform: translateY(-4px); 
  box-shadow: 0 18px 32px -16px rgba(10,26,48,0.3);
}
.exp-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.exp-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin: 0;
}
.exp-card svg { width: 26px; height: 26px; color: var(--sky-light); margin-bottom: 12px; }

/* ===========================================================
   WHY CHOOSE
=========================================================== */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.why-visual { position: relative; }
.why-img { border-radius: 10px; width: 100%; object-fit: cover; max-height: 420px; }
.why-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 30px -10px rgba(10,26,48,0.4);
}
.why-badge-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--amber); }
.why-badge-label { font-size: 11.5px; color: rgba(255,255,255,0.8); line-height: 1.3; margin-top: 2px; }

.why-list { display: flex; flex-direction: column; gap: 4px; }
.why-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.why-item:last-child { border-bottom: none; }
.why-rank {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--line);
  transition: color 0.25s;
}
.why-item:hover .why-rank { color: var(--amber-deep); }
.why-item p { margin: 0; font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.5; }

/* ===========================================================
   STRENGTH BAND
=========================================================== */
.strength-band {
  background: var(--sky);
  padding: 52px 0;
  position: relative;
  z-index: 1;
}
.strength-inner { text-align: center; }
.strength-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 26px;
}
.strength-lead strong { font-family: var(--font-display); font-size: 22px; }
.strength-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.strength-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255,255,255,0.85);
  padding: 7px 13px;
  border-radius: 20px;
}

/* ===========================================================
   TEAM
=========================================================== */
.team-section { background: var(--paper); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 32px -16px rgba(10,26,48,0.18); }
.team-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--green));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.team-name { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 4px; font-family: var(--font-display); }
.team-role { font-size: 12.5px; font-weight: 600; color: var(--green); margin: 0 0 4px; }
.team-exp { font-family: var(--font-mono); font-size: 11.5px; color: var(--amber-deep); margin: 0 0 12px; }
.team-bio { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ===========================================================
   CONTACT
=========================================================== */
.contact-section { background: var(--navy-deep); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-title { color: var(--white); }
.contact-desc { font-size: 15.5px; color: rgba(255,255,255,0.65); line-height: 1.65; margin: 0 0 36px; max-width: 460px; }

.contact-cards { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 14px 18px;
  transition: background 0.2s, border-color 0.2s;
  flex: 1;
  min-width: 220px;
}
.contact-card:hover { background: rgba(255,255,255,0.09); border-color: var(--sky); }
.cc-icon { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }
.cc-icon svg { width: 100%; height: 100%; }
.cc-label { display: block; font-size: 11px; color: rgba(255,255,255,0.5); }
.cc-value { display: block; font-size: 14px; font-weight: 600; color: var(--white); }

.contact-addresses { display: flex; flex-direction: column; gap: 18px; }
.addr-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--sky-light); text-transform: uppercase; }
.addr-block p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 6px 0 0; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,0.6); font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 11px 13px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.32); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255,255,255,0.09);
}
.contact-form select option { background: var(--navy); color: var(--white); }
.form-note { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin: 2px 0 0; }
.form-note.is-success { color: var(--green-light); font-weight: 600; }

/* ===========================================================
   FOOTER
=========================================================== */
.footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 36px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 34px; height: 34px; border-radius: 6px; }
.footer-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--white); }
.footer-tag { display: block; font-size: 10.5px; color: var(--green-light); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); width: 100%; text-align: center; margin: 4px 0 0; }

/* ===========================================================
   BACK TO TOP
=========================================================== */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(10,26,48,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--sky); }

/* ===========================================================
   SCROLL REVEAL
=========================================================== */
.reveal.js-reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.js-reveal-ready.is-visible { opacity: 1; transform: translateY(0); }

/* ===========================================================
   RESPONSIVE
=========================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .expertise-track { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta-desktop { display: none; }

  .navbar.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 32px 22px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
    box-shadow: 0 16px 28px -16px rgba(10,26,48,0.18);
  }
  .navbar.menu-open .nav-link { padding: 6px 0; }
  .navbar.menu-open .nav-cta-mobile {
    display: flex;
    margin-top: 4px;
  }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo-stack { max-width: 460px; margin: 0 auto 50px; }
  .hero { padding-top: 120px; }

  .profile-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 420px; margin: 0 auto 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 720px) {
  .section-inner { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-track { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-photo-b { right: 0; }
  .contact-cards { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 30px; }
}
