/*
Theme Name: South East & London Cleaning Co
Theme URI: https://southeastlondoncleaning.co.uk
Author: South East & London Cleaning Co
Description: Premium dark-theme custom theme for South East & London Cleaning Co. Includes a unified "South East & London Cleaning Co" admin hub, a Services custom post type with full detail pages, a central duplicable FAQ system, a Testimonials post type, an Areas We Cover taxonomy, native WordPress-menu navigation, About Us/Contact Us/FAQs pages, a custom multi-recipient contact form, an activatable Holding Page, and per-page SEO (title/description/focus keyword) with header tracking scripts.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: selondoncleaning
*/

:root{
  --bg:#070a0f;
  --bg-elevated:#0e131b;
  --bg-elevated-2:#161d28;
  --card-bg:#212b3a;
  --card-bg-soft:#1a212c;
  --card-border:rgba(255,255,255,0.16);
  --border:rgba(255,255,255,0.08);
  --border-strong:rgba(255,255,255,0.14);
  --text:#eef2f7;
  --text-muted:#93a1b5;
  --text-faint:#5c6b81;
  --accent:#57ace0;
  --accent-bright:#7fc4ef;
  --accent-dark:#1a5580;
  --accent-glow:rgba(87,172,224,0.28);
  --success:#3fbf8f;
  --error:#f2836b;
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --space-1:8px;
  --space-2:16px;
  --space-3:24px;
  --space-4:32px;
  --space-5:48px;
  --space-6:64px;
  --space-7:96px;
  --ease:cubic-bezier(0.16,1,0.3,1);
  --font-display: 'Bricolage Grotesque', 'IBM Plex Sans', -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dot-accent: radial-gradient(rgba(127,196,239,0.4) 1.5px, transparent 1.7px);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{font-family:var(--font-display);}

img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;}

.container{
  width:100%;
  max-width:1220px;
  margin:0 auto;
  padding:0 var(--space-3);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--accent-bright);
  outline-offset:3px;
  border-radius:4px;
}

.glow-field{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(87,172,224,0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(87,172,224,0.10), transparent 60%),
    var(--bg);
  pointer-events:none;
}

/* ---------- Header ---------- */
header.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(7,10,15,0.75);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:84px;
  gap:var(--space-3);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand img{
  height:52px;
  width:auto;
  border-radius:6px;
  flex-shrink:0;
}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
  min-width:0;
}
.brand-text strong{
  font-family:var(--font-display);
  font-size:15px;
  font-weight:700;
  letter-spacing:0.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-text span{
  font-size:11px;
  color:var(--text-muted);
  letter-spacing:1.6px;
  text-transform:uppercase;
}
nav.primary-nav{
  display:flex;
  align-items:center;
  gap:var(--space-5);
}
.nav-links{
  display:flex;
  gap:var(--space-4);
}
.nav-links a{
  font-size:14.5px;
  font-weight:500;
  color:var(--text-muted);
  padding:10px 2px;
  position:relative;
  transition:color 200ms var(--ease);
}
.nav-links a:hover{color:var(--text);}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  background:var(--accent);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 250ms var(--ease);
}
.nav-links a:hover::after{transform:scaleX(1);}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:600;
  font-size:14.5px;
  border-radius:999px;
  border:1px solid transparent;
  padding:13px 24px;
  min-height:44px;
  transition:transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--accent-dark);
  color:#ffffff;
  box-shadow:0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px -8px rgba(87,172,224,0.45);
}
.btn-ghost{
  background:transparent;
  border-color:var(--border-strong);
  color:var(--text);
}
.btn-ghost:hover{
  border-color:var(--accent);
  background:rgba(87,172,224,0.08);
}
.btn-block{width:100%;}
.btn:disabled{opacity:0.6;cursor:not-allowed;transform:none !important;}

.menu-toggle{
  display:none;
  position:relative;
  background:transparent;
  border:1px solid var(--border-strong);
  border-radius:10px;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  color:var(--text);
  flex-shrink:0;
}
.menu-toggle .bar{
  position:absolute;
  left:50%;
  width:18px;
  height:2px;
  background:currentColor;
  border-radius:2px;
  transform:translateX(-50%);
  transition:transform 250ms var(--ease), opacity 180ms var(--ease);
}
.menu-toggle .bar:nth-child(1){top:16px;}
.menu-toggle .bar:nth-child(2){top:21px;}
.menu-toggle .bar:nth-child(3){top:26px;}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1){transform:translateX(-50%) translateY(5px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] .bar:nth-child(2){opacity:0;}
.menu-toggle[aria-expanded="true"] .bar:nth-child(3){transform:translateX(-50%) translateY(-5px) rotate(-45deg);}

/* ---------- Hero ---------- */
.hero{
  padding:var(--space-7) 0 var(--space-6);
  position:relative;
  background-size:cover;
  background-position:center 30%;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:var(--space-6);
  align-items:center;
}
h1{
  font-size:clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-1.2px;
  margin-bottom:var(--space-3);
}
h1 .accent-text{
  color:var(--accent-bright);
  font-weight:800;
}
.hero p.lead{
  font-size:18px;
  color:var(--text-muted);
  max-width:520px;
  margin-bottom:var(--space-4);
}
.hero-ctas{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:var(--space-4);
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-4);
}
.trust-item{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13.5px;
  color:var(--text-muted);
  font-weight:500;
}
.trust-item svg{width:18px;height:18px;color:var(--accent);flex-shrink:0;}

.hero-proof{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:var(--space-3);
  font-size:14px;
  color:var(--text-muted);
}
.hero-proof-stars{display:flex;gap:2px;color:var(--accent-bright);flex-shrink:0;}
.hero-proof-stars svg{width:14px;height:14px;}
.hero-proof strong{color:var(--text);font-weight:700;}

.hero-visual{
  position:relative;
  max-width:420px;
  margin:0 auto;
}
.hero-dotmap{
  position:absolute;
  background-image:var(--dot-accent);
  background-size:14px 14px;
  border-radius:26px;
  z-index:0;
}
.hero-dotmap-a{width:150px;height:150px;top:-30px;right:-26px;}
.hero-dotmap-b{
  width:110px;height:110px;bottom:-26px;left:-22px;
  background-image:radial-gradient(rgba(87,172,224,0.3) 1.5px, transparent 1.7px);
  background-size:16px 16px;
}
.hero-photo-panel{
  position:relative;
  z-index:1;
  aspect-ratio:4/5;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--border-strong);
  box-shadow:0 40px 90px -30px rgba(0,0,0,0.65);
  background:var(--bg-elevated-2);
}
.hero-photo-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-photo-tint{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,7,11,0) 50%, rgba(5,7,11,0.7) 100%),
    radial-gradient(circle at 75% 12%, rgba(87,172,224,0.2), transparent 55%);
}
.hero-logo-badge{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(7,10,15,0.72);
  border:1px solid var(--border-strong);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border-radius:999px;
  padding:6px 14px 6px 6px;
  box-shadow:0 10px 24px -8px rgba(0,0,0,0.5);
  max-width:calc(100% - 36px);
}
.hero-logo-badge img{width:26px;height:26px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.hero-logo-badge span{
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.2px;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

section{padding:var(--space-7) 0;}
.section-head{
  max-width:640px;
  margin:0 auto var(--space-6);
  text-align:center;
}
.section-head h2{
  font-size:clamp(1.9rem, 3vw, 2.6rem);
  font-weight:800;
  letter-spacing:-0.8px;
  margin-bottom:var(--space-2);
}
.section-head p{color:var(--text-muted);font-size:16.5px;}

.dot-divider{
  height:44px;
  background-image:var(--dot-accent);
  background-size:18px 18px;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
  opacity:0.55;
}

/* ---------- Services ---------- */
#services{position:relative;}
#services::before{
  content:"";
  position:absolute;
  top:-40px; left:50%;
  transform:translateX(-50%);
  width:900px; height:500px;
  background:radial-gradient(ellipse 60% 50% at 50% 0%, rgba(87,172,224,0.14), transparent 70%);
  pointer-events:none;
}
#services .container{position:relative;z-index:1;}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-3);
}
.service-card{
  position:relative;
  background:linear-gradient(165deg, var(--card-bg), var(--card-bg-soft));
  border:1px solid var(--card-border);
  border-radius:var(--radius-lg);
  padding:var(--space-5) var(--space-4) var(--space-4);
  box-shadow:0 18px 40px -24px rgba(0,0,0,0.6);
  overflow:hidden;
  transition:transform 320ms var(--ease), border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
/* Permanent accent bar — reuses the exact reveal-bar motif already used
   on nav-link hover (.nav-links a::after), given a fixed home at the top
   of every card instead of appearing only on hover. */
.service-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:var(--accent);
  transform:scaleX(0.22);
  transform-origin:left;
  transition:transform 420ms var(--ease);
}
.service-card:hover{
  transform:translateY(-10px);
  border-color:rgba(87,172,224,0.5);
  box-shadow:0 32px 64px -20px rgba(87,172,224,0.3);
}
.service-card:hover::before{transform:scaleX(1);}
.service-icon{
  position:relative;
  width:68px;height:68px;
  border-radius:18px;
  background:rgba(87,172,224,0.16);
  border:1px solid rgba(87,172,224,0.32);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:var(--space-3);
  color:var(--accent-bright);
  overflow:hidden;
  transition:transform 320ms var(--ease);
}
.service-icon::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.4) 1px, transparent 1.2px);
  background-size:8px 8px;
  opacity:0.24;
}
.service-icon img,
.service-icon svg{position:relative;z-index:1;width:32px;height:32px;}
.service-card:hover .service-icon{transform:scale(1.06);}
.service-card h3{font-size:22px;font-weight:800;margin-bottom:10px;letter-spacing:-0.4px;}
.service-card p{color:var(--text-muted);font-size:15px;line-height:1.6;margin-bottom:22px;}
.service-link{
  font-size:14px;
  font-weight:700;
  color:var(--accent-bright);
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.service-link svg{width:15px;height:15px;transition:transform 220ms var(--ease);}
.service-card:hover .service-link svg{transform:translateX(5px);}

/* ---------- Gallery / Before-After ---------- */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-3);
}
.ba-card{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--bg-elevated);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.ba-frame{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
}
.ba-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  background:var(--bg-elevated-2);
  transition:opacity 380ms var(--ease), transform 500ms var(--ease);
}
.ba-photo.after{opacity:0;}
.ba-card.is-active .ba-photo.before{opacity:0;}
.ba-card.is-active .ba-photo.after{opacity:1;}
.ba-card:hover .ba-photo, .ba-card.is-active .ba-photo{transform:scale(1.04);}

.ba-badge{
  position:absolute;
  top:14px; left:14px;
  z-index:3;
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.8px;
  text-transform:uppercase;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(7,10,15,0.65);
  border:1px solid rgba(255,255,255,0.18);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  transition:opacity 250ms var(--ease);
}
.badge-before{color:#e9c98f;}
.badge-after{color:#8be0b0;opacity:0;}
.ba-card.is-active .badge-before{opacity:0;}
.ba-card.is-active .badge-after{opacity:1;}

.ba-hint{
  position:absolute;
  bottom:14px; left:14px; right:14px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:rgba(255,255,255,0.85);
  opacity:0.9;
  transition:opacity 250ms var(--ease);
}
.ba-card.is-active .ba-hint{opacity:0;}
.ba-hint svg{width:15px;height:15px;flex-shrink:0;}

.ba-caption{
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ba-caption h3{font-size:15.5px;font-weight:700;}
.ba-caption span{font-size:12.5px;color:var(--text-muted);}

.gallery-cta{
  text-align:center;
  margin-top:var(--space-5);
}

/* ---------- Why us ---------- */
.why-wrap{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:var(--space-6);
  align-items:center;
}
.why-list{
  display:grid;
  gap:var(--space-3);
}
.why-item{
  display:flex;
  gap:16px;
  padding:var(--space-3);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  background:var(--bg-elevated);
}
.why-icon{
  width:44px;height:44px;flex-shrink:0;
  border-radius:12px;
  background:rgba(87,172,224,0.12);
  border:1px solid rgba(87,172,224,0.25);
  display:flex;align-items:center;justify-content:center;
  color:var(--accent-bright);
}
.why-icon svg{width:22px;height:22px;}
.why-item h3{font-size:16px;font-weight:700;margin-bottom:4px;}
.why-item p{font-size:14px;color:var(--text-muted);}

.stat-panel{
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:linear-gradient(160deg, var(--bg-elevated), var(--bg));
  padding:var(--space-5);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-4);
}
.stat-panel .stat .stat-value{
  display:block;
  font-family:var(--font-display);
  font-size:clamp(2rem,3vw,2.6rem);
  font-weight:800;
  color:var(--accent-bright);
  letter-spacing:-1px;
  line-height:1.1;
  margin-bottom:4px;
}
.stat-panel .stat span{font-size:13.5px;color:var(--text-muted);font-family:var(--font-body);}

/* ---------- Testimonials ---------- */
.testi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-3);
}
.testi-card{
  background:var(--bg-elevated);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:var(--space-4);
}
.stars{display:flex;gap:4px;margin-bottom:14px;color:var(--accent-bright);}
.stars svg{width:16px;height:16px;}
.testi-card p{font-size:14.5px;color:var(--text-muted);margin-bottom:18px;}
.testi-name{display:flex;align-items:center;gap:10px;}
.testi-avatar{
  width:38px;height:38px;border-radius:50%;
  background:var(--accent-dark);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-size:13px;color:#ffffff;
  font-family:var(--font-display);
}
.testi-name strong{display:block;font-size:14px;}
.testi-name span{font-size:12px;color:var(--text-faint);}
.testi-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.testi-card-head .stars{margin-bottom:0;}
.testi-google-badge{
  display:inline-flex;align-items:center;gap:5px;
  font-size:11px;font-weight:700;color:var(--text-faint);
  font-family:var(--font-body);letter-spacing:0.2px;
}
/* Testimonial CPT avatars (front-page.php): a wrapping div around a
   wp_get_attachment_image() <img> child — the div needs overflow:hidden
   since the requested image size (44x44) can exceed the 38px circle. */
.testi-avatar-photo{overflow:hidden;background:var(--bg-elevated-2);padding:0;}
.testi-avatar-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;}
/* Google review avatars (inc/google-reviews.php): the class is applied
   directly to the <img>, which already gets width/height/border-radius
   from the base .testi-avatar rule above — this just keeps a non-square
   Google profile photo proportionally cropped instead of squished. */
.testi-avatar--photo{object-fit:cover;background:var(--bg-elevated-2);}
.testi-cta{display:flex;justify-content:center;margin-top:var(--space-6);}
.testi-cta .btn svg{width:16px;height:16px;}

/* ---------- Contact ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:var(--space-6);
}
.contact-info{
  display:flex;
  flex-direction:column;
  gap:var(--space-3);
}
.info-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.info-icon{
  width:42px;height:42px;flex-shrink:0;
  border-radius:12px;
  background:rgba(87,172,224,0.12);
  border:1px solid rgba(87,172,224,0.25);
  display:flex;align-items:center;justify-content:center;
  color:var(--accent-bright);
}
.info-icon svg{width:20px;height:20px;}
.info-item h3{font-size:14.5px;font-weight:700;margin-bottom:2px;}
.info-item p, .info-item a{font-size:14px;color:var(--text-muted);}

.contact-form{
  background:linear-gradient(165deg, var(--card-bg), var(--card-bg-soft));
  border:1px solid var(--card-border);
  border-radius:var(--radius-lg);
  padding:var(--space-5);
  box-shadow:0 24px 50px -28px rgba(0,0,0,0.6);
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-2);
  margin-bottom:var(--space-2);
}
.field{display:flex;flex-direction:column;gap:6px;}
.field.full{grid-column:1/-1;}
label{font-size:13px;font-weight:600;color:var(--text-muted);}
input, select, textarea{
  background:var(--bg);
  border:1px solid var(--border-strong);
  border-radius:var(--radius-sm);
  padding:12px 14px;
  color:var(--text);
  font-size:14.5px;
  font-family:inherit;
  min-height:44px;
  transition:border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  width:100%;
}
textarea{min-height:110px;resize:vertical;}
input::placeholder, textarea::placeholder{color:var(--text-faint);}
input:focus, select:focus, textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(87,172,224,0.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea{
  border-color:var(--error);
}
.field.has-error input:focus, .field.has-error textarea:focus{
  box-shadow:0 0 0 3px rgba(242,131,107,0.2);
}
.field-error{
  display:none;
  align-items:center;
  gap:6px;
  font-size:12.5px;
  color:var(--error);
  font-weight:500;
}
.field-error svg{width:13px;height:13px;flex-shrink:0;}
.field.has-error .field-error{display:flex;}
.form-notice{
  display:none;
  align-items:flex-start;
  gap:10px;
  padding:14px 16px;
  border-radius:var(--radius-sm);
  font-size:13.5px;
  line-height:1.5;
  margin-top:var(--space-3);
}
.form-notice.is-visible{display:flex;}
.form-notice.success{
  background:rgba(63,191,143,0.1);
  border:1px solid rgba(63,191,143,0.35);
  color:#8be0b0;
}
.form-notice.error{
  background:rgba(242,131,107,0.1);
  border:1px solid rgba(242,131,107,0.35);
  color:#f4a893;
}
.form-notice svg{width:18px;height:18px;flex-shrink:0;margin-top:1px;}
.form-hp{position:absolute;left:-9999px;top:-9999px;}

/* ---------- Final CTA ---------- */
.final-cta{
  text-align:center;
  border:1px solid rgba(87,172,224,0.25);
  border-radius:var(--radius-lg);
  padding:var(--space-6) var(--space-4);
  background:radial-gradient(ellipse 80% 100% at 50% 0%, rgba(87,172,224,0.15), transparent 70%), var(--bg-elevated);
}
.final-cta h2{font-size:clamp(1.8rem,3vw,2.4rem);font-weight:800;margin-bottom:var(--space-2);letter-spacing:-0.6px;}
.final-cta p{color:var(--text-muted);margin-bottom:var(--space-4);}
.final-cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ---------- Footer ---------- */
footer.site-footer{
  border-top:1px solid var(--border);
  padding:var(--space-6) 0 var(--space-4);
  position:relative;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:var(--space-4);
  margin-bottom:var(--space-5);
}
.footer-brand{display:flex;gap:12px;align-items:center;margin-bottom:14px;}
.footer-brand img{height:44px;border-radius:6px;}
.footer-brand strong{font-family:var(--font-display);font-size:14.5px;font-weight:700;}
footer p.desc{font-size:13.5px;color:var(--text-muted);max-width:280px;}
.footer-col .footer-col-title{font-family:var(--font-display);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.8px;color:var(--text);margin-bottom:16px;}
.footer-col ul{display:grid;gap:10px;}
.footer-col a{font-size:13.5px;color:var(--text-muted);transition:color 200ms var(--ease);}
.footer-col a:hover{color:var(--accent-bright);}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  border-top:1px solid var(--border);
  padding-top:var(--space-3);
  font-size:12.5px;
  color:var(--text-faint);
}
.credit-sep{opacity:0.6;}
.credit-link{color:var(--text-muted);text-decoration:underline;text-underline-offset:2px;transition:color 200ms var(--ease);}
.credit-link:hover{color:var(--accent-bright);}
.socials{display:flex;gap:10px;}
.socials a{
  width:36px;height:36px;
  border-radius:50%;
  border:1px solid var(--border-strong);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-muted);
  transition:all 200ms var(--ease);
}
.socials a:hover{color:var(--accent-bright);border-color:var(--accent);}
.socials svg{width:16px;height:16px;}

/* ---------- Holding page ---------- */
.holding-wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:var(--space-5) var(--space-3);
}
.holding-card{
  max-width:520px;
  width:100%;
  text-align:center;
}
.holding-card img{height:64px;margin:0 auto var(--space-4);border-radius:8px;}
.holding-card h1{font-size:clamp(1.8rem,4vw,2.4rem);margin-bottom:var(--space-2);}
.holding-card p.lead{margin:0 auto var(--space-5);}
.holding-card .contact-form{text-align:left;}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{order:-1;max-width:300px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .why-wrap{grid-template-columns:1fr;}
  .contact-wrap{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

@media (max-width: 720px){
  .nav-links{display:none;}
  .menu-toggle{display:flex;}
  nav.primary-nav{gap:10px;}
  nav.primary-nav > .btn-primary{padding:10px 16px;font-size:13px;}
  .services-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr;}
  .testi-grid{grid-template-columns:1fr;}
  .testi-cta{margin-top:var(--space-6);padding:0 var(--space-2);}
  .testi-cta .btn{white-space:normal;text-align:center;max-width:100%;}
  .footer-grid{grid-template-columns:1fr;gap:var(--space-4);margin-bottom:var(--space-4);}
  .footer-brand strong{font-size:16px;}
  footer p.desc{max-width:100%;}
  .footer-col{padding-top:var(--space-1);border-top:1px solid var(--border);}
  .footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:var(--space-2);}
  .form-row{grid-template-columns:1fr;}
  .stat-panel{grid-template-columns:1fr 1fr;}
  .service-includes{grid-template-columns:1fr;}
  section{padding:var(--space-6) 0;}
}

@media (max-width: 400px){
  .brand-text span{display:none;}
}

.mobile-menu{
  display:none;
  flex-direction:column;
  gap:4px;
  padding:var(--space-2) 0 var(--space-3);
  border-top:1px solid var(--border);
}
.mobile-menu.open{display:flex;}
.mobile-menu a{
  padding:14px 4px;
  font-size:15px;
  font-weight:500;
  color:var(--text-muted);
  border-bottom:1px solid var(--border);
  min-height:44px;
  display:flex;
  align-items:center;
}
.mobile-menu a:hover{color:var(--text);}
.mobile-menu .btn{margin-top:10px;}

.screen-reader-text{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  white-space:nowrap;
}

/* ================= PAGE HERO (About / Contact / FAQs) ================= */
.page-hero{
  padding:var(--space-7) 0 var(--space-5);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute;
  top:-50px;right:-50px;
  width:200px;height:200px;
  background-image:var(--dot-accent);
  background-size:14px 14px;
  border-radius:36px;
  opacity:0.4;
  z-index:0;
  pointer-events:none;
}
.page-hero-inner{position:relative;z-index:1;max-width:680px;margin:0 auto;}
.page-hero h1{margin-bottom:var(--space-3);}
.page-hero p.lead{margin:0 auto;max-width:560px;color:var(--text-muted);font-size:18px;}

/* ================= SERVICE PAGE ================= */
.hero-inner--solo{grid-template-columns:1fr;}
.hero-inner--solo > div{max-width:640px;}

/* Service hero icon badge + atmosphere glow — brings the service hero up
   to the same expressive level the homepage hero already uses (dotmap +
   glow), which it previously lacked entirely. */
.service-hero{position:relative;overflow:hidden;}
.service-hero::before{
  content:"";
  position:absolute;
  top:-120px; left:-120px;
  width:520px; height:520px;
  background:radial-gradient(ellipse 60% 60% at 30% 30%, rgba(87,172,224,0.18), transparent 70%);
  pointer-events:none;
}
.service-hero-icon{
  position:relative;
  width:72px;height:72px;
  border-radius:20px;
  background:rgba(87,172,224,0.16);
  border:1px solid rgba(87,172,224,0.32);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:22px;
  color:var(--accent-bright);
  box-shadow:0 16px 32px -14px rgba(87,172,224,0.55);
}
.service-hero-icon svg{position:relative;width:34px;height:34px;}

/* Price / duration — bolder pill chips, replacing the plain .trust-row
   text-with-icon pairing used elsewhere (trust-row itself is unchanged
   for its other uses on the homepage). */
.price-chips{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:var(--space-4);}
.price-chip{
  display:flex;align-items:center;gap:10px;
  background:var(--bg-elevated);
  border:1px solid var(--border-strong);
  border-radius:999px;
  padding:10px 18px 10px 12px;
  font-size:14px;font-weight:600;color:var(--text);
}
.price-chip .chip-icon{
  width:30px;height:30px;border-radius:50%;
  background:rgba(87,172,224,0.16);
  display:flex;align-items:center;justify-content:center;
  color:var(--accent-bright);flex-shrink:0;
}
.price-chip .chip-icon svg{width:15px;height:15px;}

/* What's included — was a single plain column list; now a panel with a
   heading and a two-column grid of rows, each with a glowing check badge,
   so it reads with the same weight as the rest of the page. */
.includes-panel{
  background:linear-gradient(165deg, var(--card-bg), var(--card-bg-soft));
  border:1px solid var(--card-border);
  border-radius:var(--radius-lg);
  padding:var(--space-4);
  margin:0 auto var(--space-5);
}
.includes-panel h2{font-size:1.4rem;margin-bottom:18px;letter-spacing:-0.3px;}
.service-includes{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  list-style:none;
  padding:0;
}
.service-includes li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:15px;
  color:var(--text);
  padding:10px 12px;
  border-radius:var(--radius-sm);
  transition:background 220ms var(--ease);
}
.service-includes li:hover{background:rgba(87,172,224,0.08);}
.check-badge{
  width:24px;height:24px;border-radius:50%;
  background:rgba(87,172,224,0.18);
  border:1px solid rgba(87,172,224,0.35);
  display:flex;align-items:center;justify-content:center;
  color:var(--accent-bright);flex-shrink:0;margin-top:1px;
}
.check-badge svg{width:13px;height:13px;}

/* Areas covered — was a single muted text line; now pill badges, giving
   real coverage data the same visual weight as a feature instead of a
   footnote. */
.areas-panel{margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);}
.areas-panel > span{display:block;font-size:13px;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.8px;margin-bottom:12px;}
.area-pills{display:flex;flex-wrap:wrap;gap:10px;}
.area-pill{
  font-size:13.5px;font-weight:600;color:var(--text);
  background:rgba(87,172,224,0.1);
  border:1px solid rgba(87,172,224,0.3);
  border-radius:999px;
  padding:8px 16px;
}

/* ================= RICH TEXT CONTENT (the_content() output) ================= */
/* Used for the description on single-service.php, the editable body copy on
   page-about.php/page-contact.php/page-faqs.php/page.php, and anywhere else
   the_content() prints ordinary WordPress block-editor output. Needed
   because the sitewide *{margin:0;padding:0;} reset otherwise strips all
   spacing between paragraphs, headings, and list items. */
.service-description{color:var(--text-muted);font-size:15.5px;line-height:1.75;}
.service-description > *:first-child{margin-top:0;}
.service-description > *:last-child{margin-bottom:0;}
.service-description p{margin-bottom:1.2em;}
.service-description h2,
.service-description h3,
.service-description h4{
  color:var(--text);
  font-weight:800;
  letter-spacing:-0.4px;
  line-height:1.25;
  margin:1.6em 0 0.6em;
}
.service-description h2{font-size:1.6rem;}
.service-description h3{font-size:1.3rem;}
.service-description h4{font-size:1.1rem;}
.service-description ul,
.service-description ol{margin:0 0 1.2em;padding-left:1.4em;}
.service-description li{margin-bottom:0.5em;}
.service-description a{color:var(--accent-bright);text-decoration:underline;text-underline-offset:2px;}
.service-description strong{color:var(--text);}
.service-description blockquote{
  border-left:3px solid var(--accent-bright);
  padding-left:1em;
  margin:0 0 1.2em;
  color:var(--text-muted);
  font-style:italic;
}

/* ================= FAQ ACCORDION ================= */
.faq-accordion{display:flex;flex-direction:column;gap:10px;margin-bottom:var(--space-5);}
.faq-item{
  background:var(--bg-elevated);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  font-weight:600;
  font-size:15.5px;
  color:var(--text);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary span{flex:1;}
.faq-chevron{
  width:18px;height:18px;
  color:var(--text-muted);
  flex-shrink:0;
  transition:transform 200ms var(--ease);
}
.faq-item[open] .faq-chevron{transform:rotate(180deg);}
.faq-answer{
  padding:0 20px 20px;
  color:var(--text-muted);
  font-size:14.5px;
  line-height:1.7;
}
.faq-answer p{margin-bottom:10px;}
.faq-answer p:last-child{margin-bottom:0;}

/* Two-service layout (Sep 2026): centre the services grid when only two cards are published. */
@media (min-width: 900px) {
  .services-grid:has(.service-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin-inline: auto;
  }
}

/* ...and centre a lone card in the "Other services" block. */
@media (min-width: 900px) {
  .services-grid:has(.service-card:only-child) {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
  }
}
