:root {
  --navy-900: #0b1a2e;
  --navy-800: #11243d;
  --navy-700: #1a3352;
  --slate-600: #475569;
  --slate-500: #5b6b80;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-700: #0f766e;
  --text: #0f1b2b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 26, 46, 0.08);
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--teal-700); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--teal-400);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 26, 46, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-400);
}

.brand-sub {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--white);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #d5dde8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
}
.site-nav a:hover { color: var(--white); }

.site-nav .nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--teal-400);
  border-radius: 999px;
  color: var(--teal-400);
}
.site-nav .nav-cta:hover {
  background: var(--teal-400);
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal-400);
  color: var(--navy-900);
}
.btn-primary:hover { background: #5eead4; }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(45, 212, 191, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(56, 120, 220, 0.25), transparent 70%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 96px 0 88px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 1160px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
}
.hero .eyebrow { color: var(--teal-400); }

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  max-width: 15ch;
  margin-bottom: 22px;
}

.accent {
  background: linear-gradient(90deg, var(--teal-400), #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #c9d4e2;
  max-width: 58ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-facts li { display: flex; flex-direction: column; }
.fact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9fb0c6;
}
.fact-value {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

/* Sections */
.section { padding: 88px 0; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2,
.about-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-intro { color: var(--slate-600); font-size: 1.08rem; }

.services { background: var(--slate-100); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), #38bdf8);
}
.card:hover { transform: translateY(-3px); border-color: #b6e9e2; }

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--teal-400);
  font-family: var(--font-head);
  font-weight: 700;
}

.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--slate-600); margin: 0; font-size: 0.97rem; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-text p { color: var(--slate-600); font-size: 1.05rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 32px;
  background: var(--navy-900);
  border-radius: 20px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.steps::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  border: 40px solid rgba(45, 212, 191, 0.08);
  pointer-events: none;
}
.steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
}
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: 2px;
  width: 2px;
  background: rgba(45, 212, 191, 0.35);
}
.step-dot {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.18);
}
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { margin: 0; color: #c9d4e2; font-size: 0.97rem; }

/* Contact */
.contact { background: var(--slate-100); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 22px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 14px; }

address { font-style: normal; color: var(--slate-600); line-height: 1.8; }

.details { margin: 0; }
.details div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-200);
}
.details div:last-child { border-bottom: 0; }
.details dt { color: var(--slate-500); }
.details dd { margin: 0; font-weight: 600; color: var(--text); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #b4c2d4;
  padding: 48px 0 36px;
  font-size: 0.93rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand { margin: 0; }
.footer-brand .brand-name { font-size: 1.25rem; }
.footer-address { margin: 0; }
.legal { max-width: 80ch; }
.copyright { margin: 0; color: #8fa1b8; }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }
  .site-nav li a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 1px solid var(--teal-400);
  }

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

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .hero { padding: 64px 0 60px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.3rem; }
  .brand-sub { font-size: 0.9rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { gap: 16px 32px; }
  .steps, .contact-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
