/* ============================================================
   DESIGN TOKENS & RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #080d1a;
  --surface:      #0f1929;
  --surface-2:    #162038;
  --surface-3:    #1c2a48;
  --border:       #1e3052;
  --border-light: #2d4472;
  --text:         #ddeaff;
  --text-muted:   #6b8db8;
  --text-subtle:  #364e70;
  --accent:       #4080ff;
  --accent-hover: #6fa0ff;
  --accent-glow:  rgba(64, 128, 255, 0.12);
  --cyan:         #00d4e8;
  --green:        #00c48c;
  --orange:       #f59e0b;
  --red:          #ef4444;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:    0 8px 48px rgba(0, 0, 0, 0.5);
  --ease:         0.2s ease;
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --max-w:        1100px;
  --nav-h:        64px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); }
h3 { font-size: 1.0625rem; }
h4 { font-size: 0.9375rem; }

p {
  color: #90aed4;
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover { color: var(--accent-hover); }

ul, ol { padding-left: 1.25rem; }

li {
  color: #90aed4;
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section    { padding: 88px 0; }
.section-sm { padding: 52px 0; }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.15;
}

.nav-logo-text span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-2);
}

.nav-links .nav-cta a {
  background: var(--accent);
  color: #fff;
  margin-left: 6px;
  padding: 7px 16px;
}

.nav-links .nav-cta a:hover {
  background: var(--accent-hover);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  padding: 6px;
  line-height: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: calc(var(--nav-h) + 88px) 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(64, 128, 255, 0.11) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 82% 65%, rgba(0, 212, 232, 0.055) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 48, 82, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 48, 82, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0, 212, 232, 0.07);
  border: 1px solid rgba(0, 212, 232, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 22px;
  background: linear-gradient(145deg, #e8f2ff 0%, #8ab8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font);
  text-decoration: none;
  transition: all var(--ease);
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(64, 128, 255, 0.38);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--accent);
}

/* ============================================================
   CREDENTIAL BADGES (hero)
   ============================================================ */
.cred-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
}

.cred-badge svg { color: var(--accent); flex-shrink: 0; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 12px; }

.section-header p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  border-color: rgba(64, 128, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(64, 128, 255, 0.12);
  color: inherit;
}

.service-icon {
  width: 46px;
  height: 46px;
  background: var(--accent-glow);
  border: 1px solid rgba(64, 128, 255, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.0625rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.9375rem;
  flex: 1;
  margin-bottom: 22px;
  color: #7a9cc0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--ease), color var(--ease);
}

.service-card:hover .service-link {
  gap: 10px;
  color: var(--accent-hover);
}

/* ============================================================
   ABOUT / STATS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-grid h2  { margin-bottom: 20px; }
.about-grid p   { margin-bottom: 16px; }
.about-grid p:last-of-type { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ============================================================
   AVAILABILITY
   ============================================================ */
.availability-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.availability-status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 196, 140, 0.18);
  flex-shrink: 0;
  margin-top: 4px;
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 196, 140, 0.18); }
  50%       { box-shadow: 0 0 0 9px rgba(0, 196, 140, 0.05); }
}

.status-label {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text);
  margin-bottom: 4px;
}

.status-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT CTA
   ============================================================ */
.contact-cta {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(64, 128, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta h2 { margin-bottom: 14px; }

.contact-cta > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-methods {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 250px;
  margin-bottom: 18px;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-contact-links a:hover { color: var(--accent); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li { margin: 0; color: inherit; }

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--ease);
}

.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 52px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 15% 50%, rgba(64, 128, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color var(--ease);
}

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

.page-hero h1 {
  margin-bottom: 16px;
  text-align: left;
  max-width: 720px;
}

.page-hero .hero-sub {
  text-align: left;
  margin: 0;
  max-width: 640px;
  font-size: 1.0625rem;
}

/* ============================================================
   DETAIL ITEMS (subpage content)
   ============================================================ */
.content-body { padding: 72px 0; }

.content-block { margin-bottom: 48px; }
.content-block:last-child { margin-bottom: 0; }

.content-block h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.content-block p { font-size: 0.9875rem; }

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

.detail-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 24px 22px 26px;
}

.detail-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.detail-item p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Cert pills */
.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.cert-pills li { margin: 0; color: inherit; }

.cert-pills a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--ease), color var(--ease);
}

.cert-pills a::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.8125rem;
}

.cert-pills a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Contact strip (subpages) */
.contact-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.contact-strip h3 { margin-bottom: 6px; font-size: 1.125rem; }
.contact-strip p  { margin: 0; font-size: 0.9375rem; }

.contact-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.btn-sm {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.about-cta { margin-top: 24px; }

.stat-number-sm { font-size: 1.4rem; }

p + .detail-items { margin-top: 20px; }

.detail-items-grid {
  display: grid;
  flex-direction: unset;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .services-grid    { grid-template-columns: 1fr; }
  .about-grid       { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 56px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(15, 25, 41, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 2px;
  }

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

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 10px 14px;
    width: 100%;
  }

  .nav-links .nav-cta a { margin-left: 0; margin-top: 6px; text-align: center; }

  .nav-toggle { display: flex; }

  .hero { padding: calc(var(--nav-h) + 60px) 0 60px; }

  .hero-ctas    { flex-direction: column; align-items: center; }
  .about-stats  { grid-template-columns: 1fr 1fr; }
  .contact-cta  { padding: 40px 24px; }
  .contact-strip { padding: 28px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section      { padding: 60px 0; }
  .content-body { padding: 52px 0; }
}
