:root {
  --blue: #1CA7EC;
  --blue-light: #6FCBF5;
  --blue-pale: #E4F4FC;
  --blue-dark: #0E6C93;
  --blue-deep: #0A4E6B;
  --yellow: #FFC93C;
  --yellow-dark: #E6A100;
  --yellow-pale: #FFE9B0;
  --yellow-deep: #7A5600;
  --ink: #131c26;
  --muted: #4a5568;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e7e9ec;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(20, 20, 20, 0.1);
  --max-width: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1116;
    --card: #171b21;
    --border: #2a2f37;
    --ink: #f3f6f9;
    --muted: #a7b0bb;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Inter", Roboto, system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--muted); }
section { padding: 72px 0; position: relative; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--blue));
  z-index: 999;
  transition: width .1s linear;
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.9,.3,1), transform .7s cubic-bezier(.22,.9,.3,1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: .95rem;
  position: relative;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 22px rgba(14,108,147,.35); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue-dark); }
.btn-outline:hover { background: var(--blue-pale); transform: translateY(-2px); }
.site-header .btn-outline { border-color: var(--blue-light); color: var(--blue-light); }
.site-header .btn-outline:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28, 167, 236, .5); }
  50% { box-shadow: 0 0 0 14px rgba(28, 167, 236, 0); }
}
.hero-actions .btn-primary, .final-cta-inner .btn-primary {
  animation: pulseGlow 2.6s ease-in-out infinite;
}

/* ===== Header =====
   Colors here are hard-coded on purpose (not the --ink/--muted theme
   variables), because the header background is a fixed black regardless
   of the visitor's OS light/dark setting — using the theme variables
   caused near-invisible text when the browser was in dark mode. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0a0a;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.site-header.scrolled .header-inner { padding-top: 8px; padding-bottom: 8px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding .25s ease;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--yellow);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  transition: transform .4s ease;
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.nav-wrap { display: flex; align-items: center; gap: 24px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a {
  text-decoration: none;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--yellow);
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--yellow); }
.main-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { text-decoration: none; font-weight: 600; color: #fff; white-space: nowrap; }
.phone-link:hover { color: var(--yellow); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url("images/delhi-hero.jpg");
  background-size: cover;
  background-position: 15% center;
  transform: scale(1.08);
  z-index: 0;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(70,49,0,.93), rgba(122,86,0,.82) 45%, rgba(230,161,0,.6) 100%);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
  z-index: 1;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
  z-index: 2;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(28, 167, 236, .6);
  animation-name: floatUp;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes floatUp {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .5; }
  100% { transform: translate(var(--drift, 40px), -520px) scale(.4); opacity: 0; }
}
.hero-route {
  position: absolute;
  right: 4%;
  top: 8%;
  width: 46%;
  max-width: 420px;
  opacity: .55;
  z-index: 1;
  pointer-events: none;
}
.hero-route .route-path {
  fill: none;
  stroke: rgba(255,255,255,.5);
  stroke-width: 2;
  stroke-dasharray: 6 8;
}
.hero-route .route-plane {
  offset-path: path("M20,90 C 120,10 260,10 380,60");
  animation: flyPlane 7s linear infinite;
  font-size: 22px;
}
@keyframes flyPlane {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: var(--blue-light);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-copy { animation: fadeUp .9s cubic-bezier(.22,.9,.3,1) both; }
.hero-form-wrap { animation: fadeUp .9s cubic-bezier(.22,.9,.3,1) .15s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .5em; }
.hero-lead { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li {
  padding-left: 26px;
  position: relative;
  color: rgba(255,255,255,.9);
  opacity: 0;
  transform: translateX(-10px);
  animation: slideIn .5s ease forwards;
}
.hero-points li:nth-child(1) { animation-delay: .5s; }
.hero-points li:nth-child(2) { animation-delay: .65s; }
.hero-points li:nth-child(3) { animation-delay: .8s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--blue-light); font-weight: 700;
}

.lead-form {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 45px rgba(20, 20, 20, .3);
  display: grid;
  gap: 14px;
}
.lead-form h2 { font-size: 1.3rem; margin-bottom: 4px; }
.form-sub { margin: 0 0 6px; font-size: .9rem; }
.lead-form label {
  display: grid;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
}
.lead-form input, .lead-form select {
  font: inherit;
  padding: 11px 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lead-form input:focus, .lead-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28,167,236,.18);
}
.consent { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; font-size: .82rem; color: var(--muted); }
.consent input { width: 16px; height: 16px; margin-top: 3px; }
.form-note { font-size: .85rem; color: var(--blue-dark); min-height: 1.2em; margin: 0; font-weight: 600; }
.form-note.show { animation: popIn .4s ease; }
@keyframes popIn {
  0% { transform: scale(.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== Context ===== */
.context-grid, .industry-grid, .advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.context-card, .industry-card, .advantage-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.context-card:hover, .industry-card:hover, .advantage-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.section-lead { max-width: 62ch; font-size: 1.02rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 8px;
  padding: 26px;
  background: var(--yellow);
  border-radius: var(--radius);
  color: var(--blue-deep);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--blue-deep);
}
.stat-label { display: block; font-size: .85rem; color: rgba(10,30,45,.78); margin-top: 6px; }
@media (max-width: 720px) { .stats-row { grid-template-columns: 1fr; } }

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  font-size: 1.4rem;
  margin-bottom: 12px;
  transition: transform .35s ease;
}
.industry-card:hover .industry-icon { animation: bounceIcon .6s ease; }
@keyframes bounceIcon {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-8px) rotate(-8deg); }
  60% { transform: translateY(0) rotate(6deg); }
}

.context-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .context-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .context-grid { grid-template-columns: 1fr; } }

.industries { background: var(--bg); }

/* ===== About ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-badges {
  display: grid;
  gap: 16px;
}
.about-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.about-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-badge .stat-num { color: var(--blue-dark); }
.about-badge .stat-label { color: var(--muted); }
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
}

/* ===== Problem -> Solution ===== */
.problem-solution { background: var(--bg); }
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.ps-col {
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--border);
}
.ps-problem { background: var(--card); border-left: 4px solid #e0685c; }
.ps-solution { background: var(--card); border-left: 4px solid var(--blue); }
.ps-col h3 { margin-bottom: 14px; }
.ps-col ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.ps-col li { color: var(--muted); }
.ps-solution li { color: var(--ink); }
@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; } }

/* ===== Services ===== */
.services { background: var(--card); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  font-size: 1.4rem;
  margin-bottom: 12px;
  transition: transform .35s ease;
}
.service-card:hover .service-icon { animation: bounceIcon .6s ease; }
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ===== Documents & legislation ===== */
.documents { background: var(--bg); }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.doc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.doc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
@media (max-width: 1024px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doc-grid { grid-template-columns: 1fr; } }

/* ===== Photo showcase ===== */
.showcase { background: var(--bg); }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.showcase-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
  animation: photoReveal .9s cubic-bezier(.22,.9,.3,1) both;
}
.showcase-grid .showcase-photo:nth-child(2) { animation-delay: .15s; }
@keyframes photoReveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
.showcase-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.showcase-photo:hover img { transform: scale(1.07); }
.showcase-photo figcaption {
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--muted);
}
.showcase-photo figcaption a { color: var(--blue-dark); text-decoration: underline; }

@media (max-width: 720px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-photo img { height: 240px; }
}

/* ===== Process ===== */
.process-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  position: relative;
}
.process-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-left-color .3s ease;
}
.process-steps li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-left-color: var(--yellow);
}
.step-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow-dark);
  transition: transform .3s ease;
}
.process-steps li:hover .step-num { transform: scale(1.15); }

/* ===== Permits ===== */
.permit-table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.permit-table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 480px; }
.permit-table th, .permit-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.permit-table th { background: var(--blue-dark); color: #fff; }
.permit-table tbody tr { transition: background .2s ease; }
.permit-table tbody tr:hover { background: var(--yellow-pale); }
.permit-table tbody tr:hover td { color: #131c26; }
.permit-table tr:last-child td { border-bottom: none; }
.permit-note { margin-top: 16px; font-style: italic; }
.fact-callout {
  margin-top: 20px;
  background: var(--yellow-pale);
  border: 1px dashed var(--yellow-dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .92rem;
  color: var(--blue-deep);
}
.fact-callout strong { color: var(--blue-dark); }

/* ===== Advantages ===== */
/* shared with context/industry above */

/* ===== FAQ (custom animated accordion) ===== */
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item.open, .faq-item:hover { border-color: var(--blue-light); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: var(--blue);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.22,.9,.3,1);
}
.faq-a-inner { padding: 0 20px 18px; }
.faq-a-inner p { margin: 0; }

/* ===== Final CTA ===== */
.final-cta {
  background: linear-gradient(120deg, var(--yellow), var(--yellow-dark) 60%, var(--yellow) 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: var(--blue-deep);
}
.final-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.final-cta h2 { margin-bottom: 6px; }
.final-cta p { color: rgba(10,78,107,.8); margin: 0; }
.final-cta .btn-primary { background: var(--blue-dark); color: #fff; }
.final-cta .btn-primary:hover { background: var(--blue-deep); }
.final-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.final-cta .btn-outline { border-color: var(--blue-deep); color: var(--blue-deep); }
.final-cta .btn-outline:hover { background: rgba(10,78,107,.1); }

/* ===== Footer ===== */
.site-footer { background: var(--yellow); color: var(--blue-deep); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-col h3 { color: var(--blue-deep); font-size: 1rem; }
.footer-col p { color: rgba(10,30,45,.78); margin: 0 0 8px; }
.footer-col a { text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: var(--blue-dark); }
.site-footer .logo { color: var(--blue-deep); margin-bottom: 12px; }
.site-footer .logo-mark { background: var(--blue-deep); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(10,30,45,.18);
  padding: 18px 24px;
  font-size: .85rem;
  text-align: center;
  color: rgba(10,30,45,.8);
}
.footer-bottom a { text-decoration: underline; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  z-index: 60;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

@media (max-width: 1100px) {
  .nav-wrap { gap: 14px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: .86rem; }
  .header-cta .phone-link { display: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-route { display: none; }
  .context-grid, .industry-grid, .advantage-grid, .service-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-wrap { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 16px 24px 20px;
    gap: 18px;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .site-header.nav-open .main-nav {
    flex-direction: column;
    gap: 14px;
  }
  .site-header.nav-open .header-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .context-grid, .industry-grid, .advantage-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .process-steps li { grid-template-columns: 40px 1fr; }
  section { padding: 52px 0; }
}

/* ===== Blog / articles ===== */
.blog-hero {
  background: var(--bg);
  padding: 48px 0 8px;
  text-align: center;
}
.blog-hero h1 { max-width: 20ch; margin: 0 auto .4em; }
.blog-hero p { max-width: 56ch; margin: 0 auto; }
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--blue-light); }
.blog-card .blog-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-pale);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.blog-card h3 { margin-bottom: 8px; }
.blog-card p { font-size: .92rem; }
@media (max-width: 900px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-list { grid-template-columns: 1fr; } }

.article-page main .container.narrow { max-width: 740px; }
.article-hero {
  background: var(--bg);
  padding: 44px 0 8px;
}
.article-hero .breadcrumb { font-size: .85rem; margin-bottom: 16px; }
.article-hero .breadcrumb a { color: var(--blue-dark); text-decoration: underline; }
.article-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.article-meta { font-size: .85rem; color: var(--muted); margin-bottom: 0; }
.article-body { padding: 28px 0 8px; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.2em; }
.article-body ul, .article-body ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 1em; }
.article-body li { color: var(--ink); }
.article-cta {
  margin: 32px 0;
  background: var(--yellow);
  color: var(--blue-deep);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta h3 { margin: 0 0 4px; }
.article-cta p { margin: 0; color: rgba(10,78,107,.82); }
.article-cta .btn-primary { background: var(--blue-dark); }
.article-cta .btn-primary:hover { background: var(--blue-deep); }
.back-to-blog { display: inline-block; margin: 8px 0 28px; color: var(--blue-dark); text-decoration: underline; font-size: .92rem; }

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