/**
 * LOAD OFF CO. — McKinney local service page styles
 * Loaded after /assets/blog/blog.css, which supplies the shared
 * header/footer shell, breadcrumbs, eyebrow, and FAQ accordion
 * styles plus the brand variables (--navy, --gold, --charcoal,
 * --offwhite, --white, --muted, --line, --radius, --shadow).
 * This file only styles /junk-removal-mckinney-tx/.
 */

/* ---------- Hero (two-column desktop, stacked mobile) ---------- */

.mck-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 40px;
  align-items: center;
}

.mck-hero-copy .dek {
  margin: 16px 0 0;
  color: #e6eaf0;
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
}

.mck-hero-copy .sub {
  margin: 12px 0 0;
  color: #c7cfda;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 560px;
}

.mck-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mck-hero-ctas .button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}

.mck-hero-ctas .button-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.mck-hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- Trust strip ---------- */

.mck-trust-strip {
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.mck-trust-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.mck-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.mck-trust-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.mck-trust-item a { color: var(--navy); text-decoration: underline; }

/* ---------- Generic section shell ---------- */

.mck-section {
  padding: 60px 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mck-section--alt { background: var(--offwhite); }
.mck-section--alt > .mck-section-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0; }

.mck-section h2 {
  text-align: center;
  margin-bottom: 14px;
}

.mck-section-intro {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.mck-note {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14px;
}

.mck-note a { color: var(--navy); font-weight: 700; }

/* ---------- What We Haul (reuses the homepage's haul-card icon treatment) ---------- */

.mck-haul-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mck-haul-card {
  border: 1.5px solid #dfe2e8;
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mck-haul-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(13, 27, 51, 0.08);
}

.mck-haul-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mck-haul-icon svg { width: 100%; height: 100%; }

.mck-haul-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 8px;
}

.mck-haul-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Real Work Gallery ---------- */

.mck-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mck-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.mck-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.mck-gallery-item--wide img { height: 180px; }

.mck-gallery-caption {
  padding: 10px 14px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Reviews ---------- */

.mck-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.mck-review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.mck-review-stars svg { width: 18px; height: 18px; color: var(--gold); }

.mck-review-card blockquote {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  font-style: normal;
}

.mck-review-card cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- Pricing factors ---------- */

.mck-factor-list {
  max-width: 560px;
  margin: 0 auto 30px;
  list-style: none;
  padding: 0;
}

.mck-factor-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--charcoal);
}

.mck-factor-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.mck-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

/* ---------- How It Works (reuses the homepage's redesigned how-card) ---------- */

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.how-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(13, 27, 51, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 27, 51, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.65);
  box-shadow: 0 14px 30px rgba(13, 27, 51, 0.12);
}

.how-num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px 22px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.how-num::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -58px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 193, 7, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.how-num .n {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: var(--gold);
  font-family: "Bebas Neue", sans-serif;
  font-size: 44px;
  line-height: 1;
}

.how-num svg {
  position: relative;
  z-index: 1;
  box-sizing: content-box;
  width: 30px;
  height: 30px;
  padding: 9px;
  border: 1px solid rgba(255, 193, 7, 0.45);
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.08);
}

.how-body { padding: 22px 22px 26px; }

.how-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.how-body p { margin: 0; color: #5c5c5c; font-size: 14px; line-height: 1.6; }

/* ---------- Service-area copy ---------- */

.mck-area-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.mck-area-copy p {
  color: var(--charcoal);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---------- Final CTA band ---------- */

.mck-final-cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 0;
}

.mck-final-cta .eyebrow { justify-content: center; display: block; }
.mck-final-cta h2 { color: var(--white); }
.mck-final-cta p { color: #dbe1e9; max-width: 540px; margin: 0 auto 26px; font-size: 15.5px; line-height: 1.6; }

.mck-final-cta .button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}

.mck-final-cta .button-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .mck-hero-inner { grid-template-columns: 1fr; }
  .mck-hero-media { order: -1; }
  .mck-haul-grid { grid-template-columns: repeat(2, 1fr); }
  .mck-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .mck-review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .mck-section { padding: 44px 0; }
  .mck-section--alt > .mck-section-inner { padding: 44px 0; }
  .mck-haul-grid { grid-template-columns: 1fr; }
  .mck-gallery-grid { grid-template-columns: 1fr; }
  .mck-gallery-item img { height: 320px; }
  .mck-gallery-item--wide img { height: 220px; }

  .how-grid { grid-template-columns: 1fr; gap: 14px; }
  .how-card { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto; min-height: 122px; }
  .how-card:hover { transform: none; }
  .how-num { width: 88px; min-height: 100%; padding: 16px 10px; flex-direction: column; justify-content: center; gap: 11px; }
  .how-num::after { right: -56px; bottom: -60px; }
  .how-num .n { font-size: 36px; }
  .how-num svg { width: 25px; height: 25px; padding: 7px; }
  .how-body { display: flex; flex-direction: column; justify-content: center; padding: 20px 18px; }
  .how-body h3 { font-size: 14px; }
  .how-body p { font-size: 14px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  .how-card,
  .mck-haul-card {
    transition: none;
  }
  .how-card:hover,
  .mck-haul-card:hover {
    transform: none;
  }
}
