:root {
  --azure: #0094d9;
  --azure-deep: #0a6ea3;
  --azure-deeper: #08506f;
  --navy: #083865;
  --navy-deep: #062a4d;
  --royal: #1a4f8a;
  --sky: #eaf4fb;
  --muted: #5a6b7b;
  --paper: #ffffff;
  --paper-alt: #f7f9fc;
  --line: #e2e9f0;
  --radius: 12px;
  --maxw: 1120px;
  --header-h: 80px;
  --fs-label: 0.78rem;
  --fs-caption: 0.875rem;
  --fs-body: 1rem;
  --fs-h3: 1.25rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
p { margin: 0 0 16px; }
a { color: var(--azure-deep); text-decoration: none; }
a:hover { color: var(--azure-deeper); }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 4px; }
.btn:focus-visible, .nav-cta:focus-visible { outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 40px; width: auto; display: block; }
.nav-disclosure { display: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); font-weight: 400; font-size: var(--fs-caption); }
.nav a:hover { color: var(--azure-deep); }
.nav .nav-cta {
  background: var(--azure-deep); color: #fff; font-weight: 600; padding: 9px 18px; border-radius: 8px;
}
.nav .nav-cta:hover { background: var(--azure-deeper); }

.nav-toggle { display: none; list-style: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform 0.2s, opacity 0.2s; }
.nav-disclosure[open] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-disclosure[open] .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-disclosure[open] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(0, 148, 217, 0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--royal) 100%);
  color: #fff;
  padding: clamp(72px, 12vw, 132px) 0 clamp(52px, 8vw, 92px);
}
.hero-inner { max-width: 760px; }
.eyebrow, .section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: var(--fs-label); font-weight: 600;
  margin: 0 0 14px; color: var(--azure-deep);
}
.eyebrow { color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 14px; }
.tagline { color: #fff; font-size: var(--fs-h3); font-weight: 600; margin-bottom: 18px; }
.hero-sub { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-body); max-width: 620px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; padding: 13px 26px; border-radius: 9px; transition: background 0.18s, color 0.18s, transform 0.05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--azure-deep); color: #fff; }
.btn-primary:hover { background: var(--azure-deeper); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Sections */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-tint { background: var(--paper-alt); }
.section-intro { color: var(--muted); max-width: 640px; font-size: var(--fs-body); margin-bottom: 36px; }
.section-eyebrow.light { color: #fff; }
.section-intro.light { color: rgba(255, 255, 255, 0.7); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; margin-top: 24px; }
.about-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.about-points li { padding-left: 22px; position: relative; color: var(--muted); }
.about-points li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 9px; height: 9px; border-radius: 50%; background: var(--azure); }
.about-points strong { color: var(--navy); font-weight: 600; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: card; list-style: none; margin: 0; padding: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; border-top: 3px solid var(--azure);
  transition: transform 0.18s, box-shadow 0.18s; counter-increment: card;
}
.card::before {
  content: "0" counter(card);
  display: block; margin-bottom: 12px;
  font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.12em;
  color: var(--azure-deep);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(8, 56, 101, 0.12); }
.card p { color: var(--muted); margin: 0; font-size: var(--fs-caption); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature p { color: var(--muted); margin: 0; }
.feature h3 { position: relative; padding-bottom: 10px; }
.feature h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--azure); border-radius: 2px; }

/* Dark section */
.section-dark { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; }
.section-dark h2 { color: #fff; }
.feature.dark h3 { color: #fff; }
.feature.dark p { color: rgba(255, 255, 255, 0.78); }

/* CTA */
.cta-band { background: var(--sky); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.contact-details { text-align: right; }
.contact-line { color: var(--muted); margin: 12px 0 0; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-meta { margin: 0; font-size: var(--fs-caption); }

/* Responsive */
@media (max-width: 860px) {
  .nav-disclosure { display: block; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav-disclosure[open] ~ .nav {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .contact-details { text-align: left; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header, .hero-actions, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .hero, .section-dark, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
  h1, h2, h3, .eyebrow, .section-eyebrow, .tagline, .hero h1 { color: var(--navy) !important; }
  .hero-sub, .section-intro.light, .feature.dark p, .footer-meta { color: #333 !important; }
  .btn-primary { background: none !important; color: var(--navy) !important; padding: 0 !important; text-decoration: underline; }
  .card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ccc; }
  a { color: #000 !important; }
}
