:root {
  --navy: #1f3d5b;
  --navy-dark: #173049;
  --text: #4a4a4a;
  --heading: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --soft: #f6f7f8;
  --red: #e05a5a;
  --purple: #5b57d6;
  --green: #46c265;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 12px 0 10px;
}
.site-header .wrap.header-inner,
.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 72px;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  line-height: 1.15;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
  flex: 0 0 auto;
  margin-right: 16px;
}
.logo-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-mark {
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  color: #2f5f8f;
}
.logo-mark em {
  font-style: italic;
  font-weight: 700;
}

nav {
  flex: 0 1 auto;
}
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}
nav a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  padding: 8px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
nav a:hover,
nav a.active {
  color: #fff;
  background: #2f6fad;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 380px;
  background: #8a9aaa center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,30,40,.18), rgba(20,30,40,.05));
}
.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(40, 46, 52, 0.78);
  color: #fff;
  padding: 28px 32px 24px;
  max-width: 520px;
  margin: 48px 0;
}
.hero-card h1 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 500;
}
.hero-card p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: #e9e9e9;
}
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--navy-dark); text-decoration: none; color: #fff; }
.btn-block {
  display: block;
  text-align: center;
  width: 100%;
  padding: 16px 22px;
  font-size: 22px;
  font-weight: 500;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.hero-dots button {
  width: 28px;
  height: 4px;
  border: 0;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: #fff; }

/* Cards */
.cards {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
.icon-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.icon-circle svg { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 8; }
.icon-red { background: linear-gradient(160deg, #ef6b6b 0%, #d94b4b 55%, #c93d3d 100%); }
.icon-blue { background: linear-gradient(160deg, #7eb8e8 0%, #5aa3dc 55%, #4a96d2 100%); }
.icon-purple { background: linear-gradient(160deg, #7a74e8 0%, #5b54d4 55%, #4a44c4 100%); }
.icon-green { background: linear-gradient(160deg, #62d57a 0%, #3fbe5d 55%, #34a850 100%); }

.cards h2 {
  color: var(--heading);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 12px;
}
.cards p {
  max-width: 320px;
  margin: 0 auto 16px;
  color: var(--muted);
}
.read-more {
  color: #5a7390;
  font-size: 16px;
}

/* Questions band */
.questions {
  background: var(--soft);
  border-top: 1px dashed #d9d9d9;
  border-bottom: 1px dashed #d9d9d9;
  padding: 36px 0 42px;
  margin: 20px 0 0;
  position: relative;
}
.questions::before {
  content: "";
  position: absolute;
  left: max(20px, calc((100% - var(--max)) / 2));
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--navy);
}
.questions h2 {
  text-align: center;
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 600;
  color: var(--heading);
}
.questions p {
  text-align: center;
  margin: 0 0 22px;
  color: var(--muted);
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 56px 0 72px;
  align-items: center;
}
.about-photo {
  min-height: 220px;
  background: #2f5f8f center/cover no-repeat;
}
.about-preview h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 500;
  color: var(--heading);
}
.about-preview p { margin: 0 0 16px; }

/* Inner pages */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 42px 0;
}
.page-hero h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 500;
}
.page-content {
  padding: 48px 0 72px;
  max-width: 820px;
}
.office-photo {
  width: 100%;
  margin: 8px 0 28px;
  border: 1px solid var(--line);
}
.office-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.office-photo figcaption {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 0 0;
}
.page-content h2 {
  color: var(--heading);
  font-size: 24px;
  margin: 32px 0 12px;
}
.page-content p, .page-content li { color: var(--text); }
.page-content ul { padding-left: 20px; }
.note {
  background: var(--soft);
  border-left: 4px solid var(--navy);
  padding: 14px 16px;
  margin: 20px 0;
}

.locations {
  display: grid;
  gap: 20px;
}
.loc-card {
  border: 1px solid var(--line);
  padding: 22px;
  background: #fff;
}
.loc-card h3 { margin: 0 0 8px; color: var(--navy); }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
}
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

form .row { margin-bottom: 14px; }
label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--heading); }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }

footer {
  background: var(--navy);
  color: #d7e0ea;
  padding: 36px 0 24px;
  font-size: 14px;
}
footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.qr-block img {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
  margin: 8px 0;
}
.qr-block p { margin: 0; font-size: 12px; color: #c5d0db; }
.footer-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
}
.legal {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 16px;
  color: #b7c4d1;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 84px;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 20px 20px;
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 12px; }
  .cards, .about-preview, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 320px; }
  .hero-card { margin: 28px 0; max-width: 100%; }
}
