:root {
  --bg: #07111f;
  --bg-2: #0b1220;
  --surface: #111827;
  --surface-2: #16243a;
  --line: #27455f;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --blue: #0f4c81;
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --green: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, .32);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: 0;
}
@media (max-width: 899px) {
  body { padding-bottom: 68px; }
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
p { color: var(--muted); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.container {
  width: calc(100% - 32px);
  max-width: var(--container);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--amber);
  color: #101010;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.topbar {
  display: none;
  background: #050b14;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-end;
}
.topbar__inner span:first-child { margin-right: auto; }
.topbar a { color: var(--text); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, .9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 11, 20, .96);
  border-color: rgba(245, 158, 11, .2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #16120a;
  font-size: 14px;
}
.brand__text {
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.15;
}
.nav {
  position: fixed;
  inset: 72px 0 auto 0;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px 24px;
  background: rgba(7, 17, 31, .98);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.nav.is-open { display: flex; }
.nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.nav a:hover, .nav a[aria-current="page"], .nav a.is-active {
  color: var(--text);
  background: rgba(15, 76, 129, .34);
}
.menu-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid rgba(255,255,255,.15);
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--text);
}
.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}
.site-header .header__cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #17120a;
}
.btn--secondary {
  background: rgba(34, 197, 94, .12);
  color: var(--text);
  border-color: rgba(34, 197, 94, .5);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: var(--text);
}
.btn--small { min-height: 40px; padding: 10px 14px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 76px) 0 clamp(32px, 5vw, 60px);
  background:
    radial-gradient(circle at 82% 18%, rgba(15, 76, 129, .32), transparent 36%),
    linear-gradient(180deg, #07111f 0%, #0b1220 100%);
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--amber), var(--green));
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.parallax-layer {
  position: absolute;
  will-change: transform;
  transition: transform .08s linear;
}
.hero-grid-pattern {
  inset: -20%;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .28;
}
.hero-diagonal {
  right: -12%;
  top: 12%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  transform: rotate(18deg);
  border: 1px solid rgba(245, 158, 11, .2);
  background: linear-gradient(135deg, rgba(15,76,129,.42), rgba(245,158,11,.08));
  border-radius: 28px;
}
.hero-glow {
  left: 4%;
  top: 8%;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(15,76,129,.42), transparent 66%);
}
.hero__grid, .page-hero .container, .section > .container, .cta-band__inner {
  position: relative;
  z-index: 1;
}
.hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero__content,
.hero__media,
.split > *,
.content-grid > *,
.hero__actions {
  min-width: 0;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--soft);
  font-size: 14px;
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--amber-2); }
h1 {
  max-width: 920px;
  font-size: clamp(31px, 5.5vw, 62px);
  line-height: 1.02;
  margin-bottom: 22px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  margin-bottom: 14px;
}
h3 {
  font-size: 20px;
  line-height: 1.18;
  margin-bottom: 10px;
}
.lead {
  max-width: 710px;
  font-size: clamp(18px, 2vw, 22px);
  color: #e2e8f0;
}
.trust-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}
.trust-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}
.hero__actions {
  display: grid;
  gap: 12px;
}
.hero__media {
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero__media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  aspect-ratio: 9 / 7;
  object-fit: cover;
}
.hero-float {
  position: absolute;
  left: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  display: grid;
  gap: 6px;
  width: min(78%, 280px);
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(5, 11, 20, .78);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.34);
}
.hero-float strong { font-size: 15px; }
.hero-float span { color: var(--muted); font-size: 13px; }

.media-frame, .media-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.media-frame img, .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame {
  aspect-ratio: 4 / 3;
}
.media-card {
  padding: 0;
}
.image-caption {
  padding: 10px 12px;
  color: var(--soft);
  font-size: 13px;
}
.image-grid {
  display: grid;
  gap: 14px;
}
.before-after-grid {
  display: grid;
  gap: 16px;
}

.section { padding: clamp(54px, 8vw, 92px) 0; }
.section, .page-hero, .cta-band { scroll-margin-top: 96px; }
.section--surface { background: var(--bg-2); }
.section__heading {
  max-width: 780px;
  margin-bottom: 28px;
}
.muted { color: var(--muted); }

.service-grid, .brand-grid {
  display: grid;
  gap: 16px;
}
.service-card, .brand-grid > div, .contact-card, .article-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px;
}
.service-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}
.service-card:hover { border-color: rgba(245, 158, 11, .55); }
.service-card__image {
  margin: -22px -22px 18px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b1220;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.service-card:hover .service-card__image img,
.article-card:hover img,
.media-card:hover img {
  transform: scale(1.03);
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: rgba(245, 158, 11, .14);
  color: var(--amber-2);
  font-size: 24px;
}
.split {
  display: grid;
  gap: 28px;
  align-items: start;
}
.symptom-grid {
  display: grid;
  gap: 10px;
}
.symptom-grid span {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 700;
}
.process {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.process-snap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 82%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  padding: 4px 2px 14px;
}
.snap-card {
  scroll-snap-align: start;
}
.process-line {
  width: 100%;
  height: 58px;
  margin: 0 0 16px;
}
.process-line path {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-line.is-visible path { stroke-dashoffset: 0; }
.process li {
  counter-increment: step;
  position: relative;
  padding: 22px 20px 22px 74px;
  min-height: 118px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--surface);
  border-radius: var(--radius);
}
.process li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--text);
  font-weight: 900;
}
.process strong, .process span { display: block; }
.process span { color: var(--muted); margin-top: 5px; }

.proof-strip {
  display: grid;
  gap: 14px;
}
.trust-card {
  padding: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.counter-grid {
  display: grid;
  gap: 14px;
}
.counter {
  display: block;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
  font-weight: 950;
  color: var(--amber-2);
}
.counter-label { color: var(--muted); font-weight: 800; }
.proof-strip div {
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
}
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip span { color: var(--muted); font-size: 14px; }

.faq details {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  min-height: 54px;
  padding: 16px 18px;
  font-weight: 900;
}
.faq details p { padding: 0 18px 18px; margin: 0; }

.cta-band {
  padding: clamp(46px, 7vw, 76px) 0;
  background: linear-gradient(135deg, var(--blue), #0b1220 70%);
}
.cta-band__inner {
  display: grid;
  gap: 18px;
  align-items: center;
}
.cta-band__inner h2 { margin-bottom: 0; }
.cta-band__inner div { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer {
  padding: 48px 0 92px;
  background: #050b14;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__grid {
  display: grid;
  gap: 26px;
}
.footer__grid h2, .footer__grid h3 { margin-bottom: 10px; }
.footer__grid a {
  display: block;
  color: var(--muted);
  margin: 7px 0;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--soft);
  font-size: 14px;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #050b14;
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 10px;
  gap: 10px;
}
.mobile-cta a {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  font-weight: 900;
}
.mobile-cta a:first-child { background: var(--amber); color: #15100a; }
.mobile-cta a:last-child { background: var(--green); color: #05120b; }

.page-hero {
  padding: clamp(38px, 7vw, 78px) 0;
  background: linear-gradient(180deg, #07111f, #0b1220);
}
.page-hero .lead { margin-bottom: 0; }
.content-grid {
  display: grid;
  gap: 22px;
}
.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 13px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
}
.contact-layout {
  display: grid;
  gap: 22px;
  align-items: start;
}
.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field span, .checkbox span { color: var(--text); font-weight: 800; font-size: 14px; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  background: #0b1220;
  color: var(--text);
  padding: 12px 13px;
}
input.is-error, textarea.is-error, select.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .18);
}
textarea { min-height: 126px; resize: vertical; }
.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}
.checkbox input { min-height: auto; width: 18px; margin-top: 4px; }
.form-message { min-height: 24px; color: var(--green); font-weight: 800; }
.map-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(15,76,129,.45), rgba(245,158,11,.12));
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: var(--radius);
  color: var(--text);
  text-align: center;
  padding: 24px;
}
.article-card h3 { font-size: 22px; }
.article-meta { color: var(--soft); font-size: 14px; margin-bottom: 10px; }
.article-card {
  overflow: hidden;
}
.article-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: transform .45s ease;
}
.article-hero-image {
  margin-top: 26px;
  aspect-ratio: 16 / 9;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-reveal="fade-in"] { transform: none; }
.motion-ready [data-reveal="slide-left"] { transform: translateX(28px); }
.motion-ready [data-reveal="slide-right"] { transform: translateX(-28px); }
.motion-ready [data-reveal="scale-soft"] { transform: scale(.96); }
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.section-header { max-width: 780px; margin-bottom: 28px; }
.eyebrow { color: var(--amber-2); font-weight: 900; }
.btn-primary { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #17120a; }
.btn-secondary { background: rgba(34, 197, 94, .12); color: var(--text); border-color: rgba(34, 197, 94, .5); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.2); color: var(--text); }
.card { background: var(--surface); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-orb { display: none; }
.reveal, .reveal-up, .reveal-left, .reveal-right { }
.sticky-mobile-cta { }

@media (min-width: 640px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
  .service-grid, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .symptom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-snap { grid-auto-columns: minmax(270px, 45%); }
  .image-grid, .counter-grid, .before-after-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  h1 { font-size: 29px; line-height: 1.08; }
  .lead { font-size: 16px; line-height: 1.55; max-width: 100%; }
  .hero__content,
  .hero__content h1,
  .hero__content .lead,
  .hero__content .trust-list,
  .hero__actions {
    max-width: 343px;
  }
  .hero__content h1 { text-wrap: initial; }
  .trust-list li { font-size: 15px; }
  .hero { padding-top: 38px; }
}

@media (min-width: 900px) {
  .topbar { display: block; }
  .menu-toggle { display: none; }
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav a { min-height: 40px; font-size: 14px; padding: 8px 10px; }
  .site-header .header__cta { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(330px, .78fr); }
  .split, .content-grid { grid-template-columns: .85fr 1.15fr; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-snap { grid-auto-flow: initial; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; }
  .contact-layout { grid-template-columns: 1.1fr .9fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer { padding-bottom: 48px; }
  .mobile-cta { display: none; }
}

@media (min-width: 1180px) {
  .nav a { padding-inline: 12px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  h1 { font-size: 31px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text { max-width: 190px; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .service-card:hover .service-card__image img,
  .article-card:hover img,
  .media-card:hover img {
    transform: none;
  }
}

@supports (animation-timeline: view()) {
  .media-frame {
    animation: soft-media-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
  @keyframes soft-media-reveal {
    from { opacity: .82; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}
