:root {
  --page-bg: #f5f9fc;
  --surface: #ffffff;
  --surface-muted: #f0f6fa;
  --text: #10233b;
  --muted: #5f7283;
  --line: #d5e4ec;
  --brand-navy: #06275f;
  --brand-teal: #078fa5;
  --accent: var(--brand-teal);
  --accent-dark: var(--brand-navy);
  --shadow: 0 22px 50px rgba(15, 39, 58, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(118, 163, 192, 0.18), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, var(--page-bg) 44%, #eef5f9 100%);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0 2rem;
}

.sticky-banner {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(6, 39, 95, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(6, 39, 95, 0.12);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-110%);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.sticky-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-banner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.sticky-logo-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 10px;
}

.sticky-logo {
  width: 96px;
  height: auto;
  background: transparent;
}

.sticky-title {
  grid-column: 2;
  justify-self: center;
  display: flex;
  justify-content: center;
  gap: 0 0.18em;
  color: var(--brand-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-title-accent {
  color: var(--brand-teal);
}

.sticky-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
}

.sticky-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sticky-button:hover,
.sticky-button:focus-visible {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  transform: translateY(-1px);
}

.hero {
  padding: 3.2rem clamp(1.4rem, 4vw, 3rem);
  border-radius: calc(var(--radius-lg) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.92)),
    linear-gradient(180deg, rgba(7, 143, 165, 0.12), rgba(255, 255, 255, 0));
  border: 1px solid rgba(215, 227, 236, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.eyebrow,
.section-kicker,
.sidebar-label {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.03em;
}

.hero h1 {
  margin-top: 0;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.98;
}

.brand-symbol {
  width: clamp(190px, 28vw, 330px);
  height: auto;
  margin: 0 auto 1rem;
  background: transparent;
}

.brand-title {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.22em;
  color: var(--brand-navy);
}

.brand-title-accent {
  color: var(--brand-teal);
}

.hero-copy,
.section-heading p {
  margin: 1rem auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.hero-actions {
  margin-top: 1.6rem;
  justify-content: center;
}

.hero-contact-grid {
  margin-top: 1.35rem;
  text-align: left;
}

.contact-panel {
  scroll-margin-top: 130px;
  margin-top: 3.5rem;
  padding: 1.8rem;
  border: 1px solid rgba(6, 39, 95, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 250, 0.92));
  box-shadow: 0 18px 42px rgba(6, 39, 95, 0.08);
}

.contact-heading {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.contact-title {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button-small {
  min-height: 42px;
  padding: 0.68rem 0.95rem;
  font-size: 0.92rem;
}

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

.button-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 12px 24px rgba(49, 85, 109, 0.22);
}

.button-secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

main section {
  padding: 0 0 2.5rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.centered-heading {
  text-align: center;
}

.centered-heading p {
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-top: 0.4rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.locations-heading {
  margin-top: 0;
  letter-spacing: 0.03em;
  text-transform: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  color: var(--text);
}

.locations-subheading {
  margin-top: 0.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.section-heading.compact p:last-child {
  max-width: 620px;
}

.info-card,
.location-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(215, 227, 236, 0.92);
  box-shadow: var(--shadow);
}

.location-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.info-card h3,
.location-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
}

.contact-grid,
.locations-grid,
.services-grid {
  display: grid;
  gap: 1.2rem;
}

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

.info-card {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  height: 100%;
}

.info-card p {
  margin: 0.9rem 0 0;
}

.info-card a,
.location-copy a:not(.button),
.site-footer a {
  color: var(--accent-dark);
}

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

.contact-list li + li {
  margin-top: 0.5rem;
}

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

.services-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  padding: 1.6rem;
  text-align: center;
}

.service-card h3 {
  margin-top: 0;
}

.service-card p {
  margin: 0.9rem auto 0;
  max-width: 34ch;
}

.location-card {
  display: grid;
}

.location-copy {
  padding: 1.35rem 1.35rem 1rem;
}

.location-copy p {
  margin: 0.85rem 0 0;
}

.location-copy .button {
  margin-top: 1rem;
}

.map-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.map-actions .button {
  margin-top: 0;
  flex: 1 1 0;
}

.location-card iframe {
  width: 100%;
  height: 220px;
  border: 0;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  border-top: 1px solid rgba(95, 143, 173, 0.16);
}

.footer-title {
  margin: 0 0 0.35rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}

.footer-contact a {
  display: block;
  text-decoration: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-navy);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--brand-teal);
  border-color: var(--brand-teal);
  transform: translateY(-2px);
}

.social-link svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link svg rect,
.social-link svg circle {
  fill: none;
}

.social-link svg .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-link svg path {
  stroke: none;
}

@media (max-width: 980px) {
  .sticky-banner-layout {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .sticky-logo {
    width: 76px;
  }

  .sticky-title {
    grid-column: 2;
    justify-self: start;
    justify-content: flex-start;
  }

  .sticky-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 165px;
  }

  .contact-heading {
    margin-top: 0;
  }

  .contact-panel {
    scroll-margin-top: 165px;
    margin-top: 2.5rem;
    padding: 1.25rem;
  }

  .site-header {
    padding-top: 0.8rem;
  }

  .top-nav {
    border-radius: 24px;
  }

  .hero {
    padding: 2.4rem 1.2rem;
  }

  .sticky-banner {
    padding: 0.65rem 0;
  }

  .sticky-banner-layout {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .sticky-logo {
    width: 62px;
  }

  .sticky-title {
    font-size: 1.3rem;
  }

  .sticky-button {
    min-height: 40px;
    padding: 0.58rem 0.8rem;
    font-size: 0.84rem;
  }

  .hero-copy,
  .section-heading p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .map-actions {
    flex-direction: column;
  }

  .contact-grid,
  .locations-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-actions {
    flex-wrap: wrap;
  }
}

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

  .sticky-banner {
    transition: none;
  }
}
