:root {
  --bg: #05070a;
  --surface: #0d1117;
  --surface-soft: #121824;
  --text: #f4f7fb;
  --muted: #a9b4c2;
  --muted-strong: #c6d0dd;
  --accent: #1477ff;
  --accent-strong: #5aa2ff;
  --accent-soft: rgba(20, 119, 255, 0.22);
  --border: rgba(255,255,255,0.12);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 0%, rgba(20,119,255,0.18), transparent 34rem),
    radial-gradient(circle at 20% 12%, rgba(255,255,255,0.07), transparent 24rem),
    linear-gradient(180deg, #080b10 0%, var(--bg) 42rem);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 62%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 48px);
}

.hero-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(32px, 7vw, 76px);
  align-items: center;
}

.hero-logo {
  width: min(220px, 68vw);
  margin-bottom: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(20, 119, 255, 0.18);
}

.eyebrow {
  margin: 0 0 14px;
  color: #cfe2ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.75rem, 8vw, 5.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.2;
}

h3,
p {
  margin-top: 0;
}

.tagline {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
}

.hero-summary {
  margin: 16px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  line-height: 1.55;
}

.consultation-callout {
  max-width: 690px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(20,119,255,0.45);
  border-radius: 8px;
  background: rgba(20,119,255,0.11);
}

.consultation-callout strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.consultation-callout p {
  margin: 8px 0 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.consultation-callout .consultation-support {
  color: var(--text);
  font-weight: 700;
}

.hero-actions,
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button,
.contact-card,
.service-nav a {
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  font-weight: 700;
}

.button-primary {
  border-color: rgba(20,119,255,0.72);
  background: linear-gradient(180deg, rgba(20,119,255,0.95), rgba(15,82,184,0.95));
  box-shadow: 0 18px 42px rgba(20,119,255,0.2);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--muted-strong);
}

a.button:hover,
.contact-card:hover,
.service-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(20,119,255,0.62);
  background: rgba(20,119,255,0.14);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20,119,255,0.18), transparent 42%),
    rgba(13, 17, 23, 0.84);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  padding: clamp(22px, 4vw, 34px);
}

.panel-kicker,
.section-kicker {
  margin: 0 0 12px;
  color: #cfe2ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-service-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-service-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.hero-service-list span {
  grid-row: span 2;
  color: var(--accent-strong);
  font-weight: 800;
}

.hero-service-list strong {
  font-size: 1.12rem;
}

.hero-service-list small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(14px);
}

.service-nav-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px clamp(20px, 5vw, 48px);
  scrollbar-width: thin;
}

.service-nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--muted-strong);
  background: rgba(255,255,255,0.035);
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

main,
footer {
  position: relative;
}

.section {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) clamp(20px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 86px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section-header p:last-child {
  margin: 14px 0 0;
}

.lead {
  max-width: 840px;
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.pricing-list li,
.contact-card,
.boundary-note,
.trust-note {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}

.detail-list li {
  padding: 14px 15px;
  color: var(--muted-strong);
  line-height: 1.45;
}

.boundary-note,
.trust-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  color: var(--muted-strong);
  line-height: 1.6;
}

.boundary-note {
  border-color: rgba(255,255,255,0.18);
}

.trust-note {
  border-color: rgba(20,119,255,0.45);
  background: rgba(20,119,255,0.11);
}

.pricing-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  line-height: 1.45;
}

.pricing-list span {
  color: var(--muted);
}

.pricing-list strong {
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.contact-section {
  border-bottom: 0;
}

.contact-grid {
  align-items: stretch;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 16px;
  color: var(--muted-strong);
  overflow-wrap: anywhere;
}

.contact-muted {
  color: var(--muted);
}

.quote-button {
  flex: 0 0 auto;
}

footer {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 48px) 38px;
  color: #768294;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 38px;
  }

  .hero-logo {
    width: min(190px, 76vw);
  }

  .hero-actions,
  .contact-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-card {
    width: 100%;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .pricing-list li {
    display: grid;
    gap: 6px;
  }

  .pricing-list strong {
    text-align: left;
    white-space: normal;
  }

  .service-nav-inner {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
