:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --text: #142433;
  --muted: #4f6476;
  --primary: #0b6ea8;
  --primary-hover: #095f90;
  --accent: #1f7f73;
  --border: #d6e1ea;
  --shadow: 0 14px 34px rgba(18, 43, 66, 0.08);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--primary-hover);
}

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

.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  background: var(--text);
  color: #fff;
  padding: 8px 12px;
  border-radius: 0 0 6px 0;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 4px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.language-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-wrap {
  padding: 8px 0 14px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--border);
  background: #f8fbfd;
}

.hero {
  position: relative;
  padding: 96px 0 88px;
  color: #fff;
  background-color: #123855;
  /* Hero image source:
     To replace later, update only this URL path:
     url("images/hero-office.jpg") */
  background-image:
    linear-gradient(115deg, rgba(6, 25, 40, 0.72), rgba(8, 30, 48, 0.5)),
    url("images/hero-office.jpg"),
    linear-gradient(135deg, #315f7e 0%, #2b7e8c 44%, #4f7b9d 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 26, 41, 0.22), rgba(7, 26, 41, 0.08));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 12px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
}

.lead {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 52ch;
}

.hero-support {
  margin: 12px 0 0;
  max-width: 52ch;
  color: rgba(240, 247, 253, 0.92);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-note {
  margin: 14px 0 0;
  color: rgba(240, 247, 253, 0.9);
  font-size: 15px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.96);
  color: #153047;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #fff;
}

.reveal-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trust-stats {
  padding: 18px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px 14px 12px;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.stat-value {
  margin: 0;
  font-size: clamp(24px, 2.9vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  color: #123a59;
}

.stat-label {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.office-quick {
  padding: 12px 0 14px;
}

.office-quick-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px 22px;
}

.office-quick-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.office-quick-card p {
  margin: 8px 0;
}

.office-quick-card a {
  font-weight: 700;
}

.office-quick-card strong {
  color: var(--text);
}

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

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.hero-card p {
  margin: 8px 0;
}

.hero-card .muted {
  color: var(--muted);
}

.comprehensive-care {
  padding: 6px 0 8px;
}

.care-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 18px;
}

.care-grid h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.care-grid p {
  margin: 0 0 12px;
  color: var(--muted);
}

.care-points {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.care-points p {
  margin: 0 0 10px;
  color: #22445d;
  padding-left: 14px;
  position: relative;
}

.care-points p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.services {
  padding: 18px 0 16px;
}

.services h2,
.trust h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.2;
  margin: 0 0 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.24;
}

.service-card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.service-card a {
  font-weight: 700;
  text-decoration: none;
}

.reviews {
  padding: 20px 0 18px;
}

.reviews h2 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.2;
  margin: 0 0 16px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.review-card blockquote {
  margin: 0;
}

.review-card p {
  margin: 0;
  color: #1a3347;
  font-size: 15px;
}

.review-card figcaption {
  margin-top: auto;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.trust {
  padding: 8px 0 44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.trust ul {
  margin: 0;
  padding-left: 18px;
}

.trust li {
  margin-bottom: 8px;
}

.quick-links {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}

.quick-links h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.quick-links a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 8px;
}

.reviews-fab {
  position: fixed;
  right: 16px;
  top: 52%;
  transform: translateY(-50%);
  z-index: 40;
  border: 1px solid #0a5f90;
  background: #0b6ea8;
  color: #fff;
  border-radius: 999px;
  padding: 11px 14px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(8, 39, 62, 0.24);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.reviews-fab:hover,
.reviews-fab:focus-visible {
  background: #095f90;
  box-shadow: 0 14px 24px rgba(8, 39, 62, 0.3);
}

@media (hover: hover) {
  .stat-card:hover,
  .service-card:hover,
  .review-card:hover {
    transform: translateY(-4px);
    border-color: #b7ccdc;
    box-shadow: 0 18px 28px rgba(16, 41, 61, 0.14);
  }

  .reviews-fab:hover {
    transform: translateY(-50%) translateX(-2px);
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 980px) {
  .stats-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-grid,
  .trust-grid,
  .office-quick-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 84px 0 70px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-fab {
    top: auto;
    bottom: 16px;
    right: 12px;
    transform: none;
    padding: 10px 12px;
    min-height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .stats-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 74px 0 60px;
  }

  h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    font-size: 13px;
    padding: 7px 9px;
  }

  .lead {
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-fab {
    right: 10px;
    bottom: 14px;
    min-height: 36px;
    padding: 8px 11px;
  }
}

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

  .reveal-section,
  .reveal-section.is-visible,
  .stat-card,
  .service-card,
  .review-card,
  .reviews-fab {
    transition: none !important;
    transform: none !important;
  }

  .reveal-section {
    opacity: 1;
  }
}
