:root {
  --page-background: #f4f8fc;
  --surface-background: rgba(255, 255, 255, 0.92);
  --surface-border: rgba(34, 123, 196, 0.16);
  --brand-blue: #227bc4;
  --brand-blue-deep: #175b93;
  --text-primary: #16324f;
  --text-muted: #5b7188;
  --shadow: 0 24px 80px rgba(22, 50, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(34, 123, 196, 0.18), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--page-background) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(22, 50, 79, 0.08);
  backdrop-filter: blur(10px);
}

.site-nav__brand,
.site-nav__links a,
.page-links a,
.button {
  text-decoration: none;
}

.site-nav__brand {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav__links a {
  color: var(--brand-blue-deep);
  font-weight: 600;
}

.page-shell {
  min-height: 100vh;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.hero {
  width: 100%;
  padding: 48px clamp(24px, 4vw, 64px);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: var(--surface-background);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-logo {
  width: min(100%, 480px);
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.summary {
  width: min(100%, 640px);
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.7;
}

.contact {
  margin: 28px 0 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.contact a {
  color: var(--brand-blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  box-shadow: 0 14px 30px rgba(34, 123, 196, 0.24);
}

.button--secondary {
  color: var(--brand-blue-deep);
  background: rgba(34, 123, 196, 0.08);
  border: 1px solid rgba(34, 123, 196, 0.16);
}

.hero-image-frame {
  margin: 32px 0 0;
  border: 1px solid rgba(34, 123, 196, 0.12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(22, 50, 79, 0.14);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.content-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.content-card,
.location-blurb {
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: var(--surface-background);
  box-shadow: var(--shadow);
}

.content-card {
  padding: 28px 24px;
}

.content-card h2,
.location-blurb h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.content-card p,
.location-blurb p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.location-blurb {
  margin-top: 20px;
  padding: 32px clamp(24px, 4vw, 40px);
}

.page-links {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page-links a {
  color: var(--brand-blue-deep);
  font-weight: 700;
}

.subpage-hero,
.subpage-section {
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: var(--surface-background);
  box-shadow: var(--shadow);
}

.subpage-hero {
  padding: 42px clamp(24px, 4vw, 56px);
}

.subpage-section {
  margin-top: 24px;
  padding: 32px clamp(24px, 4vw, 40px);
}

.subpage-section h2,
.subpage-hero h1 {
  margin: 0 0 14px;
}

.subpage-hero p,
.subpage-section p,
.subpage-section li {
  color: var(--text-muted);
  line-height: 1.7;
}

.service-list,
.contact-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list li + li {
  margin-top: 12px;
}

.contact-list a {
  color: var(--brand-blue-deep);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 14px 40px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .hero-logo {
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .summary {
    line-height: 1.6;
  }
}

@media (max-width: 860px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}
