/* Edmonds Villa - Healthcare Theme */

:root {
  /* Colors - Warm Healthcare Palette */
  --color-primary: #1e6b5c;
  --color-primary-dark: #155347;
  --color-primary-light: #2a8f7a;
  --color-secondary: #e07c4c;
  --color-secondary-dark: #c4623a;
  
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-text-muted: #718096;
  
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-bg-warm: #faf8f5;
  
  --color-border: #e2e8f0;
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Layout */
  --max-width: 1200px;
  --border-radius: 8px;
}

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

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: var(--font-size-4xl); margin-bottom: var(--space-6); }
h2 { font-size: var(--font-size-3xl); margin-bottom: var(--space-4); margin-top: var(--space-12); }
h3 { font-size: var(--font-size-2xl); margin-bottom: var(--space-3); margin-top: var(--space-8); }
h4 { font-size: var(--font-size-xl); margin-bottom: var(--space-2); margin-top: var(--space-6); }

p {
  margin-bottom: var(--space-4);
}

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

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

ul, ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
}

/* Header */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  background: var(--color-primary);
  color: white;
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
}

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

.header-tagline {
  opacity: 0.9;
}

.header-phone {
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}

.header-phone:hover {
  color: white;
  text-decoration: none;
  opacity: 0.9;
}

.nav {
  padding: var(--space-4) 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Center items vertically */
  min-height: 72px; /* Match logo height for consistent alignment */
}

.nav-logo {
  display: flex;
  align-items: center; /* Center logo image and text vertically */
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-primary);
  height: 72px; /* Match logo height for vertical alignment */
}

.nav-logo:hover {
  text-decoration: none;
  color: var(--color-primary-dark);
}

.logo-image {
  height: 72px; /* 20% larger than 60px */
  width: auto;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-left: var(--space-3);
  line-height: 1; /* Prevent extra line height */
}

@media (max-width: 768px) {
  .logo-image {
    height: 58px; /* 20% larger than 48px */
  }
  
  .logo-text {
    font-size: var(--font-size-xl);
  }
}

.nav-menu {
  display: flex;
  align-items: center; /* Center navigation links vertically */
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-6);
  margin: 10px 0 0 0; /* 10px top margin for horizontal alignment with logo text */
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
  background-color: #f5f5f5; /* Light grey background hover effect */
  border-radius: 4px;
}

/* Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5; /* Light grey background hover effect */
  color: var(--color-primary);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-toggle::after {
    content: '▶';
    margin-left: auto;
  }
  
  .dropdown-menu {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    padding-left: var(--space-4);
    background: rgba(0, 0, 0, 0.02);
  }
  
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
}

.nav-cta {
  background: var(--color-secondary);
  color: white !important;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--color-secondary-dark);
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-content {
    min-height: 58px; /* Match mobile logo height */
  }
  
  .nav-logo {
    height: 58px; /* Match mobile logo height */
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    gap: var(--space-4);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0; /* Remove gap for dropdown structure */
    margin: 0; /* Reset top margin for mobile column layout */
  }
  
  .nav-links > li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: var(--space-3) var(--space-4);
    border-radius: 4px;
  }
  
  .nav-links a:hover {
    background-color: #f5f5f5;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .header-tagline {
    display: none;
  }
}

/* Main Content */
.main {
  min-height: 60vh;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: var(--space-20) var(--space-4);
  text-align: center;
}

.hero h1 {
  color: white;
  max-width: 800px;
  margin: 0 auto var(--space-6);
}

.hero .lead {
  font-size: var(--font-size-xl);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto var(--space-8);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: var(--color-secondary-dark);
  color: white;
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--color-bg-alt);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
}

/* Content Sections */
.section {
  padding: var(--space-16) var(--space-4);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-warm {
  background: var(--color-bg-warm);
}

.section h2 {
  text-align: center;
  margin-top: 0;
}

.section-lead {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Service Cards - Entire card is clickable */
.service-card {
  display: block;
  background: white;
  padding: var(--space-6);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
}

.service-card h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.service-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
}

.service-card .card-link {
  display: inline-block;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.2s;
}

.service-card:hover .card-link {
  color: var(--color-primary-dark);
}

/* Features List */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature {
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
}

.feature h3 {
  margin-top: 0;
}

/* Content Page */
.content-page {
  padding: var(--space-12) var(--space-4);
}

.content-page .container {
  max-width: 800px;
}

.content-page h1 {
  text-align: center;
  margin-bottom: var(--space-8);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.faq-item p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
  color: white;
  padding: var(--space-16) var(--space-4);
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-top: 0;
}

.cta-section p {
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: white;
  padding: var(--space-12) 0 var(--space-6);
}

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

.footer-section h4 {
  color: white;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: rgba(255,255,255,0.8);
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255,255,255,0.8);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.footer-map {
  margin-bottom: var(--space-8);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: var(--font-size-sm);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-family: var(--font-sans);
}

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

/* Locations Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Location Cards - Entire card is clickable */
.location-card {
  display: block;
  background: white;
  padding: var(--space-4);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.location-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.location-card h3 {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }

/* ================================
   HOMEPAGE REDESIGN V2
   ================================ */

/* Hero Home */
.hero-home {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e6b5c 0%, #155347 50%, #0d3830 100%);
  overflow: hidden;
}

.hero-home {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(30, 107, 92, 0.8) 0%, rgba(13, 56, 48, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: white;
  padding: var(--space-16) var(--space-4);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-2) var(--space-4);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-home h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  color: white;
}

.hero-lead {
  font-size: var(--font-size-xl);
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-home .hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

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

/* Trust Bar */
.trust-bar {
  background: white;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-icon {
  font-size: 1.5rem;
}

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

/* Section Labels */
.section-label {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-top: var(--space-2);
}

/* Welcome Section */
.welcome-section {
  padding: var(--space-20) 0;
}

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

.welcome-content h2 {
  font-size: var(--font-size-4xl);
  margin-top: var(--space-2);
  margin-bottom: var(--space-6);
}

.lead-text {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.welcome-image {
  position: relative;
}

.image-frame {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, #e8e4df 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.image-placeholder span {
  font-size: 4rem;
  margin-bottom: var(--space-4);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--color-secondary);
  color: white;
  padding: var(--space-6);
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(224, 124, 76, 0.3);
}

.exp-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: var(--font-size-sm);
  line-height: 1.3;
}

/* Services Section */
.services-section {
  background: var(--color-bg-alt);
  padding: var(--space-20) 0;
}

.services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-showcase-card {
  background: white;
  padding: var(--space-8);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  display: block;
}

.service-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: var(--color-primary-light);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.service-showcase-card h3 {
  color: var(--color-text);
  font-size: var(--font-size-xl);
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.service-showcase-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.service-link {
  color: var(--color-primary);
  font-weight: 600;
}

.service-showcase-card:hover .service-link {
  color: var(--color-primary-dark);
}

/* Why Section */
.why-section {
  padding: var(--space-20) 0;
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.why-content h2 {
  font-size: var(--font-size-4xl);
  margin-top: var(--space-2);
  margin-bottom: var(--space-8);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.why-feature {
  display: flex;
  gap: var(--space-6);
}

.feature-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary-light);
  opacity: 0.5;
  min-width: 50px;
}

.feature-content h4 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--font-size-lg);
  color: var(--color-text);
}

.feature-content p {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-4);
  height: 500px;
}

.grid-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.grid-image.large {
  grid-row: span 2;
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--color-bg-warm);
  padding: var(--space-20) 0;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-icon {
  font-size: 6rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-card blockquote {
  margin: 0;
  padding: var(--space-8) 0;
}

.testimonial-card blockquote p {
  font-size: var(--font-size-2xl);
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
}

.testimonial-author {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Location Section */
.location-section {
  padding: var(--space-20) 0;
  background: white;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.location-card-new {
  background: var(--color-bg-alt);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--border-radius);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid var(--color-border);
}

.location-card-new:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.address-bar {
  text-align: center;
  color: var(--color-text-light);
}

/* FAQ Section */
.faq-section {
  background: var(--color-bg-alt);
  padding: var(--space-20) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.faq-card {
  background: white;
  padding: var(--space-6);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.faq-card h3 {
  font-size: var(--font-size-lg);
  margin: 0 0 var(--space-3) 0;
  color: var(--color-text);
}

.faq-card p {
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* CTA Section New */
.cta-section-new {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-16) 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  color: white;
}

.cta-content h2 {
  color: white;
  margin-top: 0;
  font-size: var(--font-size-3xl);
}

.cta-content p {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
}

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

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

.btn-white:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-home {
    min-height: 70vh;
  }
  
  .hero-home h1 {
    font-size: 2.25rem;
  }
  
  .trust-items {
    gap: var(--space-6);
  }
  
  .welcome-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .services-showcase {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-badge {
    bottom: -20px;
    right: 20px;
  }
  
  .image-grid {
    height: 400px;
  }
}

/* ==========================================
   ANIMATIONS
   Following UI-GUIDELINES.md best practices
   ========================================== */

/* Scroll-triggered fade-in animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for grid items */
.animate-on-scroll.stagger-1 { transition-delay: 0.1s; }
.animate-on-scroll.stagger-2 { transition-delay: 0.2s; }
.animate-on-scroll.stagger-3 { transition-delay: 0.3s; }
.animate-on-scroll.stagger-4 { transition-delay: 0.4s; }
.animate-on-scroll.stagger-5 { transition-delay: 0.5s; }
.animate-on-scroll.stagger-6 { transition-delay: 0.6s; }

/* Button hover effects - using transform only (GPU accelerated) */
.btn {
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out, color 0.15s ease-out;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.service-showcase-card,
.faq-card,
.location-card-new {
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.service-showcase-card:hover,
.faq-card:hover,
.location-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Trust items - no hover animation (not clickable) */

/* Images - no hover animation (not clickable) */

/* Why features - no hover animation (not clickable) */

/* Hero content animation (plays once on load) */
.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonial - no hover animation (not clickable) */

/* Accessibility: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================
   GALLERY STYLES
   Photo gallery with CSS-only lightbox
   ========================================== */

.gallery-section {
  background: var(--color-bg-alt);
}

.gallery-section:nth-child(odd) {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--color-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

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

.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item label {
  display: block;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item-featured img {
  min-height: 400px;
}

.gallery-item:not(.gallery-item-featured) img {
  height: 200px;
}

.gallery-item figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  background: var(--color-bg);
  line-height: 1.4;
}

.gallery-item-featured figcaption {
  padding: var(--space-4);
  font-size: var(--font-size-base);
}

/* JavaScript Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox--active {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
}

/* Animation classes */
.lightbox__content--exit-left {
  animation: slideOutLeft 0.2s ease forwards;
}

.lightbox__content--exit-right {
  animation: slideOutRight 0.2s ease forwards;
}

.lightbox__content--enter-left {
  animation: slideInLeft 0.3s ease forwards;
}

.lightbox__content--enter-right {
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-50px); opacity: 0; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(50px); opacity: 0; }
}

@keyframes slideInLeft {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav svg {
  width: 28px;
  height: 28px;
}

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

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

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Gallery items - make clickable */
.gallery-item[data-lightbox] {
  cursor: pointer;
}

/* Hide old lightbox elements */
.lightbox-toggle,
.lightbox-overlay {
  display: none !important;
}

/* Gallery description text */
.gallery-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-light);
}

.gallery-description p {
  margin-bottom: 0;
}

/* Gallery responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  
  .gallery-item-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .gallery-item-featured img {
    min-height: 250px;
  }
  
  .gallery-item:not(.gallery-item-featured) img {
    height: 150px;
  }
  
  .gallery-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item-featured {
    grid-column: span 1;
  }
  
  .gallery-item-featured img,
  .gallery-item:not(.gallery-item-featured) img {
    height: 200px;
    min-height: auto;
  }
  
  .gallery-grid-small {
    grid-template-columns: 1fr;
  }
  
  .lightbox__close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
  }
  
  .lightbox__nav {
    width: 48px;
    height: 48px;
  }
  
  .lightbox__nav--prev {
    left: 10px;
  }
  
  .lightbox__nav--next {
    right: 10px;
  }
  
  .lightbox__nav svg {
    width: 24px;
    height: 24px;
  }
  
  .lightbox__counter {
    bottom: 15px;
    font-size: 0.85rem;
  }
}

/* ==========================================
   REVIEWS CAROUSEL
   ========================================== */

.reviews-carousel-section {
  background: var(--color-bg-warm);
  padding: var(--space-8) 0;
}

.reviews-header-stars {
  margin-bottom: var(--space-2);
}

.reviews-carousel-section .section-header {
  margin-bottom: var(--space-4);
}

.reviews-header-stars .star {
  font-size: 1.25rem;
  color: #f59e0b;
  margin: 0 1px;
}

.reviews-carousel {
  max-width: 700px;
  margin: var(--space-4) auto 0;
  position: relative;
}

/* Viewport clips the sliding track */
.reviews-carousel__viewport {
  overflow: hidden;
}

/* Track holds all cards in a row and slides via translateX */
.reviews-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 100%;
  background: white;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.review-stars {
  margin-bottom: var(--space-3);
}

.review-stars .star {
  font-size: 1.25rem;
  margin: 0 1px;
}

.review-stars .star.filled {
  color: #f59e0b;
}

.review-stars .star.empty {
  color: #e2e8f0;
}

.review-text {
  margin: 0 0 var(--space-3) 0;
  padding: 0;
}

.review-text p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--font-size-lg);
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  margin-bottom: var(--space-2);
}

.author-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: var(--font-size-base);
}

.review-verified {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Arrow buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: white;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-arrow:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(30, 107, 92, 0.3);
}

.carousel-arrow--prev {
  left: -22px;
}

.carousel-arrow--next {
  right: -22px;
}

/* Counter (e.g. "3 / 7") */
.reviews-carousel__counter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.carousel-counter-current {
  font-weight: 600;
  color: var(--color-primary);
}

.carousel-counter-sep {
  margin: 0 1px;
}

/* Google badge */
.reviews-google-badge {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Responsive: arrows closer on mobile */
@media (max-width: 768px) {
  .carousel-arrow--prev {
    left: -10px;
  }

  .carousel-arrow--next {
    right: -10px;
  }

  .review-card {
    padding: var(--space-6) var(--space-6);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reviews-carousel__track {
    transition: none;
  }
}
