/* All Flow Plumbing - Fresh Teal Flow Theme */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Lexend:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0E7A6B;
  --primary-dark: #0A5E52;
  --primary-light: #16A092;
  --dark: #0D2422;
  --accent: #FF6B35;
  --accent-dark: #E55520;
  --light-bg: #F3FAFA;
  --white: #FFFFFF;
  --text: #1A2E2C;
  --text-muted: #4A6361;
  --border: #C8E6E2;
  --card-bg: #FFFFFF;
  --shadow: 0 4px 24px rgba(14,122,107,0.10);
  --shadow-lg: 0 12px 48px rgba(14,122,107,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lexend', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: .5rem 1rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.top-bar {
  background: var(--primary);
  padding: .35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
}
.top-bar a { color: white; text-decoration: none; font-weight: 600; }
.top-bar 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;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Unbounded', sans-serif;
  font-size: .85rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .02em;
}
.logo-sub {
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  display: block;
  padding: .45rem .8rem;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: white;
  background: rgba(255,255,255,.1);
}
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: .45rem 1rem !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.3);
  color: white;
  padding: .4rem .6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,36,34,.9) 0%, rgba(14,122,107,.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,107,53,.15);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeDown .6s ease both;
}
.hero-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  animation: fadeDown .7s ease .1s both;
}
.hero-title span { color: var(--primary-light); }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 2rem;
  font-weight: 300;
  animation: fadeDown .7s ease .2s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeDown .7s ease .3s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: white;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.08); }

.btn-teal {
  background: var(--primary);
  color: white;
}
.btn-teal:hover { background: var(--primary-dark); }

/* Promo banner */
.promo-banner {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: .9rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
}
.promo-banner a { color: white; text-decoration: underline; }

/* Stats bar */
.stats-bar {
  background: var(--primary);
  color: white;
  padding: 1.25rem 1.5rem;
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 2rem;
  border-right: 1px solid rgba(255,255,255,.25);
}
.stat-item:last-child { border-right: none; }
.stat-icon { font-size: 1.4rem; opacity: .85; }
.stat-text { display: flex; flex-direction: column; line-height: 1.2; }
.stat-number {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.stat-label { font-size: .72rem; opacity: .8; letter-spacing: .05em; text-transform: uppercase; }

/* ---- SECTIONS ---- */
section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- SERVICES ---- */
.services-section { background: var(--light-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  color: white;
}
.service-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--dark);
  line-height: 1.25;
}
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.service-link:hover { color: var(--primary-dark); }

/* ---- TESTIMONIAL ---- */
.testimonial-section { background: var(--dark); }
.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-section .section-eyebrow { color: var(--primary-light); }
.testimonial-section .section-title { color: white; }
.testimonial-block {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(14,122,107,.4);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 2rem;
  margin-top: 2rem;
  position: relative;
}
.stars {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: .1em;
}
.testimonial-quote {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.testimonial-cite {
  font-size: .82rem;
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: .05em;
}
.quote-mark {
  position: absolute;
  top: -1rem;
  left: 2rem;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
  line-height: 1;
}

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: white;
}
.cta-band h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: .75rem;
}
.cta-band p { font-size: 1.05rem; opacity: .85; margin-bottom: 1.75rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- MAP ---- */
.map-section { background: var(--light-bg); }
#service-area-map { border-radius: 12px; border: 1.5px solid var(--border); }

/* ---- ABOUT SECTION (home page) ---- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-preview img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text-muted);
}
.check-icon {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: white;
  font-size: .7rem;
  font-weight: 700;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.footer-brand .logo-name { font-size: 1rem; margin-bottom: .25rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: .75rem; max-width: 280px; }
.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col li { font-size: .88rem; }
.footer-col a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
  opacity: .6;
}

/* ---- PAGE HEADERS (inner pages) ---- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 5rem 1.5rem 4rem;
  color: white;
}
.page-header .section-eyebrow { color: var(--primary-light); }
.page-header h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: .75rem;
  line-height: 1.1;
}
.page-header p { font-size: 1.1rem; opacity: .8; max-width: 580px; font-weight: 300; }

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1.5px solid var(--border);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: white;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,122,107,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--primary-dark);
}
.form-success .success-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.form-success h3 { font-family: 'Unbounded', sans-serif; font-size: 1.2rem; margin-bottom: .5rem; }

/* Contact info cards */
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
  border: 1.5px solid var(--border);
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card-text h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .2rem;
}
.contact-card-text p, .contact-card-text a {
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.contact-card-text a:hover { color: var(--primary); }

/* Services page detail */
.services-detail { padding: 4.5rem 1.5rem; }
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.service-detail-card:last-child { border-bottom: none; margin-bottom: 0; }
.service-detail-card.reverse { }
.service-detail-card.reverse .service-img { order: 2; }
.service-detail-card.reverse .service-text { order: 1; }
.service-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-text .section-title { font-size: 1.6rem; }
.service-features { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.service-feature {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.service-feature .check-icon { flex-shrink: 0; }

/* FAQ */
.faq-section { background: var(--light-bg); padding: 4.5rem 1.5rem; }
.faq-grid {
  max-width: 720px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--dark);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-chevron { transition: transform .3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- 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; }

/* Animated counter */
.counter-band {
  background: var(--light-bg);
  padding: 3.5rem 1.5rem;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}
.counters-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}
.counter-item { padding: 1rem 2rem; }
.counter-number {
  font-family: 'Unbounded', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
}
.counter-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-top: .4rem;
  display: block;
}

/* ---- FLOATING CTA ---- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: var(--accent);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(255,107,53,.4);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.floating-cta:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(255,107,53,.5); }
.floating-cta:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }

/* ---- KEYFRAMES ---- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--dark); border-top: 1px solid rgba(255,255,255,.1); padding: 1rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .hero { min-height: 70vh; }
  .about-preview { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-card { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail-card.reverse .service-img { order: 0; }
  .service-detail-card.reverse .service-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stat-item { padding: .5rem 1rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .counter-number { font-size: 2.2rem; }
  .top-bar { justify-content: center; gap: 1rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  section { padding: 3rem 1rem; }
  .hero-content { padding: 3rem 1rem; }
  .contact-form { padding: 1.5rem; }
}
