:root {
  --blue-900: #0b2545;
  --blue-700: #13315c;
  --blue-500: #1f5fa8;
  --blue-400: #2f78c9;
  --blue-100: #eaf2fb;
  --ink: #1b2430;
  --muted: #5b6472;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --gold: #c8973a;
  --radius: 14px;
  --max-w: 1120px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 24px;
}
.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-900);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--blue-700);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--blue-400); }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue-500);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-700); }
.btn-outline {
  background: transparent;
  border-color: var(--blue-500);
  color: var(--blue-500);
}
.btn-outline:hover { background: var(--blue-100); }
.nav-cta { flex-shrink: 0; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--blue-100) 0%, #fff 100%);
  padding: 64px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 12px;
}
h1 {
  font-size: 2.6rem;
  margin: 0 0 6px;
  color: var(--blue-900);
  line-height: 1.15;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--blue-700);
  font-weight: 600;
  margin: 0 0 4px;
}
.hero-location {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1rem;
}
.hero-description {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-900);
}
.stat-label { color: var(--muted); font-size: 0.9rem; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 {
  font-size: 1.9rem;
  color: var(--blue-900);
  margin: 0 0 10px;
}
.section-head p { color: var(--muted); margin: 0; }

.about-text p { color: var(--muted); max-width: 76ch; margin: 0 0 16px; }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-500);
  background: var(--blue-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; color: var(--blue-900); font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Locations */
.locations-list { display: flex; flex-direction: column; gap: 0; }
.location-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.location-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-100);
  -webkit-text-stroke: 1px var(--blue-400);
}
.location-type { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-500); font-weight: 700; margin-bottom: 4px; }
.location-name { font-weight: 600; color: var(--blue-900); margin-bottom: 2px; }
.location-address { color: var(--muted); font-size: 0.92rem; }
.location-phone { color: var(--blue-500); font-weight: 600; white-space: nowrap; }

/* Reviews */
.reviews-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.rating-badge { font-size: 2.4rem; font-weight: 700; color: var(--blue-900); }
.stars { color: var(--gold); letter-spacing: 2px; }
.awards { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.award-pill {
  background: var(--blue-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.avatar-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.review-name { font-weight: 600; color: var(--blue-900); font-size: 0.92rem; }
.review-context { color: var(--muted); font-size: 0.82rem; }
.review-text { color: var(--muted); font-size: 0.92rem; margin: 0 0 10px; }
.review-date { font-size: 0.78rem; color: var(--blue-500); font-weight: 600; }
.reviews-cta { margin-top: 28px; }

/* Publications */
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.pub-year { color: var(--blue-500); font-weight: 700; }
.pub-title { color: var(--blue-900); font-weight: 600; margin: 0 0 2px; }
.pub-journal { color: var(--muted); font-size: 0.88rem; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-block { margin-bottom: 20px; }
.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 1.1rem; font-weight: 600; color: var(--blue-900); }
.contact-value a { color: var(--blue-500); text-decoration: none; }
.short-locations { list-style: none; margin: 0; padding: 0; }
.short-locations li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.short-locations strong { color: var(--blue-900); display: block; }
.short-locations span { color: var(--muted); font-size: 0.9rem; }

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: #cbd8ec;
  padding: 30px 0;
  font-size: 0.85rem;
  text-align: center;
}
.site-footer a { color: #fff; text-decoration: underline; }
.footer-links { margin-top: 8px; }

/* Legal page specific */
.legal-hero {
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: #fff;
  padding: 70px 0;
}
.legal-hero .eyebrow { color: #9fc2ea; }
.legal-hero h1 { color: #fff; font-size: 2.3rem; }
.legal-hero p { color: #d7e4f5; max-width: 70ch; font-size: 1.05rem; }
.legal-hero .btn-outline { border-color: #fff; color: #fff; }
.legal-hero .btn-outline:hover { background: rgba(255,255,255,0.1); }

.credentials-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.credentials-list li {
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  border-left: 3px solid var(--blue-500);
}

.quote-block {
  border-left: 4px solid var(--blue-500);
  padding: 4px 0 4px 24px;
  color: var(--blue-700);
  font-size: 1.15rem;
  font-style: italic;
  margin: 40px 0;
}

.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; max-width: 260px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .cards-grid-2, .cards-grid-4, .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .credentials-list { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .header-inner { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; gap: 14px; }
}
