:root {
  --bg: #070b12;
  --bg-elevated: #0e1522;
  --bg-panel: #121a2a;
  --text: #e8eef7;
  --text-muted: #8b9bb4;
  --cyan: #00a8e8;
  --cyan-deep: #0b6e99;
  --cyan-soft: rgba(0, 168, 232, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 8px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 18, 0.55);
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 11, 18, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  background: var(--cyan);
  color: #041018 !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: #33bbea;
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(7, 11, 18, 0.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.5rem;
  }

}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: #041018;
}

.btn-primary:hover {
  background: #33bbea;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(0, 168, 232, 0.45);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 11, 18, 0.92) 0%, rgba(7, 11, 18, 0.78) 45%, rgba(11, 110, 153, 0.35) 100%),
    url("/img/hero-tech.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 168, 232, 0.18), transparent 45%),
    linear-gradient(to bottom, transparent 60%, var(--bg));
  z-index: -1;
}

.hero-inner {
  padding: 4.5rem 0 5rem;
  max-width: 720px;
  animation: rise 0.8s ease both;
}

.eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.entity-card,
.service-item,
.process-step,
.product-card,
.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

.entity-card h3,
.service-item h3,
.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.entity-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.entity-card address {
  font-style: normal;
  color: var(--text-muted);
  margin: 0.75rem 0;
}

.entity-card p {
  margin: 0.35rem 0;
  color: var(--text-muted);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-num {
  font-family: var(--font-display);
  color: var(--cyan);
  font-weight: 600;
  font-size: 1.1rem;
}

.service-row h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.service-row p {
  margin: 0;
  color: var(--text-muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 1000px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  min-height: 100%;
}

.process-step .step-n {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card p {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--cyan);
}

/* Shot frames */
.shot-frame {
  background: #0a101a;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.shot-chrome {
  display: flex;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem;
  background: #151d2c;
  border-bottom: 1px solid var(--border);
}

.shot-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a465c;
}

.shot-frame img {
  width: 100%;
  display: block;
}

.shot-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.feature-block.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.feature-block.reverse .shot-wrap {
  order: 2;
}

.feature-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.feature-block p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse .shot-wrap {
    order: 0;
  }
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(0, 168, 232, 0.12), transparent 50%),
    var(--bg-elevated);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
}

/* Legal prose */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose strong {
  color: var(--text);
}

/* Forms */
.form-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(0, 168, 232, 0.35);
  border-color: var(--cyan);
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(0, 168, 232, 0.12);
  border: 1px solid rgba(0, 168, 232, 0.35);
  color: var(--text);
}

.alert-error {
  background: rgba(225, 39, 81, 0.12);
  border: 1px solid rgba(225, 39, 81, 0.35);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.tech-list li {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-panel);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-year {
  font-family: var(--font-display);
  color: var(--cyan);
  font-weight: 600;
}

.cta-band {
  padding: 4rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 168, 232, 0.16), transparent 55%),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #05080e;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand-name {
  margin-bottom: 0.35rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
}

.footer-entity h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.footer-entity address,
.footer-entity p {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--cyan-soft);
  border: 1px solid rgba(0, 168, 232, 0.25);
  border-radius: var(--radius);
}

.contact-strip a {
  color: var(--text);
  font-weight: 600;
}

.contact-strip span {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
}
