:root {
  --navy: #01233f;
  --navy-dark: #011729;
  --navy-light: #0d3a5c;
  --accent: #d9a441;
  --ink: #10202f;
  --muted: #58707f;
  --heading: #01233f;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, .92);
  --border: #e2e8ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(1, 35, 63, 0.08);
  --font-head: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #dbe6ee;
    --muted: #93a7b6;
    --heading: #f2f6f9;
    --bg: #0a141d;
    --bg-alt: #101f2c;
    --surface: #132535;
    --header-bg: rgba(10, 20, 29, .85);
    --border: #24394a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #dbe6ee;
  --muted: #93a7b6;
  --heading: #f2f6f9;
  --bg: #0a141d;
  --bg-alt: #101f2c;
  --surface: #132535;
  --header-bg: rgba(10, 20, 29, .85);
  --border: #24394a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  transition: background-color .2s ease, color .2s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--muted); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.8em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(1,35,63,.25); }
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--heading);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.nav-cta { flex-shrink: 0; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--heading);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s ease, transform .15s ease;
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217,164,65,.15), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 120px 0 100px;
}
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: .5em;
}
.hero h1 span { color: var(--accent); }
.hero-lead {
  color: rgba(255,255,255,.78);
  font-size: 1.15rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-lead { font-size: 1.05rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.stat-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: .2em;
}
.stat-label { color: rgba(255,255,255,.85); margin: 0; font-size: .95rem; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  scroll-margin-top: 100px;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(1,35,63,.14); }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--heading);
  transition: gap .15s ease;
}
.service-card:hover .service-more { gap: 10px; color: var(--accent); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--heading);
  stroke-width: 2.4;
}
.service-icon svg circle { fill: var(--accent); stroke: none; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.service-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: .93rem;
  color: var(--ink);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  padding: 56px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0; font-size: 1.5rem; max-width: 560px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-grid h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.contact-label {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-list a { font-weight: 500; color: var(--heading); }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
  color: var(--heading);
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: .8em 1em;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,164,65,.18);
}
.form-submit { width: 100%; margin-top: 4px; }
.form-note {
  margin: 14px 0 0;
  font-size: .9rem;
  color: var(--heading);
  min-height: 1.2em;
}

/* Service detail pages */
.page-hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217,164,65,.15), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 64px 0 72px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 760px;
}
.page-hero-lead {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0;
}

.detail-intro {
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--ink);
}

.detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 16px;
}
.detail-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}
.detail-block-index {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.detail-block h3 { font-size: 1.15rem; margin-bottom: .4em; }
.detail-block p { margin: 0; }

.detail-list-block ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.detail-list-block ul li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  color: var(--ink);
}
.detail-list-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.other-services {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 24px;
}
.other-services-head { margin-bottom: 24px; }
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.other-service-card {
  display: block;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.other-service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.other-service-card .eyebrow { margin-bottom: .3em; font-size: .72rem; }
.other-service-card h3 { font-size: 1.05rem; margin-bottom: 0; }

@media (max-width: 640px) {
  .detail-block { grid-template-columns: 1fr; }
  .detail-list-block ul { grid-template-columns: 1fr; }
  .other-services-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo { height: 30px; border-radius: 6px; }
.footer-inner p { margin: 0; color: rgba(255,255,255,.6); font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }
  .site-header.open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 168px);
    left: 24px;
  }
  .theme-toggle { margin-left: auto; }
  .hero { padding: 96px 0 72px; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-band-inner { justify-content: center; text-align: center; }
}
