/* ==========================================================================
   Comanche Tree Experts: modern layer (Round 2 redesign, 2026-10-01)
   Loaded LAST on every page, after styles.v1.css. Everything is scoped under
   body.ct; base typography uses :where() so it has zero specificity.
   Markup is produced by modernize-comanche.py at the repo root.
   Palette: forest #0f2d19 / #1a472a, amber accent #f5a623, soft band #f3f6f1.
   ========================================================================== */

body.ct {
  --g9: #0b2214; --g8: #0f2d19; --g7: #1a472a; --g6: #2a6b3f; --g1: #e6efe6;
  --amber: #f5a623; --amber-d: #c9800c; --amber-t: #fff4de;
  --ink: #1d2a21; --muted: #4c5a50; --line: #dfe7dc; --soft: #f3f6f1; --white: #fff;
  --r: 14px; --r-sm: 10px;
  --sh-sm: 0 1px 2px rgba(15, 45, 25, .06), 0 2px 8px rgba(15, 45, 25, .05);
  --sh: 0 10px 30px rgba(15, 45, 25, .10);
  --sh-lg: 0 24px 60px rgba(10, 30, 17, .18);
  --hdr: 76px;
  background: var(--white); color: var(--ink);
  font-size: 17px; line-height: 1.65;
}
:where(body.ct) h1, :where(body.ct) h2, :where(body.ct) h3, :where(body.ct) h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--g8); letter-spacing: -.015em; line-height: 1.18;
}
:where(body.ct) h2 { font-size: clamp(1.75rem, 2.6vw, 2.45rem); }
:where(body.ct) h3 { font-size: clamp(1.15rem, 1.5vw, 1.32rem); }
:where(body.ct) p { color: var(--muted); }
:where(body.ct) strong { color: var(--ink); }
body.ct .container { width: auto; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
body.ct .ci { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.16em; }

/* ---------- buttons ---------- */
body.ct :is(.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-white, .btn--ghost) {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.5rem; border-radius: 10px; border: 2px solid transparent;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
body.ct .btn-primary { background: var(--amber); color: var(--g9); box-shadow: 0 6px 18px rgba(245, 166, 35, .28); }
body.ct .btn-primary:hover { background: #ffb53d; color: var(--g9); transform: translateY(-2px); }
body.ct .btn-secondary { background: var(--g7); color: #fff; }
body.ct .btn-secondary:hover { background: var(--g8); color: #fff; transform: translateY(-2px); }
body.ct :is(.btn-outline, .btn--ghost) { background: transparent; color: var(--g7); border-color: var(--g7); }
body.ct :is(.btn-outline, .btn--ghost):hover { background: var(--g7); color: #fff; }
body.ct .btn-white { background: #fff; color: var(--g8); }
body.ct .btn-white:hover { background: var(--g1); color: var(--g8); transform: translateY(-2px); }

/* ---------- header and navigation ---------- */
body.ct .site-header { height: var(--hdr); background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(8px); }
body.ct .site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 45, 25, .10); }
body.ct .header-inner { max-width: 1240px; padding: 0 24px; gap: 20px; }
body.ct .site-logo { display: inline-flex; align-items: center; gap: .65rem; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 1.22rem; color: var(--g8); text-decoration: none; white-space: nowrap; }
body.ct .brand-mark { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--g8); color: #fff; font-weight: 800; font-size: 1.02rem; letter-spacing: -.03em; flex: none; }
body.ct .brand-mark::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--amber); }
body.ct .main-nav ul { display: flex; align-items: center; gap: 4px; }
body.ct .main-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: .98rem; }
body.ct .main-nav a::after { display: none; }
body.ct .main-nav a:hover, body.ct .main-nav a.active { color: var(--g7); background: var(--g1); }
body.ct .ci-caret { width: 14px; height: 14px; opacity: .7; }
body.ct .main-nav .has-sub { position: relative; }
body.ct .main-nav .sub {
  position: absolute; top: calc(100% + 6px); left: -8px; z-index: 20; min-width: 250px;
  display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
body.ct .main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
body.ct .main-nav .sub--areas { grid-template-columns: 1fr 1fr; min-width: 320px; }
body.ct .main-nav .sub a { display: flex; width: 100%; padding: 9px 12px; font-weight: 500; font-size: .95rem; }
body.ct .main-nav .has-sub:hover > .sub, body.ct .main-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
body.ct .header-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--amber); color: var(--g9); font-weight: 700; white-space: nowrap; }
body.ct .header-phone:hover { background: #ffb53d; color: var(--g9); }
body.ct .header-phone .ci { color: var(--g9); }
body.ct .menu-toggle { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--g8); align-items: center; justify-content: center; }
body.ct .menu-toggle .ci { width: 24px; height: 24px; }

/* ---------- heroes ---------- */
body.ct .ct-hero {
  position: relative; color: #fff;
  background-color: var(--g8);
  background-image: linear-gradient(100deg, rgba(8, 26, 15, .94) 0%, rgba(8, 26, 15, .84) 42%, rgba(8, 26, 15, .45) 100%), var(--hero-img, none);
  background-size: cover; background-position: center;
}
body.ct .ct-hero::before { display: none; }
body.ct .ct-hero h1 { color: #fff; }
body.ct .ct-hero p { color: rgba(255, 255, 255, .9); }
body.ct .ct-hero--home { padding: calc(var(--hdr) + 72px) 0 150px; }
body.ct .ct-hero--home h1 { font-size: clamp(2rem, 3.3vw, 3.05rem); line-height: 1.12; margin-bottom: 18px; max-width: 18ch; }
body.ct .ct-hero--home .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
body.ct .hero-sub { display: inline-block; font-weight: 600; color: var(--amber) !important; font-size: 1rem; margin-bottom: 14px; }
body.ct .hero-tagline { font-size: 1.08rem; line-height: 1.7; opacity: 1; margin-bottom: 26px; max-width: 60ch; }
body.ct .hero-badges { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 12px; margin-bottom: 30px; }
body.ct .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 600; font-size: .93rem; }
body.ct .hero-badge .ci { color: var(--amber); }
body.ct .hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
body.ct .before-after-slider { border-radius: 18px; overflow: hidden; box-shadow: var(--sh-lg); border: 4px solid rgba(255, 255, 255, .9); aspect-ratio: 10 / 7; }
body.ct .before-after-slider .ba-img { width: 100%; height: 100%; object-fit: cover; }
body.ct .ba-label { background: rgba(8, 26, 15, .82); color: #fff; font-weight: 700; border-radius: 6px; }
body.ct .ba-slider-handle { background: var(--amber); color: var(--g9); width: 46px; height: 46px; display: grid; place-items: center; }

body.ct .inner-hero.ct-hero { padding: calc(var(--hdr) + 56px) 0 64px; text-align: left; }
body.ct .inner-hero.ct-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 12px; max-width: 22ch; }
body.ct .inner-hero.ct-hero p { font-size: 1.12rem; max-width: 62ch; }
body.ct .inner-hero.ct-hero .blog-meta { font-size: .98rem; color: rgba(255, 255, 255, .85); }
body.ct .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 18px; padding: 0; list-style: none; font-size: .9rem; }
body.ct .crumbs li { color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; }
body.ct .crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .45); }
body.ct .crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }

/* ---------- stats card lifted over the hero edge ---------- */
body.ct .trust-bar { position: relative; z-index: 3; background: transparent; padding: 0; margin-top: -92px; border: 0; }
body.ct .trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: 18px; box-shadow: var(--sh-lg); padding: 10px; }
body.ct .trust-item { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 20px 22px; border-right: 1px solid var(--line); }
body.ct .trust-item:last-child { border-right: 0; }
body.ct .trust-item .ci { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--g8); color: var(--amber); }
body.ct .trust-item strong { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.08rem; color: var(--g8); line-height: 1.25; }
body.ct .trust-item span { color: var(--muted); font-size: .92rem; }

/* ---------- bands ---------- */
body.ct section, body.ct article.content-section { padding: 88px 0; }
body.ct .band-light { background: #fff; }
body.ct .band-soft { background: var(--soft); }
body.ct .band-dark { background: var(--g8); color: #fff; }
body.ct .band-dark :is(h2, h3) { color: #fff; }
body.ct .band-dark p { color: rgba(255, 255, 255, .86); }
body.ct #services.band-light { padding-top: 96px; }
body.ct .section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
body.ct .section-header h2 { margin-bottom: 12px; }
body.ct .section-header p { font-size: 1.08rem; color: var(--muted); }
body.ct .band-dark .section-header p { color: rgba(255, 255, 255, .82); }
body.ct .section-label { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--amber-t); color: #8a5a00; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- service cards ---------- */
body.ct .services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.ct .service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; text-align: left; }
body.ct .service-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
body.ct .service-card.has-photo { padding: 0; overflow: hidden; }
body.ct .service-card .sc-photo { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
body.ct .service-card.has-photo > :not(img) { margin-left: 26px; margin-right: 26px; }
body.ct .service-card.has-photo .service-card-icon { margin-top: -26px; position: relative; }
body.ct .service-card.has-photo > :last-child { margin-bottom: 26px; }
body.ct .service-card-icon, body.ct .service-card > .ci:first-child { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: var(--g8); color: var(--amber); margin-bottom: 16px; box-shadow: 0 6px 16px rgba(15, 45, 25, .22); }
body.ct .service-card > .ci:first-child { padding: 13px; }
body.ct .service-card-icon .ci { width: 26px; height: 26px; }
body.ct .service-card h3 { margin-bottom: 8px; }
body.ct .service-card p { color: var(--muted); font-size: .98rem; flex: 1; margin-bottom: 18px; }
body.ct .service-card :is(.btn, .btn-secondary, .btn--ghost) { align-self: flex-start; min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

/* ---------- home: problem split, cost cards, process, quotes, gallery, prices, hazards ---------- */
body.ct .ct-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
body.ct .ct-prose p { font-size: 1.06rem; line-height: 1.8; margin-bottom: 16px; }
body.ct .ct-figure { margin: 0; }
body.ct .ct-figure img { width: 100%; border-radius: 18px; box-shadow: var(--sh-lg); aspect-ratio: 4 / 3; object-fit: cover; }
body.ct .ct-costs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
body.ct .ct-cost { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--r); padding: 24px 26px; line-height: 1.7; color: var(--muted); box-shadow: var(--sh-sm); }
body.ct .ct-cost:last-child:nth-child(odd) { grid-column: 1 / -1; }
body.ct .ct-cost strong { display: block; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.1rem; color: var(--g8); margin-bottom: 4px; }
body.ct .ct-after { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 1.06rem; line-height: 1.8; }
body.ct .ct-steps { max-width: 900px; margin: 0 auto; display: grid; gap: 16px; counter-reset: none; }
body.ct .ct-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 24px 26px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
body.ct .ct-step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--g9); font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 800; font-size: 1.35rem; }
body.ct .ct-step-body { color: rgba(255, 255, 255, .86); line-height: 1.75; }
body.ct .ct-step-body strong { display: block; color: #fff; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.15rem; margin-bottom: 4px; }
body.ct .ct-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.ct .ct-quote { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px 28px 26px; box-shadow: var(--sh-sm); }
body.ct .ct-quote::before { content: ""; position: absolute; top: 0; left: 28px; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--amber); }
body.ct .ct-quote-text { flex: 1; color: var(--ink); line-height: 1.75; margin-bottom: 18px; }
body.ct .ct-quote-by { font-weight: 700; color: var(--g8); border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
body.ct .ct-quote-where { color: var(--muted); font-weight: 500; }
body.ct .ct-ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
body.ct .ct-ba { border-radius: 18px; overflow: hidden; box-shadow: var(--sh); background: #fff; }
body.ct .ct-ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
body.ct .ct-ba-item { position: relative; }
body.ct .ct-ba-img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block; }
body.ct .ct-ba-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(8, 26, 15, .82); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
body.ct .ct-ba-tag--after { background: var(--amber); color: var(--g9); }
body.ct .ct-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto; }
body.ct .ct-price { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g7); border-radius: var(--r); padding: 28px; box-shadow: var(--sh-sm); }
body.ct .ct-price h3 { margin-bottom: 16px; }
body.ct .ct-price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
body.ct .ct-price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
body.ct .ct-price-list li:last-child { border-bottom: 0; }
body.ct .ct-price-list strong { color: var(--g8); white-space: nowrap; }
body.ct .ct-local-wrap { max-width: 1080px; margin: 0 auto; }
body.ct .ct-lead { text-align: center; max-width: 760px; margin: 0 auto 32px; font-size: 1.08rem; }
body.ct .ct-hazards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body.ct .ct-hazard { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; line-height: 1.7; color: var(--muted); }
body.ct .ct-hazard > .ci { width: 52px; height: 52px; padding: 13px; border-radius: 13px; background: var(--g8); color: var(--amber); }
body.ct .ct-hazard strong { display: block; color: var(--g8); font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.08rem; margin-bottom: 4px; }

/* ---------- FAQ (native details) ---------- */
body.ct .faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
body.ct details.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-sm); margin: 0 0 12px; overflow: hidden; }
body.ct .faq-list details.faq-item { margin: 0; }
body.ct details.faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding: 18px 22px; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 1.06rem; color: var(--g8); background: none; border: 0; width: 100%; text-align: left; }
body.ct details.faq-item > summary::-webkit-details-marker { display: none; }
body.ct details.faq-item > summary h3 { font-size: 1.06rem; margin: 0; color: var(--g8); }
body.ct details.faq-item > summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(#8a5a00, #8a5a00) center / 12px 2px no-repeat, linear-gradient(#8a5a00, #8a5a00) center / 2px 12px no-repeat, var(--amber-t); }
body.ct details.faq-item[open] > summary::after { background: linear-gradient(#8a5a00, #8a5a00) center / 12px 2px no-repeat, var(--amber-t); }
body.ct details.faq-item[open] > summary { color: var(--g7); }
body.ct details.faq-item .faq-answer { max-height: none !important; overflow: visible; }
body.ct details.faq-item .faq-answer-inner { padding: 0 22px 20px; color: var(--muted); line-height: 1.75; }
body.ct details.faq-item .faq-answer-inner p { margin-bottom: 10px; }

/* ---------- service areas ---------- */
body.ct .areas-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
body.ct a.area-card { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--g8); font-weight: 700; box-shadow: var(--sh-sm); text-decoration: none; }
body.ct a.area-card .ci { color: var(--amber-d); margin: 0; width: 18px; height: 18px; }
body.ct a.area-card:hover { border-color: var(--g7); transform: translateY(-2px); }
body.ct .areas-section .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.ct div.area-card { display: flex; flex-direction: column; text-align: left; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
body.ct div.area-card h3 { font-size: 1.12rem; margin: 0 0 6px; }
body.ct div.area-card p { font-size: .95rem; margin: 0 0 12px; flex: 1; }
body.ct div.area-card a { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--g7); text-decoration: underline; text-underline-offset: 3px; }
body.ct :is(.services-section, .areas-section) > .container > h2 { text-align: center; margin-bottom: 40px; }

/* ---------- inner content with sidebar ---------- */
body.ct :is(.content-grid, .content-with-sidebar) { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
body.ct .content-section h2 { margin: 0 0 14px; }
body.ct .content-section :is(.content-main, .main-content, .content-grid > div:first-child) h2 + p { font-size: 1.08rem; }
body.ct .content-section h3 { margin: 32px 0 10px; }
body.ct .content-section p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
body.ct .content-section :is(p, li) a:not(.btn):not([class*="btn-"]) { color: var(--g7); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(26, 71, 42, .35); text-underline-offset: 3px; }
body.ct .content-section ul li { color: var(--muted); }
body.ct .content-section ol { padding-left: 1.3rem; margin-bottom: 18px; }
body.ct .content-section ol li { color: var(--muted); margin-bottom: 10px; line-height: 1.75; }
body.ct .content-sidebar, body.ct aside.sidebar { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 20px; }
body.ct aside :is(ul, ol) li::before { display: none !important; content: none !important; }
body.ct aside :is(.sidebar-card, .quick-facts), body.ct aside > div:not([class]) { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--sh); margin: 0; }
body.ct aside :is(.sidebar-card, .quick-facts) h3, body.ct aside > div:not([class]) h3 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--amber); font-size: 1.14rem; display: flex; align-items: center; gap: 8px; }
body.ct aside ul { list-style: none; padding: 0; margin: 0; }
body.ct aside ul li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0 !important; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .97rem; line-height: 1.5; }
body.ct aside ul li:last-child { border-bottom: 0; }
body.ct aside ul li .ci { color: var(--g7); margin-top: 2px; }
body.ct aside :is(.cta-card, .sidebar-cta) { background: var(--g8) !important; border-color: var(--g8) !important; color: #fff; text-align: left; }
body.ct aside :is(.cta-card, .sidebar-cta) h3 { color: #fff; }
body.ct aside :is(.cta-card, .sidebar-cta) p { color: rgba(255, 255, 255, .86); font-size: .98rem; }
body.ct aside :is(.cta-card, .sidebar-cta) :is(.btn-primary, .btn-secondary) { width: 100%; margin-top: 8px; }
body.ct aside :is(.cta-card, .sidebar-cta) .btn-secondary { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
body.ct aside .quick-facts .sidebar-cta { background: none !important; border: 0 !important; padding: 0; margin-top: 16px; display: grid; gap: 10px; }
body.ct aside .quick-facts .sidebar-cta .btn-secondary { background: var(--g7); color: #fff; border-color: var(--g7); }
body.ct aside .quick-facts .sidebar-cta a { color: inherit; }
body.ct aside .quick-facts .sidebar-cta .btn-primary { color: var(--g9); }

/* trailing "Why choose" block on service pages */
body.ct .ct-why .container { max-width: 900px; }
body.ct .ct-why ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.ct .ct-why li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--g8); }
body.ct .ct-why li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

/* ---------- about features, pricing page ---------- */
body.ct .section-title { text-align: center; margin-bottom: 10px; }
body.ct .section-subtitle { text-align: center; max-width: 680px; margin: 0 auto 44px; color: var(--muted); font-size: 1.08rem; }
body.ct .features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
body.ct .feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--sh-sm); text-align: left; }
body.ct .feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: var(--g8); color: var(--amber); margin-bottom: 16px; }
body.ct .feature-icon .ci { width: 26px; height: 26px; }
body.ct .feature-card h3 { margin-bottom: 8px; }
body.ct .feature-card p { font-size: .97rem; margin: 0; }
body.ct .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.ct .pricing-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--g7); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--sh-sm); text-align: left; }
body.ct .pricing-card.featured { border-top-color: var(--amber); box-shadow: var(--sh); transform: none; }
body.ct .pricing-card.featured::before { display: none; }
body.ct .pricing-badge { position: absolute; top: -14px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--amber); color: var(--g9); font-weight: 800; font-size: .78rem; letter-spacing: .04em; }
body.ct .pricing-amount { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--g8); margin: 6px 0 16px; }
body.ct .pricing-features { list-style: none; padding: 0; margin: 0; }
body.ct .pricing-features li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); color: var(--muted); }
body.ct .pricing-features li:last-child { border-bottom: 0; }
body.ct .pricing-features li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }

/* ---------- contact ---------- */
body.ct .contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
body.ct .contact-info { display: grid; gap: 14px; }
body.ct .contact-info-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-sm); }
body.ct .contact-info-item > .ci { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--g8); color: var(--amber); }
body.ct .contact-info-item h3 { font-size: 1.02rem; margin: 0 0 2px; }
body.ct .contact-info-item :is(p, span, a) { margin: 0; color: var(--muted); font-size: 1rem; }
body.ct .contact-info-item a { color: var(--g7); font-weight: 700; }
body.ct .contact-form-wrapper { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--sh); }
body.ct .contact-form { background: none; padding: 0; box-shadow: none; }
body.ct .form-group label { font-weight: 600; color: var(--g8); }
body.ct .form-group :is(input, select, textarea) { border: 1.5px solid #cdd8cb; border-radius: 10px; min-height: 48px; background: #fff; }
body.ct .form-group :is(input, select, textarea):focus { border-color: var(--g7); box-shadow: 0 0 0 3px rgba(26, 71, 42, .15); outline: none; }
body.ct .form-submit { width: 100%; min-height: 54px; }
body.ct .content-section .faq-item h3 { font-size: 1.06rem; }
body.ct .cta-text { font-weight: 600; color: var(--g8) !important; background: var(--amber-t); border-left: 4px solid var(--amber); padding: 16px 20px; border-radius: 10px; }

/* ---------- blog ---------- */
body.ct .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.ct .post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); text-decoration: none; transition: transform .2s, box-shadow .2s; }
body.ct .post-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
body.ct .post-card img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
body.ct .post-card-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
body.ct .post-card-date { color: var(--muted); font-size: .9rem; }
body.ct .post-card-title { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--g8); line-height: 1.3; flex: 1; }
body.ct .post-card-more { display: inline-flex; align-items: center; gap: 6px; color: var(--g7); font-weight: 700; min-height: 40px; }
body.ct.ct-blog .content-section .container, body.ct.ct-post .content-section .container, body.ct.ct-legal .section .container { max-width: 820px; }
body.ct .legal-content { max-width: 760px; margin: 0 auto; }
body.ct .legal-content :is(p, li) { font-size: 1.04rem; line-height: 1.85; color: var(--muted); }
body.ct .legal-content h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin: 40px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
body.ct .legal-content h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--amber); margin-bottom: 14px; }
body.ct .legal-content h3 { margin: 26px 0 8px; }
body.ct .legal-content > p:first-child { font-size: 1.18rem; color: var(--ink); }
body.ct .legal-content img, body.ct .post-img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 16px; margin: 28px 0; box-shadow: var(--sh); }
body.ct .legal-content ul, body.ct .legal-content ol { margin: 0 0 18px; padding-left: 1.3rem; }
body.ct .legal-content a { color: var(--g7); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- dark photo CTA band ---------- */
body.ct .cta-section {
  position: relative; text-align: center; color: #fff; padding: 96px 0;
  background: linear-gradient(180deg, rgba(8, 24, 14, .86), rgba(8, 24, 14, .80)), url(/images/site/cta-storm.jpg) center / cover no-repeat, var(--g8);
}
body.ct .cta-section .container { max-width: 860px; }
body.ct .cta-section h2 { color: #fff; margin-bottom: 14px; }
body.ct .cta-section p { color: rgba(255, 255, 255, .88); opacity: 1; font-size: 1.1rem; line-height: 1.75; margin-bottom: 30px; }
body.ct .cta-section .cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
body.ct .cta-section :is(.btn-secondary, .btn--ghost, .btn-outline) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
body.ct .cta-section :is(.btn-secondary, .btn--ghost, .btn-outline):hover { background: #fff; color: var(--g8); }
body.ct .ct-seo .container { max-width: 860px; }
body.ct .ct-seo p { line-height: 1.85; }

/* ---------- 404 and thank you ---------- */
body.ct :is(.page-404, .thank-you-page) { min-height: 0; padding: calc(var(--hdr) + 90px) 24px 96px; max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
body.ct .page-404 h1 { font-size: clamp(4rem, 10vw, 6.5rem); color: var(--amber-d); line-height: 1; margin: 0; }
body.ct :is(.page-404, .thank-you-page) p { font-size: 1.12rem; margin: 0 0 14px; }
body.ct .thank-you-page > .ci { width: 72px; height: 72px; color: var(--g7); }
body.ct :is(.page-404, .thank-you-page) > a { margin: 4px; }
body.ct main { background: var(--soft); }

/* ---------- footer and mobile bar ---------- */
body.ct .site-footer { background: var(--g9); color: rgba(255, 255, 255, .78); padding: 72px 0 0; }
body.ct .site-footer .site-logo { color: #fff; }
body.ct .site-footer .brand-mark { background: var(--g7); }
body.ct .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
body.ct .footer-brand p { color: rgba(255, 255, 255, .72); opacity: 1; margin-top: 16px; max-width: 34ch; }
body.ct .footer-heading { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 14px; }
body.ct .site-footer ul { list-style: none; padding: 0; margin: 0; }
body.ct .site-footer ul li { margin: 0; }
body.ct .site-footer ul a { display: inline-flex; align-items: center; min-height: 34px; color: rgba(255, 255, 255, .78); font-size: .97rem; }
body.ct .site-footer ul a:hover { color: var(--amber); }
body.ct .footer-bottom { margin-top: 48px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255, 255, 255, .7); font-size: .92rem; }
body.ct .mobile-cta-bar { background: #fff; box-shadow: 0 -6px 20px rgba(15, 45, 25, .14); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
body.ct .mobile-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.ct .mobile-cta-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 10px; font-weight: 800; font-size: 1rem; text-decoration: none; }
body.ct .mobile-cta-call { background: var(--amber); color: var(--g9); }
body.ct .mobile-cta-sms { background: var(--g8); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  body.ct .main-nav a { padding: 10px 9px; font-size: .95rem; }
  body.ct .header-phone { padding: 0 12px; }
}
@media (max-width: 1080px) {
  body.ct .menu-toggle { display: inline-flex; }
  body.ct .main-nav { display: none; position: absolute; top: var(--hdr); left: 0; right: 0; width: 100%; background: #fff; box-shadow: 0 18px 30px rgba(15, 45, 25, .14); border-top: 1px solid var(--line); padding: 8px 16px 16px; max-height: calc(100vh - var(--hdr)); overflow-y: auto; }
  body.ct .main-nav.open { display: block; }
  body.ct .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  body.ct .main-nav a { display: flex; min-height: 48px; padding: 12px 14px; font-size: 1.05rem; }
  body.ct .main-nav .sub { display: none; }
  body.ct .ci-caret { display: none; }
  body.ct .header-inner { gap: 12px; }
  body.ct .header-phone { margin-left: auto; }
  body.ct .ct-hero--home .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  body.ct .ct-hero--home h1 { max-width: 24ch; }
  body.ct .ct-hero--home .before-after-slider { max-width: 640px; margin: 0; }
  body.ct .hero-badges, body.ct .hero-buttons { justify-content: flex-start; }
  body.ct .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  body.ct .trust-item:nth-child(2) { border-right: 0; }
  body.ct .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  body.ct .services-grid, body.ct .ct-quotes, body.ct .ct-price-grid, body.ct .pricing-grid, body.ct .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ct .ct-quotes > :last-child:nth-child(odd), body.ct .ct-price-grid > :last-child:nth-child(odd), body.ct .post-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.ct .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ct .areas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ct .areas-section .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ct .areas-section .areas-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.ct :is(.content-grid, .content-with-sidebar) { grid-template-columns: 1fr; gap: 40px; }
  body.ct .content-sidebar, body.ct aside.sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  body.ct .content-sidebar > :only-child { grid-column: 1 / -1; }
  body.ct .ct-split { grid-template-columns: 1fr; gap: 36px; }
  body.ct .contact-grid { grid-template-columns: 1fr; }
  body.ct .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) and (min-width: 769px) {
  body.ct .ct-areas .areas-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body.ct { --hdr: 68px; font-size: 16px; }
  body.ct .container { padding-inline: 16px; }
  body.ct .header-inner { padding: 0 16px; }
  body.ct .header-phone { display: none; }
  body.ct .menu-toggle { margin-left: auto; }
  body.ct .site-logo { font-size: 1.08rem; }
  body.ct .brand-mark { width: 36px; height: 36px; font-size: .95rem; }
  body.ct section, body.ct article.content-section { padding: 60px 0; }
  body.ct .ct-hero--home { padding: calc(var(--hdr) + 40px) 0 120px; }
  body.ct .inner-hero.ct-hero { padding: calc(var(--hdr) + 32px) 0 44px; }
  body.ct .hero-badges { grid-template-columns: 1fr 1fr; }
  body.ct .hero-badge { font-size: .88rem; padding: 8px 10px; }
  body.ct .hero-buttons .btn { flex: 1 1 100%; }
  body.ct .trust-bar { margin-top: -84px; }
  body.ct .trust-item { padding: 16px 12px; grid-template-columns: 40px 1fr; column-gap: 10px; }
  body.ct .trust-item .ci { width: 40px; height: 40px; padding: 10px; }
  body.ct .trust-item strong { font-size: .98rem; }
  body.ct .trust-item span { font-size: .86rem; }
  body.ct .section-header { margin-bottom: 32px; }
  body.ct .services-grid, body.ct .ct-quotes, body.ct .ct-price-grid, body.ct .pricing-grid, body.ct .post-grid,
  body.ct .ct-costs, body.ct .ct-hazards, body.ct .ct-ba-grid, body.ct .features-grid, body.ct .ct-why ul { grid-template-columns: 1fr; }
  body.ct .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ct .areas-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.ct .areas-section .areas-grid { grid-template-columns: 1fr; }
  body.ct .ct-step { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
  body.ct .ct-step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  body.ct .ct-hazard { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
  body.ct .ct-hazard > .ci { width: 44px; height: 44px; padding: 11px; }
  body.ct .content-sidebar, body.ct aside.sidebar { grid-template-columns: 1fr; }
  body.ct .contact-form-wrapper { padding: 22px 18px; }
  body.ct .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  body.ct .site-footer ul a { min-height: 44px; }
  body.ct .footer-bottom { flex-direction: column; text-align: center; }
  body.ct .cta-section { padding: 64px 0; }
  body.ct .cta-section .btn { flex: 1 1 100%; }
  body.ct .mobile-cta-bar { display: block; }
  body.ct { padding-bottom: 74px; }
}
@media (max-width: 400px) {
  body.ct .hero-badges { grid-template-columns: 1fr; }
  body.ct .trust-bar-grid { grid-template-columns: 1fr; }
  body.ct .trust-item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  body.ct .trust-item:last-child { border-bottom: 0; }
  body.ct .site-logo .brand-name { font-size: 1rem; }
}
@media (hover: none) {
  body.ct :is(.crumbs a, .site-footer ul a, div.area-card a) { min-height: 44px; display: inline-flex; align-items: center; }
  body.ct .crumbs ol { gap: 0; }
}
body.ct .cta-section a.btn[href^="tel:"], body.ct .cta-section a[href^="tel:"]:is(.btn-secondary, .btn-primary) { background: var(--amber); color: var(--g9); border-color: var(--amber); }
body.ct .cta-section a[href^="tel:"]:hover { background: #ffb53d; color: var(--g9); }
body.ct .site-logo { min-height: 44px; }
body.ct .contact-info-item > div { min-width: 0; }
body.ct .contact-info-item :is(span, a, p) { overflow-wrap: anywhere; }
@media (hover: none) { body.ct .crumbs a { min-width: 44px; justify-content: center; } }
@media (hover: none) { body.ct :is(.contact-info-item, .legal-content, .content-section) a[href^="tel:"] { min-height: 44px; display: inline-flex; align-items: center; } }
