/*
Theme Name: Lakeshore Listing Media
Theme URI: https://lakeshorelisting.media
Author: Lakeshore Listing Media
Author URI: https://lakeshorelisting.media
Description: Premium real estate photography theme for Lakeshore Listing Media. Modern minimalist luxury design optimized for SEO and conversions. Built for Northwest Indiana & Southwest Michigan's premier real estate media provider.
Version: 2.4.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lakeshore
Tags: real-estate, photography, one-column, custom-header, custom-menu, featured-images, theme-options
*/

/* ==========================================================================
   DESIGN SYSTEM — Lakeshore Listing Media V2
   Brand Guide: Charcoal Gray + White + Sky Blue Accent + Red CTAs
   Clean, authoritative design with generous whitespace
   ========================================================================== */

:root {
  /* ── Color Palette (Redesign V2) ── */
  --color-black: #1a1a1a;
  --color-charcoal: #2c2c2c;
  --color-dark-gray: #3a3a3a;
  --color-gray: #6b6b6b;
  --color-medium-gray: #8c8c8c;
  --color-light-gray: #e9ecef;
  --color-off-white: #f7f8fa;
  --color-white: #ffffff;

  /* Brand Sky Blue — RGB(153, 204, 255) per style guide — accent only */
  --color-brand: #99ccff;
  --color-brand-light: #c2e0ff;
  --color-brand-dark: #5b9bd5;
  --color-brand-deeper: #3a7bbf;
  --color-brand-subtle: #ebf3fc;

  /* Brand Deep Red — PRIMARY CTA color (5% usage) */
  --color-red: #cc0000;
  --color-red-dark: #a30000;
  --color-red-light: #e63333;

  /* CTA — Deep Red replaces Gold */
  --color-gold: #cc0000;
  --color-gold-dark: #a30000;
  --color-gold-light: #e63333;
  --color-cta: #cc0000;
  --color-cta-hover: #a30000;
  --color-cta-text: #ffffff;

  /* ── Typography (Roboto family per style guide) ── */
  --font-heading: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Roboto Mono", "Courier New", monospace;
  --font-accent: "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* Type scale — fluid, restrained (Anthropic-inspired) */
  --text-xs: clamp(0.694rem, 0.66rem + 0.17vw, 0.8rem);
  --text-sm: clamp(0.833rem, 0.78rem + 0.27vw, 1rem);
  --text-base: clamp(1rem, 0.93rem + 0.36vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.38vw, 1.3rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --text-3xl: clamp(1.75rem, 1.55rem + 1vw, 2.25rem);
  --text-4xl: clamp(2rem, 1.75rem + 1.25vw, 2.75rem);
  --text-5xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);

  /* Line heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;
  --tracking-widest: 0.2em;

  /* ── Spacing ── */
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 1rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 2rem);
  --space-lg: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-xl: clamp(3rem, 2rem + 4vw, 6rem);
  --space-2xl: clamp(4rem, 3rem + 5vw, 8rem);

  /* ── Layout ── */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 840px;
  --gutter: clamp(1.5rem, 1rem + 2.5vw, 3rem);

  /* ── Borders & Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--leading-snug);
  color: var(--color-black);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
}

h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 500;
}

h6 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

p {
  margin-bottom: 1.25em;
  color: var(--color-dark-gray);
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-brand-dark);
  margin-bottom: var(--space-sm);
  display: block;
}

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-gray);
}

.display {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-xl);
}

.section--lg {
  padding-block: var(--space-2xl);
}

.section--dark {
  background-color: var(--color-charcoal);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: var(--color-light-gray);
}

.section--subtle {
  background-color: var(--color-off-white);
}

.section--brand {
  background-color: var(--color-brand-subtle);
}

.grid {
  display: grid;
  gap: var(--gutter);
  align-items: stretch;
}

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

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

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

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

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

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

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

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

.mx-auto {
  margin-inline: auto;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #000000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--duration-normal) var(--ease-out);
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background-color: #000000;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.site-logo img,
.site-logo__img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: height var(--duration-normal) var(--ease-out);
}

.scrolled .site-logo img,
.scrolled .site-logo__img {
  height: 44px;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* Logo-light.png already has white text + sky blue icon — NO filter needed */

.nav-primary {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-primary__list {
  display: flex;
  gap: 2rem;
}

.nav-primary__link {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding: 0.25rem 0;
}

.nav-primary__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-brand);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-primary__link:hover::after,
.nav-primary__link--active::after {
  width: 100%;
}

.nav-primary__link:hover,
.nav-primary__link--active {
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta .btn--outline {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
}

.nav-cta .btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-white);
  transition: all var(--duration-fast) var(--ease-out);
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav-primary__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: var(--color-white);
    transition: right var(--duration-slow) var(--ease-out);
    z-index: 999;
  }

  .nav-primary__list.active {
    right: 0;
  }

  .nav-primary__link {
    font-size: var(--text-xl);
    color: var(--color-charcoal);
  }

  .nav-primary__link:hover,
  .nav-primary__link--active {
    color: var(--color-black);
  }

  .nav-primary__link::after {
    background-color: var(--color-brand-dark);
  }

  .nav-cta {
    display: none;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--duration-default) var(--ease-out);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--primary {
  background-color: var(--color-cta);
  color: var(--color-cta-text);
  border-color: var(--color-cta);
}

.btn--primary:hover {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: var(--color-cta-text);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn--outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn--charcoal {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.btn--charcoal:hover {
  background-color: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

.btn--brand {
  background-color: var(--color-brand-dark);
  color: var(--color-white);
  border-color: var(--color-brand-dark);
}

.btn--brand:hover {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn--ghost {
  background: transparent;
  color: var(--color-black);
  border-color: transparent;
  padding-inline: 0;
}

.btn--ghost::after {
  content: "→";
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 1.125rem 2.75rem;
  font-size: var(--text-base);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--color-white);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle grain texture overlay for premium depth */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Charcoal overlay — clean, authoritative */
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.82) 0%,
    rgba(44, 44, 44, 0.65) 50%,
    rgba(26, 26, 26, 0.75) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.hero__title {
  color: var(--color-white);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: 2rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__badge {
  text-align: left;
}

.hero__badge-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-brand-light);
  font-weight: 700;
}

.hero__badge-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .hero {
    min-height: 90vh;
  }

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

/* ==========================================================================
   HERO SLIDER — crossfade slideshow with progress bars
   Adapted from approved design: charcoal overlays, sky blue accents
   ========================================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  display: block;
}

.hero-slider__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider__slide.active {
  opacity: 1;
}

.hero-slider__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  filter: brightness(0.5) contrast(1.1) saturate(1.05);
}

.hero-slider__slide.active .hero-slider__slide-img {
  transform: scale(1);
}

/* Overlays — charcoal, NOT blue */
.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.12) 35%,
    rgba(10, 10, 10, 0.08) 55%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.hero-slider__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.35) 0%,
    transparent 60%
  );
}

.hero-slider__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Hero content — bottom-aligned */
.hero-slider__content {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 48px 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-slider__text {
  max-width: 700px;
}

.hero-slider__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.3s;
}

.hero-slider__eyebrow-line {
  width: 40px;
  height: 1.5px;
  background: var(--color-brand);
}

.hero-slider__eyebrow-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.hero-slider__headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.9s ease forwards 0.5s;
}

.hero-slider__headline em {
  font-style: normal;
  color: var(--color-brand-light);
  font-weight: 300;
}

.hero-slider__subtext {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.7s;
  text-wrap: balance;
  text-wrap: pretty;
}

.hero-slider__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.9s;
}

/* Hero CTA buttons */
.hero-slider__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--color-white);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border-radius: var(--radius-sm);
}

.hero-slider__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  color: var(--color-charcoal);
}

.hero-slider__btn-primary svg {
  transition: transform 0.3s ease;
}

.hero-slider__btn-primary:hover svg {
  transform: translateX(4px);
}

.hero-slider__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.hero-slider__btn-secondary:hover {
  border-color: var(--color-brand);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
}

/* Right side: counter + progress */
.hero-slider__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  min-width: 180px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 1.1s;
}

.hero-slider__counter {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-slider__counter-current {
  font-size: 28px;
  color: var(--color-brand);
  font-weight: 700;
}

.hero-slider__counter-divider {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-slider__progress {
  display: flex;
  gap: 6px;
  width: 160px;
}

.hero-slider__progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-slider__progress-bar:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-slider__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-brand);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.hero-slider__progress-bar.active .hero-slider__progress-fill {
  width: 100%;
  transition: width 6000ms linear;
}

.hero-slider__progress-bar.complete .hero-slider__progress-fill {
  width: 100%;
  transition: none;
}

/* FAA badge — right side, vertically centered */
.hero-slider__faa-badge {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 1.3s;
}

.hero-slider__faa-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(153, 204, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__faa-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
}

.hero-slider__faa-text {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand);
  writing-mode: vertical-rl;
  margin-top: 12px;
}

/* Scroll indicator */
.hero-slider__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 1.5s;
}

.hero-slider__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-brand), transparent);
  animation: heroScrollPulse 2s ease-in-out infinite;
}

/* Bottom accent line */
.hero-slider__bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-brand-dark),
    var(--color-brand),
    var(--color-brand-dark)
  );
  z-index: 10;
  opacity: 0.6;
}

/* Hero slider animations */
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.3);
  }
}

/* Responsive hero slider */
@media (max-width: 1024px) {
  .hero-slider__content {
    padding: 0 28px 60px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slider__aside {
    align-items: flex-start;
  }

  .hero-slider__faa-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 100svh;
  }

  .hero-slider__content {
    padding: 0 20px 48px;
  }

  .hero-slider__headline {
    font-size: clamp(30px, 8vw, 44px);
  }

  .hero-slider__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-slider__btn-primary,
  .hero-slider__btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-slider__aside {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-slider__progress {
    width: 120px;
  }

  .hero-slider__scroll {
    display: none;
  }
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: 1rem;
  flex: 1;
}

.service-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card__link {
  margin-top: auto;
}

.service-card__link::after {
  content: "→";
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* ==========================================================================
   PRICING / PACKAGE CARDS
   ========================================================================== */

.package-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-card:hover,
.package-card.package-card--active-hover {
  border-color: var(--color-brand-dark);
  box-shadow:
    0 0 0 1px var(--color-brand-dark),
    var(--shadow-lg);
}

.package-card--featured {
  border-color: var(--color-brand-dark);
  box-shadow:
    0 0 0 1px var(--color-brand-dark),
    var(--shadow-md);
}

/* When another card is active-hovered, de-emphasize featured */
.package-card--active-hover ~ .package-card--featured,
.package-card--featured:not(.package-card--active-hover):has(
    ~ .package-card--active-hover
  ),
.grid--4:has(
    .package-card:not(.package-card--featured).package-card--active-hover
  )
  .package-card--featured:not(.package-card--active-hover) {
  border-color: var(--color-light-gray);
  box-shadow: var(--shadow-sm);
}

.package-card--featured::before {
  content: "Most Popular";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-brand-dark);
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
}

.package-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.package-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-black);
  margin-bottom: var(--space-md);
}

.package-card__price sup {
  font-size: var(--text-lg);
  vertical-align: super;
}

.package-card__features {
  text-align: left;
  margin-bottom: var(--space-md);
  flex: 1;
}

.package-card .btn {
  margin-top: auto;
}

/* Active-hovered non-featured card turns its button red */
.package-card:not(.package-card--featured):hover .btn,
.package-card:not(.package-card--featured).package-card--active-hover .btn {
  background-color: var(--color-cta);
  border-color: var(--color-cta);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
}

/* When a non-featured card is active-hovered, featured button swaps to outline */
.grid--4:has(
    .package-card:not(.package-card--featured).package-card--active-hover
  )
  .package-card--featured:not(.package-card--active-hover)
  .btn {
  background-color: transparent;
  border-color: var(--color-light-gray);
  color: var(--color-charcoal);
  box-shadow: none;
}

.grid--4:has(
    .package-card:not(.package-card--featured).package-card--active-hover
  )
  .package-card--featured:not(.package-card--active-hover)
  .btn:hover {
  background-color: var(--color-cta);
  border-color: var(--color-cta);
  color: var(--color-white);
}

.package-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-off-white);
  font-size: var(--text-sm);
  color: var(--color-dark-gray);
}

.package-card__feature:last-child {
  border-bottom: none;
}

.package-card__feature::before {
  content: "✓";
  color: var(--color-brand-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.package-card__bonus {
  background-color: var(--color-brand-subtle);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-brand-dark);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   STATS ROW
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ==========================================================================
   ABOUT / BIO
   ========================================================================== */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-split__image {
    aspect-ratio: 1;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */

.testimonial {
  max-width: var(--container-narrow);
  margin-inline: auto;
  text-align: center;
  padding: var(--space-xl) var(--gutter);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-charcoal);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-brand-light);
  position: absolute;
  top: -2rem;
  left: -1rem;
  line-height: 1;
  z-index: 0;
  opacity: 0.5;
}

.testimonial__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-black);
}

.testimonial__role {
  font-size: var(--text-xs);
  color: var(--color-gray);
}

/* ==========================================================================
   PORTFOLIO / GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.5rem;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.gallery-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-grid__item:hover::after {
  opacity: 1;
}

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

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

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-dark-gray);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background-color: var(--color-off-white);
  border: 1.5px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-brand-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-brand-subtle);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-medium-gray);
}

.form-label__required {
  color: var(--color-cta);
  margin-left: 0.125rem;
}

/* Contact page layout */
.contact-section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-xl);
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: var(--color-dark-gray);
  font-size: var(--text-sm);
}

.contact-info a {
  color: var(--color-brand-dark);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-brand-dark);
  font-size: var(--text-sm);
}

.contact-message {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.contact-message--success {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

.contact-message--error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f5c6cb;
}

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  background-color: var(--color-charcoal);
  color: var(--color-light-gray);
  padding-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer-brand__tagline {
  font-size: var(--text-base);
  color: var(--color-medium-gray);
  margin-top: 1rem;
  max-width: 300px;
  line-height: var(--leading-relaxed);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: var(--text-base);
  color: var(--color-medium-gray);
  transition: color var(--duration-fast) var(--ease-out);
}

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

.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-base);
  color: var(--color-medium-gray);
  margin-bottom: 1rem;
}

/* Phone row — the phone-reveal button replaces the standalone icon+text */
.footer-contact__item--phone {
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-light-gray);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background-color: rgba(153, 204, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-gray);
}

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

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

/* ==========================================================================
   FEATURE SPLIT (image left/right + text)
   ========================================================================== */

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.feature-split--reverse,
.feature-split-reverse {
  direction: rtl;
}

.feature-split--reverse > *,
.feature-split-reverse > * {
  direction: ltr;
}

.feature-split__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.feature-split__media img,
.feature-split__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .feature-split,
  .feature-split--reverse,
  .feature-split-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-md);
  }

  /* Force content-first on mobile for reversed sections */
  .feature-split-reverse .feature-content,
  .feature-split--reverse .feature-content {
    order: -1;
  }
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.85),
    rgba(26, 26, 26, 0.65)
  );
  z-index: 1;
}

.cta-banner__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner__content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */

.blog-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  transition: all var(--duration-normal) var(--ease-out);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.04);
}

.blog-card__body {
  padding: var(--space-md);
}

.blog-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-brand-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  margin-bottom: 0.75rem;
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: 1rem;
}

.blog-card__meta {
  font-size: var(--text-xs);
  color: var(--color-medium-gray);
}

/* ==========================================================================
   BEFORE/AFTER SLIDER
   ========================================================================== */

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: ew-resize;
}

.before-after img {
  display: block;
  width: 100%;
}

/* ==========================================================================
   ANIMATIONS (subtle, luxury)
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for grid items */
.stagger > *:nth-child(1) {
  transition-delay: 0ms;
}

.stagger > *:nth-child(2) {
  transition-delay: 100ms;
}

.stagger > *:nth-child(3) {
  transition-delay: 200ms;
}

.stagger > *:nth-child(4) {
  transition-delay: 300ms;
}

.stagger > *:nth-child(5) {
  transition-delay: 400ms;
}

.stagger > *:nth-child(6) {
  transition-delay: 500ms;
}

/* ==========================================================================
   DIVIDERS & DECORATIVE
   ========================================================================== */

.divider {
  width: 60px;
  height: 1.5px;
  background-color: var(--color-brand);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.divider--center {
  margin-inline: auto;
}

.section-header {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

/* ==========================================================================
   WORDPRESS SPECIFIC: Admin bar offset
   ========================================================================== */

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

:focus-visible {
  outline: 2px solid var(--color-brand-dark);
  outline-offset: 2px;
}

/* ==========================================================================
   PHONE NUMBER PROTECTION (anti-scraper)
   Agents can click to reveal; bots see nothing useful
   ========================================================================== */

.phone-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--color-brand);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-brand-dark);
  background: var(--color-brand-subtle);
  transition: all var(--duration-fast) var(--ease-out);
  user-select: none;
}

.phone-reveal:hover {
  background: var(--color-brand);
  color: var(--color-charcoal);
  border-color: var(--color-brand);
}

.phone-reveal[data-revealed="true"] {
  cursor: default;
  font-weight: 500;
  color: var(--color-charcoal);
  background: var(--color-brand-subtle);
  border-color: var(--color-brand);
  user-select: text;
}

.phone-reveal__icon {
  flex-shrink: 0;
}

.phone-reveal__label {
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
}

/* Phone reveal inside dark footer — needs light-on-dark treatment */
.site-footer .phone-reveal {
  background: rgba(153, 204, 255, 0.08);
  border-color: rgba(153, 204, 255, 0.35);
  color: var(--color-brand);
  font-size: var(--text-base);
  padding: 0.7rem 1.4rem;
  gap: 0.65rem;
}

.site-footer .phone-reveal svg {
  color: var(--color-brand);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.site-footer .phone-reveal:hover {
  background: rgba(153, 204, 255, 0.15);
  border-color: var(--color-brand);
}

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

.site-footer .phone-reveal .phone-reveal__label {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

.site-footer .phone-reveal[data-revealed="true"] {
  background: rgba(153, 204, 255, 0.1);
  border-color: var(--color-brand);
  cursor: default;
  padding: 0.7rem 1.5rem;
}

.site-footer .phone-reveal[data-revealed="true"] .phone-reveal__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: 0.04em;
  color: var(--color-white);
}

.site-footer .phone-reveal[data-revealed="true"] .phone-reveal__label a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer .phone-reveal[data-revealed="true"] .phone-reveal__label a:hover {
  color: var(--color-brand-light);
}

/* ==========================================================================
   EMAIL REVEAL — Anti-Scrape Click-to-Show (mirrors phone-reveal)
   ========================================================================== */

.email-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--color-brand);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-brand-dark);
  background: var(--color-brand-subtle);
  transition: all var(--duration-fast) var(--ease-out);
  user-select: none;
}

.email-reveal:hover {
  background: var(--color-brand);
  color: var(--color-charcoal);
  border-color: var(--color-brand);
}

.email-reveal svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.email-reveal[data-revealed="true"] {
  cursor: default;
  font-weight: 500;
  color: var(--color-charcoal);
  background: var(--color-brand-subtle);
  border-color: var(--color-brand);
  user-select: text;
}

.email-reveal__label {
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
}

/* Email reveal inside dark footer */
.site-footer .email-reveal {
  background: rgba(153, 204, 255, 0.08);
  border-color: rgba(153, 204, 255, 0.35);
  color: var(--color-brand);
  font-size: var(--text-base);
  padding: 0.7rem 1.4rem;
  gap: 0.65rem;
}

.site-footer .email-reveal svg {
  color: var(--color-brand);
}

.site-footer .email-reveal:hover {
  background: rgba(153, 204, 255, 0.15);
  border-color: var(--color-brand);
}

.site-footer .email-reveal .email-reveal__label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.site-footer .email-reveal:hover .email-reveal__label {
  color: var(--color-white);
}

.site-footer .email-reveal[data-revealed="true"] {
  background: rgba(153, 204, 255, 0.1);
  border-color: var(--color-brand);
  cursor: default;
}

.site-footer .email-reveal[data-revealed="true"] .email-reveal__label {
  font-weight: 500;
  color: var(--color-white);
}

.site-footer .email-reveal[data-revealed="true"] .email-reveal__label a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer .email-reveal[data-revealed="true"] .email-reveal__label a:hover {
  color: var(--color-brand-light);
}

/* ==========================================================================
   SERVICE PAGE TEMPLATE
   ========================================================================== */

.service-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

.service-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.1);
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.7) 100%
  );
  z-index: 1;
}

.service-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.service-hero__title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.service-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--leading-relaxed);
}

/* Service intro */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

/* Reverse column order — accessible alternative to direction:rtl hack */
.service-intro--reverse {
  direction: ltr;
  /* ensure text direction is always correct */
}

@media (min-width: 769px) {
  .service-intro--reverse {
    grid-auto-flow: dense;
  }

  .service-intro--reverse > *:first-child {
    order: 2;
  }

  .service-intro--reverse > *:last-child {
    order: 1;
  }
}

.service-intro__text p {
  margin-bottom: 1.25em;
}

.service-intro__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.service-highlight {
  text-align: center;
  padding: var(--space-md);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
}

.service-highlight__value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-brand-deeper);
  margin-bottom: 0.25rem;
}

.service-highlight__label {
  font-size: var(--text-sm);
  color: var(--color-gray);
}

/* Service gallery grid */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0.75rem;
}

/* Seamless gallery variant — zero gap between images */
.service-gallery--seamless {
  gap: 0;
}

.service-gallery--seamless .service-gallery__item {
  border-radius: 0;
}

.service-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
}

.service-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.service-gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Uniform gallery — fixed 3-column grid, all items identical size */
.service-gallery--uniform {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.service-gallery--uniform .service-gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
}

.service-gallery--uniform .service-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

/* Before / After slider */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.before-after-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.before-after-card img {
  width: 100%;
  display: block;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.before-after-card__label {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* Feature list with icons */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: var(--space-md);
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.feature-item:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-brand-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-deeper);
}

.feature-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item__desc {
  font-size: var(--text-sm);
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Video embed responsive */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Matterport embed */
.matterport-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-md);
}

.matterport-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item[open] {
  border-color: var(--color-brand);
}

.faq-item__question {
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-off-white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease;
}

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

.faq-item__question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-brand);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__question:hover {
  color: var(--color-brand);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--color-light-gray);
  line-height: 1.7;
}

.faq-item__answer p {
  color: var(--color-light-gray);
  margin: 0;
}

.faq-item__answer a {
  color: var(--color-brand);
  text-decoration: underline;
}

/* Service page CTA strip */
.service-cta {
  background: var(--color-charcoal);
  text-align: center;
  padding: var(--space-xl) 0;
}

.service-cta h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.service-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

/* ───────────────────────────────────────────────
   CTA BANNER (Ready to Schedule section)
   Full-bleed with background image
   ─────────────────────────────────────────────── */

.cta-banner {
  position: relative;
  padding: var(--space-2xl) 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.75) 0%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner__content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

/* Service page responsive */
@media (max-width: 768px) {
  .service-intro {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .service-gallery__item--wide {
    grid-column: span 1;
  }

  .cta-banner {
    padding: var(--space-xl) 0;
  }

  .service-hero {
    min-height: 35vh;
    padding-top: 100px;
  }

  /* Mobile: left-align body text; center headings, eyebrows, and buttons */
  .feature-content {
    text-align: left;
  }

  .feature-content .eyebrow,
  .feature-content h2,
  .feature-content h3 {
    text-align: center;
  }

  .feature-content .service-description {
    text-align: left;
  }

  .feature-content .service-features {
    list-style: disc;
    padding-left: 1.25rem;
    text-align: left;
  }

  .feature-content .btn {
    display: block;
    width: fit-content;
    margin-inline: auto;
    text-align: center;
  }

  /* Services page CTA section */
  .services-cta-section {
    text-align: center;
  }

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

  /* Service sub-page CTA strips */
  .service-cta .btn {
    display: inline-block;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .cta-banner,
  .btn {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }
}
