/* ============================================
   SENIOR SITTERS - STYLES.CSS
   Warm, Professional Senior Companion Care
   ============================================ */

/* =========================
   COLOR VARIABLES
   ========================= */

:root {
  /* Core Colors */
  --color-bg: #F8F4EC;
  --color-surface: #FFFDF8;
  --color-surface-soft: #EAF4FA;
  
  /* Brand Colors */
  --color-primary: #2F6F9F;
  --color-primary-dark: #1F4E73;
  --color-navy: #173B57;
  --color-accent: #8FAF9D;
  --color-sand: #D8C3A5;
  --color-peach: #F3D8C7;
  
  /* Text Colors */
  --color-text: #243447;
  --color-muted: #667085;
  
  /* Borders & Shadows */
  --color-border: rgba(36, 52, 71, 0.12);
  --color-shadow: rgba(36, 52, 71, 0.12);
  
  /* Status Colors */
  --color-success: #22c55e;
  --color-error: #dc2626;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

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

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

html {
  scroll-behavior: smooth;
  /* Optimize scrolling performance */
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Performance optimizations */
* {
  /* Enable hardware acceleration for transforms */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Optimize animations */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Scroll performance optimizations */
body {
  /* Reduce paint on scroll */
  contain: layout style paint;
}

/* Optimize all images for crisp, clear quality */
img {
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  height: auto;
  display: block;
  /* High-quality rendering for all images */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Support for high-DPI displays */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent blur and improve sharpness */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Ensure proper image scaling */
  object-fit: contain;
}

/* Retina display support for high-DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    /* Ensure sharp rendering on retina displays */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Prevent pixelation on high-DPI */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Reduce backdrop-filter usage for better performance */
@media (max-width: 768px) {
  .hero-copy-card,
  .trust-mini-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p {
  margin-bottom: 1rem;
}

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

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

img {
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Focus States for Accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

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

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

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

.header-shell {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: 0;
  padding: 0 24px;
  box-shadow: 0 4px 20px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  height: 82px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
  /* Ensure logo maintains aspect ratio and doesn't stretch */
  max-width: 100%;
  height: auto;
  /* Optimize logo rendering for crisp display */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-phone {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 12px rgba(47, 111, 159, 0.3);
  /* Optimize animation */
  will-change: transform, box-shadow;
}


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

.hero-video-section {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  isolation: isolate;
  background: #173B57;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 1;
  /* Optimize video quality and performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  pointer-events: none;
  /* Ensure high-quality video rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  /* Smooth video playback */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(23, 59, 87, 0.82) 0%,
      rgba(23, 59, 87, 0.55) 42%,
      rgba(23, 59, 87, 0.22) 100%
    );
}

.hero-video-inner {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-copy-card {
  max-width: 560px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  /* Optimize backdrop-filter for better performance */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
}

.hero-copy-card .eyebrow {
  color: #2F6F9F;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.hero-copy-card h1 {
  color: #173B57;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  max-width: 9.5ch;
}

.hero-copy-card p {
  color: #243447;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 430px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 13px 22px;
  font-size: 0.95rem;
}

.hero-trust-stack {
  display: grid;
  gap: 18px;
  align-self: end;
  margin-bottom: 40px;
}

.trust-mini-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  /* Optimize backdrop-filter for better performance */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  /* Hardware acceleration */
  will-change: transform;
  transform: translateZ(0);
}

.trust-mini-card strong {
  display: block;
  color: #173B57;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.trust-mini-card span {
  display: block;
  color: #40566B;
  line-height: 1.6;
}

.btn-light {
  background: rgba(255, 253, 248, 0.9);
  color: #173B57;
  border: 1px solid rgba(23, 59, 87, 0.18);
}

.btn-light:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .header-shell {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    border-radius: 0;
    padding: 0;
  }

  .site-header {
    min-height: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .brand-logo {
    width: 145px;
    height: auto;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #FFFDF8;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 18px 35px rgba(36, 52, 71, 0.14);
    padding: 10px 18px 18px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 14px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(36, 52, 71, 0.08);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-actions > .btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #FFFDF8;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;

  }

  .hero-video-inner {
    grid-template-columns: 1fr;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .hero-trust-stack {
    margin-bottom: 0;
  }
}

@media (min-width: 901px) {
  .mobile-nav-toggle {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-video-section,
  .hero-video-inner {
    min-height: auto;
  }

  .hero-video-inner {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .hero-copy-card {
    border-radius: 24px;
  }

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

  .hero-buttons .btn {
    width: 100%;
  }
}

/* =========================
   SPLIT CARE SECTION
   ========================= */

.split-care-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-care-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 22px 60px rgba(36, 52, 71, 0.14);
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.split-care-content h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  color: var(--color-navy);
  margin: 10px 0 18px;
}

.split-care-content p {
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.simple-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.simple-check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
}

.simple-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================
   PHOTO REASON GRID
   ========================= */

.photo-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.photo-reason-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(36, 52, 71, 0.08);
}

.photo-reason-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.photo-reason-card h3 {
  margin: 22px 22px 8px;
  color: var(--color-navy);
}

.photo-reason-card p {
  margin: 0 22px 24px;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .split-care-section,
  .photo-reason-grid {
    grid-template-columns: 1fr;
  }

  .split-care-image img {
    min-height: 320px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  min-height: 48px;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 6px 20px rgba(47, 111, 159, 0.3);
  color: white;
  /* Optimize animation */
  will-change: transform, box-shadow;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-soft);
  border-color: var(--color-primary);
  color: var(--color-text);
}

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

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

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

.section {
  padding: 24px 0;
}

.section-sm {
  padding: 14px 0;
}

.section-lg {
  padding: 38px 0;
}

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

.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 14px;
}

.section-intro h1,
.section-intro h2 {
  margin-bottom: 8px;
}

.section-intro p,
.section-subtext {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
}

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

.section-subtext {
  max-width: 640px;
  margin: 6px auto 0;
  color: var(--color-muted);
}

/* Section Backgrounds */
.section-cream {
  background: var(--color-bg);
}

.section-ivory {
  background: var(--color-surface);
}

.section-creme {
  background: #F8F4EC;
}

.section-sky {
  background: var(--color-surface-soft);
}

/* Decorative Circles */
.has-decorations {
  position: relative;
}

.has-decorations::before,
.has-decorations::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.has-decorations::before {
  width: 400px;
  height: 400px;
  background: var(--color-peach);
  top: -100px;
  left: -100px;
}

.has-decorations::after {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  bottom: 0;
  right: -50px;
}

/* =========================
   CARDS & GRIDS
   ========================= */

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

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 12px 32px var(--color-shadow);
  /* Optimize animation */
  will-change: transform, box-shadow;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.feature-card p {
  color: var(--color-muted);
  margin: 0;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.career-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 30px var(--color-shadow);
}

.career-card h3 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--color-navy);
}

.career-card-copy {
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.75;
}

.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.career-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.6;
}

.career-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.career-note {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

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

/* Service Cards */
.services-grid,
.features-grid,
.packages-grid,
.help-grid,
.trust-grid,
.how-it-works-grid,
.transportation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.service-card,
.feature-card,
.package-card,
.help-card,
.trust-card,
.transportation-card,
.how-step,
.scope-container {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.25s ease;
}

.service-card:hover,
.feature-card:hover,
.package-card:hover,
.help-card:hover,
.trust-card:hover {
  transform: translateY(-3px) translateZ(0);
  box-shadow: 0 8px 18px var(--color-shadow);
  /* Optimize animation */
  will-change: transform, box-shadow;
}

.service-icon,
.package-icon,
.value-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.service-card h3,
.feature-card h3,
.package-card h3,
.help-card h3,
.trust-card h3,
.transportation-card h3,
.how-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.service-card p,
.feature-card p,
.package-card p,
.help-card p,
.trust-card p,
.how-step p,
.scope-container p {
  font-size: 0.86rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.package-list,
.career-list,
.simple-check-list,
.included-list,
.notes-list,
.scope-list {
  margin-bottom: 10px;
  gap: 4px;
}

.package-list li,
.career-list li,
.included-list li,
.notes-list li,
.scope-list li {
  font-size: 0.82rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.btn {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

/* Package Cards */
.packages-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  align-items: center;
}

.packages-grid.packages-grid-compact {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.packages-grid.packages-grid-compact .compact-package {
  width: 100%;
}

.package-row {
  display: grid;
  gap: 14px;
  width: 100%;
}

.package-row-3 {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  max-width: 1160px;
}

.package-row-2 {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  max-width: 800px;
}

@media (max-width: 960px) {
  .package-row-3,
  .package-row-2 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.package-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px;
  transition: all 0.25s ease;
}

.package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px var(--color-shadow);
}

.package-card.featured-package {
  border: 1px solid var(--color-primary);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
}

.package-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.package-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.package-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.package-minimum {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.package-card > p {
  font-size: 0.86rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  gap: 4px;
}

.package-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.package-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.package-card .btn {
  width: 100%;
  text-align: center;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.84rem;
}

.package-note {
  text-align: center;
  max-width: 700px;
  margin: 20px auto 0;
  padding: 12px 14px;
  background: var(--color-surface-soft);
  border-radius: 16px;
  font-size: 0.86rem;
  color: var(--color-muted);
}

.package-note p {
  margin: 0;
}

.travel-note {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 10px 0 12px;
  font-style: italic;
}

/* Transportation & Outing Details */
.transportation-container {
  max-width: 960px;
  margin: 0 auto;
}

.transportation-container h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.transportation-intro {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.transportation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.transportation-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
}

.transportation-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-weight: 600;
}

.fee-item,
.included-list li,
.notes-list li {
  padding: 6px 0;
}

.included-list li,
.notes-list li {
  font-size: 0.82rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.fee-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.fee-label {
  font-weight: 500;
  color: var(--color-text);
}

.fee-amount {
  font-weight: 600;
  color: var(--color-primary);
}

.included-list,
.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included-list li,
.notes-list li {
  padding: 6px 0;
  color: var(--color-muted);
  position: relative;
  padding-left: 20px;
}

.included-list li:before,
.notes-list li:before {
  content: "✓";
  color: var(--color-success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.notes-list li:before {
  content: "ℹ";
  color: var(--color-primary);
}

/* How It Works */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.how-step {
  text-align: center;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 10px;
}

.how-step h3 {
  font-size: 1rem;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.how-step p {
  font-size: 0.86rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.35;
}

/* Service Scope */
.scope-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 16px;
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.scope-container h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.scope-container > p {
  font-size: 0.86rem;
  color: var(--color-text);
  margin-bottom: 10px;
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.scope-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.25;
  margin-bottom: 4px;
}

.scope-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--color-primary);
  font-weight: 600;
}

.scope-closing {
  font-size: 0.95rem;
  color: var(--color-muted);
  font-style: italic;
  margin: 0;
}

/* Help Cards */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.help-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all 0.3s ease;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--color-shadow);
}

.help-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.help-card p {
  color: var(--color-muted);
  margin: 0;
}

/* Trust Cards */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--color-shadow);
}

.trust-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.trust-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.trust-card p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Photo Cards */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.photo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--color-shadow);
}

.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--color-surface-soft);
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.photo-card-content {
  padding: 24px;
}

.photo-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.photo-card p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

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

.form-section {
  padding: 80px 0;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 8px 32px var(--color-shadow);
  max-width: 720px;
  margin: 0 auto;
}

.form-card h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 32px;
}

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

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

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-field label .required {
  color: var(--color-error);
  margin-left: 4px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  font-size: 1rem;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
}

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

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.schedule-fields {
  display: flex;
  gap: 12px;
  align-items: center;
}

.schedule-fields select,
.schedule-fields input {
  flex: 1;
}

@media (max-width: 767px) {
  .schedule-fields {
    flex-direction: column;
    gap: 8px;
  }
  
  .transportation-grid {
    grid-template-columns: 1fr;
  }
}

.char-counter {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: right;
  margin-top: 6px;
}

.form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.form-disclaimer {
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 24px 0;
}

.form-disclaimer strong {
  color: var(--color-text);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 48px;
  animation: fadeIn 0.4s ease;
}

.form-success h3 {
  font-size: 1.75rem;
  color: var(--color-success);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--color-muted);
  margin: 0;
}

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

/* Input Error */
.input-error {
  border-color: var(--color-error) !important;
}

.field-error-text {
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 6px;
  display: block;
}

/* =========================
   ELIGIBILITY GUIDANCE
   ========================= */

.eligibility-guidance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.guidance-card {
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid;
}

.guidance-card.eligible {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}

.guidance-card.eligible h3 {
  color: #166534;
}

.guidance-card.eligible ul {
  color: #15803d;
}

.guidance-card.referral {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fcd34d;
}

.guidance-card.referral h3 {
  color: #92400e;
}

.guidance-card.referral ul {
  color: #b45309;
}

.guidance-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guidance-card ul {
  padding-left: 20px;
  line-height: 1.9;
}

/* =========================
   CAREERS
   ========================= */

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.requirement-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.requirement-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.requirement-card p {
  color: var(--color-muted);
  margin: 0;
  line-height: 1.7;
}

/* =========================
   ABOUT PAGE
   ========================= */

.about-hero {
  padding: 32px 0 24px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface-soft) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}

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

.about-image img {
  width: 100%;
  max-width: 420px;
  height: 380px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px var(--color-shadow);
  background: var(--color-surface-soft);
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Values Section */
.values-section {
  padding: 44px 0;
  background: var(--color-surface);
}

.values-section h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin-bottom: 24px;
}

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

.value-card {
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--color-shadow);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--color-muted);
  margin: 0;
}

/* =========================
   CONTACT PAGE
   ========================= */

.contact-hero {
  padding: 32px 0 24px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 10px;
}

.contact-hero .lead {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 8px 32px var(--color-shadow);
}

.contact-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

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

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.info-card p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.contact-info-card p {
  color: var(--color-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

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

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.contact-method p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.9rem;
}

.info-card a {
  color: var(--color-primary);
}

.info-card a:hover {
  text-decoration: underline;
}

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

.site-footer {
  background: var(--color-navy);
  color: var(--color-surface);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-surface);
  margin-bottom: 16px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-section h4 {
  color: var(--color-surface);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--color-surface);
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-disclaimer strong {
  color: var(--color-surface);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* =========================
   FINAL CTA
   ========================= */

.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =========================
   RESPONSIVE STYLES
   ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .senior-hero {
    min-height: 560px;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0;
  }
  
  .hero-card {
    padding: 36px;
  }
  
  .hero-trust-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .trust-mini-card {
    flex: 1 1 200px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container,
  .page-wrapper {
    padding: 0 16px;
  }
  
  .header-shell {
    margin: 12px 0;
    padding: 0 16px;
  }
  
  .site-header {
    min-height: 64px;
  }
  
  .brand-text {
    font-size: 1.3rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 8px 24px var(--color-shadow);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-phone {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .senior-hero {
    min-height: 320px;
    border-radius: var(--radius-lg);
  }
  
  .hero-card {
    padding: 28px;
  }
  
  .hero-card h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
  }
  
  .hero-card p {
    font-size: 1rem;
  }
  
  .hero-trust-grid {
    flex-direction: column;
  }
  
  .trust-mini-card {
    flex: none;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-intro {
    margin-bottom: 40px;
  }
  
  .form-card {
    padding: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .services-grid,
  .help-grid,
  .trust-grid,
  .photo-grid,
  .values-grid,
  .requirements-grid,
  .eligibility-guidance {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Small Mobile */
@media (max-width: 479px) {
  .senior-hero {
    min-height: 480px;
  }
  
  .hero-card {
    padding: 24px;
  }
  
  .hero-card h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .form-card {
    padding: 20px;
  }
  
  .service-card,
  .feature-card {
    padding: 24px;
  }
}

/* =========================
   HEADER SHELL
   ========================= */

.header-shell {
  background: var(--color-surface);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  margin: 20px 0;
  padding: 0 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 20px;
  z-index: 1000;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  transform: none;
}

.nav-cta {
  flex-shrink: 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-link {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 111, 159, 0.22);
}

.nav-phone {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  margin-left: 16px;
  margin-right: 24px;
}

.nav-phone:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}


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

.hero-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0.95), rgba(238, 246, 251, 0.95)),
    url('assets/images/hero-care.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  margin-bottom: 40px;
  padding: 60px 0;
  box-shadow: 0 18px 50px rgba(36, 52, 71, 0.12);
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(248, 245, 239, 0.94), rgba(238, 246, 251, 0.82));
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.05;
  color: var(--deep-blue, var(--color-text));
}

.hero-content h1 .emerald {
  color: var(--color-primary);
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--color-text);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(36, 52, 71, 0.12);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.hero-panel .container {
  position: relative;
  z-index: 2;
}

.hero-cta-section {
  padding: 0 0 60px;
}

.hero-cta-card {
  max-width: 1100px;
  margin: -40px auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(36, 52, 71, 0.08);
  padding: 28px;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-cta-buttons .btn {
  flex: 1 1 180px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-card strong {
  color: var(--deep-blue);
  font-size: 1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.care-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.care-photo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(36, 52, 71, 0.08);
}

.care-photo-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.care-photo-card h3 {
  margin: 20px 20px 10px;
  font-size: 1.2rem;
  color: var(--color-text);
}

.care-photo-card p {
  margin: 0 20px 20px;
  color: var(--color-muted);
  line-height: 1.7;
}

.who-we-help-section {
  padding: 80px 0;
  background: var(--color-surface);
}

.who-we-help-section h2,
.trust-safety-section h2,
.gallery-section h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  color: var(--color-text);
}

.who-we-help-section .section-subtext,
.trust-safety-section .section-subtext,
.gallery-section .section-subtext {
  color: var(--color-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.who-we-help-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.help-card,
.trust-card {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(36, 52, 71, 0.06);
}

.help-card h3,
.trust-card h3 {
  margin-bottom: 14px;
  color: var(--color-text);
}

.help-card p,
.trust-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.trust-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--color-primary);
  color: var(--color-surface);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.gallery-item {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(36, 52, 71, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  display: block;
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  /* Optimize image rendering for clarity */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Ensure smooth scaling */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Hardware acceleration for better performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.partner-strip-section {
  padding: 60px 0 80px;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(36, 52, 71, 0.08);
}

.partner-logo {
  max-width: 120px;
  opacity: 0.9;
}

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 60px 0 40px;
  font-size: 0.95rem;
  text-align: left;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 12px;
  color: var(--color-surface);
}

.footer-section p,
.footer-section li {
  margin: 6px 0;
  color: var(--color-footer-muted);
}

.footer-section a {
  color: var(--color-footer-link);
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 22px;
  color: var(--color-footer-muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 10px 0;
}

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

  .hero-panel {
    padding: 40px 0;
  }

  .hero-cta-card {
    padding: 24px;
  }

  .hero-cta-section {
    padding-top: 24px;
  }
}

@media (max-width: 767px) {
  .hero-panel {
    border-radius: 20px;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header {
    grid-template-columns: 1fr;
    row-gap: 14px;
    text-align: center;
  }

  .nav-phone,
  .nav-cta {
    margin: 0 auto;
  }

  .hero-cta-buttons {
    flex-direction: column;
  }

  .benefit-grid,
  .care-photos-grid,
  .who-we-help-grid,
  .trust-grid,
  .gallery-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-card,
  .help-card,
  .trust-card,
  .gallery-item,
  .care-photo-card {
    min-height: auto;
  }
}

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

.section {
  padding: 18px 0;
}

.features-section {
  margin-bottom: 40px;
}

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

.feature-card {
  background: var(--color-surface);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--color-shadow);
}

.feature-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--color-muted);
}

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

.section-subtext {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-services {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}

.section-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0.98) 0%, rgba(248, 245, 239, 0.99) 100%);
  pointer-events: none;
}

.section-services .container {
  position: relative;
  z-index: 1;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  position: relative;
}

.services-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.2));
}

.featured-column,
.standard-column {
  display: grid;
  gap: 2rem;
}

.service-card {
  background: var(--color-surface);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  box-shadow: 0 4px 16px var(--color-shadow);
  padding: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(47, 111, 159, 0.03) 0%,
    rgba(255,255,255,0) 18%,
    rgba(255,255,255,0.00) 45%
  );
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at top center,
    rgba(47, 111, 159, 0.04),
    transparent 55%
  );
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--color-shadow);
}

.service-card h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-card > p:not(.service-price) {
  color: var(--color-muted);
  line-height: 1.8;
  margin: 0 0 24px;
  flex: 1;
}

.service-price {
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 28px;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-actions .btn {
  flex: 1 1 40px;
  min-width: 40px;
  padding: 10px 10px;
  font-size: 0.9rem;
}

.btn-secondary {
  background: var(--color-surface-soft);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

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

.service-card--tiered .card-actions {
  margin-top: 0;
}

.tier-list {
  margin-top: 32px;
  padding: 24px;
  background: var(--color-surface-soft);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.tier-heading {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--color-muted);
}

.tier-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.tier-item--last {
  border-bottom: none;
}

.tier-item--last {
  border-bottom: none;
}

.tier-name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.tier-text {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.btn-tier {
  padding: 8px 12px;
  font-size: 0.85rem;
}

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

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

.section-hero,
.page-hero,
.contact-hero,
.about-hero {
  padding: 24px 0 16px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 24px;
  line-height: 1.1;
  color: var(--color-text);
}

.hero-content h2 {
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 32px;
  line-height: 1.3;
  color: var(--color-muted);
  max-width: 600px;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.headshot {
  width: 100%;
  max-width: 350px;
  height: 400px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--color-shadow);
  border: 2px solid var(--color-border);
}

.section-about-me {
  padding: 80px 0;
  background: var(--color-bg);
}

.section-about-me h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 48px;
  text-align: center;
  color: var(--color-text);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-muted);
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.section-differentiators {
  padding: 100px 0;
  background: var(--color-surface);
}

.section-differentiators h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 64px;
  text-align: center;
  color: var(--color-text);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.differentiator-card {
  background: var(--color-surface-soft);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px var(--color-shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.differentiator-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px var(--color-shadow);
  background: var(--color-surface);
}

.differentiator-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.differentiator-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--color-text);
}

.differentiator-card p {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.section-visual {
  padding: 100px 0;
  background: var(--color-bg);
}

.visual-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.visual-image {
  display: flex;
  justify-content: center;
}

.workspace-image {
  width: 100%;
  max-width: 350px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 32px var(--color-shadow);
  border: 1px solid var(--color-border);
}

.visual-content h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--color-text);
}

.visual-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 24px;
}

.visual-content p:last-child {
  margin-bottom: 0;
}

.section-approach {
  padding: 100px 0;
  background: var(--color-surface);
}

.section-approach h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 64px;
  text-align: center;
  color: var(--color-text);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.approach-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.approach-number {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(47, 111, 159, 0.3);
}

.approach-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--color-text);
}

.approach-item p {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.section-expectations {
  padding: 100px 0;
  background: var(--color-bg);
}

.section-expectations h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 0 48px;
  text-align: center;
  color: var(--color-text);
}

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

.expectations-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 48px;
  text-align: center;
}

.expectations-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.expectation-item {
  background: var(--color-surface-soft);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.expectation-item:hover {
  background: var(--color-surface);
  transform: translateY(-2px);
}

.expectation-item strong {
  color: var(--color-text);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.expectation-item {
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.section-final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
  text-align: center;
}

.section-final-cta h2 {
  font-size: 2.8rem;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--color-text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-final-cta p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0 0 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   RESPONSIVE - ABOUT
   ========================= */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .visual-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .differentiators-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .expectations-list {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CASE STUDIES
   ========================= */

.analysis-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin: 32px 0;
}

.analysis-block {
  background: var(--color-surface);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.analysis-block h4 {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.analysis-block ul {
  margin-left: 20px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.kpi-card {
  background: var(--color-surface);
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform 0.2s;
}

.kpi-card:hover {
  transform: translateY(-4px);
}

.kpi-card h4 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.kpi-card p {
  font-size: 14px;
  color: var(--color-muted);
}

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

.contact-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact-hero .lead {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 550px;
  margin-bottom: 0;
}

.contact-section {
  padding: 60px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-card {
  background: var(--color-surface);
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 4px 12px var(--color-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--color-border);
}

.contact-form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-shadow);
}

.contact-form h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--color-text);
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  margin-bottom: 14px;
  width: 100%;
}

.required-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.12);
}

.form-field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  resize: none;
}

.form-field select {
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--color-text);
}

.form-field select option {
  color: var(--color-text);
  background: var(--color-surface);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

.form-actions {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

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

.info-card {
  background: var(--color-surface-soft);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1px solid var(--color-border);
}

.info-card h4 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.info-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

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

.info-card a:hover {
  text-decoration: underline;
}

.char-counter {
  font-size: 0.8rem;
  margin-top: 6px;
  text-align: right;
  color: var(--color-muted);
}

.input-error {
  border: 2px solid #dc2626 !important;
}

.field-error-text {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 6px;
  display: block;
}

.form-success {
  padding: 30px;
  background: var(--color-surface-soft);
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.4s ease;
  border: 1px solid var(--color-border);
}

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

/* =========================
   PHONE SECTION
   ========================= */

.section-phone {
  padding: 40px 20px;
  text-align: center;
}

.phone-callout {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin: 0;
}

.phone-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.phone-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.section-phone-small {
  padding: 20px 20px;
  text-align: center;
}

.phone-small {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

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

.site-footer {
  background: #1F4E73;
  color: #e5e7eb;
  padding: 40px 0 20px;
  font-size: 14px;
  text-align: center;
}

/* =========================
   RESPONSIVE BREAKPOINTS
   ========================= */

/* Extra Large Desktop (1600px+) */
@media (min-width: 1600px) {
  .page-wrapper {
    width: min(90vw, 1800px);
  }

  .container {
    width: min(88%, 1600px);
  }

  .hero-panel .container {
    padding: 0 100px;
    min-height: 600px;
  }

  .hero-content h1 {
    font-size: clamp(3.5rem, 4vw, 5rem);
  }

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

/* Large Desktop (1440px - 1599px) */
@media (min-width: 1440px) and (max-width: 1599px) {
  .hero-panel .container {
    padding: 0 80px;
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: clamp(3.3rem, 4.2vw, 4.8rem);
  }

  .hero-content {
    max-width: 650px;
  }
}

/* Large Desktop (1024px - 1439px) */
@media (max-width: 1439px) {
  .hero-panel .container {
    padding: 0 60px;
    min-height: 480px;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  }

  .hero-content {
    max-width: 580px;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .page-wrapper {
    width: min(98vw, 1200px);
    padding: 0 15px;
  }

  .container {
    width: min(96%, 1100px);
    padding: 0 15px;
  }

  .header-shell {
    margin: 15px 0;
    padding: 0 15px;
  }

  .nav-links {
    gap: 20px;
    transform: translateX(-20px);
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .nav-phone {
    font-size: 0.85rem;
    margin-left: 12px;
    margin-right: 16px;
  }

  .hero-panel .container {
    padding: 0 40px;
    min-height: 420px;
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section {
    padding: 50px 0;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .feature-card {
    padding: 28px;
  }

  .feature-card h3 {
    font-size: 1.4rem;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 28px;
  }

  .tier-list {
    gap: 20px;
  }

  .about-grid {
    gap: 40px;
  }

  .analysis-compare {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }

  .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
  }

  .contact-form-card {
    padding: 24px;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Mobile Landscape (480px - 767px) */
@media (max-width: 767px) {
  .page-wrapper {
    padding: 0 10px;
  }

  .container {
    padding: 0 10px;
  }

  .header-shell {
    margin: 10px 0;
    padding: 0 10px;
  }

  .site-header {
    height: 60px;
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    gap: 12px;
    transform: translateX(0);
    justify-content: flex-end;
    margin-right: 10px;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .nav-phone {
    display: none; /* Hide phone on small mobile to save space */
  }

  .logo {
    height: 32px;
  }

  .hero-panel {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    margin-bottom: 30px;
  }

  .hero-panel .container {
    padding: 0;
    min-height: auto;
  }

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

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-visual {
    height: 180px;
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section-intro h1 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-card h3 {
    font-size: 1.3rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 10px;
  }

  .service-card h3 {
    font-size: 1.4rem;
  }

  .tier-list {
    gap: 16px;
  }

  .tier-item {
    padding: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-text p {
  max-width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 24px;
  }

  .analysis-compare {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .analysis-block {
    padding: 20px;
  }

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

  .kpi-card {
    padding: 20px;
  }

  .kpi-card h4 {
    font-size: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-card {
    padding: 20px;
  }

  .contact-form h2 {
    font-size: 1.2rem;
  }

  .info-card {
    padding: 16px;
  }

  .card-actions {
    flex-direction: column;
    gap: 12px;
  }

  .card-actions .btn {
    width: 100%;
    padding: 12px 10px;
    font-size: 1rem;
  }

  .btn {
    min-height: 44px; /* Touch-friendly buttons */
    padding: 12px 24px;
  }

  .section-phone {
    padding: 25px 10px;
  }

  .phone-callout {
    font-size: 0.95rem;
  }

  .section-phone-small {
    padding: 15px 10px;
  }

  .phone-small {
    font-size: 0.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
  .page-wrapper {
    padding: 0 8px;
  }

  .container {
    padding: 0 8px;
  }

  .header-shell {
    margin: 8px 0;
    padding: 0 8px;
  }

  .site-header {
    min-height: 56px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .nav-cta {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .hero-panel {
    padding: 25px 15px;
    gap: 25px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-visual {
    height: 150px;
  }

  .section {
    padding: 60px 0;
  }

  .section-intro h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .features-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 20px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .tier-item {
    padding: 14px;
  }

  .tier-name {
    font-size: 0.95rem;
  }

  .tier-text {
    font-size: 0.9rem;
  }

  .btn-tier {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .about-grid {
    gap: 25px;
  }

  .values-grid {
    gap: 12px;
  }

  .value-card {
    padding: 20px;
  }

  .value-card h3 {
    font-size: 1.2rem;
  }

  .analysis-compare {
    gap: 16px;
  }

  .analysis-block {
    padding: 16px;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kpi-card {
    padding: 16px;
  }

  .kpi-card h4 {
    font-size: 20px;
  }

  .contact-form-card {
    padding: 16px;
  }

  .contact-form h2 {
    font-size: 1.1rem;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 12px;
    font-size: 1rem;
  }

  .info-card {
    padding: 14px;
  }

  .info-card h4 {
    font-size: 0.95rem;
  }

  .btn {
    padding: 14px 20px;
    font-size: 1rem;
    min-height: 48px; /* Extra touch-friendly on very small screens */
  }

  .footer-content {
    gap: 20px;
  }

  .footer-section h3,
  .footer-section h4 {
    font-size: 1.1rem;
  }
}

/* =========================
   RESPONSIVE UTILITIES
   ========================= */

/* Ensure images are always responsive */

/* =========================
   LEGAL PAGES
   ========================= */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.legal-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 48px;
  padding: 24px;
  background: linear-gradient(135deg, var(--color-surface-soft) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 1.6rem;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.legal-section p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 20px;
}

.legal-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.7;
}

.legal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.legal-contact {
  background: var(--color-surface-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 16px;
  border-left: 4px solid var(--color-accent);
}

.legal-contact p {
  margin: 8px 0;
  color: var(--color-text);
}

.legal-contact a {
  color: var(--color-primary);
  font-weight: 500;
}

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

.disclaimer-prominent {
  background: linear-gradient(135deg, #fff3cd 0%, #fffbea 100%);
  border: 2px solid #ffc107;
  border-radius: var(--radius-md);
  padding: 32px !important;
}

.disclaimer-prominent h2 {
  color: #d39e00;
  border-color: #ffc107;
}

.disclaimer-prominent p,
.disclaimer-prominent li {
  color: #664d03;
}

.disclaimer-prominent ul {
  margin-bottom: 16px;
}

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

.footer-trust-line {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 24px 0 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-surface);
  text-decoration: underline;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* =========================
   FORM CHECKBOX - LEGAL AGREEMENT
   ========================= */

.form-field-checkbox {
  margin: 28px 0 32px;
  padding: 20px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.checkbox-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-agreement input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  accent-color: var(--color-primary);
  cursor: pointer;
  margin-top: 2px;
}

.checkbox-agreement span {
  color: var(--color-text);
  flex: 1;
}

.checkbox-agreement a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.checkbox-agreement a:hover {
  text-decoration: underline;
}

.checkbox-agreement .required {
  color: var(--color-error);
  margin-left: 4px;
}

/* Checkbox error state */
.form-field-checkbox.has-error {
  border-color: var(--color-error);
  background: rgba(220, 38, 38, 0.05);
}

.checkbox-error-text {
  color: var(--color-error);
  font-size: 0.85rem;
  margin-top: 8px;
  display: block;
}

/* =========================
   RESPONSIVE - LEGAL PAGES
   ========================= */

@media (max-width: 767px) {
  .legal-content {
    padding: 20px 0;
  }

  .legal-section {
    margin-bottom: 32px;
  }

  .legal-section h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .legal-intro {
    padding: 16px;
    font-size: 1rem;
  }

  .legal-list li {
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .legal-contact {
    padding: 16px;
  }

  .disclaimer-prominent {
    padding: 20px !important;
  }

  .footer-trust-line {
    font-size: 0.85rem;
    margin: 16px 0 12px;
  }

  .footer-legal {
    gap: 8px;
    font-size: 0.85rem;
  }

  .footer-legal a,
  .footer-legal-divider {
    font-size: 0.85rem;
  }

  .form-field-checkbox {
    padding: 16px;
    margin: 20px 0 24px;
  }

  .checkbox-agreement {
    font-size: 0.9rem;
  }

  .checkbox-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 560px) {
  .legal-section h2 {
    font-size: 1.15rem;
  }

  .legal-intro {
    border-left-width: 3px;
  }

  .disclaimer-prominent {
    border-width: 1px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 6px;
  }

  .footer-legal-divider {
    display: none;
  }

  .form-field-checkbox {
    padding: 12px;
  }
}
img {
  height: auto;
}

button,
.btn,
a[role="button"],
input[type="submit"],
input[type="button"] {
  min-height: 44px;
  min-width: 44px;
}

/* Better text readability on small screens */
@media (max-width: 767px) {
  body {
    font-size: 16px; /* Prevent zoom on iOS */
    line-height: 1.5;
  }

  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }
}
  .page-wrapper {
    padding: 0 10px;
  }

  .header-shell {
    margin: 10px 0;
    padding: 0 10px;
  }

  .site-header {
    height: 60px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .nav-phone {
    font-size: 0.8rem;
    margin-left: 8px;
    margin-right: 12px;
  }

  .logo {
    height: 32px;
  }

  .hero-panel {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    height: 200px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .case-study-section h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .analysis-compare {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-card {
    padding: 20px;
  }

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

  .card-actions .btn {
    width: 100%;
  }

  .section-phone {
    padding: 30px 20px;
  }

  .phone-callout {
    font-size: 1rem;
  }

  .section-phone-small {
    padding: 15px 20px;
  }

/* =========================
   RESPONSIVE UTILITIES
   ========================= */

/* Ensure images are always responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal overflow */
* {
  max-width: 100%;
}

/* Touch-friendly interactive elements */
button,
.btn,
a[role="button"],
input[type="submit"],
input[type="button"] {
  min-height: 44px;
  min-width: 44px;
}

/* Better text readability on small screens */
@media (max-width: 767px) {
  body {
    font-size: 16px; /* Prevent zoom on iOS */
    line-height: 1.5;
  }

  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }

  /* Improve form usability on mobile */
  .form-field input,
  .form-field textarea,
  .form-field select {
    border-radius: 8px;
    border: 2px solid var(--color-border);
    background: var(--color-surface-soft);
    color: var(--color-text);
    font-size: 16px; /* Prevent zoom on iOS */
    transition: border-color 0.2s;
  }

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

  /* Ensure buttons are clearly tappable */
  .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn:hover {
    transform: translateY(-1px);
  }

  .btn:active {
    transform: translateY(0);
  }
}
body.no-scroll {
  height: 100vh;
  overflow: hidden;
}

body.no-scroll main,
body.no-scroll section {
  overflow: visible;
}

body.no-scroll .contact-hero {
  padding: 12px 0 4px;
}

body.no-scroll .contact-hero-text h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

body.no-scroll .contact-hero .lead {
  font-size: 0.95rem;
  max-width: 520px;
}

/* =========================
   TRANSPORTATION REDESIGN
   ========================= */

.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.pricing-tier-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-tier-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(47, 111, 159, 0.15);
  transform: translateY(-4px);
}

.pricing-tier-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pricing-tier-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.pricing-tier-distance {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-tier-detail {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* Callout Boxes */
.callout-box {
  background: linear-gradient(135deg, var(--color-surface-soft) 0%, rgba(234, 244, 250, 0.5) 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout-box.important {
  background: linear-gradient(135deg, rgba(247, 144, 113, 0.1) 0%, rgba(255, 193, 7, 0.08) 100%);
  border-left-color: #f39c12;
}

.callout-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.callout-box p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.65;
  margin: 0;
}

.callout-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.callout-box li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--color-text);
}

.callout-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Icon Checklist */
.icon-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.icon-checklist-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  align-items: flex-start;
}

.icon-checklist-item::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.icon-checklist-text {
  flex: 1;
}

.icon-checklist-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.icon-checklist-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* Expense Breakdown Grid */
.expense-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.expense-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.expense-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.expense-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.expense-list {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  list-style: none;
  padding: 0;
}

.expense-list li {
  padding: 4px 0;
}

.expense-list li::before {
  content: "•";
  margin-right: 6px;
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================
   FAQ ACCORDION REDESIGN
   ========================= */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.faq-accordion-item {
  background: #F7F7F5;
  border: 1px solid #D8DEE6;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 24px rgba(33, 50, 66, 0.06);
}

.faq-accordion-item:hover {
  transform: translateY(-2px);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(33, 50, 66, 0.08);
}

.faq-accordion-item.active {
  border-color: var(--color-primary);
}

.faq-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  border: none;
  background: transparent;
  color: var(--color-navy);
  text-align: left;
}

.faq-accordion-header:hover,
.faq-accordion-header:focus-visible {
  background: rgba(47, 111, 159, 0.04);
  outline: none;
}

.faq-accordion-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF5FB;
  border-radius: 12px;
  color: var(--color-primary);
}

.faq-accordion-title-section {
  flex: 1;
}

.faq-accordion-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.4;
}

.faq-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-toggle {
  transform: rotate(180deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-accordion-item.active .faq-accordion-content {
  max-height: 900px;
  padding: 0 24px 20px;
}

.faq-accordion-text {
  font-size: 0.98rem;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0;
}

.faq-accordion-text strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */

@media (max-width: 767px) {
  .pricing-tier-grid {
    grid-template-columns: 1fr;
  }

  .expense-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .icon-checklist {
    grid-template-columns: 1fr;
  }

  .faq-accordion-header {
    padding: 16px 20px;
  }

  .faq-accordion-title {
    font-size: 0.95rem;
  }

  .pricing-tier-amount {
    font-size: 1.6rem;
  }

  .callout-box {
    padding: 16px 20px;
    margin: 20px 0;
  }
}

body.no-scroll .contact-grid {
  gap: 14px;
  grid-template-columns: 1fr 0.95fr;
  max-width: 980px;
  padding-bottom: 12px;
}

body.no-scroll .contact-form-card {
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.04);
}

body.no-scroll .contact-form h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

body.no-scroll .form-field input,
body.no-scroll .form-field textarea,
body.no-scroll .form-field select {
  padding: 8px 10px;
  font-size: 0.95rem;
}

body.no-scroll #messageBox {
  height: 160px;
  max-height: 160px;
}

body.no-scroll .site-footer {
  position: relative;
  z-index: 10;
}

/* =========================
   APP-STYLE WIDTH OVERRIDES
   ========================= */

.page-wrapper {
  width: min(96vw, 1600px);
  margin: 18px auto 0;
}

.container {
  width: min(94%, 1450px);
  margin: 0 auto;
}

.header-shell {
  width: 100%;
  margin: 0 auto 18px;
}

.contact-hero {
  padding: 10px 0 0;
}

.contact-hero-text h1 {
  margin: 0 0 6px;
  font-size: 2.2rem;
}

.contact-hero .lead {
  margin: 0;
}

.contact-section {
  padding: 18px 20px 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-top: 0;
  transform: translateY(-10px);
}

.contact-form-card,
.info-card {
  width: 100%;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0A0F0E;
}

/* Background image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0.35; /* controls intensity */
  z-index: 0;
}

/* Content sits above image */
.hero-panel .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 480px;
}

/* Left text */
.hero-content {
  max-width: 520px;
}

/* Optional: dark overlay for readability */
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,15,14,0.9) 0%,
    rgba(10,15,14,0.7) 40%,
    rgba(10,15,14,0.3) 70%,
    rgba(10,15,14,0.1) 100%
  );
  z-index: 1;
}

.header-shell {
  margin-bottom: 14px;
}


.logo {
  height: 70px;
  width: auto;
}

.hero-panel .container {
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 0 84px;
}

.hero-content {
  max-width: 620px;
  --offset-x: 0px;
  transform: translate(var(--offset-x),-18px);
}

.hero-content h1 {
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 0 28px;
}

.features-section {
  padding-top: 34px;
}

.page-wrapper {
  width: min(96vw, 1600px);
  margin: 16px auto;
}

.container {
  width: min(94%, 1400px);
  margin: 0 auto;
}

.header-shell {
  width: 100%;
  margin-bottom: 16px;
}

.case-hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, rgba(7, 11, 10, 0.96), rgba(7, 11, 10, 0.82)),
    url('assets/images/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
}

.case-hero .hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.case-hero .eyebrow,
.section-intro .eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.03;
  margin-bottom: 18px;
}

.case-hero .hero-copy,
.case-details-panel p,
.case-section p {
  color: var(--color-muted);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.85;
}

.case-grid-section .section-intro {
  text-align: center;
  margin-bottom: 44px;
}

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

.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 4px 12px var(--color-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--color-shadow);
}

.case-label {
  display: inline-flex;
  padding: 8px 14px;
  background: var(--color-surface-soft);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.case-card h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--color-text);
}

.case-card p {
  color: var(--color-muted);
  margin-bottom: 22px;
  line-height: 1.8;
}

.case-metrics {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.case-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.case-metric::before {
  content: '•';
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tag-pill,
.tool-pill {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--color-surface-soft);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.86rem;
  line-height: 1.3;
  border: 1px solid var(--color-border);
}

.case-card .btn {
  width: auto;
}

.case-details {
  margin: 0 auto;
  max-width: 1200px;
}

.case-details-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 32px;
}

.case-details-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 34px;
}

.case-details-panel h2 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--color-text);
}

.case-details-panel .case-summary {
  margin-bottom: 28px;
}

.case-section {
  margin-top: 30px;
}

.case-section h3 {
  margin-bottom: 16px;
  color: var(--color-text);
  font-size: 1rem;
}

.case-section ul {
  padding-left: 22px;
  margin: 0;
  list-style: disc;
  color: var(--color-muted);
}

.case-section ul li {
  margin-bottom: 12px;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.visual-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.comparison-card {
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 24px;
}

.comparison-card h4 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.comparison-card p {
  margin: 14px 0 0;
  color: var(--color-muted);
  line-height: 1.85;
}

.case-bottom-cta {
  text-align: center;
  padding: 56px 0 28px;
}

.case-bottom-cta h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
}

.case-bottom-cta .btn {
  padding: 14px 32px;
}

@media (max-width: 1023px) {
  .case-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .case-hero {
    padding: 60px 0 40px;
  }

  .case-grid {
    gap: 18px;
  }

  .case-card {
    padding: 24px;
  }

  .case-details-panel {
    padding: 26px;
  }

  .case-bottom-cta {
    padding: 40px 0 18px;
  }
}

.section-intro {
  padding-top: 20px;
  padding-bottom: 10px;
}

.section {
  padding-top: 30px;
}

.section-divider {
  margin: 60px 0;
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.section-cta {
  text-align: center;
}

.section-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.site-footer {
  background: #303833;
  color: #e5e7eb;
  padding: 40px 0 20px;
  font-size: 14px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-section p,
.footer-section li {
  margin: 5px 0;
}

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

.footer-section a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 15px;
  font-size: 13px;
}
.section {
  backdrop-filter: blur(2px);
}
/*About*/
.about-highlight {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}
.credentials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;

  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);

  margin-top: 2rem;
}

.credentials-row span {
  position: relative;
}

.credentials-row span::after {
  content: "•";
  margin-left: 1rem;
  color: rgba(255,255,255,0.3);
}

.credentials-row span:last-child::after {
  content: "";
}

/* =========================
   ABOUT PAGE STYLES
   ========================= */

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.founder-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(36, 52, 71, 0.1);
}

.founder-image {
  width: 250px;
  height: 200px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-primary);
  background: var(--color-surface-soft);
  /* Optimize container for better image display */
  position: relative;
  /* Ensure proper scaling */
  max-width: 100%;
  /* Add subtle shadow for depth */
  box-shadow: 0 4px 12px rgba(47, 111, 159, 0.15);
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Prevent stretching and maintain aspect ratio */
  max-width: 100%;
  height: auto;
  /* Ensure high-quality rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* Smooth font rendering for any text overlays */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent blur and improve sharpness */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.founder-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface-soft);
  border-radius: 50%;
}

/* Responsive optimizations for founder images */
@media (max-width: 768px) {
  .founder-image {
    width: 250px;
    height: 200px;
  }
  
  .founder-image img {
    /* Maintain natural clarity on smaller screens */
    image-rendering: auto;
    filter: none;
  }
}

@media (max-width: 480px) {
  .founder-image {
    width: 250px;
    height: 200px;
  }
}

.founder-card h3 {
  margin-bottom: 4px;
  font-size: 1.4rem;
  font-weight: 600;
}

.founder-title {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.founder-bio {
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.founder-achievements {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 240px;
  margin: 0 auto;
}

.founder-achievements li {
  padding: 4px 0;
  color: var(--color-text);
  font-size: 0.9rem;
  position: relative;
  padding-left: 16px;
}

.founder-achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 0.8rem;
}

.mission-content {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.mission-content h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.mission-content p {
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 1rem;
}

.trust-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-value {
  text-align: center;
  padding: 20px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: transform 0.2s;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust-value:hover {
  transform: translateY(-2px);
}

.trust-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}

.trust-value h4 {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 600;
}

.trust-value p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-only {
  display: none;
}

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

  .header-shell {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-surface);
    border-radius: 0;
    padding: 0;
  }

  .site-header {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }

  .brand-logo {
    width: 145px;
    height: auto;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 18px 35px rgba(36, 52, 71, 0.14);
    padding: 10px 18px 18px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 14px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(36, 52, 71, 0.08);
    color: var(--color-muted);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--color-primary);
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-nav-toggle:hover {
    background: var(--color-surface-soft);
    border-color: var(--color-primary);
  }

  .mobile-nav-toggle span {
    background: var(--color-navy);
  }
}

