/* ==========================================================================
   Craig Collins Landscape Lighting — CSS Foundation
   ========================================================================== */

/* CSS Custom Properties
   ========================================================================== */
:root {
  /* Base palette */
  --bg-primary: #ffffff;
  --bg-surface: #F7F8FA;
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-light: #ffffff;
  --border: #E5E7EB;
  --night-overlay: #0F172A;

  /* Default accent: sage */
  --accent: #4A6741;
  --accent-hover: #3B5334;

  /* Spacing */
  --max-width: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 64px;
  --card-gap: 32px;

  /* Radii */
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-modal: 16px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.12);

}

[data-theme="sage"] {
  --accent: #4A6741;
  --accent-hover: #3B5334;
}
[data-theme="slate"] {
  --accent: #475569;
  --accent-hover: #334155;
}
[data-theme="charcoal"] {
  --accent: #374151;
  --accent-hover: #1F2937;
}
[data-theme="bronze"] {
  --accent: #8B7355;
  --accent-hover: #6F5B42;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* Typography
   ========================================================================== */
h1 { font-size: 3rem; font-weight: 700; line-height: 1.15; }
h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }

.text-dim {
  color: var(--text-secondary);
}

.text-amber {
  color: var(--accent);
}

/* Layout
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-dark {
  background: var(--night-overlay);
  color: var(--text-light);
}

.section-light {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.section-light,
.section-dark {
  padding: var(--section-pad) 0;
}

@media (max-width: 768px) {
  .section-light,
  .section-dark {
    padding: var(--section-pad-mobile) 0;
  }
}

.section-amber {
  background: var(--accent);
  color: var(--text-light);
  padding: var(--section-pad) 0;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn-amber {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-amber:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* Social Proof Badge
   ========================================================================== */
.social-proof {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.social-proof .stars {
  color: var(--accent);
}

/* Responsive Breakpoints
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: var(--section-pad-mobile);
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  h3 {
    font-size: 18px;
  }

  body {
    font-size: 15px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

body {
  padding-top: 72px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header--scrolled .header__links a {
  color: var(--text-primary);
}

.header--scrolled .header__phone {
  color: var(--text-primary);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Nav
   ========================================================================== */
.header__nav {
  flex: 1;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__links > li > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.header__links > li > a:hover {
  color: var(--accent);
}

/* Dropdown
   ========================================================================== */
.dropdown {
  position: relative;
}

.dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s ease;
}

.dropdown__toggle:hover {
  color: var(--accent);
}

.dropdown__toggle svg {
  transition: transform 0.2s ease;
}

.dropdown.open .dropdown__toggle svg {
  transform: rotate(180deg);
}

.dropdown.open .dropdown__toggle {
  color: var(--accent);
}

.dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 180px;
  background-color: var(--bg-primary);
  border-radius: 8px;
  border-top: 2px solid var(--accent);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.dropdown.open .dropdown__menu {
  display: block;
}

.dropdown__menu li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown__menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.dropdown__menu a:hover {
  color: var(--accent);
  background-color: rgba(74, 103, 65, 0.06);
}

/* Header Actions
   ========================================================================== */
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.header__phone:hover {
  color: var(--accent);
}

.header__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* Hamburger Button
   ========================================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header__actions .btn-sm {
    display: none;
  }

  .header__actions .btn-sm.header__call {
    display: inline-flex;
    padding: 8px;
    border-radius: 999px;
  }

  .header__call-text {
    display: none;
  }

  .header__phone-text {
    display: none;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    overflow-y: auto;
    padding: 32px 24px;
    flex: unset;
  }

  .header__nav.open {
    display: block;
  }

  .header__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .header__links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header__links > li > a,
  .dropdown__toggle {
    display: block;
    padding: 16px 0;
    font-size: 20px;
    font-weight: 500;
    width: 100%;
    color: var(--text-light);
  }

  .dropdown__menu {
    position: static;
    display: none;
    border-radius: 0;
    border-top: none;
    background-color: transparent;
    padding: 0 0 8px 16px;
    box-shadow: none;
  }

  .dropdown.open .dropdown__menu {
    display: block;
  }

  .dropdown__menu a {
    font-size: 16px;
    padding: 10px 0;
    color: var(--text-secondary);
  }

  .dropdown__menu li:not(:last-child) {
    border-bottom: none;
  }
}

/* ==========================================================================
   Trust Bar Component
   ========================================================================== */

.trust-bar {
  width: 100%;
  background: var(--bg-surface);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  position: relative;
}

.trust-bar__inner {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-bar__section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.trust-bar__big-rating {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.trust-bar__stars {
  display: flex;
  gap: 2px;
}

.trust-bar__star {
  width: 16px;
  height: 16px;
  fill: #e8a835;
}

.trust-bar__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.trust-bar__sub strong {
  color: #b0bac8;
}

.trust-bar__badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.trust-bar__badge--ha {
  background: linear-gradient(135deg, #f4811f 0%, #e65c00 100%);
}

.trust-bar__badge--houzz {
  background: linear-gradient(135deg, #6db33f 0%, #4a9a1f 100%);
}

.trust-bar__platform-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.trust-bar__platform-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.trust-bar__platform-meta .amber {
  color: var(--accent);
}

.trust-bar__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-bar__icon svg {
  width: 15px;
  height: 15px;
  fill: var(--accent);
}

.trust-bar__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.trust-bar__label small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.trust-bar__quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #b0bac8;
  max-width: 280px;
}

.trust-bar__quote-attr {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.trust-bar__quote-attr span {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .trust-bar__inner {
    flex-wrap: wrap;
    gap: 20px;
  }

  .trust-bar__quote-section {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-bar__big-rating {
    font-size: 36px;
  }
}

/* ==========================================================================
   Review Carousel Component
   ========================================================================== */

.review-carousel {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  overflow: hidden;
}

.review-carousel__header {
  text-align: center;
  margin-bottom: 40px;
}

.review-carousel__header h2 {
  color: var(--text-primary);
}

.review-carousel__proof {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 8px;
}

.review-carousel__proof .stars {
  color: var(--accent);
}

.review-carousel__track-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.review-carousel__track-wrapper:active {
  cursor: grabbing;
}

.review-carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.review-carousel__track.dragging {
  transition: none;
}

.review-card {
  flex: 0 0 340px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

.review-card__star {
  width: 13px;
  height: 13px;
}

.review-card__text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.review-card__platform {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 480px) {
  .review-card {
    flex: 0 0 280px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .review-card {
    flex: 0 0 300px;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background: var(--bg-surface);
  color: var(--text-primary);
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  text-align: center;
  position: relative;
}

.cta-section h2 {
  color: var(--text-primary);
}

.cta-section__sub {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
  margin-top: 12px;
}

.cta-section__proof {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 16px;
}

.cta-section__proof .stars {
  color: var(--accent);
}

.cta-section__phone {
  display: block;
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  margin-top: 16px;
}

.cta-section__phone:hover {
  color: var(--accent-hover);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--night-overlay);
  color: var(--text-light);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__social a:hover {
  color: #fff;
  border-color: #fff;
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__areas {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.footer__areas p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
}

.footer__areas strong {
  color: #b0bac8;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer__legal {
  display: flex;
  gap: 16px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #fff;
}

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

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   Before / After Slider
   ========================================================================== */

.ba-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  user-select: none;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__img--after {
  clip-path: inset(0 0 0 50%);
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--accent);
  cursor: ew-resize;
  z-index: 2;
  transform: translateX(-50%);
}

.ba-slider__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.ba-slider__label {
  position: absolute;
  bottom: 16px;
  padding: 6px 16px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 1;
}

.ba-slider__label--before {
  left: 16px;
}

.ba-slider__label--after {
  right: 16px;
}

/* ==========================================================================
   Exit Popup
   ========================================================================== */

.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.exit-popup.visible {
  display: flex;
}

.exit-popup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.40);
  z-index: -1;
}

.exit-popup__modal {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-modal);
  box-shadow: var(--shadow-modal);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.exit-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.5rem;
}

.exit-popup__close:hover {
  color: var(--text-primary);
}

.exit-popup__modal h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.exit-popup__modal p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.exit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exit-popup__form .form-group input,
.exit-popup__form .form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s;
}

.exit-popup__form .form-group input:focus,
.exit-popup__form .form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.exit-popup__form .btn {
  width: 100%;
  margin-top: 8px;
}

.exit-popup__form input::placeholder {
  color: var(--text-secondary);
}

.exit-popup__alt {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.exit-popup__alt a {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   Mobile CTA Bar
   ========================================================================== */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  gap: 12px;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }
}

.mobile-cta .btn {
  flex: 1;
  text-align: center;
  border-radius: var(--radius-btn);
}

/* ==========================================================================
   Homepage — Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: 0 24px;
}

.hero__content h1 {
  color: var(--text-light);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}

.hero__content p {
  font-size: 20px;
  color: rgba(240, 236, 228, 0.9);
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero__proof {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(240, 236, 228, 0.8);
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .hero {
    height: 75vh;
    min-height: 420px;
  }

  .hero__content p {
    font-size: 17px;
  }
}

/* ==========================================================================
   Homepage — How It Works
   ========================================================================== */

.how-it-works__heading {
  text-align: center;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
  margin-top: 48px;
  text-align: center;
}

.how-it-works__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.how-it-works__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(74, 103, 65, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.how-it-works__step h3 {
  margin-bottom: 0;
}

.how-it-works__step p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .how-it-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .how-it-works__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Homepage — Before / After
   ========================================================================== */

.before-after__header {
  text-align: center;
  margin-bottom: 32px;
}

.before-after__header h2 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

.before-after__header p {
  color: var(--text-secondary);
}

.before-after__cta {
  text-align: center;
  margin-top: 32px;
}

/* ==========================================================================
   Homepage — Services Preview
   ========================================================================== */

.services-preview__heading {
  text-align: center;
  margin-bottom: 8px;
}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-top: 40px;
}

.service-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card__img {
  height: 200px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 24px;
}

.service-card__body h3 {
  margin-bottom: 8px;
}

.service-card__body p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
}

.service-card__link {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.service-card__link:hover {
  color: var(--accent-hover);
}

.services-preview__footer {
  text-align: center;
  margin-top: 40px;
}

.services-preview__all {
  font-weight: 600;
  color: var(--accent);
  font-size: 16px;
  transition: color 0.2s ease;
}

.services-preview__all:hover {
  color: var(--accent-hover);
}

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

/* ==========================================================================
   Homepage — Gallery Strip
   ========================================================================== */

.gallery-section__heading {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.gallery-strip-wrapper {
  overflow: hidden;
  padding: 0 0 24px;
}

.gallery-strip {
  display: flex;
  gap: 16px;
  padding: 0 24px;
  will-change: transform;
}

.gallery-strip img {
  height: 250px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--radius-card);
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-section__footer {
  text-align: center;
  padding-top: 8px;
}

@media (max-width: 768px) {
  .gallery-strip img {
    height: 180px;
  }
}

/* ==========================================================================
   Homepage — Night Demo
   ========================================================================== */

.night-demo {
  background: var(--night-overlay);
  color: var(--text-light);
  text-align: center;
}

.night-demo h2 {
  color: var(--text-light);
  margin-bottom: 16px;
}

.night-demo p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.night-demo__cta {
  background-color: var(--accent);
  color: #fff;
  border: none;
}

.night-demo__cta:hover {
  background-color: var(--accent-hover);
}

.urgency {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}

@media (max-width: 768px) {
  .night-demo p {
    font-size: 16px;
  }
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-bio {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.about-bio__headshot {
  display: flex;
  justify-content: center;
}

.about-bio__initials {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #d4d0ca;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

.about-bio__content h2 {
  margin-bottom: 20px;
}

.about-bio__content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-bio__content p:last-child {
  margin-bottom: 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--card-gap);
}

.credential-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.credential-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-card__icon svg {
  width: 32px;
  height: 32px;
}

.credential-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.credential-card__sub {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .about-bio__headshot {
    justify-content: center;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Services Page
   ========================================================================== */

.services-hero__sub {
  font-size: 20px;
  color: rgba(240, 236, 228, 0.8);
  margin-top: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Gallery Page — Filters & Grid
   ========================================================================== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid__item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__item.hidden {
  display: none;
}

/* Lightbox
   ========================================================================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 0;
  font-family: inherit;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  padding: 0 16px;
  font-family: inherit;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Reviews Page
   ========================================================================== */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 24px;
  text-align: center;
  flex-wrap: wrap;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-bar__value {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stats-bar__value.stars {
  color: var(--accent);
}

.stats-bar__label {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.7;
  margin-top: 4px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.reviews-grid .review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
}

.reviews-grid .review-card__text {
  color: var(--text-primary);
}

.reviews-grid .review-card__name {
  color: var(--text-primary);
}

.review-card__date {
  font-size: 12px;
  color: var(--text-secondary);
}

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

  .stats-bar {
    gap: 28px;
    padding: 32px 16px;
  }

  .stats-bar__value {
    font-size: 36px;
  }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  background-color: var(--bg-primary);
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-submit-proof {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(74, 103, 65, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  stroke: var(--accent);
}

.contact-info__text {
  font-size: 15px;
  color: var(--text-primary);
  padding-top: 10px;
}

.contact-info__text a {
  color: var(--accent);
}

.contact-map {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.book-directly {
  text-align: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.book-directly h2 {
  margin-bottom: 16px;
}

.book-directly p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 16px;
}

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

/* ── Location Pages ──────────────────────────────────────────────────────── */

.location-hero {
  padding: 120px 0 80px;
  text-align: center;
}

.location-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.location-hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.location-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.location-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  color: var(--dark);
}

.location-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.location-services-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.location-services-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.location-services-list li:last-child {
  border-bottom: none;
}

.location-services-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.location-services-list a:hover {
  text-decoration: underline;
}

.location-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.location-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.location-faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-family: var(--font-serif);
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .location-gallery {
    grid-template-columns: 1fr;
  }

  .location-hero {
    padding: 100px 0 60px;
  }
}

/* ── Privacy Page ────────────────────────────────────────────────────────── */

.privacy-hero {
  padding: 120px 0 48px;
  border-bottom: 1px solid var(--border);
}

.privacy-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-serif);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.privacy-hero__sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.privacy-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.privacy-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.privacy-content > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.privacy-content h2 {
  font-size: 1.4rem;
  font-family: var(--font-serif);
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.privacy-content ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.privacy-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 1.25rem;
}

.privacy-contact p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0.4rem;
}

.privacy-contact a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-contact a:hover {
  text-decoration: underline;
}

/* ── Palette Switcher (dev/preview tool) ────────────────────────── */
.palette-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

.palette-switcher__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.palette-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.palette-swatch:hover {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .palette-switcher {
    bottom: 80px; /* above mobile CTA bar */
  }
}

.palette-swatch.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--text-primary);
}

/* ── GHL Calendar Embed ──────────────────────────────────────────── */
.ghl-calendar-embed {
  max-width: 640px;
  margin: 32px auto 0;
  min-height: 500px;
}

.ghl-calendar-embed iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: var(--radius-card);
}

.ghl-placeholder {
  text-align: center;
  color: var(--text-secondary);
  padding: 48px 24px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
}
