:root {
  --bg: #f7f4ef;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #171717;
  --muted: #5b5b5b;
  --charcoal: #232323;
  --charcoal-soft: #303030;
  --line: rgba(23, 23, 23, 0.1);
  --accent: #ef6b2e;
  --accent-dark: #bf4814;
  --sand: #e7ddce;
  --shadow: 0 22px 60px rgba(18, 18, 18, 0.12);
  --radius: 24px;
  --radius-small: 16px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: clip;
  width: 100%;
  overscroll-behavior-x: none;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.phone-chip,
.contact-pill strong,
.button {
  font-family: "League Spartan", sans-serif;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

p,
li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: 0 2px 0 rgba(23, 23, 23, 0.08), 0 22px 48px rgba(23, 23, 23, 0.14);
  overflow-x: clip;
}

.topbar {
  width: var(--container);
  margin: 0 auto;
  min-height: 98px;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  flex: 0 0 auto;
  max-width: 250px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.desktop-nav a,
.mobile-menu a {
  position: relative;
  font-weight: 700;
  color: var(--charcoal);
}

.desktop-nav a::after,
.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after,
.mobile-menu a.is-active::after,
.mobile-menu a:hover::after {
  transform: scaleX(1);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.phone-chip,
.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button-facebook .button-icon,
.facebook-link .button-icon {
  width: 20px;
  height: 20px;
}

.phone-chip {
  color: var(--surface-strong);
  background: var(--charcoal);
}

.social-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.facebook-link {
  color: #0d4f8f;
  border-color: rgba(84, 164, 255, 0.45);
  background: linear-gradient(135deg, #e9f5ff, #cfe8ff);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--charcoal);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: white;
}

.mobile-menu {
  display: grid;
  gap: 1rem;
  width: var(--container);
  margin: 0 auto 0;
  padding: 0 1rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.22s ease,
    margin-bottom 0.22s ease,
    padding-top 0.22s ease,
    padding-bottom 0.22s ease;
}

.mobile-menu.is-open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mobile-menu .button-outline {
  color: var(--charcoal);
  border-color: var(--line);
  background: transparent;
}

.mobile-menu .button-facebook {
  color: #0d4f8f;
  border-color: rgba(84, 164, 255, 0.4);
  background: linear-gradient(135deg, #eff8ff, #cfe7ff);
}

.mobile-cta-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4.5rem 0 4rem;
  scroll-margin-top: 0.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.38)),
    url("assets/tow-truck8.png") center/cover;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  padding: 3rem 0;
  color: var(--surface-strong);
}

.hero-copy p,
.hero-copy li {
  color: rgba(255, 255, 255, 0.82);
}

.hero-text {
  max-width: 720px;
  font-size: 1.12rem;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  white-space: normal;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-solid {
  color: white;
  background: linear-gradient(135deg, var(--accent), #ff8a3c);
}

.button-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.button-facebook {
  color: #0d4f8f;
  border-color: rgba(84, 164, 255, 0.4);
  background: linear-gradient(135deg, #eff8ff, #cfe7ff);
}

.hero-points {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: absolute;
  right: 0;
  width: min(100%, 460px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.hero-card.secondary {
  bottom: 0;
  right: 220px;
  width: min(52%, 260px);
}

.services-overview,
.gallery-section {
  background: rgba(255, 255, 255, 0.54);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card,
.service-area-card,
.contact-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.5rem;
}

.service-card a {
  font-weight: 700;
  color: var(--accent-dark);
}

.icon-box {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--charcoal), #4a4a4a);
}

.icon-box svg {
  width: 34px;
  fill: currentColor;
}

.about-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.2rem;
  align-items: center;
}

.about-section {
  background:
    linear-gradient(110deg, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.82)),
    url("assets/container3.jpg") center/cover;
}

.about-section h2,
.about-section p {
  color: white;
}

.about-copy {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.detail-copy {
  max-width: 620px;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.feature-list li {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(239, 107, 46, 0.08);
  border: 1px solid rgba(239, 107, 46, 0.16);
}

.note {
  font-size: 0.96rem;
}

.stacked-images {
  display: grid;
  gap: 1rem;
}

.stacked-images img,
.gallery-grid img {
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.stacked-images img:first-child {
  min-height: 300px;
}

.stacked-images img:last-child {
  min-height: 220px;
}

.reverse .detail-copy {
  justify-self: end;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-mobile-extra {
  display: block;
}

.gallery-grid-extra {
  margin-top: 1rem;
}

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 1 / 1;
}

.gallery-extra-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.gallery-extra-wrap.is-visible {
  max-height: 2200px;
  opacity: 1;
}

.gallery-extra {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-extra.is-visible {
  opacity: 1;
}

.gallery-item {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.gallery-item img,
.gallery-grid img {
  width: 100%;
  height: 100%;
}

.gallery-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.gallery-toggle {
  border: 0;
}

.gallery-grid figure:first-child img {
  object-position: center 24%;
}

.gallery-item img[src$="dan-ash.png"] {
  object-position: center 72%;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(10, 10, 10, 0.86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1100px);
}

.lightbox-image-frame {
  position: relative;
  overflow: visible;
  border-radius: 24px;
  max-width: min(96vw, 1240px);
  max-height: 84vh;
  display: grid;
  place-items: center;
}

.lightbox-image {
  display: block;
  max-width: min(96vw, 1240px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: opacity 0.22s ease;
}

.lightbox-image.is-fading-out {
  opacity: 0;
}

.lightbox-counter {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.service-area-card,
.contact-card {
  padding: 2rem;
}

.service-area-card {
  text-align: center;
  background:
    linear-gradient(120deg, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.8)),
    url("assets/tow-truck5.jpg") center/cover;
}

.service-area-card h2,
.service-area-card p {
  color: white;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  background:
    linear-gradient(125deg, rgba(239, 107, 46, 0.92), rgba(191, 72, 20, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}

.contact-card h2,
.contact-card p,
.contact-card .eyebrow {
  color: white;
}

.contact-actions {
  display: grid;
  gap: 1rem;
}

.contact-pill {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: center;
  padding: 1.3rem 1.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--charcoal);
}

.contact-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  margin: 0;
}

.contact-pill.dark {
  background: rgba(35, 35, 35, 0.88);
  color: white;
}

.facebook-pill {
  background: linear-gradient(135deg, #edf7ff, #cfe7ff);
  color: #0d4f8f;
}

.contact-pill span {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-pill strong {
  display: block;
  font-size: 2rem;
  line-height: 1.05;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-weight: 700;
}

.facebook-footer-link {
  color: #0d4f8f;
}

.copyright {
  text-align: right;
}

@media (max-width: 1024px) {
  .desktop-nav,
  .social-chip {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-grid,
  .about-grid,
  .detail-grid,
  .contact-card,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-card.secondary {
    right: 90px;
  }

  .service-card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
    border-top: 2px solid rgba(23, 23, 23, 0.16);
  }

  main .section:first-child {
    border-top: 0;
  }

  .topbar {
    min-height: 88px;
    padding: 0.7rem 0;
    gap: 0.5rem;
  }

  .brand {
    max-width: 150px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .phone-chip {
    min-height: 44px;
    padding: 0.72rem 0.75rem;
    font-size: 0.86rem;
  }

  .button {
    width: 100%;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
  }

  .hero-copy {
    padding: 1.5rem 0;
  }

  .hero-backdrop {
    clip-path: none;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .hero-card,
  .hero-card.secondary {
    position: static;
    width: 100%;
  }

  .hero-card img {
    aspect-ratio: 4 / 3;
  }

  .hero-card.secondary {
    transform: none;
  }

  .service-card-grid,
  .gallery-grid,
  .mobile-cta-row {
    grid-template-columns: 1fr;
  }

  .gallery-mobile-extra {
    display: none;
  }

  .gallery-grid.is-expanded .gallery-mobile-extra {
    display: block;
  }

  .mobile-menu {
    text-align: center;
  }

  .detail-grid .detail-copy {
    order: 1;
  }

  .detail-grid .stacked-images {
    order: 2;
  }

  .stacked-images img:first-child,
  .stacked-images img:last-child {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid figure {
    aspect-ratio: 4 / 3;
  }

  .contact-pill {
    grid-template-columns: 36px 1fr;
    column-gap: 0.8rem;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  .contact-pill strong {
    font-size: 1.35rem;
  }

  .footer-row {
    text-align: center;
    justify-items: center;
  }

  .copyright {
    text-align: center;
  }

  .site-footer {
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 540px) {
  :root {
    --container: min(1180px, calc(100% - 1rem));
  }

  .topbar {
    gap: 0.35rem;
  }

  .brand {
    max-width: 125px;
  }

  .header-actions {
    gap: 0.3rem;
  }

  .phone-chip {
    padding: 0.68rem 0.65rem;
    font-size: 0.78rem;
  }

  .phone-chip .button-icon {
    width: 15px;
    height: 15px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }
}
