/* alamopoolresurfacing.com modern layer (2026-10-01).
   Loads LAST on every page (after styles.v1.css and each page's inline <style>). Every rule is scoped
   under body.dm so it wins without !important and never leaks into the lead packet or estimate pages.
   Brand kept: deep teal, terracotta, desert sand, cream. Benchmark: 904epoxyfloors.com (photo heroes,
   alternating light and dark bands, numbered process, review cards, solid icons, dark photo CTA band). */
body.dm {
  --teal: #1a5e63; --teal-d: #0f3d40; --teal-dd: #0b2b2d; --ink: #1b2a2b; --terra: #c75b39; --terra-h: #ad4a2b;
  --sand: #c2956b; --sand-l: #e9c9a3; --cream: #fdf6ec; --cream-2: #f6ecdd; --line: #eadcc8; --muted: #55615f; --white: #fff;
  --primary: #1a5e63; --color-primary: #1a5e63; --dark: #1b2a2b;
  --r: 16px; --sh: 0 10px 30px rgba(27, 42, 43, .08); --sh-lg: 0 20px 50px rgba(27, 42, 43, .16);
  --hdr: 72px;
  padding-top: 0;
}
body.dm .dm-i { width: 1.1em; height: 1.1em; vertical-align: -.17em; flex-shrink: 0; display: inline-block; fill: currentColor; }

/* ---------- header: sticky instead of fixed so it never covers a hero, breadcrumb or post title ---------- */
body.dm .header { position: sticky; top: 0; overflow-x: clip; }
body.dm .hero { padding-top: 0; }
body.dm .page-header { padding-top: clamp(64px, 8vw, 104px); }
body.dm .nav-cta { display: inline-flex; align-items: center; gap: .45rem; box-shadow: 0 6px 16px rgba(199, 91, 57, .3); }
/* water-quality guide carries an older nav: same look as the rest of the site */
body.dm .header > .nav.container { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); }
body.dm .header .nav .logo a { display: flex; align-items: center; gap: .6rem; color: var(--teal); }
body.dm .header .nav .logo img { width: 40px; height: 40px; }
body.dm .header ul.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
body.dm .header .btn-nav { background: var(--terra); color: #fff !important; padding: .55rem 1.3rem; border-radius: 50px; font-weight: 600; }
body.dm .header .btn-nav::after { display: none; }

/* ---------- scroll reveal no longer hides content (it left 1,000px+ blank bands for fast scrollers) ---------- */
body.dm .reveal { opacity: 1; transform: none; }

/* ---------- solid symbols where the stylesheet used emoji ---------- */
body.dm .check-list li::before { content: ""; width: 20px; height: 20px; margin-top: .2em; border-radius: 50%;
  background: var(--teal) 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 / 12px no-repeat; }
body.dm .area-tag::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: var(--terra);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%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 / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%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 / contain no-repeat; }
body.dm .testimonial-stars { color: #e0a100; display: flex; gap: 2px; }
body.dm .footer-contact li { align-items: center; }
body.dm .footer-contact .dm-i { color: var(--sand); opacity: 1; }
body.dm .info-icon .dm-i, body.dm .info-icon svg { width: 24px; height: 24px; color: var(--teal); }

/* ---------- section rhythm + headings ---------- */
body.dm .section { padding: clamp(64px, 7vw, 96px) 0; }
body.dm .section-header h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.01em; text-wrap: balance; }
body.dm .section-header .overline { display: inline-flex; align-items: center; gap: 10px; }
body.dm .section-header .overline::before, body.dm .section-header .overline::after { content: ""; width: 22px; height: 2px; background: var(--terra); border-radius: 2px; }

/* trust strip: a tidy grid instead of a 5 + 1 wrap */
body.dm .trust-strip { background: var(--teal-dd); padding: 0; }
body.dm .trust-strip .trust-items { display: grid; grid-template-columns: repeat(6, 1fr); align-items: stretch; }
body.dm .trust-item { flex-direction: column; justify-content: center; padding: 18px 12px; border-right: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.72); font-size: .82rem; text-align: center; flex-wrap: wrap; gap: 4px 6px; }
body.dm .trust-item strong { color: var(--sand-l); display: inline-flex; align-items: center; gap: 5px; }
body.dm .trust-item strong .dm-i { color: #f2b636; }
body.dm .trust-items:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
body.dm .trust-items:has(> :nth-child(7):last-child) { grid-template-columns: repeat(7, 1fr); }

/* cards */
body.dm .service-card { border-radius: var(--r); box-shadow: var(--sh); border-color: var(--line); padding: 2rem; }
body.dm .service-card:hover { box-shadow: var(--sh-lg); }
body.dm .service-card .icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--teal), #2a7d83); box-shadow: 0 8px 18px rgba(26,94,99,.28); }
body.dm .service-card .icon img, body.dm .service-card .icon .service-icon { width: 28px; height: 28px; filter: brightness(0) invert(1); }
body.dm .service-card h3 { font-size: 1.3rem; }
/* orphan rows: 4 or 8 cards sit 4-up / 2 x 2; a single card left on a 3-up row becomes a full-width card */
body.dm .services-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); }
body.dm .services-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
body.dm .services-grid:has(> :nth-child(10):last-child) { grid-template-columns: repeat(2, 1fr); }
body.dm .services-grid:has(> :nth-child(10):last-child) > .service-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.3rem; align-content: start; }
body.dm .services-grid:has(> :nth-child(10):last-child) > .service-card > .icon { margin: 0; grid-row: span 3; }
body.dm .services-grid:has(> :nth-child(10):last-child) > .service-card > :not(.icon) { grid-column: 2; }

/* alternating photo rows */
body.dm .alt-image { border-radius: 20px; box-shadow: var(--sh-lg); }
body.dm .alt-content h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

/* ---------- process timeline: dark band with numbered step cards ---------- */
body.dm .section:has(.timeline) { background: linear-gradient(180deg, var(--teal-d), var(--teal-dd)); position: relative; overflow: hidden; }
body.dm .section:has(.timeline)::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(194,149,107,.18), transparent 70%); pointer-events: none; }
body.dm .section:has(.timeline) .section-header h2 { color: #fff; }
body.dm .section:has(.timeline) .section-header p:not(.overline) { color: rgba(255,255,255,.72); }
body.dm .section:has(.timeline) .section-header .overline { color: var(--sand-l); }
body.dm .timeline { max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: none; }
body.dm .timeline::before { left: 8%; right: 8%; top: 25px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, transparent, rgba(194,149,107,.5), transparent); }
body.dm .timeline-item { flex-direction: column; gap: 16px; margin: 0; }
body.dm .timeline:has(> :nth-child(4):last-child), body.dm .timeline:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); }
body.dm .timeline:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
body.dm .timeline:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
body.dm .timeline-dot { width: 52px; height: 52px; background: var(--terra); box-shadow: 0 0 0 6px rgba(199,91,57,.2); font-size: 1.25rem; }
body.dm .timeline-content { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); box-shadow: none; border-radius: var(--r); padding: 1.4rem; height: 100%; }
body.dm .timeline-content h4 { color: #fff; font-size: 1.12rem; }
body.dm .timeline-content p { color: rgba(255,255,255,.74); }

/* ---------- reviews ---------- */
body.dm .testimonials-grid { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
body.dm .testimonial-card { margin: 0; display: flex; flex-direction: column; border-radius: var(--r); box-shadow: var(--sh); border-color: var(--line); padding: 1.8rem; }
body.dm .testimonial-card blockquote { flex: 1; color: #3f4a49; }
body.dm .testimonial-card:has(> :nth-child(1)) { position: relative; }

/* ---------- service-area block on home: the map embed rendered blank, now an aerial photo card ---------- */
body.dm .areas-wrapper { align-items: stretch; }
body.dm .dm-map { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-lg); min-height: 360px; justify-content: flex-end; }
body.dm .dm-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.dm .dm-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,43,45,.85)); }
body.dm .dm-map > :not(img) { position: relative; z-index: 1; color: #fff !important; font: 600 1.15rem/1.4 var(--font-heading); padding: 22px 26px; margin: 0 !important; width: 100%; text-align: left; }

/* ---------- CTA banner: dark photo band ---------- */
body.dm .cta-banner { position: relative; padding: clamp(72px, 9vw, 112px) 0;
  background: linear-gradient(100deg, rgba(11,43,45,.94), rgba(15,61,64,.86) 55%, rgba(15,61,64,.6)), url("/images/hero-pool.jpg") center / cover; }
body.dm .cta-banner h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
body.dm .cta-banner p { color: rgba(255,255,255,.84); opacity: 1; }
body.dm .cta-banner .btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 26px rgba(199,91,57,.4); }
body.dm .cta-banner .btn-primary:hover { background: var(--terra-h); }
body.dm .cta-banner .btn-secondary, body.dm .cta-banner .btn-outline { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
body.dm .cta-banner .btn { padding: 1rem 1.8rem; font-size: 1rem; }

/* ---------- inner page headers: photo hero ---------- */
body.dm .page-header { position: relative; isolation: isolate; padding-bottom: clamp(56px, 6vw, 84px);
  background: linear-gradient(100deg, rgba(11,43,45,.93), rgba(15,61,64,.8) 60%, rgba(15,61,64,.55)), var(--ph, url("/images/09-hero.webp")) center / cover no-repeat; }
body.dm-services { --ph: url("/images/10-services.webp"); }
body.dm-about { --ph: url("/images/08-boerne-after.webp"); }
body.dm-contact { --ph: url("/images/hero-pool.jpg"); }
body.dm-faq { --ph: url("/images/04-stoneoak-after.webp"); }
body.dm-gallery { --ph: url("/images/gallery-header.jpg"); }
body.dm .page-header h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -.015em; }
body.dm .page-header p { color: rgba(255,255,255,.85); opacity: 1; font-size: 1.12rem; max-width: 640px; margin: 0 auto; }
body.dm .page-header .breadcrumb, body.dm .page-header .breadcrumb a { color: rgba(255,255,255,.8); }

/* ---------- footer: 5 children in a 4-column grid left Contact alone on a second row ---------- */
body.dm .footer-grid:has(> :nth-child(5):last-child) { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.4rem; }
body.dm .footer { background: var(--teal-dd); }
body.dm .footer h4 { color: #fff; }

/* tables */
body.dm .dm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; margin: 1.5rem 0; box-shadow: var(--sh); }
body.dm .dm-table-wrap > table { margin: 0; min-width: 100%; }
body.dm :is(.pricing-table, .compare-table, .cost-table) th { background: var(--teal); color: #fff; }

/* ---------- service pages: split hero with the job photo as a card ---------- */
body.dm .dm-svc-hero { min-height: 0; padding: clamp(56px, 7vw, 96px) 0; background: none; }
body.dm .dm-svc-hero::before { background: linear-gradient(100deg, rgba(11,43,45,.95) 0%, rgba(15,61,64,.88) 50%, rgba(15,61,64,.7) 100%), var(--hero-img) center / cover no-repeat; filter: none; }
body.dm .dm-svc-hero .dm-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; max-width: var(--max-w); }
body.dm .dm-svc-hero .hero-content { text-align: left; }
body.dm .dm-svc-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
body.dm .dm-svc-hero .hero-content p { max-width: 560px; color: rgba(255,255,255,.86); opacity: 1; }
body.dm .dm-svc-hero .hero-buttons { justify-content: flex-start; }
body.dm .dm-on-dark { border-color: rgba(255,255,255,.6) !important; color: #fff !important; }
body.dm .dm-on-dark:hover { background: rgba(255,255,255,.12) !important; }
body.dm .dm-hero-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 6px solid rgba(255,255,255,.12); aspect-ratio: 4 / 3.4; }
body.dm .dm-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; margin: 0; }

/* ---------- location pages ---------- */
body.dm-loc { background: var(--cream); }
body.dm .location-hero.dm-hero { position: relative; text-align: left; color: #fff; padding: clamp(48px, 6vw, 88px) 0;
  background: radial-gradient(70% 90% at 100% 0%, rgba(194,149,107,.22), transparent 60%), linear-gradient(120deg, var(--teal-dd), var(--teal-d) 55%, var(--teal)); }
body.dm .dm-hero-in { width: 90%; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
body.dm .location-hero .breadcrumb { max-width: none; margin: 0 0 18px; padding: 0; color: rgba(255,255,255,.65); font-size: .88rem; }
body.dm .location-hero .breadcrumb a { color: var(--sand-l); }
body.dm .location-hero h1 { font: 700 clamp(2rem, 3.8vw, 3rem)/1.12 var(--font-heading); margin: 0 0 18px; letter-spacing: -.01em; text-wrap: balance; }
body.dm .location-hero p { margin: 0 0 28px; max-width: 560px; color: rgba(255,255,255,.85); opacity: 1; font-size: 1.1rem; }
body.dm .dm-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
body.dm .hero-phone, body.dm .cta-button { display: inline-flex; align-items: center; gap: 10px; background: var(--terra); color: #fff; font: 700 1.08rem/1.2 var(--font-body); padding: 16px 26px; border-radius: 999px; box-shadow: 0 12px 26px rgba(199,91,57,.38); transition: transform .2s, background .2s; }
body.dm .hero-phone:hover, body.dm .cta-button:hover { background: var(--terra-h); transform: translateY(-2px); }
body.dm .dm-btn-ghost { display: inline-flex; align-items: center; padding: 15px 24px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); color: #fff; font-weight: 600; background: rgba(255,255,255,.06); }
body.dm .dm-btn-ghost:hover { background: rgba(255,255,255,.14); }
body.dm .location-hero .dm-hero-photo { aspect-ratio: 4 / 3; }

body.dm .dm-loc-main.location-content { max-width: none; margin: 0; padding: 0; font-family: var(--font-body); color: var(--ink); }
body.dm .dm-band { padding: clamp(52px, 6vw, 80px) 0; background: var(--white); }
body.dm .dm-band:nth-child(even) { background: var(--cream); }
body.dm .dm-wrap { width: 90%; max-width: 860px; margin: 0 auto; }
body.dm .dm-band h2 { font: 700 clamp(1.6rem, 2.8vw, 2.15rem)/1.2 var(--font-heading); margin: 0 0 18px; padding: 0; border: 0; text-wrap: balance; }
body.dm .dm-band h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-bottom: 16px; background: linear-gradient(90deg, var(--terra), var(--sand)); }
body.dm .dm-band p { color: #3f4a49; font-size: 1.04rem; line-height: 1.8; margin: 0 0 1rem; }
body.dm .dm-wrap > ul:not([class]) { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 10px; }
body.dm .dm-wrap > ul:not([class]) > li { position: relative; padding: 14px 18px 14px 50px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: #3f4a49; line-height: 1.6; }
body.dm .dm-band:nth-child(odd) .dm-wrap > ul:not([class]) > li { background: var(--cream); }
body.dm .dm-wrap > ul:not([class]) > li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 3px, var(--terra) 3.5px); }
/* steps: dark band, numbered cards */
body.dm .dm-band--steps { background: linear-gradient(180deg, var(--teal-d), var(--teal-dd)) !important; }
body.dm .dm-band--steps .dm-wrap { max-width: var(--max-w); }
body.dm .dm-band--steps h2 { color: #fff; }
body.dm .process-steps { counter-reset: steps; list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
body.dm .process-steps li { counter-increment: steps; position: relative; padding: 72px 20px 22px; margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); color: rgba(255,255,255,.76); font-size: .95rem; line-height: 1.6; }
body.dm .process-steps li::before { content: counter(steps); left: 20px; top: 20px; transform: none; width: 40px; height: 40px; background: var(--terra); font: 700 1.1rem/1 var(--font-heading); box-shadow: 0 0 0 5px rgba(199,91,57,.2); }
body.dm .process-steps li strong { display: block; color: #fff; font: 700 1.05rem/1.3 var(--font-heading); margin-bottom: 6px; }
/* reviews */
body.dm .dm-band--reviews .dm-wrap { max-width: var(--max-w); }
body.dm .dm-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
body.dm .testimonial-block { position: relative; margin: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--sh); color: #3f4a49; font-size: .98rem; line-height: 1.7; }
body.dm .testimonial-block .dm-q { width: 38px; height: 38px; padding: 9px; border-radius: 12px; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--terra), var(--sand)); }
body.dm .testimonial-block cite { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--teal); font-size: .9rem; }
/* prices */
body.dm .dm-price { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.dm .dm-price li { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--terra); border-radius: 14px; padding: 22px; color: var(--muted); line-height: 1.55; box-shadow: var(--sh); }
body.dm .dm-band:nth-child(odd) .dm-price li { background: var(--cream); box-shadow: none; }
body.dm .dm-price li:nth-child(2) { border-top-color: var(--teal); } body.dm .dm-price li:nth-child(3) { border-top-color: var(--sand); }
body.dm .dm-price li strong { display: block; color: var(--ink); font: 700 1.15rem/1.3 var(--font-heading); margin-bottom: 6px; }
/* location CTA: dark photo band */
body.dm .dm-cta.cta-section { margin: 0; border-radius: 0; padding: clamp(72px, 9vw, 110px) 24px; text-align: center;
  background: linear-gradient(rgba(11,43,45,.86), rgba(11,43,45,.9)), url("/images/09-hero.webp") center / cover; }
body.dm .dm-cta h2 { font: 700 clamp(1.9rem, 3.4vw, 2.6rem)/1.2 var(--font-heading); max-width: 760px; margin: 0 auto 14px; color: #fff; }
body.dm .dm-cta p { color: rgba(255,255,255,.84); max-width: 620px; margin: 0 auto 22px; opacity: 1; font-size: 1.05rem; }
body.dm .dm-cta p a { color: var(--sand-l); font-weight: 700; }
/* services hub, water note, nearby areas */
body.dm .services-hub h3, body.dm .areas-we-serve h3, body.dm .dm-note h3 { font: 700 1.35rem/1.3 var(--font-heading); color: var(--ink); margin: 0 0 16px; }
body.dm .services-hub ul, body.dm .areas-we-serve ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
body.dm .services-hub li a, body.dm .areas-we-serve li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 14px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; transition: border-color .2s, transform .2s; }
body.dm .services-hub li a::after, body.dm .areas-we-serve li a::after { content: "\2192"; color: var(--terra); }
body.dm .services-hub li a:hover, body.dm .areas-we-serve li a:hover { border-color: var(--terra); transform: translateY(-2px); }
body.dm .dm-band:nth-child(odd) :is(.services-hub, .areas-we-serve) li a { background: var(--cream); }
body.dm .services-hub p a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.dm .areas-we-serve { background: none; padding: 0; margin: 0; border-radius: 0; }
body.dm .dm-note { background: linear-gradient(135deg, #fff8ec, #fdf0dc); border: 1px solid #f0d6ad; border-left: 5px solid var(--sand); border-radius: var(--r); padding: 26px 28px; }
body.dm .dm-note p { margin: 0 0 12px; }
body.dm .dm-note a { color: var(--terra); font-weight: 700; }
body.dm .dm-mini-footer { background: var(--teal-dd); color: rgba(255,255,255,.7); text-align: center; padding: 44px 24px 96px; font-size: .92rem; line-height: 1.9; }
body.dm .dm-mini-footer a { color: #fff; }

/* ---------- blog + resource guide ---------- */
body.dm .dm-post-hero { position: relative; text-align: center; color: #fff; padding: clamp(64px, 8vw, 104px) 20px clamp(52px, 6vw, 80px);
  background: linear-gradient(rgba(11,43,45,.86), rgba(11,43,45,.9)), url("/images/09-hero.webp") center / cover; }
body.dm .dm-post-hero > div { max-width: 820px; margin: 0 auto; }
body.dm .dm-post-hero p:first-child { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--sand-l); padding: 6px 14px; border: 1px solid rgba(233,201,163,.4); border-radius: 999px; margin: 0 0 18px; }
body.dm .dm-post-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; margin: 0 0 14px; text-wrap: balance; }
body.dm .dm-post-hero p:last-child { color: rgba(255,255,255,.72); margin: 0; font-size: .92rem; }
body.dm :is(.blog-content, .blog-post, .blog-list) { max-width: 820px; padding-top: clamp(40px, 5vw, 64px); }
body.dm :is(.blog-content, .blog-post) h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); border: 0; }
body.dm :is(.blog-content, .blog-post) h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; margin-bottom: 14px; background: linear-gradient(90deg, var(--terra), var(--sand)); }
body.dm :is(.blog-content, .blog-post) > img, body.dm .blog-content img { border-radius: 18px; box-shadow: var(--sh-lg); }
body.dm :is(.sign-card, .surface-card, .day-card, .faq-block) { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--r); box-shadow: var(--sh); }
body.dm .sign-number { color: var(--terra); font-family: var(--font-heading); }
body.dm .day-badge { background: var(--teal); }
body.dm :is(.tip-box, .info-box) { background: #eef6f6; border-left-color: var(--teal); border-radius: 0 12px 12px 0; }
body.dm .warn-box { border-radius: 0 12px 12px 0; }
body.dm .warn-box .dm-i { color: #b86e00; }
body.dm .homeowner-quote { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--terra); border-radius: 0 14px 14px 0; box-shadow: var(--sh); }
body.dm :is(.blog-content, .blog-post, .blog-list, .resource-body) a:not(.btn):not(.cta-call):not(.cta-pill) { color: var(--teal); }
body.dm :is(.blog-content, .blog-post, .blog-list) .breadcrumb a, body.dm .breadcrumb a { color: var(--teal); }
body.dm .blog-list h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
body.dm .blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 1.8rem 2rem; border-left: 5px solid var(--terra); transition: transform .2s, box-shadow .2s; }
body.dm .blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
body.dm .blog-card h2 a { color: var(--ink); }
body.dm main > .cta-section, body.dm .blog-content ~ .cta-section, body.dm .cta-section[style] { background: linear-gradient(rgba(11,43,45,.88), rgba(11,43,45,.9)), url("/images/hero-pool.jpg") center / cover !important; }
body.dm .resource-hero { padding: clamp(64px, 8vw, 104px) 20px clamp(52px, 6vw, 80px); background: linear-gradient(rgba(11,43,45,.86), rgba(11,43,45,.9)), url("/images/09-hero.webp") center / cover; }
body.dm .resource-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.15; }
body.dm .resource-hero .cta-pill, body.dm .cta-block a.cta-call { background: var(--terra); }
body.dm .cta-block { background: linear-gradient(rgba(11,43,45,.9), rgba(11,43,45,.92)), url("/images/hero-pool.jpg") center / cover; border-radius: 20px; padding: clamp(36px, 5vw, 56px) 28px; }
body.dm .resource-body .data-card { border-left-color: var(--teal); background: #eef6f6; border-radius: 0 14px 14px 0; }
body.dm :is(.city-compare, .tip-row) { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important; gap: 14px; }
body.dm :is(.city-compare, .tip-row):has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr) !important; }
body.dm .surface-card { border-left-color: var(--teal); }

/* legal + 404 */
body.dm .legal-content { max-width: 820px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 20px 80px; }

/* privacy page carries its own header/footer markup that no stylesheet ever defined (rendered as raw lists) */
body.dm-legal > header { position: sticky; top: 0; z-index: 1000; background: rgba(253,246,236,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); overflow-x: clip; }
body.dm-legal > header > nav { width: 90%; max-width: var(--max-w); margin: 0 auto; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
body.dm-legal .logo { display: flex; align-items: center; gap: .6rem; }
body.dm-legal .logo-icon svg { width: 36px; height: 36px; display: block; }
body.dm-legal .logo-text { font: 700 1.3rem/1 var(--font-heading); color: var(--teal); }
body.dm-legal ul.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
body.dm-legal ul.nav-links > li { position: relative; }
body.dm-legal ul.nav-links a { font-weight: 500; font-size: .9rem; color: var(--ink); }
body.dm-legal ul.nav-links a:hover { color: var(--terra); }
body.dm-legal .dropdown-arrow { font-size: .6rem; margin-left: 3px; color: var(--muted); }
body.dm-legal .dropdown .dropdown-menu { position: absolute; top: 100%; left: -12px; min-width: 210px; padding: .5rem 0; background: #fff; border-radius: 12px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; }
body.dm-legal .dropdown:hover .dropdown-menu, body.dm-legal .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
body.dm-legal .dropdown-menu-areas { columns: 2; min-width: 340px !important; }
body.dm-legal .dropdown-menu a { display: block; padding: .5rem 1.1rem; }
body.dm-legal ul.nav-links .nav-cta { color: #fff; padding: .55rem 1.4rem; }
body.dm-legal .menu-toggle { display: none; }
body.dm-legal .legal-content h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
body.dm-legal .legal-content h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
body.dm-legal .legal-content p, body.dm-legal .legal-content li { color: #3f4a49; line-height: 1.8; }
body.dm-legal .legal-content p { margin: 0 0 1rem; }
body.dm-legal .legal-content ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1.2rem; }
body.dm-legal .last-updated { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
body.dm-legal > footer { background: var(--teal-dd); color: rgba(255,255,255,.72); padding: 64px 0 0; }
body.dm-legal .footer-content { width: 90%; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 40px; }
body.dm-legal > footer h3, body.dm-legal > footer h4 { color: #fff; font-family: var(--font-heading); margin: 0 0 1rem; }
body.dm-legal > footer h3 { font-size: 1.3rem; }
body.dm-legal > footer p { font-size: .92rem; line-height: 1.7; margin: 0 0 .7rem; color: rgba(255,255,255,.72); }
body.dm-legal > footer li { margin-bottom: .55rem; }
body.dm-legal > footer a { color: rgba(255,255,255,.78); font-size: .9rem; }
body.dm-legal > footer a:hover { color: var(--sand-l); }
body.dm-legal .footer-contact p { display: flex; align-items: center; gap: 10px; }
body.dm-legal .footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sand); }
body.dm-legal .footer-bottom { width: 90%; max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; opacity: 1; }
body.dm-legal .footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
  body.dm-legal ul.nav-links > li:not(:last-child) { display: none; }
  body.dm-legal .footer-content { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body.dm-legal .footer-content { grid-template-columns: 1fr; }
  body.dm-legal .logo-text { font-size: 1rem; }
  body.dm-legal ul.nav-links .nav-cta { padding: .5rem .9rem; font-size: .85rem; white-space: nowrap; }
  body.dm-legal .logo-icon svg { width: 30px; height: 30px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  body.dm .trust-strip .trust-items, body.dm .trust-items:has(> :nth-child(5):last-child) { grid-template-columns: repeat(3, 1fr); }
  body.dm .services-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(2, 1fr); }
  body.dm .trust-items:has(> :nth-child(7):last-child) > :last-child { grid-column: 1 / -1; }
  body.dm .trust-items:has(> :nth-child(7):last-child) { grid-template-columns: repeat(3, 1fr); }
  body.dm .timeline:has(> :nth-child(5):last-child), body.dm .timeline:has(> :nth-child(4):last-child), body.dm .timeline:has(> :nth-child(8):last-child) { grid-template-columns: repeat(2, 1fr); }
  body.dm .timeline:has(> :nth-child(5):last-child) > :last-child { grid-column: 1 / -1; }
  body.dm .footer-grid:has(> :nth-child(5):last-child) { grid-template-columns: 1fr 1fr; }
  body.dm .process-steps { grid-template-columns: repeat(2, 1fr); }
  body.dm .testimonials-grid, body.dm .dm-reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body.dm .dm-svc-hero .dm-hero-in, body.dm .dm-hero-in { grid-template-columns: 1fr; }
  body.dm .dm-svc-hero .hero-content { text-align: left !important; }
  body.dm .dm-svc-hero .hero-buttons { justify-content: flex-start; }
  body.dm .dm-hero-photo { aspect-ratio: 16 / 10; }
  body.dm .location-hero .dm-hero-photo, body.dm .dm-svc-hero .dm-hero-photo { display: block !important; }
  body.dm .dm-price, body.dm .services-hub ul, body.dm .areas-we-serve ul { grid-template-columns: 1fr 1fr; }
  body.dm .timeline::before { display: none; }
  body.dm .timeline, body.dm .timeline:is(:has(> :nth-child(4):last-child), :has(> :nth-child(5):last-child), :has(> :nth-child(6):last-child), :has(> :nth-child(8):last-child)) { grid-template-columns: 1fr; }
  body.dm .timeline-item { flex-direction: row; }
  body.dm .footer-grid:has(> :nth-child(5):last-child) { grid-template-columns: 1fr; }
  body.dm .header ul.nav-links { display: none; }
  body.dm .page-header { padding-top: 56px; }
}
@media (max-width: 640px) {
  body.dm .trust-strip .trust-items, body.dm .trust-items:has(> :nth-child(5):last-child), body.dm .trust-items:has(> :nth-child(7):last-child) { grid-template-columns: repeat(2, 1fr); }
  body.dm .services-grid:has(> :nth-child(10):last-child) { grid-template-columns: 1fr; }
  body.dm .trust-items:has(> :nth-child(5):last-child) > :last-child { grid-column: 1 / -1; }
  body.dm .trust-item { width: auto; border-bottom: 1px solid rgba(255,255,255,.08); }
  body.dm .testimonials-grid, body.dm .dm-reviews, body.dm .process-steps, body.dm .dm-price,
  body.dm .services-hub ul, body.dm .areas-we-serve ul, body.dm .services-grid:has(> :nth-child(8):last-child),
  body.dm .services-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; }
  body.dm :is(.city-compare, .tip-row), body.dm :is(.city-compare, .tip-row):has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr !important; }
  body.dm .hero-phone, body.dm .dm-btn-ghost { width: 100%; justify-content: center; }
  body.dm .services-grid[style*="repeat(2"] { grid-template-columns: 1fr !important; }
  body.dm .hero-stats { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  body.dm .hero-stats .stat-card { padding: 1.1rem .6rem; }
  body.dm .dm-mini-footer { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) { body.dm * { transition: none !important; } }
body.dm .dm-idx-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 12px; }
body.dm .dm-idx-hero .subtitle { color: rgba(255,255,255,.82); font-size: 1.1rem; margin: 0; }
body.dm .hero-badge { color: var(--sand-l); background: rgba(11,43,45,.45); border-color: rgba(233,201,163,.35); }

/* ---------- phone + tablet pass (2026-10-01 r2). Media-scoped only: desktop (over 1024px) is untouched. ---------- */
@media (max-width: 1024px) {
  /* tablet landscape keeps the desktop nav, so give each link a 44px touch row */
  body.dm .header .nav-links > a:not(.nav-cta), body.dm .header .nav-dropdown > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.dm .header .nav-links > a:not(.nav-cta)::after { bottom: 6px; }
  body.dm .header ul.nav-links > li > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.dm .nav-cta, body.dm .header .btn-nav { min-height: 44px; }
  body.dm nav.breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.dm .footer-contact a, body.dm .footer-links a, body.dm .footer-col a { display: inline-flex; align-items: center; min-height: 44px; }
  body.dm .faq-answer-inner a[href^="tel:"] { display: inline-block; padding: 13px 0; }
  body.dm .info-item a[href^="tel:"], body.dm .info-item a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
  body.dm-legal .logo { min-height: 44px; }
  body.dm-legal .legal-content li > a[href^="tel:"], body.dm-legal .legal-content li > a[href^="mailto:"] { display: inline-block; padding: 12px 0; }
  body.dm-legal > footer a[href^="tel:"], body.dm-legal > footer a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
  body.dm-legal ul.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.dm-guide .cta-block a.cta-form { display: flex; align-items: center; justify-content: center; min-height: 44px; }
  /* the water-quality guide carries a floating call/quote pair that no stylesheet defined */
  body.dm-guide .floating-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 998; display: flex; gap: 10px; }
  body.dm-guide .floating-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,.28); }
  body.dm-guide .floating-cta .fcta-call { background: var(--terra); }
  body.dm-guide .floating-cta .fcta-quote { background: var(--teal); }
  body.dm-guide .floating-cta svg { width: 20px; height: 20px; }
  body.dm-guide { padding-bottom: 76px; }
  /* 404: phone and tablet get a small link row so the page is never a dead end */
  body.dm-e404 .dm-e404-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 28px auto 0; max-width: 520px; }
  body.dm-e404 .dm-e404-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; color: var(--teal); font-weight: 600; }
}
@media (min-width: 1025px) {
  body.dm-e404 .dm-e404-nav { display: none; }
}
@media (max-width: 900px) {
  /* privacy page: no menu script exists, so the links sit in a second header row instead of being hidden */
  body.dm-legal > header > nav { height: auto; flex-wrap: wrap; gap: 0 12px; padding: 10px 0 4px; }
  body.dm-legal .logo { min-height: 44px; }
  body.dm-legal ul.nav-links { width: 100%; justify-content: space-between; gap: 0 4px; flex-wrap: wrap; }
  body.dm-legal ul.nav-links > li:not(:last-child) { display: block; }
  body.dm-legal ul.nav-links > li.dropdown:has(> a[href="#"]) { display: none; }
  body.dm-legal ul.nav-links .dropdown-menu, body.dm-legal .dropdown-arrow { display: none; }
  body.dm-legal ul.nav-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
}
@media (max-width: 768px) {
  /* phone menu: full-width 48px rows and a 44px toggle */
  body.dm .header .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  body.dm .header .nav-links > a, body.dm .header .nav-dropdown, body.dm .header .nav-dropdown > a { width: 100%; }
  body.dm .header .nav-links > a, body.dm .header .nav-dropdown > a, body.dm .header .nav-dropdown .dropdown-menu a { display: flex; align-items: center; justify-content: center; min-height: 48px; }
  body.dm .header .nav-links > a.nav-cta { min-height: 52px; }
  /* sticky call bar: the tel link on service and blog pages had white text on no background */
  body.dm .mobile-cta { left: 12px; right: 12px; transform: none; }
  body.dm .mobile-cta a { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: .75rem 1rem; }
  body.dm .mobile-cta a[href^="tel:"]:not([style*="background"]) { background: var(--terra); }
  /* water-quality guide: its old nav had no toggle, so the links get a second header row (Free Estimate stays beside the logo) */
  body.dm-guide .header > .nav.container { height: auto; display: grid; grid-template-columns: auto auto auto 1fr; column-gap: 4px; align-items: center; padding: 8px 0 2px; }
  body.dm-guide .header > .nav.container > .logo { grid-column: 1 / 4; grid-row: 1; }
  body.dm-guide .header ul.nav-links { display: contents; }
  body.dm-guide .header ul.nav-links > li { grid-row: 2; }
  body.dm-guide .header ul.nav-links > li:last-child { grid-column: 4; grid-row: 1; justify-self: end; }
  body.dm-guide .header ul.nav-links a { color: var(--ink); border-bottom: 0; padding: 0 6px; font-size: .95rem; }
  body.dm-guide .header ul.nav-links a.btn-nav { color: #fff; padding: 0 16px; white-space: nowrap; }
  /* privacy page: styles.v1 turns any .nav-links into an off-canvas drawer at this width, and this page has no toggle */
  body.dm-legal ul.nav-links { position: static; transform: none; height: auto; overflow: visible; background: none; flex-direction: row; padding: 0; z-index: auto; }
  body.dm-legal ul.nav-links a { color: var(--ink); border-bottom: 0; padding: 0 6px; font-size: .95rem; }
  body.dm-legal ul.nav-links a.nav-cta { color: #fff; padding: 0 16px; white-space: nowrap; }
  body.dm-legal > header > nav { display: grid; grid-template-columns: auto auto auto 1fr; column-gap: 4px; align-items: center; padding: 8px 0 2px; }
  body.dm-legal > header > nav > .logo { grid-column: 1 / 4; grid-row: 1; }
  body.dm-legal > header > nav > .menu-toggle { display: none; }
  body.dm-legal ul.nav-links { display: contents; }
  body.dm-legal ul.nav-links > li { grid-row: 2; }
  body.dm-legal ul.nav-links > li:last-child { grid-column: 4; grid-row: 1; justify-self: end; }
  body.dm .dm-svc-hero .hero-content > p { margin-left: 0; }
}
@media (max-width: 640px) {
  body.dm-guide .resource-body p[style*="font-size"] { font-size: 15px !important; }
  body.dm .mobile-cta a { white-space: normal; text-align: center; line-height: 1.2; }
  body.dm .mobile-cta .mobile-cta-quote { flex: 0 0 auto !important; }
  body.dm-legal .footer-bottom p { font-size: 15px; }
  body.dm-guide .header .nav .logo a { font-size: 1.15rem; }
  body.dm-guide .header ul.nav-links a.btn-nav { padding: 0 12px; font-size: .88rem; }
  body.dm-guide .header ul.nav-links a:not(.btn-nav) { padding: 0 3px; font-size: .9rem; }
  body.dm-legal ul.nav-links a.nav-cta { padding: 0 12px; font-size: .88rem; }
}

/* 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; }
}

/* ---------- 2026-10-06 visual check ---------- */
/* footer contact icons are <img> SVGs drawn in black, so they vanished on the dark footer */
body.dm .footer-contact img.inline-icon { filter: brightness(0) invert(1); opacity: .85; }
/* the footer phone link was dimmed twice (li at .7 and a at .7), so the number read fainter than the email */
body.dm .footer-contact li a { opacity: 1; }
/* new-pool-construction and turf-installation keep the older single-column hero: it had no top or
   bottom padding (badge touched the header, buttons touched the strip below) and centred buttons
   under left-aligned text */
@media (min-width: 769px) {
  body.dm.dm-svc .hero:not(.dm-svc-hero) { padding: clamp(56px, 6vw, 88px) 0; }
  body.dm.dm-svc .hero:not(.dm-svc-hero) .hero-buttons { justify-content: flex-start !important; }
}
/* pool-renovation: two inline 3-column card grids stayed 3 columns on phones (96px-wide cards) */
@media (max-width: 640px) {
  body.dm .services-grid[style*="repeat(3"] { grid-template-columns: 1fr !important; }
}
/* blog and water-guide closing call-to-action boxes: the article rule (.blog-content p, .resource-body p
   = #444) painted the paragraph near-black on the teal box, and the guide's estimate link teal on teal */
body.dm div[style*="background:var(--primary"] :is(p, li) { color: rgba(255,255,255,.9); }
body.dm .cta-block :is(p, li) { color: rgba(255,255,255,.88); }
body.dm .cta-block a.cta-form:not(.btn):not(.cta-call):not(.cta-pill) { color: #fff; }
/* "Free Estimate" header button on two blog posts: dark text on terracotta, white everywhere else */
body.dm .header .nav-links a.btn.btn-primary { color: #fff; }
