/* ============================================================
   GUTTER DONE — Site Styles
   Mobile-first. No frameworks. Plain CSS + custom properties.
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --gd-green:      #1B4332;
  --gd-green-dark: #0e2a1e;
  --gd-orange:     #FF6B35;
  --gd-orange-dark:#e05520;
  --gd-bg:         #FDFBF7;
  --gd-charcoal:   #2D3436;
  --gd-slate:      #5C6770;
  --gd-white:      #ffffff;
  --gd-border:     #ddd8cf;

  --gd-font-headline: 'Oswald', sans-serif;
  --gd-font-body:     'Lato', sans-serif;
  --gd-font-accent:   'Permanent Marker', cursive;

  --gd-radius:  6px;
  --gd-shadow:  0 2px 12px rgba(0,0,0,0.08);
  --gd-transition: 0.18s ease;

  --gd-max-width: 1100px;
  --gd-gutter:    1.25rem;
}

/* --- Reset / Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--gd-font-body);
  background: var(--gd-bg);
  color: var(--gd-charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--gd-max-width);
  margin: 0 auto;
  padding: 0 var(--gd-gutter);
}

.section-pad {
  padding: 3.5rem var(--gd-gutter);
}

.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;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--gd-font-headline);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--gd-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--gd-transition), color var(--gd-transition), border-color var(--gd-transition);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--gd-orange);
  color: var(--gd-white);
  border-color: var(--gd-orange);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--gd-orange-dark);
  border-color: var(--gd-orange-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--gd-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--gd-white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--gd-green);
  border-color: var(--gd-green);
}
.btn-ghost-dark:hover, .btn-ghost-dark:focus {
  background: var(--gd-green);
  color: var(--gd-white);
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  background: var(--gd-white);
  border-bottom: 2px solid var(--gd-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo a {
  display: flex;
  align-items: center;
  border-radius: 4px;
  /* Clean focus ring — no jolt, keyboard-accessible */
  outline: 2px solid transparent;
  outline-offset: 4px;
  transition: outline-color var(--gd-transition);
}
.nav-logo a:focus-visible {
  outline-color: var(--gd-green);
}

.nav-logo img {
  height: 48px;
  width: auto;
  /* Prevent subpixel blurriness on SVG logos scaled by CSS */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Phone — always visible */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone a.phone-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--gd-font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--gd-green);
  transition: color var(--gd-transition);
}
.nav-phone a.phone-link:hover { color: var(--gd-orange); }

.nav-phone .phone-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gd-charcoal);
  border-radius: 2px;
  transition: all 0.22s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-menu {
  display: none;
  background: var(--gd-white);
  border-top: 1px solid var(--gd-border);
  padding: 1rem 0;
}
.nav-menu.open { display: block; }

.nav-menu ul {
  display: flex;
  flex-direction: column;
}
.nav-menu ul li a {
  display: block;
  padding: 0.75rem var(--gd-gutter);
  font-family: var(--gd-font-headline);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gd-charcoal);
  border-bottom: 1px solid var(--gd-border);
  transition: color var(--gd-transition), background var(--gd-transition);
}
.nav-menu ul li a:hover {
  color: var(--gd-orange);
  background: var(--gd-bg);
}
.nav-menu ul li:last-child a { border-bottom: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--gd-green);
  color: var(--gd-white);
  padding: 3rem var(--gd-gutter) 0;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--gd-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* LEFT col */
.hero-content { flex: 1; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--gd-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gd-orange);
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.35);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  margin-bottom: 1.1rem;
}

.hero-headline {
  font-family: var(--gd-font-headline);
  font-weight: 900;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.hero-headline em {
  font-style: normal;
  color: var(--gd-orange);
}

.hero-sub {
  font-family: var(--gd-font-accent);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.1rem;
}

.hero-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
}

.trust-badge svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--gd-orange);
}

/* RIGHT col — photo */
.hero-photo {
  flex-shrink: 0;
  align-self: center;
}

.hero-img-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--gd-radius) var(--gd-radius) 0 0;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Review strip */
.review-strip {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 0;
}

.review-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars svg {
  width: 18px; height: 18px;
  color: var(--gd-orange);
  fill: var(--gd-orange);
}

.review-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

.review-text span {
  color: var(--gd-orange);
}

.review-source {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   SERVICES STRIP
   ============================================================ */
.services {
  background: var(--gd-bg);
  border-bottom: 1px solid var(--gd-border);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gd-orange);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--gd-font-headline);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase;
  color: var(--gd-charcoal);
  line-height: 1.15;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--gd-white);
  border: 1px solid var(--gd-border);
  border-radius: var(--gd-radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--gd-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--gd-transition), box-shadow var(--gd-transition);
}
.service-card:hover {
  border-color: var(--gd-green);
  box-shadow: 0 4px 20px rgba(27,67,50,0.12);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--gd-green);
  border-radius: var(--gd-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gd-white);
}

.service-icon svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
  stroke: var(--gd-white);
}

.service-title {
  font-family: var(--gd-font-headline);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gd-charcoal);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gd-slate);
  line-height: 1.6;
  flex: 1;
}

.service-link {
  font-family: var(--gd-font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--gd-transition);
  margin-top: auto;
}
.service-link:hover { color: var(--gd-orange-dark); }
.service-link::after { content: " →"; }

/* ============================================================
   WHY GUTTER DONE
   ============================================================ */
.why-section {
  background: var(--gd-green);
  color: var(--gd-white);
}

.why-section .section-title { color: var(--gd-white); }
.why-section .section-label { color: rgba(255,107,53,0.9); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--gd-radius);
  padding: 1.35rem;
}

.why-icon {
  width: 44px; height: 44px;
  background: var(--gd-orange);
  border-radius: var(--gd-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gd-white);
}

.why-icon svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  stroke: var(--gd-white);
}
/* lightning bolt uses fill="currentColor" — force white explicitly */
.why-icon svg polygon {
  fill: var(--gd-white);
}

.why-content h3 {
  font-family: var(--gd-font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  color: var(--gd-white);
}

.why-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.before-after {
  background: var(--gd-bg);
  border-top: 1px solid var(--gd-border);
  border-bottom: 1px solid var(--gd-border);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ba-item {
  position: relative;
  border-radius: var(--gd-radius);
  overflow: hidden;
  border: 1px solid var(--gd-border);
}

.ba-placeholder {
  width: 100%;
  padding-top: 66%;        /* ~3:2 ratio */
  background: var(--gd-green-dark);
  position: relative;
}

.ba-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 1rem;
}

.ba-placeholder-text svg {
  width: 28px; height: 28px;
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.ba-label {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-family: var(--gd-font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  z-index: 2;
}
.ba-label.before { background: var(--gd-charcoal); color: var(--gd-white); }
.ba-label.after  { background: var(--gd-orange);   color: var(--gd-white); }

.ba-caption {
  text-align: center;
  font-family: var(--gd-font-headline);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gd-slate);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--gd-green);
  color: var(--gd-white);
  text-align: center;
}

.cta-band-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-band-headline {
  font-family: var(--gd-font-headline);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.cta-band-headline em {
  font-style: normal;
  color: var(--gd-orange);
}

.cta-band-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.75rem;
}

.cta-band-phone {
  display: block;
  font-family: var(--gd-font-headline);
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: 0.03em;
  color: var(--gd-white);
  margin-bottom: 1.5rem;
  transition: color var(--gd-transition);
  cursor: pointer;
}
.cta-band-phone:hover { color: var(--gd-orange); }

.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gd-charcoal);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem var(--gd-gutter);
}

.footer-inner {
  max-width: var(--gd-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  /* Monochrome logo — invert for dark bg */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-name {
  font-family: var(--gd-font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gd-white);
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-phone-link {
  font-weight: 700;
  color: var(--gd-orange);
  font-size: 1rem;
  transition: color var(--gd-transition);
}
.footer-phone-link:hover { color: #ff8c60; }

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}

/* ============================================================
   DESKTOP — min-width: 640px
   ============================================================ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* ============================================================
   DESKTOP — min-width: 900px
   ============================================================ */
@media (min-width: 900px) {

  /* Nav */
  .site-nav .container { height: 76px; }
  .nav-logo img { height: 56px; }
  .nav-toggle { display: none; }

  .nav-menu {
    display: block !important;
    background: transparent;
    border: none;
    padding: 0;
  }
  .nav-menu ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }
  .nav-menu ul li a {
    padding: 0.4rem 0.75rem;
    border: none;
    font-size: 0.82rem;
    border-radius: 4px;
    color: var(--gd-charcoal);
  }
  .nav-menu ul li a:hover {
    background: var(--gd-bg);
    color: var(--gd-green);
  }

  /* Hero */
  .hero {
    padding: 4.5rem var(--gd-gutter) 0;
  }

  .hero-inner {
    flex-direction: row;
    align-items: flex-end;
    gap: 3rem;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-photo {
    width: 440px;
    flex-shrink: 0;
  }

  .hero-img-wrap {
    max-width: 100%;
  }

  .hero-img-wrap img {
    height: auto;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Why */
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
}
