/* Round the Clock Junk layer, loaded after tokens.css. Same layout as the Handyman site, junk teal.
   Everything is scoped to [data-brand="junk"] so other brands keep the base look. */

[data-brand="junk"] {
  --hx-band: #085544;
  --hx-band-2: #0d7a5f;
  --hx-sun: #f2b134;
  --hx-sun-ink: #2a1d00;
  --hx-card: #ffffff;
  --hx-radius: 10px;
  --hx-shadow: 0 1px 2px rgba(16, 32, 54, 0.06), 0 6px 18px rgba(16, 32, 54, 0.07);
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1160px;
}

[data-brand="junk"] body { font-size: 1.06rem; line-height: 1.6; }
[data-brand="junk"] .section { padding: 3.75rem 0; }
[data-brand="junk"] .section.soft { background: #f4f7fb; }
[data-brand="junk"] .section-head { max-width: 46rem; margin-bottom: 1.75rem; }
[data-brand="junk"] h2 { letter-spacing: -0.02em; }

/* Buttons */
[data-brand="junk"] .btn { border-radius: 8px; }
[data-brand="junk"] .btn-fill { background: var(--hx-sun); color: var(--hx-sun-ink); border-color: var(--hx-sun); }
[data-brand="junk"] .btn-fill:hover { background: #e3a21f; color: var(--hx-sun-ink); }
[data-brand="junk"] .btn-ghost {
  background: #fff; color: var(--accent-deep); border: 2px solid currentColor; border-radius: 8px;
}
[data-brand="junk"] .site-header .btn-fill { padding: 0.55rem 1rem; }

/* Hero with color band */
[data-brand="junk"] .hero,
[data-brand="junk"] .page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255,255,255,0.10) 0%, transparent 60%),
    linear-gradient(135deg, var(--hx-band) 0%, var(--hx-band-2) 100%);
  color: #fff;
  border-bottom: 0;
  padding: 3.25rem 0 3.5rem;
}
[data-brand="junk"] .hero::before,
[data-brand="junk"] .page-hero::before { opacity: 0.08; mask-image: none; background-size: 32px 32px; }
[data-brand="junk"] .hero h1,
[data-brand="junk"] .page-hero h1 { color: #fff; max-width: 40rem; }
[data-brand="junk"] .hero h1::after,
[data-brand="junk"] .page-hero h1::after { background: var(--hx-sun); width: 3.5rem; height: 4px; }
[data-brand="junk"] .hero p,
[data-brand="junk"] .page-hero p { color: rgba(255,255,255,0.92); }
[data-brand="junk"] .hero .btn-ghost,
[data-brand="junk"] .page-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
[data-brand="junk"] .hero .btn-ghost:hover,
[data-brand="junk"] .page-hero .btn-ghost:hover { background: rgba(255,255,255,0.12); }
[data-brand="junk"] .page-hero a:not(.btn),
[data-brand="junk"] .hero a:not(.btn) { color: #fff; }

.hx-hero-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .hx-hero-grid { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 3rem; }
}
.hx-lead { font-size: clamp(1.05rem, 2.4vw, 1.2rem); max-width: 40rem; }
.hx-hero-cta { margin-top: 1.4rem; }
.hx-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hx-sun) !important; margin-bottom: 0.75rem;
}
.hx-hero-ico {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px;
  background: rgba(255,255,255,0.14); color: var(--hx-sun); margin-bottom: 0.9rem;
}
.hx-hero-ico .icon { width: 1.6rem; height: 1.6rem; }
.hx-crumbs { font-size: 0.85rem; margin-bottom: 1rem; color: rgba(255,255,255,0.8); }
.hx-crumbs a { color: rgba(255,255,255,0.9) !important; }
.hx-chips { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hx-chips li {
  font-size: 0.85rem; font-weight: 650; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25); color: #fff;
}
.hx-quote-card {
  background: #fff; color: var(--ink); border-radius: var(--hx-radius); padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(5, 20, 40, 0.25); border-top: 5px solid var(--hx-sun);
}
.hx-quote-card h2 { font-size: 1.3rem; color: var(--ink); }
.hx-quote-card ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.hx-quote-card li { margin-bottom: 0.55rem; color: var(--ink-soft); }
.hx-quote-card a:not(.btn) { color: var(--accent) !important; font-weight: 650; }
.hx-quote-card .hx-small { color: var(--muted) !important; margin: 0; }
.hx-quote-card .btn { width: 100%; justify-content: center; }
.hero .hx-quote-card p, .page-hero .hx-quote-card p { color: var(--muted); }

/* Trust strip */
[data-brand="junk"] .trust {
  background: #fff; border-radius: var(--hx-radius); box-shadow: var(--hx-shadow);
  margin-top: -1.75rem; position: relative; z-index: 2; padding: 0.4rem 0.6rem; border: 1px solid var(--line);
}

/* Layout helpers */
.hx-split { display: grid; gap: 2rem; }
@media (min-width: 880px) { .hx-split { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; } }
.hx-prose p { max-width: 44rem; }
.hx-h { font-size: 1.4rem; margin-bottom: 0.9rem; }
.hx-narrow { max-width: 820px; }
.hx-small { font-size: 0.9rem; color: var(--muted); }

/* Cards */
[data-brand="junk"] .card-grid { border-top: 0; gap: 1rem; }
@media (min-width: 640px) {
  [data-brand="junk"] .card-grid.cols-3,
  [data-brand="junk"] .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  [data-brand="junk"] .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  [data-brand="junk"] .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
[data-brand="junk"] .card,
[data-brand="junk"] .section.soft .card {
  background: var(--hx-card); border: 1px solid var(--line); border-radius: var(--hx-radius);
  padding: 1.25rem 1.25rem 1.1rem; box-shadow: var(--hx-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
@media (hover: hover) {
  [data-brand="junk"] a.card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 10px 24px rgba(16,32,54,0.12); }
}
[data-brand="junk"] .card-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--accent-wash); color: var(--accent);
  margin-bottom: 0.8rem;
}
[data-brand="junk"] .card-icon svg { width: 1.35rem; height: 1.35rem; }
.hx-from {
  display: inline-block; margin-top: 0.75rem; font-size: 0.85rem; font-weight: 750; color: var(--accent-deep);
  background: #fff6e0; border: 1px solid #f6dca0; border-radius: 999px; padding: 0.2rem 0.65rem; align-self: flex-start;
}
.hx-from-inline { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

/* Sub-job tiles */
.hx-tiles { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hx-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .hx-tiles { grid-template-columns: repeat(4, 1fr); } }
.hx-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--hx-radius); padding: 1.1rem 1.1rem 0.9rem;
  border-left: 4px solid var(--accent);
}
.hx-tile h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.hx-tile p { font-size: 0.93rem; margin: 0; }

/* Price table */
.hx-table-wrap { overflow-x: auto; border-radius: var(--hx-radius); border: 1px solid var(--line-strong); background: #fff; box-shadow: var(--hx-shadow); }
.hx-price { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 520px; }
.hx-price caption { text-align: left; padding: 0.8rem 1rem; font-weight: 700; }
.hx-price th, .hx-price td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.hx-price thead th { background: var(--accent); color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.hx-price tbody th { font-weight: 600; color: var(--ink); }
.hx-price td { color: var(--ink-soft); white-space: nowrap; }
.hx-price td:nth-child(3), .hx-price td:nth-child(4) { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.hx-price tbody tr:nth-child(even) { background: #f8fafc; }
.hx-price tbody tr:last-child th, .hx-price tbody tr:last-child td { border-bottom: 0; }
.hx-table-wrap + .hx-small { margin-top: 0.8rem; }

/* Step strip */
.hx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 720px) { .hx-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hx-steps { grid-template-columns: repeat(4, 1fr); } }
.hx-step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--hx-radius);
  padding: 1.25rem 1.2rem 1.1rem; box-shadow: var(--hx-shadow);
}
.hx-step-n {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--hx-sun); color: var(--hx-sun-ink); font-weight: 800; margin-bottom: 0.7rem;
}
.hx-step h3 { margin-bottom: 0.3rem; }
.hx-step p { margin: 0; font-size: 0.94rem; }

/* Lists */
.hx-list, .hx-checks, .hx-xlist { list-style: none; padding: 0; margin: 0; }
.hx-list li, .hx-checks li, .hx-xlist li {
  position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--line); color: var(--ink-soft);
}
.hx-list li::before, .hx-checks li::before, .hx-xlist li::before {
  position: absolute; left: 0; top: 0.6rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
}
.hx-list li::before { content: "\203A"; background: #fff6e0; color: #8a5a00; font-size: 1rem; }
.hx-checks li::before { content: "\2713"; background: var(--accent-wash); color: var(--accent); }
.hx-xlist li::before { content: "\00D7"; background: #fdecec; color: #a32020; font-size: 0.95rem; }
.hx-list strong { color: var(--ink); }

.hx-callout {
  margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--hx-radius);
  background: #fff8e6; border: 1px solid #f3d58b; color: #4a3a10; font-size: 0.95rem;
}
.hx-callout strong { color: #2a1d00; }

/* Notes */
.hx-notes { display: grid; gap: 0.9rem; }
.hx-notes-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .hx-notes-grid { grid-template-columns: 1fr 1fr; } }
.hx-note { background: #fff; border: 1px solid var(--line); border-radius: var(--hx-radius); padding: 1rem 1.1rem; }
.hx-note h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--accent-deep); }
.hx-note p { margin: 0; font-size: 0.94rem; }

/* FAQ */
.hx-faqs { display: grid; gap: 0.6rem; margin-top: 1rem; }
.hx-faq { background: #fff; border: 1px solid var(--line); border-radius: var(--hx-radius); padding: 0; }
.hx-faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2.6rem 1rem 1.1rem; font-weight: 700; color: var(--ink); position: relative;
}
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--accent); font-weight: 600;
}
.hx-faq[open] summary::after { content: "\2212"; }
.hx-faq p { padding: 0 1.1rem 1rem; margin: 0; }

/* Area chips */
.hx-area-chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hx-area-chips a {
  display: inline-block; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--accent-wash);
  color: var(--accent-deep); text-decoration: none; font-weight: 650; font-size: 0.92rem; border: 1px solid transparent;
}
.hx-area-chips a:hover { border-color: var(--accent); background: #fff; }
.hx-area-chips-lg a { padding: 0.6rem 1.1rem; font-size: 1rem; background: #fff; border-color: var(--line-strong); }
.hx-map {
  background: #fff; border-radius: var(--hx-radius); padding: 1.5rem; border: 1px solid var(--line); box-shadow: var(--hx-shadow);
  background-image: radial-gradient(circle at 30% 40%, var(--accent-wash) 0, transparent 45%);
}

/* Home categories and why */
.hx-cats { display: grid; gap: 1rem; }
@media (min-width: 680px) { .hx-cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hx-cats { grid-template-columns: repeat(3, 1fr); } }
.hx-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--hx-radius); padding: 1.3rem; box-shadow: var(--hx-shadow); }
.hx-cat ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.hx-cat li { padding: 0.45rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.hx-cat li a { font-weight: 650; text-decoration: none; color: var(--ink); }
.hx-cat li a:hover { color: var(--accent); text-decoration: underline; }
.hx-whys { display: grid; gap: 1rem; }
@media (min-width: 680px) { .hx-whys { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .hx-whys { grid-template-columns: repeat(4, 1fr); } }
.hx-why { background: #fff; border-radius: var(--hx-radius); padding: 1.3rem; border: 1px solid var(--line); }
.hx-why p { margin: 0; font-size: 0.95rem; }

.hx-cat-block { margin-bottom: 2.5rem; }
.hx-cat-block h2 { margin-bottom: 1rem; }
.hx-jump { font-size: 0.95rem; margin-bottom: 2rem; }

/* Photos (only rendered when a service lists real job photos) */
.hx-photos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hx-photo { margin: 0; border-radius: var(--hx-radius); overflow: hidden; box-shadow: var(--hx-shadow); }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* CTA band */
[data-brand="junk"] .hx-cta { background: linear-gradient(135deg, var(--hx-band) 0%, var(--hx-band-2) 100%); padding: 3rem 0; text-align: left; }
.hx-cta-inner { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 860px) { .hx-cta-inner { grid-template-columns: 1.4fr auto; } }
[data-brand="junk"] .hx-cta p { margin: 0; max-width: 36rem; }
[data-brand="junk"] .hx-cta .cta-row { justify-content: flex-start; }
[data-brand="junk"] .cta-band .btn-fill { background: var(--hx-sun); color: var(--hx-sun-ink); }
[data-brand="junk"] .cta-band .btn-ghost { border: 2px solid #fff; border-radius: 8px; }

/* Sticky mobile call bar */
[data-brand="junk"] .sticky-call { background: #fff; box-shadow: 0 -6px 20px rgba(16,32,54,0.12); }
[data-brand="junk"] .sticky-call .call { background: var(--hx-sun); color: var(--hx-sun-ink); border-radius: 8px; }
[data-brand="junk"] .sticky-call .text { border: 2px solid var(--accent); color: var(--accent); border-radius: 8px; }
@media (max-width: 779px) { [data-brand="junk"] .site-foot { padding-bottom: 6rem; } }
@media (max-width: 879px) { [data-brand="junk"] .site-header .header-actions .btn-fill { display: none; } }

/* Fixes: keep grids from growing past the viewport, wrap long emails, left-align narrow blocks */
.hx-hero-grid, .hx-split, .hx-tiles, .hx-steps, .hx-cats, .hx-whys, .hx-notes,
[data-brand="junk"] .hero-grid, [data-brand="junk"] .card-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  [data-brand="junk"] .card-grid.cols-3, [data-brand="junk"] .card-grid.cols-4,
  .hx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 680px) { .hx-cats, .hx-whys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .hx-steps, .hx-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { [data-brand="junk"] .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); align-items: center; } }
@media (min-width: 880px) { .hx-split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (min-width: 900px) { .hx-hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
@media (min-width: 980px) {
  [data-brand="junk"] .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-brand="junk"] .card-grid.cols-4, .hx-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .hx-steps, .hx-whys { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hx-quote-card { align-self: center; }
.hx-quote-card a, .contact-panel a { overflow-wrap: anywhere; }
[data-brand="junk"] main { overflow-x: clip; }
.hx-narrow > * { max-width: 820px; }
[data-brand="junk"] .wrap.hx-narrow { max-width: var(--max); }
[data-brand="junk"] .btn-lg { padding: 0.85rem 1.35rem; }
[data-brand="junk"] .btn-ghost.btn-lg { border-width: 2px; }
[data-brand="junk"] .cta-band .btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
[data-brand="junk"] .cta-band .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.wrap > .hx-callout:last-child { margin-bottom: 2.5rem; }

/* Bring / provide boxes and the free-quote band (used when prices are hidden) */
@media (min-width: 880px) { .hx-split.hx-split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
.hx-box { background: #fff; border: 1px solid var(--line); border-radius: var(--hx-radius); padding: 1.3rem 1.4rem; box-shadow: var(--hx-shadow); }
.hx-box h3 { font-size: 1.15rem; color: var(--accent-deep); margin-bottom: 0.5rem; }
.hx-box .hx-checks li:last-child { border-bottom: 0; }
.hx-quote-band {
  display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: center;
  background: #fff; border-radius: var(--hx-radius); border: 1px solid var(--line); border-left: 6px solid var(--hx-sun);
  padding: 1.6rem 1.6rem 1.3rem; box-shadow: var(--hx-shadow);
}
@media (min-width: 880px) { .hx-quote-band { grid-template-columns: minmax(0, 1.6fr) auto; gap: 2.5rem; } }
.hx-quote-band h2 { margin-bottom: 0.5rem; }
.hx-quote-band .hx-checks li:last-child { border-bottom: 0; }
.hx-quote-band a:not(.btn) { overflow-wrap: anywhere; font-weight: 650; }
.hx-quote-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 14rem; }
.hx-quote-actions .btn { justify-content: center; text-align: center; }

/* Small additions so junk pages match without touching shared tokens.css */
[data-brand="junk"] .prose-seo ul { margin: 0.5rem 0 1rem; padding-left: 1.2rem; }
[data-brand="junk"] .prose-seo li { margin: 0.35rem 0; color: var(--ink-soft); }
@media (min-width: 880px) { [data-brand="junk"] .nav-links .sub-nav { max-height: 70vh; overflow-y: auto; } }
.hx-nottaken { display: grid; gap: 0.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .hx-nottaken { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ZIP code chips on light sections (city pages) */
.hx-chips.hx-zips { margin-top: 0.75rem; }
.hx-chips.hx-zips li { background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,0.14); font-variant-numeric: tabular-nums; }
