/* scissortailbath.com modern layer (2026-10-01, round 2).
   Replaces styles.v1.css + style.v2.5.css + site-theme.css on every template page (estimate/ and
   job/ keep their own styles). Loaded LAST and scoped under body.st so it wins without !important.
   Benchmark: 904epoxyfloors.com (photo heroes, stats card over the hero edge, alternating bands,
   solid icon badges, numbered process, native details FAQ, dark photo CTA band).
   Markup is produced by _modernize-scissortail.py at the repo root. */
:root {
  --ink: #0f172a; --navy: #0f2340; --navy-2: #173459; --blue: #2563eb; --blue-d: #1d4ed8; --sky: #60a5fa;
  --coral: #f08a6c; --muted: #475569; --line: #e2e8f0; --soft: #f4f7fb; --white: #ffffff;
  --radius: 16px; --shadow: 0 10px 30px rgba(15, 35, 64, .08); --shadow-lg: 0 20px 50px rgba(15, 35, 64, .16);
  --display: "Outfit", "Segoe UI", system-ui, sans-serif; --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px; --gut: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
}
body.st { margin: 0; font: 17px/1.7 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
body.st *, body.st *::before, body.st *::after { box-sizing: border-box; }
/* base typography at zero specificity so any component rule wins */
:where(body.st) :where(h1, h2, h3, h4) { font-family: var(--display); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
:where(body.st) :where(h1) { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; font-weight: 800; margin: 0 0 1rem; }
:where(body.st) :where(h2) { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.15; font-weight: 800; margin: 0 0 1rem; }
:where(body.st) :where(h3) { font-size: 1.2rem; line-height: 1.3; font-weight: 700; margin: 0 0 .6rem; }
:where(body.st) :where(h4) { font-size: 1rem; margin: 0 0 .8rem; }
:where(body.st) :where(p) { margin: 0 0 1rem; color: var(--muted); }
:where(body.st) :where(a) { color: var(--blue); }
:where(body.st) :where(ul, ol) { color: var(--muted); padding-left: 1.25rem; margin: 0 0 1.2rem; }
:where(body.st) :where(li) { margin-bottom: .45rem; }
:where(body.st) :where(strong) { color: var(--ink); font-weight: 700; }
:where(body.st) :where(img) { max-width: 100%; height: auto; }
body.st .container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
body.st .ic { width: 1.1em; height: 1.1em; flex-shrink: 0; display: inline-block; vertical-align: -.17em; }
body.st .text-center { text-align: center; }

/* ---------- buttons ---------- */
body.st .btn, body.st .btn--submit, body.st .st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 12px; border: 0;
  background: var(--blue); color: #fff; font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); transition: transform .2s, background .2s; }
body.st .btn:hover, body.st .btn--submit:hover, body.st .st-btn:hover { background: var(--blue-d); transform: translateY(-2px); }
body.st .btn--outline, body.st .st-btn--ghost { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; box-shadow: none; }
body.st .btn--outline:hover, body.st .st-btn--ghost:hover { background: rgba(255, 255, 255, .18); }
body.st .st-btn--line { background: var(--white); color: var(--blue); border: 1.5px solid var(--line); box-shadow: none; }
body.st .st-btn--line:hover { background: var(--soft); }

/* ---------- header + nav ---------- */
body.st .header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
body.st .header__inner { display: flex; align-items: center; gap: 22px; min-height: 74px; padding: 0 var(--gut); }
body.st .header__brand { display: inline-flex; align-items: center; min-height: 46px; gap: 10px; font: 800 1.25rem/1 var(--display); color: var(--navy); text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
body.st .header__brand span { color: var(--blue); }
body.st .brand-mark, body.st .header__brand .brand-mark, body.st .footer__brand .brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; color: #fff; font: 800 .9rem/1 var(--display);
  background: linear-gradient(135deg, var(--blue), var(--navy-2)); box-shadow: 0 6px 16px rgba(37, 99, 235, .3); }
body.st .header__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
body.st .header__nav > a, body.st .nav-dd > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 13px; border-radius: 10px; font-weight: 600; font-size: .97rem; color: var(--ink); text-decoration: none; }
body.st .header__nav > a:hover, body.st .nav-dd > a:hover, body.st .header__nav a.active { color: var(--blue); background: var(--soft); }
body.st .nav-dd { position: relative; }
body.st .nav-dd > a .ic { width: 16px; height: 16px; opacity: .7; }
body.st .nav-dd__menu { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
body.st .nav-dd:hover .nav-dd__menu, body.st .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; transform: none; }
body.st .nav-dd__menu--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 340px; }
body.st .nav-dd__menu a { display: flex; align-items: center; min-height: 42px; padding: 8px 12px; border-radius: 9px; color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
body.st .nav-dd__menu a:hover { background: var(--soft); color: var(--blue); }
body.st .header__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; font-size: .97rem; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px rgba(37, 99, 235, .3); }
body.st .header__phone:hover { background: var(--blue-d); }
body.st .header__nav > a.header__phone--mobile-only { display: none; }
body.st .header__toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; }
body.st .header__toggle .ic { width: 24px; height: 24px; }

/* ---------- photo hero ---------- */
body.st .hero, body.st .page-hero { position: relative; isolation: isolate; color: #fff; text-align: left;
  background: linear-gradient(100deg, rgba(10, 24, 46, .94) 0%, rgba(10, 24, 46, .82) 46%, rgba(10, 24, 46, .38) 100%), var(--hero-img, linear-gradient(135deg, var(--navy), var(--navy-2))) center / cover no-repeat; }
body.st .hero { padding: clamp(72px, 9vw, 128px) 0 clamp(110px, 11vw, 150px); }
body.st .page-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 92px); }
body.st .hero__content, body.st .page-hero .container > * { max-width: 760px; }
body.st .hero h1, body.st .page-hero h1 { color: #fff; margin: 14px 0 18px; }
body.st .hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
body.st .page-hero h1 span { color: var(--sky); }
body.st .hero p, body.st .page-hero p { color: rgba(255, 255, 255, .88); font-size: clamp(1.03rem, 1.5vw, 1.15rem); line-height: 1.65; }
body.st .hero .hero-sub { font-weight: 600; color: #fff; margin-bottom: 12px; }
body.st .hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
body.st .hero__badge .ic { color: var(--sky); }
body.st .hero__ctas, body.st .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
body.st .page-hero .breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 6px; font-size: .92rem; color: rgba(255, 255, 255, .72); }
body.st .page-hero .breadcrumbs__list a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; color: #fff; font-weight: 600; text-decoration: none; }
body.st .page-hero .breadcrumbs__list a:hover { text-decoration: underline; }
body.st .page-hero .post-meta { font-size: .95rem; color: rgba(255, 255, 255, .75); margin: 0; }

/* ---------- stats card lifted over the hero edge ---------- */
body.st .trust-bar { position: relative; z-index: 2; margin-top: -64px; padding: 0; background: none; }
body.st .trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
body.st .trust-bar__item { display: flex; align-items: center; gap: 14px; padding: 24px 22px; border-right: 1px solid var(--line); font: 700 1.02rem/1.25 var(--display); color: var(--ink); }
body.st .trust-bar__item:last-child { border-right: 0; }
body.st .icon-badge, body.st .trust-bar__item > .ic, body.st .service-card__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(96, 165, 250, .2), rgba(37, 99, 235, .16)); color: var(--blue); }
body.st .trust-bar__item > .ic { padding: 11px; }
body.st .service-card__icon .ic, body.st .icon-badge .ic { width: 24px; height: 24px; }

/* ---------- bands ---------- */
body.st .band, body.st .services, body.st .page-content, body.st .content-section, body.st .section, body.st .faq, body.st .contact, body.st .about { padding: clamp(56px, 7vw, 96px) 0; background: var(--white); }
body.st .band--soft, body.st .services--alt, body.st .content-section.band--soft { background: var(--soft); }
body.st .band--dark { background: linear-gradient(180deg, var(--navy) 0%, #0c1d36 100%); color: #fff; }
body.st .band--dark h2, body.st .band--dark h3, body.st .band--dark strong { color: #fff; }
body.st .band--dark p, body.st .band--dark li { color: rgba(255, 255, 255, .8); }
body.st .home-first { padding-top: clamp(72px, 8vw, 104px); }
body.st .section-header { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 48px); text-align: center; }
body.st .section-header p { font-size: 1.08rem; margin: 0 auto; max-width: 62ch; }
body.st .section-header h2::after, body.st .prose > h2::before, body.st .content-section .container > h2:first-child::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--coral), var(--blue)); }
body.st .section-header h2::after { margin: 18px auto 0; }
body.st .prose > h2::before, body.st .content-section .container > h2:first-child::before { margin-bottom: 16px; }
body.st .section-header__label { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(37, 99, 235, .08); color: var(--blue-d); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.st .band--dark .section-header__label { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- service cards (photo top, icon badge) ---------- */
body.st .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.st .services-grid:has(> :last-child:nth-child(4)), body.st .services-grid:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, 1fr); }
body.st .service-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; overflow: hidden; }
body.st .band--soft .service-card, body.st .services--alt .service-card { box-shadow: 0 4px 16px rgba(15, 35, 64, .05); }
body.st .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
body.st .service-card__img { margin: -28px -26px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
body.st .service-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
body.st .service-card:hover .service-card__img img { transform: scale(1.04); }
body.st .service-card__img + .service-card__icon { margin-top: -50px; position: relative; z-index: 1; background: var(--white); box-shadow: 0 6px 18px rgba(15, 35, 64, .14); }
body.st .service-card__icon { margin-bottom: 16px; }
body.st .service-card p { font-size: .98rem; }
body.st .service-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; color: var(--blue); text-decoration: none; }
body.st .service-card__link::after { content: ""; position: absolute; inset: 0; }
body.st .service-card__link .ic { transition: transform .2s; }
body.st .service-card:hover .service-card__link .ic { transform: translateX(4px); }

/* ---------- split (text + photo) ---------- */
body.st .about .container, body.st .split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
body.st .about__img img, body.st .split__img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
body.st .about h2 { margin-top: 0; }

/* ---------- pain cards (2 x 2) ---------- */
body.st .pain-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
body.st .pain-grid li { margin: 0; padding: 26px 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--muted); line-height: 1.65; border-top: 4px solid var(--coral); }
body.st .pain-grid li strong { display: block; margin-bottom: 6px; font: 700 1.1rem/1.3 var(--display); }

/* ---------- numbered process (dark band) ---------- */
body.st .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; counter-reset: none; }
body.st .steps .step { grid-column: span 2; margin: 0; padding: 28px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
body.st .steps .step:nth-child(4), body.st .steps .step:nth-child(5) { grid-column: span 3; }
body.st .step__num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; font: 800 1.35rem/1 var(--display); color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--sky)); box-shadow: 0 8px 22px rgba(37, 99, 235, .4); }
body.st .step__body { color: rgba(255, 255, 255, .8); line-height: 1.65; }
body.st .step__body strong { display: block; color: #fff; font: 700 1.12rem/1.3 var(--display); margin-bottom: 6px; }

/* ---------- testimonials ---------- */
body.st .quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.st .quote-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow); }
body.st .quote-card::before { content: ""; display: block; width: 34px; height: 26px; margin-bottom: 16px; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 26' fill='%232563eb'%3E%3Cpath d='M0 26V15.6C0 6.9 4.6 1.7 13 0l1.6 3.6C9.9 5 7.6 8 7.4 12H14v14H0Zm20 0V15.6C20 6.9 24.6 1.7 33 0l1 3.6C29.9 5 27.6 8 27.4 12H34v14H20Z'/%3E%3C/svg%3E") no-repeat; }
body.st .quote-card__text { color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
body.st .quote-card__by { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
body.st .quote-card__by span { color: var(--muted); font-weight: 500; }

/* ---------- before / after ---------- */
body.st .ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
body.st .ba-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
body.st .ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--white); }
body.st .ba-fig { position: relative; }
body.st .ba-fig img { width: 100%; height: 260px; object-fit: cover; display: block; }
body.st .ba-tag { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 8px; background: rgba(10, 24, 46, .78); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
body.st .ba-tag--after { background: var(--blue); }

/* ---------- pricing ---------- */
body.st .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
body.st .price-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
body.st .price-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue); }
body.st .price-card:nth-child(2)::before { background: var(--coral); }
body.st .price-card:nth-child(3)::before { background: var(--navy-2); }
body.st .price-card__price { font: 800 1.55rem/1.2 var(--display); color: var(--blue); margin-bottom: 10px; }
body.st .price-note { max-width: 900px; margin: 24px auto 0; padding: 22px 26px; border-radius: 14px; background: #fff7f3; border-left: 4px solid var(--coral); }
body.st .price-note p { margin: 0; color: var(--ink); }

/* ---------- FAQ (native details) ---------- */
body.st .faq-list, body.st .faq-stack { max-width: 880px; margin: 0 auto; }
body.st details.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; box-shadow: 0 2px 10px rgba(15, 35, 64, .04); }
body.st details.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 22px; font: 700 1.05rem/1.4 var(--display); color: var(--ink); }
body.st details.faq-item summary h3 { margin: 0; font-size: 1.05rem; }
body.st details.faq-item summary::-webkit-details-marker { display: none; }
body.st details.faq-item summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; transition: transform .25s;
  background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232563eb'%3E%3Cpath d='M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z'/%3E%3C/svg%3E") center / 18px no-repeat; }
body.st details.faq-item[open] summary::after { transform: rotate(45deg); }
body.st details.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); }
body.st details.faq-item .faq-a p:last-child { margin-bottom: 0; }
body.st .content-section .faq-item + .faq-item { margin-top: 0; }

/* ---------- contact block + form ---------- */
body.st .contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
body.st .contact__detail, body.st .detail-row { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-weight: 600; color: var(--ink); }
body.st .contact__detail .ic, body.st .detail-row .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(37, 99, 235, .1); color: var(--blue); }
body.st .contact__detail a, body.st .detail-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
body.st .contact__form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); }
body.st .contact__form h3 { font-size: 1.4rem; margin-bottom: 18px; }
body.st .form-group { margin-bottom: 14px; }
body.st .form-group label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 700; color: var(--ink); }
body.st .form-group input, body.st .form-group select, body.st .form-group textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font: 16px/1.4 var(--body); color: var(--ink); background: var(--white); }
body.st .form-group textarea { min-height: 120px; resize: vertical; }
body.st .form-group input:focus, body.st .form-group select:focus, body.st .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
body.st .btn--submit { width: 100%; margin-top: 6px; font-size: 1.05rem; }

/* ---------- inner pages: article + aside ---------- */
body.st .layout-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
body.st .prose { max-width: 760px; }
body.st .prose h2 { margin-top: 2.2rem; }
body.st .prose > h2:first-child { margin-top: 0; }
body.st .prose h3 { margin-top: 1.6rem; }
body.st .prose ul:not(.page-content__list) li::marker { color: var(--blue); }
body.st .page-content__list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
body.st .page-content__list li { position: relative; display: block; margin: 0; padding: 12px 14px 12px 42px; border-radius: 12px; background: var(--soft); color: var(--ink); font-size: .97rem; }
body.st .page-content__list li .ic { position: absolute; left: 14px; top: 15px; color: var(--blue); }
body.st .side-card { position: sticky; top: 98px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
body.st .side-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
body.st .side-card__body { padding: 24px; }
body.st .side-card__body h3 { font-size: 1.25rem; }
body.st .side-card__body p { font-size: .97rem; }
body.st .side-card .st-btn { width: 100%; margin-top: 10px; }
body.st .content-section .container { max-width: 880px; }
body.st .content-section .container.split { max-width: var(--wrap); grid-template-columns: 1.15fr .85fr; }
body.st .split__img img { aspect-ratio: 4 / 4.4; }
body.st .content-section.has-faq .container { max-width: 920px; }

/* ---------- about page ---------- */
body.st .about-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
body.st .about-section__img img, body.st .about-section img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; object-fit: cover; }
body.st .about-section__img img { aspect-ratio: 4 / 4.6; }
body.st .about-section__img { position: sticky; top: 98px; }
body.st .about-section > div:not(.about-section__img) > img { aspect-ratio: 16 / 9; margin: 8px 0 20px; }
body.st .about-section__checklist { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.st .about-section__checklist li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-weight: 600; color: var(--ink); }
body.st .about-section__checklist .ic { color: var(--blue); }
body.st .page-content .services-grid { margin: 26px 0 56px; }
body.st .locations-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
body.st .location-card { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(15, 35, 64, .05); color: var(--ink); font-weight: 600; text-decoration: none; }
body.st .location-card .ic { color: var(--blue); }
body.st .location-card:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- blog ---------- */
body.st .post-list { display: grid; gap: 24px; max-width: 900px; margin: 0 auto; }
body.st .post-card { display: grid; grid-template-columns: 300px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
body.st .post-card__img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
body.st .post-card__body { padding: 28px; }
body.st .post-card__body h2 { font-size: 1.4rem; margin-bottom: 10px; }
body.st .post-card__body h2 a { color: var(--ink); text-decoration: none; }
body.st .post-card__meta { font-size: .9rem; font-weight: 600; color: var(--blue-d); margin-bottom: 8px; }
body.st .post-card__more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; text-decoration: none; }
body.st .post { padding: clamp(48px, 6vw, 80px) 0; }
body.st .post .container { max-width: 800px; }
body.st .post h2 { margin-top: 2.4rem; }
body.st .post h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; margin-bottom: 14px; background: linear-gradient(90deg, var(--coral), var(--blue)); }
body.st .post > .container > p:first-of-type { font-size: 1.15rem; color: var(--ink); }
body.st .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: var(--radius); }
body.st table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .97rem; }
body.st th { background: var(--navy); color: #fff; font: 700 .8rem/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; text-align: left; padding: 15px 16px; }
body.st td { padding: 15px 16px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
body.st tbody tr:nth-child(even) td { background: #f8fafd; }
body.st td:nth-child(2) { font-weight: 800; color: var(--blue); white-space: nowrap; }
body.st .post-cta { margin: 40px 0 0; padding: 34px; border-radius: 20px; color: #fff; text-align: left;
  background: linear-gradient(rgba(10, 24, 46, .86), rgba(10, 24, 46, .9)), url("/images/site/home-hero.jpg") center / cover; }
body.st .post-cta h2, body.st .post-cta h3 { color: #fff; margin-top: 0; }
body.st .post-cta h2::before { display: none; }
body.st .post-cta p { color: rgba(255, 255, 255, .85); }
body.st .post-cta a:not(.st-btn) { color: #fff; }

/* ---------- legal / message pages ---------- */
body.st .legal-content { max-width: 820px; margin: 0 auto; }
body.st .legal-content li a[href^="tel:"], body.st .legal-content li a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 40px; }
body.st .legal-content h2 { font-size: 1.4rem; margin-top: 2rem; }
body.st .thank-you, body.st .not-found { padding: clamp(72px, 10vw, 128px) 0; background: linear-gradient(180deg, var(--soft), var(--white)); text-align: center; }
body.st .thank-you .container, body.st .not-found .container { max-width: 680px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(36px, 5vw, 56px); box-shadow: var(--shadow-lg); }
body.st .msg-icon { display: inline-flex; width: 76px; height: 76px; padding: 18px; border-radius: 50%; background: rgba(22, 163, 74, .12); color: #16a34a; margin-bottom: 18px; }
body.st .not-found h1 { font-size: clamp(3.5rem, 9vw, 6rem); color: var(--blue); margin: 0 0 8px; }

/* ---------- CTA band (dark photo) ---------- */
body.st .cta-band { position: relative; text-align: center; color: #fff; padding: clamp(72px, 9vw, 112px) 0;
  background: linear-gradient(rgba(10, 24, 46, .84), rgba(10, 24, 46, .9)), var(--cta-img, url("/images/site/home-hero.jpg")) center / cover; }
body.st .cta-band h2 { color: #fff; max-width: 780px; margin: 0 auto 14px; }
body.st .cta-band p { color: rgba(255, 255, 255, .86); max-width: 660px; margin: 0 auto 28px; font-size: 1.08rem; }
body.st .cta-band .container > a + a { margin-left: 10px; }
body.st .cta-text { margin-top: 1.8rem; padding: 22px 26px; border-radius: 14px; background: var(--soft); border-left: 4px solid var(--blue); color: var(--ink); }

/* ---------- footer ---------- */
body.st .footer { background: #08172c; color: rgba(255, 255, 255, .72); padding: 72px 0 28px; }
body.st .footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; }
body.st .footer__brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--display); color: #fff; margin-bottom: 16px; }
body.st .footer__brand span { color: var(--sky); }
body.st .footer p { color: rgba(255, 255, 255, .66); font-size: .95rem; }
body.st .footer h4 { color: #fff; font-size: 1.02rem; margin: 0 0 14px; }
body.st .footer__links { display: flex; flex-direction: column; align-items: flex-start; }
body.st .footer__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .96rem; }
body.st .footer__links a:hover { color: #fff; }
body.st .footer__links p { margin: 6px 0 0; }
body.st .footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: rgba(255, 255, 255, .6); }
body.st .footer__bottom a { color: rgba(255, 255, 255, .8); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }

/* ---------- phone bar (hidden on desktop) ---------- */
body.st .mobile-cta, body.st .floating-cta { display: none; }

/* ================= tablet ================= */
@media (max-width: 1100px) {
  body.st .header__nav > a, body.st .nav-dd > a { padding: 8px 9px; font-size: .93rem; }
  body.st .layout-split { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 960px) {
  body.st .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); } /* a filter would make the header the containing block of the fixed menu panel */
  body.st .header__inner { min-height: 68px; gap: 12px; }
  body.st .header__toggle { display: inline-flex; }
  body.st .header__phone--desktop { margin-left: auto; }
  body.st .header__nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(340px, 88vw); margin: 0; padding: 84px 22px 28px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); overflow-y: auto; box-shadow: -24px 0 60px rgba(0, 0, 0, .3); display: none; }
  body.st .header__nav.open { display: flex; animation: st-slide .28s ease; }
  body.st .header__nav > a, body.st .nav-dd > a { display: flex; min-height: 50px; padding: 12px 6px; border-radius: 0; color: #fff; font: 600 1.1rem/1.2 var(--display); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  body.st .header__nav > a:hover, body.st .nav-dd > a:hover, body.st .header__nav a.active { background: none; color: var(--sky); }
  body.st .nav-dd > a .ic { display: none; }
  body.st .nav-dd__menu, body.st .nav-dd__menu--cols { position: static; display: grid; grid-template-columns: 1fr 1fr; min-width: 0; padding: 6px 0 10px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  body.st .nav-dd__menu a { min-height: 44px; padding: 8px 6px; color: rgba(255, 255, 255, .78); font-size: .95rem; }
  body.st .nav-dd__menu a:hover { background: none; color: #fff; }
  body.st .header__nav > a.header__phone--mobile-only { display: flex; justify-content: center; margin-top: 18px; min-height: 52px; border-radius: 12px; border: 0; color: #fff; background: var(--blue); }
  body.st .header__toggle { position: relative; z-index: 70; }
  body.st .header__toggle[aria-expanded="true"] { background: var(--navy-2); border-color: rgba(255, 255, 255, .2); color: #fff; }
  body.st .services-grid, body.st .quote-grid, body.st .price-grid { grid-template-columns: repeat(2, 1fr); }
  body.st .quote-grid > :last-child:nth-child(odd), body.st .price-grid > .price-card:nth-child(3) { grid-column: 1 / -1; }
  body.st .steps { grid-template-columns: repeat(2, 1fr); }
  body.st .steps .step, body.st .steps .step:nth-child(4) { grid-column: span 1; }
  body.st .steps .step:nth-child(5) { grid-column: 1 / -1; }
  body.st .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  body.st .trust-bar__item:nth-child(2) { border-right: 0; }
  body.st .trust-bar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  body.st .about .container, body.st .split, body.st .contact__grid, body.st .about-section, body.st .layout-split { grid-template-columns: 1fr; }
  body.st .about__img { order: -1; }
  body.st .content-section .container.split { grid-template-columns: 1fr; }
  body.st .about__img img { aspect-ratio: 16 / 10; }
  body.st .split__img img { aspect-ratio: 16 / 10; }
  body.st .side-card { position: static; display: grid; grid-template-columns: 1fr 1.2fr; }
  body.st .side-card img { height: 100%; aspect-ratio: auto; }
  body.st .footer__grid { grid-template-columns: 1fr 1fr; }
  body.st .post-card { grid-template-columns: 240px 1fr; }
  body.st .about-section__img img { aspect-ratio: 16 / 10; }
}
/* phones: fixed call/quote bar */
@media (max-width: 768px) {
  body.st { padding-bottom: 76px; }
  body.st .mobile-cta, body.st .floating-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 35, 64, .1); opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  body.st .mobile-cta__inner { display: contents; }
  body.st .mobile-cta a, body.st .floating-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px; border-radius: 12px; font-weight: 800; font-size: .98rem; text-decoration: none; width: auto; height: auto; position: static; }
  body.st .mobile-cta__btn--call, body.st .fcta-call { background: var(--blue); color: #fff; }
  body.st .mobile-cta__btn--quote, body.st .fcta-quote { background: var(--navy); color: #fff; }
  body.st .floating-cta svg { width: 20px; height: 20px; order: -1; }
  body.st .fcta-label { position: static; opacity: 1; transform: none; background: none; color: inherit; padding: 0; box-shadow: none; font-size: inherit; display: inline; }
}
@media (max-width: 640px) {
  body.st { font-size: 16px; }
  body.st .container { padding: 0 18px; }
  body.st .header__inner { padding: 0 16px; min-height: 64px; }
  body.st .header__brand { font-size: 1.12rem; }
  body.st .brand-mark, body.st .header__brand .brand-mark, body.st .footer__brand .brand-mark { width: 34px; height: 34px; }
  body.st .header__phone--desktop { width: 46px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  body.st .header__phone--desktop .ic { width: 20px; height: 20px; }
  body.st .hero { padding: 44px 0 100px; background: linear-gradient(180deg, rgba(10, 24, 46, .9), rgba(10, 24, 46, .84)), var(--hero-img, var(--navy)) center / cover no-repeat; }
  body.st .page-hero { padding: 30px 0 48px; background: linear-gradient(180deg, rgba(10, 24, 46, .9), rgba(10, 24, 46, .84)), var(--hero-img, var(--navy)) center / cover no-repeat; }
  body.st .hero h1 { font-size: 2.05rem; }
  body.st .hero__ctas .btn, body.st .hero-ctas .st-btn { flex: 1 1 100%; }
  body.st .trust-bar { margin-top: -56px; }
  body.st .trust-bar__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; font-size: .95rem; }
  body.st .services-grid, body.st .quote-grid, body.st .price-grid, body.st .pain-grid, body.st .ba-grid, body.st .steps,
  body.st .services-grid:has(> :last-child:nth-child(4)), body.st .page-content__list, body.st .about-section__checklist { grid-template-columns: 1fr; }
  body.st .steps .step:nth-child(5) { grid-column: auto; }
  body.st .ba-fig img { height: 190px; }
  body.st .side-card { grid-template-columns: 1fr; }
  body.st .side-card img { aspect-ratio: 16 / 10; }
  body.st .post-card { grid-template-columns: 1fr; }
  body.st .post-card__img img { min-height: 0; aspect-ratio: 16 / 9; }
  body.st .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  body.st .footer__links a { min-height: 44px; }
  body.st .cta-band .btn { width: 100%; }
  body.st .cta-band .container > a + a { margin: 10px 0 0; }
  body.st .post-cta { padding: 26px 20px; }
  body.st .table-wrap table, body.st .table-wrap tbody, body.st .table-wrap tr, body.st .table-wrap td { display: block; width: 100%; }
  body.st .table-wrap { overflow: visible; }
  body.st .table-wrap thead { display: none; }
  body.st .table-wrap table { border: 0; box-shadow: none; background: none; }
  body.st .table-wrap tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
  body.st .table-wrap td { border: 0; padding: 4px 18px; background: none !important; }
  body.st .table-wrap td:first-child { padding-top: 16px; font: 700 1.08rem/1.3 var(--display); }
  body.st .table-wrap td:last-child { padding-bottom: 16px; color: var(--muted); }
  body.st .thank-you, body.st .not-found { padding: 36px 0 48px; }
  body.st .thank-you .container, body.st .not-found .container { padding: 28px 22px; margin: 0 16px; width: auto; }
  body.st .section-header__label, body.st .hero__badge { font-size: .8rem; }
}
@keyframes st-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.st * { transition: none !important; } }

/* Hero photo as WebP where the browser supports image-set type(); others keep the JPEG
   in --hero-img (speed: LCP). */
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  [style*="--hero-img-webp"] { --hero-img: var(--hero-img-webp) !important; }
}
