:root {
  --bg: #f4f6f9;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #1a2332;
  --muted: #5c6b7a;
  --accent: #002b5b;
  --accent2: #004080;
  --accent-light: #e8eef5;
  --border: #dde3ea;
  --header-bg: #002b5b;
  --header-text: #ffffff;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(0, 43, 91, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .logo { font-family: Georgia, "Times New Roman", serif; }

a { color: var(--accent2); }

img { max-width: 100%; }

.topbar {
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.45rem 5vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar a { color: #fff; text-decoration: none; }

header.main-header {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 0.85rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid var(--accent2);
  position: sticky;
  top: 0;
  z-index: 200;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--header-text);
  text-decoration: none;
  line-height: 1.2;
}

.logo small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.85;
  font-family: "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

nav.main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  align-items: center;
}

nav.main a {
  color: var(--header-text);
  text-decoration: none;
  font-size: 0.86rem;
  opacity: 0.88;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

nav.main a:hover,
nav.main a.active {
  opacity: 1;
  border-bottom-color: #7eb8ff;
}

.header-cta { flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

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

.btn-outline {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent2);
}

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

main { flex: 1; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 5vw;
}

.section-title {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: var(--accent);
}

.card p { font-size: 0.9rem; color: var(--muted); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 5vw;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-split h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent2);
  background: var(--accent-light);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.stats-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-size: 1.75rem;
  color: var(--accent2);
  font-family: Georgia, serif;
}

.stat span { font-size: 0.75rem; color: var(--muted); }

.trust-band {
  background: var(--accent);
  color: #fff;
  padding: 1rem 5vw;
  text-align: center;
  font-size: 0.85rem;
}

.trust-band span { margin: 0 1rem; opacity: 0.95; }

.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 3rem 5vw;
  text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }

.cta-band p {
  opacity: 0.92;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.sector-tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
}

.testimonial {
  font-style: italic;
  color: var(--muted);
  border-left: 3px solid var(--accent2);
  padding-left: 1rem;
  margin: 0.75rem 0;
}

.testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline {
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
  padding-left: 1.5rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--accent2);
  border-radius: 50%;
}

.timeline-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }

.page-header {
  background: var(--accent-light);
  padding: 2.5rem 5vw;
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); }

.page-header p { color: var(--muted); margin-top: 0.5rem; max-width: 40rem; }

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a { text-decoration: none; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail ul {
  margin: 0.75rem 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

form.contact { display: grid; gap: 1rem; }

form.contact label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

form.contact input,
form.contact select,
form.contact textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
}

form.contact input:focus,
form.contact select:focus,
form.contact textarea:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(0, 64, 128, 0.12);
}

form.contact textarea { min-height: 130px; resize: vertical; }

.form-msg {
  font-size: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  display: none;
}

.form-msg.ok { display: block; background: #dcfce7; color: #166534; }

.form-msg.err { display: block; background: #fee2e2; color: #991b1b; }

.legal-text {
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-text h2 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

footer {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 2.5rem 5vw 1.25rem;
  margin-top: auto;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

footer h4 { font-size: 0.85rem; margin-bottom: 0.75rem; }

footer p { font-size: 0.82rem; opacity: 0.85; line-height: 1.6; }

footer a {
  color: var(--header-text);
  opacity: 0.78;
  text-decoration: none;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.35rem;
}

footer a:hover { opacity: 1; }

.footer-note {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  opacity: 0.7;
  text-align: center;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail,
  .contact-grid,
  .grid-2 { grid-template-columns: 1fr; }
}

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

  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 1rem 5vw 1.25rem;
    border-bottom: 3px solid var(--accent2);
  }

  nav.main.open { display: flex; }

  header.main-header { flex-wrap: wrap; position: relative; }

  .header-cta { width: 100%; text-align: center; }

  .hero-split { grid-template-columns: 1fr; padding: 2rem 5vw; }

  .stats-box { grid-template-columns: 1fr 1fr; }
}
