:root {
  --bg: #080a12;
  --panel: #111827;
  --panel-soft: #151b2d;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #aeb9ce;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --indigo: #4f46e5;
  --violet: #8b5cf6;
  --violet-light: #a855f7;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(37, 99, 235, 0.24), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(139, 92, 246, 0.22), transparent 30%),
    linear-gradient(180deg, #070914 0%, #0c1020 48%, #070914 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(8, 10, 18, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.nav a,
.lead,
.card p,
.contact-copy p,
.footer {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 600;
}

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

.header-action,
.primary-button,
.ghost-button,
.socials a,
.contact-form button,
.footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
}

.header-action,
.primary-button,
.contact-form button {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.24);
}

.header-action {
  padding: 0 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  min-height: calc(100vh - 79px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 6vw, 88px);
}

.hero-copy {
  max-width: 780px;
}

.status,
.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.hero-copy > .eyebrow {
  display: block;
  margin-bottom: 10px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
}

h1 span,
h2 span {
  color: var(--violet);
}

.lead {
  max-width: 580px;
  margin-top: 24px;
  font-size: clamp(19px, 2.3vw, 28px);
  line-height: 1.35;
}

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

.primary-button,
.ghost-button {
  min-width: 154px;
  padding: 0 22px;
}

.ghost-button,
.socials a:nth-child(2) {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.portrait-wrap::after,
.about-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 54%, rgba(8, 10, 18, 0.42));
  pointer-events: none;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: 50% 32%;
}

.section,
.about,
.contact {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.cards {
  display: grid;
  gap: 16px;
}

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

.card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(21, 27, 45, 0.82));
}

.card.wide {
  grid-column: span 2;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.card p,
.card li {
  font-size: 15px;
  line-height: 1.72;
}

.card p + p {
  margin-top: 12px;
}

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

ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #dbeafe;
}

.about {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 74px);
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid var(--line);
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-media img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: 50% 30%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.stats strong {
  display: block;
  margin-bottom: 8px;
  color: #dbeafe;
  font-size: 34px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.socials a {
  min-width: 150px;
  padding: 0 18px;
}

.socials a:first-child {
  background: linear-gradient(135deg, var(--blue-light), var(--indigo));
}

.review {
  min-height: 210px;
}

.review strong {
  display: block;
  margin-top: 20px;
  color: #dbeafe;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy p {
  max-width: 520px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.92);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius);
  padding: 15px 16px;
  color: var(--text);
  background: rgba(8, 10, 18, 0.74);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.14);
}

.contact-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.footer a {
  min-height: 38px;
  padding: 0 14px;
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .portrait-wrap {
    max-width: 520px;
  }

  .services-grid,
  .territory-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .header-action {
    display: none;
  }

  .hero-actions,
  .socials,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .socials a {
    width: 100%;
  }

  .services-grid,
  .territory-grid,
  .review-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .card.wide {
    grid-column: auto;
  }

  .card {
    min-height: auto;
  }
}
