/* OSAM theme styles. Tokens come from theme.json (--wp--preset--*). */
:root { --osam-radius: 12px; --osam-header-h: 72px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
body { -webkit-font-smoothing: antialiased; padding-bottom: 0; }

/* Focus */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--focus); outline-offset: 3px; border-radius: 4px;
}



/* Layout helpers */
.wp-site-blocks > * + * { margin-block-start: 0; }
.osam-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.osam-section--alt { background: var(--wp--preset--color--surface-alt); }
.osam-section--navy { background: var(--wp--preset--color--brand-primary); color: #fff; }
.osam-section--navy :where(h1,h2,h3,p,li) { color: #fff; }
.osam-section--navy a:not(.wp-block-button__link) { color: #fff; }
.osam-lede { font-size: var(--wp--preset--font-size--lead); color: var(--wp--preset--color--muted-text); max-width: 46rem; }
.osam-section--navy .osam-lede { color: #E4E8FF; }
.osam-textwidth > :where(p, ul, ol, h2, h3) { max-width: 46rem; }
.osam-eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted-text); margin: 0; }
/* Optional/unfilled modules collapse in production (see plugin); on staging they show a label */
.osam-optional:empty { display: none; }

/* Utility strip */
.osam-utility { background: var(--wp--preset--color--brand-primary); color: #fff; font-size: .9375rem; padding-block: .5rem; }
.osam-utility p { margin: 0; color: #fff; }
.osam-utility a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 781px) { .osam-utility__msg { display: none; } .osam-utility .wp-block-group { justify-content: center; } }

/* Header */
.osam-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--wp--preset--color--border); }
.osam-header__bar { padding-block: .6rem; gap: 1rem; min-height: var(--osam-header-h); }
.osam-logo img { height: auto; max-height: 56px; width: auto; }
.osam-header__phone { margin: 0; font-weight: 750; font-size: 1.0625rem; }
.osam-header__phone a { text-decoration: none; color: var(--wp--preset--color--brand-primary); white-space: nowrap; }
.osam-ph-call { display: none; }
.osam-header__actions { gap: 1rem; flex-wrap: nowrap; }
.osam-header__book .wp-block-button__link { padding: .7rem 1.25rem; min-height: 48px; display: inline-flex; align-items: center; }
.osam-nav { font-weight: 600; font-size: 1rem; }
.osam-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--text); text-decoration: none; padding: .5rem .35rem; }
.osam-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--brand-primary); text-decoration: underline; text-underline-offset: 4px; }
.osam-nav .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--border); border-radius: 10px; box-shadow: var(--wp--preset--shadow--card); padding: .35rem; min-width: 16rem; }
.osam-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .6rem .8rem; border-radius: 6px; }
.osam-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--surface-alt); text-decoration: none; }
.osam-nav__contact-mobile { display: none; }
.osam-nav .wp-block-navigation__responsive-container.is-menu-open .osam-nav__contact-mobile { display: block; }

/* Force hamburger below 1100px (core switches at 600px) */
@media (max-width: 1099px) {
  .osam-nav .wp-block-navigation__responsive-container-open { display: flex; }
  .osam-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .osam-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 20px; }
  .osam-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: .25rem; align-items: stretch; width: 100%; font-size: 1.125rem; }
  .osam-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0; box-shadow: none; padding-left: 1rem; }
  .osam-nav .wp-block-navigation__responsive-container-open { min-width: 48px; min-height: 48px; justify-content: center; align-items: center; }
  .osam-header__book { display: none; }
  .osam-header__bar { flex-wrap: nowrap; }
  .osam-ph-num { display: none; }
  .osam-ph-call { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 2px solid var(--wp--preset--color--brand-primary); border-radius: 8px; }
  .osam-header__actions { order: 2; margin-left: auto; }
  .osam-nav { order: 3; }
}
@media (min-width: 1100px) { .osam-nav .wp-block-navigation__responsive-container-open { display: none; } }
@media (min-width: 1100px) and (max-width: 1250px) { .osam-nav { font-size: .9375rem; } .osam-header__phone { display: none; } }

/* Buttons */
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-align: center; transition: transform .12s ease, box-shadow .12s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(20,24,43,.18); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--brand-primary); border: 2px solid var(--wp--preset--color--brand-primary); }
.osam-section--navy .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.osam-btn-navy .wp-block-button__link { background: var(--wp--preset--color--brand-primary); color: #fff; }

/* Hero */
.osam-hero { background: linear-gradient(180deg, var(--wp--preset--color--surface-alt) 0%, #fff 100%); padding-block: clamp(2rem, 5vw, 4.5rem); }
.osam-hero__grid { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.osam-hero h1 { margin-block: .5rem 1rem; }
.osam-hero__note { font-size: .9375rem; color: var(--wp--preset--color--muted-text); margin-top: 1rem; }
.osam-hero__img img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--wp--preset--shadow--card); }
@media (max-width: 781px) { .osam-hero__grid { flex-direction: column; } .osam-hero__img { order: 2; } }

/* Proof strip */
.osam-proof { border-block: 1px solid var(--wp--preset--color--border); background: #fff; padding-block: 1.25rem; }
.osam-proof__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem 2rem; list-style: none; padding: 0; margin: 0; }
.osam-proof__list li { font-weight: 650; color: var(--wp--preset--color--brand-primary); display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; line-height: 1.35; }
.osam-proof__list li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: .4em; border-radius: 50%; background: var(--wp--preset--color--brand-accent); }

/* Cards */
.osam-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-block-start: 1.75rem; }
.osam-cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.osam-cards > * { margin-block: 0 !important; } /* grid gap handles spacing; flow-layout sibling margins staggered the cards */
.osam-card { background: #fff; border: 1px solid var(--wp--preset--color--border); border-radius: var(--osam-radius); padding: 1.5rem; box-shadow: var(--wp--preset--shadow--card); display: flex; flex-direction: column; gap: .5rem; height: 100%; }
.osam-card h3 { margin: 0; font-size: 1.25rem; }
.osam-card p { margin: 0; color: var(--wp--preset--color--muted-text); }
.osam-card .osam-card__link { margin-top: auto; padding-top: .75rem; font-weight: 700; }
.osam-card .osam-card__link a { display: inline-flex; min-height: 44px; align-items: center; }
.osam-card--accent { border-top: 5px solid var(--wp--preset--color--brand-accent); }
.osam-card--cyan { border-top: 5px solid var(--wp--preset--color--brand-cyan); }
.osam-card--navy { border-top: 5px solid var(--wp--preset--color--brand-primary); }

/* Steps */
.osam-steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; }
.osam-steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.osam-steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wp--preset--color--brand-primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.osam-steps strong { display: block; color: var(--wp--preset--color--brand-primary); font-size: 1.1875rem; margin-bottom: .25rem; }

/* Split */
.osam-split { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.osam-split img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 781px) { .osam-split { flex-direction: column; } }

/* City chips */
.osam-chips { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.osam-chips a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; border: 2px solid var(--wp--preset--color--brand-primary); border-radius: 999px; font-weight: 700; text-decoration: none; background: #fff; }
.osam-chips a:hover { background: var(--wp--preset--color--brand-primary); color: #fff; }

/* FAQ (core/details) */
.wp-block-details { border: 1px solid var(--wp--preset--color--border); border-radius: 10px; background: #fff; padding: 0; margin-block: .6rem; }
.wp-block-details summary { cursor: pointer; font-weight: 700; padding: 1rem 1.25rem; min-height: 48px; color: var(--wp--preset--color--brand-primary); list-style-position: inside; }
.wp-block-details > :not(summary) { padding: 0 1.25rem; margin-block: 0 1rem; max-width: 46rem; }
.wp-block-details[open] summary { border-bottom: 1px solid var(--wp--preset--color--border); margin-bottom: 1rem; }

/* Fee / notice box */
.osam-note { border-left: 5px solid var(--wp--preset--color--brand-cyan); background: var(--wp--preset--color--surface-alt); border-radius: 8px; padding: 1rem 1.25rem; }
.osam-note p { margin: 0; }
.osam-staging-label { display: inline-block; background: #FFF1D6; border: 1px dashed #B26A00; color: #5A3600; padding: .25rem .6rem; border-radius: 6px; font-size: .875rem; font-weight: 700; }

/* Final CTA */
.osam-cta { text-align: center; }
.osam-cta .wp-block-buttons { justify-content: center; }
.osam-cta h2 { margin-inline: auto; }

/* Footer */
.osam-footer { background: #0A0A3A; color: #D9DEF7; padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.osam-footer a { color: #fff; }
.osam-footer p, .osam-footer li { color: #D9DEF7; }
.osam-footer__h { color: #fff !important; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.osam-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.osam-footer__list a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.osam-footer__list a:hover { text-decoration: underline; }
.osam-footer__logo { background: #fff; padding: .6rem .9rem; border-radius: 10px; display: inline-block; }
.osam-footer__legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.18); }
.osam-footer__legal p { margin: 0; }

/* Mobile action bar */
.osam-mobile-bar { display: none; }
@media (max-width: 781px) {
  .osam-mobile-bar { display: grid; grid-template-columns: 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--wp--preset--color--border); box-shadow: 0 -4px 16px rgba(20,24,43,.1); }
  .osam-mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 8px; font-weight: 800; text-decoration: none; font-size: 1.0625rem; }
  .osam-mobile-bar__book { background: var(--wp--preset--color--brand-accent); color: var(--wp--preset--color--text); }
  body { padding-bottom: 76px; }
  .wp-site-blocks { scroll-padding-bottom: 90px; }
}
html { scroll-padding-top: 90px; }

/* Symptom pills */
.osam-symptoms { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; max-width: 52rem; }
.osam-symptoms li { background: #fff; border: 1px solid var(--wp--preset--color--border); border-left: 5px solid var(--wp--preset--color--brand-cyan); border-radius: 8px; padding: .85rem 1rem; font-weight: 650; color: var(--wp--preset--color--brand-primary); }
.osam-section--navy .osam-lede, .osam-section--navy p { color: #fff; }

/* Left-align section content (constrained layout centers capped-width children) */
/* Narrow text blocks stay left-aligned inside the centered 1200px container */
.osam-section > .osam-lede, .osam-section > p, .osam-section > .osam-note, .osam-section > .osam-ct, .osam-section > .wp-block-details, .osam-section > h1, .osam-section > h2 { max-width: 1200px !important; width: 100%; }
.osam-section > .osam-lede { padding-right: max(0px, calc(100% - 46rem)); }
.osam-section > .wp-block-details, .osam-section > .osam-note, .osam-section > .osam-ct { padding-right: 0; max-width: min(1200px, 52rem) !important; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.osam-cta > * { text-align: center; padding-right: 0 !important; }
.osam-cta .osam-lede { margin-inline: auto !important; max-width: 46rem !important; }
.osam-nav .osam-nav__contact-mobile { display: none; }
.osam-nav .is-menu-open .osam-nav__contact-mobile { display: block; }
.osam-header__book .wp-block-button__link { white-space: nowrap; }
.osam-header__book { flex-wrap: nowrap; }
h1, h2, h3 { text-wrap: balance; }

/* Final alignment: every direct child spans the 1200px container; narrower text uses right padding */
.osam-section > * { box-sizing: border-box; }
.osam-section > .osam-symptoms { max-width: 1200px !important; width: 100%; padding-right: max(0px, calc(100% - 52rem)); }
.osam-section > .osam-chips { max-width: 1200px !important; width: 100%; }
.osam-section > .osam-steps, .osam-section > .osam-cards { max-width: 1200px !important; width: 100%; }

/* Header fixes */
.osam-logo { flex: 0 0 auto; }
.osam-logo img { width: 170px; max-width: none; height: auto; }
@media (max-width: 1099px) { .osam-header .osam-header__book { display: none !important; } .osam-logo img { width: 140px; } }

/* ===================== Redesign v2 ===================== */
:root { --osam-cream: #F5F1EA; --osam-ink: #14182B; --osam-gutter: max(20px, calc((100vw - 1200px) / 2)); }
.osam-section--cream { background: var(--osam-cream); }
.osam-section { padding-block: clamp(3rem, 8vw, 6.5rem); }
.osam-section > h2 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.osam-lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: #3A4056; }

/* Split hero: navy panel + edge-to-edge photo */
.osam-hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 62vh, 700px); margin-block: 0 !important; padding: 0 !important; background: var(--wp--preset--color--brand-primary); max-width: none !important; }
.osam-hero2 > * { margin: 0 !important; max-width: none !important; }
.osam-hero2__text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 7vw, 7rem) clamp(2.5rem, 6vw, 5rem) var(--osam-gutter); color: #fff; background: linear-gradient(135deg, #03037B 0%, #04045C 100%); z-index: 1; }
.osam-hero2__text > * { margin: 0 !important; max-width: none; }
.osam-hero2__text h1, .osam-hero2__text p { color: #fff; }
.osam-hero2__text h1 { font-size: clamp(2.35rem, 5.2vw, 4.4rem); line-height: 1.0; letter-spacing: -0.03em; text-wrap: balance; }
.osam-hero2__lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: #DDE2FF !important; max-width: 36rem; }
.osam-hero2__note { font-size: .9375rem; color: #C5CBF5 !important; max-width: 32rem; } /* keep clear of the skewed navy edge ("availabili" was covered at 1440) */
.osam-hero2__note a { color: #fff; font-weight: 700; }
.osam-hero2 .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.75); }
.osam-hero2 .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--brand-primary); }
.osam-hero2__text::after { content: ""; position: absolute; top: 0; right: -46px; width: 92px; height: 100%; background: linear-gradient(135deg, #04045C 0%, #04045C 100%); transform: skewX(-6deg); z-index: 2; }
.osam-hero2__text::before { content: ""; position: absolute; top: 0; right: -52px; width: 8px; height: 100%; background: var(--wp--preset--color--brand-accent); transform: skewX(-6deg); z-index: 3; }
.osam-hero2__img { margin: 0 !important; height: 100%; min-height: 320px; position: relative; }
.osam-hero2__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
@media (max-width: 899px) {
  .osam-hero2 { grid-template-columns: 1fr; min-height: 0; }
  .osam-hero2__text { padding: 2.5rem 20px 2.75rem; }
  .osam-hero2__text::after, .osam-hero2__text::before { display: none; }
  .osam-hero2__img { order: -1; min-height: 0; height: 56vw; max-height: 340px; }
}

/* Fact band */
.osam-factband { background: var(--osam-cream); border-bottom: 1px solid #E4DDCF; padding: 0 !important; max-width: none !important; }
.osam-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto !important; padding-inline: 0; }
.osam-fact { padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 2rem); border-left: 1px solid #D9D0BE; }
.osam-fact:first-child { border-left: 0; padding-left: 20px; }
.osam-fact > * { margin: 0 !important; }
.osam-fact__big { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 850; letter-spacing: -0.03em; line-height: 1; color: var(--wp--preset--color--brand-primary); }
.osam-fact__small { margin-top: .5rem !important; font-size: .9375rem; line-height: 1.4; color: #3A4056; max-width: 17rem; }
@media (max-width: 781px) { .osam-facts { grid-template-columns: 1fr; } .osam-fact { border-left: 0; border-top: 1px solid #D9D0BE; padding-left: 20px; } .osam-fact:first-child { border-top: 0; } .osam-fact__small { max-width: none; } }

/* Photo tiles */
.osam-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.osam-tile { position: relative; overflow: hidden; border-radius: 6px; min-height: 360px; display: flex; align-items: flex-end; background: #0A0A3A; isolation: isolate; }
.osam-tile > * { margin: 0 !important; }
.osam-tile__img, .osam-tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0 !important; }
.osam-tile__img img { object-fit: cover; border-radius: 0; transition: transform .5s ease; z-index: -2; }
.osam-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,3,60,0) 15%, rgba(3,3,60,.92) 100%); z-index: -1; }
.osam-tile:hover .osam-tile__img img { transform: scale(1.04); }
.osam-tile__body { padding: clamp(1.25rem, 3vw, 2rem); color: #fff; width: 100%; }
.osam-tile__body > * { margin: 0 !important; }
.osam-tile__body h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; margin-bottom: .6rem !important; max-width: 22rem; }
.osam-tile__body p { color: #E8EBFF; max-width: 30rem; }
.osam-tile__link { margin-top: 1rem !important; }
.osam-tile__link a { color: #fff; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; border-bottom: 3px solid var(--wp--preset--color--brand-accent); padding-bottom: 2px; }
.osam-tile__link a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.osam-tile__link a::after { content: "→"; }
@media (max-width: 781px) { .osam-tiles { grid-template-columns: 1fr; } .osam-tile { min-height: 300px; } }

/* Two-column section layout */
.osam-split2 { gap: clamp(2rem, 6vw, 6rem); align-items: flex-start; }
.osam-split2 > .wp-block-column > * { max-width: none; }
.osam-split2 h2 { margin-top: 0; }
@media (max-width: 781px) { .osam-split2 { gap: 1.5rem; } }

/* Steps */
.osam-steps2 { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.osam-steps2 li { counter-increment: s; position: relative; padding: 1.5rem 0 1.5rem 4.5rem; border-top: 2px solid var(--wp--preset--color--brand-primary); font-size: 1.0625rem; color: #3A4056; }
.osam-steps2 li::before { position: absolute; left: 0; top: 1.5rem; content: "0" counter(s); font-size: 2.25rem; font-weight: 850; letter-spacing: -0.03em; color: var(--wp--preset--color--brand-accent); line-height: 1; }
.osam-steps2 li strong { display: block; color: var(--wp--preset--color--brand-primary); font-size: 1.3125rem; margin-bottom: .25rem; }

/* Full-bleed photo + text */
.osam-bleed { display: grid; grid-template-columns: 1fr 1fr; margin-block: 0 !important; padding: 0 !important; max-width: none !important; min-height: 520px; }
.osam-bleed > * { margin: 0 !important; max-width: none !important; }
.osam-bleed__img, .osam-bleed__img img { height: 100%; width: 100%; }
.osam-bleed__img img { object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.osam-bleed__text { padding: clamp(2.5rem, 6vw, 5rem) var(--osam-gutter) clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; background: #fff; }
.osam-bleed__text > * { margin: 0 !important; max-width: 36rem; }
.osam-bleed--flip .osam-bleed__img { order: 2; }
.osam-bleed--flip .osam-bleed__text { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem) clamp(2.5rem, 6vw, 5rem) var(--osam-gutter); background: var(--osam-cream); }
@media (max-width: 899px) { .osam-bleed { grid-template-columns: 1fr; min-height: 0; } .osam-bleed__img { height: 62vw; max-height: 360px; } .osam-bleed--flip .osam-bleed__img { order: 0; } .osam-bleed__text, .osam-bleed--flip .osam-bleed__text { padding: 2rem 20px 2.5rem; } }

/* City links */
.osam-citylinks { list-style: none; padding: 0; margin: 0; }
.osam-citylinks li { border-top: 1px solid #CFC6B3; }
.osam-citylinks li:last-child { border-bottom: 1px solid #CFC6B3; }
.osam-citylinks a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; color: var(--wp--preset--color--brand-primary); }
.osam-citylinks a::after { content: "→"; color: var(--wp--preset--color--brand-accent); transition: transform .2s; }
.osam-citylinks a:hover::after { transform: translateX(6px); }
.osam-citylinks a:hover { color: #000; }
.osam-section--cream .osam-citylinks li { border-color: #CFC6B3; }

/* Symptom list */
.osam-symptoms2 { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.osam-symptoms2 li { break-inside: avoid; padding: 1rem 0; border-top: 1px solid var(--wp--preset--color--border); font-size: 1.375rem; font-weight: 750; letter-spacing: -0.01em; color: var(--wp--preset--color--brand-primary); display: flex; align-items: center; gap: .75rem; }
.osam-symptoms2 li::before { content: ""; width: 10px; height: 10px; background: var(--wp--preset--color--brand-accent); transform: rotate(45deg); flex: none; }

/* Rows */
.osam-rows > .osam-row { border-top: 1px solid #CFC6B3; padding: 1.25rem 0; margin: 0 !important; }
.osam-rows > .osam-row:last-child { border-bottom: 1px solid #CFC6B3; }
.osam-row > * { margin: 0 !important; }
.osam-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35rem !important; }
.osam-row h3 a { text-decoration: none; }
.osam-row h3 a::after { content: " →"; color: var(--wp--preset--color--brand-accent); }
.osam-row p { color: #3A4056; }

/* Navy section split + final CTA */
.osam-section--navy { background: linear-gradient(135deg, #03037B 0%, #04045C 100%); }
.osam-section--navy .wp-block-button.is-style-outline .wp-block-button__link { border-color: rgba(255,255,255,.75); }
.osam-finalcta { background: var(--wp--preset--color--brand-accent); padding: clamp(3rem, 7vw, 5.5rem) 20px !important; text-align: center; max-width: none !important; }
.osam-finalcta > * { margin-inline: auto !important; max-width: 46rem; }
.osam-finalcta h2, .osam-finalcta p, .osam-finalcta a:not(.wp-block-button__link) { color: #0B0B2E; }
.osam-finalcta p { font-size: 1.1875rem; margin-top: .75rem !important; }
.osam-finalcta .wp-block-buttons { justify-content: center; margin-top: 1.5rem !important; }
.osam-finalcta .wp-block-button__link { background: var(--wp--preset--color--brand-primary); color: #fff; }
.osam-finalcta .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: #0B0B2E; border-color: #0B0B2E; }

/* Buttons: squarer, heavier */
.wp-block-button__link { border-radius: 4px !important; font-weight: 800; letter-spacing: .005em; }
.osam-header__book .wp-block-button__link { border-radius: 4px !important; }
.wp-block-details { border-radius: 4px; border-color: #CFC6B3; background: transparent; }
.wp-block-details summary { font-size: 1.125rem; }
.osam-section--cream .wp-block-details { background: #fff; }

/* Reset obsolete centering from v1 */
.osam-section > * { max-width: 1200px; }
.osam-section > .osam-lede { padding-right: 0; }

/* Hero calm-down */
.osam-hero2__text h1 { font-size: clamp(2.25rem, 4.6vw, 3.9rem); max-width: 13em; }
.osam-hero2__text .wp-block-buttons { flex-wrap: wrap; gap: .75rem; }
.osam-hero2__text { gap: 1.5rem; }
.osam-hero2__img img { object-position: 28% 40%; }

/* ===================== Home refinement v3 ===================== */
/* Hero: calmer, one primary action */
.osam-hero2 { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
.osam-hero2__img img { object-position: 22% 38%; }
.osam-hero2__actions { align-items: center; gap: 1.25rem !important; }
.osam-btn-link .wp-block-button__link { background: transparent !important; border: 0 !important; color: #fff !important; padding: 0 .25rem !important; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; font-weight: 700; }
.osam-btn-link .wp-block-button__link::after { content: " →"; }
.osam-btn-link .wp-block-button__link:hover { box-shadow: none; transform: none; text-decoration-color: var(--wp--preset--color--brand-accent); }
.osam-trustline { list-style: none; margin: .5rem 0 0 !important; padding: 1rem 0 0; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .875rem; letter-spacing: .01em; color: #D5DAFB; }
.osam-trustline li { margin: 0; display: inline-flex; align-items: center; gap: 1.25rem; }
.osam-trustline li + li::before { content: ""; width: 4px; height: 4px; background: var(--wp--preset--color--brand-accent); transform: rotate(45deg); margin-right: -.35rem; }
.osam-trustline li:first-child { color: #fff; font-weight: 650; }
.osam-hero2__rating { margin: 0 !important; font-size: .9375rem; color: #fff; }
.osam-hero2__rating:empty, .osam-hero2__rating:has(> :empty) { display: none; }
.osam-ratingline { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.osam-rating-dark .osam-ratingline { color: var(--wp--preset--color--brand-primary); border-color: var(--wp--preset--color--brand-primary); }

/* Tiles: more compact on desktop */
.osam-tile { min-height: 320px; }
.osam-tiles { gap: 1rem; }
@media (max-width: 781px) {
  .osam-tiles { gap: .75rem; }
  .osam-tile { display: grid; grid-template-columns: 112px 1fr; min-height: 0; background: #fff; border: 1px solid #E4DDCF; border-radius: 4px; align-items: stretch; }
  .osam-tile::before { display: none; }
  .osam-tile__img, .osam-tile__img img { position: static; width: 112px; height: 100%; min-height: 148px; }
  .osam-tile__img img { z-index: 0; }
  .osam-tile__body { padding: 1rem 1rem 1rem 1.1rem; }
  .osam-tile__body h3 { color: var(--wp--preset--color--brand-primary); font-size: 1.1875rem; margin-bottom: .35rem !important; }
  .osam-tile__body p { color: #4A5168; font-size: .9375rem; line-height: 1.45; }
  .osam-tile__link { margin-top: .5rem !important; }
  .osam-tile__link a { color: var(--wp--preset--color--brand-primary); font-size: .9375rem; }
}

/* Reviews */
.osam-reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.osam-review { background: #fff; border: 1px solid #E4DDCF; border-radius: 4px; padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; margin: 0; }
.osam-review blockquote { margin: 0; padding: 0; border: 0; position: relative; }
.osam-review blockquote::before { content: "“"; display: block; font: 800 3.5rem/0.7 Georgia, serif; color: var(--wp--preset--color--brand-accent); margin-bottom: .5rem; }
.osam-review blockquote p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--wp--preset--color--text); }
.osam-review footer { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #E4DDCF; padding-top: 1rem; font-size: .875rem; }
.osam-review__who { font-weight: 700; color: var(--wp--preset--color--brand-primary); }
.osam-review__who span { font-weight: 400; color: #5B6178; }
.osam-review footer a { font-weight: 600; }
.osam-review--pending { border-style: dashed; background: #FFFBF2; }
.osam-reviews + * { margin-top: 0; }

/* Project photos (quiet) */
.osam-duo { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.osam-duo > * { margin: 0 !important; }
.osam-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.5rem; }
.osam-trio > * { margin: 0 !important; }
.osam-trio__img img { width: 100%; height: 340px; object-fit: cover; border-radius: 2px; display: block; aspect-ratio: auto; }
@media (max-width: 781px) { .osam-trio { grid-template-columns: 1fr; } .osam-trio__img img { height: 220px; } }
.osam-duo__img img { width: 100%; height: 420px; object-fit: cover; border-radius: 2px; display: block; aspect-ratio: auto; }
@media (max-width: 781px) { .osam-duo__img img { height: 240px; } }

/* Footer: tighter, license line */
.osam-footer__license { font-size: .9375rem; margin-top: .75rem !important; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.18); }
.osam-footer__license a { font-weight: 400; }
@media (max-width: 781px) {
  .osam-footer__cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .osam-footer__cols > .wp-block-column:first-child { grid-column: 1 / -1; flex-basis: auto !important; }
  .osam-footer__cols > .wp-block-column { flex-basis: auto !important; }
  .osam-footer__cols > .wp-block-column:nth-child(4) { grid-column: 1 / -1; }
  .osam-footer__about { font-size: .9375rem; }
  .osam-footer__list a { min-height: 36px; }
}

/* v3 hero tuning */
.osam-hero2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(480px, 58vh, 640px); }
.osam-hero2__text { padding-block: clamp(2rem, 4.5vw, 3.5rem); gap: 1.25rem; }
.osam-hero2__text h1 { font-size: clamp(2.25rem, 4.3vw, 3.6rem); max-width: none; }
.osam-hero2__img img { object-position: 12% 40%; }
.osam-trustline { gap: .25rem 1.1rem; font-size: .8125rem; }
.osam-trustline li { gap: 1.1rem; }
.osam-trustline li + li::before { margin-right: -.25rem; }
.osam-hero2__text { padding-right: 4.25rem; }
.osam-hero2__actions { margin-bottom: .25rem !important; }
.osam-split2--center { align-items: end; margin-bottom: 2rem; }
.osam-btns-end { justify-content: flex-end; }
@media (max-width: 781px) { .osam-btns-end { justify-content: flex-start; } .osam-split2--center { margin-bottom: 1.25rem; } }
.osam-reviews { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.osam-tile::before { background: linear-gradient(180deg, rgba(3,3,60,.05) 0%, rgba(3,3,60,.6) 42%, rgba(3,3,60,.95) 100%); }
.osam-tile__img img { object-position: center 30%; }

/* Mobile hero (must stay last: overrides v3 desktop tuning) */
@media (max-width: 899px) {
  .osam-hero2 { grid-template-columns: 1fr; min-height: 0; }
  .osam-hero2__text { padding: 2rem 20px 2.25rem; gap: 1.1rem; }
  .osam-hero2__img { order: -1; min-height: 0; height: 64vw; max-height: 360px; }
  .osam-hero2__img img { object-position: 20% 35%; }
  .osam-hero2__text h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .osam-hero2__actions { flex-direction: column; align-items: stretch; }
  .osam-hero2__actions .wp-block-button { width: 100%; }
  .osam-hero2__actions .osam-btn-link { text-align: left; }
  .osam-hero2__actions .osam-btn-link .wp-block-button__link { justify-content: flex-start; }
  .osam-trustline { flex-direction: column; gap: .35rem; }
  .osam-trustline li + li::before { margin-right: 0; }
}

/* Reviews page: align rating line with the content column */
.osam-section > .osam-hero2__rating { max-width: 1200px; width: 100%; margin-inline: auto !important; box-sizing: border-box; }

/* ===================== Homepage v4 (home-scoped) ===================== */
/* Unified local module: compact photo + coverage (home only; AC Repair keeps .osam-bleed defaults) */
.osam-bleed--home { min-height: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.osam-bleed--home .osam-bleed__img { height: 100%; min-height: 0; }
.osam-bleed--home .osam-bleed__img img { height: 100%; min-height: 360px; max-height: 460px; object-fit: cover; object-position: 30% 38%; }
.osam-bleed--home .osam-bleed__text { padding-block: clamp(2rem, 4vw, 3rem); gap: 1rem; justify-content: center; }
.osam-bleed--home .osam-bleed__text h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.osam-bleed--home .osam-bleed__text > * { max-width: 40rem; }
.osam-citylinks--inline { list-style: none; padding: 0; margin: .25rem 0 .5rem !important; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.osam-citylinks--inline li { margin: 0; }
.osam-citylinks--inline a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 800; font-size: 1.0625rem; color: var(--wp--preset--color--brand-primary); text-decoration: none; border-bottom: 2px solid transparent; }
.osam-citylinks--inline a::after { content: "→"; color: var(--wp--preset--color--brand-accent); }
.osam-citylinks--inline a:hover { border-bottom-color: var(--wp--preset--color--brand-accent); }
@media (max-width: 899px) {
  .osam-bleed--home { grid-template-columns: 1fr; }
  .osam-bleed--home .osam-bleed__img img { min-height: 0; height: 58vw; max-height: 340px; }
}

/* Reviews on home: tighter; two cards on narrow screens */
.osam-reviews-meta { margin: .25rem 0 0 !important; font-size: 1rem; color: #3A4056; }
.osam-reviews-meta .osam-ratingline { color: var(--wp--preset--color--brand-primary); border-bottom-color: var(--wp--preset--color--brand-primary); }
.osam-reviews--home .osam-review blockquote p { font-size: 1rem; }
@media (max-width: 781px) { .osam-reviews--home > li:nth-child(n+3) { display: none; } }

/* Final CTA on home: quiet white band; orange only on the primary button */
.osam-finalcta--home { background: #fff; border-top: 1px solid #E4DDCF; }
.osam-finalcta--home h2, .osam-finalcta--home p, .osam-finalcta--home a:not(.wp-block-button__link) { color: var(--wp--preset--color--brand-primary); }
.osam-finalcta--home p { color: #3A4056; }
.osam-finalcta--home .wp-block-button__link { background: var(--wp--preset--color--brand-accent); color: var(--wp--preset--color--text); }
.osam-finalcta--home .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--brand-primary); border-color: var(--wp--preset--color--brand-primary); }

/* Target sizes: >=44px for nav, footer and tile links */
.osam-nav .wp-block-navigation-item__content { padding-block: .75rem; }
.osam-footer__list a { min-height: 44px; }
.osam-tile__link a { min-height: 44px; }

/* v4 polish */
.osam-review footer { flex-direction: column; align-items: flex-start; gap: .25rem; }
details.wp-block-details { height: auto; min-height: 0; }
details.wp-block-details > summary { margin: 0; padding: .9rem 1.25rem; min-height: 48px; display: flex; align-items: center; }
details.wp-block-details[open] > summary { margin-bottom: .25rem; }
.osam-bleed--home .osam-bleed__text { padding-block: clamp(1.5rem, 3vw, 2.25rem); }

/* v4 a11y/responsive fixes */
.osam-review footer a { display: inline-flex; align-items: center; min-height: 44px; }
.osam-reviews { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.osam-nav .wp-block-navigation__submenu-icon { width: auto; height: auto; padding: .8rem .4rem; display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 44px; box-sizing: border-box; }
.osam-nav .wp-block-navigation__submenu-icon svg { width: 12px; height: 12px; }
@media (max-width: 380px) {
  .osam-header__bar { gap: .5rem; padding-inline: 0; }
  .osam-logo img { width: 112px !important; }
  .osam-header__actions { gap: .5rem; }
  .osam-ph-call { padding: 0 .75rem; }
}
@media (min-width: 1100px) {
  .osam-nav .wp-block-navigation__container { flex-wrap: nowrap; gap: .5rem 1rem; }
  .osam-nav .wp-block-navigation__submenu-icon { min-width: 24px; padding-inline: .15rem; margin-left: -.5rem; }
  .osam-nav .wp-block-navigation-item__content { padding-inline: .25rem; white-space: nowrap; }
}

/* ===================== Homepage v5 ===================== */
/* Verification cues: stars + license (restrained; data-driven, no badge wall) */
.osam-stars { --pct: 100%; display: inline-block; width: 5.4em; height: 1.05em; flex: none; vertical-align: -.15em;
  background: linear-gradient(90deg, var(--wp--preset--color--brand-accent) var(--pct), rgba(255,255,255,.28) var(--pct));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.9 7.5.6-5.7 4.9 1.8 7.3L12 17.8l-6.5 3.9 1.8-7.3L1.6 9.5l7.5-.6z'/%3E%3C/svg%3E") repeat-x left center / 1.08em 1.05em;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.9 7.5.6-5.7 4.9 1.8 7.3L12 17.8l-6.5 3.9 1.8-7.3L1.6 9.5l7.5-.6z'/%3E%3C/svg%3E") repeat-x left center / 1.08em 1.05em; }
.osam-ratingline { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; border-bottom: 0 !important; }
.osam-ratingline span:last-child { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.osam-reviews-meta .osam-stars, .osam-rating-dark .osam-stars { background: linear-gradient(90deg, var(--wp--preset--color--brand-accent) var(--pct), #D9D2C2 var(--pct)); }
.osam-trustline { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .6rem 1.75rem; margin-top: .25rem !important; padding-top: 1rem; font-size: .875rem; }
.osam-trustline li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.osam-trustline li::before { content: none !important; }
.osam-trustline li:nth-child(n+3) { color: #CBD1F7; }
.osam-trustline li:nth-child(n+3)::before { content: ""; display: block !important; width: 5px; height: 5px; background: var(--wp--preset--color--brand-accent); transform: rotate(45deg); flex: none; }
.osam-lic { color: #fff; text-decoration: none; display: inline-flex; gap: .45rem; align-items: baseline; border-left: 3px solid var(--wp--preset--color--brand-accent); padding-left: .6rem; line-height: 1.2; }
.osam-lic span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #CBD1F7; }
.osam-lic strong { font-size: .9375rem; letter-spacing: .02em; }
.osam-lic:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.osam-trustline__rating .osam-ratingline { color: #fff; font-size: .9375rem; }

/* Hero v5: desktop composition (>=1280) */
@media (min-width: 1280px) {
  .osam-hero2 { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .osam-hero2__text { padding-block: 3rem; padding-right: 3.25rem; gap: 1.15rem; }
  .osam-hero2__text h1 { font-size: clamp(2.6rem, 3.75vw, 3.4rem); }
  .osam-hero2__actions { flex-wrap: wrap; gap: .5rem 1.25rem !important; }
  .osam-hero2__img img { object-position: 40% 38%; }
}
/* Stack the hero below 1280 so the whole crew is always visible */
@media (max-width: 1279px) {
  .osam-hero2 { grid-template-columns: 1fr; min-height: 0; }
  .osam-hero2__text { padding: 2.25rem max(20px, 4vw) 2.5rem; gap: 1.1rem; }
  .osam-hero2__text::after, .osam-hero2__text::before { display: none; }
  .osam-hero2__img { order: -1; min-height: 0; height: min(60vw, 500px); }
  .osam-hero2__img img { object-position: 38% 36%; }
  .osam-hero2__text h1 { font-size: clamp(2.1rem, 6vw, 3rem); }
  .osam-hero2__actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .osam-hero2__actions .wp-block-button { width: auto; }
}
@media (max-width: 560px) {
  .osam-hero2__actions { flex-direction: column; align-items: stretch; }
  .osam-hero2__actions .wp-block-button { width: 100%; }
  .osam-trustline { grid-template-columns: 1fr; }
  .osam-hero2__img { height: 64vw; }
}

/* Process section photo + captions */
.osam-process__img { margin: 1.5rem 0 0 !important; }
.osam-process__img img { width: 100%; height: 280px; object-fit: cover; object-position: 40% 35%; border-radius: 2px; display: block; aspect-ratio: auto; }
@media (max-width: 781px) { .osam-process__img img { height: 220px; } }
.osam-duo .osam-caption { grid-column: 1 / -1; font-size: .875rem; color: #4A5168; margin: .25rem 0 0 !important; }
.osam-trustline { grid-template-columns: max-content max-content; gap: .6rem 1.25rem; }
.osam-trustline li, .osam-trustline .osam-ratingline span { white-space: nowrap; }
.osam-lic span { font-size: .75rem; letter-spacing: .04em; }
.osam-trustline__rating .osam-ratingline { font-size: .875rem; gap: .45rem; }
@media (min-width: 1280px) { .osam-hero2__text { padding-right: 2.5rem; } }
@media (max-width: 560px) { .osam-trustline { grid-template-columns: 1fr; } .osam-trustline li { white-space: normal; } }
/* Trust cues: left column = verification, right column = service facts */
.osam-trustline { grid-template-columns: max-content max-content; grid-auto-flow: row; gap: .7rem 1.75rem; }
.osam-trustline li:nth-child(1) { grid-column: 1; grid-row: 1; }
.osam-trustline li:nth-child(2) { grid-column: 1; grid-row: 2; }
.osam-trustline li:nth-child(3) { grid-column: 2; grid-row: 1; }
.osam-trustline li:nth-child(4) { grid-column: 2; grid-row: 2; }
@media (max-width: 560px) { .osam-trustline li:nth-child(n) { grid-column: 1; grid-row: auto; } }
/* v5 fixes: 320 overflow, mobile length, evidence-link target size */
.osam-lic { padding-block: .4rem; }
.osam-trustline__rating .osam-ratingline { padding-block: .3rem; }
@media (max-width: 781px) { .osam-process__img { display: none; } }
@media (max-width: 560px) {
  .osam-lic, .osam-trustline .osam-ratingline, .osam-trustline .osam-ratingline span { flex-wrap: wrap; white-space: normal; }
  .osam-trustline { gap: .15rem; padding-top: .75rem; }
  .osam-hero2__text { gap: 1rem; }
}
@media (max-width: 1279px) { .osam-hero2 { grid-template-columns: minmax(0, 1fr); } .osam-hero2__text, .osam-hero2__img { min-width: 0; } }

/* ===================== Homepage v6 ===================== */
/* Alternating desktop rhythm: hero R -> process L -> local R -> projects L (DOM order unchanged for mobile/screen readers) */
@media (min-width: 900px) {
  .osam-bleed--home.osam-bleed--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .osam-bleed--home.osam-bleed--flip .osam-bleed__img { order: 2; }
  .osam-bleed--home.osam-bleed--flip .osam-bleed__text { order: 1; background: var(--osam-cream); padding-left: var(--osam-gutter); padding-right: clamp(1.5rem, 4vw, 4rem); }
}
@media (min-width: 782px) { .osam-split2--flip > .wp-block-column:last-child { order: -1; } }
.osam-steps-cta { margin-top: 1.75rem !important; }
.osam-process__img img { object-position: 52% 42%; }
/* Tablet/stacked hero: shorter photo band (faces stay in frame; bodies crop) */
@media (min-width: 561px) and (max-width: 1279px) {
  .osam-hero2__img { height: min(44vw, 440px); }
  .osam-hero2__img img { object-position: 38% 28%; }
  .osam-hero2__text { padding-top: 1.75rem; padding-bottom: 2rem; }
}
/* iPhone safe-area clearance under the fixed action bar */
@media (max-width: 781px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }
/* Header: keep Call + menu grouped on the right below the desktop breakpoint */
@media (max-width: 1099px) { .osam-header__bar { justify-content: flex-start; } .osam-header__actions { margin-left: auto; } }

/* ===================== Phase 3 shared ===================== */
.osam-eyebrow--light { color: #AEB6F0 !important; }
.osam-reviews--one { grid-template-columns: minmax(0, 560px); }
.osam-reviews--one + * { margin-top: 0; }
.osam-goals > li { border-left: 4px solid var(--wp--preset--color--brand-cyan); padding: 1rem 0 1rem 1.25rem; margin: 0 0 .75rem; background: #fff; list-style: none; }
.osam-goals { list-style: none; padding: 0; margin: 0; }
.osam-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.osam-checklist li { position: relative; padding: .85rem 0 .85rem 2rem; border-top: 1px solid #CFC6B3; margin: 0; }
.osam-checklist li::before { content: ""; position: absolute; left: .25rem; top: 1.25rem; width: 10px; height: 10px; background: var(--wp--preset--color--brand-accent); transform: rotate(45deg); }
.osam-checklist li strong { color: var(--wp--preset--color--brand-primary); }
.osam-lic-block { display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; border-left: 4px solid var(--wp--preset--color--brand-accent); padding-left: 1rem; margin-block: 1rem; }
.osam-lic-block .osam-lic { color: var(--wp--preset--color--brand-primary); }
.osam-lic-block .osam-lic span { color: #4A5168; }

/* Request a Different Time (booking pages): expandable request form, no JS needed */
.osam-ct { margin-top: 1.25rem; }
.osam-ct__details { border: 1.5px solid var(--wp--preset--color--brand-primary); border-radius: 10px; background: #fff; }
.osam-ct__summary { cursor: pointer; font-weight: 600; padding: 1rem 1.25rem; min-height: 48px; display: flex; align-items: center; gap: .35rem .5rem; flex-wrap: wrap; color: var(--wp--preset--color--text); list-style: none; }
.osam-ct__summary::-webkit-details-marker { display: none; }
.osam-ct__summary::after { content: ""; margin-left: auto; width: .6rem; height: .6rem; border-right: 2.5px solid var(--wp--preset--color--brand-primary); border-bottom: 2.5px solid var(--wp--preset--color--brand-primary); transform: rotate(45deg); transition: transform .15s; }
.osam-ct__details[open] > .osam-ct__summary::after { transform: rotate(-135deg); }
.osam-ct__details[open] > .osam-ct__summary { border-bottom: 1px solid var(--wp--preset--color--border); }
.osam-ct__cta { color: var(--wp--preset--color--brand-primary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.osam-ct__summary:focus-visible { outline: 3px solid var(--wp--preset--color--brand-cyan); outline-offset: 2px; border-radius: 8px; }
.osam-ct__form { padding: 1.25rem; max-width: 44rem; }
.osam-ct__lead { margin: 0; }
.osam-ct--done { border-left: 5px solid var(--wp--preset--color--brand-cyan); background: var(--wp--preset--color--surface-alt); border-radius: 8px; padding: 1rem 1.25rem; }
.osam-ct--done p { margin: .5rem 0 0; }
.osam-ct__done-h { margin: 0 !important; font-size: 1.375rem !important; }
@media (prefers-reduced-motion: reduce) { .osam-ct__summary::after { transition: none; } }

/* Contact form */
.osam-form { display: grid; gap: 1.1rem; max-width: 40rem; }
.osam-form__grid { align-items: end; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 640px) { .osam-form__grid { grid-template-columns: 1fr; } }
.osam-field { display: grid; gap: .35rem; }
.osam-field label { font-weight: 700; color: var(--wp--preset--color--brand-primary); }
.osam-opt, .osam-hint { font-weight: 400; color: #4A5168; font-size: .875rem; }
.osam-field input[type=text], .osam-field input[type=tel], .osam-field input[type=email], .osam-field input[type=url], .osam-field input[type=date], .osam-field select, .osam-field textarea { font: inherit; padding: .8rem .9rem; min-height: 48px; border: 1.5px solid #8A90A8; border-radius: 4px; background: #fff; color: var(--wp--preset--color--text); width: 100%; box-sizing: border-box; }
.osam-field.has-error input, .osam-field.has-error select { border-color: var(--wp--preset--color--error); border-width: 2px; }
.osam-field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.osam-field--check input { width: 24px; height: 24px; margin-top: .2rem; }
.osam-field--check label { font-weight: 400; color: var(--wp--preset--color--text); }
.osam-form__errors { border: 2px solid var(--wp--preset--color--error); background: #FFF4F3; padding: 1rem 1.25rem; border-radius: 4px; color: #6B1510; }
.osam-form__errors a { color: #6B1510; font-weight: 700; }
.osam-form__errors ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.osam-form__note { font-size: .9375rem; color: #3A4056; margin: 0; }
.osam-form__submit { justify-self: start; border: 0; cursor: pointer; background: var(--wp--preset--color--brand-accent); color: var(--wp--preset--color--text); padding: .9rem 1.75rem; font-weight: 800; font-size: 1.0625rem; min-height: 52px; }
.osam-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.osam-goals > li strong { display: block; color: var(--wp--preset--color--brand-primary); font-size: 1.125rem; margin-bottom: .15rem; }
.osam-checklist li strong { display: inline; }
@media (min-width: 1280px) { .osam-hero2__lede { max-width: 31rem; } }
.osam-hero2__note-dark { font-size: .9375rem; color: #3A4056; }
.osam-hero2__lede a, .osam-hero2__text p a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.osam-prose { max-width: 46rem; }
.osam-prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.osam-staging-label { white-space: normal; overflow-wrap: anywhere; }

/* ===================== Phase 3b: authority, B2B, services directory ===================== */
/* Brands */
.osam-brands { display: grid; gap: 1.5rem; }
.osam-brands__group { border-top: 2px solid var(--wp--preset--color--brand-primary); padding-top: .9rem; }
.osam-brands__h { font-size: .8125rem !important; letter-spacing: .08em; text-transform: uppercase; color: #4A5168 !important; margin: 0 0 .6rem !important; font-weight: 700; }
.osam-brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.osam-brands__list li { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 850; letter-spacing: -.02em; color: var(--wp--preset--color--brand-primary); line-height: 1.15; }
.osam-brands__list--alt li { color: #4A5168; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.osam-brands__note { margin: 0; font-size: .9375rem; color: #3A4056; max-width: 40rem; }
/* BBB */
.osam-bbb { display: inline-flex; text-decoration: none; }
.osam-bbb--text { flex-direction: column; gap: .15rem; border: 2px solid var(--wp--preset--color--brand-primary); border-radius: 4px; padding: .75rem 1rem; color: var(--wp--preset--color--brand-primary); max-width: 18rem; }
.osam-bbb__k { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: #4A5168; }
.osam-bbb__t { font-size: 1.125rem; font-weight: 850; }
.osam-bbb__l { font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.osam-bbb--line { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.osam-trustline__bbb .osam-bbb--line { color: #fff; font-size: .9375rem; }
.osam-footer .osam-bbb--line { color: #fff; }
.osam-bbb--seal img { height: auto; width: 150px; display: block; }
/* Map + mid CTA + light hero */
.osam-map { margin: 0; }
.osam-map svg { width: 100%; height: auto; display: block; border: 1px solid #D9D0BE; border-radius: 4px; }
.osam-map figcaption { font-size: .875rem; color: #4A5168; margin-top: .5rem; }
.osam-midcta { padding-block: clamp(1.75rem, 4vw, 2.75rem) !important; border-block: 1px solid #E4DDCF; background: #fff; }
.osam-midcta__t { font-size: 1.1875rem; font-weight: 700; color: var(--wp--preset--color--brand-primary); margin-bottom: 1rem !important; }
/* B2B hero: crop portrait job-site photos to landscape */
.osam-hero2--b2b { min-height: 0; }
@media (min-width: 1280px) {
  .osam-hero2--b2b { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .osam-hero2--b2b .osam-hero2__img { position: relative; height: auto; min-height: 520px; overflow: hidden; } /* no max-height: the photo must grow with a taller text column (a cap left a navy strip under it) */
  .osam-hero2--b2b .osam-hero2__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
}
@media (max-width: 1279px) { .osam-hero2--b2b .osam-hero2__img img { object-position: 50% 25%; } }
@media (max-width: 781px) { .osam-hero2--b2b .osam-hero2__img img { object-position: 50% 50%; } } /* landscape team photos: keep faces in the short mobile crop */
/* Light hero for the Services directory (distinct from navy home) */
.osam-hero2--light { background: var(--osam-cream); }
.osam-hero2--light .osam-hero2__text { background: var(--osam-cream); color: var(--wp--preset--color--text); }
.osam-hero2--light .osam-hero2__text h1 { color: var(--wp--preset--color--brand-primary); }
.osam-hero2--light .osam-hero2__lede { color: #3A4056 !important; }
.osam-hero2--light .osam-hero2__text::after { background: var(--osam-cream); }
.osam-hero2--light .osam-btn-link .wp-block-button__link { color: var(--wp--preset--color--brand-primary) !important; }
.osam-hero2--light .osam-eyebrow--light { color: #4A5168 !important; }
.osam-hero2--light .osam-trustline { border-top-color: #CFC6B3; }
.osam-hero2--light .osam-lic { color: var(--wp--preset--color--brand-primary); }
.osam-hero2--light .osam-lic span { color: #4A5168; }
.osam-hero2--light .osam-trustline__rating .osam-ratingline { color: var(--wp--preset--color--brand-primary); }
/* Services directory */
.osam-dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--wp--preset--color--brand-primary); }
.osam-dir__item { display: grid; grid-template-columns: 160px 1fr; gap: 1.25rem; padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid #CFC6B3; align-items: start; }
.osam-dir__item:nth-child(odd) { border-right: 1px solid #CFC6B3; }
.osam-dir__item:nth-child(even) { padding-left: 1.5rem; }
.osam-dir__item > * { margin: 0 !important; }
.osam-dir__img img { width: 160px; height: 120px; object-fit: cover; border-radius: 2px; display: block; aspect-ratio: auto; }
.osam-dir__body { display: grid; gap: .4rem; }
.osam-dir__best { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 800; color: #9A4500; margin: 0 !important; }
.osam-dir__body h3 { font-size: 1.375rem; margin: 0 !important; }
.osam-dir__body h3 a { text-decoration: none; }
.osam-dir__body h3 a::after { content: " →"; color: var(--wp--preset--color--brand-accent); }
.osam-dir__body p { margin: 0 !important; color: #3A4056; }
@media (max-width: 899px) { .osam-dir { grid-template-columns: 1fr; } .osam-dir__item { grid-template-columns: 112px 1fr; padding-right: 0 !important; border-right: 0 !important; padding-left: 0 !important; } .osam-dir__img img { width: 112px; height: 96px; } }
/* Team / history modules */
.osam-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.osam-team__card { border-top: 3px solid var(--wp--preset--color--brand-primary); padding-top: 1rem; display: grid; gap: .35rem; }
.osam-team__card > * { margin: 0 !important; }
.osam-team__name { font-size: 1.375rem; font-weight: 850; color: var(--wp--preset--color--brand-primary); }
.osam-team__role { font-weight: 700; color: #9A4500; }
@media (max-width: 640px) { .osam-team { grid-template-columns: 1fr; } }
.osam-timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--wp--preset--color--brand-cyan); }
.osam-timeline li { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.osam-timeline strong { display: block; color: var(--wp--preset--color--brand-primary); }
.osam-reviews-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.osam-footer__bbb { margin-top: .25rem !important; font-size: .9375rem; }
.osam-footer__bbb:empty { display: none; }

/* Official BBB dynamic seal (remote, 293x61). Reserved box prevents layout shift. */
.osam-bbb--seal { display: inline-block; max-width: 100%; line-height: 0; }
.osam-bbb--seal img { display: block; width: 293px; max-width: 100%; height: auto; aspect-ratio: 293 / 61; border: 0; }
.osam-bbb--seal .osam-bbb__fb { line-height: 1.4; font-weight: 800; text-decoration: underline; }
.osam-footer__bbb .osam-bbb--seal { background: #fff; padding: .6rem .8rem; border-radius: 4px; }
.osam-footer__bbb .osam-bbb--seal img { width: 240px; }
.osam-bbb--seal:focus-visible { outline-offset: 4px; }
@media (max-width: 781px) { .osam-bbb--seal img { width: 260px; } }
.osam-split2--mid { align-items: center; }
.osam-bbb-slot { border-top: 2px solid var(--wp--preset--color--brand-primary); padding-top: 1.25rem; min-height: 61px; }

/* Two contact methods (multifamily) + calendar */
.osam-contact2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.osam-contact2__card { border-top: 3px solid var(--wp--preset--color--brand-primary); padding-top: 1rem; display: grid; gap: .5rem; align-content: start; }
.osam-contact2__card h3 { margin: 0; font-size: 1.375rem; }
.osam-contact2__card p { margin: 0; color: #3A4056; }
.osam-contact2__mail { font-weight: 800; font-size: 1.0625rem; overflow-wrap: anywhere; }
.osam-btn-navy-a { background: var(--wp--preset--color--brand-primary) !important; color: #fff !important; display: inline-flex; text-decoration: none; margin-top: .5rem; }
@media (max-width: 700px) { .osam-contact2 { grid-template-columns: 1fr; } }
.osam-cal iframe { width: 100%; border: 0; }

.osam-brands__list--logos { align-items: center; gap: 1rem 2.5rem; }
.osam-brands__list--logos li { line-height: 0; }
.osam-brands__list--logos img { display: block; width: auto; max-width: 100%; }
.osam-btn-link--dark .wp-block-button__link { color: var(--wp--preset--color--brand-primary) !important; }

.osam-eyebrow--gap { margin-top: 1.75rem !important; }
.osam-eyebrow + .osam-btns-grid { margin-top: .6rem; }
.osam-btns-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 34rem; }
.osam-btns-grid .wp-block-button, .osam-btns-grid .wp-block-button__link { width: 100%; }
.osam-btns-links { margin-top: 1.5rem; gap: 1.5rem; }
@media (max-width: 520px) { .osam-btns-grid { grid-template-columns: 1fr; } }
.osam-lede + .osam-eyebrow { margin-top: 1.75rem !important; }

/* Team directory: typography-only */
.osam-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; }
.osam-dir-group { border-top: 3px solid var(--wp--preset--color--brand-primary); padding-top: .9rem; }
.osam-dir-group__h { font-size: .8125rem !important; letter-spacing: .1em; text-transform: uppercase; color: #4A5168 !important; margin: 0 0 .5rem !important; font-weight: 800; }
.osam-dir-group__list { margin: 0; }
.osam-dir-row { padding: .9rem 0; border-bottom: 1px solid #CFC6B3; margin: 0; }
.osam-dir-row:last-child { border-bottom: 0; }
.osam-dir-row dt { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 850; letter-spacing: -.01em; color: var(--wp--preset--color--brand-primary); line-height: 1.15; }
.osam-dir-row dd { margin: .2rem 0 0; font-size: 1rem; font-weight: 650; color: #9A4500; line-height: 1.3; }
@media (max-width: 899px) { .osam-directory { grid-template-columns: 1fr; gap: 1.75rem; } }
@media (min-width: 600px) and (max-width: 899px) { .osam-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } .osam-dir-group:last-child { grid-column: 1 / -1; } }

/* Utility rebate providers (data: plugin providers.php). Text identifiers, not logos. */
.osam-utils { list-style: none; margin-block: 1.25rem 1.5rem !important; padding: 0 !important; }
.osam-utils__item { margin: 0; }
.osam-utils--full { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.osam-utils--full .osam-utils__item { display: flex; flex-direction: column; gap: .2rem; background: #fff; border: 1px solid #E4DCCB; border-top: 3px solid var(--wp--preset--color--brand-accent); border-radius: 10px; padding: 1rem 1.1rem; }
.osam-utils__mark { font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: var(--wp--preset--color--brand-primary); line-height: 1.15; }
.osam-utils__name { font-size: .9375rem; color: #3b3f55; }
.osam-utils__name a, .osam-utils--compact a, .osam-utils--mini a { color: inherit; }
.osam-utils--compact { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.osam-utils--compact .osam-utils__item { background: #fff; border: 1px solid #D9D0BE; border-radius: 999px; padding: .4rem .95rem; font-weight: 650; font-size: .9375rem; color: var(--wp--preset--color--brand-primary); }
.osam-utils--mini { display: flex; flex-wrap: wrap; gap: .25rem 0; font-weight: 650; color: var(--wp--preset--color--brand-primary); }
.osam-utils--mini .osam-utils__item:not(:last-child)::after { content: "·"; margin-inline: .7rem; color: var(--wp--preset--color--brand-accent); font-weight: 800; }
@media (max-width: 899px) { .osam-utils--full { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { .osam-utils--full { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .osam-utils--full .osam-utils__item { padding: .8rem .85rem; } .osam-utils__mark { font-size: 1.1rem; } }

/* Financing options: exactly two cards */
.osam-fin { list-style: none; margin-block: 1.25rem 1rem !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.osam-fin__card { margin: 0; background: #fff; border: 1px solid #E4DCCB; border-top: 4px solid var(--wp--preset--color--brand-primary); border-radius: 12px; padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.osam-fin__name { margin: 0 !important; display: flex; align-items: center; min-height: 52px; }
.osam-fin__logo { display: block; height: auto; max-width: 100%; }
.osam-fin__card p { margin: 0 !important; font-size: 1rem; line-height: 1.55; }
.osam-fin__card .osam-fin__next { margin-top: auto !important; padding-top: .75rem; border-top: 1px solid #E4DCCB; font-weight: 650; color: var(--wp--preset--color--brand-primary); }
.osam-fin__note { font-size: .9375rem; color: #4a4f66; max-width: 46rem; }
@media (max-width: 700px) { .osam-fin { grid-template-columns: 1fr; } }

/* Rebate block: no stray white sliver beside a neighbouring cream section; a hairline marks the boundary instead. */
.osam-rebates, .osam-rebates + .osam-section--cream, .osam-rebates + .osam-needs-reviews { margin-top: 0 !important; }
.osam-rebates.osam-section--cream + .osam-needs-reviews > .osam-section--cream { border-top: 1px solid #E4DCCB; }
.osam-rebates.osam-section--cream + .osam-section--cream { border-top: 1px solid #E4DCCB; }

/* Winter Garden: the replacement-conversation panel is white so it separates from the cream "Where we are" section above. */
.osam-bleed--white .osam-bleed__text, .osam-bleed--flip.osam-bleed--white .osam-bleed__text { background: #fff; }
.osam-bleed--white { border-top: 1px solid #E4DCCB; }

/* Print: browsers drop background colors by default, so white-on-navy text would vanish on paper.
   Dark areas become white with black text; navigation, sticky bars and forms are hidden. */
@media print {
  .osam-header, .osam-utility, .osam-mobile-bar, .osam-nav, .wp-block-navigation, .osam-hp, .osam-form, .osam-b2b-form, .osam-hero2__text::after { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .osam-hero2, .osam-hero2__text, .osam-section--navy, .osam-finalcta, .osam-footer, footer { background: #fff !important; background-image: none !important; color: #000 !important; }
  .osam-hero2 { display: block !important; min-height: 0 !important; }
  .osam-hero2 *, .osam-section--navy *, .osam-finalcta *, .osam-footer *, footer * { color: #000 !important; text-shadow: none !important; }
  a { text-decoration: underline; }
  .wp-block-button__link { border: 1px solid #000 !important; background: #fff !important; }
  img { max-width: 100% !important; break-inside: avoid; }
  section, .osam-card, details { break-inside: avoid; }
}

/* Touch targets: grow the hit area of short text links (license, Google, BBB, link-style buttons) without moving layout.
   Padding adds height; the equal negative margin cancels it. */
.osam-lic, .osam-ratingline, .osam-btn-link .wp-block-button__link, .osam-btn-link--dark .wp-block-button__link { padding-block: .5rem !important; margin-block: -.5rem; }

/* Hero trust row must stay left of the skewed navy edge (overlay starts ~650px into the text column at 1440): let the warranty/BBB cell wrap instead of running under it. Found by scripts/visual_check.py. */
@media (min-width: 900px) {
  .osam-hero2 .osam-trustline { max-width: 33rem; grid-template-columns: max-content minmax(0, 1fr); }
  .osam-hero2 .osam-trustline li { white-space: normal; }
}

/* Floating "Call Us" (bottom-right, fixed, one tel: link). Above the mobile Book Online bar on phones; never inside print. */
.osam-float-call { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 58; display: inline-flex; align-items: center; gap: .55rem; min-height: 56px; padding: 0 1.25rem; border-radius: 999px; background: var(--wp--preset--color--brand-primary); color: #fff; border: 2px solid #fff; box-shadow: 0 6px 20px rgba(4,4,92,.35), 0 1px 3px rgba(0,0,0,.25); font-weight: 800; font-size: 1.0625rem; line-height: 1; text-decoration: none; letter-spacing: .01em; transition: transform .15s ease, box-shadow .15s ease; }
.osam-float-call:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(4,4,92,.4), 0 1px 3px rgba(0,0,0,.25); }
.osam-float-call:focus-visible { outline: 3px solid transparent; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #04045C; } /* white + navy double ring: visible on white pages and on the navy hero/footer; transparent outline keeps it in forced-colors mode */
.osam-float-call__icon { flex: none; }
/* Phones: Call Us lives in the same bottom row as the Book Online bar (bar leaves room on its right), so two fixed elements never stack over the hero's trust line. */
@media (max-width: 781px) { .osam-float-call { z-index: 61; bottom: calc(.6rem + env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); min-height: 52px; padding: 0 .95rem; border-radius: 8px; box-shadow: none; border-width: 2px; } .osam-mobile-bar { padding-right: 152px; } .osam-float-call:hover { transform: none; } }
@media (max-height: 480px) and (max-width: 900px) { .osam-float-call { min-height: 44px; font-size: .9375rem; bottom: calc(.35rem + env(safe-area-inset-bottom)); } .osam-mobile-bar { padding-block: .35rem; } .osam-mobile-bar a { min-height: 44px; } } /* short landscape phones */
@media (prefers-reduced-motion: reduce) { .osam-float-call { transition: none; } .osam-float-call:hover { transform: none; } }
@media print { .osam-float-call { display: none !important; } }
/* Footer clearance so the fixed "Call Us" button never sits on the legal links at the end of the page. */
.osam-footer { padding-bottom: calc(1.5rem + 76px); }
@media (max-width: 781px) { .osam-footer { padding-bottom: 1.5rem; } } /* the action bar row (body padding) already clears the bottom on phones */
/* While the full-screen mobile menu is open, the fixed call/booking buttons step aside so they never cover menu items (they return on close). */
html.has-modal-open .osam-float-call, html.has-modal-open .osam-mobile-bar { display: none; }

/* Utility pages without a photo hero (booking, request received, legal, 404): the title uses the same scale as the hero titles (was 72px vs 54px) and the dead band above it is tightened. */
.osam-section:has(> h1.wp-block-heading) > h1.wp-block-heading { font-size: clamp(2.1rem, 4.6vw, 3.5rem); text-wrap: balance; }
.entry-content > .osam-section:first-child:has(> h1.wp-block-heading), main > .osam-section:first-child:has(> h1.wp-block-heading) { padding-top: clamp(2rem, 4vw, 3.25rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
/* Smallest phones: the fixed Call Us button gets more compact so less of the hero is covered. */
@media (max-width: 420px) { .osam-float-call { padding: 0 .8rem; font-size: .9375rem; gap: .4rem; } .osam-float-call__icon { width: 20px; height: 20px; } .osam-mobile-bar { padding-right: 140px; } }
.osam-section:has(> h1.wp-block-heading) + .osam-section:has(> .osam-cards) { padding-top: 0; } /* appointment chooser: cards sit right under the intro instead of after a second padded band */
/* Photo focal points: the Goodman condenser badge was cropped to "dman" under the navy edge on these two pages. */
@media (min-width: 900px) { .osam-page-ac-repair .osam-hero2__img img, .osam-page-financing .osam-hero2__img img { object-position: 0% 50%; } }
.osam-tiles > * { margin-block: 0 !important; } /* grid gap handles spacing; the flow-layout sibling margin pushed the 2nd tile 20px below the 1st on the homepage */

/* ===================== Deals & Promotions (renders only when staff-approved, in-window offers exist) ===================== */
.osam-offers { border-top: 1px solid #E4DDCF; }
.osam-offers__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.osam-offers__list > li { margin: 0; }
.osam-offer { background: #fff; border: 1px solid #E4DDCF; border-top: 4px solid var(--wp--preset--color--brand-accent); display: flex; flex-direction: column; }
.osam-offer[hidden], .osam-offers[hidden] { display: none; }
.osam-offer__img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.osam-offer__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.osam-offer__body > * { margin: 0 !important; }
.osam-offer__cat { font-size: .9375rem; font-weight: 700; color: #4A5168; }
.osam-offer h3 { font-size: 1.375rem; }
.osam-offer__valid { font-size: .9375rem; color: #3A4056; }
.osam-offer__terms summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; color: var(--wp--preset--color--brand-primary); }
.osam-offer__terms p { font-size: .9375rem; color: #3A4056; margin: .5rem 0 !important; }
.osam-offer__btns { margin-top: auto !important; padding-top: .5rem; }
.osam-offer__cta { min-height: 48px; }

/* Visually hidden but available to assistive tech (keeps heading order h1 > h2 > h3 without changing the design) */
.osam-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.osam-sr-only + * { margin-block-start: 0 !important; }

/* ===================== Preference notice (printed only when consent_ui is on and a consent-requiring script is registered) ===================== */
.osam-consent { position: fixed; left: 16px; bottom: 16px; z-index: 57; width: min(26rem, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--wp--preset--color--text); border: 2px solid var(--wp--preset--color--brand-primary); border-radius: 8px; box-shadow: 0 10px 30px rgba(4,4,92,.25); padding: 1rem 1.1rem 1.1rem; }
.osam-consent[hidden] { display: none; }
.osam-consent:focus { outline: 3px solid var(--wp--preset--color--focus); outline-offset: 2px; }
.osam-consent h2 { font-size: 1.125rem; margin: 0 0 .4rem; }
.osam-consent__text { font-size: .9375rem; margin: 0 0 .8rem; }
.osam-consent__row { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; margin: 0 0 .6rem; font-size: .9375rem; }
.osam-consent__row input { width: 24px; height: 24px; margin-top: .1rem; }
.osam-consent__row label strong { display: block; }
.osam-consent__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.osam-consent__btn { flex: 1 1 8rem; min-height: 48px; padding: .5rem .9rem; border-radius: 8px; border: 2px solid var(--wp--preset--color--brand-primary); background: #fff; color: var(--wp--preset--color--brand-primary); font: inherit; font-weight: 700; cursor: pointer; }
.osam-consent__btn[data-osam-consent-act="save"] { background: var(--wp--preset--color--brand-primary); color: #fff; }

.osam-consent__btn:focus-visible, .osam-cookie-link:focus-visible { outline: 3px solid var(--wp--preset--color--focus); outline-offset: 2px; }
.osam-cookie-link { background: none; border: 0; padding: 0 .1rem; min-height: 44px; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 781px) { .osam-consent { left: 8px; right: 8px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: 62vh; } } /* above the Book Online / Call Us row */
@media (prefers-reduced-motion: reduce) { .osam-consent { transition: none; } }
@media print { .osam-consent { display: none !important; } }

/* Booking pages: reduced navigation (logo, back link, phone). Spec §3. */
.osam-header__back { margin: 0; font-weight: 600; }
.osam-header__back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--brand-primary); }
@media (max-width: 420px) { .osam-header__back { display: none; } }

/* ===== Photo rules v3 (owner 2026-12-01): faces are never covered or cropped. Every photo shows its whole 3:2 frame at every breakpoint. ===== */
/* Home service tiles: image-top cards, no text or gradient over the photo */
.osam-tile { display: block; position: relative; min-height: 0; background: #fff; border: 1px solid #E4DDCF; border-radius: 6px; overflow: hidden; isolation: auto; grid-template-columns: none; }
.osam-tile::before { display: none; }
.osam-tile .osam-tile__img { position: static; inset: auto; width: 100%; height: auto; min-height: 0; margin: 0 !important; }
.osam-tile .osam-tile__img img { position: static; inset: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; z-index: auto; transform: none; display: block; border-radius: 0; }
.osam-tile:hover .osam-tile__img img { transform: none; }
.osam-tile .osam-tile__body { padding: 1.15rem 1.35rem 1.5rem; color: var(--wp--preset--color--text); }
.osam-tile .osam-tile__body h3 { color: var(--wp--preset--color--brand-primary); font-size: clamp(1.25rem, 2vw, 1.5rem); max-width: none; margin-bottom: .5rem !important; }
.osam-tile .osam-tile__body p { color: #4A5168; font-size: 1rem; line-height: 1.5; max-width: none; }
.osam-tile .osam-tile__link a { color: var(--wp--preset--color--brand-primary); }
/* Hero photos: natural 3:2, centred in the hero band (never stretched to the text column) */
.osam-hero2 .osam-hero2__img { align-self: center; height: auto; min-height: 0; max-height: none; position: relative; overflow: visible; }
.osam-hero2 .osam-hero2__img img { position: static; inset: auto; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; display: block; }
.osam-hero2.osam-hero2--b2b .osam-hero2__img { height: auto; min-height: 0; overflow: visible; }
.osam-hero2.osam-hero2--b2b .osam-hero2__img img { position: static; inset: auto; width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: 50% 30%; }
@media (max-width: 1279px) { .osam-hero2 .osam-hero2__img, .osam-hero2.osam-hero2--b2b .osam-hero2__img { height: auto; max-height: none; min-height: 0; order: -1; } }
/* Photo + text bands */
.osam-bleed .osam-bleed__img { align-self: center; height: auto; min-height: 0; }
.osam-bleed .osam-bleed__img img, .osam-bleed--home .osam-bleed__img img { height: auto; min-height: 0; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 899px) { .osam-bleed .osam-bleed__img, .osam-bleed--home .osam-bleed__img { height: auto; max-height: none; } .osam-bleed .osam-bleed__img img, .osam-bleed--home .osam-bleed__img img { height: auto; max-height: none; } }
/* Team strip and single photo: whole frames */
.osam-trio__img img { height: auto; aspect-ratio: 3 / 2; object-position: 50% 30%; }
@media (max-width: 781px) { .osam-trio__img img { height: auto; } }
.osam-duo--single { grid-template-columns: 1fr; }
.osam-duo--single .osam-duo__img img { height: auto; aspect-ratio: 3 / 2; object-position: 50% 30%; }

/* On-site booking window (osam-booking.js). Housecall Pro draws its own dimmed backdrop and card inside the frame (same as its official widget), so our panel is transparent. */
.osam-book { position: fixed; inset: 0; z-index: 2147483647; display: none; background: rgba(5, 5, 40, .45); }
.osam-book--open { display: block; }
.osam-book__panel { position: relative; width: 100%; height: 100%; background: transparent; }
.osam-book__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; z-index: 1; }
.osam-book__close { position: absolute; z-index: 3; top: .6rem; left: .6rem; min-width: 44px; min-height: 44px; padding: 0 .9rem; border: 2px solid var(--wp--preset--color--brand-primary); border-radius: 999px; background: #fff; color: var(--wp--preset--color--brand-primary); font: 700 .9375rem/1 var(--wp--preset--font-family--body, inherit); cursor: pointer; }
.osam-book__close::before { content: "\00D7\00A0"; font-size: 1.25rem; }
.osam-book__close:focus-visible { outline: 3px solid var(--wp--preset--color--brand-accent); outline-offset: 2px; }
.osam-book__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #fff; font-weight: 600; z-index: 0; }
.osam-book__fallback { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); top: 4rem; width: min(560px, calc(100% - 2rem)); background: #FFF8E6; border: 1px solid #E8C97A; border-radius: 6px; padding: .75rem 1rem; font-size: .9375rem; color: #1E1E1E; }
.osam-book__fallback p { margin: .25rem 0; }
