/* ===================================================
   LADY WRENCH PLUMBING — Dynamic Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --navy:       #1a2a6c;
  --navy-dark:  #0d1533;
  --navy-mid:   #1e3080;
  --gold:       #c9a84c;
  --gold-light: #f0c040;
  --gold-glow:  rgba(201,168,76,.3);
  --crimson:    #b21f3f;
  --crimson-dark: #8c1830;
  --white:      #ffffff;
  --light:      #f2f5ff;
  --text:       #1e1e2e;
  --muted:      #5a6480;
  --border:     #dde3f8;
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-xl:  40px;
  --r-pill:50px;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { transition: color .25s; }
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; }

/* ── LAYOUT ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy-dark); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
.section-label {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-size: .72rem;
  font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--crimson); background: rgba(178,31,63,.08); padding: 5px 14px;
  border-radius: var(--r-pill); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem,3vw,2.6rem); color: var(--navy); line-height: 1.2; }
.section-title span { color: var(--gold); }
.section-subtitle { color: var(--muted); line-height: 1.75; margin-top: 12px; font-size: .97rem; }
.accent-line {
  display: block; width: 54px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 18px;
}
.accent-line.center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: var(--r-pill); border: none;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
  cursor: pointer; text-decoration: none; letter-spacing: .03em;
  transition: all .3s cubic-bezier(.4,0,.2,1); white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(201,168,76,.5); color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 8px 24px rgba(26,42,108,.25); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-3px); color: var(--white); }
.btn-crimson { background: var(--crimson); color: var(--white); box-shadow: 0 8px 24px rgba(178,31,63,.3); }
.btn-crimson:hover { background: var(--crimson-dark); transform: translateY(-3px); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2.5px solid rgba(255,255,255,.65); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-lg { padding: 18px 42px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: .82rem; }

/* ── CARDS ───────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 4px 28px rgba(26,42,108,.07);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 18px 50px rgba(26,42,108,.14); }

/* ── WAVE DIVIDERS ───────────────────────────────── */
.wave { display: block; line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ── FIXED HEADER ────────────────────────────────── */
/* Fixed = out of layout flow, height changes never cause reflow/vibration */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
/* Shrink on scroll — topbar instant (no height animation = no jitter),
   logo shrinks smoothly via its own transition */
#site-header.scrolled .topbar {
  display: none;
}
#site-header.scrolled .nav-logo img {
  height: 70px;
}
#site-header.scrolled .nav-menu > li > a {
  padding: 16px 14px;
}

/* ── TOPBAR ──────────────────────────────────────── */
.topbar {
  background: var(--navy-dark); padding: 9px 0; font-size: .78rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left { color: rgba(255,255,255,.55); font-family: 'Montserrat', sans-serif; font-weight: 600; }
.topbar-right { display: flex; gap: 18px; align-items: center; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.topbar a { color: var(--gold); text-decoration: none; letter-spacing: .03em; }
.topbar a:hover { color: var(--gold-light); }
.topbar-sep { color: rgba(255,255,255,.2); }

/* ── NAVBAR ──────────────────────────────────────── */
.site-nav {
  background: var(--navy);
  box-shadow: 0 4px 32px rgba(0,0,0,.28);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; padding: 6px 0; }
.nav-logo img { height: 160px; width: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); transition: height .35s ease; }
.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 28px 14px;
  color: rgba(255,255,255,.88); text-decoration: none;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .76rem;
  letter-spacing: .07em; text-transform: uppercase;
  transition: color .25s;
  position: relative;
}
.nav-menu > li > a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 3px; background: var(--gold); border-radius: 2px 2px 0 0;
  transition: left .25s, right .25s;
}
.nav-menu > li > a:hover::after,
.nav-menu > li.active > a::after { left: 10px; right: 10px; }
.nav-menu > li > a:hover,
.nav-menu > li.active > a { color: var(--gold-light); }
.nav-arrow { font-size: .6rem; transition: transform .25s; }
.nav-menu > li:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 0px); left: 0;
  background: var(--navy-dark); min-width: 230px;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  padding: 8px 0; z-index: 1001;
}
.nav-menu > li:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 11px 22px;
  color: rgba(255,255,255,.7); font-size: .8rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  text-decoration: none; letter-spacing: .04em;
  transition: background .2s, color .2s, padding-left .2s;
  border-left: 3px solid transparent;
}
.nav-dropdown a:hover { background: rgba(255,255,255,.05); color: var(--gold-light); padding-left: 30px; border-left-color: var(--gold); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer { background: var(--navy-dark); }
.footer-main { padding: 70px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 120px; margin-bottom: 20px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.footer-brand p { font-size: .86rem; line-height: 1.8; color: rgba(255,255,255,.42); }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,.52); font-size: .85rem; text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0; font-size: .78rem; color: rgba(255,255,255,.3);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55);
  text-decoration: none; font-size: .85rem; font-weight: 700;
  transition: background .2s, color .2s, transform .2s;
}
.social-links a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* ── FADE IN — GSAP handles animation; elements visible by default (a11y) ── */
.fade-in { opacity: 1; transform: none; }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  padding: 140px 0 140px; text-align: center; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
.page-hero::before {
  content: ''; position: absolute;
  top: -120px; right: -120px; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.1) 0%, transparent 70%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-icon { font-size: 3.8rem; margin-bottom: 18px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.page-hero h1 { font-size: clamp(2rem,4vw,3.2rem); color: var(--white); margin-bottom: 14px; font-weight: 800; }
.page-hero h1 span { color: var(--gold-light); }
.page-hero .lead { font-size: 1.05rem; color: rgba(255,255,255,.68); max-width: 620px; margin: 0 auto 32px; line-height: 1.75; }
.breadcrumb { font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 18px; font-family: 'Montserrat', sans-serif; font-weight: 600; letter-spacing: .04em; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,.35); margin: 0 8px; }

/* ── SERVICE DETAIL LAYOUT ───────────────────────── */
.service-layout { padding: 80px 0 90px; }
.service-layout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.service-body h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 14px; }
.service-body p { color: var(--muted); line-height: 1.85; margin-bottom: 18px; font-size: .95rem; }
.service-body h3 { font-size: 1.1rem; color: var(--navy); margin: 28px 0 16px; }
.service-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.include-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--light); border-radius: var(--r-sm); padding: 12px 14px;
  font-size: .88rem; color: var(--text); font-weight: 500;
}
.include-item::before { content: '✓'; color: var(--gold); font-weight: 800; font-size: 1rem; flex-shrink: 0; }
/* Sidebar */
.service-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-cta {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--r-lg); padding: 36px; color: var(--white);
  box-shadow: 0 16px 50px rgba(26,42,108,.3);
}
.sidebar-cta h3 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 12px; }
.sidebar-cta p { color: rgba(255,255,255,.68); font-size: .87rem; line-height: 1.7; margin-bottom: 22px; }
.sidebar-phone { font-family: 'Montserrat', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.sidebar-phone span { color: var(--gold); }
.sidebar-sub { font-size: .78rem; color: rgba(255,255,255,.4); margin-bottom: 22px; }
.sidebar-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.sidebar-badge { background: rgba(255,255,255,.07); border-radius: var(--r-sm); padding: 10px 14px; font-size: .8rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.sidebar-services { background: var(--white); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 4px 24px rgba(26,42,108,.08); }
.sidebar-services h4 { font-size: .85rem; color: var(--navy); margin-bottom: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.sidebar-services ul { list-style: none; }
.sidebar-services ul li a { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .86rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); transition: color .2s, padding-left .2s; }
.sidebar-services ul li:last-child a { border-bottom: none; }
.sidebar-services ul li a:hover { color: var(--crimson); padding-left: 6px; }
.sidebar-services ul li a.active-link { color: var(--navy); font-weight: 700; }

/* ── FORM ────────────────────────────────────────── */
.form-card { background: var(--white); border-radius: var(--r-lg); padding: 40px; box-shadow: 0 8px 40px rgba(26,42,108,.1); }
.form-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; font-family: 'Montserrat', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 18px; border: 2px solid var(--border);
  border-radius: var(--r-md); font-family: 'Open Sans', sans-serif; font-size: .92rem;
  color: var(--text); transition: border-color .25s, box-shadow .25s; outline: none; background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── EMERGENCY BANNER ────────────────────────────── */
.emergency-banner { background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-dark) 100%); padding: 24px 0; text-align: center; }
.emergency-banner h2 { font-size: 1.25rem; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; }
.emergency-banner a { color: var(--gold-light); text-decoration: none; font-weight: 800; }

/* ── CTA STRIP ───────────────────────────────────── */
.cta-strip { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); padding: 20px 0; }
.cta-strip .container { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.cta-strip-item { display: flex; align-items: center; gap: 10px; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy-dark); font-size: .88rem; }
.cta-strip-icon { font-size: 1.4rem; }

/* ── TESTIMONIAL CARDS ───────────────────────────── */
.tcard { background: var(--white); border-radius: var(--r-lg); padding: 36px; box-shadow: 0 4px 28px rgba(26,42,108,.08); position: relative; overflow: hidden; }
.tcard::before { content: '"'; position: absolute; top: 10px; right: 20px; font-size: 6rem; color: var(--gold); opacity: .15; font-family: Georgia, serif; line-height: 1; }
.tcard-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.tcard p { font-size: .92rem; color: var(--muted); line-height: 1.78; font-style: italic; margin-bottom: 22px; }
.tcard-author { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .85rem; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.tcard-dot { width: 36px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; }

/* ── WHY US ──────────────────────────────────────── */
.why-card {
  text-align: center; padding: 40px 24px; background: var(--white);
  border-radius: var(--r-lg); box-shadow: 0 4px 24px rgba(26,42,108,.07);
  transition: transform .3s, box-shadow .3s; border-bottom: 4px solid transparent;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(26,42,108,.14); border-bottom-color: var(--gold); }
.why-icon { font-size: 2.6rem; margin-bottom: 18px; }
.why-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: .87rem; color: var(--muted); line-height: 1.7; }

/* ── OVERVIEW GRID (plumbing.html / drains.html) ─── */
.overview-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: 0 4px 24px rgba(26,42,108,.07);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border-top: 4px solid var(--navy); text-decoration: none; color: inherit;
}
.overview-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(26,42,108,.15); border-top-color: var(--gold); }
.overview-icon { font-size: 2.4rem; }
.overview-card h3 { font-size: 1.05rem; color: var(--navy); font-family: 'Montserrat', sans-serif; font-weight: 700; }
.overview-card p { font-size: .87rem; color: var(--muted); line-height: 1.65; flex: 1; }
.overview-link { font-size: .82rem; font-weight: 700; color: var(--gold); font-family: 'Montserrat', sans-serif; letter-spacing: .04em; margin-top: auto; display: flex; align-items: center; gap: 6px; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-layout-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-dark); padding: 10px 0;
    max-height: 80vh; overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 14px 24px; font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-menu > li > a::after { display: none; }
  .nav-dropdown { position: static; border-top: none; border-radius: 0; box-shadow: none; border-left: 3px solid var(--gold); margin-left: 20px; display: none; }
  .nav-menu > li.open > .nav-dropdown { display: block; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .service-includes { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-strip .container { gap: 20px; }
}
