:root {
  --sand-cyan: #29c7cf;
  --sand-cyan-strong: #1fb4bd;
  --sand-dark: #07131c;
  --sand-dark-soft: #0f2230;
  --sand-slate: #163244;
  --sand-text: #d9e8f1;
  --sand-muted: #9cb3c2;
  --sand-line: rgba(153, 191, 210, 0.22);
  --sand-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", Montserrat, sans-serif;
  color: var(--sand-text);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(41, 199, 207, 0.18), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(41, 199, 207, 0.12), transparent 70%),
    linear-gradient(180deg, #07131c 0%, #0a1a25 45%, #08131d 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 19, 28, 0.86);
  border-bottom: 1px solid var(--sand-line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
}

.brand {
  color: var(--sand-white);
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 0;
}

.brand span {
  color: var(--sand-cyan);
}

.brand-logo {
  width: auto;
  height: 84px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--sand-text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav-links a.active,
.nav-links a:hover {
  border-color: rgba(41, 199, 207, 0.45);
  background: rgba(41, 199, 207, 0.16);
}

.menu-btn {
  display: none;
  background: transparent;
  color: var(--sand-text);
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
}

.hero {
  padding: 5.3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-with-video .container {
  position: relative;
  z-index: 1;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  animation: heroFallbackMotion 18s ease-in-out infinite alternate;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.02);
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(41, 199, 207, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(7, 19, 28, 0.7) 0%, rgba(7, 19, 28, 0.82) 100%);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(41, 199, 207, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(7, 19, 28, 0.7) 0%, rgba(7, 19, 28, 0.82) 100%);
}

@keyframes heroFallbackMotion {
  0% {
    background-position: 45% 45%;
    transform: scale(1);
  }
  100% {
    background-position: 55% 55%;
    transform: scale(1.04);
  }
}


.hero-static .hero-video-fallback {
  opacity: 0.24;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.kicker {
  display: inline-block;
  color: var(--sand-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

h1,
.h2 {
  margin: 0.6rem 0 1rem;
  line-height: 1.1;
  color: var(--sand-white);
}

h1 {
  font-size: clamp(2.05rem, 4vw, 3.35rem);
}

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

.hero-copy {
  border: 1px solid var(--sand-line);
  border-radius: 16px;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(10, 27, 38, 0.7), rgba(8, 20, 30, 0.7));
}

p {
  color: var(--sand-text);
}

p.lead {
  color: #c4d8e5;
  font-size: 1.06rem;
}

.card {
  background: linear-gradient(180deg, rgba(22, 50, 68, 0.66), rgba(14, 32, 45, 0.76));
  border: 1px solid var(--sand-line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.hero-panel {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--sand-line);
}

.hero-panel-copy {
  padding: 1rem;
}

.stats-only {
  display: grid;
  gap: 1.05rem;
  padding: 1.15rem 1rem;
  justify-items: center;
  align-content: center;
  width: 100%;
}

.stat-block {
  display: grid;
  gap: 0.1rem;
  justify-items: center;
  text-align: center;
}

.stat-value {
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 1;
  font-weight: 500;
  color: var(--sand-text);
}

.stat-caption {
  font-size: 1.55rem;
  line-height: 1.2;
  font-style: italic;
  color: #c4d8e5;
}

.hero-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric-block {
  border: 1px solid var(--sand-line);
  background: rgba(6, 20, 30, 0.45);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
}

.metric-block strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--sand-cyan);
}

.metric-block p {
  margin: 0.25rem 0 0;
  color: #c4d8e5;
  font-size: 0.93rem;
}

.service-grid {
  margin-top: -0.4rem;
}

.service-card {
  position: relative;
  padding-top: 1.6rem;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0.95rem;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--sand-cyan);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.section {
  padding: 2.5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--sand-cyan);
  color: #052028;
}

.btn-primary:hover {
  background: #4ad6dd;
}

.btn-ghost {
  border: 1px solid var(--sand-line);
  color: var(--sand-white);
  margin-left: 0.5rem;
}

.site-footer {
  margin-top: 3rem;
  background: #061019;
  border-top: 1px solid var(--sand-line);
  color: var(--sand-muted);
  padding: 1.4rem 0;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(6, 20, 30, 0.45);
}

th,
td {
  border: 1px solid var(--sand-line);
  padding: 0.6rem;
  text-align: left;
  font-size: 0.95rem;
}

th {
  background: rgba(41, 199, 207, 0.14);
  color: var(--sand-white);
}

ol.questions {
  padding-left: 1.2rem;
}

ol.questions li {
  margin-bottom: 0.65rem;
  color: #d3e3ed;
}

.form-row {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--sand-line);
  border-radius: 10px;
  font: inherit;
  background: rgba(3, 14, 22, 0.72);
  color: var(--sand-white);
}

input::placeholder,
textarea::placeholder {
  color: var(--sand-muted);
}

textarea {
  min-height: 140px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .stats-only {
    gap: 0.9rem;
  }

  .stat-caption {
    font-size: 1.2rem;
  }

  .menu-btn {
    display: inline-block;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .brand-logo {
    width: auto;
    height: 62px;
  }


  .nav-links {
    display: none;
    position: absolute;
    right: 4vw;
    top: 62px;
    background: #081722;
    border: 1px solid var(--sand-line);
    border-radius: 12px;
    padding: 0.55rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 180px;
  }

  .nav-links.open {
    display: flex;
  }

  .btn-ghost {
    margin-left: 0;
  }
}
