/* ============================================
   DESIGN SYSTEM
   
   A modern, premium design system inspired by clean laundry service aesthetics.
   Edit these CSS variables to customize the entire site's look and feel.
   
   COLOR PALETTE:
   - Primary: Soft blue accent for CTAs and interactive elements
   - Text: Neutral dark grays for readability
   - Backgrounds: White and very light gray for alternating sections
   
   TYPOGRAPHY:
   - System font stack (fast, native, accessible)
   - Clear hierarchy: Large hero → Section titles → Body text
   
   SPACING SCALE:
   - Consistent rhythm based on 8px units
   - Generous whitespace for premium feel
   
   LAYOUT:
   - Max width: 1100px (comfortable reading width)
   - Mobile-first responsive design
   - Consistent section padding
   ============================================ */

:root {
  /* === COLORS === */
  /* Primary accent color (change this to match your brand) */
  --color-primary: #4A90E2;
  --color-primary-dark: #357ABD;
  --color-primary-light: #E8F4FF;
  
  /* Text colors */
  --color-text: #0D1B2B;
  --color-text-light: #6B7280;
  --color-text-muted: #9CA3AF;
  
  /* Background colors */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFB;
  --color-bg-dark: #2C3E50;
  
  /* Border and divider colors */
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;

  /* === TYPOGRAPHY === */
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Font sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */

  /* === SPACING SCALE (8px base unit) === */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-5: 2.5rem;   /* 40px */
  --space-6: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-10: 5rem;    /* 80px */
  --space-12: 6rem;    /* 96px */
  --space-16: 8rem;    /* 128px */

  /* === LAYOUT === */
  --max-width: 1100px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --nav-height: 72px;
  
  /* === DESIGN TOKENS === */
  --border-radius-sm: 0.25rem;  /* 4px */
  --border-radius: 0.5rem;      /* 8px */
  --border-radius-lg: 1rem;     /* 16px */
  --border-radius-full: 9999px; /* Circular */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
}

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  min-height: 100%;
  height: 100%;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   FULL-PAGE BACKGROUND PATTERN
   
   HOW TO CUSTOMIZE:
   - Image file: /public/images/Laundry Room Background.png
   - Scale pattern: Adjust background-size below (currently 800px)
   - Opacity: Adjust opacity value (currently 0.85 = 85%)
   - Disable background: Comment out the background-image line
   - Change image: Replace the url() path with a new image
   
   The pattern repeats and scrolls with the page content.
   Content sections use solid backgrounds for readability.
   ============================================ */

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available; /* iOS Safari fix */
  position: relative;
}

/* Background pattern with opacity - placed behind all content */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  width: 100%;
  background-color: var(--color-bg); /* Fallback solid color */
  background-image: url('/public/images/LaundryRoomBackground.png');
  background-repeat: repeat;
  background-position: top left;
  background-size: 800px; /* Adjust this value to scale the pattern */
  opacity: 0.70; /* 70% opacity (faded by 30%) */
  z-index: -1;
  pointer-events: none;
}

/* Subtle white overlay for text legibility */
body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  width: 100%;
  background: rgba(255, 255, 255, 0.30); /* 30% white overlay */
  z-index: -1;
  pointer-events: none;
}

/* Responsive: Scale down pattern on smaller screens to reduce visual clutter */
@media (max-width: 768px) {
  body::before {
    background-size: 500px;
  }
}

@media (max-width: 480px) {
  body::before {
    background-size: 350px;
  }
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

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

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

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

@media (max-width: 768px) {
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  h3 {
    font-size: var(--text-xl);
  }
}

p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-3);
  }
}

.section {
  padding: var(--space-12) 0;
  scroll-margin-top: calc(var(--nav-height) + var(--space-2));
}

/* Remove focus outline on programmatically focused sections */
.section:focus {
  outline: none;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-8) 0;
  }
}

.section-alt {
  /* Background removed - pattern shows through */
  background-color: transparent;
}

/* Section headers */
.section-eyebrow {
  text-transform: uppercase;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: 3rem; /* 80% of hero title (3.75rem / 48px) - 20% smaller */
  text-align: center;
  margin-bottom: var(--space-3);
  font-weight: 700;
  color: var(--color-text);
}

/* Remove top spacing for Fluff & Fold section title */
#fluff-and-fold .section-title {
  margin-top: 0;
  padding-top: 0;
}

#fluff-and-fold.section {
  padding-top: 0;
}

.section-subtitle {
  font-size: var(--text-2xl);
  text-align: center;
  margin-bottom: 0; /* Remove bottom margin - spacing controlled by next element */
  margin-top: 0.6rem; /* 20% of original space-6 (3rem) - reduced by 80% */
  font-weight: 600;
  color: var(--color-text);
}

.section-intro {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem; /* 80% of mobile hero title (2.25rem / 36px) */
  }
  
  .section-intro {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }
}

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

.nav {
  position: sticky;
  top: 0;
  background: rgba(167, 218, 255, 0.20);
  backdrop-filter: blur(8px);
  border-bottom: none;
  z-index: 1000;
  height: var(--nav-height);
  overflow: visible;
  width: 100%;
  max-width: 100vw;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.nav-logo-image {
  height: auto;
  width: 14.4vw;
  min-width: 80px;
  max-width: 240px;
  display: block;
  position: relative;
  top: 32.5px;
  margin-bottom: 32.5px;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: #87ade8;
  font-weight: 700;
  font-size: 1.15rem;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius);
  transition: all var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-3);
  }
  
  .nav-logo {
    font-size: var(--text-base);
  }
  
  .nav-menu {
    gap: var(--space-3);
  }
  
  .nav-menu a {
    font-size: var(--text-sm);
    padding: var(--space-1);
  }
}

@media (max-width: 640px) {
  .nav-menu {
    gap: var(--space-2);
  }
}

@media (max-width: 480px) {
  .nav-menu {
    gap: var(--space-1);
  }
  
  .nav-menu a {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .nav-container {
    padding: 0 var(--space-2);
  }
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-2);
}

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

.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
}

@media (max-width: 768px) {
  .btn {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-base);
  }
}

/* Call button with hover text reveal */
.btn--call {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 280px;
}

@media (max-width: 480px) {
  .btn--call {
    min-width: 200px;
  }
}

.btn--call .btn__label {
  grid-area: 1 / 1; /* Both labels occupy same grid cell */
  transition: opacity 180ms ease;
  pointer-events: none;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .btn--call .btn__label {
    transition: none;
  }
}

/* Default label is visible by default */
.btn--call .btn__label--default {
  opacity: 1;
}

/* Hover label is hidden by default */
.btn--call .btn__label--hover {
  opacity: 0;
}

/* On hover or focus: swap visibility */
.btn--call:hover .btn__label--default,
.btn--call:focus-visible .btn__label--default {
  opacity: 0 !important;
}

.btn--call:hover .btn__label--hover,
.btn--call:focus-visible .btn__label--hover {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Mobile: reduce min-width */
@media (max-width: 768px) {
  .btn--call {
    min-width: 240px;
  }
}

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

.hero {
  padding: calc(var(--space-16) + var(--nav-height)) var(--space-4) var(--space-16);
  text-align: center;
  background: transparent;
  position: relative;
}

/* Remove focus outline on programmatically focused hero */
.hero:focus {
  outline: none;
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 700;
  margin-bottom: 1.4rem; /* 70% of original space-4 (2rem) - 30% closer */
  color: var(--color-text);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  max-width: 650px;
  margin: 0 auto var(--space-4);
  line-height: 1.6;
}

.hero-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: var(--text-xl);
  padding: var(--space-4) var(--space-8);
  position: relative;
  min-height: 44px; /* Ensure sufficient tap target size */
  min-width: 44px;
}

/* Mobile: Show "Call Us" text */
.hero-cta-mobile {
  display: inline;
}

.hero-cta-desktop {
  display: none;
}

/* Mobile: Disable hover/active effects on tel: links */
@media (max-width: 768px) {
  .hero-cta.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: none;
    box-shadow: none;
    color: white;
  }
  
  .hero-cta.btn-primary:active {
    transform: none;
    background-color: var(--color-primary);
    color: white;
  }
  
  .hero-cta.btn-primary:focus {
    color: white;
  }
  
  .hero-cta.btn-primary:visited {
    color: white;
  }
}

/* Desktop: Show phone number with em dash, enable clipboard copy */
@media (min-width: 769px) {
  .hero-cta {
    pointer-events: auto;
    cursor: pointer;
  }
  
  .hero-cta-mobile {
    display: none;
  }
  
  .hero-cta-desktop {
    display: inline;
  }
}

/* Clipboard copy feedback tooltip */
.hero-cta::after {
  content: attr(data-copied);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--color-text);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius);
  font-size: var(--text-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero-cta.copied::after {
  opacity: 1;
}

.hero .btn {
  margin-top: var(--space-2);
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--space-10) + var(--nav-height)) var(--space-3) var(--space-10);
  }
  
  .hero-eyebrow {
    font-size: var(--text-xs);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-5);
  }
  
  .hero .btn {
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-6);
  }
}

/* ============================================
   STEPS / HOW IT WORKS SECTION
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.step-card {
  text-align: center;
  padding: var(--space-6);
}

.step-image {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-4);
  background: var(--color-primary-light);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
}

.step-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.step-card p {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .step-image {
    width: 100px;
    height: 100px;
  }
  
  .step-number {
    font-size: var(--text-3xl);
  }
}

/* ============================================
   HOW IT WORKS - 4 STEP GRID (Fluff & Fold)
   ============================================ */

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: 0;
  list-style: none;
  padding: 0;
}

.how-it-works-step {
  text-align: center;
  padding: var(--space-4);
}

.step-circle {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-4);
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.step-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.step-description {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Tablet: 2 columns x 2 rows */
@media (max-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* Mobile: 1 column stacked */
@media (max-width: 640px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .step-circle {
    width: 140px;
    height: 140px;
  }
  
  .step-title {
    font-size: var(--text-lg);
  }
  
  .step-description {
    font-size: var(--text-sm);
  }
}

/* ============================================
   PRICING SECTION (within Fluff & Fold)
   ============================================ */

.pricing-section {
  max-width: 900px;
  margin: var(--space-12) auto 0;
  padding: var(--space-8);
  background: var(--color-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.pricing-heading {
  font-size: var(--text-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-6);
}

/* Main Price (left column) */
.pricing-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-alt) 100%);
  border-radius: var(--border-radius-lg);
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.price-amount {
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-unit {
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text-light);
}

.price-minimum {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Additional Items (right column) */
.pricing-additional {
  padding: var(--space-4);
}

.pricing-subheading {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.pricing-list {
  margin: 0;
  padding: 0;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-light);
}

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

.pricing-item dt {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 500;
}

.pricing-item dd {
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 600;
  margin: 0;
}

/* Service Area Note */
.pricing-note {
  text-align: center;
  margin-top: var(--space-6);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.pricing-badge {
  display: block;
  color: var(--color-primary);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-text {
  font-size: var(--text-base);
  color: var(--color-text-light);
  margin: 0;
}

/* Mobile: Stack pricing grid */
@media (max-width: 768px) {
  .pricing-section {
    padding: var(--space-6);
    margin-top: var(--space-8);
  }
  
  .pricing-heading {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .price-amount {
    font-size: var(--text-5xl);
  }
}

/* ============================================
   MEDIA + TEXT LAYOUT (Self Service Section)
   ============================================ */

.media-text-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-8);
}

.media-column {
  position: relative;
}

.media-image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--color-border-light);
}

.media-image {
  width: 120%;
  height: 120%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: translate(-10%, -10%);
}

.text-column {
  padding: var(--space-4);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6) 0;
}

.feature-list li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-xl);
}

.feature-closing {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

/* Mobile: Stack layout */
@media (max-width: 968px) {
  .media-text-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .media-image-container {
    aspect-ratio: 16 / 9;
  }
  
  .text-column {
    padding: var(--space-2) 0;
  }
  
  .feature-list li {
    font-size: var(--text-base);
    padding-left: var(--space-5);
  }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg);
  padding: var(--space-8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  text-align: center;
  border: 1px solid var(--color-border-light);
}

.price-large {
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.price-unit {
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-light);
}

.price-details {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.pricing-details {
  text-align: left;
  margin: var(--space-6) 0;
  padding: var(--space-6);
  background: var(--color-bg-alt);
  border-radius: var(--border-radius);
}

.pricing-details h4 {
  font-size: var(--text-lg);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.pricing-details h4:first-child {
  margin-top: 0;
}

.pricing-details ul {
  list-style: none;
  padding: 0;
}

.pricing-details li {
  padding: var(--space-1) 0;
  color: var(--color-text-light);
  font-size: var(--text-base);
}

.pricing-card .btn {
  margin-top: var(--space-4);
  width: 100%;
  max-width: 300px;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: var(--space-6);
  }
  
  .price-large {
    font-size: var(--text-5xl);
  }
  
  .pricing-details {
    padding: var(--space-4);
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.testimonial-card {
  background: var(--color-bg);
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-4);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

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

/* ============================================
   LOCATION / FIND US SECTION - GOOGLE MAP
   ============================================ */

#location .section-intro {
  margin-bottom: 0;
  line-height: 1.2;
}

.location-address {
  margin-top: 0.25rem;
  margin-bottom: var(--space-8);
  line-height: 1.2;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: var(--space-8) auto 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  display: block;
}

.map-link-container {
  text-align: center;
  margin-top: var(--space-6);
}

.map-link {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  transition: background var(--transition);
}

.map-link:hover {
  background: var(--color-primary-dark);
}

/* Responsive map height */
@media (max-width: 768px) {
  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .map-container iframe {
    height: 300px;
  }
}

/* ============================================
   FAQ SECTION - ACCORDION PATTERN
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: var(--space-8) auto 0;
}

.faq-item {
  margin-bottom: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item:focus-within {
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}

/* Question Button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: inherit;
  line-height: 1.5;
  transition: background-color var(--transition), color var(--transition);
}

.faq-question:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.faq-question:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  background-color: var(--color-bg-alt);
}

.faq-question-text {
  flex: 1;
}

/* Plus/Minus Icon */
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

/* Answer Container */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.expanded {
  max-height: 500px;
  padding: 0 var(--space-5) var(--space-5) var(--space-5);
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: var(--text-base);
  line-height: 1.7;
  margin: 0;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    transition: none;
  }
  
  .faq-icon {
    transition: none;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .faq-question {
    padding: var(--space-4);
    font-size: var(--text-base);
  }
  
  .faq-answer.expanded {
    padding: 0 var(--space-4) var(--space-4) var(--space-4);
  }
  
  .faq-icon {
    width: 24px;
    height: 24px;
    font-size: var(--text-xl);
  }
}

/* ============================================
   MEET US SECTION
   ============================================ */

.meet-us-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-10) 0;
}

/* Circular photo container */
.meet-us-photo-container {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-8);
  border-radius: var(--border-radius-full);
  overflow: hidden;
  border: 4px solid white;
  background: white;
  box-shadow: var(--shadow-lg);
}

.meet-us-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%; /* Move focal point down by 20% */
  display: block;
  transform: scale(1.625); /* Zoom in by 62.5% total (1.3 * 1.25) */
}

/* Title */
.meet-us-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.3;
}

/* Main paragraph text */
.meet-us-text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-5);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Tagline */
.meet-us-tagline {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .meet-us-content {
    padding: var(--space-8) 0;
  }
  
  .meet-us-photo-container {
    width: 160px;
    height: 160px;
    margin-bottom: var(--space-6);
    border-width: 3px;
  }
  
  .meet-us-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-5);
  }
  
  .meet-us-text {
    font-size: var(--text-base);
  }
}

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

.footer {
  background: #88a8e8;
  color: white;
  padding: var(--space-4) var(--space-4) var(--space-3);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 0;
}

.footer-logo-image {
  height: auto;
  width: 140px;
  display: block;
}

.footer-brand h3 {
  color: white;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.footer-brand p {
  color: white;
  margin-bottom: 0;
  font-size: var(--text-base);
}

.footer-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: white;
  font-weight: 500;
  font-size: var(--text-base);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
  opacity: 0.8;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.footer-credit {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-2);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit-link:hover {
  color: white;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-3) var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); /* Account for iOS safe areas */
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    gap: var(--space-4);
  }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-full);
  font-size: var(--text-2xl);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), 
              transform var(--transition), background-color var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-xl);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    font-size: var(--text-xl);
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

.mb-0 {
  margin-bottom: 0 !important;
}

/* ============================================
   EDITOR OVERLAY MODE
   (Only active on localhost or with ?edit=1)
   ============================================ */

/* Toggle button (bottom-right corner) */
.editor-toggle {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-full);
  background: var(--color-primary);
  color: white;
  border: 2px solid white;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.editor-toggle:hover {
  background: var(--color-primary-dark);
  transform: scale(1.1);
}

.editor-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.editor-toggle.active {
  background: #10B981;
  border-color: #10B981;
}

/* Overlay styling - only applied when body has .editor-labels-active class */
body.editor-labels-active [data-label] {
  position: relative;
  outline: 2px dashed rgba(74, 144, 226, 0.5);
  outline-offset: 4px;
}

/* Label tag using ::before pseudo-element */
body.editor-labels-active [data-label]::before {
  content: attr(data-label);
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-primary);
  color: white;
  padding: 4px 8px;
  border-radius: var(--border-radius);
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1000;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* Special positioning for nav (sticky element) */
body.editor-labels-active .nav[data-label]::before {
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

/* Adjust outline for nested labeled elements */
body.editor-labels-active [data-label] [data-label] {
  outline-color: rgba(245, 158, 11, 0.5);
}

body.editor-labels-active [data-label] [data-label]::before {
  background: #F59E0B;
}

/* Disable editor labels on button label spans to prevent interference */
body.editor-labels-active .btn__label[data-label] {
  outline: none;
}

body.editor-labels-active .btn__label[data-label]::before {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .editor-toggle {
    width: 44px;
    height: 44px;
    bottom: 70px;
    right: 16px;
    font-size: 18px;
  }
  
  body.editor-labels-active [data-label]::before {
    font-size: 10px;
    padding: 3px 6px;
  }
}

/* ============================================
   BUTTON LABELS (Editor Overlay Mode)
   ============================================ */

/* Button label styling - appears above buttons */
body.editor-labels-active button[data-button-label],
body.editor-labels-active a.btn[data-button-label],
body.editor-labels-active a[role="button"][data-button-label] {
  position: relative;
}

/* Button label tag using ::after pseudo-element */
body.editor-labels-active button[data-button-label]::after,
body.editor-labels-active a.btn[data-button-label]::after,
body.editor-labels-active a[role="button"][data-button-label]::after {
  content: attr(data-button-label);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #8B5CF6;
  color: white;
  padding: 3px 8px;
  border-radius: var(--border-radius);
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10000;
  pointer-events: none;
  box-shadow: var(--shadow);
  white-space: nowrap;
  opacity: 0.95;
}

/* Special styling for FAQ buttons (smaller, positioned better) */
body.editor-labels-active .faq-question[data-button-label]::after {
  font-size: 9px;
  padding: 2px 6px;
  left: 12px;
  transform: none;
  background: #EC4899;
}

/* Back to top button label adjustment */
body.editor-labels-active .back-to-top[data-button-label]::after {
  bottom: calc(100% + 8px);
  background: #10B981;
}

/* Ensure labels don't interfere with button interactions */
body.editor-labels-active button[data-button-label]:hover::after,
body.editor-labels-active a.btn[data-button-label]:hover::after {
  opacity: 1;
}

/* Mobile adjustments for button labels */
@media (max-width: 768px) {
  body.editor-labels-active button[data-button-label]::after,
  body.editor-labels-active a.btn[data-button-label]::after {
    font-size: 9px;
    padding: 2px 6px;
  }
  
  body.editor-labels-active .faq-question[data-button-label]::after {
    font-size: 8px;
  }
}
