/* =========================================================
   Sterling Properties Cleaning & Maintenance — Design System
   ========================================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Brand Colors */
  --navy: #1B3A5C;
  --navy-dark: #0F2440;
  --navy-light: #2A5278;
  --gold: #D4A843;
  --gold-hover: #C49A38;
  --gold-light: #F0D68A;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --light-gray: #E8ECF1;
  --mid-gray: #8A94A6;
  --dark-gray: #3D4654;
  --text: #2C3345;
  --text-light: #5A6377;
  --success: #2E8B57;
  --error: #D94240;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 120px;
  --call-bar-h: 44px;
  --border-radius: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
  display: block;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy p {
  color: var(--white);
}

.section--navy .label {
  color: var(--gold-light);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}

.btn--gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--white-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn--white-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* ---------- Sticky Call Bar ---------- */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: var(--call-bar-h);
  font-size: 0.9rem;
  font-weight: 600;
}

.call-bar a {
  color: var(--gold-light);
  font-weight: 700;
}

.call-bar a:hover {
  text-decoration: underline;
}

body {
  padding-bottom: var(--call-bar-h);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo img {
  height: 100px;
  width: auto;
}

@media (max-width: 768px) {
  .nav__logo img {
    height: 65px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--navy);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__phone {
  display: none;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.nav__phone svg {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--duration) var(--ease);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .nav__phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease);
  }

  .mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--full {
  min-height: 80vh;
}

.hero--short {
  min-height: 40vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(15, 36, 64, 0.8) 0%,
      rgba(27, 58, 92, 0.6) 50%,
      rgba(27, 58, 92, 0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.hero__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.hero__content .label {
  color: var(--gold-light);
}

.hero--center .hero__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero--center .hero__actions {
  justify-content: center;
}

@media (max-width: 768px) {
  .hero {
    min-height: 55vh;
  }

  .hero--full {
    min-height: 65vh;
  }

  .hero--short {
    min-height: 50vh;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ---------- Service Grid (Homepage) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__img .comparison {
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  aspect-ratio: auto;
}

.service-card__img .comparison img {
  transition: none;
}

.service-card:hover .service-card__img .comparison img {
  transform: none;
}

.service-card__body {
  padding: var(--space-md);
}

.service-card__body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.service-card__body p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--duration) var(--ease);
}

.service-card__link:hover {
  gap: 0.6rem;
}

.service-card__link::after {
  content: '→';
}

@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Alternating Service Sections ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.service-row:nth-child(even) .service-row__img {
  order: -1;
}



.service-row__text h2 {
  margin-bottom: var(--space-sm);
}

.service-row__text p {
  margin-bottom: var(--space-md);
}

.service-row__img {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.service-row+.service-row {
  border-top: 1px solid var(--light-gray);
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
  }

  .service-row__text {
    order: 1;
  }

  .service-row__img {
    order: 2;
  }

  .service-row:nth-child(even) .service-row__img {
    order: 2;
  }
}

/* ---------- Before/After Slider ---------- */
.comparison {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  cursor: col-resize;
  user-select: none;
  aspect-ratio: 4/3;
}

.comparison img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison__after {
  clip-path: inset(0 0 0 50%);
}

.comparison__slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--white);
  z-index: 10;
  transform: translateX(-50%);
}

.comparison__slider::after {
  content: '◀▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  letter-spacing: 2px;
}

.comparison__label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  z-index: 5;
}

.comparison__label--before {
  left: 12px;
}

.comparison__label--after {
  right: 12px;
}

/* ---------- Testimonials (Infinite Marquee) ---------- */
.testimonials {
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  animation: marquee 40s linear infinite;
}

.testimonials:hover .testimonials__track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  min-width: 360px;
  max-width: 400px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--light-gray);
}

.section--alt .testimonial-card {
  background: var(--white);
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__meta {
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.testimonial-card__stars {
  color: #FBBC04;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial-card__google {
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .testimonial-card {
    min-width: 300px;
    max-width: 320px;
    padding: var(--space-md);
  }
}

/* ---------- Service Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.75rem 2rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.areas-grid li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.4rem 0;
}

.areas-grid li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(3, auto);
  }
}

@media (max-width: 768px) {
  .areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }

  .areas-grid li {
    padding: 0.1rem 0;
  }
}

/* ---------- FAQ Accordion ---------- */
.faq-group {
  margin-bottom: var(--space-lg);
}

.faq-group__title {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color var(--duration) var(--ease);
}

.faq-item__question:hover {
  color: var(--navy);
}

.faq-item__icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-md);
}

.faq-item__answer p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ---------- Client Types Grid ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.client-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease);
}

.client-card:hover {
  transform: translateY(-3px);
}

.client-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.client-card__text {
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Quarterly Plan ---------- */
.quarterly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.quarter-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.quarter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quarter-card__header {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-md);
  text-align: center;
}

.quarter-card__header h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.quarter-card__header .quarter-label {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.quarter-card__body {
  padding: var(--space-md);
}

.quarter-card__body li {
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.quarter-card__body li::before {
  content: '•';
  color: var(--gold);
  font-weight: bold;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .quarterly-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .quarterly-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Value Cards ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--off-white);
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card__img {
  height: 200px;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: var(--space-md);
}

.blog-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.blog-card__body p {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--mid-gray);
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact Form ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__text h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-info__text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  background: var(--off-white);
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group .error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--error);
}

.form-group.has-error .error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-lg);
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: var(--success);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA Section ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) 0;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand img {
  height: 44px;
  margin-bottom: var(--space-sm);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--duration) var(--ease);
}

.footer ul a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Social Links */
.footer__social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
  color: var(--white);
}

.footer__social-links a:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.footer__social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Google Maps Embed */
.map-embed {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* ---------- Video Showcase ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.video-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--navy-dark);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.video-card__caption {
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--navy);
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ---------- Google Review CTA ---------- */
.review-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.review-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.review-cta__stars {
  font-size: 2.5rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.review-cta h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.review-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

.btn--google-review {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  transition: all var(--duration) var(--ease);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn--google-review:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--navy);
}

.btn--google-review svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Commercial Services List ---------- */
.commercial-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.commercial-service-group {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}

.commercial-service-group h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.commercial-service-group li {
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commercial-service-group li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .commercial-services {
    grid-template-columns: 1fr;
  }
}

/* ---------- Meet the Owner (About Page) ---------- */
.owner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

.owner-section__text {
  /* text content */
}

.owner-section__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  align-items: stretch;
}

.owner-photo {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.owner-section__photos {
  align-items: stretch;
}

@media (max-width: 768px) {
  .owner-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
  }

  .owner-section__photos {
    order: -1;
    grid-template-columns: 1fr 1fr;
  }

  .owner-photo--main {
    aspect-ratio: 3/4;
  }

  .owner-photo--client {
    aspect-ratio: 3/4;
  }
}

@media (max-width: 480px) {
  .owner-section__photos {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
}

/* ---------- Mobile Typography ---------- */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  h2 {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero__content h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }

  .hero__content p {
    font-size: 0.9rem;
  }

  .label {
    font-size: 0.7rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .cta-banner h2 {
    font-size: 1.3rem;
  }

  .call-bar {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .hero__content h1 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .nav__phone {
    font-size: 0.75rem;
    white-space: nowrap;
    margin-left: 0.5rem;
  }

  .nav__phone svg {
    width: 12px;
    height: 12px;
  }
}

/* ---------- About: What We Do columns mobile ---------- */
@media (max-width: 768px) {
  .section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}

/* ---------- Service Chooser Cards (Homepage) ---------- */
.service-chooser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-chooser-card:hover img {
  transform: scale(1.05);
}

/* ---------- Residential: Value Props Grid Responsive ---------- */
@media (max-width: 768px) {
  .section [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {
  .section [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  .section [style*="grid-template-columns:repeat(auto-fit,minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Pricing Comparison Table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.pricing-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  border-right: 2px solid rgba(255, 255, 255, 0.1);
  vertical-align: bottom;
}

.pricing-table thead th:last-child {
  border-right: none;
}

.pricing-table thead th:first-child {
  background: var(--navy-dark);
  text-align: left;
  font-size: 0.95rem;
}

.pricing-table thead th .tier-price {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-top: 0.25rem;
}

.pricing-table thead th .tier-value {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.pricing-table thead th.tier--highlight {
  background: var(--gold);
  color: var(--navy);
}

.pricing-table thead th.tier--highlight .tier-price {
  color: var(--navy);
}

.pricing-table thead th.tier--highlight .tier-value {
  color: rgba(0, 0, 0, 0.5);
}

.pricing-table tbody td {
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--light-gray);
  background: var(--navy);
  color: var(--white);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  padding-left: 1.25rem;
}

.pricing-table tbody td:not(:first-child) {
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.pricing-table .check {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
}

.pricing-table .dash {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.1rem;
}

/* Add-ons card */
.addons-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  max-width: 480px;
  margin: 0 auto;
}

.addons-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--navy);
  text-align: center;
}

.addons-card ul {
  list-style: none;
  padding: 0;
}

.addons-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.addons-card li::before {
  content: '+';
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pricing-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-table thead th,
  .pricing-table tbody td {
    white-space: nowrap;
    padding: 0.7rem 0.6rem;
    font-size: 0.8rem;
  }

  .pricing-table thead th {
    font-size: 0.95rem;
  }
}

/* Pricing + Add-ons flex layout */
.pricing-layout {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.pricing-layout__table {
  flex: 1;
  min-width: 0;
}

.pricing-layout__addons {
  flex-shrink: 0;
  width: 280px;
}

@media (max-width: 1024px) {
  .pricing-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .pricing-layout__addons {
    width: 100%;
  }

  .addons-card {
    max-width: 100%;
  }
}