/* contrabandbayoutree.com modern layer (2026-10-01). Loads LAST, scoped under body.dm.
   Keeps the site palette (forest green + amber, Space Grotesk / DM Sans) and lifts the presentation:
   framed photo beside every inner-page headline (was a full-width 800px image inside the hero),
   visible ghost buttons on dark bands, check-badge lists, photo blog cards, 3-up pricing, SVG slider handle. */
:root { --dm-green: #1a472a; --dm-green-2: #0f2d1a; --dm-amber: #f5a623; --dm-ink: #14281b; --dm-muted: #4d5b52; --dm-line: #e3e8e4; --dm-soft: #f5f7f4;
  --dm-radius: 18px; --dm-shadow: 0 10px 30px rgba(15,45,26,.08); --dm-shadow-lg: 0 20px 50px rgba(15,45,26,.16); }
body.dm .dm-i { width: 1.05em; height: 1.05em; vertical-align: -.16em; display: inline-block; flex-shrink: 0; }

/* ghost buttons were dark green text on the dark green hero and CTA band (invisible) */
body.dm :is(.hero, .cta-section, .page-hero, .cta-banner) .btn--ghost { color: #fff !important; border: 1.5px solid rgba(255,255,255,.5) !important; background: rgba(255,255,255,.08) !important; }
body.dm :is(.hero, .cta-section, .page-hero, .cta-banner) .btn--ghost:hover { background: rgba(255,255,255,.18) !important; }
body.dm .btn { border-radius: 12px; }

/* home hero: subtle photo texture behind the copy */
body.dm .hero { background: linear-gradient(100deg, rgba(10,32,18,.96) 0%, rgba(10,32,18,.88) 50%, rgba(10,32,18,.7) 100%), url("/images/r3-svc-emergency-tree-service.webp") center / cover no-repeat; }
body.dm .ba-slider { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
body.dm .ba-handle::after { content: "" !important; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231a472a'%3E%3Cpath fill-rule='evenodd' d='M7.3 5.3a1 1 0 0 1 0 1.4L4.4 9.6h11.2l-2.9-2.9a1 1 0 1 1 1.4-1.4l4.6 4.6a1 1 0 0 1 0 1.4l-4.6 4.6a1 1 0 0 1-1.4-1.4l2.9-2.9H4.4l2.9 2.9a1 1 0 0 1-1.4 1.4L1.3 11.3a1 1 0 0 1 0-1.4l4.6-4.6a1 1 0 0 1 1.4 0Z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 20px no-repeat; }

/* inner page hero: headline left, framed photo right */
body.dm .page-hero { padding: clamp(56px, 7vw, 96px) 0; text-align: left; background: radial-gradient(900px 400px at 90% 10%, rgba(245,166,35,.12), transparent 60%), linear-gradient(135deg, #0f2d1a 0%, #1a472a 100%); }
body.dm .page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); letter-spacing: -.02em; line-height: 1.08; }
body.dm .page-hero p { margin: 0 0 24px; max-width: 620px; color: rgba(255,255,255,.88); opacity: 1; }
body.dm .page-hero.dm-has-photo .container { display: grid; grid-template-columns: 1.05fr .95fr; column-gap: 56px; align-items: center; }
body.dm .page-hero.dm-has-photo .container > :not(.dm-hero-photo) { grid-column: 1; }
body.dm .page-hero.dm-has-photo .container > :is(h1, p, .btn, a) { justify-self: start; }
body.dm .dm-hero-photo { grid-column: 2; grid-row: 1 / span 4; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); margin: 0; border: 1px solid rgba(255,255,255,.12); }
body.dm .breadcrumbs { background: #fff; border-bottom: 1px solid var(--dm-line); }

/* content: rhythm, check-badge lists, section rule */
body.dm .page-content { padding: clamp(56px, 6vw, 88px) 0; }
body.dm .page-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -.015em; margin-top: 48px; }
body.dm .page-content .content-narrow > h2:first-child { margin-top: 0; }
body.dm .page-content h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--dm-amber); margin-top: 14px; }
body.dm .page-content ul { list-style: none; padding-left: 0; }
body.dm .page-content ul li { position: relative; padding-left: 32px; margin-bottom: 12px; color: #3b4a40; }
body.dm .page-content ul li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--dm-green) 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 .page-content ul li strong { color: var(--dm-ink); }
body.dm .page-content ul li a strong { color: var(--dm-green); }
body.dm .content-section[style*="#f7f8fa"] { background: var(--dm-soft) !important; }

/* CTA band */
body.dm .cta-section { background: linear-gradient(rgba(10,32,18,.86), rgba(10,32,18,.9)), url("/images/before-after/ba1-after.jpg") center / cover !important; padding: clamp(72px, 9vw, 112px) 0; }
body.dm .cta-section h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
body.dm .cta-section p { color: rgba(255,255,255,.86); }

/* home pricing: 3-up instead of 2 + 1 */
body.dm div[style*="max-width:820px;margin:0 auto;display:grid"] { max-width: 1120px !important; grid-template-columns: repeat(3, 1fr) !important; }
body.dm div[style*="max-width:820px;margin:0 auto;display:grid"] > div { background: #fff !important; border: 1px solid var(--dm-line); border-radius: var(--dm-radius) !important; box-shadow: var(--dm-shadow); padding: 28px !important; }

/* cards */
body.dm .service-card, body.dm .testimonial-card, body.dm .blog-card { border-radius: var(--dm-radius); box-shadow: var(--dm-shadow); border: 1px solid var(--dm-line); }
body.dm .service-card:hover, body.dm .blog-card:hover { box-shadow: var(--dm-shadow-lg); }
body.dm .blog-card { overflow: hidden; }
body.dm .blog-card-img.dm-photo { padding: 0; height: auto; aspect-ratio: 16 / 10; overflow: hidden; background: none; }
body.dm .blog-card-img.dm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
body.dm .blog-card:hover .blog-card-img.dm-photo img { transform: scale(1.05); }

@media (max-width: 900px) {
  body.dm .page-hero.dm-has-photo .container { grid-template-columns: 1fr; }
  body.dm .dm-hero-photo { grid-column: 1; grid-row: auto; margin: 8px 0 24px; aspect-ratio: 16 / 10; }
  body.dm div[style*="max-width:820px;margin:0 auto;display:grid"] { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) { body.dm * { transition: none !important; } }
body.dm .btn--ghost-white { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; border: 1.5px solid rgba(255,255,255,.55) !important; background: rgba(255,255,255,.08) !important; }
body.dm .btn--ghost-white:hover { background: rgba(255,255,255,.18) !important; }
@media (max-width: 900px) {
  body.dm .container, body.dm .content-narrow { padding-left: 20px; padding-right: 20px; }
  body.dm .hero .container.hero-content { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) { body.dm .page-hero { padding: 40px 0 28px; } body.dm .dm-hero-photo { margin-bottom: 8px; } }

/* Round 2 phone and tablet (2026-10-01). Touch sizing and phone text only, all inside media queries so desktop is unchanged. */
@media (hover: none) {
  body.dm .site-header .logo { min-height: 44px; }
  body.dm .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  body.dm .nav-links a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  body.dm .header-phone { min-height: 44px; }
  body.dm .breadcrumbs { padding-top: 4px; padding-bottom: 4px; }
  body.dm .breadcrumbs a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
  body.dm .detail-text a[href^="tel:"], body.dm .content-narrow li > a[href^="tel:"] { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 768px) {
  /* the call and quote buttons were hidden until the visitor scrolled, so short pages had no call action on screen */
  body.dm .floating-cta { transform: none; opacity: 1; pointer-events: auto; }
}
@media (max-width: 640px) {
  body.dm .footer-bottom p, body.dm .pricing-note p { font-size: 15px; }
}

/* Design check 2026-10-07. About page: these classes were used but never styled (text over a stray photo, a one-column list of tiny icons). */
body.dm .about-content { padding: clamp(56px, 6vw, 88px) 0; }
body.dm .about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
body.dm .about-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--dm-radius); box-shadow: var(--dm-shadow-lg); }
body.dm .why-choose { padding: clamp(56px, 6vw, 88px) 0; background: var(--dm-soft); }
body.dm .features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
body.dm .feature-card { background: #fff; border: 1px solid var(--dm-line); border-radius: var(--dm-radius); box-shadow: var(--dm-shadow); padding: 28px; }
body.dm .feature-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--dm-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
body.dm .feature-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
body.dm .feature-card p { margin: 0; color: var(--dm-muted); line-height: 1.65; }
/* Pricing cards: icon and "Most Requested" badge were unstyled */
body.dm .pricing-card { position: relative; }
body.dm .pricing-icon { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--dm-soft); color: var(--dm-green); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
body.dm .pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--dm-amber); color: #14281b; font-weight: 800; font-size: .78rem; letter-spacing: .04em; white-space: nowrap; }
body.dm .pricing-note { margin-top: 20px; }
/* Phone link inside a dark hero paragraph was dark green on dark green */
body.dm .page-hero p a { color: var(--dm-amber); font-weight: 700; }
/* Blog post hero meta (date, read time) was near-invisible; article body had no top spacing */
body.dm .page-hero .article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.82); font-size: .95rem; }
body.dm .page-hero .article-meta i { color: var(--dm-amber); margin-right: 4px; }
body.dm .article-content { padding: clamp(40px, 5vw, 72px) 0; }
body.dm .article-content .dm-hero-photo { display: block; max-width: 760px; margin: 28px 0; }
/* FAQ page: the static question cards after the CTA had text flush against their border */
body.dm .faq-item > h3, body.dm .faq-item > p { padding-left: 22px !important; padding-right: 22px !important; }
body.dm .content-section .faq-item { margin-bottom: 14px; }
@media (max-width: 900px) {
  body.dm .about-grid { grid-template-columns: 1fr; gap: 32px; }
  body.dm .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { body.dm .features-grid { grid-template-columns: 1fr; } }
