/*
  Graceful Living Home Plus - Main Stylesheet
  A warm, accessible, residential design for adult care home
  No frameworks - hand-crafted vanilla CSS
*/

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

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a2332;
  background-color: #F9F8F6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1a2332;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: #34495e;
}

a {
  color: #5a7a91;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: #3d5a6f;
  text-decoration: underline;
}

/* ==========================================================================
   COLORS
   ========================================================================== */

:root {
  --color-primary: #4a6741;
  --color-primary-dark: #3a5234;
  --color-accent: #c4704b;
  --color-accent-light: #d4896b;
  --color-accent-dark: #a85a3a;
  --color-sage: #7d9a73;
  --color-sage-light: #e8efe6;
  --color-text: #1a2332;
  --color-text-secondary: #4a5568;
  --color-text-light: #6b7280;
  --color-bg: #F9F8F6;
  --color-bg-light: #f3f1ed;
  --color-bg-dark: #e8e6e1;
  --color-bg-white: #ffffff;
  --color-border: #d4d1cc;
  --color-success: #5a8a5e;
  --color-error: #c44d4d;
  --color-warning: #d4a24c;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
}

/* Spacing utilities */
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.mt-xl { margin-top: 3rem; }

.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-xl { margin-bottom: 3rem; }

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

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

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

.site-header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-text {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo-img {
  height: 110px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-img {
    height: 75px;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

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

.menu-icon::before { top: -8px; }
.menu-icon::after { bottom: -8px; }

.main-nav {}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom-color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-link-cta {
  background: var(--color-accent);
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 50px;
  border-bottom: 2px solid transparent !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(196, 112, 75, 0.3);
  transition: all 0.2s ease;
}

.nav-link-cta:hover,
.nav-link-cta:focus {
  background: var(--color-accent-dark);
  border-bottom-color: transparent !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 112, 75, 0.4);
}

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-link:hover,
  .nav-link:focus,
  .nav-link.active {
    border-bottom-color: transparent;
    border-left-color: var(--color-primary);
    background: var(--color-bg-light);
  }

  .nav-link-cta {
    margin: 0.5rem 1.5rem;
    text-align: center;
  }
}

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

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

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* General image rounding */
.section img:not(.hero-image img):not(.logo-img) {
  border-radius: var(--border-radius);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(58, 90, 113, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 2rem 0;
  width: 100%;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

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

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

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

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

.btn-primary:hover,
.btn-primary:focus {
  background: #a07956;
  border-color: #a07956;
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  color: white;
}

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

.btn-outline:hover,
.btn-outline:focus {
  background: var(--color-primary);
  color: white;
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 4rem 0;
}

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

.page-header {
  background: linear-gradient(135deg, #5a7a91 0%, #3a5a71 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  color: white;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   GRIDS
   ========================================================================== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-bg-white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-sage);
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--color-bg-white);
  border-left: 4px solid var(--color-sage);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.service-note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.amenity-card {
  padding: 1.5rem;
  background: var(--color-bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.amenity-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* ==========================================================================
   CHECKLISTS
   ========================================================================== */

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  list-style: none;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.checklist-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-sage);
}

/* Print checklist */
.checklist-printable {
  background: white;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.checklist-print-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--color-primary);
}

.checklist-section-title {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.checklist-subsection-title {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.checklist-print {
  list-style: none;
  margin-left: 0;
}

.checklist-print li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.checklist-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
  text-align: center;
}

/* ==========================================================================
   LISTS
   ========================================================================== */

.styled-list {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.styled-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

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

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.contact-link {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-detail-note {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
}

.map-container {
  border-radius: 4px;
  overflow: hidden;
}

.map-placeholder {
  background: var(--color-bg-light);
  text-align: center;
}

.map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

.map-link {
  display: block;
  padding: 1rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
}

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

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.required {
  color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

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

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #66bb6a;
}

.form-status.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
}

.form-fallback {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   MENUS & ACTIVITIES
   ========================================================================== */

.menu-sample {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-meal {
  padding: 1.5rem;
  background: white;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.menu-meal-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
}

.menu-items {
  list-style: none;
}

.menu-items li {
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.menu-items li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.menu-note {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.activities-schedule {
  display: grid;
  gap: 1.5rem;
}

.activity-day {
  padding: 1.5rem;
  background: white;
  border-radius: 4px;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.activity-day-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.activity-list {
  list-style: none;
}

.activity-list li {
  padding: 0.5rem 0;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   HOME GALLERY
   ========================================================================== */

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

.gallery-item {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin: 1rem 1.5rem 0.5rem;
}

.gallery-item p {
  margin: 0 1.5rem 1.5rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

.process-steps {
  display: grid;
  gap: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   TEAM
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-light);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   PHILOSOPHY PRINCIPLES
   ========================================================================== */

.philosophy-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.principle-card {
  padding: 1.5rem;
  background: var(--color-sage-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--color-sage);
}

.principle-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.faq-question {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

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

.faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   CTA SECTIONS
   ========================================================================== */

.cta-section {
  background: linear-gradient(135deg, #5a7a91 0%, #3a5a71 100%);
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

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

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

.site-footer {
  background: #2c3e50;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

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

.footer-heading {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-address {
  font-style: normal;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-address a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-legal-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: white;
  text-decoration: underline;
}

/* ==========================================================================
   LEGAL CONTENT
   ========================================================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
}

.contact-box {
  padding: 1.5rem;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px;
}

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

.content-layout {
  display: grid;
  gap: 3rem;
}

.content-main {}

/* ==========================================================================
   ANIMATIONS (Reduced-motion friendly)
   ========================================================================== */

.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

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

@media print {
  .no-print,
  .site-header,
  .site-footer,
  .hero-actions,
  .cta-actions,
  .nav-list,
  .menu-toggle {
    display: none !important;
  }

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

  a {
    color: #000;
    text-decoration: underline;
  }

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }

  .checklist-printable,
  .service-card,
  .process-step {
    page-break-inside: avoid;
  }

  .section {
    padding: 1rem 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}

/* ==========================================================================
   FOCUS STATES (Accessibility)
   ========================================================================== */

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   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;
}

.contact-quick {
  padding: 1.5rem;
  background: var(--color-sage-light);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--color-sage);
}

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

.testimonials-section {
  background: var(--color-sage-light);
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: var(--color-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.testimonial-quote-icon svg {
  width: 20px;
  height: 20px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-top: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.testimonial-relation {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.contact-quick p {
  margin-bottom: 0.75rem;
}

.print-intro {
  margin-bottom: 2rem;
}

.print-section {}

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

.checklist-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto;
}
