:root {
  --navy: #002c5f;
  --navy-deep: #071b33;
  --cyan: #00b4e1;
  --red: #fa443f;
  --ink: #0f172a;
  --muted: #5b6b7c;
  --line: #d9e2ec;
  --bg: #f6f9fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(2, 24, 48, 0.10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--cyan); }

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 100; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { width: 160px; height: auto; }

.brand-name {
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  font-size: 1.05rem;
}

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

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}
.nav a:hover { background: #eef6fb; color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); background: #e6f5fb; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(0, 180, 225, .35), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(250, 68, 63, .18), transparent 55%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
  pointer-events: none;
}

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

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 760px;
}

.hero p {
  margin: 0 0 28px;
  max-width: 660px;
  color: #d7e9f6;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--cyan); color: #04283a; }
.btn-primary:hover { background: #29c7e8; color: #04283a; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #ff5b56; color: var(--white); }

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 18px 20px;
}
.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--white);
}
.stat span { color: #bfd8e8; font-size: .9rem; }

/* Sections */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--navy);
  letter-spacing: -.02em;
}
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e6f5fb;
  color: var(--navy);
  margin-bottom: 14px;
}

.card.accent { border-top: 4px solid var(--cyan); }
.card.red { border-top: 4px solid var(--red); }

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.solution-card h3 { margin: 0; }
.solution-card a {
  margin-top: auto;
  font-weight: 700;
  font-size: .9rem;
  color: var(--cyan);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.panel h3 { margin-top: 0; color: var(--navy); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list span { color: var(--muted); }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(0, 180, 225, .25);
  border-color: var(--cyan);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #c7d6e4;
  padding: 44px 0 28px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.site-footer h4 { color: var(--white); margin: 0 0 10px; font-size: .95rem; }
.site-footer p, .site-footer a { color: #c7d6e4; font-size: .9rem; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 26px;
  padding-top: 16px;
  font-size: .85rem;
  color: #9fb5c7;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 46px 0;
}
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-hero p { margin: 10px 0 0; color: #d7e9f6; max-width: 680px; }

/* Utility */
.muted { color: var(--muted); }
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e6f5fb;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
}
.section-tight { padding: 44px 0; }
.list-clean { margin: 0; padding-left: 18px; color: var(--muted); }
.list-clean li { margin: 6px 0; }

/* Responsive */
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
  }
  .nav.open { display: flex; }
  .nav a { display: block; }
  .stats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  .site-header, .hero-actions, .nav-toggle { display: none; }
  body { background: #fff; }
}

/* Specialty pages */
body.area-cyan { --accent: #00b4e1; }
body.area-red { --accent: #fa443f; }
body.area-blue { --accent: #4f8bd6; }
body.area-amber { --accent: #f5a623; }
body.area-green { --accent: #2bb673; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--navy); }
.breadcrumb span[aria-hidden="true"] { color: var(--line); }

.specialty-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(0, 180, 225, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), #0b3654);
}
.specialty-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 80%);
  pointer-events: none;
}
.specialty-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.specialty-hero .kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.specialty-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.specialty-hero p {
  margin: 0 0 24px;
  max-width: 640px;
  color: #d7e9f6;
  font-size: 1.05rem;
}
.specialty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.area-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, .16);
  font-weight: 700;
}

.specialty-hero.area-red {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(250, 68, 63, .35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), #4a1b1c);
}
.specialty-hero.area-red .kicker { color: #ff8b86; }

.specialty-hero.area-blue {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(79, 139, 214, .38), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), #1f3f66);
}
.specialty-hero.area-blue .kicker { color: #8fb9e8; }

.specialty-hero.area-amber {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(245, 166, 35, .38), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), #4a3520);
}
.specialty-hero.area-amber .kicker { color: #ffcf7a; }

.specialty-hero.area-green {
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(43, 182, 115, .38), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), #1f4a34);
}
.specialty-hero.area-green .kicker { color: #8fe3b8; }

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.specialty-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.specialty-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}
.specialty-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.step .num {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 6px;
}
.step strong { color: var(--navy); }
.step p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.chip {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: #eef6fb;
  border: 1px solid #d6e6f0;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.related a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: .9rem;
}

.solution-visual { padding: 24px 0 0; }
.solution-visual figure { margin: 0; }
.solution-visual img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.solution-visual figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 820px) {
  .specialty-hero .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .area-mark { font-size: 3.4rem; }
  .specialty-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
}

/* Solutions menu dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}
.nav-dropdown-link:hover,
.nav-dropdown-link[aria-current="page"] {
  background: #eef6fb;
  color: var(--navy);
}
.nav-dropdown-link .chevron { color: var(--cyan); font-size: .8rem; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 80;
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .9rem;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background: #eef6fb;
  color: var(--navy);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }

/* Detailed service blocks */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.detail-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.detail-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.detail-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.detail-card li { margin: 4px 0; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.case-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1rem; }
.case-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.faq-item h3 { margin: 0 0 6px; color: var(--navy); font-size: 1rem; }
.faq-item p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 820px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-link { display: flex; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 12px;
  }
  .nav-dropdown-menu a { padding: 6px 8px; }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .detail-grid,
  .case-grid { grid-template-columns: 1fr; }
}

.turnstile-field { margin: 10px 0 16px; }
.turnstile-field .form-note { margin: 8px 0 0; }

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1120px;
  z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(11, 31, 45, 0.16);
  padding: 16px 18px;
}
.consent-banner[hidden] { display: none; }
.consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.consent-text { flex: 1; min-width: 260px; }
.consent-text strong { color: var(--navy); }
.consent-text p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.consent-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.consent-link { color: var(--muted); font-size: .85rem; text-decoration: underline; }

@media (max-width: 820px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: none;
  }
  .consent-inner { flex-direction: column; align-items: flex-start; }
}


