:root {
  --ink: #050608;
  --panel: #101216;
  --panel-2: #171a20;
  --line: #2a2f37;
  --text: #f7f8fa;
  --muted: #b8bec8;
  --soft: #e3e7ee;
  --spark: #ff8a00;
  --gold: #ffc233;
  --cyan: #6fd3ff;
  --green: #7bd88f;
  --headline: linear-gradient(92deg, #ffffff 0%, #fff8df 36%, #ffc233 68%, #ff8a00 100%);
  --accent-text: linear-gradient(90deg, #ffc233, #ff8a00);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 138, 0, 0.12), transparent 28rem),
    linear-gradient(220deg, rgba(111, 211, 255, 0.08), transparent 26rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p {
  color: #c7cdd8;
  overflow-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.brand img {
  width: 164px;
  height: auto;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  content: "";
}

.nav-toggle-label span::before {
  transform: translateY(-6px);
}

.nav-toggle-label span::after {
  transform: translateY(4px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.94rem;
  color: var(--soft);
}

.nav-links a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-color: var(--spark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--spark), var(--gold));
  color: #161006;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.22);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  isolation: isolate;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 48px;
  padding: 58px 0 36px;
}

.hero > :not(.spark-canvas):not(.spark-bolt-image) {
  position: relative;
  z-index: 1;
}

.spark-bolt-image {
  position: absolute;
  left: 42%;
  top: 51%;
  z-index: 0;
  width: min(1280px, 112vw);
  max-width: none;
  pointer-events: none;
  opacity: 0.5;
  filter: drop-shadow(0 0 18px rgba(255, 138, 0, 0.62)) drop-shadow(0 0 58px rgba(255, 138, 0, 0.28));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 48%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 48%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
  transform: translate(-50%, -50%) rotateX(8deg) rotateY(-14deg) rotateZ(-2deg);
  transform-origin: center;
}

.spark-canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  transform: translateX(-50%);
  opacity: 0.74;
  mix-blend-mode: screen;
}

.spark-canvas::after {
  content: "";
}

.hero.compact {
  min-height: auto;
  padding: 76px 0 54px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.text-gradient {
  color: #ffffff;
  background: var(--headline);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.45rem, 6vw, 5.5rem);
  max-width: 11ch;
  color: #ffffff;
  background: linear-gradient(96deg, #ffffff 0%, #ffffff 42%, #ffe08a 68%, #ff8a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 34px rgba(255, 138, 0, 0.1);
}

.hero.compact h1 {
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: #ffffff;
  background: linear-gradient(95deg, #ffffff 0%, #fff2bd 64%, #ff9c18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 26px rgba(255, 194, 51, 0.09);
}

h3 {
  font-size: 1.35rem;
  color: #fff6df;
}

.hero-copy {
  max-width: 650px;
  font-size: 1.12rem;
  color: #dce1ea;
}

.hero-copy strong,
.section-head strong,
.card strong,
.service-card strong,
.project-card strong {
  color: #ffc233;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-shadow: 0 0 20px rgba(255, 138, 0, 0.2);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 26, 32, 0.9), rgba(10, 11, 14, 0.93));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--spark);
}

.dot:nth-child(2) {
  background: var(--gold);
}

.dot:nth-child(3) {
  background: var(--green);
}

.panel-body {
  padding: 26px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.metric,
.card,
.service-card,
.step,
.faq-item,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 18, 22, 0.82);
}

.metric {
  padding: 18px;
}

.metric strong {
  display: block;
  color: #fff2bd;
  font-size: 1.5rem;
  text-shadow: 0 0 18px rgba(255, 138, 0, 0.13);
}

.metric span {
  color: #c8ced8;
  font-size: 0.92rem;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

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

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

.card,
.service-card,
.step,
.faq-item,
.project-card,
.contact-card {
  padding: 24px;
}

.card .kicker,
.service-card .kicker,
.project-card .kicker {
  color: #ffd66e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 138, 0, 0.18);
}

.card h3,
.service-card h3,
.project-card h3,
.contact-card h3,
.faq-item h3,
.step h3 {
  color: #ffffff;
  background: linear-gradient(92deg, #ffffff 0%, #fff4cb 72%, #ffc233 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-list,
.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: #c9d0dc;
  margin: 10px 0;
}

.service-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--spark);
  content: ">";
  font-weight: 900;
}

.band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 138, 0, 0.18), transparent),
    rgba(255, 255, 255, 0.04);
}

.band .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  padding: 42px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.14);
  color: var(--gold);
  content: counter(step);
  font-weight: 900;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.area-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff0c2;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item h3 {
  font-size: 1.08rem;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  color: #fff0c2;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0d11;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  min-height: 24px;
  color: var(--gold);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050608;
}

.footer-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-logo {
  width: 172px;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    min-height: 70px;
    justify-content: flex-start;
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 0 0 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links a,
  .nav-links .nav-cta {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero,
  .hero.compact {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .spark-canvas {
    opacity: 0.52;
  }

  .spark-bolt-image {
    left: 50%;
    top: 48%;
    width: 168vw;
    opacity: 0.38;
  }

  h1 {
    max-width: 12ch;
  }

  .grid-3,
  .grid-2,
  .steps,
  .band .wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero,
  .hero.compact,
  .wrap,
  .footer-grid {
    width: min(calc(100% - 32px), 358px);
  }

  .nav {
    gap: 10px;
    width: min(calc(100% - 48px), 342px);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 136px;
  }

  h1 {
    font-size: 2.35rem;
    max-width: 10ch;
  }

  h2 {
    font-size: 1.82rem;
  }

  .hero-copy {
    font-size: 0.96rem;
    max-width: 280px;
  }

  .panel-body,
  .card,
  .service-card,
  .step,
  .faq-item,
  .project-card,
  .contact-card {
    padding: 20px;
  }

  .score-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }
}

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

  .spark-canvas {
    opacity: 0.42;
  }

  .spark-bolt-image {
    transform: translate(-50%, -50%) rotateZ(-2deg);
  }
}
