/* G & S Plumbers — Emergency Dispatch Theme */
/* Brutalist Yellow: #F5C800 + #1A1A1A + #FFFFFF */
/* Anton (display) + Source Sans 3 (body) */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --yellow: #F5C800;
  --yellow-dark: #D4A900;
  --black: #1A1A1A;
  --gray-dark: #2C2C2C;
  --gray-mid: #555555;
  --gray-light: #F0F0F0;
  --white: #FFFFFF;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--yellow);
  color: var(--black);
  padding: .5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* ─── CAUTION TAPE ─── */
.caution-tape {
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 18px,
    var(--black) 18px,
    var(--black) 36px
  );
  height: 8px;
  width: 100%;
}

/* ─── HEADER ─── */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--yellow);
}
.header-top {
  background: var(--yellow);
  text-align: center;
  padding: .35rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: .5px;
}
.header-top a { color: var(--black); }
.header-top a:hover { text-decoration: underline; }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  text-decoration: none;
}
.logo-gs {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: 2px;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color .2s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--yellow); }

.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: .5rem 1.25rem;
  border-radius: 3px;
  font-weight: 700 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--yellow-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  padding: .4rem .6rem;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 3px;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: .875rem 2rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245,200,0,.4);
}
.btn-primary:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: .875rem 2rem;
  border-radius: 3px;
  border: 2px solid var(--white);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn-outline:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: .95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero h1 span { color: var(--yellow); }
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  max-width: 45ch;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 600;
}
.trust-icon { color: var(--yellow); font-size: 1.1rem; }

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--yellow);
  padding: 2.5rem 1.5rem;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-block { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--black);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  opacity: .7;
  display: block;
  margin-top: .25rem;
}

/* ─── SECTION COMMON ─── */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: .75rem;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 55ch;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Dark section */
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark .section-label { color: var(--yellow); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,.7); }

/* Light gray section */
.section-gray { background: var(--gray-light); }

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid #E5E5E5;
  border-top: 4px solid var(--yellow);
  padding: 1.75rem;
  border-radius: 0 0 4px 4px;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .5rem;
  line-height: 1.1;
}
.service-card p { font-size: .95rem; color: var(--gray-mid); line-height: 1.5; }

/* ─── ABOUT SPLIT ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 4px;
}
.about-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border-radius: 3px;
}

/* ─── TESTIMONIAL ─── */
.testimonial-block {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
}
.testimonial-stars { color: var(--yellow); font-size: 1.5rem; margin-bottom: 1rem; }
.testimonial-quote {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.75;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.5rem;
}
.testimonial-attr {
  font-weight: 700;
  color: var(--yellow);
  font-size: .9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.testimonial-source { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .25rem; }

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 2px solid #E5E5E5;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  gap: 1rem;
  color: var(--black);
  transition: color .2s;
}
.faq-item summary:hover { color: var(--yellow-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-chevron { transition: transform .3s; flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--yellow-dark); }
.faq-answer {
  padding: 0 0 1.25rem;
  line-height: 1.7;
  color: var(--gray-mid);
  font-size: .975rem;
}

/* ─── MAP ─── */
.map-wrap {
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--yellow);
  margin-top: 2rem;
}

/* ─── CONTACT FORM ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-list { margin-top: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-info-icon {
  background: var(--yellow);
  color: var(--black);
  width: 44px;
  height: 44px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-text strong { display: block; font-weight: 700; margin-bottom: .2rem; }
.contact-info-text a { color: var(--yellow-dark); }
.contact-info-text a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: 4px;
  padding: 2.5rem;
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--black);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--black);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #D0D0D0;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--yellow-dark);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 1px;
  padding: 1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  text-transform: uppercase;
}
.form-submit:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.form-submit:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  font-weight: 700;
  margin-top: 1rem;
  text-align: center;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-gs { font-size: 2.5rem; }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 30ch;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

/* ─── FLOATING CTA ─── */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: var(--yellow);
  color: var(--black);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245,200,0,.5);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  border: 3px solid var(--black);
}
.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(245,200,0,.7);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }
.reveal:nth-child(5) { transition-delay: .4s; }
.reveal:nth-child(6) { transition-delay: .5s; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--black);
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(245,200,0,.07) 0px,
    rgba(245,200,0,.07) 18px,
    transparent 18px,
    transparent 36px
  );
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: .75rem;
}
.page-hero h1 span { color: var(--yellow); }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 55ch;
}
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: var(--yellow); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .4; }

/* ─── EMERGENCY BANNER ─── */
.emergency-banner {
  background: var(--yellow);
  text-align: center;
  padding: 1.25rem 1.5rem;
}
.emergency-banner p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
}
.emergency-banner a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-accent { right: 0; bottom: -1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav { display: none; flex-direction: column; width: 100%; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gray-dark);
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-top: 3px solid var(--yellow);
  }
  .site-nav a { font-size: 1rem; padding: .5rem 0; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.75rem; }
  .stats-inner { gap: 1.5rem; }
}

@media (min-width: 768px) {
  .floating-cta { bottom: 2rem; right: 2rem; width: 66px; height: 66px; }
}
