/* =========================================================================
   Ocean Dental Group — site styles
   Design system carried over from the approved mockup.
   ========================================================================= */

:root {
  --bg: #f8f5ef;
  --bg-alt: #efe9df;
  --ink: #14243a;
  --navy: #0b2746;
  --navy-2: #123a63;
  --blue: #1f5fae;
  --sky: #7fd0f2;
  --sky-light: #a9e0f7;
  --muted: #5a6676;
  --muted-2: #4a5668;
  --line: #e7e0d4;
  --wrap: 1240px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none
}

a:hover {
  color: var(--navy)
}

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

input,
select,
textarea,
button {
  font-family: inherit
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px
}

.eyebrow.light {
  color: var(--sky)
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 15px 26px;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  transition: background .15s, color .15s;
}

.btn-primary {
  background: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: var(--navy);
  color: #fff
}

.btn-sky {
  background: var(--sky);
  color: var(--navy)
}

.btn-sky:hover {
  background: #fff;
  color: var(--navy)
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue)
}

.btn-outline:hover {
  background: #e9f1fa
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .6)
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

/* ---------- Utility bar ---------- */
.util-bar {
  background: var(--navy);
  color: #dbe7f3;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.util-bar .wrap {
  padding-top: 9px;
  padding-bottom: 9px
}

.util-bar .accent {
  color: var(--sky)
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
}

.site-header .logo img {
  max-width: 190px;
  width: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.main-nav a {
  color: var(--ink)
}

.main-nav a:hover {
  color: var(--blue)
}

/* Active page highlight — top-level nav items + Services parent + dropdown items */
.main-nav > a.active,
.main-nav > .has-menu > .menu-trigger.active {
  color: var(--blue);
  font-weight: 700;
}
.dropdown a.active,
.flyout a.active,
.flyout-trigger.active {
  color: var(--blue);
  font-weight: 700;
  background: color-mix(in srgb, var(--blue) 8%, transparent);
}

.has-menu {
  position: relative
}

.menu-trigger {
  cursor: default;
  padding: 14px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: 12px;
}

.menu-trigger:hover {
  color: var(--blue)
}

.menu-trigger .caret {
  font-size: 10px;
  transition: transform .2s
}

/* Services dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(11, 39, 70, .10);
  border-radius: 8px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 100
}

@media (min-width: 1201px) {
  .has-menu:hover .dropdown,
  .has-menu:focus-within .dropdown {
    display: block
  }
}

.dropdown li {
  position: relative
}

.dropdown li+li {
  border-top: 1px solid rgba(11, 39, 70, .06)
}

.dropdown a,
.flyout-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s
}

.dropdown a:hover,
.flyout-trigger:hover,
.has-flyout:hover>.flyout-trigger {
  background: rgba(31, 95, 174, .05);
  color: var(--blue)
}

.flyout-trigger {
  justify-content: space-between
}

.flyout-arrow {
  font-size: 18px;
  line-height: 1;
  opacity: .4;
  transition: opacity .15s
}

.has-flyout:hover .flyout-arrow {
  opacity: .8
}

/* Flyout submenu */
.flyout {
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(11, 39, 70, .10);
  border-radius: 8px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 101
}

@media (min-width: 1201px) {
  .has-flyout:hover>.flyout {
    display: block
  }
}

.flyout a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink)
}

.flyout a:hover {
  background: rgba(31, 95, 174, .05);
  color: var(--blue)
}

.flyout li+li {
  border-top: 1px solid rgba(11, 39, 70, .06)
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

.lang-pill {
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid #d9d1c3;
  border-radius: 999px;
  padding: 8px 12px;
  white-space: nowrap;
}

/* Mobile nav scaffolding — inert on desktop */
.header-nav {
  display: contents
}

.nav-toggle,
.nav-close,
.drawer-top,
.nav-backdrop,
.nav-phone {
  display: none
}

/* ---------- Sections ---------- */
section {
  overflow-wrap: break-word
}

.section {
  padding-top: 100px;
  padding-bottom: 100px
}

.bg-alt {
  background: var(--bg-alt)
}

.bg-navy {
  background: var(--navy);
  color: #fff
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0
}

.section h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  margin: 0 0 20px
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted-2);
  max-width: 640px
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b2746 url('../img/office-exterior.jpg') center 36% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 39, 70, .94) 0%, rgba(11, 39, 70, .78) 42%, rgba(11, 39, 70, .4) 100%);
}

.hero .wrap {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  width: 100%
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.03;
  color: #fff;
  margin: 0 0 24px;
  max-width: 760px;
}

.hero h1 em {
  color: var(--sky-light);
  font-style: normal
}

.hero p {
  color: #dbe7f3;
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 36px
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* ---------- Why choose (features) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.feature .diamond {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--blue);
  transform: rotate(45deg);
  margin-bottom: 8px
}

.feature h3 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0
}

/* ---------- Services grid ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 32px rgba(11, 39, 70, .08);
  transform: translateY(-2px)
}

.service-card h3 {
  font-size: 25px;
  line-height: 1.15
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
  margin: 0
}

.service-card .more {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-top: 4px
}

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px
}

.bento-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px;
  grid-column: 1 / -1
}

.tile {
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  display: flex;
  transition: background .15s
}

.tile:hover {
  color: #fff
}

.tile-lg {
  grid-row: span 3;
  background: var(--navy);
  padding: 40px;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px
}

.tile-lg:hover {
  background: var(--navy-2)
}

.tile-lg .diamond-lg {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--sky);
  transform: rotate(45deg);
  margin-bottom: auto
}

.tile-lg .tile-title {
  font-size: 32px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 14px
}

.tile-lg p {
  font-size: 14px;
  color: #bcd0e4;
  line-height: 1.6;
  max-width: 260px;
  margin: 0
}

.tile-lg .arrow {
  margin-top: 24px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 auto
}

.tile-bar {
  padding: 28px 34px;
  flex-direction: column;
  justify-content: center;
  gap: 6px
}

.tile-bar .tile-title {
  font-size: 17px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0
}

.tile-bar p {
  font-size: 13px;
  margin: 0;
  color: #bcd0e4
}

.tile-navy {
  background: var(--navy)
}

.tile-navy:hover {
  background: var(--navy-2)
}

.tile-navy2 {
  background: var(--navy-2)
}

.tile-navy2:hover {
  background: var(--blue)
}

.tile-blue {
  background: var(--blue)
}

.tile-blue:hover {
  background: var(--navy-2)
}

.tile-blue p {
  color: #dbe7f3
}

/* ---------- Feature split (implants / ortho) ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center
}

.split .copy {
  max-width: 520px
}

.split .copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 18px
}

.split .copy em {
  color: var(--blue);
  font-style: normal
}

.split .photo {
  aspect-ratio: 4/3;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(11, 39, 70, .15);
  background: repeating-linear-gradient(135deg, #dfe6ee 0 12px, #e9eef4 12px 24px);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.split .photo span {
  font-family: var(--mono);
  font-size: 11px;
  color: #6b7a8c
}

/* Photo frame holding a real image */
.split .photo.has-img {
  padding: 0;
  overflow: hidden;
  display: block
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* Logo shown in the photo frame (white card, logo centred and never cropped) */
.split .photo.photo-logo {
  background: #fff;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  padding: 40px
}

.split .photo.photo-logo img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain
}

.split.reverse .photo {
  order: -1
}

/* Visit-our-office section */
.office-visit-band {
  max-width: 780px;
  margin: 0 auto;
  text-align: center
}

.office-visit-band .lead {
  margin-left: auto;
  margin-right: auto
}

.office-visit-facts {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px
}

.office-visit-facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted-2)
}

.office-visit-facts strong {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700
}

.office-visit-facts a {
  color: var(--muted-2)
}

.office-visit-facts a:hover {
  color: var(--blue)
}

.office-visit .btn-row {
  justify-content: center
}

/* ---------- Offers ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0 24px
}

.offer {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s
}

.offer:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(11, 39, 70, .14);
  border-color: var(--blue)
}

.offer-badge {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  background: #e9f1fa;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 8px
}

.offer-price {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--navy);
  line-height: 1
}

.offer-price .prefix {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px
}

.offer-title {
  font-size: 22px;
  line-height: 1.15;
  margin: 6px 0 0
}

.offer p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1
}

.offer-link {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue)
}

.offer-link:hover {
  color: var(--navy)
}

.fine-print {
  font-size: 12px;
  color: var(--muted);
  max-width: 720px
}

/* ---------- Find an office (map + list locator) ---------- */
.offices .lead {
  margin-bottom: 8px
}

.locator {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-top: 40px;
  align-items: stretch
}

.locator-map {
  min-height: 540px;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(127, 208, 242, .22);
  background: #e8eef2;
  z-index: 0
}

.locator-list {
  max-height: 540px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 8px
}

.locator-list::-webkit-scrollbar {
  width: 8px
}

.locator-list::-webkit-scrollbar-thumb {
  background: rgba(127, 208, 242, .3);
  border-radius: 999px
}

.loc-region {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin: 10px 0 2px
}

.loc-region:first-child {
  margin-top: 0
}

.loc-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(127, 208, 242, .18);
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s
}

.loc-item:hover {
  background: rgba(127, 208, 242, .08)
}

.loc-item.active {
  border-left-color: var(--sky);
  background: rgba(127, 208, 242, .12)
}

.loc-name {
  font-family: var(--serif);
  font-size: 19px;
  color: #fff
}

.loc-addr {
  font-size: 13px;
  line-height: 1.5;
  color: #aebfd4
}

.loc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.loc-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--sky-light);
  white-space: nowrap
}

.loc-phone:hover {
  color: #fff
}

.loc-dir {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sky);
  white-space: nowrap
}

.loc-dir:hover {
  color: #fff
}

/* Map pin + popup (Leaflet) */
.odg-pin {
  background: var(--sky);
  border: 2px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(127, 208, 242, .55)
}

.leaflet-popup-content {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink)
}

.leaflet-popup-content strong {
  font-size: 14px
}

/* ---------- Testimonials / Reviews Slider ---------- */
.testimonials {
  text-align: center;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.testimonials .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

/* Slider Outer Container */
.reviews-slider {
  position: relative;
  margin: 32px auto 30px;
  width: 100%;
  max-width: 1240px;
  user-select: none;
}

.reviews-track-wrapper {
  overflow: hidden;
  padding: 14px 4px 24px;
  position: relative;
  border-radius: 18px;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
}

.reviews-track.is-dragging {
  cursor: grabbing;
  transition: none !important;
}

/* Review Card */
.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 4px 18px rgba(11, 39, 70, 0.04), 0 1px 3px rgba(11, 39, 70, 0.02);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  box-sizing: border-box;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(11, 39, 70, 0.08), 0 2px 6px rgba(11, 39, 70, 0.03);
  border-color: rgba(31, 95, 174, 0.25);
}

.review-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Card Header */
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review-card-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.review-card-source .g-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.review-card-source .source-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-card-stars {
  display: flex;
  gap: 2px;
  color: #fbbc04;
}

.review-card-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Card Body */
.review-card-body {
  position: relative;
  margin-bottom: 22px;
  flex-grow: 1;
}

.review-quote-mark {
  position: absolute;
  top: -10px;
  right: -4px;
  width: 32px;
  height: 32px;
  color: rgba(31, 95, 174, 0.08);
  pointer-events: none;
}

.review-card-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #2b3a4a;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Card Author Info */
.review-card-author {
  display: flex;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1ece4;
}

.review-author-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Navigation & Controls */
.reviews-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 6px;
  flex-wrap: wrap;
  gap: 16px;
}

.slider-status-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--muted);
  text-transform: uppercase;
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot:hover {
  background: var(--blue);
}

.slider-dot.active {
  width: 28px;
  background: var(--blue);
}

.slider-arrows {
  display: inline-flex;
  gap: 10px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(11, 39, 70, 0.04);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-btn:hover:not(:disabled) {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(31, 95, 174, 0.25);
  transform: scale(1.05);
}

.slider-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Bottom Call to Actions & Trust Row */
.reviews-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-ghost-blue {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-ghost-blue:hover {
  background: rgba(31, 95, 174, 0.07);
  color: var(--navy);
}

/* Responsive Breakpoints */
@media (max-width: 1040px) {
  .review-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 680px) {
  .review-card {
    flex: 0 0 100%;
    padding: 24px 20px 20px;
  }

  .reviews-slider-controls {
    justify-content: center;
  }

  .slider-status-text {
    width: 100%;
    text-align: center;
    order: 3;
    margin-top: 6px;
  }
}

/* ---------- Closing CTA ---------- */
.closing {
  text-align: center
}

.closing h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 28px
}

.closing h2 em {
  color: var(--sky-light);
  font-style: italic
}

.closing .btn-row {
  justify-content: center
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt)
}

.footer-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 48px 32px;
}

.footer-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 auto 20px;
  max-width: 760px
}

.footer-cta .btn-row {
  justify-content: center
}

.footer-map-wrap {
  padding-top: 48px
}

.footer-map {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 12px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-top: 52px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 16px
}

.footer-brand .slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 14px
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-2);
  margin: 0;
  max-width: 340px
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px
}

.footer-social .social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d9d1c3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background .15s, color .15s, border-color .15s
}

.footer-social .social:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue)
}

.footer-social .social svg {
  width: 16px;
  height: 16px;
  fill: currentColor
}

/* Contact column */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px
}

.contact-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-2)
}

.contact-list li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: var(--blue)
}

.contact-list a {
  color: var(--muted-2)
}

.contact-list a:hover {
  color: var(--blue)
}

.footer-contact-col .fc-find {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue)
}

.footer-contact-col .fc-find:hover {
  color: var(--navy)
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 14px
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-col a {
  font-size: 14px;
  color: var(--ink)
}

.footer-col a:hover {
  color: var(--blue)
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid #ddd3c2;
  padding: 22px 0;
  max-width: var(--wrap);
  margin: 0 auto
}

.footer-bar {
  background: var(--navy);
  color: #8fa9c4;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase
}

.footer-bar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px
}

.footer-bar a {
  color: #8fa9c4
}

.footer-bar a:hover {
  color: #fff
}

.footer-bar .links {
  display: flex;
  gap: 22px
}

/* =========================================================================
   Service pages
   ========================================================================= */

/* Hero */
/* Service hero with breadcrumb and decorative arcs */
.service-hero {
  position: relative;
  background: var(--navy);
  padding: 48px 0 56px;
  color: #fff;
  overflow: hidden
}

/* Decorative concentric arcs on right */
.service-hero::before,
.service-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none
}

.service-hero::before {
  width: 460px;
  height: 460px;
  right: -80px;
  top: -60px
}

.service-hero::after {
  width: 320px;
  height: 320px;
  right: -10px;
  top: 10px
}

.service-hero .wrap {
  position: relative;
  z-index: 1
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px
}

.breadcrumb li+li::before {
  content: "/";
  color: rgba(255, 255, 255, .35);
  margin-right: 2px
}

.breadcrumb a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none
}

.breadcrumb a:hover {
  color: #fff
}

.breadcrumb .current {
  color: rgba(255, 255, 255, .85)
}

.service-hero .eyebrow {
  color: var(--sky-light)
}

.service-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  margin: 12px 0 20px;
  color: #fff
}

.service-hero h1 em {
  color: var(--sky);
  font-style: normal
}

.service-hero .lead {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
  margin: 0
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.service-hero .hero-actions {
  margin-top: 28px
}

/* Section header (eyebrow + h2) */
.section-header {
  text-align: center;
  margin-bottom: 48px
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  margin: 10px 0 0;
  color: var(--navy)
}

/* Info card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px
}

.info-card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy)
}

.info-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6
}

/* Steps / numbered list */
.steps {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto
}

.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line)
}

.step:last-child {
  border-bottom: 0
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px
}

.step h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy)
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6
}

/* CTA band */
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  margin: 0 0 12px;
  color: #fff
}

.cta-band p {
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  margin: 0 0 28px
}

.btn-white {
  background: #fff;
  color: var(--navy)
}

.btn-white:hover {
  background: var(--bg);
  color: var(--navy)
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto
}

.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease
}

.faq[open]>.faq-body {
  max-height: var(--faq-h, 600px)
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform .2s
}

.faq[open] summary::after {
  content: "\2212";
  transform: rotate(180deg)
}

.faq-body-inner {
  padding: 0 24px 20px
}

.faq-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted)
}

/* Section subtitle */
.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto
}

/* Check-list (emergency conditions, etc.) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 620px;
  display: grid;
  gap: 0
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy)
}

.check-list li:last-child {
  border-bottom: 0
}

.check-icon {
  flex-shrink: 0;
  display: flex
}

/* Tip cards (first-aid steps, etc.) */
.tip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px
}

.tip-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11, 39, 70, .08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  gap: 20px;
  border: 1px solid rgba(11, 39, 70, .06);
  transition: box-shadow .25s ease, transform .25s ease
}

.tip-card:hover {
  box-shadow: 0 8px 32px rgba(11, 39, 70, .12);
  transform: translateY(-2px)
}

/* Tip-card icon: Tabler Icons (MIT) in a solid blue tile */
.tip-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(145deg, #2a6dc2, var(--blue) 55%, #174c8f);
  box-shadow: 0 8px 18px rgba(31, 95, 174, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.tip-card:hover .tip-icon {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 95, 174, .34), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.tip-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.tip-body {
  flex: 1;
  min-width: 0
}

.tip-body h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy)
}

.tip-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted)
}

/* Stage cards (age groups, etc.) */
.stage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px
}

.stage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center
}

.stage-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 95, 174, .08), rgba(56, 189, 248, .1));
  border: 1px solid rgba(31, 95, 174, .12);
  color: var(--blue);
  margin: 0 auto 16px;
  flex-shrink: 0;
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s
}

.stage-icon svg {
  width: 30px;
  height: 30px
}

.stage-card:hover .stage-icon {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(31, 95, 174, .14), rgba(56, 189, 248, .2));
  border-color: rgba(31, 95, 174, .25);
  box-shadow: 0 4px 14px rgba(31, 95, 174, .12)
}

.stage-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(31, 95, 174, .08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px
}

.stage-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted)
}

/* Text feature (single paragraph highlight) */
.text-feature {
  max-width: 680px;
  margin: 0 auto;
  text-align: center
}

.text-feature p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0
}

/* ---------- Responsive ---------- */
@media (max-width:1200px) {

  /* ----- Mobile nav drawer ----- */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }

  .header-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    padding: 20px 24px 28px;
    background: #fff;
    box-shadow: -12px 0 50px rgba(11, 39, 70, .22);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 120;
    overflow-y: auto
  }

  .header-nav.open {
    transform: translateX(0)
  }

  .drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee6da
  }

  .drawer-logo {
    display: block;
    max-width: 180px
  }

  .drawer-logo img {
    display: block;
    width: 100%;
    height: auto
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f3efe7;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer
  }

  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%
  }

  .main-nav>a,
  .menu-trigger {
    width: 100%;
    padding: 16px 2px;
    border-bottom: 1px solid #eee6da;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink)
  }

  .menu-trigger {
    justify-content: space-between
  }

  .has-menu {
    width: 100%
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 4px 0 8px 0;
    background: #fafbfc;
    border-left: 2px solid var(--line);
    margin: 2px 0 8px 2px
  }

  .has-menu.open .dropdown {
    display: block
  }

  .has-menu.open .menu-trigger .caret {
    transform: rotate(180deg)
  }

  .dropdown li+li {
    border-top: 0
  }

  .dropdown a,
  .flyout-trigger {
    padding: 10px 14px;
    font-size: 14px;
    width: 100%
  }

  .flyout {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 2px 0 6px 20px;
    background: transparent
  }

  .has-flyout.open>.flyout {
    display: block
  }

  .has-flyout.open>.flyout-trigger .flyout-arrow {
    transform: rotate(90deg)
  }

  .flyout a {
    font-size: 13px;
    color: #52514e;
    padding: 8px 14px
  }

  /* MOBILE active highlighting — no underline bar, use background tint instead */
  .main-nav > a.active::after,
  .main-nav > .has-menu > .menu-trigger.active::after {
    display: none !important
  }
  .main-nav > a.active,
  .main-nav > .has-menu > .menu-trigger.active {
    color: var(--blue);
    background: color-mix(in srgb, var(--blue) 8%, transparent);
    border-radius: 6px;
    padding-left: 12px;
    padding-right: 12px
  }
  /* Nested items (flyout parent + flyout item) — text-only highlight, no background pill */
  .flyout-trigger.active,
  .dropdown a.active,
  .flyout a.active {
    color: var(--blue);
    font-weight: 700;
    background: transparent
  }

  .flyout li+li {
    border-top: 0
  }

  .header-cta {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 24px
  }

  .header-cta .btn {
    text-align: center
  }

  .lang-pill {
    align-self: flex-start
  }

  .nav-phone {
    display: block;
    margin-top: 2px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue)
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(11, 39, 70, .45);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s
  }

  .nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    z-index: 49;
  }
}

@media (max-width:768px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .split .copy {
    max-width: 100%
  }

  .split .photo {
    order: -1;
    width: 100%;
    aspect-ratio: 4/3
  }

  .bento,
  .bento-top {
    grid-template-columns: 1fr
  }

  .tile-lg {
    grid-row: auto;
    min-height: 260px
  }

  .locator {
    grid-template-columns: 1fr
  }

  .locator-map {
    min-height: 340px
  }

  .locator-list {
    max-height: none
  }

  .service-hero {
    padding: 56px 0 48px
  }

  .card-grid {
    grid-template-columns: 1fr
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch
  }

  .hero-actions .btn {
    text-align: center
  }

  .check-list {
    max-width: 100%
  }

  .tip-cards {
    grid-template-columns: 1fr
  }

  .tip-card {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start
  }

  .stage-cards {
    grid-template-columns: 1fr
  }

  .text-feature p {
    font-size: 16px
  }
}

/* ---------- Request-a-visit form band ---------- */
.form-band {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #2a4a6d 0 14px, #2f5277 14px 28px)
}

.form-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 39, 70, .4), rgba(11, 39, 70, .88))
}

.form-band-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px
}

.form-card {
  background: #fbf9f5;
  border-radius: 10px;
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  max-width: 760px;
  width: 100%
}

@media (max-width: 900px) {
  .form-band-grid { grid-template-columns: 1fr }
  .form-card { max-width: none }
}

.form-card-title {
  font-size: 32px;
  margin: 0 0 24px
}

.visit-form {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.visit-form>label,
.visit-form .form-row>label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted)
}

.visit-form input,
.visit-form select {
  border: 1px solid #ddd5c7;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  background: #fff;
  min-width: 0
}

.visit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.visit-form label.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5
}

.visit-form label.checkbox input {
  min-width: auto;
  width: auto;
  margin-top: 2px
}

.visit-form button {
  margin-top: 6px
}

.form-aside {
  color: #fff;
  max-width: 460px
}

.form-aside .eyebrow.light {
  margin-bottom: 16px
}

.form-aside-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  margin-bottom: 22px
}

.form-aside p {
  font-size: 15px;
  line-height: 1.75;
  color: #dbe7f3;
  margin: 0 0 14px
}

.form-aside .call-line {
  font-size: 15px;
  margin-bottom: 26px
}

.form-aside .call-line a {
  color: var(--sky-light)
}

/* ---------- Responsive ---------- */
@media (max-width:560px) {
  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-bar .wrap {
    justify-content: flex-start
  }

  .visit-form .form-row {
    grid-template-columns: 1fr
  }

  .form-card {
    padding: 28px
  }
}

/* =========================================================================
   Blog (content from WordPress)
   ========================================================================= */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px }
.blog-chip {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink); transition: background .15s, color .15s, border-color .15s
}
.blog-chip:hover { border-color: var(--blue); color: var(--blue) }
.blog-chip.active { background: var(--blue); border-color: var(--blue); color: #fff }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px }
.blog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s
}
.blog-card:hover { box-shadow: 0 14px 36px rgba(11, 39, 70, .10); transform: translateY(-2px) }
.blog-card-img { display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover }
.blog-card-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100% }
.blog-card-fallback img { width: 50%; height: auto; object-fit: contain; opacity: .55 }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--muted) }
.blog-cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue) }
.blog-card h2 { font: 500 24px/1.2 var(--serif); margin: 10px 0 10px }
.blog-card h2 a { color: var(--navy) }
.blog-card h2 a:hover { color: var(--blue) }
.blog-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--muted-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.blog-more { margin-top: auto; font-size: 13px; font-weight: 700 }

.blog-pager { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 48px; font-size: 14px; color: var(--muted) }
.blog-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 0 }
.blog-empty h2 { font: 500 34px/1.15 var(--serif); color: var(--navy) }
.blog-empty p { color: var(--muted-2) }

.post-wrap { max-width: 780px; margin: 0 auto }
.post-cover { width: 100%; border-radius: 14px; margin-bottom: 36px; aspect-ratio: 16 / 10; object-fit: cover }
.post-content { font-size: 17px; line-height: 1.8; color: var(--ink) }
.post-content h2 { font: 500 32px/1.2 var(--serif); color: var(--navy); margin: 44px 0 14px }
.post-content h3 { font: 600 20px/1.3 var(--sans); color: var(--navy); margin: 32px 0 10px }
.post-content p, .post-content ul, .post-content ol { margin: 0 0 20px }
.post-content ul, .post-content ol { padding-left: 24px }
.post-content li { margin-bottom: 8px }
.post-content a { text-decoration: underline }
.post-content img, .post-content video, .post-content iframe { max-width: 100%; height: auto; border-radius: 10px }
.post-content figure { margin: 28px 0 }
.post-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center }
.post-content blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sky); color: var(--muted-2); font: italic 400 22px/1.5 var(--serif) }
.post-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px }
.post-content th, .post-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left }
.post-content .alignleft { float: left; margin: 6px 24px 12px 0 }
.post-content .alignright { float: right; margin: 6px 0 12px 24px }
.post-content .aligncenter { margin-left: auto; margin-right: auto }
.post-content::after { content: ""; display: block; clear: both }
.post-content a.btn { text-decoration: none; margin-top: 12px }
.post-content a.btn-primary { color: #fff }

@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr }
  .post-content { font-size: 16px }
  .post-content h2 { font-size: 28px }
  .post-content .alignleft, .post-content .alignright { float: none; margin: 16px auto }
}

/* Blog post: previous / next navigation */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line) }
.post-nav-link {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s, transform .2s
}
.post-nav-link:hover { border-color: var(--blue); box-shadow: 0 10px 28px rgba(11, 39, 70, .08); transform: translateY(-2px) }
.post-nav-next { text-align: right }
.post-nav-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue) }
.post-nav-title { font: 500 20px/1.25 var(--serif); color: var(--navy) }
.post-back { text-align: center; margin: 28px 0 0; font-size: 14px; font-weight: 600 }
@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr }
  .post-nav-next { text-align: left }
  .post-nav-spacer { display: none }
}


/* =========================================================================
   Offices page
   ========================================================================= */
button.blog-chip { font-family: inherit; cursor: pointer }
.offices-map {
  height: 460px; margin-bottom: 48px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #e8eef2; z-index: 0
}
.office-group[hidden] { display: none }
.office-group + .office-group { margin-top: 48px }
.office-group-title { display: flex; align-items: baseline; gap: 14px; margin: 0 0 20px; font: 500 32px/1.15 var(--serif); color: var(--navy) }
.office-group-title span { font: 700 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blue) }
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px }
.office-card {
  display: flex; flex-direction: column; padding: 26px 26px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 120px;
  transition: box-shadow .2s, border-color .2s
}
.office-card:hover, .office-card:target { border-color: var(--blue); box-shadow: 0 12px 32px rgba(11, 39, 70, .08) }
.office-card h3 { margin: 0 0 8px; font: 500 25px/1.2 var(--serif); color: var(--navy) }
.office-addr { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; min-height: 3.1em }
.office-addr a { color: var(--muted-2) }
.office-addr a:hover { color: var(--blue) }
.office-phone { margin: 0 0 20px; font-size: 17px; font-weight: 700 }
.office-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto }
.office-actions .btn { padding: 11px 20px; font-size: 11px }
.office-showmap {
  align-self: flex-start; margin-top: 16px; padding: 0; background: none; border: 0; cursor: pointer;
  font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue)
}
.office-showmap:hover { color: var(--navy) }
.office-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px }
.office-perks > div { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px }
.office-perks h3 { margin: 0 0 8px; font: 500 24px/1.2 var(--serif); color: var(--navy) }
.office-perks p { margin: 0; font-size: 15px; color: var(--muted-2) }
@media (max-width: 1000px) { .office-grid { grid-template-columns: repeat(2, 1fr) } .office-perks { grid-template-columns: 1fr } }
@media (max-width: 640px) {
  .office-grid { grid-template-columns: 1fr }
  .offices-map { height: 340px; margin-bottom: 36px }
  .office-group-title { flex-direction: column; gap: 6px; font-size: 28px }
}

/* Home page "Request Your Visit" form: errors + thank-you */
.vf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.visit-form input[aria-invalid="true"] { border-color: #c0392b; background: #fff8f7 }
.vf-err { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #b3261e }
.vf-alert { margin: -8px 0 18px; padding: 12px 16px; background: #fdecea; border-left: 4px solid #c0392b; border-radius: 8px; font-size: 14px; color: #7a1d15 }
.vf-alert a { color: inherit; text-decoration: underline }
.vf-done p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--muted-2) }
.vf-done .vf-note { font-size: 14px; color: var(--muted) }
.vf-legal { margin: -2px 0 0; font-size: 11px; color: var(--muted) }
.vf-legal a { color: var(--blue); text-decoration: underline }

/* =========================================================================
   All Services page (/services/)
   ========================================================================= */
.svc-jump { background: var(--bg); border-bottom: 1px solid var(--line); }
.svc-jump .wrap { display: flex; gap: 10px; overflow-x: auto; padding-top: 16px; padding-bottom: 16px; scrollbar-width: none; }
.svc-jump .wrap::-webkit-scrollbar { display: none }
.svc-jump .blog-chip { flex: none; white-space: nowrap }
.svc-group { scroll-margin-top: 150px }
.svc-head { max-width: 640px; margin-bottom: 36px }
.svc-head h2 { margin: 6px 0 10px; font: 500 clamp(32px, 4vw, 44px)/1.1 var(--serif); color: var(--navy) }
.svc-head p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted-2) }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px }
.svc-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease }
.svc-card:hover { color: inherit; border-color: rgba(31, 95, 174, .35); box-shadow: 0 14px 34px rgba(11, 39, 70, .10); transform: translateY(-3px) }
.svc-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt) }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease }
.svc-card:hover .svc-card__img img { transform: scale(1.04) }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px }
.svc-card__title { font: 500 24px/1.2 var(--serif); color: var(--navy) }
.svc-card__text { margin: 8px 0 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted-2) }
.svc-card__more { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue) }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr } .svc-group { scroll-margin-top: 120px } }

/* ── 404 page ─────────────────────────────────────────────── */
.nf-hero { padding-bottom: 56px }
.nf { text-align: center }
.nf .wrap { max-width: 900px }
.nf-code { margin: 0 0 18px; font: 700 clamp(110px, 18vw, 180px)/1 var(--sans); letter-spacing: -.02em; color: var(--navy) }
.nf-code span { color: var(--blue) }
.nf-title { margin: 0 0 12px; font: 500 clamp(28px, 3.4vw, 38px)/1.2 var(--serif); color: var(--navy) }
.nf-text { margin: 0 auto 30px; max-width: 560px; font-size: 16.5px; line-height: 1.65; color: var(--muted-2) }

/* ── Sitemap page ─────────────────────────────────────────── */
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px }
.sm-group h2 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 500 24px/1.2 var(--serif); color: var(--navy) }
.sm-group ul { margin: 0; padding: 0; list-style: none }
.sm-group li { margin: 0 0 9px; line-height: 1.45 }
.sm-group a { color: var(--ink); text-decoration: none }
.sm-group a:hover { color: var(--blue); text-decoration: underline }
@media (max-width: 1000px) { .sm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px)  { .sm-grid { grid-template-columns: 1fr; gap: 28px } }
