/* =====================================
   RESET & BASE
===================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
html {
  scroll-behavior: smooth;
}

/* =====================================
   HEADER
===================================== */
.site-header {
  background: linear-gradient(90deg, #000, #111, #000);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo {
  height: 80px;
}

.brand-text {
  color: #fff;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 12px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
  background: #fff;
  color: #000;
}

/* =====================================
   SERVICE SUB NAV – GRID (6 ITEMS READY)
===================================== */
.service-subnav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 14px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  max-width: 1200px;
  margin: 12px auto 0;

  position: sticky;
  top: 0;
  z-index: 999;
}

.service-link {
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  color: #111;
  background: #f4f4f4;
  border: 1px solid #ddd;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.service-link:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.service-link.active {
  background: #000;
  color: #fff;
}
/* FORCE SERVICE SUBNAV TO FULL WIDTH GRID */
.site-header .service-subnav {
  flex-basis: 100%;
  width: 100%;
  display: grid !important;
}
.site-header .service-subnav {
  max-width: 1200px;
  margin: 12px auto 0;
  padding: 14px;
}

/* Anchor offset for sticky subnav */
#pricing,
#guarantee {
  scroll-margin-top: 160px;
}

/* Clean list formatting */
.text-list {
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
}

/* =====================================
   HERO
===================================== */
.hero {
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 900px;
  margin: auto;
  background: rgba(0,0,0,0.7);
  padding: 40px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

/* =====================================
   SECTION
===================================== */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}
/* =====================================
   CONTACT FORM (CENTERED & FIXED)
===================================== */

form {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form input,
form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: inherit;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  margin-top: 10px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

form button:hover {
  background: #222;
}

/* =====================================
   SERVICES GRID
===================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-tile {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border-top: 4px solid #000;
  text-decoration: none;
  color: #111;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.15);
}
.btn-primary {
  background: #fff;
  color: #000;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
}
/* =====================================
   CTA SECTION (CENTERED)
===================================== */

.cta {
  background: linear-gradient(135deg, #000, #222);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.cta .btn-primary {
  display: inline-block;
}

/* =====================================
   FOOTER
===================================== */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.85rem;
}

/* =====================================
   MOBILE
===================================== */
@media (max-width: 768px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 90px 20px 60px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-content {
    padding: 26px;
  }

  .section {
    padding: 50px 20px;
  }
}
/* =====================================
   MOBILE FIXES – CTA + CONTACT (FINAL)
===================================== */
@media (max-width: 768px) {

  /* CTA CENTER FIX */
  .cta {
    text-align: center;
    padding: 60px 20px;
  }

  .cta h2 {
    text-align: center;
    font-size: 1.8rem;
  }

  .cta p {
    text-align: center;
    font-size: 1rem;
  }

  .cta a {
    display: inline-block;
    margin: 0 auto;
  }

  /* CONTACT FORM CENTER FIX */
  #contact {
    text-align: center;
  }

  #contact form {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    margin: 30px auto 0;
  }

  #contact input,
  #contact textarea {
    width: 100%;
  }

  #contact button {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
  }
}
/* =====================================
   DAN DISPATCH BACK LINK
===================================== */

.dispatch-back {
  margin-top: 50px;
  text-align: center;
}

.dispatch-link {
  position: relative;
  display: inline-block;
}

.dispatch-logo {
  width: 180px;
  max-width: 80%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dispatch-logo:hover {
  transform: scale(1.03);
}

/* Tooltip */
.dispatch-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Show tooltip on hover (desktop) */
.dispatch-link:hover .dispatch-tooltip {
  opacity: 1;
}

/* Mobile: always visible hint */
@media (max-width: 768px) {
  .dispatch-tooltip {
    position: static;
    transform: none;
    margin-top: 8px;
    display: block;
    opacity: 1;
    background: transparent;
    color: #666;
    font-size: 0.75rem;
  }
}
/* =====================================
   FAQ – MODERN ACCORDION STYLE
===================================== */

.section details {
  max-width: 800px;
  margin: 0 auto 14px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}

.section details summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
}

.section details summary::-webkit-details-marker {
  display: none;
}

/* Plus / Minus icon */
.section details summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.section details[open] summary::after {
  content: "–";
}

/* Content */
.section details p {
  padding: 0 22px 18px;
  margin: 0;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

/* Hover effect */
.section details:hover {
  border-color: #000;
}
