/* =========================================================
   Poppins — self-hosted (latin subset), copied from Google Fonts v24.
   Was a render-blocking third-party stylesheet on fonts.googleapis.com,
   which cost a DNS + TLS + round trip before first paint and re-painted
   the hero H1 on swap. Weights 400/500/600/700/800 are all in use.
   400 and 700 are preloaded in inc/theme-setup.php.
   ========================================================= */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Doctor Drips — Design Tokens
   Colors pulled from logo: navy/steel-blue gradient + red accent
   ========================================================= */
:root{
  --color-navy: #16324f;
  --color-blue: #2d76a8;
  --color-blue-light: #5aa2cc;
  --color-blue-pale: #eaf3f9;
  --color-red: #c22030;
  --color-red-dark: #9c1a26;
  --color-ink: #1c2b36;
  --color-body: #45535c;
  --color-grey-light: #f5f7f9;
  --color-border: #e1e7eb;
  --color-white: #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --container-max: 1920px;
  --content-max: 80%;

  --radius: 10px;
  --shadow-card: 0 6px 24px rgba(22,50,79,0.08);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--color-body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--color-white);
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--color-blue); text-decoration:none; transition: color .15s ease; }
a:hover{ color: var(--color-red); }
h1,h2,h3,h4{
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight:700;
  line-height:1.2;
  margin: 0 0 .6em;
}
h1{ font-size: clamp(2rem, 4vw, 3.1rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1.1em; }
ul{ margin:0 0 1.1em; padding-left:1.2em; }

/* =========================================================
   Layout — full width up to 1920px, content max-width 80%
   ========================================================= */
.site-wrap{
  width:100%;
  max-width: var(--container-max);
  margin: 0 auto;
}
.container{
  width: var(--content-max);
  max-width: var(--content-max);
  margin: 0 auto;
}
section{ padding: 64px 0; }
@media (max-width: 782px){
  section{ padding: 40px 0; }
  .container{ width: 90%; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family: var(--font-heading);
  font-weight:600;
  font-size:.98rem;
  padding: .85em 1.6em;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 8px 18px rgba(194,32,48,.28);
}
.btn-primary:hover{ background: var(--color-red-dark); color:var(--color-white); }
.btn-outline{
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover{ background: var(--color-white); color: var(--color-navy); }
.btn-navy{
  background: var(--color-navy);
  color: var(--color-white);
}

/* Outline button on light/white backgrounds (Intro sections on About,
   Services, and Service Detail pages) needs a visible border/text color,
   since the default white-on-white .btn-outline is made for dark heroes. */
.intro .btn-outline{
  color: var(--color-blue);
  border-color: var(--color-blue);
}
.intro .btn-outline:hover{
  background: var(--color-blue);
  color: var(--color-white);
}
.btn-navy:hover{ background: var(--color-blue); color:var(--color-white); }

/* =========================================================
   Header
   ========================================================= */
.top-bar{
  background: var(--color-navy);
  color: var(--color-white);
  font-size:.88rem;
}
.top-bar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding: 8px 0;
}
.top-bar a{ color: var(--color-white); }
.top-bar .top-bar-social a{ margin-left:14px; opacity:.85; display:inline-flex; align-items:center; }
.top-bar .top-bar-social a:hover{ opacity:1; color: var(--color-blue-light); }

.site-header{
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top:0; z-index: 999;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 24px;
}
.site-branding img{ height: 64px; width:auto; }
/* height, not max-height: with the global img{max-width:100%} the logo's box
   resolved in two steps on a narrow viewport — laid out ~130px tall, then
   snapped to 64px once the PNG loaded, which shrank the header and pulled the
   hero up. A fixed height settles the header before the image arrives. */
.main-navigation{ flex:1; display:flex; justify-content:center; }
.main-navigation ul{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap: 28px;
}
.main-navigation li{ position:relative; }
.main-navigation a{
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight:600;
  font-size: .98rem;
  padding: 10px 2px;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a{ color: var(--color-red); }
.main-navigation ul ul{
  display:none;
  position:absolute; top:100%; left:0;
  background: var(--color-white);
  flex-direction:column;
  min-width: 260px;
  box-shadow: var(--shadow-card);
  border-radius: 8px;
  padding: 8px 0;
  gap:0;
  border: 1px solid var(--color-border);
}
.main-navigation li:hover > ul{ display:flex; }
.main-navigation ul ul a{ display:block; padding: 10px 18px; font-weight:500; }
.header-cta{ display:flex; align-items:center; gap:12px; }
.btn-call{ flex-shrink:0; }
.btn-call-icon{ width:18px !important; height:18px !important; flex-shrink:0; display:none; }
.btn-call-label{ white-space: nowrap; }
.menu-toggle{ display:none; }

@media (max-width: 900px){
  .main-navigation{ display:none; }
  .header-cta .btn-outline{ display:none; }
  .header-cta .btn-call{
    padding: 0; width:48px; height:48px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
  }
  .btn-call-icon{ display:block; width:20px; height:20px; }
  /* Not display:none — that would strip the link's only accessible name and leave
     an unlabelled icon button, which is the site's primary mobile CTA. */
  .btn-call-label{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
  }
  .menu-toggle{
    display:inline-flex; background:none; border:none; cursor:pointer;
    position:relative; width:26px; height:20px; padding:0; flex-shrink:0;
  }
  .menu-toggle span{
    position:absolute; left:0; width:26px; height:3px;
    background:var(--color-navy); border-radius:2px;
    transition: transform .3s ease, opacity .2s ease, background .3s ease;
  }
  .menu-toggle span:nth-child(1){ top:0; }
  .menu-toggle span:nth-child(2){ top:8.5px; }
  .menu-toggle span:nth-child(3){ top:17px; }

  .site-header.nav-open .menu-toggle span:nth-child(1){ transform: translateY(8.5px) rotate(45deg); }
  .site-header.nav-open .menu-toggle span:nth-child(2){ opacity:0; }
  .site-header.nav-open .menu-toggle span:nth-child(3){ transform: translateY(-8.5px) rotate(-45deg); }

  .site-header.nav-open .main-navigation{
    display:block; position:absolute; top:100%; left:0; right:0;
    background: var(--color-white); border-top:1px solid var(--color-border);
    padding: 12px 0;
  }
  .site-header.nav-open .main-navigation ul{ flex-direction:column; align-items:flex-start; gap:0; width:90%; margin:0 auto; }
  .site-header.nav-open .main-navigation ul ul{ position:static; display:block; box-shadow:none; border:none; padding-left:14px; }
  .site-header{ position:relative; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: var(--color-white);
  overflow:hidden;
}
.hero .container{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:40px; align-items:center; padding: 70px 0;
}
.hero h1{ color: var(--color-white); }
.hero p.lead{ font-size:1.15rem; color: rgba(255,255,255,.9); max-width: 540px; }
.hero-actions{ display:flex; gap:16px; margin-top: 28px; flex-wrap:wrap; }
.hero-media img{ border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; padding: 44px 0; }
}
@media (max-width: 600px){
  .hero .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero .hero-actions .btn{ width: 100%; justify-content: center; }
}

/* =========================================================
   Trust bar
   ========================================================= */
.trust-bar{ background: var(--color-blue-pale); padding: 26px 0; }
.trust-bar .container{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px;
}
.trust-item{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--color-navy); font-size:.95rem; }
.trust-item-icon{
  display:flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background: var(--color-red); color: var(--color-white);
}
.trust-item-icon svg{ width:18px; height:18px; }

/* =========================================================
   Section heading helper
   ========================================================= */
.section-head{ text-align:center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow{
  display:inline-block; color: var(--color-red); font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; font-size:.82rem; margin-bottom:.6em;
}

/* =========================================================
   Services grid
   ========================================================= */
.services-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap:28px;
}
.service-card{
  background: var(--color-white); border:1px solid var(--color-border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-card); transition: transform .15s ease, box-shadow .15s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 30px rgba(22,50,79,.14); }
.service-card .icon{
  width:54px; height:54px; border-radius:50%; background: var(--color-blue-pale);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.service-card .icon img{ width:28px; height:28px; }
.service-card h3 a{ color: var(--color-navy); }
.service-card a.card-link{ font-weight:600; font-size:.92rem; }

/* =========================================================
   Two-column content (why choose us / intro)
   ========================================================= */
.split{
  display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center;
}
.split img{ border-radius: var(--radius); box-shadow: var(--shadow-card); }
@media (max-width: 900px){ .split{ grid-template-columns:1fr; } }

.bg-navy{ background: var(--color-navy); color: rgba(255,255,255,.9); }
.bg-navy h2, .bg-navy h3{ color: var(--color-white); }
.bg-grey{ background: var(--color-grey-light); }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-list{ max-width: 820px; margin: 0 auto; }
.faq-item{ border-bottom:1px solid var(--color-border); }
.faq-question{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  font-family: var(--font-heading); font-weight:600; color: var(--color-navy); font-size:1.05rem;
  padding: 20px 0; display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-question::after{ content:"+"; font-size:1.4rem; color:var(--color-red); flex-shrink:0; transition: transform .2s ease; }
.faq-item.is-open .faq-question::after{ transform: rotate(45deg); }
.faq-answer{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-item.is-open .faq-answer{ max-height: 400px; }
.faq-answer-inner{ padding: 0 0 20px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band{
  background: linear-gradient(120deg, var(--color-blue) 0%, var(--color-navy) 100%);
  color: var(--color-white); text-align:center;
}
.cta-band h2{ color: var(--color-white); }
.cta-band .hero-actions{ justify-content:center; }

/* =========================================================
   Testimonial / trust seal strip
   ========================================================= */
.trust-strip{ text-align:center; }
.trust-strip img{ margin: 0 auto; }

/* =========================================================
   Reviews (Trustindex shortcode embed)
   ========================================================= */
.reviews-embed{ max-width: 100%; overflow: hidden; }

/* =========================================================
   Service area / neighborhoods
   ========================================================= */
.neighborhood-tags{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:24px; }
.neighborhood-tags span{
  background: var(--color-white); border:1px solid var(--color-border); border-radius:50px;
  padding: 8px 18px; font-size:.9rem; font-weight:600; color:var(--color-navy);
}

/* =========================================================
   About Us page — checklist + trust badges
   ========================================================= */
/* Section-level heading, sized like the h3 it replaced for heading order.
   See template-parts/service-detail-body.php. */
.toc-heading{ font-size: 1.3rem; }
.why-content{
  max-width: 780px; margin: 0 auto;
  background: var(--color-white); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 48px 52px;
}
.checklist{
  list-style:none; margin:0 0 28px; padding:0;
  display:flex; flex-direction:column; gap:18px;
}
.checklist li{
  position:relative; padding-left:38px; font-weight:500; color:var(--color-ink); line-height:1.55;
}
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:0;
  width:24px; height:24px; border-radius:50%; background:var(--color-red); color:var(--color-white);
  display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700;
}
.why-closing{
  padding-top: 28px; border-top: 1px solid var(--color-border);
}
.why-closing p{ margin-bottom: 1em; }
.why-closing p:last-child{ margin-bottom:0; font-weight:600; color:var(--color-navy); }
@media (max-width: 600px){
  .why-content{ padding: 32px 24px; }
}

/* --- About page: hero intro with floating chip --- */
.about-hero{ padding-top: 80px; }
.about-hero .eyebrow{ display:block; margin-bottom:14px; }
.about-hero-media{ position: relative; }
.about-hero-media::before{
  content:""; position:absolute; top:-24px; left:-24px; right:24px; bottom:24px;
  background: var(--color-blue-pale); border-radius: var(--radius); z-index:0;
}
.about-hero-media img{ position:relative; z-index:1; }
.floating-chip{
  position:absolute; z-index:2; bottom:-18px; left:50%; transform:translateX(-50%);
  background: var(--color-red); color: var(--color-white);
  font-family: var(--font-heading); font-weight:600; font-size:.85rem;
  padding: 10px 24px; border-radius:50px; white-space:nowrap;
  box-shadow: 0 10px 24px rgba(194,32,48,.35);
}
@media (max-width: 900px){
  .about-hero{ padding-top:44px; }
  .about-hero-media::before{ top:-16px; left:-16px; right:16px; bottom:16px; }
  .floating-chip{ font-size:.78rem; padding:8px 18px; }
}

/* --- About page: two-column Why Choose Us with quote panel --- */
.why-content--split{
  max-width: 1040px; padding: 0; background:none; box-shadow:none;
  display:grid; grid-template-columns: 1.1fr .9fr; gap:0; align-items:stretch;
}
.why-content--split .checklist{
  margin:0; padding: 48px 52px; background: var(--color-white); border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: var(--shadow-card); justify-content:center;
}
.why-quote-panel{
  position:relative; margin:0; padding: 48px 52px; color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy) 100%);
  border-radius: 0 var(--radius) var(--radius) 0; display:flex; flex-direction:column; justify-content:center;
}
.why-quote-mark{
  font-family: var(--font-heading); font-size:3.5rem; line-height:1; color: rgba(255,255,255,.35);
  display:block; margin-bottom:-10px;
}
.why-quote-panel p{ margin-bottom: 1em; }
.why-quote-panel p:last-child{ margin-bottom:0; font-weight:700; font-size:1.05rem; }
@media (max-width: 900px){
  .why-content--split{ grid-template-columns: 1fr; }
  .why-content--split .checklist{ border-radius: var(--radius) var(--radius) 0 0; padding: 36px 28px; }
  .why-quote-panel{ border-radius: 0 0 var(--radius) var(--radius); padding: 36px 28px; }
}

.badges{ padding-top: 20px; }
.badges-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:28px;
}
.badge-item{
  position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px;
  padding: 36px 24px 30px; background: var(--color-white); border:1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow-card); font-weight:600; color:var(--color-navy); font-size:.95rem;
  overflow:hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.badge-item::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
}
.badge-item:hover{ transform: translateY(-5px); box-shadow: 0 16px 32px rgba(22,50,79,.16); }
.badge-item-icon{
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  width:56px; height:56px; border-radius:50%; background: var(--color-blue-pale); color: var(--color-blue);
}
.badge-item-icon svg{ width:26px; height:26px; }
@media (max-width: 900px){
  .badges-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .badges-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Service detail pages — decision guide table
   ========================================================= */
.decision-table-wrap{
  overflow-x:auto; background: var(--color-white); border-radius: var(--radius);
  box-shadow: var(--shadow-card); border: 1px solid var(--color-border);
}
.decision-table{ width:100%; border-collapse: collapse; min-width: 560px; }
.decision-table th, .decision-table td{
  padding: 16px 20px; text-align:left; font-size:.92rem; border-bottom: 1px solid var(--color-border);
}
.decision-table thead th{
  font-family: var(--font-heading); font-weight:700; color: var(--color-white);
  background: var(--color-navy); font-size:.85rem;
}
.decision-table tbody tr:last-child td,
.decision-table tbody tr:last-child th{ border-bottom:none; }
.decision-table-wrap:focus-visible{
  outline: 3px solid var(--color-red); outline-offset: 2px;
}
.decision-table tbody tr:nth-child(even){ background: var(--color-blue-pale); }
.decision-table .decision-factor{ font-weight:700; color: var(--color-navy); }

/* =========================================================
   Service detail pages — featured brand callout
   ========================================================= */
.brand-callout{
  display:flex; align-items:center; gap:32px; background: var(--color-white);
  border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 32px 40px;
  max-width: 900px; margin: 0 auto;
}
.brand-callout img{ max-width:160px; flex-shrink:0; }
.brand-callout h3{ margin-bottom:.4em; }
.brand-callout p{ margin-bottom:0; }
@media (max-width: 600px){
  .brand-callout{ flex-direction:column; text-align:center; padding: 28px 24px; }
}

/* =========================================================
   Service detail pages — numbered process steps
   ========================================================= */
.process-steps{
  display:flex; flex-wrap:wrap; justify-content:center; gap:28px;
}
.process-step{
  position:relative; padding-top: 8px;
  flex: 0 1 calc(25% - 21px); min-width:220px;
}
@media (max-width: 1000px){
  .process-step{ flex-basis: calc(50% - 14px); }
}
@media (max-width: 560px){
  .process-step{ flex-basis: 100%; }
}

/* Repair Process specifically: 5 columns on desktop, independent of the
   default 4-column layout used elsewhere (e.g. Installation Process). */
.process-steps--repair .process-step{ flex-basis: calc(20% - 22.4px); }
@media (max-width: 1000px){
  .process-steps--repair .process-step{ flex-basis: calc(50% - 14px); }
}
@media (max-width: 560px){
  .process-steps--repair .process-step{ flex-basis: 100%; }
}
.process-step-number{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%; margin-bottom:16px;
  background: var(--color-red); color: var(--color-white);
  font-family: var(--font-heading); font-weight:700; font-size:1.1rem;
}
.process-step h3{ font-size:1.1rem; margin-bottom:.4em; }
.process-step p{ margin-bottom:0; font-size:.95rem; }

/* =========================================================
   Services page — image-overlay service tiles
   ========================================================= */
.service-tile-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:20px;
}
.service-tile{
  position:relative; display:block; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow:hidden; text-decoration:none;
  box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.service-tile:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(22,50,79,.2); }
.service-tile img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition: transform .3s ease;
}
.service-tile:hover img{ transform: scale(1.07); }
.service-tile-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(22,50,79,.25) 0%, rgba(22,50,79,.85) 100%);
}
.service-tile--no-image .service-tile-overlay{
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy) 100%);
  transition: background .3s ease;
}
.service-tile--no-image:hover .service-tile-overlay{
  background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-blue) 100%);
}
.service-tile-title{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end; text-align:center;
  color: var(--color-white); font-family: var(--font-heading); font-weight:700;
  font-size:1.05rem; line-height:1.3; padding: 20px 16px;
}
.service-tile-icon{
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  width:48px; height:48px; border-radius:50%; margin-bottom:14px;
  background: rgba(255,255,255,.18);
}
.service-tile-icon svg{ width:22px; height:22px; color: var(--color-white); }
@media (max-width: 1100px){
  .service-tile-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px){
  .service-tile-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .service-tile-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Contact page — info cards + map
   ========================================================= */
.contact-info-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:24px;
}
.contact-info-card{
  text-align:center; padding: 30px 22px; background: var(--color-white);
  border:1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.contact-info-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%; background: var(--color-blue-pale); color: var(--color-blue);
  margin-bottom:14px;
}
.contact-info-icon svg{ width:24px; height:24px; }
.contact-info-card h2{ font-size:1.05rem; margin-bottom:8px; }
.contact-info-card a, .contact-info-card span{ font-weight:600; color: var(--color-navy); word-break: break-word; overflow-wrap: break-word; }
.contact-info-card a:hover{ color: var(--color-red); }
.contact-map-frame{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-card); }

/* =========================================================
   Services page — Partner With Us area links list
   ========================================================= */
.area-links{ text-align:center; margin-top: 36px; }
.area-links-heading{ font-weight:700; color: var(--color-navy); margin-bottom: 18px; }
.area-links a,
.area-link-plain{
  display:block; font-size:1.05rem; padding: 6px 0;
}
.area-links a{ color: var(--color-blue); }
.area-links a:hover{ color: var(--color-red); }
.area-link-plain{ color: var(--color-body); }

/* =========================================================
   404 page
   ========================================================= */
.error-404-hero{
  background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: var(--color-white); padding: 90px 0; text-align:center;
}
.error-404-content{ max-width: 640px; margin: 0 auto; }
.error-404-code{
  display:block; font-family: var(--font-heading); font-weight:800;
  font-size: clamp(4rem, 12vw, 7rem); line-height:1; color: rgba(255,255,255,.18);
  margin-bottom: -10px;
}
.error-404-hero h1{ color: var(--color-white); }
.error-404-hero p{ color: rgba(255,255,255,.9); font-size:1.1rem; }
.error-404-hero .hero-actions{ justify-content:center; margin-top:28px; }
.error-404-links .service-card p{ margin-bottom:0; }

/* =========================================================
   Blog — listing grid + cards
   ========================================================= */
.blog-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:32px;
}
.blog-card{
  display:block; text-decoration:none; background: var(--color-white);
  border:1px solid var(--color-border); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(22,50,79,.14); }
.blog-card-media{ aspect-ratio: 16 / 10; overflow:hidden; background: var(--color-grey-light); }
.blog-card-media img{ width:100%; height:100%; object-fit:cover; }
.blog-card-media--placeholder{ background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-navy) 100%); }
.blog-card-body{ padding: 22px 24px 26px; }
.blog-card-cat{
  display:inline-block; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color: var(--color-red); margin-bottom:10px;
}
.blog-card h2{ font-size:1.15rem; margin-bottom:10px; }
.blog-card-date{ font-size:.85rem; color: var(--color-body); }
.blog-pagination{ margin-top:48px; text-align:center; }
.blog-pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; height:40px; margin:0 4px; padding:0 10px; border-radius:8px;
  background: var(--color-white); border:1px solid var(--color-border);
  color: var(--color-navy); font-weight:600; text-decoration:none;
}
.blog-pagination .page-numbers.current{ background: var(--color-red); color: var(--color-white); border-color: var(--color-red); }
.blog-pagination .page-numbers:hover{ border-color: var(--color-blue); }

/* =========================================================
   Blog — single post
   ========================================================= */
.single-post-hero{ padding: 60px 0 20px; }
.single-post-cats{ margin-bottom:14px; }
.single-post-cats a{
  display:inline-block; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color: var(--color-red); margin-right:14px;
}
.single-post-meta{ color: var(--color-body); font-size:.92rem; margin-top:10px; }
.single-post-thumb{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.single-post-thumb img{ width:100%; height:auto; display:block; }
.single-post-content{ padding: 20px 0 50px; }
.single-post-content p{ margin-bottom:1.3em; }
.single-post-content h2{ margin-top:1.6em; }
.single-post-content h3{ margin-top:1.3em; font-size:1.2rem; }
.single-post-content ul, .single-post-content ol{ margin-bottom:1.3em; }
.single-post-content img{ border-radius: var(--radius); }

/* WCAG 1.4.1 (use of colour): a link sitting inside running text must be
   distinguishable by something other than its colour, or readers who can't
   separate the two hues can't tell it is a link. Buttons are excluded — their
   shape already marks them. */
.single-post-content a:not(.btn),
.section-head a:not(.btn),
.why-content a:not(.btn){
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.single-post-content a:not(.btn):hover,
.section-head a:not(.btn):hover,
.why-content a:not(.btn):hover{
  text-decoration-thickness: 2px;
}
.back-to-blog{
  display:inline-block; margin-bottom:50px; font-weight:600; color: var(--color-blue);
}
.back-to-blog:hover{ color: var(--color-red); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background: var(--color-navy); color: rgba(255,255,255,.85); padding-top:56px; }
.footer-grid{
  display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:36px; padding-bottom:40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h2{ color: var(--color-white); font-size:1rem; margin-bottom:16px; }
.footer-grid ul{ list-style:none; padding:0; margin:0; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a{ color: rgba(255,255,255,.8); }
.footer-grid a:hover{ color: var(--color-blue-light); }
.footer-logo img{ height:56px; width:auto; margin-bottom:16px; }
.footer-social a{
  display:inline-flex; align-items:center; margin-right:14px;
  color: var(--color-white); opacity:.9; transition: opacity .2s ease, color .2s ease;
}
.footer-social a:hover{ opacity:1; color: var(--color-blue-light); }
.social-icon{ display:block; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  padding: 20px 0; font-size:.85rem; color: rgba(255,255,255,.6);
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   Contact form (footer lead form)
   ========================================================= */
.lead-form-heading{ color: var(--color-white); text-align:center; margin-bottom: 24px; }
.lead-form{ background: var(--color-white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-card); color: var(--color-body); }
.lead-form label{ display:block; font-weight:600; font-size:.85rem; color: var(--color-navy); margin-bottom:6px; }
.lead-form input, .lead-form textarea{
  width:100%; padding:11px 14px; border:1px solid var(--color-border); border-radius:8px;
  font-family: var(--font-body); font-size:.95rem; margin-bottom:16px;
}
.lead-form button{ width:100%; justify-content:center; border:none; }

/* =========================================================
   Contact Form 7 — match the existing form design
   ========================================================= */
/* CF7 wraps each control in an inline span; keep our inputs/textarea
   full-width regardless of that wrapper. */
.lead-form .wpcf7-form-control-wrap{ display:block; }

/* CF7's submit is an <input type="submit">, not a <button>, so it needs
   its own rule replicating .btn.btn-primary + the full-width override
   above (that rule only targets <button> elements). */
.lead-form input.wpcf7-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  width:100%;
  font-family: var(--font-heading);
  font-weight:600;
  font-size:.98rem;
  padding: .85em 1.6em;
  border-radius: 50px;
  border: none;
  cursor:pointer;
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 8px 18px rgba(194,32,48,.28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.lead-form input.wpcf7-submit:hover{ background: var(--color-red-dark); transform: translateY(-2px); }
.lead-form input.wpcf7-submit:disabled{ opacity:.7; cursor:default; transform:none; }

/* Inline "this field is required" validation messages */
.lead-form .wpcf7-not-valid-tip{
  display:block; color: var(--color-red); font-size:.82rem; font-weight:500;
  margin-top:-12px; margin-bottom:14px;
}
.lead-form .wpcf7-form-control.wpcf7-not-valid{ border-color: var(--color-red); }

/* Success/error banner CF7 shows after submitting */
.lead-form .wpcf7-response-output{
  margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; font-weight:600; font-size:.92rem;
}
.lead-form-wrap.sent .wpcf7-response-output,
.lead-form .wpcf7 form.sent .wpcf7-response-output{
  color: #1a7a3a; background: rgba(26,122,58,.08); border: 1px solid rgba(26,122,58,.25);
}
.lead-form .wpcf7 form.invalid .wpcf7-response-output,
.lead-form .wpcf7 form.unaccepted .wpcf7-response-output,
.lead-form .wpcf7 form.aborted .wpcf7-response-output,
.lead-form .wpcf7 form.spam .wpcf7-response-output,
.lead-form .wpcf7 form.failed .wpcf7-response-output{
  color: var(--color-red); background: rgba(194,32,48,.08); border: 1px solid rgba(194,32,48,.25);
}

/* CF7's built-in "sending" spinner */
.lead-form .wpcf7-spinner{ margin-left:10px; }

/* =========================================================
   Scroll to top button
   ========================================================= */
.scroll-top-btn{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(194,32,48,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .15s ease;
  z-index: 900;
}
.scroll-top-btn.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.scroll-top-btn:hover{ background: var(--color-red-dark); }
@media (max-width: 560px){
  .scroll-top-btn{ right:16px; bottom:16px; width:44px; height:44px; }
}

/* =========================================================
   Utilities
   ========================================================= */
/* Visually hidden, still announced by screen readers. */
.u-sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
