/* ============================================================
   Palmetto Springs Irrigation — style.css
   Atlas Connect Solutions LLC
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --green-dark:    #1B4332;
  --green-mid:     #2D6A4F;
  --green-light:   #52B788;
  --gold:          #C8961E;
  --gold-light:    #E8B84B;
  --cream:         #F8F5F0;
  --cream-dark:    #EDE8E0;
  --text-dark:     #1A1A1A;
  --text-mid:      #3D3D3D;
  --text-muted:    #6B6B6B;
  --white:         #FFFFFF;
  --border:        #D8D0C4;

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --font-mono:     'DM Mono', monospace;

  --radius:        6px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.14);

  --max-width:     1180px;
  --section-pad:   80px 20px;
}

/* --- Logo Image --- */
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer logo — slightly larger, brightness tweak if needed on dark bg */
.nav-logo-img--footer {
  height: 56px;
  filter: brightness(1.05);
}

/* Mobile nav logo — white version context */
.nav-logo-img--dark {
  height: 48px;
}

/* ============================================================
   IMAGE PLACEHOLDERS
   Replaced with real photos by swapping the background-image CSS
   or inserting an <img> tag inside .img-wrap. See IMAGE-REPLACEMENT-GUIDE.md
   ============================================================ */

/* Base wrapper used everywhere */
.img-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* Hero background strip */
.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

/* Service card top image */
.img-wrap--card {
  height: 180px;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -32px -28px 20px;
  width: calc(100% + 56px);
  flex-shrink: 0;
}

/* Service page hero image */
.img-wrap--hero {
  height: 340px;
  margin-bottom: 32px;
}

/* Gradient presets per service — used as background when no photo */
.img-bg--home      { background: linear-gradient(135deg, #2D6A4F 0%, #1B4332 60%, #0d2b1f 100%); }
.img-bg--sprinkler { background: linear-gradient(135deg, #40916C 0%, #2D6A4F 100%); }
.img-bg--repair    { background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 80%); }
.img-bg--startup   { background: linear-gradient(135deg, #52B788, #2D6A4F 70%); }
.img-bg--lake      { background: linear-gradient(135deg, #1a4a6e 0%, #2D6A4F 100%); }
.img-bg--fountain  { background: linear-gradient(135deg, #1a5276 0%, #148f77 100%); }
.img-bg--lighting  { background: linear-gradient(135deg, #1B4332 0%, #7d6608 100%); }

/* When a real photo is dropped in as background-image, nothing extra needed */

/* Actual <img> inside a wrap — for when client photo is dropped in */
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}


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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  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; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--green-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-mid); max-width: 68ch; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: var(--section-pad); }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title { margin-bottom: 14px; }
.section-intro { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 40px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-outline:hover { background: var(--green-dark); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav-placeholder { position: sticky; top: 0; z-index: 1000; }

.site-nav {
  background: var(--green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--green-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all 0.18s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown > a::after {
  content: ' \f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.72rem;
  margin-left: 3px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
  border-top: 3px solid var(--gold);
  /* Use visibility/opacity instead of display so we can add a closing delay */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0s linear 0.18s;
}

/* Invisible bridge fills the 8px gap between nav link and dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.15s ease, visibility 0s linear 0s;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text-dark) !important;
  font-size: 0.88rem;
  background: transparent !important;
  transition: background 0.15s;
}

.dropdown-menu a:hover { background: var(--cream) !important; color: var(--green-dark) !important; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-phone {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.nav-phone:hover { color: var(--white); }

.nav-cta .btn { padding: 9px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 20px 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  max-width: 26ch;
  line-height: 1.6;
}

.footer-brand .social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-links a:hover { background: var(--gold); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom-links { display: flex; gap: 18px; }

.footer-credit {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
  margin: 0 -20px;
}

.footer-credit a { color: rgba(255,255,255,0.45); }
.footer-credit a:hover { color: var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, #1a5c3a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="50" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat center/cover;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(200,150,30,0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,150,30,0.18);
  border: 1px solid rgba(200,150,30,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold-light); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  max-width: 50ch;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}

.trust-item i { color: var(--gold-light); font-size: 1rem; }

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-content: start;
}

.hero-card {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  text-decoration: none;
  cursor: pointer;
}

.hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200,150,30,0.7);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

.hero-card-img {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-card-text { padding: 10px 14px 12px; }
.hero-card-text h4 { color: var(--white); font-size: 0.88rem; font-weight: 600; margin-bottom: 2px; }
.hero-card-text p { color: rgba(255,255,255,0.6); font-size: 0.72rem; max-width: none; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover .service-link {
  gap: 10px;
  color: var(--green-dark);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-mid);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.service-link:hover { gap: 10px; color: var(--green-dark); }

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.features-section { background: var(--white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-num {
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.feature-body h4 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-body p { font-size: 0.9rem; color: var(--text-muted); max-width: none; }

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--green-dark);
  color: var(--white);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-strip h2 { color: var(--white); }
.about-strip p { color: rgba(255,255,255,0.75); max-width: none; }
.about-strip .section-label { color: var(--gold-light); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat-box .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-section { background: var(--cream); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.18s;
}

.area-chip i { color: var(--green-mid); font-size: 0.85rem; }
.area-chip:hover { border-color: var(--green-mid); background: var(--green-dark); color: var(--white); }
.area-chip:hover i { color: var(--gold-light); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #b8820f 100%);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0 auto 28px; font-size: 1.05rem; }
.cta-banner .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-detail h4 { color: var(--white); font-size: 0.82rem; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 3px; }
.contact-detail p, .contact-detail a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.contact-detail a:hover { color: var(--gold-light); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-form-wrap h3 { margin-bottom: 24px; }

.form-embed-placeholder {
  background: var(--cream);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-embed-placeholder i { font-size: 2rem; color: var(--border); margin-bottom: 10px; display: block; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 72px 20px 60px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin: 0 auto; max-width: 60ch; }
.page-hero .breadcrumb { display: flex; justify-content: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.82rem; margin-bottom: 16px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }
.page-hero .breadcrumb span { color: var(--gold-light); }

/* ============================================================
   SERVICE PAGE CONTENT
   ============================================================ */
.service-detail { background: var(--white); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.service-detail-list { margin-top: 24px; }

.service-detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-mid);
}

.service-detail-list li i { color: var(--green-mid); margin-top: 3px; flex-shrink: 0; }

.service-highlight-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 22px;
  margin-top: 28px;
}

.service-highlight-box h4 { margin-bottom: 8px; font-size: 1rem; }
.service-highlight-box p { font-size: 0.88rem; color: var(--text-muted); max-width: none; }

.service-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-cta-card {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--white);
  text-align: center;
}

.sidebar-cta-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.sidebar-cta-card p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin-bottom: 20px; max-width: none; }
.sidebar-cta-card .btn { width: 100%; justify-content: center; }

.sidebar-nav-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-nav-card h4 { font-size: 0.82rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 14px; }

.sidebar-nav-card ul li { margin-bottom: 4px; }
.sidebar-nav-card ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: all 0.15s;
}
.sidebar-nav-card ul li a:hover,
.sidebar-nav-card ul li a.active { background: var(--green-dark); color: var(--white); }
.sidebar-nav-card ul li a i { color: var(--gold); width: 16px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-values {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
}

.value-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.value-card h4 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); max-width: none; }

/* ============================================================
   AREAS PAGE
   ============================================================ */
.areas-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.2s;
}

.area-card:hover { border-color: var(--green-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.area-card-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.area-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.area-card p { font-size: 0.88rem; color: var(--text-muted); max-width: none; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--cream);
}

.error-page-inner { max-width: 480px; margin: 0 auto; }

.error-icon {
  width: 80px;
  height: 80px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 24px;
}

.error-page h1 { font-size: 1.8rem; margin-bottom: 12px; }
.error-page p { color: var(--text-muted); margin-bottom: 28px; max-width: none; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-content p { margin-bottom: 14px; font-size: 0.92rem; color: var(--text-mid); max-width: none; }
.legal-content ul { margin: 12px 0 14px 20px; }
.legal-content ul li { list-style: disc; font-size: 0.92rem; color: var(--text-mid); margin-bottom: 6px; }
.legal-content a { color: var(--green-mid); text-decoration: underline; }


/* ============================================================
   MOBILE NAV — Full-screen overlay (≤900px only)
   ============================================================ */

/* Hidden globally — only shown on mobile */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  z-index: 1000;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
}

/* Close button — top-right, matches hamburger shape */
.mn-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
}
.mn-close:hover { background: rgba(255,255,255,0.18); }

/* Logo centered at top */
.mn-logo-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.mn-logo-img { height: 48px; width: auto; }

/* Scrollable links area */
.mn-links {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}

/* Nav items */
.mn-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 17px 28px;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mn-item:hover,
.mn-item.active { background: rgba(255,255,255,0.05); color: var(--gold-light); }
.mn-item:focus { outline: none; }

/* Services accordion toggle */
.mn-accordion { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mn-accordion .mn-item { border-bottom: none; }
.mn-accordion-btn { justify-content: space-between; }
.mn-accordion-btn[aria-expanded="true"] { color: var(--gold-light); }

.mn-chevron {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  transition: transform 0.22s ease, color 0.15s;
  flex-shrink: 0;
}
.mn-accordion-btn[aria-expanded="true"] .mn-chevron {
  transform: rotate(180deg);
  color: var(--gold-light);
}

/* Accordion panel */
.mn-accordion-panel {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.18);
}
.mn-accordion-panel.open { display: flex; }

/* Sub-items */
.mn-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px 14px 40px;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s;
}
.mn-sub-item:last-child { border-bottom: none; }
.mn-sub-item:hover,
.mn-sub-item.active { background: rgba(255,255,255,0.06); color: var(--white); }
.mn-sub-item i { color: var(--gold); font-size: 0.8rem; width: 14px; flex-shrink: 0; }

/* Footer CTA block */
.mn-footer {
  padding: 16px 20px 24px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Call button */
.mn-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.mn-call-btn:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.mn-call-btn i { color: var(--gold-light); }

/* Estimate button — matches site btn-primary exactly */
.mn-estimate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mn-estimate-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── Tablet landscape ≤1024px ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content        { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
  .hero                { min-height: auto; }
  .hero-visual         { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-card-img       { height: 170px; }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .areas-grid          { grid-template-columns: repeat(3, 1fr); }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-strip-inner   { grid-template-columns: 1fr; gap: 32px; }
  .about-stats         { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait ≤768px ──────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-pad: 48px 20px; }

  h1 { font-size: clamp(1.6rem, 5.5vw, 2.2rem); line-height: 1.25; }
  h2 { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }

  .nav-inner           { height: 64px; }
  .nav-logo-img        { height: 46px; }

  .hero-content        { padding: 40px 20px; gap: 28px; }
  .hero-actions        { flex-direction: column; gap: 10px; }
  .hero-actions .btn,
  .hero-actions .btn-outline-white,
  .hero-actions .btn-primary--lg { width: 100%; justify-content: center; }
  .hero-trust          { gap: 10px; flex-wrap: wrap; }
  .trust-item          { font-size: 0.82rem; }
  .hero-visual         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-card-img       { height: 130px; }
  .hero-card-text      { padding: 10px 12px 12px; }
  .hero-card-text h4   { font-size: 0.85rem; }
  .hero-card-text p    { font-size: 0.72rem; }
  .hero-micro          { font-size: 0.75rem; }
  .hero-trust-line     { font-size: 0.78rem; }

  .about-intro-grid,
  .contact-grid,
  .service-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-sidebar     { position: static; }
  .features-grid       { grid-template-columns: 1fr; gap: 20px; }
  .areas-list-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-grid       { grid-template-columns: 1fr; }
  .img-wrap--card      { height: 200px; }
  .img-wrap--hero      { height: 220px; }
  .areas-grid          { grid-template-columns: repeat(2, 1fr); }
  .values-grid         { grid-template-columns: 1fr; }
  .about-stats         { grid-template-columns: repeat(2, 1fr); }
  .stat-box .stat-num  { font-size: 1.8rem; }

  .footer-grid         { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom       { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links { justify-content: center; }

  .cta-banner          { padding: 48px 20px; }
  .cta-banner .btn-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-banner .btn-actions .btn { width: 100%; justify-content: center; }

  .page-hero           { padding: 40px 20px 32px; }
  .contact-page-section { padding-top: 32px; }
  .error-actions       { flex-direction: column; align-items: center; }
  .error-actions .btn  { width: 100%; max-width: 280px; justify-content: center; }
}

/* ── Large phone ≤560px ─────────────────────────────────── */
@media (max-width: 560px) {
  :root { --section-pad: 40px 16px; }

  .nav-inner           { height: 60px; padding: 0 16px; }
  .nav-logo-img        { height: 40px; }

  .hero-content        { padding: 32px 16px; gap: 24px; }
  .hero-badge          { font-size: 0.66rem; letter-spacing: 0.06em; }
  .hero-visual         { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-card-img       { height: 110px; }
  .hero-card-text      { padding: 8px 10px 10px; }
  .hero-card-text h4   { font-size: 0.78rem; }
  .hero-card-text p    { display: none; }
  .hero-card-badge     { font-size: 0.54rem; padding: 2px 6px; }

  .about-stats         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-box            { padding: 16px 12px; }
  .stat-box .stat-num  { font-size: 1.6rem; }
  .stat-box .stat-label { font-size: 0.72rem; }

  .services-grid       { grid-template-columns: 1fr; }
  .img-wrap--card      { height: 190px; }
  .areas-grid          { grid-template-columns: repeat(2, 1fr); }
  .areas-list-grid     { grid-template-columns: 1fr; }
  .feature-item        { gap: 12px; }
  .feature-num         { width: 36px; height: 36px; font-size: 0.72rem; flex-shrink: 0; }
  .footer-grid         { gap: 20px; }
  .footer-brand p      { font-size: 0.82rem; }

  .contact-info-card   { padding: 20px 16px; overflow: hidden; }
  .contact-form-wrap   { padding: 20px 16px; }
  .contact-detail      { gap: 10px; margin-bottom: 16px; }
  .contact-detail-icon { width: 36px; height: 36px; font-size: 0.85rem; flex-shrink: 0; }
  .contact-detail h4   { font-size: 0.72rem; }
  .contact-detail p,
  .contact-detail a    { font-size: 0.85rem; word-break: break-word; overflow-wrap: break-word; }

  .sidebar-cta-card    { padding: 20px 16px; }
  .sidebar-nav-card    { padding: 16px 12px; }
  .sidebar-nav-card ul li a { padding: 8px 10px; font-size: 0.84rem; }
  .section-intro       { font-size: 0.92rem; }
}

/* ── Small phone ≤430px ─────────────────────────────────── */
@media (max-width: 430px) {
  :root { --section-pad: 36px 14px; }

  h1  { font-size: 1.5rem; }
  h2  { font-size: 1.25rem; }
  h3  { font-size: 1.05rem; }

  .nav-inner           { height: 56px; padding: 0 14px; }
  .nav-logo-img        { height: 36px; }

  .hero-content        { padding: 28px 14px; gap: 20px; }
  .hero-badge          { font-size: 0.62rem; padding: 4px 10px; }
  .hero-visual         { grid-template-columns: 1fr; gap: 8px; }
  .hero-card           { flex-direction: row; }
  .hero-card-img       { width: 110px !important; height: 82px; flex-shrink: 0; border-radius: 0; }
  .hero-card-text      { padding: 10px 12px; flex: 1; min-width: 0; }
  .hero-card-text h4   { font-size: 0.82rem; margin-bottom: 1px; }
  .hero-card-text p    { display: block; font-size: 0.7rem; }
  .hero-card-badge     { font-size: 0.5rem; padding: 2px 5px; top: 6px; left: 6px; }

  .about-stats         { grid-template-columns: repeat(2, 1fr); }
  .areas-grid          { grid-template-columns: 1fr; }
  .btn                 { padding: 13px 18px; font-size: 0.88rem; }
  .btn-primary--lg     { padding: 14px 20px; font-size: 0.92rem; }
  .service-card        { padding: 24px 18px; }

  .contact-info-card   { padding: 16px 14px; }
  .contact-form-wrap   { padding: 16px 14px; }
  .contact-detail-icon { width: 32px; height: 32px; font-size: 0.8rem; }
}

/* ============================================================
   UTILITY — word wrap for long emails/URLs
   ============================================================ */
.footer-contact-item       { overflow: hidden; }
.footer-contact-item a,
.footer-contact-item div   { word-break: break-word; overflow-wrap: break-word; min-width: 0; }

/* ============================================================
   HERO COMPONENT STYLES
   ============================================================ */

/* Larger primary CTA */
.btn-primary--lg {
  padding: 16px 34px;
  font-size: 1.02rem;
  box-shadow: 0 4px 18px rgba(200,150,30,0.35);
}
.btn-primary--lg:hover {
  box-shadow: 0 6px 24px rgba(200,150,30,0.5);
  transform: translateY(-2px);
}

/* Outline white secondary button */
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
}

/* Trust line under H1 */
.hero-trust-line {
  font-size: 0.84rem;
  color: var(--gold-light);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  margin: 6px 0 16px;
  max-width: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-line::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* Micro copy under CTAs */
.hero-micro {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 6px 0 24px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  max-width: none;
}

/* Featured card — Sprinkler Systems */
.hero-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,150,30,0.3);
}
.hero-card--featured:hover {
  border-color: var(--gold-light);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4), 0 0 0 1px var(--gold);
}

/* Most Requested badge */
.hero-card { position: relative; }
.hero-card-img { position: relative; overflow: hidden; }

.hero-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.58rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* View All Services — inside accordion panel */
.mn-view-all {
  color: var(--gold-light) !important;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding-top: 14px !important;
  margin-top: 2px;
  gap: 8px;
}
.mn-view-all i { color: var(--gold-light) !important; font-size: 0.75rem; }
.mn-view-all:hover { color: var(--white) !important; }
