/* =========================================================
   Highmark Painters & Handymen — Master Stylesheet
   Last updated: 2026-03-05 (Agent 1 — Code Correction)
   ========================================================= */

:root {
  --burgundy:#7A2E2E;
  --gold:#D5A249;
  --navy:#102A43;
  --white:#ffffff;
}

/* ================= GLOBAL ================= */

body {
  margin:0;
  font-family:'Open Sans', sans-serif;
  background-color:#ffffff;
  color:#102A43;
}

/* ================= HEADER ================= */

header {
  background-color:var(--burgundy);
  padding:0.75rem 1.5rem;
  border-bottom:4px solid var(--gold);
  position:sticky;           /* Fix #5: sticky header */
  top:0;
  z-index:1000;
  transition:padding 0.3s ease, box-shadow 0.3s ease;
}

/* Compact state after user scrolls */
header.scrolled {
  padding:0.4rem 1.5rem;
  box-shadow:0 2px 12px rgba(0,0,0,0.25);
}

header.scrolled .logo-shield {
  height:52px;
  transition:height 0.3s ease;
}

header.scrolled .logo-full {
  height:65px;
  transition:height 0.3s ease;
}

header.scrolled .logo-name {
  height:20px;
  transition:height 0.3s ease;
}

header.scrolled .logo-tagline {
  height:11px;
  transition:height 0.3s ease;
}

.header-container {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-group {
  display:flex;
  align-items:center;
  gap:16px;
}

.logo-shield {
  height:78px;
  transition:height 0.3s ease;
}

.logo-full {
  height:98px;
  width:auto;
  transition:height 0.3s ease;
}

.logo-text-group {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  text-decoration:none;
}

.logo-name {
  height:28px;
  width:auto;
  transition:height 0.3s ease;
}

.logo-tagline {
  height:15px;
  width:auto;
  opacity:0.85;
  transition:height 0.3s ease;
}

/* ================= DESKTOP NAV ================= */

nav {
  display:flex;
  gap:40px;
}

nav a {
  position:relative;
  color:var(--white);
  text-decoration:none;
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  font-size:0.95rem;
  padding-bottom:4px;
}

nav a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background-color:var(--gold);
  transition:width 0.3s ease;
}

nav a:hover::after {
  width:100%;
}

/* ================= HEADER ACTIONS (phone number + hamburger) ================= */

.header-actions {
  display:flex;
  align-items:center;
  gap:1.5rem;
}

.header-phone {
  display:flex;
  align-items:center;
  gap:0.4rem;
  color:var(--gold) !important;   /* override browser default blue link color */
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:0.95rem;
  text-decoration:none !important;
  white-space:nowrap;
  transition:color 0.2s ease;
}

.header-phone:hover {
  color:var(--white) !important;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display:none;
  font-size:30px;
  color:var(--white);
  cursor:pointer;
  background:none;
  border:none;
  padding:0;
  min-width:44px;  /* Bug #14 fix: minimum 44px touch target */
  min-height:44px;
  line-height:1;
}

/* ================= MOBILE NAV ================= */

.mobile-nav {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  background-color:var(--burgundy);
  border-top:2px solid var(--gold);
  overflow:hidden;
  max-height:0;
  opacity:0;
  transition:max-height 0.4s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  max-height:500px;
  opacity:1;
  padding:1.25rem 0;
}

.mobile-nav a {
  color:var(--white);
  text-decoration:none;
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  font-size:1rem;
  min-height:44px; /* Bug #14 fix: minimum 44px touch target */
  display:flex;
  align-items:center;
}

.mobile-nav a:hover {
  color:var(--gold);
}

.mobile-phone-link {
  color:var(--gold) !important;
  border-top:1px solid rgba(255,255,255,0.15);
  padding-top:1rem;
  margin-top:0.25rem;
  font-size:1.05rem !important;
}

/* ================= HERO ================= */

.hero {
  background-image:url('/assets/images/highmark-home-hero.jpg');
  background-size:cover;
  background-position:center;
  padding:6rem 2rem 8rem;
  text-align:center;
  position:relative;
}

.hero-overlay {
  background-color:rgba(16,42,67,0.8);
  border-radius:32px;
  max-width:900px;
  margin:0 auto;
  padding:3rem 2rem 3.5rem;
  color:#ffffff;
}

.hero h1 {
  font-family:'Montserrat',sans-serif;
  font-size:3rem;
  margin:0 0 1rem;
  color:var(--gold);
}

.hero p {
  font-size:1.2rem;
  margin:0 0 2rem;
}

.hero-buttons {
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
}

/* ================= SERVICE SECTIONS ================= */

.service-section {
  position:relative;
  padding:5rem 2rem;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#ffffff;
  text-align:center;
}

.service-section::before {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(16,42,67,0.45);
  z-index:1;
}

.service-inner {
  position:relative;
  z-index:2;
  max-width:900px;
  margin:0 auto;
  padding:2rem 1.5rem;
}

.service-section h2 {
  font-family:'Montserrat',sans-serif;
  font-size:2.3rem;
  margin-bottom:1rem;
  color:#ffffff;
}

.service-section p {
  font-size:1.1rem;
  line-height:1.6;
  margin-bottom:1.5rem;
  color:#ffffff;
}

.residential-section {
  background-image:url('/assets/images/exterior-painting-hero-1.png');
}

.handyman-section {
  background-image:url('/assets/images/handyman-tools-hero-1.png');
}

.commercial-section {
  background-image:url('/assets/images/commercial-painting-hero-1.png');
}

.service-areas-section {
  background-image:url('/assets/images/service-areas-map-hero.png');
}

/* ================= ABOUT PAGE SECTIONS ================= */

.about-section {
  padding:4rem 2rem;
  text-align:center;
  color:#fff;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-blend-mode:overlay;
}

.about-section.why {
  background-image:url('/assets/images/highmark-prepped-room-hero-1.png');
  background-color:rgba(122,46,46,0.90);
}

.about-section.difference {
  background-image:url('/assets/images/handyman-tools-hero-1.png');
  background-color:rgba(16,42,67,0.85);
}

.about-section.local {
  background-image:url('/assets/images/commercial-painting-hero-1.png');
  background-color:rgba(16,42,67,0.85);
}

.about-section h2 {
  font-family:'Montserrat',sans-serif;
  font-size:2.5rem;
  margin-bottom:1rem;
  position:relative;
}

.about-section.why h2::after {
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:var(--gold);
  margin:15px auto 0;
}

.about-section p {
  max-width:800px;
  margin:0 auto 2rem;
  font-size:1.2rem;
  line-height:1.6;
}

/* ================= T&C / PRIVACY CONTENT ================= */

.content-section {
  padding:4rem 2rem;
}

.content-card {
  max-width:1000px;
  margin:0 auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  border:1px solid rgba(0,0,0,0.08);
  overflow:hidden;
}

.content-header {
  background:rgba(122,46,46,0.10);
  padding:1.5rem;
}

.content-header h2 {
  font-family:'Montserrat',sans-serif;
  margin:0;
}

.content-body {
  padding:2rem;
  line-height:1.7;
}

.content-body h3 {
  font-family:'Montserrat',sans-serif;
  margin-top:1.8rem;
}

.meta-row {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:1.5rem;
}

.meta-row span {
  background:#f3f4f6;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #e5e7eb;
}

/* ================= BUTTONS ================= */

.cta-button {
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:1rem;
  padding:12px 24px;
  border-radius:8px;
  border:2px solid transparent;
  text-decoration:none;
  text-transform:uppercase;
  cursor:pointer;
  display:inline-block;
}

.cta-button.gold {
  background-color:var(--gold);
  color:var(--navy);
}

.cta-button.white {
  background-color:var(--white);
  color:var(--navy);
  border-color:var(--navy);
}

.cta-button.burgundy {
  background-color:var(--burgundy);
  color:#ffffff;
}

.button-group {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:1rem;
}

/* ================= FOOTER ================= */

footer {
  background-color:#102A43;
  color:white;
  border-top:4px solid var(--gold);
}

.footer-inner {
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:2.5rem;
  max-width:1100px;
  margin:0 auto;
  padding:3rem 2rem 2rem;
  align-items:start;
}

.footer-brand {
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  align-items:center;   /* center everything: shield, wordmark, tagline, phone */
  text-align:center;
}

.footer-logo-shield-link {
  display:block;
}

.footer-logo-shield {
  height:64px;
  display:block;
}

.footer-logo-text-group {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  text-decoration:none;
}

.footer-logo-name {
  height:26px;
  width:auto;
}

.footer-logo-tagline {
  height:14px;
  width:auto;
  opacity:0.85;
}

.footer-logo-link {
  display:block;
}

.footer-logo-full {
  height:96px;
  width:auto;
  display:block;
}

.footer-tagline {
  font-size:0.88rem;
  color:#94a3b8;
  line-height:1.5;
  margin:0;
}

.footer-phone {
  display:inline-block;
  color:var(--gold);
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:1rem;
  text-decoration:none;
  margin-top:0.25rem;
}

.footer-phone:hover {
  color:var(--white);
}

.footer-col h4 {
  font-family:'Montserrat',sans-serif;
  font-size:0.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--gold);
  margin:0 0 0.85rem;
}

.footer-col ul {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:0.5rem;
}

.footer-col ul li a {
  color:#cbd5e1;
  text-decoration:none;
  font-size:0.88rem;
  transition:color 0.2s ease;
}

.footer-col ul li a:hover {
  color:var(--gold);
}

.footer-counties {
  margin:1rem 0 0;
  font-size:0.78rem;
  color:#64748b;
  line-height:1.5;
}

.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.1);
  padding:1.25rem 2rem;
  text-align:center;
}

.footer-bottom p {
  margin:0.25rem 0;
  font-size:0.82rem;
  color:#64748b;
}

.footer-license {
  font-size:0.78rem !important;
  color:#475569 !important;
}

@media (max-width:768px) {
  .footer-inner {
    grid-template-columns:1fr 1fr;
    gap:2rem;
    padding:2rem 1.25rem 1.5rem;
  }

  .footer-brand {
    grid-column:1 / -1;     /* brand spans full width on mobile */
  }
}

/* ================= MOBILE ================= */

@media (max-width:768px) {

  /* ---- HEADER: compact single row ---- */
  header {
    padding:0.5rem 1rem;
  }

  .header-container {
    flex-direction:row;          /* keep logo + hamburger on one line */
    align-items:center;
    justify-content:space-between;
  }

  .logo-group {
    flex-direction:row;
    align-items:center;
    gap:8px;
  }

  .logo-shield {
    height:44px;
  }

  .logo-full {
    height:55px;
  }

  .logo-name {
    height:18px;
  }

  .logo-tagline {
    height:10px;
  }

  nav {
    display:none;
  }

  .header-phone {
    display:none;                /* hidden on mobile — phone is in mobile-nav dropdown */
  }

  .hamburger {
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:0;
  }

  .mobile-nav {
    width:100%;
  }

  /* ---- HERO ---- */
  .hero h1 {
    font-size:2.2rem;
  }

  .hero p {
    white-space:normal;
    max-width:90%;
    margin:0 auto 2rem;
  }

  /* Stack CTA buttons vertically on mobile */
  .hero-buttons,
  .button-group {
    flex-direction:column;
    align-items:center;
  }

  .cta-button {
    width:100%;
    max-width:280px;
    text-align:center;
  }

  .contact-grid {
    flex-direction:column;
  }

  .contact-sidebar {
    max-width:100%;
  }

  .area-grid {
    grid-template-columns:1fr;
  }

  .stats-inner {
    flex-direction:column;
    gap:1rem;
  }
}

/* ================= JOB LIST (Handyman Services) ================= */

.job-list {
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin:1rem 0 1.5rem;
}

.job-item {
  padding:0.85rem 1rem;
  border-bottom:1px solid #e5e7eb;
  font-size:0.95rem;
  line-height:1.6;
}

.job-item:last-child {
  border-bottom:none;
}

.job-item strong {
  color:var(--navy);
  font-weight:600;
}

.scope-callout {
  background:#fef9f0;
  border-left:4px solid var(--gold);
  padding:1rem 1.25rem;
  margin:1.5rem 0;
  font-size:0.93rem;
  line-height:1.6;
  border-radius:0 8px 8px 0;
}

.scope-callout strong {
  color:var(--burgundy);
}

/* ================= CONTACT FORM ================= */

.contact-grid {
  display:flex;
  gap:2rem;
  align-items:flex-start;
}

.contact-form-wrapper {
  flex:2;
  min-width:0;
}

.contact-sidebar {
  flex:1;
  max-width:340px;
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}

.sidebar-card {
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:1.5rem;
  text-align:center;
}

.sidebar-card h3 {
  font-family:'Montserrat',sans-serif;
  margin:0 0 0.75rem;
  color:var(--navy);
}

.sidebar-card p {
  margin:0 0 0.75rem;
  font-size:0.95rem;
  line-height:1.5;
}

.form-group {
  margin-bottom:1.25rem;
}

.form-group label {
  display:block;
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  font-size:0.9rem;
  margin-bottom:0.4rem;
  color:var(--navy);
}

.form-group .required {
  color:#c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width:100%;
  padding:0.65rem 0.9rem;
  font-family:'Open Sans',sans-serif;
  font-size:1rem;
  border:1px solid #d1d5db;
  border-radius:8px;
  background:#fff;
  color:var(--navy);
  box-sizing:border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none;
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(213,162,73,0.2);
}

.form-group textarea {
  resize:vertical;
}

.form-success {
  margin-top:1.5rem;
  padding:1.25rem;
  background:#ecfdf5;
  border:1px solid #6ee7b7;
  border-radius:10px;
  color:#065f46;
}

/* ================= STATS BAR ================= */

.stats-bar {
  background:var(--navy);
  padding:1.5rem 2rem;
  text-align:center;
}

.stats-inner {
  display:flex;
  justify-content:center;
  gap:3rem;
  flex-wrap:wrap;
  max-width:900px;
  margin:0 auto;
}

.stat-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:0.25rem;
}

.stat-number {
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:1.8rem;
  line-height:1;
  color:var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:2rem;        /* Fix #4: consistent height so checkmarks + numbers align evenly */
}

/* Optional modifier for pages that want a larger number stat (e.g. "150+") */
.stat-number.is-large {
  font-size:2.2rem;
}

.stat-label {
  font-family:'Open Sans',sans-serif;
  font-size:0.85rem;
  color:#ffffff;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

/* ================= SERVICE AREA GRID ================= */

.area-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:0.75rem;
  margin-top:1rem;
}

.area-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.75rem 1rem;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:8px;
  text-decoration:none;
  color:var(--navy);
  font-family:'Open Sans',sans-serif;
  font-size:0.95rem;
  transition:border-color 0.2s ease, background 0.2s ease;
  min-height:44px;
}

.area-link:hover {
  border-color:var(--gold);
  background:#fffbeb;
}

.area-link span {
  font-size:0.8rem;
  color:#6b7280;
  white-space:nowrap;
  margin-left:0.5rem;
}

.nearby-grid {
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
}

/* ================= SERVICE BADGES ================= */

.service-badges {
  display:flex;
  justify-content:center;
  gap:0.75rem;
  flex-wrap:wrap;
  margin:1rem 0;
}

.badge {
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.3);
  color:#ffffff;
  padding:0.35rem 0.9rem;
  border-radius:999px;
  font-family:'Open Sans',sans-serif;
  font-size:0.8rem;
}

/* ================= CITY HERO IMAGE ================= */

.city-hero-image {
  max-width:100%;
  overflow:hidden;
}

.city-hero-image img {
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  max-height:400px;
}

/* ================= HERO-CONTENT VARIANT (Commercial Sub-Pages) ================= */

.hero-content {
  background-color:rgba(16,42,67,0.8);
  border-radius:32px;
  max-width:900px;
  margin:0 auto;
  padding:3rem 2rem 3.5rem;
  color:#ffffff;
  text-align:center;
}

.hero-eyebrow {
  font-family:'Montserrat',sans-serif;
  font-size:0.85rem;
  text-transform:uppercase;
  letter-spacing:1.5px;
  color:var(--gold);
  margin-bottom:0.75rem;
}

.hero-description {
  font-size:1.1rem;
  line-height:1.6;
  margin:0 0 2rem;
}

/* ================= CTA SECTION — VAN BANNER ================= */

.cta-section {
  position:relative;
  background-image:url('/assets/images/highmark-van-cta.jpg');
  background-size:cover;
  background-position:center 35%;        /* crop tight on van body / branding */
  background-repeat:no-repeat;
  color:#ffffff;
  text-align:center;
  padding:5rem 2rem;
  overflow:hidden;
}

.cta-section::before {
  content:"";
  position:absolute;
  inset:0;
  background:rgba(122,46,46,0.82);       /* burgundy overlay — keeps text readable */
  z-index:1;
}

.cta-section > * {
  position:relative;
  z-index:2;                              /* lift content above overlay */
}

.cta-section h2 {
  font-family:'Montserrat',sans-serif;
  font-size:2rem;
  margin:0 0 1rem;
  color:#ffffff;
}

.cta-section p {
  font-size:1.1rem;
  line-height:1.6;
  margin:0 auto 1.5rem;
  max-width:700px;
}

.cta-section a {
  color:#ffffff;
}

.cta-section .cta-button {
  margin:0.5rem;
}

/* Make burgundy buttons visible against the burgundy overlay */
.cta-section .cta-button.burgundy {
  background-color:#ffffff;
  color:var(--burgundy);
  border:2px solid #ffffff;
}

/* ================= PROJECT SHOWCASE ================= */

.project-showcase {
  padding:4rem 2rem;
  background:#f9fafb;
}

.project-showcase h2 {
  font-family:'Montserrat',sans-serif;
  font-size:1.8rem;
  color:var(--navy);
  text-align:center;
  margin:0 0 0.5rem;
}

.project-showcase > p {
  text-align:center;
  color:#6b7280;
  margin:0 auto 2rem;
  max-width:700px;
  font-size:1rem;
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:1.25rem;
  max-width:1100px;
  margin:0 auto;
}

.project-card {
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
  transition:box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  border-color:var(--gold);
  box-shadow:0 4px 16px rgba(0,0,0,0.08);
}

.project-card img {
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}

.project-card-body {
  padding:1rem 1.25rem 1.25rem;
}

.project-card-body h3 {
  font-family:'Montserrat',sans-serif;
  font-size:1rem;
  font-weight:600;
  color:var(--navy);
  margin:0 0 0.35rem;
}

.project-card-body p {
  font-size:0.88rem;
  color:#6b7280;
  line-height:1.45;
  margin:0;
}

@media (max-width:768px) {
  .project-grid {
    grid-template-columns:1fr;
  }

  .cta-section {
    padding:4rem 1.5rem;
    background-position:center 40%;
  }
}

/* ================= CONTENT LIST STYLING ================= */

.content-body ul,
.content-card ul {
  list-style:none;
  padding:0;
  margin:1rem 0 1.5rem;
}

.content-body ul li,
.content-card ul li {
  padding:0.6rem 0 0.6rem 1.5rem;
  position:relative;
  line-height:1.6;
  border-bottom:1px solid #f3f4f6;
}

.content-body ul li::before,
.content-card ul li::before {
  content:"\25B8";
  position:absolute;
  left:0;
  color:var(--gold);
  font-weight:700;
}

.content-body ul li:last-child,
.content-card ul li:last-child {
  border-bottom:none;
}

.content-body ul li a,
.content-card ul li a {
  color:var(--burgundy);
  text-decoration:underline;
}

/* ================= CONTENT-CARD DIRECT CHILDREN (no .content-body wrapper) ================= */

.content-card > h3 {
  font-family:'Montserrat',sans-serif;
  padding:1.25rem 1.5rem 0;
  margin:0 0 0.5rem;
  color:var(--navy);
}

.content-card > p {
  padding:0 1.5rem;
  margin:0 0 0.75rem;
  line-height:1.6;
}

.content-card > .cta-button {
  margin:0.5rem 1.5rem 1rem;
}

.content-card > ul {
  padding-left:1.5rem;
  padding-right:1.5rem;
  padding-bottom:1rem;
}

/* ================= CONTENT-BODY WITHOUT CARD WRAPPER ================= */

.content-section > .content-body {
  max-width:1000px;
  margin:0 auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  border:1px solid rgba(0,0,0,0.08);
  padding:2rem;
  line-height:1.7;
}

/* Override white-card when content-body is inside cta-section */
.cta-section.content-section > .content-body {
  background:transparent;
  border:none;
  box-shadow:none;
  border-radius:0;
  max-width:100%;
  color:#ffffff;
}

.content-section > .content-body h2 {
  font-family:'Montserrat',sans-serif;
  margin-top:2rem;
  color:var(--navy);
}

.content-section > .content-body h2:first-child {
  margin-top:0;
}

.content-section > .content-body h3 {
  font-family:'Montserrat',sans-serif;
  margin-top:1.5rem;
  color:var(--navy);
}

.content-section > .content-body p {
  line-height:1.7;
  margin-bottom:1rem;
}

.content-section > .content-body a {
  color:var(--burgundy);
}

/* Force white text inside cta-section content-body */
.cta-section.content-section > .content-body h2,
.cta-section.content-section > .content-body p,
.cta-section.content-section > .content-body a {
  color:#ffffff;
}

/* Keep burgundy button text readable on white background */
.cta-section.content-section > .content-body a.cta-button.burgundy {
  color:var(--burgundy);
}

/* ================= AREA-LINK WITH RICH CONTENT ================= */

.area-link strong {
  display:block;
  font-weight:700;
  color:var(--navy);
  font-family:'Montserrat',sans-serif;
  font-size:0.95rem;
  margin-bottom:0.25rem;
}

/* Make area-grid cards taller when they have strong + description */
.area-grid .area-link:has(strong) {
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  padding:1rem 1.25rem;
  min-height:auto;
}

/* Fallback for browsers without :has support */
@supports not (selector(:has(strong))) {
  .area-grid .area-link {
    flex-wrap:wrap;
  }
}

/* ================= GOOGLE MAP EMBED ================= */

.content-card iframe {
  border:0;
  display:block;
  border-radius:18px 18px 0 0;
}

/* ================= ADDITIONAL MOBILE FIXES ================= */

@media (max-width:768px) {
  .cta-section {
    padding:3rem 1.5rem;
  }

  .cta-section h2 {
    font-size:1.6rem;
  }

  .content-card > h3 {
    padding:1rem 1rem 0;
  }

  .content-card > p {
    padding:0 1rem;
  }

  .content-card > .cta-button {
    margin:0.5rem 1rem 1rem;
  }

  .content-card > ul {
    padding-left:1rem;
    padding-right:1rem;
  }
}

/* ================= HIDE JOBBER BRANDING IN EMBEDDED FORMS ================= */
/* Branding cover is handled by JavaScript in footer.php */

/* ================= REVIEWS / SOCIAL PROOF ================= */
/* Ready to activate — set $show_reviews = true in _reviews.php */

.reviews-section {
  background:#f9fafb;
  padding:3rem 2rem;
  text-align:center;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}

.reviews-section h2 {
  font-family:'Montserrat',sans-serif;
  font-size:1.8rem;
  color:var(--navy);
  margin:0 0 0.5rem;
}

.reviews-summary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.75rem;
  margin:0.5rem 0 2rem;
}

.reviews-stars {
  color:var(--gold);
  font-size:1.5rem;
  letter-spacing:2px;
}

.reviews-score {
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:1.4rem;
  color:var(--navy);
}

.reviews-count {
  font-size:0.95rem;
  color:#6b7280;
}

.reviews-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:1.25rem;
  max-width:1000px;
  margin:0 auto;
}

.review-card {
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:1.5rem;
  text-align:left;
}

.review-card-stars {
  color:var(--gold);
  font-size:1rem;
  margin-bottom:0.5rem;
  letter-spacing:2px;
}

.review-card-text {
  font-size:0.95rem;
  line-height:1.6;
  color:#374151;
  margin-bottom:1rem;
  font-style:italic;
}

.review-card-author {
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:0.85rem;
  color:var(--navy);
}

.review-card-location {
  font-size:0.8rem;
  color:#9ca3af;
}

.reviews-cta {
  margin-top:1.5rem;
  font-size:0.9rem;
  color:#6b7280;
}

.reviews-cta a {
  color:var(--burgundy);
  font-weight:600;
  text-decoration:underline;
}

@media (max-width:768px) {
  .reviews-grid {
    grid-template-columns:1fr;
  }

  .reviews-summary {
    flex-wrap:wrap;
    gap:0.5rem;
  }
}

/* ================= BREADCRUMB NAV ================= */

.breadcrumb {
  background:#f3f4f6;
  padding:0.6rem 2rem;
  font-family:'Open Sans',sans-serif;
  font-size:0.85rem;
}

.breadcrumb-list {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:0.35rem;
  max-width:1200px;
  margin:0 auto;
}

.breadcrumb-item + .breadcrumb-item::before {
  content:'›';
  margin-right:0.35rem;
  color:#9ca3af;
}

.breadcrumb-item a {
  color:var(--navy);
  text-decoration:none;
}

.breadcrumb-item a:hover {
  text-decoration:underline;
}

.breadcrumb-item.active {
  color:#6b7280;
}

/* ================= HUB PAGE HERO — IMMERSIVE OVERLAY ================= */

.hero--hub {
  padding:0;                          /* remove default hero padding — overlay owns it */
}

.hero--hub .hero-overlay {
  max-width:100%;                     /* full width instead of 900px centered box */
  border-radius:0;                    /* no rounded corners — edge-to-edge band */
  padding:5rem 2rem 5.5rem;           /* generous vertical breathing room */
  background-color:rgba(16,42,67,0.72); /* slightly more transparent for image bleed-through */
}

.hero--hub .hero h1,
.hero--hub h1 {
  font-size:3rem;
}

.hero--hub .hero-buttons {
  margin-top:1.5rem;
}

@media (max-width:768px) {
  .hero--hub .hero-overlay {
    padding:3.5rem 1.25rem 4rem;
  }

  .hero--hub h1 {
    font-size:2.2rem;
  }
}

/* ================= HUB PAGE HERO VARIANTS ================= */

.hero--painting {
  background-image:url('/assets/images/interior-painting-tools-hero-1.png');
}

.hero--handyman {
  background-image:url('/assets/images/handyman-tools-hero-1.png');
}

.hero--commercial {
  background-image:url('/assets/images/commercial-painting-hero-1.png');
}

.hero--service-areas {
  background-image:url('/assets/images/service-areas-map-hero.png');
}

/* ================= SERVICE CARD GRID (Hub Pages) ================= */

.service-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:1rem;
  margin-top:1.5rem;
}

.service-card {
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:1.25rem 1.5rem;
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:10px;
  text-decoration:none;
  transition:border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-height:100px;
}

.service-card:hover {
  border-color:var(--gold);
  background:#fffbeb;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.service-card h3 {
  margin:0 0 0.5rem;
  font-family:'Montserrat',sans-serif;
  font-size:1.05rem;
  font-weight:600;
  color:var(--navy);
}

.service-card h3 a {
  color:var(--navy);
  text-decoration:none;
}

.service-card h3 a:hover {
  color:var(--burgundy);
}

.service-card .card-desc {
  font-size:0.88rem;
  color:#4b5563;
  line-height:1.45;
  margin:0 0 0.75rem;
  flex-grow:1;
}

.service-card .button {
  display:inline-block;
  font-family:'Open Sans',sans-serif;
  font-size:0.85rem;
  font-weight:600;
  color:var(--burgundy);
  text-decoration:none;
  margin-top:auto;
}

.service-card .button:hover {
  text-decoration:underline;
}

/* ================= REVIEWS LAUNCH MESSAGE ================= */

.reviews-launch-message {
  max-width:700px;
  margin:0 auto;
  text-align:center;
  padding:1rem 0;
}

.reviews-launch-message p {
  font-size:1rem;
  line-height:1.7;
  color:#374151;
  margin:0 0 1rem;
}

.reviews-launch-message .reviews-cta {
  margin:1.5rem 0 0.5rem;
}

.reviews-launch-message .reviews-cta a {
  display:inline-block;
  padding:0.65rem 1.8rem;
  background:var(--burgundy);
  color:#ffffff;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  transition:background 0.2s ease;
}

.reviews-launch-message .reviews-cta a:hover {
  background:#5a1e1e;
}

.reviews-coming-soon {
  color:#9ca3af;
  font-style:italic;
  margin-top:0.75rem;
}

@media (max-width:768px) {
  .service-grid {
    grid-template-columns:1fr;
  }
}

/* ================= TRUST CLUSTER & REVIEW BADGE ================= */

.trust-cluster {
  display:flex;
  flex-wrap:wrap;
  gap:1rem 2rem;
  justify-content:center;
  padding:1rem 0;
}

.trust-compact {
  font-size:0.9rem;
  color:#374151;
}

.trust-compact .trust-item {
  white-space:nowrap;
}

.trust-cluster:not(.trust-compact) .trust-item {
  text-align:center;
  flex:1 1 200px;
  max-width:250px;
}

.trust-cluster:not(.trust-compact) .trust-item strong {
  display:block;
  color:var(--navy);
  margin-bottom:0.25rem;
}

.trust-cluster:not(.trust-compact) .trust-item span {
  font-size:0.88rem;
  color:#6b7280;
}

.review-badge {
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:1rem 1.25rem;
  margin:1rem 0;
  text-align:center;
  font-size:0.92rem;
}

.review-badge p {
  margin:0.35rem 0;
}

.review-badge__note {
  color:#6b7280;
  font-size:0.85rem;
}

@media (max-width:768px) {
  .trust-cluster {
    flex-direction:column;
    align-items:center;
    gap:0.5rem;
  }

  .trust-cluster:not(.trust-compact) .trust-item {
    max-width:100%;
    flex-basis:100%;
  }
}
