/* =========================================================
   Wilson Plumbers George — Standalone Site Stylesheet
   ========================================================= */
:root {
  --navy: #172554;
  --navy-2: #1e3a8a;
  --sky: #38bdf8;
  --sky-dark: #0284c7;
  --orange: #f97316;
  --orange-light: #fb923c;
  --slate: #475569;
  --bg: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-topbar { background: var(--navy-2); color: #dbeafe; font-size: 13px; }
.site-topbar .container { display: flex; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 8px; }
.site-topbar a { color: #fff; font-weight: 600; }
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; position: relative; }
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-logo-badge { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), #2563eb); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.site-title { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.02em; display: block; }
.site-tagline { color: var(--sky); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; display: block; }
.main-nav ul { list-style: none; display: flex; gap: 26px; align-items: center; }
.main-nav a { color: #dbeafe; font-size: 14px; font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: var(--sky); }
.btn { display: inline-block; border-radius: 999px; font-weight: 800; cursor: pointer; border: none; transition: all .2s; }
.btn-orange { background: var(--orange); color: #fff !important; padding: 10px 22px; }
.btn-orange:hover { background: var(--orange-light); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,37,84,.96) 10%, rgba(23,37,84,.78) 50%, rgba(30,58,138,.35)); }
.hero .container { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero-badge { display: inline-block; background: rgba(56,189,248,.15); border: 1px solid rgba(56,189,248,.4); color: #bae6fd; font-size: 14px; font-weight: 600; padding: 6px 18px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1.1; max-width: 640px; }
.hero h1 span { color: var(--sky); }
.hero p.lead { margin-top: 20px; font-size: 18px; color: #dbeafe; max-width: 540px; }
.hero-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn-lg { padding: 16px 34px; font-size: 18px; }
.btn-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4); color: #fff !important; }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.hero-stats { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 520px; }
.hero-stat { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; text-align: center; padding: 18px 8px; }
.hero-stat strong { display: block; font-size: 28px; color: var(--sky); }
.hero-stat small { color: #dbeafe; }

/* Small page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; padding: 90px 20px 70px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; }
.page-hero p { color: #bfdbfe; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-kicker { text-align: center; color: var(--sky-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--navy); margin-top: 8px; }
.section-intro { text-align: center; color: var(--slate); max-width: 640px; margin: 16px auto 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 28px; transition: all .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(2,132,199,.12); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg,#e0f2fe,#dbeafe); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.service-card h3 { margin-top: 16px; font-size: 20px; color: var(--navy); }
.service-card p { margin-top: 8px; color: var(--slate); font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
.gallery-grid img { border-radius: 18px; height: 210px; width: 100%; object-fit: cover; box-shadow: 0 10px 25px rgba(0,0,0,.1); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 24px; height: 400px; width: 100%; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
.about-badge { position: absolute; bottom: -22px; right: 24px; background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 24px; box-shadow: 0 15px 35px rgba(0,0,0,.3); }
.about-badge strong { display: block; font-size: 26px; color: var(--sky); }
.about-copy .section-kicker, .about-copy .section-title { text-align: left; }
.about-copy p { color: var(--slate); margin-top: 18px; }
.check-list { list-style: none; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; color: #334155; }
.check-list li::before { content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #e0f2fe; color: var(--sky-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }

/* Why us */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-kicker { color: var(--sky); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 48px; }
.why-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px; }
.why-card .num { font-size: 34px; font-weight: 800; color: rgba(56,189,248,.55); }
.why-card h3 { margin-top: 10px; font-size: 18px; }
.why-card p { color: #bfdbfe; font-size: 14px; margin-top: 8px; }
.emergency-banner { margin-top: 56px; background: linear-gradient(90deg,#ea580c,var(--orange)); border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 25px 50px rgba(234,88,12,.35); }
.emergency-banner h3 { font-size: 28px; font-weight: 800; }
.emergency-banner p { color: #ffedd5; }
.btn-white { background: #fff; color: #ea580c !important; padding: 16px 34px; font-size: 18px; }
.btn-white:hover { transform: scale(1.05); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.testi-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.stars { color: #facc15; letter-spacing: 3px; }
.testi-card blockquote { margin-top: 14px; color: var(--slate); flex-grow: 1; font-style: italic; }
.testi-author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--sky),#2563eb); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.testi-author strong { display: block; color: var(--navy); }
.testi-author small { color: #64748b; }

/* Areas */
.area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.area-tag { background: #f0f9ff; border: 1px solid #bae6fd; color: var(--navy-2); border-radius: 999px; padding: 8px 20px; font-size: 14px; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.contact-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.contact-item .ci-icon { width: 48px; height: 48px; border-radius: 12px; background: #e0f2fe; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.contact-item small { display: block; text-transform: uppercase; letter-spacing: .1em; color: #64748b; font-weight: 700; font-size: 11px; }
.contact-item strong, .contact-item a { color: var(--navy); font-weight: 700; word-break: break-word; }
.contact-form-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 34px; box-shadow: 0 20px 40px rgba(0,0,0,.06); }
.contact-form-card label { display: block; font-size: 14px; font-weight: 700; color: #334155; margin: 14px 0 6px; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 12px 16px; font-size: 15px; font-family: inherit; }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { outline: 2px solid var(--sky); border-color: transparent; }
.contact-form-card .btn { width: 100%; margin-top: 20px; padding: 16px; font-size: 17px; }
.form-success { text-align: center; padding: 50px 10px; }
.form-success .big { font-size: 54px; }
.form-success h3 { color: var(--navy); font-size: 26px; margin-top: 12px; }
.form-success p { color: var(--slate); margin-top: 8px; }
.map-frame { width: 100%; height: 320px; border: 0; border-radius: 20px; margin-top: 48px; box-shadow: 0 15px 35px rgba(0,0,0,.1); }

/* Footer */
.site-footer { background: var(--navy); color: #bfdbfe; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding: 60px 0; }
.footer-grid h4 { color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid a { color: #bfdbfe; }
.footer-grid a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #22c55e; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 12px 30px rgba(34,197,94,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 16px 20px 24px; }
  .main-nav.open ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-toggle { display: block; }
}
