/* ==========================================================================
   Getzik Family Chiropractic design system. Every page uses these styles unchanged.
   Brand, from his current site: royal navy #003594 (buttons, links, blue panels), ink #14213D
   (headings and body), gold #FFB81C (rules, stars, buttons on blue panels, never text on white),
   dark gold #8A5A00 (eyebrows on white), black panel #0A0A0A, font Montserrat.
   ========================================================================== */

:root {
  --blue: #003594;
  --blue-dark: #00266B;
  --ink: #14213D;
  --muted: #4A5468;
  --gold: #FFB81C;
  --gold-dark: #E9A400;
  --gold-text: #8A5A00;
  --black: #0A0A0A;
  --tint: #F6F7F9;
  --line: #E3E6EC;
  --white: #FFFFFF;

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --h1: 50px;  --h1-lh: 1.1;
  --h2: 34px;  --h2-lh: 1.18;
  --h3: 21px;  --h3-lh: 1.3;
  --body: 17px; --body-lh: 1.65;
  --small: 14px;
  --btn: 16px;

  --content: 1200px;
  --gutter: 32px;
  --section-y: 96px;
  --gap: 24px;
  --col-gap: 56px;
  --card-pad: 28px;
  --radius: 14px;
  --panel-radius: 20px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 12px 30px -14px rgba(20, 33, 61, .22);
  --shadow-hover: 0 2px 4px rgba(20, 33, 61, .08), 0 20px 40px -16px rgba(20, 33, 61, .3);
  --border: 1px solid var(--line);

  --header-h: 84px;
  --dock-size: 58px;        /* the GHL chat button is 58px, 20px from the bottom and right edges */
  --dock-bottom: 20px;
  --dock-side: 20px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 700ms;
}
@media (max-width: 900px) {
  :root {
    --h1: 34px; --h1-lh: 1.14;
    --h2: 27px; --h2-lh: 1.2;
    --h3: 19px;
    --body: 16.5px;
    --gutter: 18px;
    --section-y: 64px;
    --gap: 16px;
    --col-gap: 32px;
    --card-pad: 22px;
    --header-h: 68px;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; }
body { font-family: var(--font); font-size: var(--body); line-height: var(--body-lh); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5 { color: var(--ink); margin: 0 0 .5em; font-weight: 700; text-wrap: pretty; }
h1 { font-size: var(--h1); line-height: var(--h1-lh); font-weight: 800; letter-spacing: -0.022em; }
h2 { font-size: var(--h2); line-height: var(--h2-lh); letter-spacing: -0.015em; }
h3 { font-size: var(--h3); line-height: var(--h3-lh); }
h4 { font-size: 18px; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.ic-inline { display: inline-block; width: 22px; height: 22px; flex: none; vertical-align: -5px; margin-right: 8px; color: var(--blue); }
.small, small { font-size: var(--small); line-height: 1.55; color: var(--muted); }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: calc(var(--section-y) / 2) 0; }
.section--tint { background: var(--tint); padding: var(--section-y) 0; }
.section--tint + .section--tint { padding-top: 0; }
main > .section:first-child { padding-top: 56px; }
.grid { display: grid; gap: var(--gap); margin: 0 0 1em; align-items: stretch; }
.grid:last-child { margin-bottom: 0; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-5, .grid.cols-6 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid.cols-12 { grid-template-columns: 7fr 5fr; column-gap: var(--col-gap); }
.grid > .cell { min-width: 0; display: flex; flex-direction: column; }
.grid > .cell > .card { flex: 1; }
.grid.cols-fr { grid-template-columns: var(--cols); }
.inline-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 1em; }
.inline-row:last-child { margin-bottom: 0; }
.inline-row .btn { margin: 0; }
.inline-row > svg.ic-inline { margin-right: 0; }
.block { display: block; }
@media (max-width: 1020px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.cols-5, .grid.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-5, .grid.cols-6, .grid.cols-12, .grid.cols-fr { grid-template-columns: 1fr; } }

/* Text beside a photograph: the photo sits in a framed column, the text fills the rest. */
.split-img img, .cell > img { width: 100%; border-radius: var(--panel-radius); object-fit: cover; box-shadow: var(--shadow); }
.cell > img { max-height: 620px; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; font: 700 var(--btn)/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; margin: 0 12px 12px 0; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.btn .ic { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(0, 53, 148, .7); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--secondary:hover { background: var(--tint); color: var(--blue-dark); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-dark); color: var(--ink); }
@media (max-width: 600px) { .btn { width: 100%; margin-right: 0; padding: 12px 20px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20, 33, 61, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; }
.main-nav { flex: 1; }
.nav-list { list-style: none; display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 10px; font: 600 14.5px/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .has-sub.is-open > .nav-link { background: var(--tint); color: var(--blue); }
.nav-link .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.has-sub.is-open > .nav-link .ic { transform: rotate(180deg); }
.sub { list-style: none; margin: 0; position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; max-height: 70vh; overflow-y: auto; padding: 10px; background: #fff; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.sub li { margin: 0; }
@media (min-width: 1241px) { .sub--end { left: auto; right: -8px; } }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .18s var(--ease); }
@media (hover: hover) and (min-width: 1241px) { .has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .18s var(--ease); } }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; text-decoration: none; }
.sub a span { display: block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.sub a:hover { background: var(--tint); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-rating { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: var(--border); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; }
.header-rating .ic { width: 15px; height: 15px; color: var(--gold); }
.header-rating span { color: var(--muted); font-weight: 500; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--blue); text-decoration: none; min-height: 48px; }
.header-phone .ic { width: 18px; height: 18px; }
.header-cta .btn { min-height: 46px; padding: 0 18px; margin: 0; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 0; background: var(--tint); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .ic { width: 26px; height: 26px; }
.menu-toggle .ic-close { display: none; }
.menu-extra { display: none; }
@media (min-width: 1241px) and (max-width: 1400px) {
  .header-inner { gap: 12px; }
  .brand img { height: 50px; }
  .nav-link { padding: 10px 7px; font-size: 14px; }
  .header-rating { display: none; }
}
@media (max-width: 1240px) {
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand img { height: 48px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter) 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
  body.menu-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-toggle .ic-open { display: none; }
  body.menu-open .menu-toggle .ic-close { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: var(--border); }
  .nav-link { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 18px; border-radius: 0; }
  .nav-link:hover, .has-sub.is-open > .nav-link { background: none; }
  .sub { position: static; min-width: 0; max-height: none; padding: 0 0 12px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { font-size: 16px; padding: 12px 8px; }
  /* Phone number and Book Your Visit at the bottom of the menu, clear of the chat button and its bubble */
  .menu-extra { display: grid; gap: 12px; margin-top: auto; padding: 28px 0 calc(var(--dock-size) + var(--dock-bottom) + 150px); }
  .menu-extra .btn { width: 100%; margin: 0; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px !important; position: relative; overflow: hidden; }
.hero h1 { margin-bottom: 20px; }
.hero p:not(.eyebrow):not(.small) { font-size: 18px; color: var(--ink); }
.hero .grid.cols-2 { grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero .cell > img { max-height: 560px; aspect-ratio: 687 / 934; object-fit: cover; object-position: center top; width: 100%; max-width: 440px; margin-left: auto; }
.hero .small { margin-top: 10px; }
@media (max-width: 760px) {
  .hero { padding: 32px 0 48px !important; }
  .hero .grid.cols-2 { grid-template-columns: 1fr; }
  .hero .cell > img { max-height: 420px; margin: 8px auto 0; }
}

/* ---------- Cards and panels ---------- */
.card { background: #fff; border: var(--border); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.section--tint .card { border-color: transparent; }
.card > :last-child { margin-bottom: 0; }
.card > a:last-child:not(.btn), .card > p:last-child > a:only-child { margin-top: auto; }
.card h3 { margin-top: 10px; }
.card > svg.ic-inline:first-child { width: 26px; height: 26px; margin: 0 0 6px; }
.card img { border-radius: 10px; }
.card--dark { background: var(--black); color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .14); }
.card--dark h2, .card--dark h3, .card--dark h4, .card--dark strong { color: #fff; }
.card--dark a:not(.btn) { color: #fff; }
.card .card { box-shadow: none; background: var(--tint); padding: 16px 18px; }
.card--dark .card { background: rgba(255, 255, 255, .06); }
.card .btn { align-self: flex-start; margin-top: auto; }
.panel { position: relative; border-radius: var(--panel-radius); padding: 56px; background: var(--blue); color: rgba(255, 255, 255, .9); overflow: hidden; }
.panel h2, .panel h3, .panel h4, .panel strong { color: #fff; }
.panel a:not(.btn) { color: #fff; }
.panel .eyebrow { color: var(--gold); }
.panel ul { list-style: none; padding: 0; }
.panel li { display: flex; gap: 10px; }
.panel .ic-inline { color: var(--gold); }
.panel .card:not(.card--dark) { color: var(--ink); }
.panel .card:not(.card--dark) h3, .panel .card:not(.card--dark) h4, .panel .card:not(.card--dark) strong { color: var(--ink); }
.panel .card:not(.card--dark) a:not(.btn) { color: var(--blue); }
.panel .btn--primary { background: var(--gold); color: var(--ink); box-shadow: none; }
.panel .btn--secondary { background: #fff; color: var(--blue); border-color: #fff; }
.section--dark .panel { background: var(--black); }
.section--dark .panel > .grid > .cell > .card:first-child { border: 2px solid var(--gold); }
@media (max-width: 760px) { .panel { padding: 32px 22px; } }

/* Closing call to action: navy panel, gold top rule, centred */
.final .panel { text-align: center; border-top: 2px solid var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.final .panel h2 { max-width: 760px; margin: 0 auto 16px; }
.final .panel p { max-width: 680px; margin: 0 auto 28px; }
.final .panel .btn { margin: 0 6px 12px; }

/* Pricing rows that were a table on the old site: one card per row, label and value pairs */
.row-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); margin: 0 0 1.2em; }
.row-card { background: #fff; border: var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.row-card h4 { margin-bottom: 12px; }
.row-card dl { margin: 0; display: grid; gap: 8px; }
.row-card dl > div { display: flex; justify-content: space-between; gap: 16px; border-top: var(--border); padding-top: 8px; }
.row-card dt { color: var(--muted); font-size: 14px; }
.row-card dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- Questions and answers ---------- */
details { border-bottom: 1px solid rgba(20, 33, 61, .10); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(225deg); }
details .answer { padding: 0 0 20px; }

/* ---------- Form ---------- */
.form-wrap { background: #fff; border-radius: var(--radius); border-top: 3px solid var(--gold); padding: 22px 22px 16px; box-shadow: var(--shadow); color: var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.form-wrap .form-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.form-wrap iframe { display: block; width: 100%; min-height: 600px; border: 0; }
.form-wrap .form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.cta-logo { max-width: 300px; margin: 36px auto 0; }
@media (max-width: 1020px) { .cta-logo { display: none; } }

/* ---------- Hours and map ---------- */
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 10px 0 0; }
.hours dt, .hours dd { padding: 10px 0; border-bottom: var(--border); margin: 0; }
.hours dt { font-weight: 700; padding-right: 28px; }
.hours dd { color: var(--muted); }
.map { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Reviews ---------- */
.review { background: #fff; border: var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review .stars { display: flex; gap: 2px; color: var(--gold); }
.review .stars .ic { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--ink); }
.review-marquee { position: relative; padding: 8px 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); }
.review-marquee::-webkit-scrollbar { display: none; }
.review-track { display: flex; gap: var(--gap); width: max-content; padding: 0 var(--gutter); }
.review-track .review { width: min(360px, 82vw); flex: none; scroll-snap-align: center; margin: 0; }
.review-track .review blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; }
.review-marquee.is-running { overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.review-marquee.is-running .review-track { padding: 0; animation: review-scroll var(--marquee-dur, 120s) linear infinite; }
.review-marquee.is-running:hover .review-track, .review-marquee.is-running:focus-within .review-track, .review-marquee.is-paused .review-track { animation-play-state: paused; }
@keyframes review-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.marquee-controls { display: flex; justify-content: center; margin: 18px 0 28px; }
.marquee-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: var(--border); border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font); cursor: pointer; }
.review-marquee.is-running ~ .marquee-controls .marquee-toggle { display: inline-flex; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.6; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px; padding-top: 72px; padding-bottom: 48px; }
.site-footer h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer h2.footer-name { font-size: 17px; letter-spacing: 0; text-transform: none; color: #fff; margin: 12px 0 10px; }
.footer-logo img { height: 76px; width: auto; }
.site-footer address { font-style: normal; margin-bottom: 12px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-links { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-contact { display: grid; gap: 6px; margin-bottom: 16px; }
.footer-contact a { font-weight: 700; }
.footer-areas { font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.footer-areas a { text-decoration: underline; }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 22px; }
.footer-hours dt { font-weight: 700; color: #fff; }
.footer-hours dd { margin: 0; }
.footer-col .btn { width: 100%; margin: 0 0 14px; }
.review-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700 !important; }
.review-link .ic { width: 18px; height: 18px; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 26px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; font-size: 13px; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; width: 100%; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; }
.footer-social a.carecredit { width: auto; border-radius: 999px; padding: 0 16px; font-weight: 700; font-size: 13px; }
.footer-social .ic { width: 19px; height: 19px; }
.footer-disclaimer { width: 100%; margin: 0; color: rgba(255, 255, 255, .6); }
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; } }

/* ---------- Mobile buttons: call, contact, and the chat widget in one even row ---------- */
.dock, .dock-blur { display: none; }
@media (max-width: 1240px) {
  .dock-blur { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; height: calc(var(--dock-size) + var(--dock-bottom) + 44px); pointer-events: none; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 45%, rgba(0, 0, 0, .6) 70%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, #000 45%, rgba(0, 0, 0, .6) 70%, transparent 100%); }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: var(--dock-bottom); height: var(--dock-size); z-index: 2147483001; pointer-events: none; }
  .dock a { position: absolute; bottom: 0; width: var(--dock-size); height: var(--dock-size); border-radius: 50%; display: grid; place-items: center; pointer-events: auto; border: 0; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(20, 33, 61, .55); transition: transform .2s var(--ease); }
  .dock a:active { transform: scale(.94); }
  .dock .ic { width: 26px; height: 26px; }
  .dock-call { left: var(--dock-side); background: var(--blue); color: #fff; }
  .dock-contact { left: 50%; margin-left: calc(var(--dock-size) / -2); background: var(--ink); color: #fff; }
  body { padding-bottom: calc(var(--dock-size) + var(--dock-bottom) + 28px); }
  body.menu-open .dock, body.menu-open .dock-blur { display: none; }
}

/* ---------- Movement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.holding { padding: 120px 0; }

/* Lists of towns or conditions: three columns, as on his old site */
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 0 0 1.2em; }
@media (max-width: 760px) { .link-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .link-grid { grid-template-columns: 1fr; } }
