:root {
  --background: #fbfcff;
  --foreground: #29365d;
  --primary: #243a86;
  --primary-dark: #152452;
  --primary-soft: #eef2ff;
  --muted: #f1f4fb;
  --muted-foreground: #66708d;
  --border: #dfe4f0;
  --card: #ffffff;
  --sky: #8fc8e8;
  --radius: 0.875rem;
  --display: "Baloo 2", "Nunito Sans", ui-sans-serif, sans-serif;
  --sans: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  line-height: 1.5;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

.container { width: min(100% - 2rem, 72rem); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgb(223 228 240 / 85%);
  background: rgb(251 252 255 / 90%);
  backdrop-filter: blur(12px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--primary); font-family: var(--display); font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.brand-logo { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 0.625rem; object-fit: cover; }
.desktop-nav { display: none; align-items: center; gap: 1.5rem; }
.desktop-nav a { color: var(--muted-foreground); font-size: 0.875rem; font-weight: 700; text-decoration: none; transition: color 160ms ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--primary); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; padding: 0.625rem 1rem; font-size: 0.875rem; font-weight: 800; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--primary-dark); }
.button-light { background: #fff; color: var(--primary); box-shadow: 0 0.5rem 1.25rem rgb(9 24 73 / 22%); padding: 0.75rem 1.5rem; font-size: 1rem; }
.button-light:hover { background: #f1f5ff; }
.button-outline-light { border: 1px solid rgb(255 255 255 / 45%); color: #fff; padding: 0.75rem 1.5rem; font-size: 1rem; }
.button-outline-light:hover { background: rgb(255 255 255 / 12%); }
.icon { width: 1rem; height: 1rem; flex: 0 0 auto; }
.icon-large { width: 1.25rem; height: 1.25rem; }
.phone-short { display: inline; }
.phone-number { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; }
.hero-overlay { z-index: -1; background: linear-gradient(to bottom, rgb(21 36 82 / 86%), rgb(36 58 134 / 70%), rgb(21 36 82 / 92%)); }
.hero-content { display: flex; min-height: 32rem; flex-direction: column; align-items: center; justify-content: center; padding-block: 6rem; text-align: center; }
.announcement { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; border: 1px solid rgb(255 255 255 / 30%); border-radius: 999px; background: rgb(255 255 255 / 10%); padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 700; }
.hero h1 { margin: 1.5rem 0 0; font-family: var(--display); font-size: clamp(2.25rem, 7vw, 3.75rem); font-weight: 800; line-height: 1.1; }
.hero h1 span { display: block; }
.hero-lede { max-width: 36rem; margin: 1rem 0 0; color: rgb(255 255 255 / 85%); font-size: 1.125rem; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.hero-location { display: inline-flex; align-items: center; gap: 0.5rem; margin: 2rem 0 0; color: rgb(255 255 255 / 80%); font-size: 0.875rem; font-weight: 700; }

.intro-section { padding-block: 2rem; background: var(--primary-soft); }
.intro-card { border: 1px solid rgb(36 58 134 / 14%); border-left: 0.35rem solid var(--primary); border-radius: 1rem; background: var(--card); padding: 1.5rem; box-shadow: 0 0.25rem 0.75rem rgb(24 42 92 / 7%); }
.intro-eyebrow { margin: 0; color: var(--primary); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.intro-card h2 { margin: 0.5rem 0 0; color: var(--foreground); font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.15; }
.intro-card > p:last-child { max-width: 62rem; margin: 0.875rem 0 0; color: var(--muted-foreground); line-height: 1.7; }

.section { padding-block: 4rem; scroll-margin-top: 5rem; }
.access-section { background: var(--muted); }
.contact-section { background: var(--primary); color: #fff; }
.section-heading { text-align: center; }
.section-heading h2, .section-heading h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.15; }
.section-heading h2 { font-size: clamp(2rem, 5vw, 2.5rem); }
.section-heading h3 { font-size: clamp(1.75rem, 4vw, 2rem); }
.section-heading p { margin: 0.75rem auto 0; color: var(--muted-foreground); font-size: 1.125rem; }
.section-heading-light p { color: rgb(255 255 255 / 80%); }

.route-list { display: flex; flex-direction: column; gap: 0; margin: 3rem 0 0; padding: 0; list-style: none; }
.route-stop { position: relative; display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; font-weight: 700; }
.route-marker { position: relative; z-index: 1; display: inline-flex; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; align-items: center; justify-content: center; border: 2px solid rgb(36 58 134 / 40%); border-radius: 50%; background: var(--card); color: var(--primary); }
.endpoint .route-marker { border-color: var(--primary); background: var(--primary); color: #fff; }
.endpoint > span:last-child { color: var(--primary); font-family: var(--display); font-size: 1.125rem; }
.route-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--primary); }
.image-frame { overflow: hidden; margin: 0; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); box-shadow: 0 0.25rem 0.75rem rgb(24 42 92 / 7%); }
.image-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 300ms ease; }
.image-frame img:hover { transform: scale(1.05); }
.route-image { margin-top: 3.5rem; }
.route-image img { aspect-ratio: auto; }

.access-cards { display: grid; gap: 1.5rem; margin-top: 3rem; }
.card { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); padding: 1.5rem; box-shadow: 0 0.25rem 0.75rem rgb(24 42 92 / 7%); }
.card-icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: var(--primary); color: #fff; }
.card h3 { margin: 1rem 0 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.2; }
.card p { margin: 0.75rem 0 0; color: var(--muted-foreground); line-height: 1.65; }
.location-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; border-radius: 999px; background: var(--primary-soft); padding: 0.375rem 1rem; color: var(--primary); font-size: 0.875rem; font-weight: 800; }
.phone-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.phone-pills .button { font-size: 0.875rem; }
.map-frame { overflow: hidden; margin-top: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; box-shadow: 0 0.25rem 0.75rem rgb(24 42 92 / 7%); }
.map-frame iframe { width: 100%; height: 20rem; border: 0; }
.video-heading { margin-top: 3.5rem; }
.video-heading p { max-width: 36rem; font-size: 1rem; }
.walk-video { width: 100%; max-width: 48rem; aspect-ratio: 16 / 9; height: auto; margin: 2rem auto 0; border: 1px solid var(--border); border-radius: 1rem; background: var(--primary-dark); object-fit: cover; box-shadow: 0 0.25rem 0.75rem rgb(24 42 92 / 7%); }

.gallery-grid { display: grid; gap: 1rem; margin-top: 3rem; }
.contact-columns { display: grid; gap: 2.5rem; margin-top: 3rem; }
.contact-columns h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-family: var(--display); font-size: 1.25rem; }
.contact-list { display: grid; gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.contact-list a { display: block; border: 1px solid rgb(255 255 255 / 20%); border-radius: 0.75rem; background: rgb(255 255 255 / 10%); padding: 0.75rem 1rem; color: #fff; font-family: var(--display); font-size: 1.125rem; font-weight: 800; text-align: center; text-decoration: none; transition: background-color 160ms ease; }
.contact-list a:hover, .contact-list a:focus-visible { background: rgb(255 255 255 / 20%); }
.contact-note { margin: 1rem 0 0; color: rgb(255 255 255 / 70%); font-size: 0.875rem; }

.site-footer { border-top: 1px solid var(--border); padding-block: 2.5rem; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.footer-content .brand { margin: 0; }
.footer-tagline { margin: 0; font-weight: 700; }
.footer-location { display: inline-flex; align-items: center; gap: 0.375rem; margin: 0; color: var(--muted-foreground); font-size: 0.875rem; }

.whatsapp-float { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: max(1rem, env(safe-area-inset-bottom, 0px)); z-index: 20; display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 0.5rem 1.25rem rgb(10 66 31 / 30%); text-decoration: none; transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { background: #1da851; box-shadow: 0 0.625rem 1.5rem rgb(10 66 31 / 38%); transform: translateY(-2px); }
.whatsapp-float-icon { width: 1.75rem; height: 1.75rem; }
.whatsapp-float span { display: none; font-size: 0.875rem; font-weight: 800; white-space: nowrap; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

@media (min-width: 40rem) {
  .container { width: min(100% - 3rem, 72rem); }
  .hero-content { min-height: 38rem; padding-block: 8rem; }
  .hero-actions { flex-direction: row; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  .desktop-nav { display: flex; }
  .phone-number { display: inline; }
  .phone-short { display: none; }
  .section { padding-block: 6rem; }
  .route-list { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
  .route-stop { flex: 1; flex-direction: column; gap: 0.75rem; padding: 0; text-align: center; }
  .route-stop:not(:last-child)::after { position: absolute; top: 1.125rem; left: 50%; z-index: 0; width: 100%; height: 2px; background: var(--border); content: ""; }
  .access-cards, .contact-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 2rem; }
  .contact-columns { gap: 2.5rem; }
  .intro-section { padding-block: 2.5rem; }
  .intro-card { padding: 2rem 2.25rem; }
  .whatsapp-float { width: auto; height: auto; gap: 0.5rem; border-radius: 999px; padding: 0.75rem 1rem; }
  .whatsapp-float span { display: inline; }
}

@media (min-width: 64rem) {
  .contact-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .office-list { grid-template-columns: 1fr; }
}
