/* ==========================================================================
   NHVH overrides on top of the July template (css/july.css).
   Palette already remapped in july.css: teal-900 #0b4448, teal-600 #0e7c80,
   aqua #1bd4d9, aqua-tint #e4f8f9, frost #cdeff0, ink #0e2427.
   ========================================================================== */
:root {
  --teal-900: #0b4448; --teal-700: #0a5d61; --teal-600: #0e7c80;
  --aqua: #1bd4d9; --aqua-tint: #e4f8f9; --frost: #cdeff0;
  --ink: #0e2427; --body: #2b4448; --label: #4a5e5f; --mist: #adb2c0;
  --rule: #e4e8f1; --soft: #f9f9fb; --alert: #b3261e; --alert-dark: #8a1c16; --closed: #6b7280;
  --blue: #2563eb; --blue-dark: #1d4ed8;
}
html { scroll-behavior: smooth; }
main { display: block; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 12px 20px; background: var(--teal-900); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 8px; top: 8px; }
.ico { display: block; flex: none; }
.ico.mr { margin-right: 8px; }
a.plain { text-decoration: none; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.text-frost { color: var(--frost); }
.text-white { color: #fff; }
.heading-detail-large.on-dark, .heading-detail-regular.on-dark { color: var(--aqua); }
.span-2 { grid-column: 1 / -1; }
.small { font-size: 14px; line-height: 24px; color: var(--label); }
.hl { box-shadow: inset 0 -0.28em 0 rgba(27, 212, 217, 0.38); white-space: nowrap; }
.soft { background: var(--soft); }
.soft .value-card, .soft .service-card, .soft .card-location, .soft .faq { background: #fff; }
.center-note { max-width: 640px; margin: 40px auto 0; text-align: center; }
.center-note a { color: var(--teal-700); font-weight: 700; }

/* ---- Back to top ------------------------------------------------------- */
/* The pages run long — the home page is roughly 14,700px on a phone and 9,000px
   on a desktop — so give people a way back to the menu without scrolling the
   whole way. It sits bottom LEFT so it never fights Otto's launcher, and its
   z-index is deliberately below Otto's: when the chat opens full-screen on a
   phone, the panel covers it rather than the button floating over the chat. */
.to-top { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(29, 78, 216, 0.55); cursor: pointer; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity 200ms ease, transform 200ms ease, background-color 200ms ease; }
.to-top .ico { width: 22px; height: 22px; }
.to-top.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--blue-dark); }
/* Keep the bottom strip clear of the two floating buttons. Narrow screens stack
   the strip, so it needs room underneath; wide ones lay it out in a row, where
   insetting the ends is enough (max() so wide viewports keep their larger 5%). */
@media screen and (max-width: 991px) {
  .footer-banner { padding-bottom: 80px; }
}
@media screen and (min-width: 992px) {
  .footer-banner { padding-left: max(5%, 80px); padding-right: max(5%, 80px); }
}
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; transform: none; }
}

/* ---- Brand / nav ------------------------------------------------------ */
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fff; }
.brand-name { margin-left: 12px; color: var(--ink); font-size: 14px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.nav-link-book { display: none; }
.nav-link-mobile { display: inline-flex; align-items: center; gap: 8px; }
.nav-link-mobile .ico { width: 18px; height: 18px; color: var(--teal-600); }
.nav-link.w--current { color: var(--teal-600); box-shadow: inset 0 -2px 0 var(--aqua); }
.banner-text { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.banner-text a { color: inherit; font-weight: 700; text-decoration: none; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.open-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mist); flex: none; }
.open-dot.is-open { background: #12b886; box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.18); }
.open-dot.is-closed { background: var(--alert); }

/* ---- Home hero -------------------------------------------------------- */
.section-home { padding-top: 40px; }
.header-content { padding-top: 40px; }
.home-heading { font-size: 60px; }
.grid-button .button-home { margin-top: 0; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--label); }
.hero-meta .dim { color: var(--mist); }
.header-image-wrapper { justify-content: center; }
.hero-photo { display: block; width: 100%; max-width: 560px; height: 540px; object-fit: cover; object-position: 52% 46%; box-shadow: -33px 35px 96px -24px rgba(11, 68, 72, 0.18); }
.header-ui-card { top: auto; bottom: 36px; right: 0; }
.ui-card-square .ico { width: 34px; height: 34px; color: var(--teal-900); }

/* ---- Icon tiles ------------------------------------------------------- */
.service-icon-block .ico { width: 28px; height: 28px; color: var(--teal-900); }
.service-circle .ico { width: 44px; height: 44px; color: var(--teal-600); }
.service-circle.num { color: var(--teal-600); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.value-square .ico { width: 32px; height: 32px; color: #fff; }
.contact-icon-square .ico { width: 24px; height: 24px; color: #fff; }
.section-content .service-card, .section-content .value-card { background: #fff; }
.service-card .service-link { text-decoration: none; }
.service-card .button-primary { margin-top: 24px; }
.service-card h6, .value-card h6 { margin-bottom: 8px; }
.service-card .paragraph-large, .value-card .paragraph-large { font-size: 16px; line-height: 28px; }
.badge-note { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 12px; padding: 4px 10px; border-radius: 999px; background: var(--aqua-tint); color: var(--teal-700); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-note .ico { width: 12px; height: 12px; }

/* ---- Grids ------------------------------------------------------------ */
.grid-service.cols-2 { grid-template-columns: 1fr 1fr; max-width: 860px; margin-left: auto; margin-right: auto; }
.grid-service.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-value.three { grid-template-columns: repeat(3, 1fr); }
.grid-value.two-up { margin-top: 0; }
.grid-feature.four { grid-template-columns: repeat(4, 1fr); }
.grid-feature.mt-48 { margin-top: 48px; }
.section-service .title-wrapper-small + .grid-service { margin-top: 48px; }
.section-service.tight { padding-top: 60px; padding-bottom: 60px; }
.centre-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---- Lists ------------------------------------------------------------ */
.check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.check-list .tick { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--teal-600); color: #fff; }
.check-list .tick .ico { width: 14px; height: 14px; }
.check-list.on-dark li { color: #fff; }
.check-list.on-dark li .sub { color: var(--frost); }
.check-list.on-dark .tick { background: rgba(27, 212, 217, 0.18); color: var(--aqua); }
.check-list .sub { display: block; font-size: 14px; color: var(--label); }
.chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--body); font-size: 13px; font-weight: 600; }
.chip .ico { width: 16px; height: 16px; color: var(--teal-600); }
.chip .count { color: var(--mist); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.chips .chip { margin-top: 0; text-decoration: none; transition: all 200ms ease; }
.chips .chip:hover { border-color: var(--teal-600); color: var(--teal-600); }
.chips .chip.dark { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.chips .chip.dark:hover { background: var(--teal-600); border-color: var(--teal-600); }
.chips .chip.dark .count { color: var(--frost); }
.signature { margin-top: 20px; font-size: 20px; font-style: italic; font-weight: 500; color: var(--ink); }

/* ---- Content blocks --------------------------------------------------- */
.content-block .paragraph-large { max-width: 56ch; }
.content-block .paragraph-large + .paragraph-large { margin-top: 16px; }
.image-wrapper.short { height: 400px; }
.image-wrapper.landscape { max-width: 480px; height: 380px; }
.image-wrapper.landscape .image-cover { object-position: 50% 40%; }
@media screen and (max-width: 479px) { .image-wrapper.landscape { height: 260px; } }
.header-image.about { background-image: url("../assets/tpl/accent-bottom-white.svg"), url("../images/wellness-cat-v2.jpg"); background-position: 100% 100%, 60% 45%; }
.page-title { padding-bottom: 40px; }
.page-title .lede { max-width: 640px; margin-top: 16px; }
.title-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.title-wrapper-small .paragraph-large { margin-top: 8px; }
.eyebrow-num { color: var(--mist); margin-right: 8px; }
.feature-value { color: var(--aqua); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.section-feature.hero { padding-top: 80px; padding-bottom: 80px; }
.section-feature.hero .heading-detail-large { color: var(--aqua); }
.section-feature.hero h1 { color: #fff; }
.section-feature.hero .paragraph-large { color: var(--frost); max-width: 640px; }
.section-feature.hero .title-wrapper-centre { max-width: 800px; }
.section-feature .title-wrapper-small h4 { color: #fff; }
.section-feature .title-wrapper-small .paragraph-large { color: var(--frost); }
.section-feature .value-card { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); }
.section-feature .value-card h6 { color: #fff; }
.section-feature .value-card .paragraph-large { color: var(--frost); }
.section-feature .value-card .value-square { background: rgba(27, 212, 217, 0.16); }
.section-feature .value-card .value-square .ico { color: var(--aqua); }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.button-ghost { display: flex; min-height: 48px; padding: 8px 24px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 300ms ease; }
.button-ghost:hover { background: #fff; color: var(--teal-900); }
.button-outline .ico, .button-primary .ico, .button-home .ico, .button-secondary .ico, .button-ghost .ico { width: 18px; height: 18px; }

/* ---- Team ------------------------------------------------------------- */
.value-card.team { align-items: flex-start; justify-content: flex-start; text-align: left; }
.value-card.team p { margin-bottom: 12px; color: var(--body); font-size: 15.5px; line-height: 27px; }
.avatar-initials { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--teal-600); color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.avatar-initials.alt { background: var(--aqua-tint); color: var(--teal-700); }
.team-role { color: var(--teal-600); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.team-cred { color: var(--label); font-size: 13.5px; margin-bottom: 16px; }
.avatar-row { display: flex; justify-content: center; margin-top: 28px; }
.avatar-row .avatar-initials { width: 44px; height: 44px; font-size: 14px; margin: 0 0 0 -8px; border: 2px solid #fff; }
.avatar-row .avatar-initials:first-child { margin-left: 0; }
.photo-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--label); }
.photo-note .ico { width: 16px; height: 16px; color: var(--teal-600); }

/* ---- Hours / tables --------------------------------------------------- */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; text-align: left; color: var(--label); font-weight: 500; }
.hours td { text-align: right; font-weight: 600; color: var(--ink); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-closed td { color: var(--closed); }
.hours tr.is-em th, .hours tr.is-em td { font-weight: 700; color: var(--ink); }
.hours.compact th, .hours.compact td { padding: 7px 0; font-size: 14px; }
.card-location { width: 100%; }
.card-location .status { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.card-location .hours { margin-top: 4px; }
.card-location p { margin-bottom: 0; }
.card-location p + p { margin-top: 10px; }
.card-location h6 { display: flex; align-items: center; gap: 10px; }
.card-location h6 .ico { color: var(--teal-600); }
.card-location .button-location { text-decoration: none; margin-top: auto; padding-top: 12px; padding-bottom: 12px; }
.card-location .button-location + .button-location { margin-top: 12px; }
.card-location .location-line-break + .button-location { margin-top: 0; }
.card-location .push { margin-top: 32px; }
.card-location.alert { border-color: var(--alert-dark); background: var(--alert-dark); color: #fff; }
.card-location.alert h5, .card-location.alert h6, .card-location.alert p, .card-location.alert .small { color: #fff; }
.card-location.alert .location-line-break { background-color: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.3); }
.card-location.alert a:not(.button-location) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.card-location.alert h6 .ico { color: #fff; }
.card-location.alert .button-location { border-color: #fff; background: #fff; color: var(--alert-dark); }
.card-location.alert .button-location:hover { background: transparent; color: #fff; }
.card-location .big-phone { display: block; margin: 0 0 12px; color: var(--ink); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; font-variant-numeric: tabular-nums; }
.card-location h5 { font-size: 24px; margin-top: 0; }

/* ---- Map -------------------------------------------------------------- */
.map-box { position: relative; height: 460px; margin-top: 48px; border: 1px solid var(--rule); background: var(--aqua-tint); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-link { margin: 14px 0 0; text-align: right; font-size: 13.5px; }
.map-link a { font-weight: 700; color: var(--teal-700); }
@media screen and (max-width: 767px) { .map-box { height: 320px; } }

/* ---- FAQ -------------------------------------------------------------- */
.faq { margin-top: 40px; border: 1px solid var(--rule); background: #fff; padding: 8px 32px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--aqua-tint); color: var(--teal-600); font-size: 20px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; max-width: 62ch; color: var(--body); font-size: 15.5px; line-height: 1.7; }
.faq p a { font-weight: 700; color: var(--teal-700); }

/* ---- Forms ------------------------------------------------------------ */
.form-label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.form-error { display: none; margin-top: 6px; color: var(--alert); font-size: 13px; line-height: 1.4; }
.is-invalid { border-color: var(--alert) !important; }
.is-invalid ~ .form-error { display: block; }
.form-note { margin: 20px 0 0; text-align: center; color: var(--label); font-size: 13.5px; line-height: 1.55; }
.form-note a { color: var(--teal-700); font-weight: 700; }
.form-done { padding: 32px; border: 1px solid var(--rule); background: var(--aqua-tint); text-align: center; }
.form-done[hidden] { display: none; }
.form-done h6 { margin-bottom: 8px; }
.form-done p { margin-bottom: 8px; color: var(--body); font-size: 16px; line-height: 28px; }
.form-done .form-note { margin-top: 12px; }
.form-fail { padding: 32px; border: 1px solid var(--alert-dark); background: #fdf2f1; text-align: center; }
.form-fail[hidden] { display: none; }
.form-fail h6 { margin-bottom: 8px; color: var(--alert-dark); }
.form-fail p { margin-bottom: 0; color: var(--body); font-size: 16px; line-height: 28px; }
.form-fail a { color: var(--alert-dark); font-weight: 700; }
.button-form-submit { border: 0; cursor: pointer; font-family: inherit; }
textarea.text-field-large { resize: vertical; }
select.text-field { -webkit-appearance: auto; appearance: auto; padding-right: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 0 0; }
.choices.is-invalid { border: 0 !important; }
.choice { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal-600); }
.fieldset { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.fieldset legend { margin-bottom: 18px; padding: 0; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.honeypot { position: absolute; left: -9999px; }
.appt-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 8px; }
.appt-grid .contact-wrapper { margin: 0; }
/* ---- Otto booking card (request-appointment page) --------------------- */
/* Otto's own stylesheet sizes #otto-widget-iframe-container at 400×700 and fills it
   with the iframe; its interior is rendered by Otto and can't be restyled from here.
   We frame it in a card that matches the site and let it go full-width on phones. */
.booking-card { overflow: hidden; border: 1px solid var(--rule); border-radius: 22px; background: #fff; box-shadow: 0 28px 70px -30px rgba(11, 68, 72, 0.35); }
.booking-card[hidden] { display: none; }
.booking-card-head { display: flex; align-items: center; gap: 18px; padding: 24px 28px; background: var(--teal-900) url("../assets/tpl/accent-cta.svg") no-repeat 100% 0; color: #fff; }
.booking-card-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(27, 212, 217, 0.18); color: var(--aqua); }
.booking-card-icon .ico { width: 24px; height: 24px; }
.booking-card-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.booking-card-sub { margin-top: 4px; color: var(--frost); font-size: 14px; line-height: 1.5; max-width: 52ch; }
.booking-card-body { display: flex; justify-content: center; padding: 28px; background: var(--soft); }
.booking-fallback-content { max-width: 540px; text-align: center; }
.booking-fallback-content p { margin: 0 0 24px; color: var(--body); font-size: 16px; line-height: 28px; }
#otto-widget-iframe-container.otto-inline { position: relative; display: block; margin: 0 auto; max-width: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(11, 68, 72, 0.35); background: #fff; }
.otto-inline::before { content: "Loading the Otto booking widget…"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--label); font-size: 14px; }
.otto-inline iframe { position: relative; z-index: 1; border: 0; display: block; }
#otto-widget-iframe-container.otto-inline[hidden], .nhvh-form[hidden] { display: none; }
@media screen and (max-width: 767px) {
  .booking-card { border-radius: 16px; }
  .booking-card-head { padding: 18px 20px; gap: 14px; }
  .booking-card-title { font-size: 18px; }
  .booking-card-body { padding: 10px; }
  #otto-widget-iframe-container.otto-inline { width: 100% !important; height: 640px !important; border-radius: 12px; }
  html.otto-unavailable .appt-grid .contact-wrapper { padding: 24px 20px; }
}

/* ---- Dark (teal-900) sections: "Plan your visit" and testimonials ------ */
.section-content.dark, .section-regular.dark { background-color: var(--teal-900); background-image: url("../assets/tpl/accent-bottom-left.svg"); background-position: 0% 100%; background-size: auto; background-repeat: no-repeat; }
.dark .title-wrapper-small .heading-detail-large { color: var(--aqua); }
.dark .title-wrapper-small h4 { color: #fff; }
.dark .title-wrapper-small .paragraph-large { color: var(--frost); }
.dark .service-card { background: #fff; border-color: transparent; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.45); }
.dark .quote-text { color: #fff; }
.dark .testimonial-name { color: #fff; }
.dark .testimonial-role { color: var(--frost); }
.dark .quote { filter: brightness(0) invert(1); opacity: 0.9; }
.dark .background-block { background-color: rgba(27, 212, 217, 0.14); }
.dark .left-arrow, .dark .right-arrow { border-color: rgba(255, 255, 255, 0.45); }
.dark .left-arrow:hover, .dark .right-arrow:hover { background-color: rgba(255, 255, 255, 0.1); }
.dark .left-arrow img, .dark .right-arrow img { filter: brightness(0) invert(1); }
.dark .slide-nav { display: none; }
.side-card { padding: 28px; border: 1px solid var(--rule); background: #fff; margin-bottom: 24px; }
.side-card:last-child { margin-bottom: 0; }
.side-card h6 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 12px; }
.side-card h6 .ico { color: var(--teal-600); }
.side-card p { margin-bottom: 8px; color: var(--body); font-size: 15px; line-height: 1.6; }
.side-card .status { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.side-card.alert { border-color: var(--alert-dark); background: var(--alert-dark); color: #fff; }
.side-card.alert h6, .side-card.alert p { color: #fff; }
.side-card.alert a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.side-card.alert a:hover { color: #ffd9d6; }
.side-card.alert h6 .ico { color: #fff; }
.side-card a { color: var(--teal-700); font-weight: 700; }

/* ---- Emergency -------------------------------------------------------- */
.sign-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 0; padding: 0; }
.sign-list li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.sign-list .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--alert); }
.emergency-options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.emergency-option { padding: 28px; border: 1px solid var(--rule); background: #fff; }
.emergency-option h6 { margin: 8px 0; font-size: 20px; }
.emergency-option p { margin: 0; color: var(--body); font-size: 15.5px; line-height: 1.6; }
.emergency-option-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; }
.emergency-option-actions .service-link { text-decoration: none; }

/* ---- Prose (privacy / accessibility) --------------------------------- */
.prose { max-width: 680px; }
.prose h2 { margin: 36px 0 10px; font-size: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--body); }
.prose a { color: var(--teal-700); font-weight: 600; }
.utility-page-content .paragraph-large { max-width: 520px; margin-top: 8px; }
.utility-page-content .paragraph-large a { color: var(--teal-700); font-weight: 700; }

/* ---- Testimonials ----------------------------------------------------- */
.slider { padding-bottom: 60px; }
.quote-text { max-width: 420px; }
.testimonial-role { color: var(--label); }

/* ---- Footer ----------------------------------------------------------- */
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { width: 56px; height: 56px; margin-bottom: 0; border-radius: 50%; background: #fff; }
.footer-brand-name { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.15; }
.footer address { margin-top: 16px; font-style: normal; color: var(--aqua-tint); line-height: 1.8; }
.footer address a { color: #fff; text-decoration: none; }
.footer-hours { list-style: none; margin: 0; padding: 0; color: #fff; font-size: 14px; line-height: 1.9; }
.footer-status { margin-top: 12px; font-size: 13px; color: var(--frost); }
.footer-detail-small { max-width: 60ch; }
@media screen and (min-width: 992px) {
  .footer-grid { grid-template-columns: 2.4fr 1.35fr 1fr 1.1fr; }
  .footer-hours li { white-space: nowrap; }
}

/* ---- Responsive ------------------------------------------------------- */
@media screen and (max-width: 1200px) {
  .nav-link { margin-right: 2px; margin-left: 2px; padding-left: 12px; padding-right: 12px; }
  .brand-name { display: none; }
}
@media screen and (max-width: 991px) {
  .brand-name { display: inline; }
  .nav-link-book { display: block; }
  .nav-menu { left: 0; right: 0; padding: 8px 0 16px; box-shadow: 0 24px 40px rgba(14, 36, 39, 0.12); }
  .nav-menu .nav-link { display: block; }
  .home-heading { font-size: 48px; }
  .hero-photo { height: 440px; max-width: none; }
  .grid-service.cols-2, .grid-service.cols-4 { grid-template-columns: 1fr; max-width: 540px; }
  .grid-value.three { grid-template-columns: 1fr; }
  .grid-feature.four { grid-template-columns: 1fr 1fr; }
  .appt-grid { grid-template-columns: 1fr; }
  .banner-extra { display: none; }
}
@media screen and (max-width: 767px) {
  .home-heading { font-size: 42px; }
  .grid-feature.four { grid-template-columns: 1fr; }
  .sign-list { grid-template-columns: 1fr; }
  .emergency-options { grid-template-columns: 1fr; }
  .faq { padding: 4px 20px; }
  .header-content { padding-top: 16px; }
  .grid-button { grid-template-columns: 1fr; }
  .grid-button .button-outline, .grid-button .button-primary, .grid-button .button-home { width: 100%; }

  /* Type scale: the template's desktop sizes (h1 48px, h4 40px) overpower a
     390px screen and push everything below the fold. */
  h1 { font-size: 38px; line-height: 1.12; }
  .title-wrapper-small h4, .cta-heading { font-size: 30px; line-height: 1.2; }
  .paragraph-large { font-size: 17px; line-height: 28px; }
  .service-card .paragraph-large, .value-card .paragraph-large { font-size: 15.5px; line-height: 26px; }
  .quote-text { font-size: 19px; line-height: 31px; }
  .prose h2 { font-size: 22px; }
  .card-location h5 { font-size: 21px; }
  .card-location p, .side-card p, .faq p { line-height: 1.65; }

  /* Calls to action go full width so they're thumb-sized and left-aligned with
     the text above them. The hero's button grid was shrink-wrapping to 214px. */
  .grid-button, .booking-fallback-content .grid-button { width: 100%; }
  .title-actions, .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .title-actions .w-button, .cta-buttons .w-button, .cta-buttons .button-ghost { width: 100%; }
  .button-form-submit { width: 100%; padding-left: 16px; padding-right: 16px; }
  .button-primary, .button-outline, .button-secondary, .button-home, .button-ghost, .button-location { min-height: 52px; }

  /* 16px is the floor for form fields — below it iOS Safari zooms the whole
     page in when the field takes focus. */
  .text-field, .text-field-large, select.text-field { font-size: 16px; }

  /* Standalone links need a thumb-sized hit area (they were 24px tall). */
  .service-link, .emergency-option-actions a, .map-link a { display: inline-flex; align-items: center; min-height: 44px; }
  .emergency-option-actions { gap: 0 24px; margin-top: 12px; }
  /* The padding above is the tap target, so drop the grid gap that used to be it. */
  .footer-link-block { padding-top: 9px; padding-bottom: 9px; }
  .footer-link-grid { gap: 2px; }

  /* Trim dead vertical space — the phone layout was ~16,000px tall. */
  .footer { padding-top: 56px; padding-bottom: 56px; }
  .footer-grid { gap: 32px; }
  .slider { margin-top: 40px; padding-bottom: 40px; }
  .section-service .title-wrapper-small + .grid-service { margin-top: 32px; }
  .centre-cta { margin-top: 32px; }
  .grid-feature { gap: 16px; }
  .feature-block { padding: 20px; }

  /* Below 768px the template strips the header to logo + hamburger, which leaves
     a vet clinic's most-used mobile action buried two taps deep. Put a compact
     tap-to-call back in the bar. */
  .nav-link-mobile { margin: 0 8px 0 auto; padding: 10px 14px; min-height: 44px; border: 1px solid var(--rule); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }

  /* The open menu sat on the hero with only a soft shadow between them. */
  .nav-menu { border-bottom: 1px solid var(--rule); box-shadow: 0 24px 44px rgba(14, 36, 39, 0.18); }
  .nav-menu .nav-link-book { margin-top: 8px; border-top: 1px solid var(--rule); padding-top: 16px; color: var(--teal-600); font-weight: 700; }
}
@media screen and (max-width: 479px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 12px; }
  .hero-photo { height: 320px; }
  .home-heading { font-size: 34px; }
  .section-feature.hero h1 { font-size: 32px; }
  .value-card.team { padding: 28px 20px; }
  .side-card { padding: 20px; }
  .hl { white-space: normal; }
  h1 { font-size: 32px; }
  .title-wrapper-small h4, .cta-heading { font-size: 27px; }
  .service-card { padding: 28px 20px; }
  .emergency-option { padding: 22px 20px; }
  .grid-service { gap: 24px; }
  .faq { padding: 4px 16px; }
  .faq summary { font-size: 16px; }
  .card-location .big-phone { font-size: 30px; }
  .booking-card-sub { font-size: 13.5px; }
  .form-done, .form-fail { padding: 24px 20px; }
  .nav-link-mobile { padding: 10px; min-width: 44px; justify-content: center; }
  .nav-phone-text { display: none; }
}

/* icon spacing */
.ico.ml { margin-left: 8px; }
