/*
Theme Name: Handyman Hire Wembley
Theme URI: https://handymanhirewembley.co.uk
Author: Handyman Hire Wembley
Description: SEO-optimized lead-generation theme for a local handyman 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: hhw
*/

/* ====================================================
   DESIGN TOKENS
   Subject: toolbox, workshop, everyday practical repairs —
   versatility rather than a single certified trade. Palette is
   warm walnut ink with tape-measure yellow and a worn-denim blue,
   distinct from the plumber's copper, electrician's amber/circuit,
   and locksmith's brass/graphite.
   ==================================================== */
:root{
  --ink:      #23201B;   /* walnut/toolbox dark */
  --ink-soft: #2E2A23;
  --tape:     #E8A93A;   /* tape-measure yellow — primary accent */
  --tape-soft:#F0C273;
  --denim:    #3D5A73;   /* worn-denim blue — secondary accent */
  --canvas:   #F3EEE3;   /* background — canvas/khaki cream */
  --paper:    #FFFFFF;
  --slate:    #3A362F;
  --slate-60: rgba(58,54,47,.65);
  --line:     #E1D9C7;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --alert:    #B33A3A;

  --display: 'Archivo', '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(35,32,27,.35);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--canvas);
  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.08; letter-spacing:-.005em; }
h1{ font-weight:800; }
h2{ font-weight:700; }
h3{ font-weight:700; }
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(--denim); font-weight:600; display:inline-block; margin-bottom:10px;
}
section{ padding:88px 0; }
@media (max-width:768px){ section{ padding:56px 0; } }

/* ====================================================
   SIGNATURE ELEMENT — tape-measure divider
   A baseline with major/minor tick marks like a measuring tape,
   standing in for a section rule. Distinct from the plumber's pipe
   elbow, the electrician's circuit trace, and the locksmith's keyway.
   ==================================================== */
.tape-divider{ width:100%; height:34px; }
.tape-divider svg{ width:100%; height:100%; display:block; }
.tape-divider path:first-child{ fill:none; stroke:var(--line); stroke-width:2; }
.tape-divider path:last-child{ fill:none; stroke:var(--tape); stroke-width:2.5; }

/* ====================================================
   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-tape{ background:var(--tape); color:var(--ink); box-shadow:0 10px 24px -10px rgba(232,169,58,.5); }
.btn-tape:hover{ background:var(--tape-soft); }
.btn svg{ width:18px; height:18px; flex-shrink:0; }

/* ====================================================
   TOP 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(--tape-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:23px; color:var(--ink); margin:0; }
.site-title span{ color:var(--denim); }
.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-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(155deg, var(--ink) 0%, var(--ink-soft) 55%, #34301F 100%);
  color:#fff; padding:96px 0 80px; position:relative; overflow:hidden;
}
.hero::before{
  content:""; position:absolute; right:-110px; top:-90px; width:520px; height:520px;
  background:radial-gradient(circle, rgba(232,169,58,.18) 0%, rgba(232,169,58,0) 70%);
}
.hero::after{
  content:""; position:absolute; left:-160px; bottom:-160px; width:420px; height:420px;
  background:radial-gradient(circle, rgba(61,90,115,.22) 0%, rgba(61,90,115,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,54px); max-width:15ch; }
.hero h1 em{ font-style:normal; color:var(--tape-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(--tape-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(--canvas); }
.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:#FFFCF4; }
.service-card .icon{ width:44px; height:44px; color:var(--denim); margin-bottom:16px; }
.service-card h3{ font-size:19px; 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(--ink); font-weight:600; border-bottom:2px solid var(--tape); padding-bottom:1px; }
@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(--denim); 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 .figure{ font-family:var(--mono); font-size:38px; font-weight:600; color:var(--tape-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(--canvas); }
.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(--denim); 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(--tape-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(--canvas); }
.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(--denim); 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(--tape); color:var(--ink); text-align:center; }
.final-cta h2{ color:var(--ink); font-size:clamp(28px,4vw,42px); max-width:20ch; margin:0 auto 14px; }
.final-cta p{ color:rgba(35,32,27,.75); max-width:50ch; margin:0 auto 30px; }
.final-cta .btn-whatsapp{ background:var(--ink); color:#fff; }
.final-cta .btn-whatsapp:hover{ background:#000; }

/* ====================================================
   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(--denim); outline-offset:2px;
}
