/*
Theme Name: Trulay Drives
Theme URI: https://trulaydrives.co.uk
Author: Logica Digital
Author URI: https://logica-digital.co.uk
Description: Custom block-editor theme for Trulay Drives Ltd Yorkshire — driveway, patio & landscaping specialists in Hull, Beverley & East Yorkshire. Every page is built from editable Trulay blocks; includes SEO / PPC landing pages.
Version: 2.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: trulay-drives
*/

/* =========================================================
   0. DESIGN TOKENS
   ========================================================= */
:root{
  --navy:#154E85;
  --navy-dark:#0F3A63;
  --sky:#2EA3F2;
  --sky-tint:#DCEDF8;
  --sky-tint2:#EFF6FC;
  --gold:#C9A227;
  --ink:#1B2530;
  --body:#4B5563;
  --muted:#6B7280;
  --line:#E2E8F0;
  --line-2:#E5EAF0;
  --panel:#F7FAFC;
  --sky-text:#7FC3F7;
  --sky-text-2:#BFDCF2;
  --white:#ffffff;
}

/* =========================================================
   1. RESET / BASE
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--white);
  color:var(--body);
  font-family:'Nunito Sans',system-ui,-apple-system,sans-serif;
  font-size:17px;
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--sky);text-decoration:none;}
a:hover{color:var(--navy);}
h1,h2,h3,h4{font-family:'Nunito Sans',system-ui,sans-serif;margin:0;color:var(--ink);}
p{margin:0;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;}
.screen-reader-text{position:absolute;left:-9999px;}
.container{max-width:1312px;margin:0 auto;padding:0 32px;}
.wrap-narrow{max-width:960px;margin:0 auto;padding:0 32px;}

/* =========================================================
   2. COMPONENTS (ported 1:1 from the approved mockup)
   ========================================================= */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:'Nunito Sans',sans-serif;font-weight:800;font-size:17px;padding:15px 30px;border-radius:10px;cursor:pointer;border:2px solid transparent;white-space:nowrap;}
.btn-primary{background:var(--navy);color:#fff;}
.btn-primary:hover{background:var(--navy-dark);color:#fff;}
.btn-white{background:#fff;color:var(--navy);}
.btn-white:hover{background:var(--sky-tint);color:var(--navy);}
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,0.55);}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,0.1);color:#fff;}

.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--sky);}
.tag{display:inline-flex;align-items:center;padding-bottom:4px;border-bottom:2px solid var(--sky);color:var(--navy);font-size:14.5px;font-weight:800;letter-spacing:0.2px;}
.tag-inverse{border-bottom-color:rgba(255,255,255,0.5);color:#fff;}

.card{border:1px solid var(--line-2);border-radius:14px;background:#fff;}
.card-pop{border-radius:16px;background:#fff;box-shadow:0 24px 56px rgba(15,58,99,0.18);}

.stars{color:#FBBC04;font-size:18.5px;letter-spacing:2px;}
.stat-num{font-size:60px;font-weight:900;letter-spacing:-1px;}

.ph{background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;color:#9FB4C6;background-color:#EEF3F7;}
.ph.no-image{background-image:repeating-linear-gradient(135deg,#EEF3F7 0px,#EEF3F7 14px,#E3ECF3 14px,#E3ECF3 28px);}
.ph-label{position:absolute;left:14px;bottom:12px;background:rgba(21,78,133,0.88);color:#fff;font-size:12px;font-weight:600;padding:5px 11px;border-radius:6px;letter-spacing:0.2px;}

.map-embed{position:relative;width:100%;height:100%;background:#E3ECF3;}
.map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.map-caption{position:absolute;left:20px;bottom:20px;z-index:2;background:rgba(21,78,133,0.9);color:#fff;font-size:13px;font-weight:600;padding:8px 14px;border-radius:8px;}

.nav-link{font-size:16px;font-weight:700;color:var(--ink);letter-spacing:0.2px;white-space:nowrap;display:flex;align-items:center;gap:4px;}
.nav-link:hover{color:var(--sky);}
.nav-link.active,.nav-link.current-menu-item{color:var(--navy);}

.fld label{display:block;font-size:15px;font-weight:700;color:var(--ink);margin-bottom:6px;}
.fld input,.fld select,.fld textarea{width:100%;font-family:'Nunito Sans',sans-serif;font-size:16px;color:var(--ink);padding:12px 14px;border-radius:9px;border:1.5px solid var(--line);background:var(--panel);outline:none;}
.fld input::placeholder,.fld textarea::placeholder{color:#9CA7B4;}
.fld input:focus,.fld select:focus,.fld textarea:focus{border-color:var(--sky);}

.check-item{display:flex;align-items:center;gap:10px;font-size:16px;color:var(--ink);font-weight:600;}
.info-row{display:flex;align-items:flex-start;gap:12px;font-size:16px;color:var(--sky-tint);margin-bottom:18px;}
.town-list{font-size:16.5px;color:var(--body);line-height:2.1;}
.town-list b{color:var(--ink);}
.form-note{font-size:12.5px;color:#9CA7B4;}

/* =========================================================
   3. SITE HEADER
   ========================================================= */
.site-header{height:96px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:relative;z-index:50;}
.site-header .brand{display:flex;align-items:center;gap:12px;}
.site-header .brand a{color:inherit;}
.brand-word{display:flex;align-items:baseline;font-size:28.5px;font-weight:800;letter-spacing:-0.5px;font-family:'Nunito Sans',sans-serif;}
.brand-word .b1{color:var(--navy);}
.brand-word .b2{color:var(--gold);}
.brand-word .b3{color:var(--ink);}
.brand-sub{font-size:12.5px;letter-spacing:4px;color:var(--sky);font-weight:700;margin-top:1px;}
.primary-nav{display:flex;align-items:center;gap:14px;}
.primary-nav ul{display:flex;align-items:center;gap:clamp(20px,2.4vw,40px);}
.header-actions{display:flex;align-items:center;gap:14px;}
.header-phone{font-weight:700;color:var(--navy);font-size:17px;}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;}
.nav-toggle span{display:block;width:26px;height:3px;margin:5px 0;background:var(--ink);border-radius:2px;}

/* =========================================================
   4. HOME
   ========================================================= */
.hero-split{min-height:640px;display:flex;position:relative;flex-wrap:wrap;}
.hero-split .hero-copy{width:56%;background:var(--navy-dark);padding:64px 72px;display:flex;flex-direction:column;justify-content:center;}
.hero-split .hero-copy h1{font-size:50.5px;line-height:1.12;color:#fff;font-weight:800;letter-spacing:-1px;max-width:560px;}
.hero-split .hero-copy p{color:var(--sky-text-2);font-size:18.5px;line-height:1.6;max-width:480px;margin-top:20px;}
.hero-split .hero-actions{display:flex;gap:16px;margin-top:32px;flex-wrap:wrap;}
.hero-split .hero-image{width:44%;min-height:320px;}
.trust-card{position:relative;margin:-46px 64px 46px auto;max-width:600px;width:calc(100% - 128px);padding:24px 30px;display:flex;align-items:center;gap:0;z-index:3;flex-wrap:wrap;}
.trust-card .t-item{display:flex;align-items:center;gap:10px;flex:1;}
.trust-card .t-stat{flex:1;text-align:center;}
.trust-card .t-div{width:1px;height:36px;background:var(--line);}
.trust-card .t-title{font-weight:800;color:var(--ink);font-size:17px;}
.trust-card .t-sub{font-size:14px;color:var(--muted);}

.section{padding:64px;}
.section-tight{padding:56px 64px;}
.section-eyebrow-block{max-width:680px;}

.services-grid{display:flex;gap:28px;margin-top:40px;align-items:stretch;flex-wrap:wrap;}
.service-feature{width:58%;overflow:hidden;flex:1 1 480px;}
.service-feature .ph{height:230px;}
.service-feature .body{padding:32px;}
.service-feature h3{font-size:25.5px;}
.service-feature p{font-size:16.5px;line-height:1.65;margin-top:16px;max-width:480px;}
.service-side{width:42%;display:flex;flex-direction:column;gap:24px;flex:1 1 320px;}
.service-side .card{padding:30px;flex:1;}
.service-side h3{font-size:22px;}
.service-side p{font-size:16px;line-height:1.6;margin-top:8px;}
.service-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--sky);font-weight:800;font-size:15px;}
.service-link.large{margin-top:22px;font-size:16px;}

.process-band{background:var(--navy-dark);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px;}
.process-band .heading{text-align:center;margin-bottom:44px;}
.process-band .heading .eyebrow{justify-content:center;}
.process-band h2{font-size:34.5px;color:#fff;margin-top:10px;}
.process-grid{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:24px;position:relative;width:100%;max-width:1200px;}
.process-step{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;z-index:1;}
.process-icon{width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,0.12);border:1.5px solid rgba(255,255,255,0.28);display:flex;align-items:center;justify-content:center;color:#fff;}
.process-step .p-title{font-size:19px;font-weight:800;color:#fff;margin-top:18px;}
.process-step .p-desc{font-size:15px;color:var(--sky-text-2);font-weight:600;margin-top:6px;max-width:190px;line-height:1.5;}

.reviews-spotlight{padding:64px;display:flex;flex-direction:column;align-items:center;}
.reviews-spotlight .g-badge{width:22px;height:22px;border-radius:5px;background:conic-gradient(#4285F4 0deg 90deg,#34A853 90deg 180deg,#FBBC04 180deg 270deg,#EA4335 270deg 360deg);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:#fff;}
.reviews-spotlight .rating-line{display:flex;align-items:center;gap:8px;margin-top:8px;color:var(--body);font-size:16px;}
.reviews-spotlight .live-note{border:1px dashed #9FB4C6;border-radius:8px;padding:5px 12px;margin-top:10px;font-size:13px;color:var(--body);}
.review-row{display:flex;align-items:center;gap:32px;margin-top:32px;width:100%;max-width:1180px;justify-content:center;flex-wrap:wrap;}
.review-side{width:250px;opacity:0.5;}
.review-side p{font-size:15px;color:#374151;line-height:1.6;margin-top:8px;}
.review-side .who{font-size:14px;font-weight:700;color:var(--ink);margin-top:10px;}
.review-main{width:480px;padding:36px;flex-shrink:0;}
.review-main .quote-mark{font-size:50.5px;line-height:1;color:var(--sky-tint);font-weight:900;font-family:Georgia,serif;}
.review-main p{font-size:18.5px;color:var(--ink);line-height:1.6;margin-top:12px;}
.review-main .who{font-size:15.5px;font-weight:800;color:var(--navy);margin-top:16px;}

.work-bento{background:var(--panel);padding:64px;}
.work-bento .head-row{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:16px;}
.bento-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-auto-rows:140px;gap:20px;margin-top:28px;max-width:1312px;}
.bento-grid .span-row2{grid-row:span 2;}
.bento-grid .span-col2{grid-column:span 2;}

.areas-teaser{display:flex;flex-wrap:wrap;}
.areas-teaser .map-half{width:50%;min-height:320px;flex:1 1 480px;}
.areas-teaser .copy-half{width:50%;background:var(--navy);padding:64px;display:flex;flex-direction:column;justify-content:center;flex:1 1 480px;}
.areas-teaser h2{font-size:34.5px;color:#fff;margin-top:10px;}
.areas-teaser p{color:var(--sky-tint);font-size:17px;line-height:1.6;margin-top:14px;max-width:480px;}
.areas-teaser .tag-row{display:flex;flex-wrap:wrap;gap:22px;margin-top:22px;max-width:520px;}

.cta-banner{background:var(--navy-dark);display:flex;align-items:center;justify-content:space-between;padding:56px 64px;position:relative;overflow:hidden;flex-wrap:wrap;gap:24px;}
.cta-banner h2{font-size:34.5px;color:#fff;}
.cta-banner p{color:var(--sky-text-2);font-size:17px;margin-top:8px;}
.cta-banner .cta-right{display:flex;align-items:center;gap:20px;position:relative;z-index:1;flex-wrap:wrap;}
.cta-banner .cta-phone{color:#fff;font-weight:800;font-size:20.5px;}
.cta-banner-small{background:var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 32px;text-align:center;}
.cta-banner-small h2{font-size:30px;color:#fff;}
.cta-banner-small p{color:var(--sky-tint);font-size:16px;margin-top:8px;}
.cta-banner-small .cta-row{display:flex;gap:20px;margin-top:20px;align-items:center;flex-wrap:wrap;justify-content:center;}
.cta-banner-small .cta-phone{color:#fff;font-weight:800;font-size:18.5px;}

/* =========================================================
   5. PAGE HERO / BREADCRUMB (Contact, Service Areas)
   ========================================================= */
.page-hero{background:var(--sky-tint2);display:flex;flex-direction:column;justify-content:center;padding:56px 64px;position:relative;overflow:hidden;}
.page-hero .crumb{font-size:15px;color:var(--body);}
.page-hero .crumb span{color:var(--navy);font-weight:600;}
.page-hero h1{font-size:41.5px;margin-top:10px;}
.page-hero p{font-size:17px;max-width:700px;margin-top:10px;line-height:1.6;}

/* =========================================================
   6. CONTACT PAGE
   ========================================================= */
.contact-split{display:flex;flex-wrap:wrap;}
.contact-sidebar{width:38%;background:var(--navy-dark);padding:56px 48px;display:flex;flex-direction:column;flex:1 1 360px;}
.contact-sidebar .sidebar-title{font-weight:800;color:#fff;font-size:20.5px;margin-bottom:26px;}
.contact-sidebar .divider{height:1px;background:rgba(255,255,255,0.14);margin:6px 0 30px 0;}
.contact-sidebar .sub-title{font-weight:800;color:#fff;font-size:17px;margin-bottom:10px;}
.contact-sidebar .sidebar-note{font-size:15.5px;color:var(--sky-text-2);line-height:1.6;}
.contact-sidebar .sidebar-link{font-size:15px;font-weight:800;color:#fff;margin-top:6px;display:inline-block;}
.contact-sidebar .sidebar-testimonial{border-top:1px solid rgba(255,255,255,0.14);padding-top:22px;margin-top:auto;}
.contact-sidebar .sidebar-testimonial p{font-size:15.5px;color:var(--sky-tint);margin-top:8px;line-height:1.6;}
.contact-sidebar .sidebar-testimonial .who{font-size:14px;color:var(--sky-text);margin-top:6px;font-weight:700;}
.contact-form-col{width:62%;padding:56px 64px;flex:1 1 480px;}
.contact-form-col .rule{width:56px;height:4px;background:var(--sky);border-radius:2px;margin-bottom:20px;}
.contact-form-col h2{font-size:27.5px;}
.contact-form-col .req-note{font-size:15.5px;color:var(--muted);margin-top:6px;}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px;}
.upload-drop{border:1.5px dashed #C7D4E0;border-radius:10px;padding:20px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:15px;}
.consent-row{display:flex;align-items:flex-start;gap:10px;margin-top:20px;}
.consent-row input{margin-top:4px;flex-shrink:0;}
.consent-row span{font-size:14.5px;color:var(--muted);line-height:1.5;}
.form-submit-row{display:flex;align-items:center;justify-content:space-between;margin-top:26px;flex-wrap:wrap;gap:12px;}

.map-band{position:relative;min-height:420px;background:#E3ECF3;}

/* =========================================================
   7. SERVICE AREAS PAGE
   ========================================================= */
.coverage-dashboard{background:var(--sky-tint2);display:flex;flex-direction:column;justify-content:center;padding:56px 64px;position:relative;overflow:hidden;}
.coverage-split{display:flex;flex-wrap:wrap;}
.coverage-stats{width:42%;background:var(--navy-dark);padding:56px;display:flex;flex-direction:column;justify-content:center;gap:26px;flex:1 1 360px;}
.coverage-stats .stat-row{display:flex;align-items:center;gap:18px;border-bottom:1px solid rgba(255,255,255,0.14);padding-bottom:20px;}
.coverage-stats .stat-row:last-child{border-bottom:none;padding-bottom:0;}
.coverage-stats .stat-num{width:90px;color:#fff;}
.coverage-stats .stat-label{color:#fff;font-weight:700;font-size:18.5px;}
.coverage-stats .stat-sub{color:var(--sky-text-2);font-size:15px;margin-top:2px;}
.coverage-map{width:58%;min-height:340px;flex:1 1 480px;}

.areas-directory{padding:64px;display:flex;flex-direction:column;align-items:center;}
.areas-directory h2{font-size:32px;}
.areas-directory .directory-card{margin-top:28px;width:100%;max-width:1312px;padding:44px 48px;}
.directory-grid{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:48px;}
.directory-col{border-left:3px solid var(--navy);padding-left:20px;}
.directory-col.accent{border-left-color:var(--sky);}
.directory-col h3{font-size:18.5px;margin-bottom:10px;}
.directory-col h3 span{color:var(--sky);font-weight:700;}

.not-covered-cta{background:var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 32px;text-align:center;}
.not-covered-cta h2{font-size:30px;color:#fff;}
.not-covered-cta p{color:var(--sky-tint);font-size:16px;margin-top:8px;}
.not-covered-cta .cta-row{display:flex;gap:20px;margin-top:20px;align-items:center;flex-wrap:wrap;justify-content:center;}
.not-covered-cta .cta-phone{color:#fff;font-weight:800;font-size:18.5px;}

/* =========================================================
   8. SERVICE TEMPLATE (Driveways / Landscaping / Patios & Paving)
   ========================================================= */
.service-hero{min-height:440px;position:relative;}
.service-hero .overlay{position:absolute;inset:0;background:linear-gradient(100deg, rgba(15,58,99,0.94) 0%, rgba(15,58,99,0.68) 46%, rgba(15,58,99,0.22) 100%);}
.service-hero .hero-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:72px 64px;max-width:720px;min-height:440px;}
.service-hero .crumb{font-size:15px;color:var(--sky-text-2);margin-bottom:10px;}
.service-hero .crumb span{color:#fff;}
.service-hero h1{font-size:48.5px;color:#fff;font-weight:800;letter-spacing:-0.5px;}
.service-hero p{color:var(--sky-tint);font-size:18.5px;line-height:1.6;margin-top:14px;}

.service-intro{display:flex;gap:40px;padding:64px;flex-wrap:wrap;}
.service-intro .intro-copy{flex:1.3 1 460px;}
.service-intro h2{font-size:32px;margin-top:10px;}
.service-intro p{color:var(--body);font-size:16.5px;line-height:1.7;margin-top:14px;max-width:580px;}
.service-intro .tag-row{display:flex;flex-wrap:wrap;gap:20px;margin-top:24px;max-width:600px;}
.quote-card{flex:1 1 300px;padding:30px;align-self:flex-start;max-width:400px;}
.quote-card .rule{width:56px;height:4px;background:var(--sky);border-radius:2px;margin-bottom:16px;}
.quote-card .qc-title{font-weight:800;color:var(--ink);font-size:18.5px;}
.quote-card .qc-fields{display:flex;flex-direction:column;gap:14px;margin-top:16px;}
.quote-card .form-note{text-align:center;}

.included-band{background:var(--panel);padding:64px;}
.included-band h2{font-size:30px;}
.included-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 40px;margin-top:28px;max-width:1200px;}

/* =========================================================
   9. FOOTER
   ========================================================= */
.site-footer{background:var(--navy);color:var(--sky-tint);padding:56px 64px 0 64px;}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px;}
.footer-brand .brand-word{color:#fff;font-size:24px;}
.footer-brand .brand-word .b1{color:#fff;}
.footer-brand .brand-sub{font-size:11.5px;letter-spacing:3px;color:var(--sky-text);margin-top:2px;}
.footer-brand p{font-size:15.5px;line-height:1.7;margin-top:16px;max-width:280px;color:var(--sky-tint);}
.footer-social{display:flex;gap:10px;margin-top:18px;}
.footer-social a{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center;color:#ffffff;}
.footer-col-title{font-weight:700;color:#fff;font-size:16px;margin-bottom:16px;}
.footer-links{display:flex;flex-direction:column;gap:10px;font-size:15.5px;}
.footer-links a{color:var(--sky-tint);}
.footer-contact{display:flex;flex-direction:column;gap:10px;font-size:15.5px;line-height:1.6;}
.footer-map{height:110px;border-radius:10px;overflow:hidden;position:relative;}
.footer-map .ph{height:100%;}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.15);margin-top:36px;padding:20px 0;display:flex;justify-content:space-between;font-size:14.5px;color:#8FB6D9;flex-wrap:wrap;gap:8px;}

/* =========================================================
   10. RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .primary-nav{display:none;}
  .nav-toggle{display:block;}
  .site-header.nav-open .primary-nav{display:flex;position:absolute;top:96px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:20px 32px;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(15,58,99,0.08);gap:16px;z-index:60;}
  .site-header.nav-open .primary-nav ul{flex-direction:column;align-items:flex-start;gap:16px;width:100%;}
  .header-phone{display:none;}
}
@media (max-width:900px){
  .hero-split .hero-copy,.hero-split .hero-image{width:100%;}
  .trust-card{margin-left:32px;margin-right:32px;width:calc(100% - 64px);}
  .service-feature,.service-side{width:100%;}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .bento-grid{grid-template-columns:1fr 1fr;}
  .bento-grid .span-col2{grid-column:span 2;}
  .areas-teaser .map-half,.areas-teaser .copy-half{width:100%;}
  .coverage-stats,.coverage-map{width:100%;}
  .directory-grid{grid-template-columns:1fr;}
  .contact-sidebar,.contact-form-col{width:100%;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .included-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .section,.section-tight{padding:40px 24px;}
  .site-header{padding:0 20px;}
  .hero-split .hero-copy{padding:48px 28px;}
  .hero-split .hero-copy h1{font-size:36px;}
  .cta-banner{padding:40px 28px;justify-content:center;text-align:center;}
  .form-grid-2,.included-grid,.footer-grid{grid-template-columns:1fr;}
  .process-grid{grid-template-columns:1fr;}
}

/* =========================================================
   11. LANDING PAGES (template-landing.php) — SEO & PPC
   ========================================================= */
.lp-hero{position:relative;background-color:var(--navy-dark);background-size:cover;background-position:center;}
.lp-hero.no-image{background-image:repeating-linear-gradient(135deg,#EEF3F7 0px,#EEF3F7 14px,#E3ECF3 14px,#E3ECF3 28px);}
.lp-hero-overlay{position:absolute;inset:0;background:linear-gradient(100deg, rgba(15,58,99,0.96) 0%, rgba(15,58,99,0.86) 50%, rgba(15,58,99,0.55) 100%);}
.lp-hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,440px);gap:56px;align-items:center;max-width:1312px;margin:0 auto;padding:64px 64px 72px;}
.lp-hero .crumb{font-size:15px;color:var(--sky-text-2);margin-bottom:14px;}
.lp-hero .crumb a{color:var(--sky-text-2);}
.lp-hero .crumb a:hover{color:#fff;}
.lp-hero .crumb span{color:#fff;}
.lp-hero h1{font-size:50.5px;line-height:1.12;color:#fff;font-weight:800;letter-spacing:-1px;margin-top:12px;}
.lp-hero [data-dki]{color:inherit;}
.lp-sub{color:var(--sky-text-2);font-size:18.5px;line-height:1.6;margin-top:18px;max-width:560px;}
.lp-usps{margin-top:24px;display:flex;flex-direction:column;gap:12px;}
.lp-usps li{display:flex;align-items:center;gap:12px;color:#fff;font-size:17px;font-weight:700;}
.lp-usps svg{color:#7FC3F7;flex-shrink:0;}
.lp-hero-rating{display:flex;align-items:center;gap:10px;margin-top:26px;color:var(--sky-tint);font-size:16px;}
.lp-hero-rating strong{color:#fff;}
.lp-hero-call{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#fff;font-weight:800;font-size:18.5px;}
.lp-hero-call:hover{color:var(--sky-tint);}
.lp-form-card{padding:30px;scroll-margin-top:24px;}
.lp-form-card .rule{width:56px;height:4px;background:var(--sky);border-radius:2px;margin-bottom:16px;}
.lp-form-card .qc-title{font-weight:800;color:var(--ink);font-size:21px;line-height:1.3;}
.lp-form-intro{font-size:15px;color:var(--muted);margin-top:6px;}
.lp-form{display:flex;flex-direction:column;gap:14px;margin-top:18px;}
.lp-form .fld label{font-size:14.5px;margin-bottom:5px;}
.lp-form .fld input,.lp-form .fld textarea{padding:11px 13px;font-size:16px;}
.lp-form textarea{resize:vertical;}
.lp-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.lp-consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--muted);line-height:1.45;}
.lp-consent input{margin-top:3px;flex-shrink:0;}
.lp-submit{justify-content:center;border:none;width:100%;font-size:18px;padding:16px 24px;}
.lp-form-foot{text-align:center;font-size:13.5px;color:var(--muted);}
.lp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.lp-thanks{text-align:center;padding:12px 4px;}
.lp-thanks-icon{width:60px;height:60px;border-radius:50%;background:var(--sky-tint);color:var(--navy);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.lp-thanks p{margin-top:10px;font-size:16px;line-height:1.6;}

.lp-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;max-width:1312px;margin:0 auto;padding:30px 64px;border-bottom:1px solid var(--line);}
.lp-trust-item{display:flex;align-items:center;gap:12px;color:var(--navy);}
.lp-trust-item strong{display:block;color:var(--ink);font-size:16.5px;}
.lp-trust-item span:not(.stars){display:block;font-size:14px;color:var(--muted);}
.lp-trust-item .stars{font-size:16px;}

.lp-content{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:56px;max-width:1312px;margin:0 auto;padding:72px 64px;align-items:start;}
.lp-copy h2{font-size:34.5px;margin-top:10px;line-height:1.2;}
.lp-copy p{font-size:17px;line-height:1.75;margin-top:16px;}
.lp-copy h3{font-size:22px;margin-top:28px;}
.lp-copy ul{list-style:disc;padding-left:22px;margin-top:12px;}
.lp-copy li{font-size:17px;line-height:1.7;}
.lp-copy .tag-row{display:flex;flex-wrap:wrap;gap:20px;margin-top:26px;}
.lp-included{padding:32px;position:sticky;top:24px;}
.lp-included h3{font-size:22px;}
.lp-included ul{display:flex;flex-direction:column;gap:14px;margin-top:18px;}
.lp-included svg{color:var(--navy);flex-shrink:0;}

.lp-proof{background:var(--panel);padding:72px 64px;}
.lp-proof-head{max-width:1312px;margin:0 auto;}
.lp-proof-head h2{font-size:32px;margin-top:8px;}
.lp-proof-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:24px;max-width:1312px;margin:28px auto 0;align-items:stretch;}
.lp-work{min-height:280px;border-radius:14px;}
.lp-review{margin:0;padding:32px;display:flex;flex-direction:column;}
.lp-review .quote-mark{font-size:50.5px;line-height:1;color:var(--sky-tint);font-weight:900;font-family:Georgia,serif;}
.lp-review .stars{margin-top:-14px;}
.lp-review p{font-size:18px;color:var(--ink);line-height:1.6;margin-top:12px;}
.lp-review cite{font-style:normal;font-size:15.5px;font-weight:800;color:var(--navy);margin-top:auto;padding-top:16px;}

.lp-faqs{max-width:960px;margin:0 auto;padding:72px 32px;}
.lp-faqs h2{font-size:32px;text-align:center;}
.lp-faq-list{margin-top:32px;display:flex;flex-direction:column;gap:12px;}
.lp-faq{border:1px solid var(--line-2);border-radius:12px;background:#fff;}
.lp-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;font-size:18px;font-weight:800;color:var(--ink);}
.lp-faq summary::-webkit-details-marker{display:none;}
.lp-faq summary svg{flex-shrink:0;color:var(--sky);transition:transform .2s;}
.lp-faq[open] summary svg{transform:rotate(180deg);}
.lp-faq p{padding:0 24px 22px;font-size:16.5px;line-height:1.7;}

.lp-nearby{max-width:1312px;margin:0 auto;padding:0 64px 72px;}
.lp-nearby h2{font-size:26px;}
.lp-nearby .tag-row{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:20px;}
.lp-nearby a.tag:hover{color:var(--sky);}

.lp-sticky-bar{display:none;}

/* PPC mode — header without navigation, phone always visible */
.is-ppc-header .header-phone{display:inline;}

@media (max-width:1024px){
  .lp-hero-inner{grid-template-columns:1fr;gap:36px;padding:48px 32px 56px;}
  .lp-form-card{max-width:560px;}
  .lp-trust{grid-template-columns:repeat(2,minmax(0,1fr));padding:28px 32px;}
  .lp-content{grid-template-columns:1fr;padding:56px 32px;}
  .lp-included{position:static;}
  .lp-proof{padding:56px 32px;}
  .lp-proof-grid{grid-template-columns:1fr 1fr;}
  .lp-proof--photos .lp-review{grid-column:span 2;}
  .lp-reviews-grid{grid-template-columns:1fr;}
  .lp-nearby{padding:0 32px 56px;}
  .is-ppc-header .header-phone{display:inline;}
}
@media (max-width:640px){
  .lp-hero h1{font-size:36px;}
  .lp-hero-inner{padding:36px 20px 44px;}
  .lp-form-row{grid-template-columns:1fr;}
  .lp-trust{grid-template-columns:1fr;gap:16px;padding:24px 20px;}
  .lp-content,.lp-proof{padding:44px 20px;}
  .lp-copy h2{font-size:28px;}
  .lp-proof-grid{grid-template-columns:1fr;}
  .lp-proof--photos .lp-review{grid-column:auto;}
  .lp-faqs{padding:48px 20px;}
  .lp-faqs h2{font-size:26px;}
  .lp-nearby{padding:0 20px 48px;}
  .is-ppc-header .header-cta{display:none;}
  .is-ppc-header .header-phone{font-size:16px;}
  /* Sticky call / quote bar — the main mobile conversion path */
  .is-landing .lp-sticky-bar{display:grid;grid-template-columns:1.4fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:90;box-shadow:0 -6px 20px rgba(15,58,99,0.18);}
  .lp-sticky-bar a{display:flex;align-items:center;justify-content:center;gap:8px;padding:16px 10px;font-weight:800;font-size:16px;}
  .lp-sticky-call{background:var(--navy);color:#fff;}
  .lp-sticky-quote{background:var(--gold);color:var(--ink);}
  .is-landing{padding-bottom:56px;}
}

/* =========================================================
   12. SMALL-SCREEN FIXES (site-wide)
   ========================================================= */
.review-main{max-width:100%;}
@media (max-width:640px){
  .site-header{height:76px;gap:10px;}
  .site-header .brand svg{display:none;}
  .brand-word{font-size:21px;}
  .brand-sub{font-size:10px;letter-spacing:3px;}
  .header-actions{gap:8px;margin-left:auto;}
  .header-cta{padding:10px 14px !important;font-size:14px !important;}
  .nav-toggle{order:3;}
  .site-header.nav-open .primary-nav{top:76px;}
  .review-main{padding:28px;}
  .service-hero .hero-content{padding:48px 24px;min-height:0;}
  .service-hero h1{font-size:34px;}
}

/* Landing hero on phones: get the form on screen fast — the USPs and rating
   repeat in the trust strip below, and the sticky bar carries the phone. */
@media (max-width:640px){
  .lp-hero .lp-usps,.lp-hero .lp-hero-rating,.lp-hero .lp-hero-call,.lp-hero > .ph-label{display:none;}
  .lp-sub{font-size:17px;}
  .lp-form-card{padding:24px 20px;}
}
/* Footer widget area ("Footer — Find Us") */
.footer-widget{margin-top:18px;font-size:15px;color:var(--sky-tint);}
.footer-widget h2,.footer-widget .wp-block-heading{font-size:16px;color:#fff;margin:0 0 10px;}
.footer-widget a{color:var(--sky-tint);}
.footer-widget ul{display:flex;flex-direction:column;gap:6px;}

/* Menus built in Appearance → Menus */
.primary-nav .nav-link{text-transform:uppercase;}
.footer-menu{display:flex;flex-direction:column;gap:10px;list-style:none;margin:0;padding:0;}
.footer-menu a{color:var(--sky-tint);}

/* Home page — content from the main editor */
.home-editor-content{padding-top:0;}
.entry-content h2{font-size:32px;margin:0 0 14px;}
.entry-content h3{font-size:24px;margin:28px 0 10px;}
.entry-content p{font-size:17px;line-height:1.75;margin:0 0 16px;}
.entry-content ul,.entry-content ol{list-style:disc;padding-left:22px;margin:0 0 16px;}
.entry-content li{font-size:17px;line-height:1.7;}
.entry-content img{border-radius:12px;}

/* =========================================================
   13. BLOCK-BUILT PAGES
   Trulay blocks (.td-block) run full width; ordinary WordPress blocks
   (paragraphs, headings, lists, images…) sit in a readable column.
   ========================================================= */
.page-blocks > :not(.td-block){max-width:960px;margin:0 auto 18px;padding-left:32px;padding-right:32px;box-sizing:border-box;}
.page-blocks > .td-block + :not(.td-block){margin-top:56px;}
.page-blocks > :not(.td-block) + .td-block{margin-top:56px;}
.page-blocks > h2:not(.td-block){font-size:32px;}
.page-blocks > h3:not(.td-block){font-size:24px;}
.page-blocks > p:not(.td-block),.page-blocks > ul:not(.td-block),.page-blocks > ol:not(.td-block){font-size:17px;line-height:1.75;}
.page-blocks > ul:not(.td-block),.page-blocks > ol:not(.td-block){list-style:disc;padding-left:54px;}
.page-blocks > :last-child:not(.td-block){margin-bottom:56px;}
.page-blocks .wp-block-image img{border-radius:12px;}
.qc-fields .fld label input{margin-top:5px;}

/* Full-width map band: fill the band (min-height alone gives the map no height) */
.map-band .map-embed{position:absolute;inset:0;height:auto;}

/* Navigation spacing (main.js adds these classes only when needed):
   .nav-tight   = links don't fit with the roomy spacing, so tighten it;
   .nav-compact = still don't fit, so switch to the menu button. */
.site-header.nav-tight .primary-nav ul{gap:16px;}
.site-header.nav-compact .primary-nav{display:none;}
.site-header.nav-compact .nav-toggle{display:block;}
.site-header.nav-compact.nav-open .primary-nav{display:flex;position:absolute;top:96px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:20px 32px;border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(15,58,99,0.08);gap:16px;z-index:60;}
.site-header.nav-compact.nav-open .primary-nav ul{flex-direction:column;align-items:flex-start;gap:16px;width:100%;}


/* Footer link hover states.
   The site-wide a:hover turns links navy, which vanished against the navy
   footer. Footer links now brighten to white with a sky-blue underline,
   and the social icons fill sky blue. Keyboard focus gets a visible ring. */
.site-footer a{color:var(--sky-tint);text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:4px;transition:color .15s ease,text-decoration-color .15s ease;}
.site-footer a:hover,.site-footer a:focus-visible{color:#fff;text-decoration-color:var(--sky);}
.site-footer a:focus-visible{outline:2px solid var(--sky);outline-offset:3px;border-radius:3px;}
.site-footer .footer-bottom a{color:#8FB6D9;}
.site-footer .footer-bottom a:hover,.site-footer .footer-bottom a:focus-visible{color:#fff;}
.site-footer .footer-social a{color:#fff;text-decoration:none;transition:background-color .15s ease,transform .15s ease;}
.site-footer .footer-social a:hover,.site-footer .footer-social a:focus-visible{background:var(--sky);color:#fff;transform:translateY(-2px);}
@media (prefers-reduced-motion:reduce){.site-footer a{transition:none;}.site-footer .footer-social a:hover{transform:none;}}

/* Landing pages — before & after photos / three reviews */
.lp-work{position:relative;margin:0;overflow:hidden;}
.lp-work.has-photo{background:#E3ECF3;}
.lp-work.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.lp-ba-label{position:absolute;top:14px;left:14px;z-index:2;background:#fff;color:var(--navy);font-size:13px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;padding:6px 12px;border-radius:999px;box-shadow:0 4px 12px rgba(15,58,99,0.15);}
.lp-work .ph-label{z-index:2;}
.lp-reviews-grid{grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));}
.lp-proof--reviews .lp-review p{font-size:17px;}
.lp-proof-foot{max-width:1312px;margin:24px auto 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:16px;color:var(--body);}
.lp-proof-foot strong{color:var(--ink);}
.lp-proof-foot a{font-weight:800;}
@media (max-width:1024px){.lp-reviews-grid{grid-template-columns:1fr;}}
