/*
Theme Name: Dynamic Surface Solutions
Theme URI: https://dynamic-surfacesolutions.com
Author: Dynamic Surface Solutions
Author URI: https://dynamic-surfacesolutions.com
Description: Custom WordPress theme for Dynamic Surface Solutions — Professional Pressure Washing & Soft Wash services in Durham Region, Ontario. Features organic flow design with teal-to-blue gradient accents, navy text, and mobile-responsive layout.
Version: 1.2.12
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dss-theme
Tags: one-column, custom-menu, featured-images, theme-options, custom-logo, translation-ready
*/

/* ============================================================
   DSS Theme — "Fresh Canvas" Organic Flow Aesthetic
   Colors: Off-white bg, teal-to-blue gradient accents, navy text
   Typography: Plus Jakarta Sans
   ============================================================ */

:root {
  --dss-teal: #3bbfa0;
  --dss-blue: #2563eb;
  --dss-navy: #1e3a5f;
  --dss-navy-light: #2a4a6b;
  --dss-grey: #6b7280;
  --dss-grey-light: #9ca3af;
  --dss-sage: #e8f0ec;
  --dss-sage-dark: #d1e0d8;
  --dss-white: #fafbfc;
  --dss-pure-white: #ffffff;
  --dss-gradient: linear-gradient(135deg, #3bbfa0 0%, #2563eb 100%);
  --dss-gradient-hover: linear-gradient(135deg, #34a88e 0%, #1d4ed8 100%);
  --dss-shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.08);
  --dss-shadow-md: 0 4px 12px rgba(30, 58, 95, 0.1);
  --dss-shadow-lg: 0 8px 30px rgba(30, 58, 95, 0.12);
  --dss-radius: 8px;
  --dss-radius-lg: 12px;
  --dss-radius-xl: 16px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dss-navy);
  background-color: var(--dss-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dss-blue); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--dss-teal); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dss-navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--dss-grey); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--dss-radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--dss-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59, 191, 160, 0.3);
}
.btn-primary:hover {
  background: var(--dss-gradient-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 191, 160, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dss-navy);
  border: 2px solid var(--dss-navy);
}
.btn-outline:hover {
  background: var(--dss-navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--dss-navy);
  box-shadow: var(--dss-shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--dss-shadow-lg);
  color: var(--dss-navy);
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--dss-navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar a { color: rgba(255,255,255,0.85); white-space: nowrap; }
.top-bar a:hover { color: #fff; }
.top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .top-bar { font-size: 0.75rem; }
  .top-bar .container { justify-content: center; text-align: center; }
  .top-bar .top-bar-right { display: none; }
}

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--dss-pure-white);
  box-shadow: var(--dss-shadow-sm);
  position: relative;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--dss-shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 2rem;
}

.site-logo img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 1rem;
  color: var(--dss-navy);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--dss-radius);
  transition: all 0.3s ease;
  position: relative;
}
.main-nav a:hover,
.main-nav a.current-menu-item,
.main-nav .current-menu-item > a {
  color: var(--dss-teal);
  background: rgba(59, 191, 160, 0.06);
}

/* Dropdown */
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dss-pure-white);
  box-shadow: var(--dss-shadow-lg);
  border-radius: var(--dss-radius);
  padding: 0.5rem 0;
  min-width: 240px;
  z-index: 100;
  list-style: none;
}
.main-nav li { position: relative; list-style: none; }
.main-nav li:hover > .sub-menu { display: block; }
.main-nav .sub-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 0;
}
.main-nav .sub-menu a:hover { background: var(--dss-sage); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dss-navy);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.9375rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--dss-teal); }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dss-navy);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dss-pure-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--dss-shadow-lg);
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.75rem 1rem; width: 100%; }
  .main-nav .sub-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
  .main-nav li:hover > .sub-menu { display: block; }
  .header-cta .btn { display: none; }
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(30, 58, 95, 0.6) 50%, rgba(30, 58, 95, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: #fff;
  padding: 2rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 191, 160, 0.2);
  border: 1px solid rgba(59, 191, 160, 0.4);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #a7f3d0;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
}
.hero-trust-item svg { width: 20px; height: 20px; color: var(--dss-teal); }

@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-trust { gap: 1rem; }
}

/* ---- Wave Divider ---- */
.wave-divider { line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; height: auto; }
.wave-divider.flip { transform: scaleY(-1); }

/* ---- Section Heading ---- */
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-heading .label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dss-teal);
  margin-bottom: 0.75rem;
}
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { color: var(--dss-grey); font-size: 1.0625rem; }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  overflow: hidden;
  box-shadow: var(--dss-shadow-sm);
  transition: all 0.4s ease;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dss-shadow-lg);
}
.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.08); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dss-navy);
}
.service-card-body p {
  font-size: 0.9375rem;
  color: var(--dss-grey);
  margin-bottom: 1rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dss-teal);
}
.service-card-link:hover { gap: 0.75rem; }

/* ---- Trust Signals ---- */
.trust-section { background: var(--dss-sage); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.trust-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  box-shadow: var(--dss-shadow-sm);
  transition: all 0.3s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--dss-shadow-md); }
.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--dss-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 28px; height: 28px; color: #fff; }
.trust-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.9375rem; color: var(--dss-grey); margin-bottom: 0; }

/* ---- Why Choose Us ---- */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-choose-list { list-style: none; }
.why-choose-list li {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--dss-sage-dark);
}
.why-choose-list li:last-child { border-bottom: none; }
.why-choose-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--dss-sage);
  border-radius: var(--dss-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-choose-icon svg { width: 24px; height: 24px; color: var(--dss-teal); }
.why-choose-text h4 { margin-bottom: 0.25rem; font-size: 1.0625rem; }
.why-choose-text p { font-size: 0.9375rem; margin-bottom: 0; }

@media (max-width: 768px) {
  .why-choose-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Testimonials ---- */
.testimonials-section { background: var(--dss-navy); color: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--dss-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.testimonial-stars { color: #fbbf24; margin-bottom: 1rem; font-size: 1.125rem; }
.testimonial-card blockquote {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { font-weight: 600; color: #fff; font-size: 0.9375rem; }
.testimonial-location { color: rgba(255,255,255,0.6); font-size: 0.8125rem; }

/* ---- Service Areas ---- */
.service-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.area-card {
  background: var(--dss-pure-white);
  border: 1px solid var(--dss-sage-dark);
  border-radius: var(--dss-radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--dss-navy);
  transition: all 0.3s ease;
}
.area-card:hover {
  border-color: var(--dss-teal);
  background: var(--dss-sage);
  transform: translateY(-2px);
}

/* ---- Quote / Contact Form ---- */
.quote-section { background: var(--dss-sage); }
.quote-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-xl);
  padding: 3rem;
  box-shadow: var(--dss-shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dss-navy);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--dss-radius);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--dss-navy);
  background: var(--dss-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dss-teal);
  box-shadow: 0 0 0 3px rgba(59, 191, 160, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .quote-form-wrapper { padding: 2rem 1.5rem; }
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--dss-gradient);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  border-radius: var(--dss-radius-lg);
  overflow: hidden;
  box-shadow: var(--dss-shadow-sm);
  transition: all 0.4s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--dss-shadow-lg); }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.gallery-item-info { padding: 1.25rem; background: var(--dss-pure-white); }
.gallery-item-info h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.gallery-item-info p { font-size: 0.875rem; color: var(--dss-grey); margin-bottom: 0; }
.gallery-disclaimer {
  text-align: center;
  padding: 1.5rem;
  background: var(--dss-sage);
  border-radius: var(--dss-radius);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--dss-grey);
}

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  overflow: hidden;
  box-shadow: var(--dss-shadow-sm);
  transition: all 0.4s ease;
  text-decoration: none;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--dss-shadow-lg); }
.blog-card-image { height: 220px; overflow: hidden; }
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--dss-grey-light);
  margin-bottom: 0.75rem;
}
.blog-card-category {
  display: inline-block;
  background: var(--dss-sage);
  color: var(--dss-teal);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.blog-card-body h3 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--dss-navy); }
.blog-card-body p { font-size: 0.9375rem; color: var(--dss-grey); }

/* Blog Single */
.blog-single { max-width: 800px; margin: 0 auto; }
.blog-single-header { margin-bottom: 2rem; }
.blog-single-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.blog-single-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.blog-single-content p { font-size: 1.0625rem; line-height: 1.8; color: var(--dss-grey); }
.blog-single-content ul, .blog-single-content ol {
  margin: 1rem 0 1rem 1.5rem;
  color: var(--dss-grey);
}
.blog-single-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.blog-single-content strong { color: var(--dss-navy); }

/* ---- About Page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image { border-radius: var(--dss-radius-xl); overflow: hidden; box-shadow: var(--dss-shadow-lg); }
.about-image img { width: 100%; height: auto; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.value-card {
  padding: 2rem;
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  box-shadow: var(--dss-shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--dss-shadow-md); }
.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--dss-sage);
  border-radius: var(--dss-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; color: var(--dss-teal); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: 6rem 0 4rem;
  text-align: center;
  overflow: hidden;
  /* Default: navy background so text is always readable even without a background image */
  background: var(--dss-navy, #1e3a5f);
  color: #fff;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
/* Ensure all text inside page-hero is white and readable */
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero h2 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.88); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }
.page-hero .label { color: rgba(59,191,160,0.9); }
/* Container inside hero needs relative positioning so it sits above any bg image */
.page-hero > .container { position: relative; z-index: 1; }

/* ---- Service Detail ---- */
.service-detail-content { max-width: 900px; margin: 0 auto; }
.service-detail-content h2 { margin: 2rem 0 1rem; }
.service-detail-content p { font-size: 1.0625rem; line-height: 1.8; }
.service-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--dss-sage);
  border-radius: var(--dss-radius-lg);
}
.process-step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--dss-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}
.service-faq { margin: 3rem 0; }
.faq-item {
  border-bottom: 1px solid var(--dss-sage-dark);
  padding: 1.25rem 0;
}
.faq-question {
  font-weight: 600;
  color: var(--dss-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.0625rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  padding: 0;
}
.faq-answer {
  padding-top: 0.75rem;
  color: var(--dss-grey);
  line-height: 1.7;
  display: none;
}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-toggle { transition: transform 0.3s ease; font-size: 1.5rem; color: var(--dss-teal); }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--dss-sage);
  border-radius: var(--dss-radius);
  margin-bottom: 1rem;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--dss-gradient);
  border-radius: var(--dss-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg { width: 22px; height: 22px; color: #fff; }

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

/* ---- Footer ---- */
.site-footer {
  background: var(--dss-navy);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.7; }
.footer-logo-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 178px !important;
  min-height: 156px !important;
  padding: 1rem !important;
  margin-bottom: 1.25rem !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2) !important;
}
.footer-logo-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
}
.footer-brand .footer-logo-wrap img.dss-footer-logo,
.footer-logo-wrap img.dss-footer-logo,
img.dss-footer-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 146px !important;
  max-height: 124px !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--dss-teal); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--dss-teal); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }

.footer-social-text-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

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

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-teal { color: var(--dss-teal); }
.text-navy { color: var(--dss-navy); }
.text-white { color: #fff; }
.bg-sage { background: var(--dss-sage); }
.bg-navy { background: var(--dss-navy); }
.bg-white { background: var(--dss-pure-white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.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;
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Critical blog article visibility fallback: single post content must never rely on JavaScript animation to be readable. */
.single .post-content,
.single .post-sidebar,
.single .post-content.fade-in,
.single .post-sidebar.fade-in {
  opacity: 1;
  transform: none;
}

/* ---- Gallery Card (page-gallery.php) ---- */
.gallery-note {
  text-align: center;
  padding: 1.5rem;
  background: var(--dss-sage);
  border-radius: var(--dss-radius);
  margin-bottom: 2rem;
}
.gallery-note p { font-size: 0.9375rem; color: var(--dss-navy); margin-bottom: 0; }

.gallery-card {
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  overflow: hidden;
  box-shadow: var(--dss-shadow-sm);
  transition: all 0.4s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--dss-shadow-lg); }
.gallery-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover .gallery-card-image img { transform: scale(1.05); }
.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--dss-gradient);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.gallery-card-body { padding: 1.25rem; }
.gallery-card-body h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.gallery-card-body p { font-size: 0.875rem; color: var(--dss-grey); margin-bottom: 0; }

/* ---- Blog Archive Extras ---- */
.blog-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--dss-gradient);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-card-image { position: relative; display: block; }
.blog-card-image img { display: block; }
.blog-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--dss-grey-light);
  margin-bottom: 0.5rem;
}
.blog-read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dss-teal);
}
.blog-read-more:hover { color: var(--dss-blue); }

.pagination { text-align: center; margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--dss-radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.pagination a {
  background: var(--dss-pure-white);
  color: var(--dss-navy);
  border: 1px solid var(--dss-sage-dark);
}
.pagination a:hover {
  background: var(--dss-teal);
  color: #fff;
  border-color: var(--dss-teal);
}
.pagination .current {
  background: var(--dss-gradient);
  color: #fff;
  border: none;
}

/* ---- Blog Single Post Layout ---- */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.post-content { min-width: 0; }
.post-featured-image {
  border-radius: var(--dss-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.post-featured-image img { width: 100%; height: auto; }
.post-meta-hero {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.prose h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.prose p { font-size: 1.0625rem; line-height: 1.8; color: var(--dss-grey); }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.5rem; color: var(--dss-grey); }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose strong { color: var(--dss-navy); }
.prose img { border-radius: var(--dss-radius); margin: 1.5rem 0; }
.prose blockquote {
  border-left: 4px solid var(--dss-teal);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--dss-sage);
  border-radius: 0 var(--dss-radius) var(--dss-radius) 0;
  font-style: italic;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dss-sage-dark);
}
.post-nav-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dss-grey-light);
  margin-bottom: 0.25rem;
}
.post-nav-next { text-align: right; }

/* Post Sidebar */
.post-sidebar { position: sticky; top: 100px; }
.sidebar-cta,
.sidebar-trust,
.sidebar-services,
.sidebar-recent {
  background: var(--dss-pure-white);
  border: 1px solid var(--dss-sage-dark);
  border-radius: var(--dss-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-cta { background: var(--dss-sage); border-color: transparent; }
.sidebar-cta h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.sidebar-cta p { font-size: 0.875rem; margin-bottom: 1rem; }
.sidebar-trust h4,
.sidebar-services h4,
.sidebar-recent h4 { font-size: 1rem; margin-bottom: 0.75rem; }
.sidebar-trust ul,
.sidebar-services ul,
.sidebar-recent ul { list-style: none; padding: 0; margin: 0; }
.sidebar-trust li,
.sidebar-services li,
.sidebar-recent li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--dss-sage);
  font-size: 0.875rem;
}
.sidebar-trust li:last-child,
.sidebar-services li:last-child,
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-trust li { color: var(--dss-navy); font-weight: 500; }
.sidebar-services li a,
.sidebar-recent li a { color: var(--dss-grey); }
.sidebar-services li a:hover,
.sidebar-recent li a:hover { color: var(--dss-teal); }
.sidebar-services li.active a { color: var(--dss-teal); font-weight: 600; }

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

/* ---- Service Detail Grid Layout ---- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.service-detail-content { min-width: 0; }
.service-detail-content h2 { margin: 2rem 0 1rem; }
.service-detail-content p { font-size: 1.0625rem; line-height: 1.8; }
.service-detail-content ul { margin: 1rem 0 1rem 1.5rem; color: var(--dss-grey); }
.service-detail-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.service-detail-sidebar { position: sticky; top: 100px; }
.service-detail-image {
  border-radius: var(--dss-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.service-detail-image img { width: 100%; height: auto; }

@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-sidebar { position: static; }
}

/* ---- Residential / Commercial Grid ---- */
.res-comm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.res-comm-card {
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--dss-shadow-sm);
}
.res-comm-card h3 { margin-bottom: 1rem; }
.res-comm-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.res-comm-card li {
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
  color: var(--dss-grey);
  font-size: 0.9375rem;
}
.res-comm-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--dss-teal);
  font-weight: 700;
}

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

/* ---- Contact Page Extras ---- */
.contact-card {
  background: var(--dss-pure-white);
  border: 1px solid var(--dss-sage-dark);
  border-radius: var(--dss-radius-lg);
  padding: 2rem;
}
.contact-card h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-item svg { flex-shrink: 0; color: var(--dss-teal); margin-top: 0.25rem; }
.contact-item strong { color: var(--dss-navy); display: block; margin-bottom: 0.125rem; }
.contact-item a { color: var(--dss-blue); }
.contact-item div { color: var(--dss-grey); font-size: 0.9375rem; line-height: 1.6; }

.contact-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area-tag {
  display: inline-block;
  background: var(--dss-sage);
  color: var(--dss-navy);
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ---- Page Hero Compact ---- */
.page-hero-compact { padding: 4rem 0 3rem; }

/* ---- Label (used in page heroes) ---- */
.label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ---- Trust Section Background ---- */
.trust-section { background: var(--dss-sage); }

/* ---- Print Styles ---- */
/* ---- Quote Form Enhancements ---- */
.form-section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dss-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.75rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--dss-sage);
}
.form-section-heading:first-child { margin-top: 0; }
.form-section-heading .required { color: var(--dss-teal); font-weight: 700; }
.form-section-note {
  font-size: 0.875rem;
  color: var(--dss-slate);
  margin: -0.25rem 0 0.75rem;
}
.form-optional {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--dss-slate);
  font-style: italic;
}
.form-row-thirds {
  grid-template-columns: 2fr 1fr 1fr;
}
@media (max-width: 640px) {
  .form-row-thirds { grid-template-columns: 1fr; }
}
/* Checkbox group */
.form-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.625rem 1rem;
  margin-bottom: 1.25rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--dss-navy);
  user-select: none;
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--dss-slate);
  border-radius: 4px;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--dss-teal);
  border-color: var(--dss-teal);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.checkbox-label:hover .checkbox-custom { border-color: var(--dss-teal); }
.form-checkboxes.error-highlight .checkbox-custom { border-color: #e53e3e; }

/* ---- Thank You Page ---- */
.thankyou-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem 4rem;
}
.thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--dss-sage);
  color: var(--dss-teal);
  margin-bottom: 1.5rem;
}
.thankyou-icon svg { width: 48px; height: 48px; }
.thankyou-wrap h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--dss-navy);
  margin-bottom: 1rem;
}
.thankyou-lead {
  font-size: 1.125rem;
  color: var(--dss-slate);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.thankyou-details {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: var(--dss-light-grey);
  border-radius: var(--dss-radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.thankyou-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--dss-slate);
}
.thankyou-detail-item svg { flex-shrink: 0; color: var(--dss-teal); }
.thankyou-detail-item a { color: var(--dss-navy); font-weight: 600; }
.thankyou-detail-item a:hover { color: var(--dss-teal); }
.thankyou-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media print {
  .top-bar, .site-header, .site-footer, .mobile-toggle, .cta-banner { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}


/* ============================================================
   DSS Gallery Lightbox — click-to-enlarge completed job photos
   Design reminder: preserve the Functional Service Editorial direction with practical, confidence-building interactions.
   ============================================================ */
.gallery-lightbox-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  font: inherit;
  text-align: inherit;
}

.gallery-lightbox-trigger:focus-visible {
  outline: 3px solid var(--dss-teal);
  outline-offset: 4px;
}

.gallery-card-image::after {
  content: "Click to enlarge";
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card-image::after,
.gallery-card:focus-within .gallery-card-image::after {
  opacity: 1;
  transform: translateY(0);
}

.dss-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 22, 38, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.dss-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.dss-lightbox__dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.dss-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.dss-lightbox__caption {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
}

.dss-lightbox__close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dss-navy);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--dss-shadow-lg);
  transition: transform 0.2s ease, background 0.2s ease;
}

.dss-lightbox__close:hover,
.dss-lightbox__close:focus-visible {
  transform: scale(1.06);
  background: #fff;
}

body.dss-lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .gallery-card-image::after {
    opacity: 1;
    transform: none;
    font-size: 0.68rem;
  }

  .dss-lightbox {
    padding: 1rem;
  }

  .dss-lightbox__image {
    max-height: 72vh;
    border-radius: 0.75rem;
  }

  .dss-lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
  }
}


/* ============================================================
   DSS v1.2.3 — Mobile Hero Image Framing and Action Visibility
   ============================================================ */
.hero-with-form { min-height: 88vh; padding: 4rem 0; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.hero-with-form .hero-content { max-width: 760px; }
.hero-quote-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--dss-radius-xl);
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
}
.hero-quote-card h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 0.35rem 0 0.75rem; }
.hero-quote-card p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.hero-quote-label {
  display: inline-block;
  color: var(--dss-teal);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote-form-fast { display: grid; gap: 0.9rem; }
.quote-form-fast .form-group label { font-size: 0.84rem; }
.quote-form-fast input,
.quote-form-fast select,
.quote-form-fast textarea { padding: 0.78rem 0.9rem; }
.quote-form-fast .form-note { color: var(--dss-grey); margin: 0.8rem 0 0; text-align: center; }
.quote-form-fast .form-note a { font-weight: 700; }
.section-cta { text-align: center; margin-top: 2rem; }
.results-section { background: var(--dss-white); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.result-card {
  display: block;
  overflow: hidden;
  background: var(--dss-pure-white);
  border-radius: var(--dss-radius-lg);
  box-shadow: var(--dss-shadow-sm);
  text-decoration: none;
  transition: all 0.3s ease;
}
.result-card:hover { transform: translateY(-5px); box-shadow: var(--dss-shadow-lg); }
.result-card img { width: 100%; height: 220px; object-fit: cover; }
.result-card-body { padding: 1.25rem; }
.result-card-body span {
  display: inline-block;
  color: var(--dss-teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.result-card-body h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.result-card-body p { font-size: 0.9rem; margin-bottom: 0; }
.services-section-home { padding-top: 2rem; }
.trust-grid-four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.review-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
}
.review-proof-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--dss-radius-lg);
  padding: 2rem;
  color: #fff;
}
.review-proof-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 0.75rem; }
.review-proof-card p { color: rgba(255,255,255,0.82); }
.review-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.btn-review { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-review:hover { background: #fff; color: var(--dss-navy); }
.review-note { font-size: 0.9rem; }
.faq-section-home { background: var(--dss-white); }
.faq-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.faq-card {
  background: var(--dss-pure-white);
  border: 1px solid var(--dss-sage-dark);
  border-radius: var(--dss-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--dss-shadow-sm);
}
.faq-card h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.faq-card p { font-size: 0.94rem; margin-bottom: 0; }
@media (max-width: 980px) {
  .hero-with-form { padding: 3rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-quote-card { max-width: 620px; width: 100%; }
  .review-proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-with-form { min-height: auto; padding: 2rem 0 3rem; }
  .hero-buttons .btn { width: 100%; }
  .hero-trust { margin-top: 1.5rem; }
  .hero-quote-card { padding: 1.5rem; }
  .results-grid, .faq-grid-home { grid-template-columns: 1fr; }
}

/* ============================================================
   DSS v1.2.1 — Mobile polish and readability improvements
   ============================================================ */
.quote-form-fast .form-group input,
.quote-form-fast .form-group select,
.quote-form-fast .form-group textarea {
  background: #ffffff;
  color: var(--dss-navy);
  border-color: rgba(30, 58, 95, 0.18);
  -webkit-text-fill-color: var(--dss-navy);
}
.quote-form-fast .form-group input::placeholder,
.quote-form-fast .form-group textarea::placeholder {
  color: #64748b;
  opacity: 1;
  -webkit-text-fill-color: #64748b;
}
.quote-form-fast .form-group select {
  appearance: auto;
}
.hero-quote-card .hero-quote-intro {
  color: #475569;
  -webkit-text-fill-color: #475569;
  opacity: 1;
  line-height: 1.6;
}
.quote-form-fast .form-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  line-height: 1.45;
}
.quote-form-fast .form-note-phone {
  flex-direction: column;
  gap: 0.15rem;
}
.quote-form-fast .form-note-phone span,
.quote-form-fast .form-note-phone a {
  display: block;
  width: 100%;
  text-align: center;
}
.quote-form-fast .form-note-phone .phone-number-line {
  font-size: 1.08em;
  font-weight: 800;
}
.quote-form-fast .form-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding-left: 1.1rem; padding-right: 1.1rem; }
  .section-padding { padding: 3.25rem 0; }
  .section-heading { margin-bottom: 2rem; text-align: left; }
  .section-heading h2 { font-size: clamp(1.65rem, 8vw, 2.05rem); }
  .section-heading p { font-size: 1rem; }

  .hero-with-form { padding: 1.75rem 0 2.75rem; }
  .hero-with-form .hero-bg img {
    object-position: 38% center;
    transform: scale(1.04);
  }
  .hero-with-form .hero-overlay {
    background: linear-gradient(180deg, rgba(30,58,95,0.58) 0%, rgba(30,58,95,0.70) 44%, rgba(30,58,95,0.88) 100%);
  }
  .hero-grid { gap: 1.35rem; }
  .hero-content { padding: 1rem 0 0; text-align: left; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.65rem); margin-bottom: 1rem; }
  .hero p { font-size: 1rem; line-height: 1.65; margin-bottom: 1.35rem; }
  .hero-badge { font-size: 0.76rem; line-height: 1.35; padding: 0.55rem 0.9rem; align-items: flex-start; }
  .hero-buttons { gap: 0.75rem; }
  .hero-buttons .btn { width: 100%; min-height: 48px; text-align: center; white-space: normal; line-height: 1.25; }
  .hero-trust { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 1.35rem; }
  .hero-trust-item { align-items: flex-start; line-height: 1.35; }

  .hero-quote-card {
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  }
  .hero-quote-card h2 { font-size: 1.45rem; line-height: 1.22; }
  .hero-quote-card p,
  .hero-quote-card .hero-quote-intro {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #475569;
    -webkit-text-fill-color: #475569;
  }
  .quote-form-fast { gap: 0.82rem; }
  .quote-form-fast .form-group label { font-size: 0.88rem; color: var(--dss-navy); }
  .quote-form-fast .form-group input,
  .quote-form-fast .form-group select,
  .quote-form-fast .form-group textarea {
    min-height: 48px;
    font-size: 16px;
    line-height: 1.4;
    padding: 0.82rem 0.9rem;
  }
  .quote-form-fast .form-group textarea { min-height: 96px; }
  .quote-form-fast .btn { min-height: 50px; white-space: normal; line-height: 1.25; }
  .quote-form-fast .form-note {
    margin-top: 0.65rem;
    padding: 0.85rem;
    border-radius: 10px;
    background: rgba(59, 191, 160, 0.08);
    color: var(--dss-navy);
    font-size: 0.95rem;
    text-align: center;
  }
  .quote-form-fast .form-note a {
    width: 100%;
    margin-top: 0.15rem;
    color: var(--dss-blue);
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .quote-form-fast .form-note-phone .phone-number-line {
    margin-top: 0;
    font-size: 1.12rem;
    line-height: 1.25;
  }

  .services-section-home { padding-top: 3rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .service-card-body { padding: 1.2rem; }
  .service-card-body h3 { font-size: 1.15rem; }
  .service-card-body p { font-size: 0.95rem; line-height: 1.55; }

  .results-grid, .faq-grid-home, .review-proof-grid { grid-template-columns: 1fr; }
  .result-card-body { padding: 1.1rem; }
  .trust-grid, .trust-grid-four { grid-template-columns: 1fr; gap: 1rem; }
  .trust-card { padding: 1.5rem 1.1rem; text-align: left; }
  .trust-icon { margin: 0 0 1rem; }
  .review-proof-card { padding: 1.35rem; }
  .review-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .faq-card { padding: 1.2rem; }
}



/* ============================================================
   DSS v1.2.4 — Mobile UX, Service Wrapping, and Gallery Cleanup
   DSS v1.2.5 — Fast Quote Required Email Field
   DSS v1.2.6 — Dedicated Mobile Hero Image and Forced Three-Line Phone Prompt
   DSS v1.2.7 — Attached Window-Cleaning Photo as Mobile-Only Homepage Hero
   DSS v1.2.8 — Corrective Mobile Hero Sizing and Phone Prompt Lock
   ============================================================ */
.quote-form-fast .form-note-phone {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: center;
  justify-content: center;
  justify-items: center;
  row-gap: 0.12rem;
  text-align: center;
  line-height: 1.35;
  width: 100%;
}
.quote-form-fast .form-note-phone-label,
.quote-form-fast .form-note-phone-action,
.quote-form-fast .form-note-phone .phone-number-line {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  flex: 0 0 100% !important;
  text-align: center;
  white-space: normal !important;
}
.quote-form-fast .form-note-phone-label {
  color: var(--dss-navy);
  font-weight: 700;
}
.quote-form-fast .form-note-phone-action {
  color: var(--dss-grey);
  font-weight: 600;
}
.quote-form-fast .form-note-phone .phone-number-line {
  color: var(--dss-blue);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.gallery-badge { display: none !important; }

.service-detail-grid,
.service-detail-content,
.service-detail-sidebar,
.service-card,
.service-card-body,
.res-comm-card,
.sidebar-cta,
.sidebar-trust,
.sidebar-services,
.page-hero,
.page-hero .container {
  min-width: 0;
  max-width: 100%;
}
.service-detail-content,
.service-detail-content *,
.service-card-body,
.service-card-body *,
.sidebar-services,
.sidebar-services *,
.sidebar-cta,
.sidebar-cta *,
.res-comm-card,
.res-comm-card *,
.page-hero,
.page-hero * {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 3.5rem 0 2.75rem;
  }
  .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    line-height: 1.12;
    max-width: 100%;
  }
  .page-hero p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }
  .service-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    overflow: hidden;
  }
  .service-detail-content h2,
  .service-detail-content h3 {
    line-height: 1.2;
  }
  .service-detail-content p,
  .service-detail-content li {
    font-size: 1rem;
    line-height: 1.65;
  }
  .service-detail-content .btn,
  .sidebar-cta .btn,
  .res-comm-card .btn,
  .section-padding > .container > .btn,
  .page-services .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .sidebar-services li a,
  .sidebar-recent li a {
    display: block;
    white-space: normal;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .hero-with-form {
    display: block;
    min-height: auto;
    padding: 0 0 2.75rem;
    background: var(--dss-navy);
  }
  .hero-with-form .hero-bg {
    position: relative;
    inset: auto;
    z-index: 0;
    height: auto;
    min-height: 0;
    margin: 0 0 1rem;
    overflow: hidden;
  }
  .hero-with-form .hero-bg img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: 58% center;
    transform: none;
  }
  .hero-with-form .hero-overlay {
    background: linear-gradient(180deg, rgba(30,58,95,0.06) 0%, rgba(30,58,95,0.34) 100%);
  }
  .hero-with-form .container {
    position: relative;
    z-index: 2;
  }
  .hero-with-form .hero-content {
    padding-top: 0.5rem;
  }
  .quote-form-fast .form-note-phone {
    row-gap: 0.1rem;
  }
  .quote-form-fast .form-note-phone-action {
    color: var(--dss-navy-light);
  }
  .quote-form-fast .form-note-phone .phone-number-line {
    margin-top: 0.05rem;
    font-size: 1.14rem;
    line-height: 1.25;
  }
}

.hero-with-form .hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-with-form .hero-bg picture img {
  display: block;
}

@media (max-width: 640px) {
  .hero-with-form .hero-bg picture {
    height: auto;
  }
}

/* ============================================================
   DSS v1.2.8 — Corrective Mobile Hero Sizing and Phone Prompt Lock
   ============================================================ */
@media (max-width: 767px) {
  .hero.hero-with-form {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 0 2.75rem !important;
    background: var(--dss-navy) !important;
    overflow: visible !important;
  }

  .hero.hero-with-form .hero-bg {
    position: relative !important;
    inset: auto !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2 !important;
    margin: 0 0 1rem !important;
    overflow: hidden !important;
    background: var(--dss-navy) !important;
  }

  .hero.hero-with-form .hero-bg picture,
  .hero.hero-with-form .hero-bg picture img,
  .hero.hero-with-form .hero-bg > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
  }

  .hero.hero-with-form .hero-bg picture img,
  .hero.hero-with-form .hero-bg > img {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  .hero.hero-with-form .hero-overlay {
    display: none !important;
  }

  .hero.hero-with-form .container {
    position: relative !important;
    z-index: 2 !important;
  }

  .hero.hero-with-form .hero-content {
    padding-top: 0 !important;
  }
}

.quote-form-fast .form-note.form-note-phone,
#dss-fast-quote-form .form-note.form-note-phone {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  white-space: normal !important;
}

.quote-form-fast .form-note.form-note-phone > .form-note-phone-label,
.quote-form-fast .form-note.form-note-phone > .form-note-phone-action,
.quote-form-fast .form-note.form-note-phone > .phone-number-line,
#dss-fast-quote-form .form-note.form-note-phone > .form-note-phone-label,
#dss-fast-quote-form .form-note.form-note-phone > .form-note-phone-action,
#dss-fast-quote-form .form-note.form-note-phone > .phone-number-line {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-basis: 100% !important;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

/* ============================================================
   DSS v1.2.9 — Local SEO Landing Pages and Final Phone Prompt Lock
   ============================================================ */
.section {
  padding: 5rem 0;
}

.bg-light {
  background: linear-gradient(180deg, rgba(232, 240, 236, 0.58) 0%, rgba(250, 251, 252, 0.96) 100%);
}

.narrow {
  max-width: 860px;
}

.text-center {
  text-align: center;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  color: var(--dss-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.split-grid.align-center {
  align-items: center;
}

.split-content,
.split-media,
.local-seo-page .service-card,
.local-seo-page .process-step,
.local-seo-page .faq-item,
.local-seo-page .link-card,
.local-seo-page .cta-content {
  min-width: 0;
}

.split-content h2,
.local-seo-page .section-heading h2,
.local-seo-page .cta-content h2 {
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.split-content p,
.local-seo-page .section-heading p,
.local-seo-page .cta-content p,
.local-seo-page .faq-item p,
.local-seo-page .process-step p {
  font-size: 1rem;
  line-height: 1.72;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--dss-radius-xl);
  background: var(--dss-sage);
  box-shadow: var(--dss-shadow-lg);
}

.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(59, 191, 160, 0.12), rgba(37, 99, 235, 0.1));
}

.split-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.local-seo-hero .page-hero-content {
  max-width: 920px;
}

.local-seo-hero .hero-actions,
.local-seo-page .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.local-seo-page .service-grid {
  display: grid;
  gap: 1.35rem;
}

.local-seo-page .service-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.local-seo-page .service-grid.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.local-seo-page .compact-card {
  height: 100%;
  padding: 1.45rem;
}

.local-seo-page .compact-card .service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.local-seo-page .compact-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.local-seo-page .compact-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.process-step {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: var(--dss-radius-lg);
  background: var(--dss-pure-white);
  box-shadow: var(--dss-shadow-sm);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--dss-gradient);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
}

.process-step p {
  margin-bottom: 0;
}

.gallery-preview-card {
  border: 8px solid #ffffff;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: var(--dss-radius-lg);
  background: var(--dss-pure-white);
  box-shadow: var(--dss-shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  color: var(--dss-navy);
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--dss-teal);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
}

.local-seo-page .link-card {
  display: block;
  height: 100%;
  padding: 1.45rem;
  color: inherit;
}

.local-seo-page .link-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.12rem;
}

.local-seo-page .link-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.local-seo-core-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.2rem;
  margin-top: 2rem;
}

.local-seo-core-links a {
  font-weight: 800;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--dss-navy);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(59, 191, 160, 0.22), transparent 36%), radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.22), transparent 38%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--dss-radius-xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.cta-content h2,
.cta-content p {
  color: #ffffff;
}

.cta-content .section-label {
  color: #8ee5cf;
}

.local-seo-cta .quote-form-wrapper {
  margin-top: 2rem;
  background: var(--dss-pure-white);
}

.local-seo-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.local-seo-cta .btn-outline:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--dss-navy);
}

#dss-fast-quote-form .form-note.form-note-phone,
.quote-form-fast .form-note.form-note-phone {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0.8rem !important;
  text-align: center !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

#dss-fast-quote-form .form-note.form-note-phone > .form-note-phone-label,
#dss-fast-quote-form .form-note.form-note-phone > .form-note-phone-action,
#dss-fast-quote-form .form-note.form-note-phone > .phone-number-line,
.quote-form-fast .form-note.form-note-phone > .form-note-phone-label,
.quote-form-fast .form-note.form-note-phone > .form-note-phone-action,
.quote-form-fast .form-note.form-note-phone > .phone-number-line {
  display: block !important;
  width: 100% !important;
  flex: none !important;
  text-align: center !important;
  white-space: normal !important;
}

#dss-fast-quote-form .phone-note-break,
.quote-form-fast .phone-note-break {
  display: block !important;
  content: '' !important;
  height: 0 !important;
  line-height: 0 !important;
}

@media (max-width: 1024px) {
  .local-seo-page .service-grid.four-col,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-seo-page .service-grid.three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.4rem 0;
  }

  .split-grid,
  .local-seo-page .service-grid.three-col,
  .local-seo-page .service-grid.four-col,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-grid.reverse-mobile .split-media {
    order: 2;
  }

  .split-grid.reverse-mobile .split-content {
    order: 1;
  }

  .split-media img {
    min-height: 260px;
  }

  .local-seo-hero .hero-actions,
  .local-seo-page .cta-actions {
    flex-direction: column;
  }

  .local-seo-hero .hero-actions .btn,
  .local-seo-page .cta-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .local-seo-core-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .local-seo-page .compact-card,
  .process-step,
  .local-seo-page .link-card {
    padding: 1.2rem;
  }

  .faq-item summary {
    padding: 1rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
  }
}


/* ----------------------------------------------------------------
   Local SEO Phase 2 Enhancements
   ---------------------------------------------------------------- */
.local-seo-phase2 .local-seo-upload-placeholder {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
  border: 2px dashed rgba(34, 197, 206, 0.55);
  border-radius: var(--dss-radius-lg);
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: var(--dss-shadow-sm);
}

.local-seo-phase2 .local-seo-upload-placeholder h3 {
  margin-bottom: 0.75rem;
  color: var(--dss-navy);
}

.local-seo-phase2 .local-seo-upload-placeholder p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dss-grey);
}

.local-seo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.local-seo-testimonials {
  background: var(--dss-navy);
  color: #fff;
}

.local-seo-testimonials .section-heading h2,
.local-seo-testimonials .section-heading p,
.local-seo-testimonials .section-label {
  color: #fff;
}

.local-seo-testimonial-placeholder .testimonial-stars {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.local-seo-commercial-depth .service-card h3,
.local-seo-phase2 .link-card h3 {
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .local-seo-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .local-seo-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .local-seo-phase2 .local-seo-upload-placeholder {
    padding: 1.4rem;
  }
}

/* ----------------------------------------------------------------
   Local SEO Phase 2 Corrections: contextual links and Google review CTAs
   ---------------------------------------------------------------- */
.local-seo-context-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(59, 191, 160, 0.08);
  border: 1px solid rgba(59, 191, 160, 0.18);
  border-radius: var(--dss-radius-lg);
}

.local-seo-context-links span {
  font-weight: 800;
  color: var(--dss-navy);
  margin-right: 0.25rem;
}

.local-seo-context-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--dss-pure-white);
  color: var(--dss-navy);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--dss-shadow-sm);
}

.local-seo-context-links a:hover {
  color: var(--dss-teal);
  transform: translateY(-1px);
}

.local-seo-page .service-grid.two-col,
.local-seo-review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.local-seo-review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}

.local-seo-review-card h3,
.local-seo-review-card p {
  color: #fff;
}

.local-seo-review-card p {
  color: rgba(255,255,255,0.86);
  margin-bottom: 1.15rem;
}

@media (max-width: 768px) {
  .local-seo-page .service-grid.two-col,
  .local-seo-review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .local-seo-context-links {
    align-items: flex-start;
    flex-direction: column;
  }
}
