/* ==========================================================
   Jack of Junk — supporting pages (services, areas, legal, …)
   Builds on styles.css tokens and components.
   ========================================================== */
.crumbs { padding-top: 112px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #b8ae98; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--forest); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* page hero */
.page-hero { padding: 28px 0 clamp(40px, 6vw, 80px); overflow-x: clip; }
body.inner main > .page-hero:first-child { padding-top: 120px; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 48px; align-items: center; }
.page-h1 { font-size: clamp(44px, 7vw, 100px); font-weight: 800; letter-spacing: -0.05em; line-height: .92; color: var(--forest); margin: 4px 0 22px; }
.page-h1 em { display: block; font-size: .78em; font-weight: 500; letter-spacing: -0.03em; }
.page-lead { font-size: clamp(17px, 1.6vw, 20px); color: #4a463c; max-width: 640px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-actions .btn-glass { background: var(--paper); }

/* the big playing card */
.big-card {
  position: relative; justify-self: center; width: min(300px, 100%); aspect-ratio: 5 / 7; border-radius: 26px;
  background: var(--paper); border: 1px solid var(--line); color: var(--forest);
  box-shadow: 0 40px 70px -40px rgba(29,42,33,.55), 0 2px 0 rgba(255,255,255,.6) inset;
  transform: rotate(5deg); transition: transform .8s var(--ease); animation: cardIn 1s var(--ease) both .15s;
}
.big-card:hover { transform: rotate(0deg) translateY(-6px); }
.big-card.red { color: var(--terra); }
.bc-corner { position: absolute; top: 18px; left: 22px; font: 700 34px/0.95 var(--serif); text-align: center; }
.bc-flip { top: auto; left: auto; bottom: 18px; right: 22px; transform: rotate(180deg); }
.bc-art { position: absolute; inset: 22% 18%; display: grid; place-items: center; align-content: center; gap: 10px; border-radius: 18px; background: var(--bg); border: 1.5px dashed var(--line); }
.bc-icon { width: 58%; height: auto; fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bc-logo { width: 46%; height: auto; color: var(--forest); }
.bc-city { font: 700 18px/1.1 var(--display); color: var(--forest); text-align: center; padding: 0 8px; }
.bc-price { font: 800 clamp(40px, 5vw, 60px)/1 var(--display); letter-spacing: -0.04em; color: var(--forest); }
@keyframes cardIn { from { opacity: 0; transform: rotate(14deg) translateY(30px); } }

/* content */
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.prose-lg p { font-size: 18px; line-height: 1.65; color: #3e3b33; margin: 0 0 18px; }
.prose-lg .h3 { margin-bottom: 16px; }
.h4 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.small { font-size: 14px; }
.text-link { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
.text-link:hover { color: var(--terra); text-decoration-color: var(--terra); }
.list-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.list-card .muted { margin-top: 16px; }
.suit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.suit-list li { position: relative; padding-left: 28px; font-weight: 500; }
.suit-list li::before { content: attr(data-suit); position: absolute; left: 0; top: 0; font-family: var(--serif); color: var(--forest); }
.suit-list li[data-suit="♥"]::before, .suit-list li[data-suit="♦"]::before { color: var(--terra); }
.x-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.x-list li { position: relative; padding-left: 28px; font-weight: 500; }
.x-list li::before { content: "✕"; position: absolute; left: 2px; color: var(--terra); font-weight: 700; }
.no-take { border-color: #ecc9b9; background: #fbf1ea; }

.points, .steps-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.take-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.point { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; transition: transform .5s var(--ease), box-shadow .5s; }
.point:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(29,42,33,.4); }
.point-suit { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); font: 600 22px/1 var(--serif); color: var(--forest); margin-bottom: 22px; }
.point-suit.r { color: var(--terra); }
.point h3 { font-size: 22px; margin-bottom: 8px; }
.point p { color: var(--muted); font-size: 15px; }

.services-3 { grid-template-columns: repeat(3, 1fr); }
a.svc { color: inherit; }
.served-in { margin-top: 48px; }
.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { display: inline-block; padding: 10px 14px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background .3s var(--ease), color .3s, transform .3s var(--ease), border-color .3s; }
.chip-links a:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); transform: translateY(-2px); }
.chip-links.big a { padding: 14px 20px; font-size: 16px; }
.served-in .muted { margin-top: 14px; }

.city-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-card { position: relative; display: grid; gap: 4px; padding: 22px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, background .4s; }
.city-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(29,42,33,.4); background: #fff; }
.city-card strong { font: 700 22px/1.1 var(--display); letter-spacing: -0.02em; }
.cc-suit { font: 600 20px/1 var(--serif); color: var(--forest); margin-bottom: 10px; }
.cc-suit.r { color: var(--terra); }
.city-card .svc-arrow { top: 20px; right: 20px; }
.city-card:hover .svc-arrow { transform: rotate(45deg); }
.center-note { text-align: center; margin-top: 28px; }

.faq-sec { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

/* contact card */
.contact-card { display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: 0 30px 60px -40px rgba(29,42,33,.5); }
.contact-card > * { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--bg); transition: background .3s, transform .3s var(--ease); }
.contact-card a:hover { background: #f7e9c5; transform: translateX(4px); }
.contact-card strong { font: 700 20px/1.2 var(--display); color: var(--forest); word-break: break-word; }

/* legal */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 100px; display: grid; gap: 4px; padding: 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.legal-toc strong { font: 700 14px var(--display); margin-bottom: 8px; }
.legal-toc a { color: var(--muted); padding: 4px 0; transition: color .3s; }
.legal-toc a:hover { color: var(--forest); }
.prose { max-width: 720px; font-size: 17px; line-height: 1.7; color: #3e3b33; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; scroll-margin-top: 100px; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--terra); }

@media (max-width: 1080px) {
  .take-grid { grid-template-columns: repeat(2, 1fr); }
  .city-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .page-hero-grid, .two-col, .legal { grid-template-columns: 1fr; }
  .big-card { width: 200px; transform: rotate(4deg); }
  .points, .steps-flow, .services-3 { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .city-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .crumbs { padding-top: 92px; }
  body.inner main > .page-hero:first-child { padding-top: 100px; }
  .take-grid, .city-cards { grid-template-columns: 1fr; }
  .bc-corner { font-size: 26px; }
  .big-card { width: 160px; border-radius: 18px; }
  .bc-corner { top: 12px; left: 14px; }
  .bc-flip { bottom: 12px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .big-card { animation: none; }
}

/* load estimator band on supporting pages */
.est-band { border-top: 1px solid var(--line); }
.est-band .sec-head { margin-bottom: 36px; }

/* compact estimator inside a page's left column */
.inline-est { margin-top: 28px; }
.inline-est-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.inline-est-head .tag { margin: 0; }
.inline-est-head p { margin: 0; }
.estimator.compact { grid-template-columns: 1fr; gap: 12px; }
.estimator.compact .est-left { padding: 22px; }
.estimator.compact .est-head .h3 { font-size: 22px; }
.estimator.compact .est-items { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.estimator.compact .est-right { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px 20px; align-items: center; padding: 22px; }
.estimator.compact .est-top { grid-column: 1 / -1; }
.estimator.compact .truck { grid-column: 1; grid-row: 2 / span 2; }
.estimator.compact .est-out { grid-column: 2; grid-row: 2; grid-template-columns: 1fr; gap: 8px; }
.estimator.compact .est-out > div { padding: 12px 14px; }
.estimator.compact .est-out strong { font-size: 22px; }
.estimator.compact .est-note { grid-column: 2; grid-row: 3; margin: 0; align-self: start; }
.estimator.compact #est-cta { grid-column: 1 / -1; }
.two-col > .list-card { position: sticky; top: 96px; }
@media (max-width: 860px) {
  .two-col > .list-card { position: static; }
}
@media (max-width: 560px) {
  .estimator.compact .est-right { grid-template-columns: 1fr; }
  .estimator.compact .truck, .estimator.compact .est-out, .estimator.compact .est-note { grid-column: 1; grid-row: auto; }
  .estimator.compact .est-out { grid-template-columns: 1fr 1fr; }
}

/* service-page 3D vignette in a playing-card frame */
.page-hero-grid.has-scene { grid-template-columns: 1.1fr 1fr; }
.scene-card {
  position: relative; justify-self: stretch; width: 100%; max-width: 560px; aspect-ratio: 1 / 1; border-radius: 30px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #fffdf8 0%, var(--paper) 55%, #efe6d4 100%);
  border: 1px solid var(--line); color: var(--forest);
  box-shadow: 0 40px 70px -40px rgba(29,42,33,.55);
  animation: cardIn 1s var(--ease) both .15s;
}
.scene-card.red { color: var(--terra); }
.scene-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.scene-card.live canvas { opacity: 1; }
.scene-fallback { position: absolute; inset: 24%; display: grid; place-items: center; border-radius: 22px; background: var(--bg); border: 1.5px dashed var(--line); transition: opacity .6s; }
.scene-card.live .scene-fallback { opacity: 0; }
.scene-card .bc-corner { z-index: 2; font-size: 28px; top: 18px; left: 22px; }
.scene-card .bc-flip { top: auto; left: auto; bottom: 18px; right: 22px; }
@media (max-width: 860px) {
  .page-hero-grid.has-scene { grid-template-columns: 1fr; }
  .scene-card { max-width: 520px; justify-self: center; }
}
@media (max-width: 640px) {
  .scene-card { border-radius: 22px; }
  .scene-card .bc-corner { font-size: 22px; top: 12px; left: 14px; }
  .scene-card .bc-flip { bottom: 12px; right: 14px; top: auto; left: auto; }
}
