:root {
  --navy: #0f1f3d;
  --navy-deep: #0a1628;
  --lime: #8bc53f;
  --lime-dark: #6fa82e;
  --white: #ffffff;
  --gray-bg: #eef1f4;
  --text: #1a1a1a;
  --muted: #444;
  /* Button green dark enough for white lettering to read clearly */
  --cta-green: #2f7d12;
  --cta-green-hover: #3c9a17;
  /* Storm / emergency red */
  --danger: #d32b1e;
  --danger-hover: #ef3c2c;
  --danger-soft: #ff6b5e;
  /* Girl crew photo — full hero, pulled back to show truck + branding */
  --crew-image: url("crew-hero.jpg");
  /* Original Howard job/truck photo — lower section only */
  --howard-image: url("howard-truck.jpg");
  --hero-image: var(--crew-image);
  --header-height: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: var(--white);
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, auto);
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1.25rem;
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
  justify-self: start;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.logo-text {
  font-weight: 800;
  font-size: clamp(0.85rem, 2.8vw, 1rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.85rem;
  justify-self: center;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.main-nav a:hover,
.main-nav a.active { color: var(--lime); }

/* Storm Cleanup stays red in the nav on every page */
.main-nav a.nav-storm { color: var(--danger-soft); }

.main-nav a.nav-storm:hover,
.main-nav a.nav-storm.active { color: #ff9d93; }

.btn-call-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: var(--cta-green);
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.2;
  justify-self: end;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-call-header .btn-label { font-size: 0.7rem; text-transform: uppercase; color: #ffffff; }
.btn-call-header .btn-phone { font-size: 1rem; color: #ffffff; }
.btn-call-header:hover { background: var(--cta-green-hover); transform: translateY(-1px); }

/* Hero */
/* Full-width hero photo. Height tracks viewport width and is anchored to the
   top of the photo, so her head stays in frame and the truck still shows. */
.hero--home {
  display: flex;
  align-items: flex-start;
  min-height: min(66vw, 96vh);
  /* Copy sits just under the header instead of floating in the canopy */
  padding: 7rem clamp(1.5rem, 6vw, 6rem) 3rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 16, 30, 0.9) 0%, rgba(6, 16, 30, 0.66) 34%, rgba(6, 16, 30, 0.22) 62%, rgba(6, 16, 30, 0.05) 100%),
    var(--crew-image) center top / cover no-repeat;
}

.hero-banner { display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(36rem, 52vw);
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .hero--home {
    animation: hero-fade 0.9s var(--ease) both;
  }

  .hero-content {
    animation: content-rise 0.75s var(--ease) 0.08s both;
  }
}

@keyframes hero-fade {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

@keyframes content-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.15vw, 1.3rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.75rem;
  max-width: 36ch;
}

.btn-primary {
  display: inline-block;
  background: var(--cta-green);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  padding: 1rem 1.85rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  text-shadow: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary:hover {
  background: var(--cta-green-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Emergency / storm calls to action */
.btn-primary--emergency,
.theme-storm .btn-primary {
  background: var(--danger);
  color: #ffffff;
}

.btn-primary--emergency:hover,
.theme-storm .btn-primary:hover {
  background: var(--danger-hover);
  color: #ffffff;
}

.emergency-highlight {
  color: var(--danger);
  font-weight: 900;
}

/* Storm Cleanup service card runs red so emergencies stand out */
.card-link--storm .hex {
  background: var(--danger);
}

.card-link--storm .hex-icon {
  stroke: #ffffff;
}

.card-link--storm h3 {
  color: var(--danger);
}

.card-link--storm p {
  color: var(--danger);
  font-weight: 700;
}

.card-link--storm article {
  border: 2px solid rgba(211, 43, 30, 0.35);
}

/* Services */
.services {
  padding: 4.25rem 1.5rem;
  background: var(--gray-bg);
  text-align: center;
}

.section-label {
  color: var(--lime-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.section-label.light { color: var(--lime); }

.services h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-grid a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s var(--ease);
}

.service-grid a.card-link:hover { transform: translateY(-4px); }

.service-grid article {
  background: var(--white);
  padding: 2rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.hex {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid;
  place-items: center;
}

.hex-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--navy-deep);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-grid h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.service-grid p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Why choose us */
.why {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 420px;
}

.why-photo,
.why-photo--howard {
  /* Lower section: original Howard truck / job photo (not the girl again) */
  background:
    linear-gradient(135deg, rgba(139, 197, 63, 0.08), rgba(15, 31, 61, 0.12)),
    var(--howard-image) center 40% / cover no-repeat;
  min-height: 420px;
}

.why-content {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-content h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.why-content > p {
  margin-bottom: 1.25rem;
  opacity: 0.92;
  max-width: 40ch;
}

.why-content ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.why-content li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-weight: 600;
}

.why-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lime);
  border-radius: 1px;
  transform: rotate(45deg);
}

.why-content .btn-primary {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* CTA bar */
.cta-bar {
  background: var(--lime);
  padding: 2rem 1.5rem;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.cta-inner h2 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-phone {
  display: block;
  color: var(--navy-deep);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  text-decoration: none;
}

.cta-phone:hover { text-decoration: underline; }

.cta-note {
  margin-left: auto;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 300px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.footer-brand .logo-img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
}

.footer-grid h4 {
  color: var(--lime);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-grid a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  overflow-wrap: anywhere;
}

.footer-grid a:hover { color: var(--lime); }

.footer-grid a.nav-storm { color: var(--danger-soft); }
.footer-grid a.nav-storm:hover { color: #ff9d93; }

.footer-grid p { font-size: 0.9rem; }

.copyright {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 1100px;
  margin: 0 auto;
}

/* Inner pages */
.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 1.5rem 2.5rem;
  background:
    linear-gradient(105deg, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.34) 100%),
    var(--howard-image) center 40% / cover no-repeat;
  color: var(--white);
}

.page-hero > div {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page-hero .hero-tag {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page-content h2 {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
}

.page-content h2:first-of-type { margin-top: 0; }

.page-content p,
.page-content li {
  color: #333;
  margin-bottom: 0.85rem;
}

.page-content ul {
  margin: 0 0 1.25rem 1.25rem;
}

.page-content li::marker { color: var(--lime-dark); }

.page-content .btn-primary { margin-top: 0.5rem; }

.page-content a { color: var(--navy); font-weight: 700; }

/* Buttons keep white lettering even inside prose blocks */
.page-content a.btn-primary,
.why-content a.btn-primary,
.hero a.btn-primary,
.contact-card a.btn-primary {
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
}

.contact-card {
  background: var(--gray-bg);
  padding: 1.75rem;
  border-radius: 8px;
  text-align: center;
}

.contact-card h3 {
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.contact-card .accent {
  font-weight: 700;
  color: var(--navy);
  margin-top: 0.35rem;
}

.contact-card a {
  display: inline-block;
  max-width: 100%;
  color: var(--navy);
  font-weight: 800;
  /* Keep the long gmail address inside the card */
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-card a:hover { color: var(--cta-green); }

/* Email is long — keep it on one line inside the card */
.contact-card a[href^="mailto:"] {
  font-size: clamp(0.8rem, 1.35vw, 1rem);
  letter-spacing: -0.01em;
}

.page-content.tight-top { padding-top: 1.25rem; }

.page-content .phone-strong {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 900px) {
  .main-nav { display: none; }

  .site-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .logo { flex: 1; min-width: 0; }

  .logo-img {
    width: 44px;
    height: 44px;
  }

  .btn-call-header {
    margin-left: auto;
    padding: 0.4rem 0.7rem;
  }

  .btn-call-header .btn-label { font-size: 0.65rem; }
  .btn-call-header .btn-phone { font-size: 0.8rem; }

  /* Phones and small tablets: whole photo on top, copy directly under it */
  .hero--home {
    display: block;
    min-height: 0;
    padding: 4.25rem 0 0;
    background: var(--navy-deep);
    animation: none;
  }

  .hero--home .hero-banner {
    display: block;
    width: 100%;
    aspect-ratio: 1292 / 1122;
    max-height: none;
    background: var(--crew-image) center top / cover no-repeat;
  }

  .hero--home .hero-content {
    width: auto;
    max-width: none;
    padding: 1.4rem 1.15rem 2.25rem;
    background: linear-gradient(180deg, #1a3358 0%, #0f1f3d 100%);
    text-shadow: none;
    animation: none;
  }

  .hero--home .hero-brand {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }

  .hero--home .hero-desc {
    font-size: 1.1rem;
    max-width: none;
    margin-bottom: 1.4rem;
  }

  .hero--home h1 {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
  }

  .hero--home .btn-primary {
    display: block;
    text-align: center;
    font-size: 1rem;
  }

  .page-hero {
    padding-top: 5rem;
    background:
      linear-gradient(180deg, rgba(10, 22, 40, 0.2) 0%, rgba(10, 22, 40, 0.55) 100%),
      var(--howard-image) center 40% / cover no-repeat;
  }

  .why { grid-template-columns: 1fr; }
  .why-photo,
  .why-photo--howard {
    min-height: 280px;
    background-size: cover;
    background-position: center 40%;
  }
  .cta-note { margin-left: 0; }
}

/* Storm Cleanup page: swap the green accents for emergency red */
.theme-storm {
  --lime: var(--danger-soft);
  --lime-dark: #b0231a;
}

.theme-storm .cta-bar {
  background: var(--danger);
}

.theme-storm .cta-inner h2,
.theme-storm .cta-phone,
.theme-storm .cta-note {
  color: #ffffff;
}

.theme-storm .page-hero {
  background:
    linear-gradient(105deg, rgba(70, 10, 5, 0.82) 0%, rgba(150, 26, 16, 0.42) 100%),
    var(--howard-image) center 40% / cover no-repeat;
}

.theme-storm .page-content h2 {
  color: var(--danger-dark, #a81f16);
}

.theme-storm .page-content a:not(.btn-primary) {
  color: var(--danger);
}

/* Large desktop / 30-inch-plus monitors */
@media (min-width: 1700px) {
  .hero-content {
    max-width: 40rem;
  }
}
