/* peakshinedetailing.com modern layer (2026-10-01). Loads LAST; every rule scoped under body.dm.
   Benchmark: 904epoxyfloors.com. Built with the poolresurfacingusa.com method. */
:root {
  --ink: #12151b; --muted: #4a5260; --line: #e5e7eb; --soft: #f5f6f8; --dark: #0d1015; --dark-2: #171b23; --dark-rgb: 10, 12, 16;
  --accent: #e63946; --accent-2: #ff6a5c; --accent-hover: #f04a56; --accent-ink: #ffffff; --accent-glow: rgba(230, 57, 70, .32);
  --brand: #c1121f; --badge-bg: rgba(230, 57, 70, .1);
  --hero-a: rgba(10, 12, 16, .93); --hero-b: rgba(10, 12, 16, .8); --hero-c: rgba(10, 12, 16, .35);
  --shadow: 0 10px 30px rgba(13, 16, 21, .07); --shadow-lg: 0 20px 50px rgba(13, 16, 21, .16);
  --display: "Sora", "Segoe UI", system-ui, sans-serif; --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --plus-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c1121f'%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");
}

/* ---------- base (zero-specificity typography so page rules on dark blocks still win) ---------- */
body.dm { margin: 0; font: 17px/1.7 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.dm *, body.dm *::before, body.dm *::after { box-sizing: border-box; }
:where(body.dm) :where(h1, h2, h3, h4) { font-family: var(--display); color: var(--ink); letter-spacing: -.015em; text-wrap: balance; }
:where(body.dm) :where(p) { color: var(--muted); }
:where(body.dm) :where(a) { color: var(--brand); }
:where(body.dm) :where(img) { max-width: 100%; height: auto; }
body.dm .dm-i { width: 1.05em; height: 1.05em; vertical-align: -.16em; flex-shrink: 0; display: inline-block; }
body.dm .dm-i--ok { color: #16a34a; } body.dm .dm-i--warn { color: #d97706; } body.dm .dm-i--bad { color: #dc2626; }
body.dm .dm-stars { display: inline-flex; gap: 2px; color: #f5b301; vertical-align: -.12em; }
body.dm .dm-star { color: #f5b301; }
body.dm .reveal, body.dm [data-aos], body.dm .fade-up, body.dm .animate-on-scroll, body.dm .fade-in { opacity: 1 !important; transform: none !important; }
body.dm .dm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
body.dm .dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink);
  font: 800 1rem/1.2 var(--body); text-decoration: none; box-shadow: 0 10px 26px var(--accent-glow); transition: transform .2s, background .2s; }
body.dm .dm-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
body.dm .dm-btn .dm-i { width: 18px; height: 18px; }
body.dm .dm-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); box-shadow: none; }
body.dm .dm-btn--ghost:hover { background: rgba(255,255,255,.16); }

/* ---------- photo hero ---------- */
body.dm .dm-hero { position: relative; isolation: isolate; color: #fff; text-align: left; overflow: hidden;
  padding: clamp(72px, 9vw, 124px) 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 48%, var(--hero-c) 100%), var(--hero-img, var(--dark)) center / cover no-repeat; }
body.dm .dm-hero .dm-wrap > * { max-width: 760px; }
body.dm .dm-hero h1 { color: #fff; font: 800 clamp(2.1rem, 4.6vw, 3.5rem)/1.08 var(--display); letter-spacing: -.025em; margin: 10px 0 18px; text-wrap: balance; }
body.dm .dm-hero h1 * { color: inherit; }
body.dm .dm-hero p { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.65; margin: 0 0 22px; }
body.dm .dm-hero p a { color: #fff; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs, nav) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; background: none; color: rgba(255,255,255,.72); font-size: .9rem; list-style: none; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) :is(ol, ul) { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) li { margin: 0; color: rgba(255,255,255,.72); }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) a { color: #fff; font-weight: 600; text-decoration: none; }
body.dm .dm-hero :is(.breadcrumb, .breadcrumbs) span { color: rgba(255,255,255,.72); }
body.dm .dm-hero :is(.section-label, .eyebrow, .post-meta, .blog-meta, .meta, .article-meta, .post-date, .date) { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; }
body.dm .dm-hero .dm-hero__actions, body.dm .dm-hero :is(.hero-buttons, .hero-actions, .hero-cta, .cta-buttons) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
body.dm .dm-hero a.btn, body.dm .dm-hero .btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font-weight: 800; text-decoration: none; }
body.dm .dm-hero :is(.btn-primary, .btn--primary) { background: var(--accent); color: var(--accent-ink); border: 0; }
body.dm .dm-hero :is(.btn-outline, .btn-secondary, .btn--outline, .btn-outline-white) { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }

/* ---------- bands ---------- */
body.dm .dm-band { padding: clamp(56px, 7vw, 92px) 0; background: #fff; }
body.dm .dm-band--soft { background: var(--soft); }
body.dm .dm-band--dark { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); }
body.dm .dm-band .dm-wrap > :is(h2, p, ul, ol, h3, h4, blockquote, .dm-checks) { max-width: 820px; }
body.dm .dm-band h2 { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.15 var(--display); margin: 0 0 18px; }
body.dm .dm-band h2::before { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; margin-bottom: 18px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
body.dm .dm-band h3 { font: 700 1.2rem/1.3 var(--display); margin: 1.6rem 0 .6rem; }
body.dm .dm-band p, body.dm .dm-band li { font-size: 1.04rem; line-height: 1.75; color: var(--muted); }
body.dm .dm-band p { margin: 0 0 1.05rem; }
body.dm .dm-band :is(ul, ol):not([class]) { padding-left: 1.25rem; margin: 0 0 1.2rem; }
body.dm .dm-band li { margin-bottom: .45rem; }
body.dm .dm-band strong { color: var(--ink); }
body.dm .dm-band a:not([class]) { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
body.dm .dm-band img:not(.dm-split__media img) { border-radius: 16px; }
body.dm .dm-band--dark :is(h2, h3, h4, strong) { color: #fff; }
body.dm .dm-band--dark :is(p, li) { color: rgba(255,255,255,.8); }
body.dm .dm-band--dark a:not([class]) { color: var(--accent); }

/* split: copy + photo */
body.dm .dm-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
body.dm .dm-split--rev .dm-split__media { order: -1; }
body.dm .dm-split__text > :last-child { margin-bottom: 0; }
body.dm .dm-split__media { margin: 0; position: relative; }
body.dm .dm-split__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
body.dm .dm-split__media::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 42%; height: 42%; border-radius: 20px; z-index: -1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: .9; }
body.dm .dm-split--rev .dm-split__media::after { inset: auto auto -14px -14px; }

/* cards */
body.dm .dm-cards { display: grid; gap: 22px; margin: 28px 0 8px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
body.dm .dm-cols-1 { --cols: 1; } body.dm .dm-cols-2 { --cols: 2; } body.dm .dm-cols-3 { --cols: 3; } body.dm .dm-cols-4 { --cols: 4; } body.dm .dm-cols-5 { --cols: 5; }
body.dm .dm-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
body.dm .dm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
body.dm .dm-band--soft .dm-card { background: #fff; }
body.dm .dm-band--light .dm-card { background: var(--soft); box-shadow: none; }
body.dm .dm-card h3 { margin: 0 0 .55rem; font-size: 1.12rem; }
body.dm .dm-card p { font-size: .98rem; margin: 0 0 .6rem; }
body.dm .dm-card > :last-child { margin-bottom: 0; }
body.dm .dm-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .9; }
body.dm .dm-badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; background: var(--badge-bg); color: var(--brand); }
body.dm .dm-badge svg { width: 22px; height: 22px; }
body.dm .dm-band--dark .dm-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }

/* numbered process */
body.dm .dm-steps { list-style: none; padding: 0; margin: 30px 0 8px; display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); counter-reset: none; max-width: none !important; }
body.dm .dm-step { position: relative; margin: 0; padding: 28px 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
body.dm .dm-band--dark .dm-step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
body.dm .dm-step h3 { margin: 16px 0 8px; font-size: 1.08rem; }
body.dm .dm-step p { font-size: .96rem; margin: 0; }
body.dm .dm-step--plain p { margin-top: 14px; }
body.dm .dm-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; font: 800 1.25rem/1 var(--display); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px var(--accent-glow); }
body.dm .dm-num--sm { width: 1.6em; height: 1.6em; border-radius: 8px; font-size: .8em; vertical-align: middle; box-shadow: none; }

/* prices */
body.dm .dm-prices { list-style: none; padding: 0; margin: 26px 0 18px; display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); max-width: none !important; }
body.dm .dm-price { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
body.dm .dm-band--light .dm-price { background: var(--soft); box-shadow: none; }
body.dm .dm-price__label { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.4; }
body.dm .dm-price__val { font: 800 1.3rem/1.2 var(--display); color: var(--brand); font-variant-numeric: tabular-nums; }

/* checks */
body.dm ul.dm-checks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
body.dm ul.dm-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px !important; gap: 12px 28px; }
body.dm ul.dm-checks li { position: relative; padding-left: 34px; margin: 0; }
body.dm ul.dm-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / 13px no-repeat; }
body.dm .dm-band--dark ul.dm-checks li::before { background-color: var(--accent); }

/* FAQ accordion */
body.dm .dm-faq { max-width: 900px; margin-top: 22px; }
body.dm .dm-faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; box-shadow: 0 2px 10px rgba(15,23,42,.04); }
body.dm .dm-band--light .dm-faq__item { background: var(--soft); }
body.dm .dm-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
body.dm .dm-faq__item summary::-webkit-details-marker { display: none; }
body.dm .dm-faq__item summary :is(h3, h4) { margin: 0; font-size: 1.05rem; line-height: 1.4; }
body.dm .dm-faq__item summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; transition: transform .25s;
  background: var(--badge-bg) var(--plus-icon) center / 18px no-repeat; }
body.dm .dm-faq__item[open] summary::after { transform: rotate(45deg); }
body.dm .dm-faq__a { padding: 0 24px 20px; }
body.dm .dm-faq__a > :last-child { margin-bottom: 0; }
body.dm .dm-faq__a :is(h3, h4) { display: none; }

/* tables */
body.dm .dm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; margin: 20px 0; box-shadow: var(--shadow); border: 1px solid var(--line); }
body.dm .dm-table-wrap table { width: 100%; border-collapse: collapse; background: #fff; font-size: .96rem; margin: 0; }
body.dm .dm-table-wrap th { background: var(--dark); color: #fff; font: 700 .78rem/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; text-align: left; padding: 15px 18px; }
body.dm .dm-table-wrap td { padding: 15px 18px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
body.dm .dm-table-wrap tbody tr:nth-child(even) td { background: var(--soft); }

/* CTA photo band */
body.dm .dm-cta { position: relative; text-align: center; color: #fff; padding: clamp(72px, 9vw, 116px) 0;
  background: linear-gradient(rgba(var(--dark-rgb), .86), rgba(var(--dark-rgb), .9)), var(--cta-img, var(--dark)) center / cover no-repeat; }
body.dm .dm-cta h2 { color: #fff; font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1.12 var(--display); max-width: 780px; margin: 0 auto 14px; }
body.dm .dm-cta :is(p, li) { color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto 14px; font-size: 1.08rem; }
body.dm .dm-cta strong { color: #fff; }
body.dm .dm-cta a:not([class]) { color: #fff; font-weight: 700; }
body.dm .dm-cta :is(.dm-cta__actions, .cta-buttons, .cta-actions, .cta-section__actions) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
body.dm .dm-cta div:not([class]):has(> a.btn) { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
body.dm .dm-cta a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; font-weight: 800; text-decoration: none; }
body.dm .dm-cta a.btn:is(.btn-primary, .btn-white, .btn--primary, .btn-accent) { background: var(--accent); color: var(--accent-ink); border: 0; box-shadow: 0 10px 26px var(--accent-glow); }
body.dm .dm-cta a.btn:is(.btn-outline, .btn-outline-white, .btn-secondary, .btn--outline, .btn--outline-light) { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  body.dm :is(.dm-cards, .dm-steps, .dm-prices).dm-cols-4, body.dm :is(.dm-cards, .dm-steps, .dm-prices).dm-cols-5 { --cols: 2; }
  body.dm :is(.dm-steps).dm-cols-3 { --cols: 3; }
}
@media (max-width: 860px) {
  body.dm .dm-split { grid-template-columns: 1fr; }
  body.dm .dm-split--rev .dm-split__media { order: 0; }
  body.dm .dm-split__media img { aspect-ratio: 16 / 10; }
  body.dm :is(.dm-cards, .dm-steps, .dm-prices) { --cols: 2 !important; }
}
@media (max-width: 640px) {
  body.dm { font-size: 16px; }
  body.dm .dm-wrap { padding: 0 18px; }
  body.dm .dm-hero { padding: 52px 0 56px; background: linear-gradient(180deg, var(--hero-a), var(--hero-b)), var(--hero-img, var(--dark)) center / cover no-repeat; }
  body.dm .dm-hero .dm-btn, body.dm .dm-cta .dm-btn, body.dm .dm-hero a.btn, body.dm .dm-cta a.btn { width: 100%; }
  body.dm :is(.dm-cards, .dm-steps, .dm-prices) { --cols: 1 !important; }
  body.dm ul.dm-checks--2 { grid-template-columns: 1fr; }
  body.dm .dm-card, body.dm .dm-step { padding: 24px 20px; }
  body.dm .dm-faq__item summary { padding: 18px 18px; }
  body.dm .dm-faq__a { padding: 0 18px 18px; }
  body.dm .dm-split__media::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { body.dm * { transition: none !important; } }

/* chips (area / related links) */
body.dm ul.dm-chips { list-style: none; padding: 0; margin: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 10px; max-width: none !important; columns: auto; }
body.dm ul.dm-chips li { margin: 0; }
body.dm ul.dm-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 2px 8px rgba(15,23,42,.05); transition: border-color .2s, color .2s; }
body.dm ul.dm-chips a:hover { border-color: var(--brand); color: var(--brand); }
body.dm ul.dm-chips a .dm-i { color: var(--brand); width: 16px; height: 16px; }
body.dm .dm-band--light ul.dm-chips a { background: var(--soft); }
body.dm .dm-band--dark ul.dm-chips a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }

/* long h3 sections: numbered rows inside one panel */
body.dm .dm-rows { margin: 28px 0 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; max-width: 980px; }
body.dm .dm-band--light .dm-rows { background: var(--soft); box-shadow: none; }
body.dm .dm-row { display: grid; grid-template-columns: 46px 1fr; gap: 22px; padding: 30px 32px; border-top: 1px solid var(--line); }
body.dm .dm-row:first-child { border-top: 0; }
body.dm .dm-row h3 { margin: 8px 0 10px; }
body.dm .dm-row p:last-child { margin-bottom: 0; }
body.dm .dm-split ul.dm-checks--2 { grid-template-columns: 1fr; }
@media (max-width: 640px) { body.dm .dm-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 20px; } }
body.dm .dm-band .dm-wrap > h2:not(:first-child), body.dm .dm-split__text > h2:not(:first-child) { margin-top: 56px; }
body.dm .dm-band .error-page img, body.dm .dm-band img.hero-img { max-width: 720px; width: 100%; border-radius: 18px; display: block; margin: 0 auto 24px; }
body.dm .dm-band a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 800; text-decoration: none; background: var(--accent); color: var(--accent-ink); border: 0; box-shadow: 0 10px 26px var(--accent-glow); background-image: none; }
body.dm .dm-band a.btn:is(.btn-outline, .btn-secondary, .btn--outline) { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }

/* forms that live inside a band (contact page) */
body.dm .dm-band form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea) { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
body.dm .dm-band form :is(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--badge-bg); }
body.dm .dm-band form label { font-weight: 700; font-size: .9rem; color: var(--ink); }
body.dm .dm-band form :is(button[type=submit], input[type=submit]) { width: 100%; padding: 16px; border: 0; border-radius: 12px; background: var(--accent); background-image: none; color: var(--accent-ink); font: 800 1.02rem/1 var(--body); cursor: pointer; box-shadow: 0 10px 26px var(--accent-glow); }
body.dm .dm-cta .dm-cta__note { font-size: .98rem; opacity: .9; }
body.dm .dm-band .contact-section { background: none; padding: 0; }

/* ---------- inner-page chrome (header.header / footer.footer) ---------- */
body.dm .header { position: sticky; top: 0; z-index: 100; background: rgba(13,16,21,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: none; }
body.dm .header .container { max-width: 1180px; padding-left: 24px; padding-right: 24px; }
body.dm .header .logo { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; }
body.dm .header .logo-icon { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 10px; }
body.dm .header .logo-brand { color: var(--accent-2); }
body.dm .header .nav-links > li > a { font-weight: 600; }
body.dm .header .nav-links .btn-primary { background: var(--accent); color: #fff; border-radius: 10px; box-shadow: 0 6px 18px var(--accent-glow); }
body.dm .header .header-phone svg { color: var(--accent-2); }
body.dm .footer { background: #080a0e; border-top: 0; padding-top: 64px; }
body.dm .footer h4 { color: #fff; font-family: var(--display); }
body.dm .footer .footer-grid { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm .floating-cta a { border-radius: 12px; }

/* ---------- home: nav ---------- */
body.dm .nav { position: sticky; top: 0; z-index: 100; background: rgba(13,16,21,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
body.dm .nav__inner { display: flex; align-items: center; gap: 24px; max-width: 1180px; margin: 0 auto; padding: 14px 24px; }
body.dm .nav__logo { font: 800 1.15rem/1 var(--display); color: #fff; text-decoration: none; white-space: nowrap; }
body.dm .nav__logo span { color: var(--accent-2); }
body.dm .nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
body.dm .nav__links li { margin: 0; }
body.dm .nav__links a { display: block; padding: 9px 14px; border-radius: 10px; color: rgba(255,255,255,.86); font-weight: 600; font-size: .95rem; text-decoration: none; }
body.dm .nav__links a:hover { background: rgba(255,255,255,.08); color: #fff; }
body.dm .nav__links a.nav__cta { background: var(--accent); color: #fff; padding: 11px 18px; box-shadow: 0 6px 18px var(--accent-glow); margin-left: 8px; }
body.dm .nav__hamburger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; flex-direction: column; gap: 5px; }
body.dm .nav__hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- home: hero ---------- */
body.dm .hero { display: block; background-image: url("/images/hero/suv-driveway-sunset.webp") !important; position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(110px, 12vw, 160px); background-position: center; background-size: cover; color: #fff; min-height: 0; }
body.dm .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,12,16,.92) 0%, rgba(10,12,16,.72) 50%, rgba(10,12,16,.25) 100%); }
body.dm .hero__inner { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm .hero__content { max-width: 720px; text-align: left; margin: 0; }
body.dm .hero__rating { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: .88rem; font-weight: 600; color: #fff; }
body.dm .hero__title { font: 800 clamp(2.4rem, 5.4vw, 4rem)/1.04 var(--display); letter-spacing: -.03em; color: #fff; margin: 20px 0 18px; }
body.dm .hero__title .accent { background: none; -webkit-text-fill-color: currentColor; color: var(--accent-2); }
body.dm .hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.65; color: rgba(255,255,255,.88); text-shadow: none; max-width: 620px; margin: 0 0 28px; }
body.dm .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
body.dm .hero__actions .btn, body.dm .cta-section__actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 12px; font: 800 1rem/1.2 var(--body); text-decoration: none; }
body.dm .btn--primary { background: var(--accent); color: #fff; border: 0; box-shadow: 0 10px 26px var(--accent-glow); }
body.dm .btn--primary:hover { background: var(--accent-hover); }
body.dm .btn--outline, body.dm .btn--outline-light { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.42); }
body.dm .hero__trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px; list-style: none; padding: 0; margin: 0; }
body.dm .hero__trust li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.92); }
body.dm .hero__trust li .dm-i { color: #4ade80; }

/* trust bar lifted over the hero edge */
body.dm .trust-bar { position: relative; z-index: 2; background: none; border: 0; padding: 0; margin: -64px auto 0; max-width: 1180px; padding: 0 24px; }
body.dm .trust-bar__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; padding: 0; max-width: none; }
body.dm .trust-bar__item { min-width: 0; white-space: normal; display: flex; align-items: center; gap: 12px; padding: 24px 22px; border-right: 1px solid var(--line); font: 700 .98rem/1.3 var(--display); color: var(--ink); }
body.dm .trust-bar__item:last-child { border-right: 0; }
body.dm .trust-bar__item svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--badge-bg); color: var(--brand); stroke: currentColor; flex-shrink: 0; }

/* sections */
body.dm .section { padding: clamp(56px, 7vw, 88px) 0; background: #fff; }
body.dm .section[style*="surface"] { background: var(--soft) !important; }
body.dm .section .container, body.dm .why-dark .container, body.dm .cta-section .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm .section__header { max-width: 760px; margin: 0 auto 44px; text-align: center; }
body.dm .section__label { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
body.dm .section__title { font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1.12 var(--display); color: var(--ink); margin: 0 0 14px; }
body.dm .section__sub { font-size: 1.08rem; color: var(--muted); margin: 0 auto; max-width: 640px; }

/* services: photo cards */
body.dm .bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.dm .bento__card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding: 0; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; min-height: 0; color: var(--ink); }
body.dm .bento__card::before, body.dm .bento__card::after { display: none; }
body.dm .bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
body.dm .bento__card .dm-photo { position: static; inset: auto; height: auto; opacity: 1; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
body.dm .bento__card > :not(.dm-photo) { margin-left: 26px; margin-right: 26px; }
body.dm .bento__icon { display: none; }
body.dm .bento__badge { position: absolute; top: 16px; left: 0; margin: 0 !important; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.dm .bento__card h3 { font: 700 1.25rem/1.25 var(--display); color: var(--ink); margin-top: 22px; margin-bottom: 8px; }
body.dm .bento__card p { font-size: .98rem; color: var(--muted); margin-bottom: 16px; }
body.dm .bento__price { font: 800 1.15rem/1 var(--display); color: var(--brand); margin-top: auto; margin-bottom: 4px; }
body.dm .bento__link { display: inline-flex; align-items: center; gap: 6px; padding: 14px 0 24px; font-weight: 700; color: var(--ink); text-decoration: none; }
body.dm .bento__link:hover { color: var(--brand); }
body.dm .bento__link::after { content: ""; position: absolute; inset: 0; }

/* dark "why" band */
body.dm .why-dark { padding: clamp(64px, 8vw, 96px) 0; background: radial-gradient(1200px 500px at 85% 0%, rgba(230,57,70,.16), transparent 60%), linear-gradient(180deg, var(--dark), var(--dark-2)); color: #fff; }
body.dm .why-dark .section__label { color: var(--accent-2) !important; }
body.dm .why-dark .section__title { color: #fff !important; }
body.dm .why-dark .section__sub { color: rgba(255,255,255,.75) !important; }
body.dm .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 48px; }
body.dm .stat-card { padding: 26px 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); text-align: left; }
body.dm .stat-card__num { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--display); color: #fff; margin-bottom: 8px; }
body.dm .stat-card__label { font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.72); }
body.dm .why-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
body.dm .why-point { display: flex; gap: 18px; padding: 26px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
body.dm .why-point__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
body.dm .why-point__icon svg { width: 24px; height: 24px; stroke: currentColor; }
body.dm .why-point strong { display: block; font: 700 1.08rem/1.3 var(--display); color: #fff; margin-bottom: 6px; }
body.dm .why-point p { color: rgba(255,255,255,.74); margin: 0; font-size: .98rem; line-height: 1.65; }

/* numbered process */
body.dm .process-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
body.dm .process-step { position: relative; padding: 28px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
body.dm .process-step::before, body.dm .process-step::after { display: none; }
body.dm .process-step__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; font: 800 1.25rem/1 var(--display); color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px var(--accent-glow); margin-bottom: 16px; position: static; }
body.dm .process-step h4 { font: 700 1.04rem/1.3 var(--display); color: var(--ink); margin: 0 0 8px; }
body.dm .process-step p { font-size: .93rem; line-height: 1.6; color: var(--muted); margin: 0; }

/* reviews */
body.dm .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.dm .testimonial-card { display: flex; flex-direction: column; padding: 30px 28px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); box-shadow: none; color: var(--ink); }
body.dm .testimonial-card__stars { margin-bottom: 14px; }
body.dm .testimonial-card p { font-size: 1rem; line-height: 1.7; color: #2b313b; font-style: normal; margin: 0 0 20px; }
body.dm .testimonial-card__author { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font: 700 .95rem/1.3 var(--display); color: var(--ink); }
body.dm .testimonial-card__author span { font-family: var(--body); font-weight: 500; color: var(--muted); }

/* pricing */
body.dm .pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
body.dm .pricing-card { position: relative; display: flex; flex-direction: column; padding: 30px 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
body.dm .pricing-card--featured { background: linear-gradient(180deg, var(--dark), var(--dark-2)); border-color: var(--dark); box-shadow: var(--shadow-lg); }
body.dm .pricing-card--featured :is(h3, .pricing-card__price) { color: #fff; }

body.dm .pricing-card__badge { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.dm .pricing-card__header { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
body.dm .pricing-card--featured .pricing-card__header { border-color: rgba(255,255,255,.12); }
body.dm .pricing-card h3 { font: 700 1.12rem/1.3 var(--display); margin: 0 0 6px; color: var(--ink); }
body.dm .pricing-card__price { font: 800 1.7rem/1.1 var(--display); color: var(--brand); }
body.dm .pricing-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
body.dm .pricing-card li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .95rem; color: var(--muted); }
body.dm .pricing-card li::before { content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / 11px no-repeat; }
body.dm .pricing-card.pricing-card--featured li { color: rgba(255,255,255,.82); }
body.dm .pricing-card .btn { margin-top: auto; display: flex; justify-content: center; padding: 13px; border-radius: 12px; font-weight: 800; text-decoration: none; }

/* areas */
body.dm .areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
body.dm .area-card { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font: 700 1rem/1.2 var(--display); text-decoration: none; transition: transform .2s, border-color .2s; min-height: 0; }
body.dm .area-card::before { content: ""; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--badge-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c1121f'%3E%3Cpath fill-rule='evenodd' d='m9.69 18.933.003.001C9.89 19.02 10 19 10 19s.11.02.308-.066l.002-.001.006-.003.018-.008a5.741 5.741 0 0 0 .281-.14c.186-.096.446-.24.757-.433.62-.384 1.445-.966 2.274-1.765C15.302 14.988 17 12.493 17 9A7 7 0 1 0 3 9c0 3.492 1.698 5.988 3.355 7.584a13.731 13.731 0 0 0 2.273 1.765 11.842 11.842 0 0 0 .976.544l.062.029.018.008.006.003ZM10 11.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 18px no-repeat; }
body.dm .area-card::after { display: none; }
body.dm .area-card:hover { transform: translateY(-3px); border-color: var(--brand); }
body.dm .area-card span { color: inherit; }

/* faq (native details) */
body.dm .faq { max-width: 860px; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; }

/* CTA band */
body.dm .cta-section { position: relative; padding: clamp(80px, 10vw, 124px) 0; text-align: center; color: #fff; background: linear-gradient(rgba(10,12,16,.82), rgba(10,12,16,.9)), url("/images/gallery/detail-black-sedan.webp") center / cover no-repeat; }
body.dm .cta-section::before, body.dm .cta-section::after { display: none; }
body.dm .cta-section h2 { font: 800 clamp(2rem, 3.6vw, 2.8rem)/1.1 var(--display); color: #fff; margin: 0 0 14px; }
body.dm .cta-section p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 620px; margin: 0 auto 28px; }
body.dm .cta-section__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* estimate form */
body.dm #estimate .container { max-width: 760px !important; }
body.dm .estimate-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
body.dm .estimate-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
body.dm .estimate-form .form-group { margin-bottom: 16px; }
body.dm .estimate-form label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
body.dm .estimate-form :is(input, select, textarea) { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft); color: var(--ink); }
body.dm .estimate-form :is(input, select, textarea):focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--badge-bg); }
body.dm .estimate-form button[type=submit] { display: flex; justify-content: center; text-align: center; padding: 17px; border-radius: 12px; font: 800 1.05rem/1 var(--body); cursor: pointer; }

/* home footer */
body.dm .footer__inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body.dm .footer__logo { font: 800 1.2rem/1 var(--display); color: #fff; margin-bottom: 14px; }
body.dm .footer__logo span { color: var(--accent-2); }
body.dm .footer__col h4 { color: #fff; font: 700 1rem/1.2 var(--display); margin: 0 0 14px; }
body.dm .footer__col ul { list-style: none; padding: 0; margin: 0; }
body.dm .footer__col li { margin-bottom: 8px; }
body.dm .footer__phone { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--accent-2) !important; }
body.dm .footer__bottom { max-width: 1180px; margin: 40px auto 0; padding: 22px 24px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); font-size: .85rem; }
body.dm .footer { padding-bottom: 32px; }

/* sticky mobile CTA (home) */
body.dm .sticky-cta { display: none; }

/* blog index cards */
body.dm .dm-posts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
body.dm .dm-post { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
body.dm .dm-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
body.dm .dm-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0 !important; display: block; }
body.dm .dm-post span { display: block; padding: 20px 22px 24px; font: 700 1.08rem/1.35 var(--display); }

@media (max-width: 1024px) {
  body.dm .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.dm .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  body.dm .stats-grid, body.dm .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body.dm .nav__hamburger { display: flex; }
  body.dm .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 18px 20px; background: #0d1015; border-bottom: 1px solid rgba(255,255,255,.08); }
  body.dm .nav__links.open { display: flex; }
  body.dm .nav__links a.nav__cta { margin: 8px 0 0; text-align: center; }
  body.dm .bento, body.dm .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dm .trust-bar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dm .trust-bar__item:nth-child(2) { border-right: 0; }
  body.dm .trust-bar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  body.dm .why-points { grid-template-columns: 1fr; }
  body.dm .footer__inner { grid-template-columns: 1fr 1fr; }
  body.dm .dm-posts { --cols: 2; }
}
@media (max-width: 640px) {
  body.dm .hero { padding: 56px 0 96px; }
  body.dm .hero::before { background: linear-gradient(180deg, rgba(10,12,16,.88), rgba(10,12,16,.8)); }
  body.dm .hero__actions .btn { width: 100%; }
  body.dm .hero__trust { grid-template-columns: 1fr; }
  body.dm .trust-bar { padding: 0 16px; margin-top: -56px; }
  body.dm .trust-bar__item { padding: 16px 14px; font-size: .86rem; gap: 8px; }
  body.dm .trust-bar__item svg { width: 32px; height: 32px; padding: 7px; }
  body.dm .bento, body.dm .testimonials-grid, body.dm .pricing-grid, body.dm .process-grid { grid-template-columns: 1fr; }
  body.dm .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  body.dm .stat-card { padding: 18px 16px; }
  body.dm .areas-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.dm .area-card { padding: 14px; font-size: .92rem; }
  body.dm .estimate-form .form-row { grid-template-columns: 1fr; }
  body.dm .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  body.dm .dm-posts { --cols: 1; }
  body.dm .section .container, body.dm .why-dark .container, body.dm .cta-section .container, body.dm .nav__inner { padding-left: 18px; padding-right: 18px; }
  body.dm .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; 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(13,16,21,.1); transform: none; opacity: 1; }
  body.dm .sticky-cta a { display: flex; align-items: center; justify-content: center; padding: 13px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: .95rem; }
  body.dm .sticky-cta__call { background: var(--accent); color: #fff; }
  body.dm .sticky-cta__estimate { background: var(--dark); color: #fff; }
  body.dm.dm-home .footer { padding-bottom: 96px; }
}

/* ---------- Round 2 (2026-10-01): phone and tablet ---------- */
/* Real bug fix: html/body overflow-x:hidden made body a scroll container, so the sticky header
   declared above never stuck on inner pages. clip keeps the sideways clipping without that side effect. */
html, body { overflow-x: clip; }
/* Inner pages: the desktop nav does not fit below 1025px (logo, dropdown arrows and phone wrap),
   so tablets get the same toggle menu phones use. */
@media (max-width: 1024px) {
  body.dm .header .menu-toggle { display: flex; }
  body.dm .header .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 1.5rem; background: var(--primary, #0d1015); border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
  body.dm .header .nav-links.active { display: flex; }
  body.dm .header .nav-links li { border-bottom: 1px solid rgba(255,255,255,.08); }
  body.dm .header .nav-links li:last-child { border: none; }
  body.dm .header .nav-links li a { display: flex; align-items: center; justify-content: center; padding: .6rem 0; min-height: 44px; }
  body.dm .header .dropdown-menu { position: static; box-shadow: none; min-width: 100%; display: none; background: transparent; }
  body.dm .header .nav-dropdown.open .dropdown-menu { display: block; }
}
@media (hover: none) and (max-width: 1024px) {
  body.dm .header .logo, body.dm .nav__logo { min-height: 44px; display: inline-flex; align-items: center; }
  body.dm .nav__logo { gap: .28em; }
  body.dm .nav__links a { min-height: 44px; display: flex; align-items: center; }
  body.dm .footer a, body.dm .footer-links a, body.dm .footer__links a { min-height: 44px; display: inline-flex; align-items: center; }
  body.dm .dm-hero a, body.dm .breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 640px) {
  body.dm .footer__bottom, body.dm .footer__bottom p { font-size: .9rem; }
}
@media (hover: none) and (max-width: 1024px) {
  body.dm .nav__hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
}
@media (hover: none) and (max-width: 1024px) {
  body.dm main li > a[href^="tel:"] { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 1024px) {
  body.dm .header .dropdown-menu li a { color: rgba(255,255,255,.78); font-weight: 500; }
  body.dm .header .dropdown-menu li a:hover { color: #fff; }
}
@media (max-width: 1024px) {
  body.dm .header .nav-links.active { max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
}

/* 2026-10-07 design check */
/* Desktop dropdowns: links were #1a1a1a text on the #1a1a1a panel (unreadable) */
body.dm .header .dropdown-menu li a { color: rgba(255,255,255,.84); }
body.dm .header .dropdown-menu li a:hover, body.dm .header .dropdown-menu li a:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
/* Blog index cards stayed three across on phones */
@media (max-width: 860px) { body.dm .dm-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.dm .dm-posts { grid-template-columns: 1fr; gap: 18px; } }
/* Phone CTA bar: one style on every page (the quote half had no background, icons doubled,
   and the blog and area pages showed two stacked squares over the content) */
@media (max-width: 768px) {
  body.dm .floating-cta { left: 0 !important; right: 0 !important; bottom: 0 !important; flex-direction: row !important; gap: 0 !important; border-radius: 0; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  body.dm .floating-cta a { flex: 1 1 0; width: auto !important; height: auto !important; min-height: 52px; border-radius: 0 !important; padding: 12px 8px; gap: 8px; font-size: .95rem; font-weight: 700; color: #fff; box-shadow: none !important; transform: none !important; animation: none !important; }
  body.dm .floating-cta .fcta-call { background: var(--accent); }
  body.dm .floating-cta .fcta-quote { background: #111418; }
  body.dm .floating-cta a:has(.fcta-mobile-label) > svg, body.dm .floating-cta a:has(.fcta-mobile-label) > .fcta-label { display: none; }
  body.dm .floating-cta .fcta-mobile-label { display: inline-flex; align-items: center; gap: 8px; }
  body.dm .floating-cta a:not(:has(.fcta-mobile-label)) > .fcta-label { display: inline; position: static; opacity: 1; background: none; padding: 0; font-size: inherit; color: inherit; order: 2; }
  body.dm .floating-cta a svg { width: 18px; height: 18px; flex-shrink: 0; }
}
/* 404 (now styled under nested URLs too): the subheading was #1a1a1a on the dark photo hero,
   and the square photo filled the screen */
body.dm .dm-hero .error-page h2 { color: #fff; }
body.dm .dm-hero .error-page img.hero-img { width: 100%; max-width: 560px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin: 6px auto 26px; display: block; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
/* Before and after pairs (homepage) */
body.dm .dm-ba { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.dm .dm-ba__item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); margin: 0; }
body.dm .dm-ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
body.dm .dm-ba__pair figure { position: relative; margin: 0; }
body.dm .dm-ba__pair img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; }
body.dm .dm-ba__tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font: 700 .78rem/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(13,16,21,.78); }
body.dm .dm-ba__tag--after { background: var(--accent); }
body.dm .dm-ba__item figcaption { padding: 16px 18px 20px; font-size: .97rem; line-height: 1.55; color: var(--muted); }
body.dm .dm-ba__item figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
@media (max-width: 1024px) { body.dm .dm-ba { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { body.dm .dm-ba { grid-template-columns: 1fr; gap: 18px; } }
