/* Iron Knuckle - visual polish layer. Structure is unchanged; this only adds depth, color and motion. */
:root {
  --pl-green: #22c55e;
  --pl-green-bright: #4ade80;
  --pl-green-deep: #15803d;
  --pl-ink: #0b0f15;
  --pl-glow: 0 8px 22px rgba(34, 197, 94, 0.35);
  --pl-card: 0 2px 4px rgba(11, 15, 21, 0.05), 0 12px 30px rgba(11, 15, 21, 0.09);
  --pl-card-hover: 0 4px 8px rgba(11, 15, 21, 0.06), 0 22px 44px rgba(21, 128, 61, 0.22);
}

::selection { background: var(--pl-green); color: #052e16; }
:focus-visible { outline: 3px solid var(--pl-green-bright); outline-offset: 2px; }

/* ---------- Navigation ---------- */
.nav { border-bottom: 1px solid #e5e7eb; box-shadow: 0 4px 18px rgba(11, 15, 21, 0.07); border-top: 4px solid var(--pl-green); }
.nav-links a { transition: color .2s, background-color .2s, transform .2s; }
.nav-links a:hover { transform: translateY(-1px); }
.nav-links a.active { text-decoration: none; position: relative; color: var(--pl-green-deep); background: rgba(34, 197, 94, 0.12); }
.nav-book-btn, .nav-drawer .drawer-book-btn {
  background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)) !important;
  color: #052e16 !important; box-shadow: var(--pl-glow); transition: transform .2s, box-shadow .2s;
}
.nav-book-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(34, 197, 94, 0.45); }

/* ---------- Buttons ---------- */
.btn { transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn-primary {
  background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)) !important;
  color: #052e16 !important; box-shadow: var(--pl-glow);
}
.btn-primary:hover { opacity: 1 !important; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(34, 197, 94, 0.45); }
.btn-outline { backdrop-filter: blur(4px); }
.btn-outline:hover { background: #fff; color: var(--pl-ink); }
.card-btn {
  background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)) !important;
  color: #052e16 !important; border-radius: 999px; box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.card-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(34, 197, 94, 0.45); background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)) !important; }

/* ---------- Hero ---------- */
.hero { isolation: isolate; }
.hero-img { transform: scale(1.04); animation: pl-zoom 14s ease-out forwards; }
@keyframes pl-zoom { to { transform: scale(1); } }
.hero-overlay {
  background:
    radial-gradient(ellipse at 15% 100%, rgba(34, 197, 94, 0.16), transparent 50%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.2) 100%);
}
.hero::after, .contact-responsive-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 3;
  background: linear-gradient(90deg, var(--pl-green), var(--pl-green-bright) 50%, var(--pl-green));
}
.hero-badge { background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)) !important; color: #052e16 !important; box-shadow: var(--pl-glow); }
.hero-word, .hero h1 { text-shadow: 0 3px 14px rgba(0, 0, 0, 0.6); }
.hero-divider { box-shadow: 0 0 14px rgba(34, 197, 94, 0.9); }
.hero-content > * { animation: pl-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }
.hero-content > *:nth-child(5) { animation-delay: .32s; }
@keyframes pl-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Trust bar ---------- */
.trust-bar { background: linear-gradient(180deg, #0b0f15, #000); border-bottom: 3px solid var(--pl-green); }
.trust-icon { background: rgba(34, 197, 94, 0.14); border-color: rgba(74, 222, 128, 0.55); box-shadow: 0 0 16px rgba(34, 197, 94, 0.25); color: var(--pl-green-bright); }
.trust-item { transition: transform .2s; }
.trust-item:hover { transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section-light { background: linear-gradient(180deg, #eef3fa 0%, #f7f9fc 100%); }
.section-header h2 { position: relative; }
.section-divider { width: 72px; height: 5px; background: linear-gradient(90deg, var(--pl-green), var(--pl-green-bright)); box-shadow: 0 3px 10px rgba(34, 197, 94, 0.4); }
.home-intro h2 { background: linear-gradient(90deg, #000, #14532d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Service cards ---------- */
.size-card { border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: var(--pl-card); position: relative; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.size-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--pl-green), var(--pl-green-bright)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.size-card:hover { background: #fff; transform: translateY(-8px); box-shadow: var(--pl-card-hover); border-color: rgba(34, 197, 94, 0.5); }
.size-card:hover::before { transform: scaleX(1); }
.size-card-img { overflow: hidden; }
.size-card-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1) !important; }
.size-card:hover .size-card-img img { transform: scale(1.07) !important; }
.size-card-footer > div > span:last-child { color: var(--pl-green-deep) !important; }
.size-card-details { border-top-color: #e5e7eb; }

/* ---------- Step numbers, cards with inline styles ---------- */
div[style*="border-radius:50%"][style*="var(--brand-accent)"] { background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)) !important; box-shadow: 0 8px 18px rgba(34, 197, 94, 0.4); }
div[style*="box-shadow:0 4px 16px rgba(0,0,0,0.06)"] { transition: transform .3s, box-shadow .3s; }
div[style*="box-shadow:0 4px 16px rgba(0,0,0,0.06)"]:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(21, 128, 61, 0.18) !important; }
.area-chip { transition: transform .2s, background-color .2s, border-color .2s; }
.area-chip:hover { transform: translateY(-2px); background: #ecfdf3; border-color: var(--pl-green); }

/* ---------- Dark call-to-action blocks ---------- */
.final-cta-card, .cta-banner {
  background:
    radial-gradient(circle at 85% 0%, rgba(34, 197, 94, 0.32), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(34, 197, 94, 0.16), transparent 40%),
    #0b0f15 !important;
  border: 1px solid rgba(74, 222, 128, 0.25); box-shadow: 0 24px 54px rgba(11, 15, 21, 0.28);
}
.final-cta-card h2 { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }

/* ---------- Portal page ---------- */
.portal-login { box-shadow: 0 24px 54px rgba(11, 15, 21, 0.14) !important; }
.portal-login-side { background: radial-gradient(circle at 100% 0%, rgba(34, 197, 94, 0.3), transparent 50%), #0b0f15 !important; }
.portal-card { background: #fff !important; box-shadow: var(--pl-card); }
.portal-card:hover { box-shadow: var(--pl-card-hover) !important; transform: translateY(-6px) !important; }

/* ---------- Contact / service area details ---------- */
.contact-detail-icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important; color: var(--pl-green-deep); }
.contact-card-wrapper { background: #fff; border-radius: 16px; box-shadow: var(--pl-card); padding: 32px; }

/* ---------- Footer and mobile bar ---------- */
.footer { background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.14), transparent 60%), #0b0f15; border-top: 3px solid var(--pl-green); }
.mobile-cta-bar { border-top: 2px solid var(--pl-green); }
.mobile-cta-bar a.cta { background: linear-gradient(135deg, var(--pl-green-bright), var(--pl-green)); color: #052e16; font-weight: 700; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
html.pl-js .pl-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.pl-js .pl-reveal.pl-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-img, .hero-content > * { animation: none !important; }
  html.pl-js .pl-reveal { opacity: 1; transform: none; transition: none; }
  .size-card, .size-card-img img, .btn, .card-btn { transition: none !important; }
}

/* ---------- Trust bar: horizontal marquee ---------- */
.trust-bar { overflow: hidden; }
.trust-bar-inner.trust-marquee { max-width: none; display: block; overflow: hidden; gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.trust-track { display: flex; width: max-content; animation: pl-marquee 36s linear infinite; will-change: transform; }
.trust-set { display: flex; align-items: center; flex: 0 0 auto; }
.trust-set .trust-item { padding-right: 64px; white-space: nowrap; }
@keyframes pl-marquee { from { transform: translateX(0); } to { transform: translateX(-16.6667%); } }
@media (max-width: 768px) { .trust-track { animation-duration: 26s; } .trust-set .trust-item { padding-right: 40px; } }
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .trust-set.clone { display: none; }
  .trust-bar-inner.trust-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Service cards v2: tall photo with overlapping panel ---------- */
.sizes-grid { gap: 28px 22px; }
.size-card { background: transparent !important; border: 0 !important; box-shadow: none !important; overflow: visible; border-radius: 0; height: 100%; }
.size-card::before { display: none; }
.size-card:hover { background: transparent !important; transform: none; box-shadow: none !important; border: 0 !important; }
.size-card-img { position: relative; aspect-ratio: 4 / 4.6; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(11, 15, 21, 0.18); }
.size-card-img img { height: 100%; }
.size-card:hover .size-card-img img { transform: scale(1.08) !important; }
.size-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,21,0) 55%, rgba(11,15,21,.45)); pointer-events: none; }
.card-price { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: baseline; gap: 6px; background: #0b0f15; color: #fff; border-radius: 999px; padding: 7px 14px; box-shadow: 0 6px 16px rgba(0,0,0,.35); border: 1px solid rgba(74,222,128,.5); }
.card-price small { font-family: var(--font-body); font-size: 11px; color: #d1d5db; font-weight: 500; }
.card-price b { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #4ade80; line-height: 1; }
.card-price b.addr { font-size: 15px; }
.size-card-body { position: relative; z-index: 3; margin: -64px 14px 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px 18px 16px; text-align: center; align-items: center; box-shadow: 0 14px 30px rgba(11, 15, 21, 0.12); transition: transform .3s, box-shadow .3s, border-color .3s; flex: 1; }
.size-card:hover .size-card-body { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(21, 128, 61, 0.24); border-color: rgba(34, 197, 94, 0.55); }
.size-card-description { min-height: 0 !important; }
.size-card-details { width: 100%; margin: 10px 0 12px; padding-top: 8px; }
.size-card-details:not(:has(li)) { display: none; }
.size-card-details li { justify-content: center; }
.size-card-body .card-btn { display: block !important; width: 100% !important; margin-top: auto !important; }
.size-card-body > p + .card-btn, .size-card-body > ul + .card-btn { margin-top: 14px !important; }
.size-card-body { justify-content: flex-start; }
.size-card-body .size-card-description + .card-btn { margin-top: auto !important; }
@media (max-width: 600px) { .size-card-img { aspect-ratio: 4 / 3.6; } }

/* ---------- Service cards: show every photo in full ---------- */
.size-card-img { aspect-ratio: 1 / 1.02; background: #0b0f15; isolation: isolate; }
.size-card-img::before { content: ''; position: absolute; inset: -24px; z-index: 0; background-image: var(--bg); background-size: cover; background-position: center; filter: blur(22px) brightness(.7) saturate(1.2); transform: scale(1.1); }
.size-card-img::after { display: none; }
.size-card-img img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 30px); object-fit: contain !important; object-position: center !important; z-index: 1; }
.size-card:hover .size-card-img img { transform: scale(1.04) !important; }
.size-card-body { margin-top: -30px; }
.card-price { z-index: 3; }
@media (max-width: 600px) { .size-card-img { aspect-ratio: 1 / 0.95; } }

/* ---------- Service cards: photos fill the whole frame, each framed by hand ---------- */
.size-card-img { aspect-ratio: 1 / 0.92; background: #0b0f15; }
.size-card-img::before, .size-card-img::after { display: none !important; }
.size-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover !important; z-index: 1; }
.size-card-img img[src*="15-yard"] { object-position: 50% 62% !important; }
.size-card-img img[src*="20-yard"] { object-position: 50% 62% !important; }
.size-card-img img[src*="flatbed"] { object-position: 50% 42% !important; }
.size-card-img img[src*="load-and-go"] { object-position: 50% 38% !important; }
.size-card-img img[src*="junk-removal"] { object-position: 50% 58% !important; }
.size-card-img img[src*="material-delivery"] { object-position: 50% 50% !important; }
.size-card-img img[src*="dirt-mulch"] { object-position: 50% 24% !important; }
.size-card:hover .size-card-img img { transform: scale(1.06) !important; }
.size-card-body { margin-top: -34px; }
@media (max-width: 600px) { .size-card-img { aspect-ratio: 1 / 0.85; } }

/* ---------- Navigation always on top ---------- */
.nav { position: sticky; top: 0; z-index: 99999 !important; }
.sa-map-wrap, #sa-map, .size-card, .rd-hero, .hero { isolation: isolate; }
.mobile-cta-bar { z-index: 99998; }

/* ---------- Service cards: center the last row ---------- */
@media (min-width: 1200px) {
  .sizes-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .sizes-grid > .size-card { grid-column: span 2; }
  .sizes-grid > .size-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (min-width: 601px) and (max-width: 1199px) {
  .sizes-grid > .size-card:nth-child(7) { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
}

/* ---------- Service cards: buttons share one line per row ---------- */
.size-card-body { display: flex; flex-direction: column; }
.size-card-body .size-card-description { margin-bottom: 14px; }
.size-card-body .card-btn,
.size-card-body > p + .card-btn,
.size-card-body > ul + .card-btn,
.size-card-body .size-card-description + .card-btn { margin-top: auto !important; }
.size-card-body .size-card-details { margin-bottom: 14px; }
.size-card-body .size-card-details:not(:has(li)) { margin: 0; }
.size-card-body > .size-card-description { flex: 0 0 auto; }
.size-card-body > .size-card-details:has(li) { flex: 0 0 auto; }
