/* Anacapa Chiropractic — a calm, coastal visual system. */
:root {
  color-scheme: light;
  --ink: #142d3a;
  --navy: #0d2d3c;
  --navy-deep: #082330;
  --blue: #175b70;
  --teal: #287b83;
  --teal-dark: #155f68;
  --sand: #e3d8c5;
  --paper: #fffefa;
  --wash: #f5f5ef;
  --wash-blue: #eaf2f1;
  --muted: #526770;
  --border: #d7e0de;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1200px;
  --shadow: 0 16px 45px rgba(16, 50, 62, .08);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-color: rgba(23, 91, 112, .45); text-underline-offset: .2em; }
a:hover { color: var(--teal-dark); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid #cf8c35; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
[id] { scroll-margin-top: 1.5rem; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0 0 .65em;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.65rem, 4.8vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 3.25vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 1.8vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .35em; }
li::marker { color: var(--teal); }
strong { color: inherit; }
address { font-style: normal; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
main { min-width: 0; }

/* Accessible helpers and defaults. */
.sr-only, .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; top: .65rem; left: .65rem;
  padding: .7rem 1rem; color: #fff; background: var(--navy-deep);
  transform: translateY(-160%); text-decoration: none;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #f7c97f; }

/* Utility rail and navigation. The header stays in normal flow on small screens. */
.utility-bar { background: var(--navy-deep); color: #f0f8f7; font-size: .76rem; letter-spacing: .025em; }
.utility-bar > .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .25rem 1.5rem; min-height: 38px; padding-block: .4rem;
}
.utility-bar p, .utility-bar ul { margin: 0; }
.utility-bar ul { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding: 0; list-style: none; }
.utility-bar li + li { margin-top: 0; }
.utility-bar a { color: inherit; text-decoration-color: rgba(255, 255, 255, .5); }
.utility-bar a:hover { color: #fff; }
.utility-links { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid rgba(13, 45, 60, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 98px; padding-block: .9rem; }
.brand { flex: 0 1 auto; display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.brand img { width: auto; max-width: min(250px, 100%); max-height: 76px; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem clamp(.9rem, 1.6vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.nav-links li { margin: 0; }
.nav-links a { display: inline-block; padding-block: .5rem; color: var(--navy); font-size: .84rem; font-weight: 650; line-height: 1.3; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-dark); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; }
.menu-icon { display: inline-flex; flex-direction: column; justify-content: space-between; width: 18px; height: 14px; }
.menu-icon span { display: block; width: 100%; height: 2px; background: currentColor; }

/* Buttons and links. */
.button, button.button, input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .85rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 700 .86rem/1.25 var(--sans); letter-spacing: .025em; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button-primary, .button:not(.button-outline) { background: var(--navy); border-color: var(--navy); color: #fff; }
.button-primary:hover, .button:not(.button-outline):hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.button-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.button:active { transform: translateY(1px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue); font-size: .88rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--teal-dark); }

/* Homepage hero: strong type, warm paper and a single editorial image. */
.hero { position: relative; overflow: hidden; background: var(--wash); }
.hero-layout { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(3rem, 6vw, 6rem); padding-block: clamp(4rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 1; max-width: 620px; }
.eyebrow, .section-kicker {
  display: block; margin: 0 0 1.15rem; color: var(--teal-dark);
  font: 750 .72rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase;
}
.hero h1 { max-width: 11.5ch; margin-bottom: .38em; }
.lede { max-width: 39rem; color: #415d68; font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.7; }
.hero-visual { position: relative; min-width: 0; padding: 0 1.15rem 1.15rem 0; }
.hero-visual::before { content: ""; position: absolute; inset: 1.15rem 0 0 1.15rem; border: 1px solid #9bb7b4; border-radius: 110px 3px 3px 3px; }
.hero-visual img { position: relative; width: 100%; aspect-ratio: 1.08 / 1; object-fit: cover; object-position: center; border-radius: 110px 3px 3px 3px; }
.gallery-arrow { position: absolute; top: 48%; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(8, 35, 48, .85); color: #fff; font: 400 2rem/1 var(--sans); cursor: pointer; }
.gallery-arrow:hover { background: #fff; color: var(--navy); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 2.15rem; }
.gallery-controls { position: absolute; z-index: 2; right: 2.15rem; bottom: 2.15rem; display: flex; gap: .2rem; padding: .25rem; background: rgba(8, 35, 48, .9); border-radius: 4px; }
.gallery-controls button { min-width: 44px; min-height: 44px; border: 0; border-radius: 2px; color: #fff; background: transparent; font: 700 .75rem/1 var(--sans); cursor: pointer; }
.gallery-controls button:hover, .gallery-controls button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.trust-strip { background: var(--navy); color: #fff; }
.trust-strip > .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.2rem; }
.trust-strip p, .trust-strip ul { margin: 0; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: .65rem 2rem; padding: 0; list-style: none; }
.trust-strip li { margin: 0; }
.trust-strip strong { color: #fff; }
.trust-strip a { color: #fff; text-decoration-color: rgba(255,255,255,.55); }

/* Section rhythm and flexible editorial layouts. */
.section { padding-block: clamp(4.25rem, 7vw, 6.75rem); }
.section-soft { background: var(--wash); }
.section-dark { background: var(--navy); color: #e5eeed; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a:not(.button) { color: #c7e7e3; }
.section-dark .section-kicker, .section-dark .eyebrow { color: #a7d7d2; }
.section-dark .button-primary { background: #fff; border-color: #fff; color: var(--navy); }
.section-dark .button-primary:hover { background: #d7edeb; border-color: #d7edeb; color: var(--navy); }
.section-dark .button-outline { border-color: #fff; color: #fff; }
.section-dark .button-outline:hover { background: #fff; color: var(--navy); }
.section-heading { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); text-align: left; }
.section-heading h2:last-child, .section-heading p:last-child { margin-bottom: 0; }
.section-heading > p:not(.section-kicker):not(.eyebrow) { max-width: 43rem; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading > p:not(.section-kicker):not(.eyebrow) { color: #d5e5e3; }
.intro-grid, .split-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.intro-grid > *, .split-grid > *, .content-grid > *, .contact-grid > * { min-width: 0; }
.image-frame { position: relative; overflow: hidden; background: var(--wash-blue); border-radius: 3px 70px 3px 3px; }
.image-frame img { width: 100%; height: 100%; min-height: 260px; aspect-ratio: 1.12 / 1; object-fit: cover; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.service-card, .card {
  position: relative; min-width: 0; padding: clamp(1.5rem, 2.5vw, 2.1rem);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
}
.service-card { display: flex; flex-direction: column; align-items: flex-start; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover { border-color: #9ebfbd; box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card h3 { margin-bottom: .55em; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }
.icon-circle { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.5rem; border-radius: 50%; background: var(--wash-blue); color: var(--teal-dark); }
.icon-circle svg, .icon-circle img { width: 24px; height: 24px; object-fit: contain; }
.offer-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 260px); align-items: center; gap: 2rem; padding: clamp(2rem, 4vw, 3.25rem); background: #e3f0ed; border-left: 4px solid var(--teal); }
.offer-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.offer-band h2, .offer-band h3 { margin-bottom: .4em; }
.offer-band p:last-child { margin-bottom: 0; }
.quote-block { position: relative; max-width: 850px; margin: 0; padding: .25rem 0 .25rem clamp(1.4rem, 3vw, 2.5rem); border-left: 2px solid #79aaa8; }
.quote-block p { font: 500 clamp(1.45rem, 2.6vw, 2.3rem)/1.35 var(--serif); letter-spacing: -.015em; }
.quote-block cite { color: var(--muted); font: 700 .78rem/1.5 var(--sans); font-style: normal; letter-spacing: .06em; }
.section-dark .quote-block cite { color: #cde0de; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.review-card { display: flex; flex-direction: column; min-width: 0; padding: 1.7rem; background: #fff; border: 1px solid var(--border); border-top: 3px solid #79aaa8; }
.review-stars { margin: 0 0 1.15rem; color: #9a661d; font-size: 1.05rem; letter-spacing: .11em; line-height: 1; }
.review-label { min-height: 1.05rem; margin: 0 0 1.15rem; color: var(--teal-dark); font-size: .72rem; font-weight: 700; line-height: 1.4; }
.review-card blockquote { display: flex; flex-direction: column; flex: 1; }
.review-card blockquote p { color: var(--navy); font: 500 1.18rem/1.45 var(--serif); }
.review-card blockquote .review-stars { margin: auto 0 .65rem; padding-top: 1.1rem; color: #9a661d; font: 1.05rem/1 var(--sans); letter-spacing: .11em; }
.review-card cite { margin-top: auto; color: var(--muted); font: 700 .78rem/1.4 var(--sans); font-style: normal; }
.review-card-original blockquote p { font-size: 1rem; }
.review-source { align-self: flex-start; margin-top: 1.1rem; font-size: .78rem; font-weight: 700; }
.review-platform { display: flex; align-items: center; align-self: flex-start; min-height: 3.5rem; margin-bottom: 1rem; color: var(--teal-dark); font-size: .78rem; font-weight: 700; }
.review-platform img { flex: none; object-fit: contain; }
.review-google-logo { width: 3.5rem; height: 3.5rem; margin-left: -.75rem; }
.review-yelp-logo { width: 4.5rem; height: auto; margin-right: .55rem; }
.review-note { margin: 1.4rem 0 0; color: var(--muted); font-size: .8rem; }

/* Interior pages stay left aligned and preserve a comfortable reading measure. */
.page-hero { position: relative; padding-block: clamp(3.25rem, 5.5vw, 5.25rem); background: var(--wash-blue); text-align: left; }
.page-hero h1 { max-width: 20ch; margin-bottom: .3em; font-size: clamp(2.55rem, 4.2vw, 4rem); }
.page-hero p:last-child { margin-bottom: 0; }
.page-hero .lede { max-width: 48rem; }
.breadcrumb { margin-bottom: 1.35rem; color: #526d73; font-size: .77rem; line-height: 1.5; }
.breadcrumb a { color: var(--blue); }
.breadcrumb ol, .breadcrumb ul { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .65rem; color: #829b9b; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); align-items: start; gap: clamp(3rem, 7vw, 6.5rem); }
.main-copy { min-width: 0; font-size: 1.035rem; }
.main-copy > :first-child { margin-top: 0; }
.main-copy p, .main-copy li { max-width: 73ch; }
.main-copy h2, .main-copy h3, .main-copy h4 { margin-top: 1.65em; }
.main-copy h2:first-child, .main-copy h3:first-child, .main-copy h4:first-child { margin-top: 0; }
.main-copy h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.main-copy h3 { font-size: 1.5rem; }
.main-copy ul, .main-copy ol { margin-bottom: 1.5rem; }
.interior-visual { margin: 2.2rem 0 2.6rem; }
.interior-visual img { width: 100%; max-height: 420px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px 60px 3px 3px; }
.interior-visual figcaption { margin-top: .55rem; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.side-card { padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--wash); border-top: 3px solid var(--teal); }
.side-card h2, .side-card h3 { font-size: 1.55rem; }
.side-card > :last-child { margin-bottom: 0; }
.side-card .button { width: 100%; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { position: relative; padding: 1.2rem 2.75rem 1.2rem 0; color: var(--navy); font-weight: 700; line-height: 1.45; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 1rem; right: .25rem; color: var(--teal-dark); font-size: 1.5rem; font-weight: 400; line-height: 1; }
details[open] > summary::after { content: "−"; }
details > :not(summary) { margin-right: 2rem; }
details > :last-child { margin-bottom: 1.35rem; }

/* Contact information, calls to action and forms. */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.25rem, 3vw, 2.25rem); }
.contact-card { min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card h2, .contact-card h3 { font-size: clamp(1.55rem, 2vw, 2rem); }
.contact-card > :last-child { margin-bottom: 0; }
.hours-list { margin: 0; padding: 0; list-style: none; }
.hours-list li, .hours-list > div { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.hours-list li:last-child, .hours-list > div:last-child { border-bottom: 0; }
.hours-list dt { font-weight: 700; }
.hours-list dd { margin: 0; text-align: right; }
.cta-panel { padding: clamp(2rem, 5vw, 4rem); background: var(--navy); color: #e8f1ef; border-radius: 3px 70px 3px 3px; }
.cta-panel h2, .cta-panel h3 { color: #fff; }
.cta-panel p { max-width: 44rem; }
.cta-panel a:not(.button) { color: #d1eeea; }
.cta-panel .eyebrow, .cta-panel .section-kicker { color: #aedbd7; }
.cta-panel .button-primary { background: #fff; border-color: #fff; color: var(--navy); }
.cta-panel .button-primary:hover { background: #d7edeb; border-color: #d7edeb; color: var(--navy); }
.cta-panel .button-outline { border-color: #fff; color: #fff; }
.cta-panel .button-outline:hover { background: #fff; color: var(--navy); }
form { max-width: 100%; }
label { display: block; margin-bottom: .4rem; color: var(--navy); font-size: .88rem; font-weight: 700; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea, select {
  display: block; width: 100%; min-height: 48px; padding: .75rem .9rem;
  border: 1px solid #9db1b3; border-radius: 3px; background: #fff; color: var(--ink);
  font: 1rem/1.4 var(--sans);
}
textarea { min-height: 150px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--teal-dark); }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--teal-dark); outline: 3px solid rgba(40, 123, 131, .3); outline-offset: 1px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid .full-width, .form-grid .form-full, .form-grid .span-full { grid-column: 1 / -1; }
fieldset { min-width: 0; padding: 1.2rem; border: 1px solid var(--border); }
legend { padding-inline: .3rem; color: var(--navy); font-weight: 700; }
iframe { max-width: 100%; border: 0; }

/* Footer. */
.site-footer { background: var(--navy-deep); color: #c5d6d5; }
.site-footer a { color: #eef8f6; text-decoration-color: rgba(238, 248, 246, .45); overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); padding-block: 4rem; }
.footer-grid h2, .footer-grid h3, .footer-grid h4 { margin-bottom: 1rem; font: 700 .78rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p, .footer-grid li, .footer-grid address { font-size: .9rem; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li + li { margin-top: .45rem; }
.footer-grid img { max-width: 230px; max-height: 90px; width: auto; padding: .25rem; background: #fff; object-fit: contain; object-position: left; }
@font-face { font-family: 'Anacapa Original Social Icons'; src: url('../fonts/fontawesome-webfont.woff2') format('woff2'); font-weight: normal; font-style: normal; font-display: swap; }
.footer-social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(238, 248, 246, .48); border-radius: 50%; text-decoration: none; }
.footer-social a:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.footer-facebook { font-family: 'Anacapa Original Social Icons', sans-serif; font-size: 1.15rem; line-height: 1; }
.footer-grid .footer-social img { width: 23px; height: 23px; max-width: none; max-height: none; padding: 0; background: transparent; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; padding-block: 1.35rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .75rem; }
.footer-bottom p, .footer-bottom ul { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; list-style: none; }
.footer-bottom li { margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }

/* Small utilities for content assembled across the two languages. */
.stack > * + * { margin-top: 1rem; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; }
.muted { color: var(--muted); }
.narrow { max-width: 72ch; }
.full-width { width: 100%; }
.prose p, .prose li { max-width: 73ch; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

@media (max-width: 1050px) {
  .header-inner { gap: 1rem; }
  .brand img { max-width: 210px; }
  .primary-nav { gap: 1rem; }
  .nav-links { gap: .4rem .9rem; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; min-height: 76px; padding-block: .75rem; }
  .brand img { max-width: min(220px, 68vw); max-height: 64px; }
  /* Without JavaScript, links remain visible and the nonfunctional toggle is hidden. */
  .primary-nav { flex: 0 0 100%; display: block; padding: .25rem 0 .75rem; }
  .nav-links { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; }
  .nav-links a { padding: .6rem 0; }
  .nav-cta { display: inline-flex; margin-top: .7rem; }
  .js-nav-ready .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-width: 46px; min-height: 44px; padding: .5rem .7rem; border: 1px solid #b5c9c8;
    border-radius: 3px; background: transparent; color: var(--navy); font: 700 .8rem/1 var(--sans); cursor: pointer;
  }
  .js-nav-ready .primary-nav { display: none; }
  .js-nav-ready .primary-nav.is-open { display: block; border-top: 1px solid var(--border); }
  .js-nav-ready .nav-links { display: block; }
  .js-nav-ready .nav-links a { display: block; padding: .8rem 0; }
  .js-nav-ready .nav-links li + li { border-top: 1px solid #edf1ef; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 2.25rem, var(--container)); }
  .utility-bar > .container { justify-content: flex-start; gap: .2rem 1rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem 4rem; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { max-width: 600px; }
  .hero-visual::before, .hero-visual img { border-top-left-radius: 70px; }
  .hero-visual img { aspect-ratio: 1.25 / 1; }
  .trust-strip > .container, .trust-strip ul { align-items: flex-start; gap: .55rem 1.2rem; }
  .section { padding-block: 4rem; }
  .intro-grid, .split-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .offer-band { grid-template-columns: 1fr; }
  .offer-band img { max-width: 320px; }
  .content-grid { gap: 3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .image-frame { border-top-right-radius: 50px; }
  .image-frame img { min-height: 0; aspect-ratio: 1.3 / 1; }
  .page-hero { padding-block: 3rem; }
  .page-hero h1 { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full-width, .form-grid .form-full, .form-grid .span-full { grid-column: auto; }
  .footer-grid { gap: 2rem 1.5rem; padding-block: 3rem; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 1.75rem, var(--container)); }
  .brand img { max-width: 62vw; }
  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .service-card:hover, .button:active { transform: none; }
}

@media print {
  html, body { background: #fff; color: #000; font-size: 11pt; }
  .skip-link, .utility-bar, .nav-toggle, .primary-nav, .actions, .site-footer { display: none !important; }
  .site-header { border-bottom: 1px solid #999; }
  .header-inner { min-height: 0; padding-block: .5rem; }
  .brand img { max-width: 180px; max-height: 60px; }
  .container { width: 100%; max-width: none; }
  .hero, .page-hero, .section-soft, .section-dark, .cta-panel { background: transparent; color: #000; }
  .hero-layout, .intro-grid, .split-grid, .content-grid, .contact-grid { display: block; padding-block: 1rem; }
  .hero-visual, .image-frame { max-width: 50%; margin-block: 1rem; }
  .hero-visual::before { display: none; }
  .section { padding-block: 1rem; }
  h1, h2, h3, h4, .section-dark h2, .section-dark h3, .cta-panel h2 { color: #000; break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a, .section-dark a:not(.button), .cta-panel a:not(.button) { color: #000; text-decoration: underline; }
  .service-card, .contact-card, .side-card { break-inside: avoid; box-shadow: none; }
  .faq-list details:not([open]) > summary::after { content: ""; }
}
