:root {
  --navy: #0b1f3a;
  --navy-deep: #071427;
  --navy-mid: #143056;
  --cyan: #00c2d4;
  --cyan-soft: #7ee8f1;
  --cyan-dim: rgba(0, 194, 212, 0.14);
  --paper: #f5f8fb;
  --white: #ffffff;
  --ink: #0b1f3a;
  --muted: #4d6078;
  --line: rgba(11, 31, 58, 0.1);
  --shadow: 0 18px 50px rgba(7, 20, 39, 0.12);
  --radius: 18px;
  --header-h: 84px;
  --max: 1120px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--cyan-soft);
}

.lede,
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 16ch;
}

.section-intro.centered {
  text-align: center;
  margin-bottom: 56px;
}

.section-intro.centered h2,
.section-intro.centered .section-lead {
  margin-inline: auto;
}

.section-intro.centered .eyebrow {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.22);
}

.btn-primary:hover {
  background: #123056;
  box-shadow: 0 14px 28px rgba(0, 194, 212, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 31, 58, 0.18);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--cyan);
  color: var(--navy-deep);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a[data-nav] {
  position: relative;
  display: inline-flex;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a[data-nav]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a[data-nav]:hover,
.site-nav a[data-nav].is-active {
  color: var(--navy);
}

.site-nav a[data-nav].is-active::after,
.site-nav a[data-nav]:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.nav-overlay {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(0, 194, 212, 0.16), transparent 60%),
    linear-gradient(180deg, #f8fbfe 0%, var(--white) 70%);
  padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 18%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.35rem);
  font-weight: 600;
  max-width: 12ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.orbit {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 194, 212, 0.38);
}

.orbit-ring-1 {
  inset: 8%;
  animation: spin 28s linear infinite;
  border-style: dashed;
  border-color: rgba(0, 194, 212, 0.55);
}

.orbit-ring-2 {
  inset: 0;
  border-color: rgba(11, 31, 58, 0.14);
}

.orbit-ring-3 {
  inset: 18%;
  border-color: rgba(0, 194, 212, 0.32);
  animation: spin-rev 18s linear infinite;
}

.orbit-dot {
  position: absolute;
  top: 7%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px var(--cyan-dim);
  animation: orbit-travel 12s linear infinite;
}

.orbit-core {
  width: 62%;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.7),
    0 24px 50px rgba(11, 31, 58, 0.12);
  overflow: hidden;
  border: 1px solid var(--line);
}

.orbit-core img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-rev {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes orbit-travel {
  from {
    transform: rotate(0deg) translateX(min(46vw, 210px)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(min(46vw, 210px)) rotate(-360deg);
  }
}

/* About */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.about-body {
  font-size: 1.05rem;
  color: var(--muted);
}

.about-body p {
  margin-bottom: 1.1em;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.about-points li {
  position: relative;
  padding-left: 18px;
  color: var(--navy);
  font-weight: 500;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.card:hover,
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 212, 0.4);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--cyan);
  background: var(--cyan-dim);
  border-radius: 12px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3,
.why-card h3 {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.card p,
.why-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.services {
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(0, 194, 212, 0.07), transparent 60%),
    var(--white);
}

/* Why us */
.why {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-index {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 10px;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid) 55%, #0d3a4d);
  color: var(--white);
  padding: clamp(72px, 10vw, 110px) 0;
  text-align: center;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(0, 194, 212, 0.22), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(0, 194, 212, 0.16), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 16ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.cta-band .eyebrow {
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-info address {
  font-style: normal;
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 24px;
  border-left: 3px solid var(--cyan);
  background: var(--paper);
  border-radius: 0 14px 14px 0;
}

.contact-info a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 4px;
}

.contact-info a:hover {
  color: #087f8c;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--navy);
  background: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 128px;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}

.form-row.is-invalid input,
.form-row.is-invalid textarea {
  border-color: #c0392b;
}

.field-error {
  min-height: 1.1em;
  margin: 0;
  font-size: 0.78rem;
  color: #b03a2e;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status.is-success {
  color: #0e7a4b;
}

.contact-form .btn {
  justify-self: start;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 16px;
  padding: 4px;
}

.footer-brand strong,
.footer-brand a {
  color: var(--white);
}

.footer-brand a:hover {
  color: var(--cyan-soft);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-nav a {
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--cyan-soft);
}

.footer-copy {
  padding-top: 22px;
  font-size: 0.88rem;
}

/* Motion — only hide for animation when JS is active */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.is-visible {
  animation: rise 0.8s var(--ease) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .orbit-ring-1,
  .orbit-ring-3,
  .orbit-dot {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .orbit {
    width: min(100%, 340px);
  }

  .card-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-intro h2 {
    max-width: none;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 auto auto;
    width: min(100%, 360px);
    height: 100vh;
    z-index: 70;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 92px 28px 32px;
    gap: 18px;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
    box-shadow: -20px 0 50px rgba(11, 31, 58, 0.12);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 39, 0.35);
    z-index: 45;
  }

  body.nav-open .nav-overlay {
    display: block;
  }

  body.nav-open .site-nav {
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a[data-nav] {
    font-size: 1.15rem;
    padding: 12px 4px;
  }

  .header-cta {
    width: fit-content;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 760px) {
  .card-grid,
  .why-grid,
  .form-split,
  .about-points {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    max-width: none;
  }

  .contact-form {
    padding: 20px;
  }
}
