@media (max-width: 768px) {
  .header-container {
    padding: 0.75rem 0;
  }

  .brand-logo .logo-text {
    font-size: 1.9rem;
  }

  .brand-logo .logo-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-title-lead {
    font-size: 0.48em;
  }

  .about-years-number {
    font-size: 3.75rem;
  }

  .section-title,
  .cta-title {
    font-size: 3.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .faucet-container {
    width: 100px;
    height: 100px;
  }

  html {
    font-size: 14px;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 3rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title,
  .cta-title {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
  }

  .portfolio-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .portfolio-tab {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

.btn-schedule-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0 0 1.5rem 0;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.btn-schedule-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
/* Late overrides (kept small for KnownHost FTP upload limits) */

.hero-title span::after,
.hero-title-lead::after,
.hero-years::after {
  display: none !important;
  content: none !important;
}

.hero-title-lead {
  color: var(--gray-700) !important;
}

.hero-years {
  color: var(--primary) !important;
}

.brand-logo {
  gap: 0.2rem;
}

.brand-logo .logo-text {
  letter-spacing: 0.04em;
}

.brand-logo .logo-tagline {
  letter-spacing: 0.22em;
  margin-left: 0.05em;
}

.header .brand-logo:hover .logo-text {
  color: var(--primary);
}

.home .hero {
  margin-top: 0;
  padding-top: 7rem;
}


/* === Professional cleanup pass (2026-07-27) === */

.home .services,
.home .section.portfolio,
.home .hero-btns,
.home .hero-features,
.easter-egg,
.scroll-to-top {
  display: none !important;
}

.header {
  padding: 0.85rem 0;
  background-color: #fff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  gap: 0.2rem;
}

.brand-logo .logo-text {
  font-family: "Teko", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  font-style: italic;
  line-height: 0.9;
}

.brand-logo .logo-tagline {
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  white-space: nowrap;
}

.brand-logo--footer .logo-text { color: #fff; font-size: 2.35rem; }
.brand-logo--footer .logo-tagline { color: rgba(255,255,255,0.72); }

.nav-menu { top: 0; gap: 1.75rem; }
.header-actions { top: 0; }
.nav-menu a,
.nav-link {
  font-size: 0.95rem !important;
  font-weight: 600;
  color: #1e293b;
}

.home .hero { margin-top: 0; padding-top: 7.5rem; }
.hero {
  position: relative;
  min-height: auto;
  padding: 8rem 0 4rem;
  display: block;
  overflow: hidden;
}
.hero-container {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.hero-badges .hero-badge,
.hero-badges .hero-years-kicker { margin: 0; }
.hero-years-kicker {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #c41e1e;
  border-radius: 999px;
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.hero-title span::after,
.hero-title-lead::after,
.hero-years::after { display: none !important; content: none !important; }
.hero-title-lead {
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #0f172a !important;
  text-transform: uppercase;
}
.hero-years {
  display: block;
  color: #c41e1e !important;
  font-size: 1.05em;
  line-height: 0.95;
}
.hero-subtitle {
  color: #334155 !important;
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 36rem;
}
.light-theme .hero-bg::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.8) 55%, rgba(255,255,255,0.55) 100%) !important;
}

.hero-form-container {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border-top: 4px solid #c41e1e;
  position: relative;
  z-index: 3;
}
.hero-form-container .wpcf7-form input[type="text"],
.hero-form-container .wpcf7-form input[type="email"],
.hero-form-container .wpcf7-form input[type="tel"],
.hero-form-container .wpcf7-form select,
.hero-form-container .wpcf7-form textarea,
.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form select,
.contact-form .wpcf7-form textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px;
  margin-bottom: 0.8rem;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  border: 1px solid #dbe3ee;
  border-radius: 0.45rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
}
.hero-form-container .wpcf7-form textarea,
.contact-form .wpcf7-form textarea { min-height: 88px; }
.hero-form-container select,
.hero-form-container .wpcf7-select,
.contact-form select,
.contact-form .wpcf7-select {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem !important;
}
.hero-form-container .wpcf7-submit,
.contact-form .wpcf7-submit {
  display: inline-block !important;
  width: 100%;
  background: #c41e1e !important;
  color: #fff !important;
  border: 0;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0.45rem;
  cursor: pointer;
}

.about-years-callout {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem 1.1rem;
  background: rgba(196,30,30,0.06);
  border-left: 4px solid #c41e1e;
}
.about-years-number {
  font-family: "Teko", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: #c41e1e;
}
.about-years-label {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #334155;
}
.about-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.section.cta {
  padding: 5.5rem 0;
}
.cta .btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.85) !important;
  background: transparent !important;
}
.cta .btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
}
.cta .btn-secondary {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #fff !important;
}

/* Footer layout matching actual markup */
.site-footer,
footer#colophon,
footer.site-footer {
  background: #1e293b !important;
  color: #fff !important;
  margin: 0;
  padding: 0 0 4.5rem;
  clear: both;
  width: 100%;
}
.site-footer .footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand-block {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-brand-block .brand-logo {
  align-items: center;
}
.footer-years {
  margin: 0.85rem 0 0.2rem;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}
.footer-phone-line { margin: 0; }
.footer-phone-line a {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.footer-nav .footer-menu,
.footer-nav .menu {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-nav a:hover { color: #fff !important; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.25rem;
  background: transparent !important;
  padding: 0 !important;
  text-align: center !important;
}
.footer-copyright,
.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.9rem;
}
.shovel-link {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.82rem;
  text-decoration: none;
}
.shovel-link:hover { color: rgba(255,255,255,0.85) !important; }

/* Hide empty sidebars dumped into footer previously */
.site-footer aside.widget-area:empty,
.site-footer .widget-area:empty { display: none !important; }

#cookie-notice,
.cookie-notice-container {
  z-index: 99999;
}

.contact-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact .section-header { margin-bottom: 2.5rem; }
.contact-form {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
  border-top: 4px solid #c41e1e;
}

@media (max-width: 992px) {
  .hero-container,
  .about-container,
  .contact-container { grid-template-columns: 1fr !important; }
  .brand-logo .logo-text { font-size: 2.1rem; }
  .brand-logo .logo-tagline { font-size: 0.55rem; }
}

@media (max-width: 768px) {
  .brand-logo .logo-text { font-size: 1.85rem; }
  .brand-logo .logo-tagline { font-size: 0.5rem; letter-spacing: 0.12em; }
  .home .hero { padding-top: 6.5rem; }
  .site-footer .footer-container { padding: 2.5rem 1.15rem 1.35rem; }
  .cta-title { font-size: 3rem !important; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}
