:root {
  --blue: #046bd2;
  --blue-dark: #045cb4;
  --blue-light: #e8f2fc;
  --ink: #1e293b;
  --ink-soft: #475569;
  --bg: #ffffff;
  --bg-soft: #f0f5fa;
  --line: rgba(30, 41, 59, 0.1);
  --white: #ffffff;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: min(1140px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--blue);
  color: var(--white);
  font-size: 0.82rem;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
}

.top-bar a {
  color: var(--white);
  opacity: 0.92;
}

.top-bar a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(4, 107, 210, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand strong span {
  color: var(--blue);
}

.brand small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.nav .cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav .cta:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--white);
  padding: 1.25rem;
  flex-direction: column;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-nav nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.close-menu {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 92, 180, 0.92) 0%, rgba(4, 107, 210, 0.78) 45%, rgba(4, 107, 210, 0.55) 100%),
    linear-gradient(0deg, rgba(30, 41, 59, 0.35), transparent 60%);
}

.hero-content {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 0;
  max-width: 680px;
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-white:hover {
  background: var(--blue-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-blue .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 760px;
}

.lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
}

.section-blue .lede {
  color: rgba(255, 255, 255, 0.88);
}

.intro-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.intro-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(4, 107, 210, 0.12);
}

.intro-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* Service cards */
.service-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.75rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  border-color: rgba(4, 107, 210, 0.25);
  box-shadow: 0 12px 32px rgba(4, 107, 210, 0.1);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Why choose */
.why-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.why-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Stats band */
.stats-band {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 700px) {
  .stats-band {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* CTA */
.cta-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
}

@media (min-width: 800px) {
  .cta-panel {
    grid-template-columns: 1fr auto;
    padding: 3rem;
  }
}

.cta-panel .title {
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

/* Page hero */
.page-hero {
  background: var(--bg-soft);
  padding: clamp(3.5rem, 8vw, 5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.prose {
  max-width: 720px;
}

.prose p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose p + p {
  margin-top: 1.25rem;
}

.service-detail {
  display: grid;
  gap: 0;
}

.service-detail-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .service-detail-item {
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
  }
}

.service-detail-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.service-detail-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.service-detail-item p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--blue);
}

.contact-card a:hover {
  text-decoration: underline;
}

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

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid rgba(4, 107, 210, 0.3);
  border-color: var(--blue);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: #6eb3f7;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

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

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 799px) {
  .top-bar {
    display: none;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 480px;
  }
}
