:root {
  --bg: #05070a;
  --bg-soft: #0d1218;
  --panel: #111922;
  --panel-strong: #162330;
  --line: rgba(230, 237, 245, 0.14);
  --text: #f3f6f8;
  --muted: #aab5bf;
  --gold: #d8a84f;
  --cyan: #3ec7e8;
  --blue: #2a5b80;
  --green: #82c9a5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(62, 199, 232, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(216, 168, 79, 0.08), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px);
  opacity: 0.9;
  z-index: -2;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px clamp(16px, 3vw, 36px);
}

.nav {
  width: min(1180px, 100%);
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 10, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: relative;
}

.nav-toggle-line::before {
  top: -7px;
}

.nav-toggle-line::after {
  top: 5px;
}

.nav-open .nav-toggle-line {
  transform: rotate(45deg);
}

.nav-open .nav-toggle-line::before {
  transform: translateY(7px) rotate(90deg);
}

.nav-open .nav-toggle-line::after {
  opacity: 0;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 78px;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  right: max(-80px, -6vw);
  top: 50%;
  width: min(660px, 58vw);
  height: auto;
  transform: translateY(-48%);
  opacity: 0.72;
  filter: saturate(1.15) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.78) 48%, rgba(5, 7, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.18), rgba(5, 7, 10, 0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.hero h1,
.section h2 {
  margin: 0;
  max-width: 930px;
  color: var(--text);
  font-size: clamp(3rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 {
  text-transform: uppercase;
}

.hero-subtitle {
  width: 100%;
  max-width: 720px;
  margin: 26px 0 0;
  color: #d1dae2;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  max-width: 100%;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #071016;
  background: linear-gradient(135deg, var(--gold), #fff0b8 48%, var(--cyan));
  box-shadow: 0 18px 48px rgba(62, 199, 232, 0.18);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-card {
  width: 100%;
  margin-top: auto;
  color: var(--text);
  background: rgba(62, 199, 232, 0.11);
  border-color: rgba(62, 199, 232, 0.35);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(650px, 100%);
  margin: 54px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.stats-band {
  padding: 0 clamp(18px, 5vw, 72px) 34px;
  margin-top: -46px;
  position: relative;
  z-index: 4;
}

.stats-band .hero-metrics {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-metrics div {
  min-height: 96px;
  padding: 18px;
  background: rgba(13, 18, 24, 0.86);
}

.hero-metrics dt {
  color: var(--cyan);
  font-weight: 950;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-copy p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid,
.pricing-grid,
.portfolio-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.price-card,
.portfolio-card,
.contact-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 25, 34, 0.82);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 285px;
  padding: 24px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(62, 199, 232, 0.1);
  border: 1px solid rgba(62, 199, 232, 0.24);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card h3,
.price-card h3,
.portfolio-card h3,
.process-step h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.service-card p,
.price-card p,
.process-step p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.about-section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-left: 0;
  padding-right: 0;
}

.about-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.about-list div {
  min-height: 104px;
  padding: 22px;
  background: rgba(17, 25, 34, 0.88);
}

.about-list strong,
.about-list span {
  display: block;
}

.about-list strong {
  margin-bottom: 8px;
  color: var(--text);
}

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

.offers-section,
.faq-section {
  background: rgba(13, 18, 24, 0.78);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.price-card-featured {
  border-color: rgba(216, 168, 79, 0.62);
  background:
    linear-gradient(180deg, rgba(216, 168, 79, 0.1), rgba(17, 25, 34, 0.88) 28%),
    rgba(17, 25, 34, 0.9);
}

.price-kicker {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-card h3 {
  margin-top: 16px;
  color: var(--cyan);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: #dce5ec;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card a {
  display: grid;
  height: 100%;
  color: inherit;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease;
}

.portfolio-card:hover img,
.portfolio-card:focus-within img {
  transform: scale(1.035);
}

.portfolio-content {
  padding: 22px;
}

.portfolio-content p {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 900;
}

.portfolio-content h3 {
  margin: 10px 0 8px;
}

.portfolio-content span {
  color: var(--muted);
}

.process-list {
  width: min(980px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 84px minmax(180px, 260px) 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-step span {
  color: var(--cyan);
  font-weight: 950;
}

.process-step h3 {
  margin: 0;
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 850;
}

.faq-list summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  padding: 0 20px 20px;
}

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

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-methods a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  overflow-wrap: anywhere;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  border-color: rgba(216, 168, 79, 0.6);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: #dce5ec;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(5, 7, 10, 0.72);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(62, 199, 232, 0.72);
  box-shadow: 0 0 0 3px rgba(62, 199, 232, 0.13);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  display: grid;
  gap: 18px;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer div,
.footer nav,
.footer p {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer a:hover,
.footer a:focus-visible {
  color: var(--cyan);
}

.footer p {
  font-size: 0.88rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .service-grid,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    width: min(600px, 80vw);
    right: -22vw;
    opacity: 0.5;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding: 10px 12px;
  }

  .nav {
    min-height: 64px;
    position: relative;
  }

  .brand {
    max-width: calc(100% - 62px);
    font-size: 0.72rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 10, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-open .nav-menu {
    display: grid;
  }

  .nav-menu a {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 18px 54px;
  }

  .hero-bg {
    width: 104vw;
    right: -38vw;
    top: 46%;
    opacity: 0.38;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.7)),
      linear-gradient(180deg, rgba(5, 7, 10, 0.14), rgba(5, 7, 10, 0.94));
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .stats-band {
    padding: 0 18px 28px;
    margin-top: -18px;
  }

  .stats-band .hero-metrics {
    margin-top: 0;
  }

  .hero-metrics div {
    min-height: 74px;
  }

  .section {
    padding: 72px 18px;
  }

  .section-heading {
    text-align: left;
  }

  .service-grid,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-card {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .brand span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
  }

  .btn {
    width: 100%;
  }
}
