/* Dirty Deeds Services — brand: black, safety orange, lime green (from logo) */

:root {
  --orange: #EE6C0B;
  --orange-dark: #C9580A;
  --lime: #90FB46;
  --lime-dark: #6FD62C;
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --white: #ffffff;
  --off-white: #f6f7f4;
  --grey: #5c5c5c;
  --border: #e3e3e0;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0,0,0,0.12);
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1540px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; color: var(--grey); }
.section-kicker {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

section { padding: 64px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark p { color: #c9c9c9; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(238,108,11,0.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-lime { background: var(--lime); color: var(--black); box-shadow: 0 6px 18px rgba(144,251,70,0.35); }
.btn-lime:hover { background: var(--lime-dark); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--black);
  border-bottom: 3px solid var(--orange);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}
.brand img { height: 48px; width: auto; flex-shrink: 0; }
.brand-name {
  color: var(--white);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.brand-name span { color: var(--lime); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { border-color: var(--lime); color: var(--lime); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.call-now {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.call-now:hover { background: var(--orange-dark); }
.call-now svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transform-origin: 50% 15%;
  animation: ring 1.6s ease-in-out infinite;
}

@keyframes ring {
  0%, 60%, 100% { transform: rotate(0deg); }
  4% { transform: rotate(-24deg); }
  8% { transform: rotate(22deg); }
  12% { transform: rotate(-20deg); }
  16% { transform: rotate(18deg); }
  20% { transform: rotate(-14deg); }
  24% { transform: rotate(10deg); }
  28% { transform: rotate(-6deg); }
  32% { transform: rotate(3deg); }
}
.call-now .call-number { display: inline; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 3px solid var(--orange);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid #2a2a2a; }
  .nav-toggle { display: inline-flex; }
  .call-now .call-number { display: none; }
  .call-now { padding: 10px 14px; }
  .brand-name { max-width: 46vw; font-size: 1.02rem; }
}
@media (max-width: 360px) {
  .brand-name { max-width: 30vw; font-size: 0.88rem; }
  .call-now { padding: 9px 11px; font-size: 0.88rem; gap: 6px; }
}

/* Hero */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  height: 900px;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  max-width: 720px;
}
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero p.lead { color: #eaeaea; font-size: 1.15rem; }

@media (max-width: 700px) {
  .hero { height: 620px; }
}

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-hero p { color: #d6d6d6; max-width: 640px; margin: 0 auto; }

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { margin-bottom: 0; font-size: 0.95rem; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.service-card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-card .icon-badge svg { width: 24px; height: 24px; color: var(--black); }

/* Locations chips */
.location-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.location-chip {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.94rem;
}
.location-chip::before { content: "📍 "; }

/* Gallery */
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.25s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: var(--white);
  padding: 24px 14px 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Maps */
.map-embed {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 20px;
}

/* Reviews */
.reviews-widget-wrap { max-width: 1500px; margin: 0 auto; }
.testimonial {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 640px;
}
.testimonial p { color: var(--charcoal); font-weight: 600; font-size: 1.05rem; margin-bottom: 10px; }
.testimonial cite { font-style: normal; font-size: 0.88rem; color: var(--grey); font-weight: 700; }
.review-placeholder {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--grey);
}

/* Footer */
.site-footer { background: var(--black); color: #cfcfcf; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.footer-grid h4 { color: var(--white); margin-bottom: 14px; }
.footer-grid a { color: #cfcfcf; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 40px; width: auto; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}
.footer-credit a { color: var(--white); text-decoration: underline; }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Chat popup */
.chat-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 600;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-toggle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.chat-toggle .close-icon { display: none; font-size: 1.7rem; font-weight: 800; }
.chat-toggle.is-open img { display: none; }
.chat-toggle.is-open .close-icon { display: block; }
.chat-toggle.is-open { background: var(--black); }

.chat-toggle::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  background: var(--lime);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.chat-toggle.is-open::after { display: none; }

.chat-popup {
  position: fixed;
  bottom: 96px;
  right: 22px;
  z-index: 600;
  width: min(340px, calc(100vw - 40px));
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  display: none;
}
.chat-popup.is-open { display: block; }
.chat-popup-header {
  background: var(--black);
  color: var(--white);
  padding: 16px 18px;
}
.chat-popup-header strong { color: var(--lime); }
.chat-popup-body { padding: 16px 18px; max-height: 60vh; overflow-y: auto; }

/* Forms */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.92rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

.form-message {
  display: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.form-message.is-visible { display: block; }
.form-message.success { background: #eafbe0; color: #2c6a1f; border: 1px solid #b7e6a3; }
.form-message.error { background: #fdeaea; color: #8a2222; border: 1px solid #f3b7b7; }

.form-success { display: none; }
.form-success.is-visible { display: block; }
.form-success p { margin-bottom: 0; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Two column layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Sticky bottom call bar (mobile only, contact page can skip) */
.mobile-call-bar {
  display: none;
}
@media (max-width: 900px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 590;
    background: var(--orange);
  }
  .mobile-call-bar a {
    flex: 1;
    color: var(--white);
    text-align: center;
    padding: 14px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  body { padding-bottom: 54px; }
}

/* 404 page */
.error-page { text-align: center; padding: 100px 0; }
.error-page .code { font-size: 5rem; font-weight: 900; color: var(--orange); margin-bottom: 0; }
