/*
Theme Name: Plumber Hire Wembley
Theme URI: https://plumberhirewembley.com
Author: Plumber Hire Wembley
Description: SEO-optimized lead-generation theme for a local plumbing business in Wembley, London. WhatsApp-first contact, LocalBusiness + FAQ schema, mobile-first performance build.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: phw
*/

/* ====================================================
   DESIGN TOKENS
   ==================================================== */
:root{
  --ink:      #10233B;   /* deep navy — headers, primary */
  --ink-soft: #1A3358;
  --copper:   #C97D3F;   /* pipe copper accent */
  --copper-soft: #E4A876;
  --cream:    #F6F3EC;   /* background */
  --paper:    #FFFFFF;
  --slate:    #3A4048;   /* body text */
  --slate-60: rgba(58,64,72,.65);
  --line:     #DDD6C7;   /* hairline on cream */
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --alert:    #B33A3A;

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'IBM Plex Mono', 'Courier New', monospace;

  --radius: 4px;
  --shadow: 0 12px 30px -14px rgba(16,35,59,.35);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--slate);
  font-family:var(--body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--display); color:var(--ink); margin:0 0 .4em; line-height:1.05; letter-spacing:.01em; }
h1{ font-weight:800; }
h2{ font-weight:700; }
h3{ font-weight:600; }
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.eyebrow{
  font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--copper); font-weight:600; display:inline-block; margin-bottom:10px;
}
section{ padding:88px 0; }
@media (max-width:768px){ section{ padding:56px 0; } }

/* ====================================================
   SIGNATURE ELEMENT — pipe-route divider
   A schematic plumbing line with elbow joints, used between
   sections instead of a generic rule. Encodes the trade itself.
   ==================================================== */
.pipe-divider{ width:100%; height:34px; }
.pipe-divider svg{ width:100%; height:100%; display:block; }
.pipe-divider path{ fill:none; stroke:var(--line); stroke-width:3; }
.pipe-divider circle{ fill:var(--copper); }

/* ====================================================
   BUTTONS
   ==================================================== */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-weight:600; font-size:15px;
  padding:14px 26px; border-radius:var(--radius); border:2px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; box-shadow:0 10px 24px -10px rgba(37,211,102,.55); }
.btn-whatsapp:hover{ background:var(--whatsapp-dark); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.4); color:#fff; }
.btn-outline:hover{ border-color:#fff; }
.btn-copper{ background:var(--copper); color:#fff; box-shadow:0 10px 24px -10px rgba(201,125,63,.5); }
.btn-copper:hover{ background:#B36A2E; }
.btn svg{ width:18px; height:18px; flex-shrink:0; }

/* ====================================================
   TOP EMERGENCY BAR
   ==================================================== */
.top-bar{
  background:var(--ink); color:#fff; font-family:var(--mono); font-size:13px;
  padding:8px 0;
}
.top-bar .container{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.top-bar a{ color:var(--copper-soft); }
.top-bar .top-bar-tel{ display:flex; align-items:center; gap:8px; }

/* ====================================================
   HEADER
   ==================================================== */
.site-header{
  background:var(--paper); border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:100;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap:20px; }
.site-branding{ display:flex; align-items:center; gap:12px; }
.site-title{ font-family:var(--display); font-weight:800; font-size:24px; color:var(--ink); margin:0; }
.site-title span{ color:var(--copper); }
.site-tagline{ font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--slate-60); margin:0; }
.custom-logo{ height:56px; width:auto; }
.header-cta{ display:flex; align-items:center; gap:14px; }
.header-cta .btn{ padding:12px 20px; font-size:14px; }
.header-cta .btn-whatsapp{ background:var(--whatsapp); color:#fff; }
.header-phone{
  display:flex; flex-direction:column; align-items:flex-end; font-family:var(--mono);
}
.header-phone a{ font-weight:600; color:var(--ink); font-size:16px; }
.header-phone small{ color:var(--slate-60); font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:640px){
  .header-phone{ display:none; }
  .site-tagline{ display:none; }
}

/* ====================================================
   HERO
   ==================================================== */
.hero{
  background:linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 55%, #12294A 100%);
  color:#fff; padding:96px 0 80px; position:relative; overflow:hidden;
}
.hero::before{
  content:""; position:absolute; right:-120px; top:-80px; width:520px; height:520px;
  background:radial-gradient(circle, rgba(201,125,63,.25) 0%, rgba(201,125,63,0) 70%);
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; position:relative; }
.hero h1{ color:#fff; font-size:clamp(34px,5vw,56px); max-width:14ch; }
.hero h1 em{ font-style:normal; color:var(--copper-soft); }
.hero-sub{ font-size:18px; color:rgba(255,255,255,.82); max-width:46ch; margin-bottom:28px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px; }
.hero-trust{ display:flex; gap:26px; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:9px; font-family:var(--mono); font-size:12.5px; color:rgba(255,255,255,.75); text-transform:uppercase; letter-spacing:.04em; }
.trust-item svg{ width:18px; height:18px; color:var(--copper-soft); flex-shrink:0; }

.hero-card{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-radius:8px; padding:28px; backdrop-filter:blur(6px);
}
.hero-card h3{ color:#fff; font-size:20px; margin-bottom:16px; }
.hero-card ul{ display:flex; flex-direction:column; gap:12px; margin-bottom:20px; }
.hero-card li{ display:flex; gap:10px; align-items:flex-start; color:rgba(255,255,255,.85); font-size:14.5px; }
.hero-card li svg{ width:18px; height:18px; color:var(--whatsapp); flex-shrink:0; margin-top:2px; }
.hero-card .btn{ width:100%; justify-content:center; }
.hero-card .response-time{ font-family:var(--mono); font-size:12px; text-align:center; color:rgba(255,255,255,.6); margin-top:12px; }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero{ padding:64px 0 48px; text-align:left; }
}

/* ====================================================
   SERVICES
   ==================================================== */
.services{ background:var(--cream); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head p{ color:var(--slate-60); font-size:17px; }
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.service-card{ background:var(--paper); padding:32px 28px; transition:background .15s ease; }
.service-card:hover{ background:#FFFDF8; }
.service-card .icon{ width:44px; height:44px; color:var(--copper); margin-bottom:16px; }
.service-card h3{ font-size:21px; margin-bottom:8px; }
.service-card p{ color:var(--slate-60); font-size:14.5px; margin-bottom:14px; }
.service-card a{ font-family:var(--mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--copper); font-weight:600; }
@media (max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

/* ====================================================
   WHY US / STATS STRIP
   ==================================================== */
.why{ background:var(--paper); }
.why-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.why-list{ display:flex; flex-direction:column; gap:22px; }
.why-item{ display:flex; gap:16px; }
.why-item .num{ font-family:var(--mono); font-weight:600; color:var(--copper); font-size:14px; flex-shrink:0; padding-top:3px; }
.why-item h4{ font-family:var(--body); font-weight:700; font-size:16px; color:var(--ink); margin-bottom:4px; }
.why-item p{ color:var(--slate-60); font-size:14.5px; margin:0; }
.stat-panel{ background:var(--ink); border-radius:8px; padding:40px; color:#fff; }
.stat-row{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.stat{ }
.stat .figure{ font-family:var(--mono); font-size:38px; font-weight:600; color:var(--copper-soft); line-height:1; }
.stat .label{ font-size:13px; color:rgba(255,255,255,.7); margin-top:8px; }
@media (max-width:900px){ .why-grid{ grid-template-columns:1fr; gap:36px; } }

/* ====================================================
   SERVICE AREAS (local SEO)
   ==================================================== */
.areas{ background:var(--cream); }
.areas-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.area-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.area-chips span{
  font-family:var(--mono); font-size:12.5px; background:var(--paper); border:1px solid var(--line);
  padding:8px 14px; border-radius:100px; color:var(--slate);
}
.areas-copy p{ color:var(--slate-60); }
@media (max-width:900px){ .areas-grid{ grid-template-columns:1fr; gap:28px; } }

/* ====================================================
   PROCESS
   ==================================================== */
.process{ background:var(--paper); }
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-step{ padding:0 20px; position:relative; }
.process-step .step-num{
  font-family:var(--mono); font-size:13px; color:var(--copper); font-weight:600;
  display:flex; align-items:center; gap:10px; margin-bottom:14px;
}
.process-step .step-num::after{ content:""; height:1px; flex:1; background:var(--line); }
.process-step h4{ font-size:18px; margin-bottom:8px; }
.process-step p{ font-size:14px; color:var(--slate-60); margin:0; }
@media (max-width:900px){ .process-grid{ grid-template-columns:1fr 1fr; gap:32px 0; } }
@media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonials{ background:var(--ink); color:#fff; }
.testimonials .section-head h2{ color:#fff; }
.testimonials .section-head p{ color:rgba(255,255,255,.65); }
.t-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.t-card{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:8px; padding:26px; }
.t-stars{ color:var(--copper-soft); font-family:var(--mono); font-size:14px; margin-bottom:14px; letter-spacing:2px; }
.t-card p{ font-size:15px; color:rgba(255,255,255,.85); margin-bottom:16px; }
.t-name{ font-family:var(--mono); font-size:12.5px; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.06em; }
@media (max-width:900px){ .t-grid{ grid-template-columns:1fr; } }

/* ====================================================
   FAQ
   ==================================================== */
.faq{ background:var(--cream); }
.faq-list{ max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line); padding:22px 0; }
.faq-item summary{ cursor:pointer; font-family:var(--body); font-weight:700; font-size:16.5px; color:var(--ink); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-family:var(--mono); font-size:22px; color:var(--copper); flex-shrink:0; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ color:var(--slate-60); margin-top:12px; font-size:15px; max-width:70ch; }

/* ====================================================
   FINAL CTA
   ==================================================== */
.final-cta{ background:var(--copper); color:#fff; text-align:center; }
.final-cta h2{ color:#fff; font-size:clamp(28px,4vw,42px); max-width:20ch; margin:0 auto 14px; }
.final-cta p{ color:rgba(255,255,255,.9); max-width:50ch; margin:0 auto 30px; }
.final-cta .btn-whatsapp{ background:var(--ink); }
.final-cta .btn-whatsapp:hover{ background:#0B1A2E; }

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.7); padding:60px 0 24px; font-size:14px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-grid h4{ color:#fff; font-family:var(--body); font-size:14px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-grid ul{ display:flex; flex-direction:column; gap:10px; }
.footer-grid a:hover{ color:#fff; }
.footer-brand .site-title{ color:#fff; }
.footer-brand p{ color:rgba(255,255,255,.6); font-size:13.5px; margin-top:12px; max-width:32ch; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; font-family:var(--mono); color:rgba(255,255,255,.45); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ====================================================
   FLOATING WHATSAPP BUTTON
   ==================================================== */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:200;
  background:var(--whatsapp); color:#fff; width:60px; height:60px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:0 12px 26px -6px rgba(37,211,102,.6);
  transition:transform .15s ease;
}
.wa-float:hover{ transform:scale(1.07); }
.wa-float svg{ width:30px; height:30px; }
@media (max-width:640px){ .wa-float{ width:54px; height:54px; bottom:16px; right:16px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn, .wa-float, .service-card{ transition:none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline:2px solid var(--copper); outline-offset:2px;
}
