/* ─── Brand Tokens ─────────────────────────────────────────── */
:root {
  --navy:        #1e2a4a;
  --teal:        #3a8faf;
  --pink:        #e07880;
  --gray-light:  #e6e6e6;
  --white:       #ffffff;
  --body-text:   #444444;
  --muted:       #777777;
  --muted-navy:  #8faec2;

  --font-serif:  'EB Garamond', Georgia, serif;
  --font-sans:   'Inter', Arial, sans-serif;

  --radius-pill: 800px;
  --radius-card: 8px;
  --radius-img:  12px;

  --shadow-card: 0 8px 32px rgba(60,60,60,0.07);
  --shadow-nav:  0 2px 8px rgba(0,0,0,0.06);
  --transition:  all 0.15s ease-in-out;
}

/* ─── Global ────────────────────────────────────────────────── */
html { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.75;
  color: var(--body-text);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: 50px; }
h2 { font-size: 38px; letter-spacing: -0.5px; }
h3 { font-size: 26px; }

a { transition: var(--transition); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-teal,
.btn-pink,
.btn-outline-teal,
.btn-outline-white {
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* ─── Teal (care seeker) — liquid glass ─── */
.btn-teal {
  background: rgba(58, 143, 175, 0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow:
    0 2px 14px rgba(58, 143, 175, 0.50),
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(0,0,0,0.10);
}
.btn-teal:hover {
  background: rgba(47, 122, 153, 0.90);
  color: #fff;
  box-shadow:
    0 4px 22px rgba(58, 143, 175, 0.65),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(0,0,0,0.12);
}

/* ─── Pink (caregiver) — liquid glass ─── */
.btn-pink {
  background: rgba(224, 120, 128, 0.82);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    0 2px 14px rgba(224, 120, 128, 0.50),
    inset 0 1px 0 rgba(255,255,255,0.36),
    inset 0 -1px 0 rgba(0,0,0,0.10);
}
.btn-pink:hover {
  background: rgba(204, 102, 109, 0.90);
  color: #fff;
  box-shadow:
    0 4px 22px rgba(224, 120, 128, 0.65),
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -1px 0 rgba(0,0,0,0.12);
}

/* ─── Outline teal — liquid glass ─── */
.btn-outline-teal {
  background: rgba(58, 143, 175, 0.06);
  color: var(--teal);
  border: 1.5px solid rgba(58, 143, 175, 0.65);
  box-shadow:
    0 2px 8px rgba(58, 143, 175, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.55);
}
.btn-outline-teal:hover {
  background: rgba(58, 143, 175, 0.78);
  color: #fff;
  border-color: rgba(58, 143, 175, 0.80);
  box-shadow:
    0 4px 18px rgba(58, 143, 175, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.38);
}

/* ─── Outline white — liquid glass ─── */
.btn-outline-white {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.32);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.20);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  box-shadow:
    0 4px 18px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.30);
}

/* ─── Button focus states (accessibility) ───────────────────── */
.btn-teal:focus-visible,
.btn-pink:focus-visible,
.btn-outline-teal:focus-visible,
.btn-outline-white:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ─── Button size modifier ───────────────────────────────────── */
.btn-lg-hero {
  font-size: 16px;
  padding: 16px 32px;
}

/* ─── Section Labels ────────────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 10px;
}

/* ─── Section Emblem ────────────────────────────────────────── */
.section-emblem {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  object-fit: contain;
}

/* ─── Section Padding ───────────────────────────────────────── */
.section-pad {
  padding: 72px 0;
}

/* ─── Photo Placeholder ─────────────────────────────────────── */
.photo-placeholder {
  background: #d0e8f0;
  border-radius: var(--radius-img);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 13px;
  font-family: var(--font-sans);
}
.photo-placeholder--pink { background: #f5dfe0; color: var(--pink); }

/* ─── Responsive font scale ─────────────────────────────────── */
@media (max-width: 768px) {
  body   { font-size: 18px; }
  h1     { font-size: 36px; }
  h2     { font-size: 30px; }
  h3     { font-size: 22px; }
  .section-pad    { padding: 48px 0; }
  .section-center { margin-bottom: 32px; }
  .phone-bar      { padding: 28px 0; }
  .services-more  { margin-top: 24px; padding-top: 20px; }
  .caregiver-cta  { margin-top: 28px; }
}

/* ─── Utility Bar ───────────────────────────────────────────── */
.utility-bar {
  background: var(--gray-light);
  padding: 7px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #666;
}

.utility-bar a {
  color: #555;
  text-decoration: none;
}

.utility-bar a:hover { color: var(--navy); }

/* ─── Main Nav ──────────────────────────────────────────────── */
.main-nav {
  background: var(--white);
  box-shadow: var(--shadow-nav);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand-wordmark {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--pink);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #444;
  text-decoration: none;
}

.nav-links a:hover { color: var(--teal); }

.nav-logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ─── Nav-specific button sizing ────────────────────────────── */
.nav-links .btn-teal,
.nav-links .btn-pink {
  padding: 10px 22px;
  font-size: 14px;
}

/* ─── Hamburger button ──────────────────────────────────────── */
.hamburger-btn {
  background: none;
  border: none;
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Animate bars → ✕ when menu is open */
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile nav dropdown panel ─────────────────────────────── */
#navMenu {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.nav-collapse-inner {
  padding: 8px 0 20px;
}

/* ─── Mobile nav collapse links ─────────────────────────────── */
.nav-collapse-link {
  display: block;
  padding: 14px 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s ease;
}

.nav-collapse-link:hover { color: var(--teal); }

.nav-collapse-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 480px;
  background-color: var(--navy);
  background-image: url('../ai-photos/hero-caregiver-senior-warmth.png');
  background-size: cover;
  background-position: 50% 30%;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 74, 0.80);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 18px;
  color: #c8d8e8;
  line-height: 1.7;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .hero { min-height: 360px; padding: 60px 0; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
}

@media (max-width: 575px) {
  .phone-bar-number { font-size: 28px; }
  .phone-bar-pre    { font-size: 14px; }

  /* Hero CTAs — full-width stacked on small screens */
  .hero-content .btn-teal,
  .hero-content .btn-pink {
    display: block;
    text-align: center;
  }

  /* CTA cards — tighter padding */
  .cta-card-dark,
  .cta-card-light  { padding: 32px 24px; }

  /* About teaser — tighter on small screens */
  .about-teaser    { padding: 48px 0; }

  /* Footer bottom — stack vertically */
  .footer-bottom .d-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ─── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--gray-light);
  padding: 18px 0;
}

.trust-bar-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .trust-bar-items { gap: 16px; }
  .trust-item { font-size: 12px; }
}

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials {
  background: var(--white);
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.52) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow:
    0 8px 32px rgba(60,60,60,0.08),
    0 1px 3px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.95);
  padding: 32px 28px;
  height: 100%;
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-attr {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #888;
}

.section-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-center h2 { margin-bottom: 10px; }

.section-center p {
  color: var(--muted);
  font-size: 17px;
}

/* ─── Phone CTA Bar ─────────────────────────────────────────── */
.phone-bar {
  background: var(--teal);
  padding: 40px 0;
  text-align: center;
}

.phone-bar-pre {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

.phone-bar-number {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
  transition: var(--transition);
}

.phone-bar-number:hover { color: rgba(255,255,255,0.85); }

.btn-phone-bar {
  background: rgba(255,255,255,0.82);
  color: var(--teal);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.60);
  box-shadow:
    0 2px 12px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.95);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-phone-bar:hover {
  background: rgba(255,255,255,0.92);
  color: var(--teal);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,1.0);
}

.btn-phone-bar:focus-visible {
  outline: 3px solid rgba(255,255,255,0.8);
  outline-offset: 3px;
}

/* ─── Services Zigzag ───────────────────────────────────────── */
.services {
  background: var(--white);
}

.zigzag-row {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 64px;
}
.zigzag-row--reverse { flex-direction: row-reverse; }

.zigzag-row:last-of-type { margin-bottom: 0; }

.zigzag-text { flex: 1; }
.zigzag-text .section-label { margin-bottom: 12px; }
.zigzag-text h3 { margin-bottom: 14px; }
.zigzag-text p  { font-size: 17px; color: #555; line-height: 1.75; margin-bottom: 20px; }

.zigzag-photo {
  flex: 1;
  height: 240px;
  border-radius: var(--radius-img);
  overflow: hidden;
}

.zigzag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-more {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #eee;
}
.services-more-link { color: var(--teal); font-weight: 700; }

@media (max-width: 768px) {
  .zigzag-row,
  .zigzag-row--reverse {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }
  .zigzag-photo { width: 100%; height: 200px; }
}

/* ─── Caregiver Perks ───────────────────────────────────────── */
.caregiver-perks {
  background: var(--gray-light);
}
.perks-grid { max-width: 960px; margin-inline: auto; }

.perk-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.46) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.06),
    0 1px 2px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,1.0);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
}

.perk-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.perk-label {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.perk-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.caregiver-perks .section-center { margin-bottom: 40px; }
.caregiver-cta { text-align: center; margin-top: 40px; }

/* ─── About Teaser ──────────────────────────────────────────── */
.about-teaser {
  background: var(--navy);
  padding: 80px 0;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius-img);
  display: block;
  object-fit: cover;
}

.about-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 14px;
}

.about-teaser h2 {
  color: #fff;
  margin-bottom: 18px;
}

.about-teaser p {
  font-size: 17px;
  color: var(--muted-navy);
  line-height: 1.75;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .about-photo { margin-bottom: 32px; }
  .about-teaser { padding: 60px 0; }
}

/* ─── Service Area ──────────────────────────────────────────── */
.service-area {
  background: var(--gray-light);
}

.service-area h2 { margin-bottom: 10px; }
.service-area .section-center p { margin-bottom: 0; }

.map-frame {
  border-radius: var(--radius-img);
  overflow: hidden;
  height: 280px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.area-pill {
  background: rgba(58, 143, 175, 0.12);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
}

.area-note {
  font-size: 15px;
  color: var(--muted);
}

.area-note a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 576px) {
  .area-pill { font-size: 12px; padding: 5px 14px; }
}

/* ─── Dual CTA Split ────────────────────────────────────────── */
.dual-cta {
  background: var(--white);
}

.cta-card-dark {
  background: linear-gradient(145deg, rgba(30,42,74,0.80) 0%, rgba(20,30,58,0.72) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 12px;
  border: 1px solid rgba(58,143,175,0.22);
  box-shadow:
    0 8px 40px rgba(0,0,0,0.28),
    0 2px 8px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.10);
  padding: 48px 40px;
  text-align: center;
  height: 100%;
}

.cta-card-dark h3 { color: #fff; margin-bottom: 14px; }
.cta-card-dark p  { color: var(--muted-navy); font-size: 16px; line-height: 1.65; margin-bottom: 28px; }

.cta-card-light {
  background: linear-gradient(145deg, rgba(253,240,241,0.75) 0%, rgba(253,235,237,0.58) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 12px;
  border: 1px solid rgba(245,192,196,0.55);
  box-shadow:
    0 8px 40px rgba(224,120,128,0.10),
    0 2px 8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.85);
  padding: 48px 40px;
  text-align: center;
  height: 100%;
}

.cta-card-light h3 { color: var(--navy); margin-bottom: 14px; }
.cta-card-light p  { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 28px; }

.cta-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 18px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: var(--muted-navy);
  font-family: var(--font-sans);
  font-size: 14px;
}

.footer-brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-sans);
}

.footer-brand-sub {
  font-size: 13px;
  color: var(--muted-navy);
  line-height: 1.7;
  margin-top: 10px;
}

.footer-address {
  font-size: 13px;
  color: #6a8faa;
  margin-top: 12px;
  line-height: 1.7;
}

.footer-address a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-sans);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted-navy);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-cta-col .btn-teal,
.footer-cta-col .btn-pink {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  padding: 12px 20px;
}

.footer-cta-col .btn-pink { margin-top: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0 24px;
  margin-top: 48px;
}

.footer-copyright {
  font-size: 12px;
  color: #5a7a8a;
}

.footer-attribution {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-attribution img {
  height: 20px;
  width: auto;
  opacity: 0.65;
}

.footer-attribution span {
  font-size: 12px;
  color: #5a7a8a;
}
