/* ==========================================================================
   Shriram Care Taker — full site CSS (Home, About, Services, FAQ, Contact)
   Converted from Figma (file: Care Taker (Copy)). Plain CSS, no framework.
   ========================================================================== */

:root {
  --color-brand-primary: #004020;
  --color-brand-secondary: #005530;
  --color-action-accent: #f0a000;
  --color-action-accent-light: #f5b51b;
  --color-background-base: #ffffff;
  --color-background-soft: #f8faf7;
  --color-text-primary: #1a3020;
  --color-text-muted: #5e6e62;
  --color-border-subtle: #e2ebe5;
  --color-surface-gold-soft: #fff8ea;
  --color-surface-green-soft: #e8efea;
  --color-whatsapp: #25d366;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --container-x: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-background-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--container-x);
  padding-right: var(--container-x);
}

.icon { display: inline-flex; flex-shrink: 0; color: var(--color-brand-primary); }
.icon svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-brand-primary); color: #fff; }
.btn-outline { background: transparent; color: var(--color-brand-primary); border: 1px solid var(--color-brand-primary); }
.btn-outline-light { background: transparent; color: var(--color-brand-primary); border: 1px solid var(--color-brand-primary); }
.btn-accent { background: var(--color-action-accent); color: var(--color-brand-primary); font-weight: 700; }
.btn-sm { padding: 12px 20px; font-size: 14px; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--color-surface-gold-soft);
  border: 1px solid var(--color-action-accent-light);
  color: var(--color-brand-primary);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.badge.on-white-strong { background: var(--color-background-base); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-brand-primary);
  font-size: clamp(24px, 5vw + 8px, 40px);
  line-height: 1.2;
  margin: 0;
}
.section-lead {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.feature-row { display: flex; align-items: center; gap: 10px; }
.check-circle {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 9px; background: var(--color-brand-primary);
}
.check-circle .icon { width: 10px; height: 10px; color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-background-base); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 60px; height: 60px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo-text .top { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--color-brand-primary); }
.logo-text .bottom { font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--color-action-accent); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 24px; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--color-text-primary); }
.nav-links a:hover { color: var(--color-action-accent); }
.nav-links a.is-active { color: var(--color-action-accent); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .call-info { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1; }
.nav-cta .call-info .label { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; }
.nav-cta .call-info .number { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--color-brand-primary); }

/* mobile/tablet-only header controls (phone quick-call + hamburger).
   Visibility toggled per breakpoint further down — see the responsive block. */
.mobile-header-controls { display: none; align-items: center; gap: 8px; }
.mobile-icon-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--color-border-subtle);
  display: flex; align-items: center; justify-content: center; background: var(--color-background-soft);
  color: var(--color-brand-primary);
}
.mobile-icon-btn .icon { width: 18px; height: 18px; color: var(--color-brand-primary); }

/* ==========================================================================
   Slide-in nav drawer (tablet + mobile) — matches Figma's menu-open state:
   a right-hand drawer over a dark backdrop, with nav links, a pulsing
   "Available 24 Hours" indicator, and Call/WhatsApp action cards.
   ========================================================================== */
body.drawer-locked { overflow: hidden; }

.drawer-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 64, 32, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawer-backdrop.is-open { display: block; opacity: 1; }

.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(380px, 88vw);
  background: var(--color-background-base);
  box-shadow: -10px 0 24px rgba(0, 0, 0, 0.16);
  padding: 24px 24px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }

.drawer-top { display: flex; flex-direction: column; gap: 24px; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.drawer-header .logo-mark { width: 40px; height: 40px; border-radius: 10px; }
.drawer-header .logo-text .top { font-size: 15px; }
.drawer-header .logo-text .bottom { font-size: 10px; }
.drawer-close-btn {
  width: 32px; height: 32px; border-radius: 999px; border: none;
  background: var(--color-background-soft); color: var(--color-brand-primary);
  display: flex; align-items: center; justify-content: center;
}
.drawer-close-btn svg { width: 16px; height: 16px; }

.drawer-divider { border: none; border-top: 1px solid var(--color-border-subtle); margin: 0; }

.drawer-nav { display: flex; flex-direction: column; gap: 12px; }
.drawer-nav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--color-text-primary);
}
.drawer-nav-item.is-active {
  background: var(--color-surface-green-soft);
  border-left: 4px solid var(--color-brand-primary);
  font-weight: 700; color: var(--color-brand-primary);
  padding-left: 16px;
}
.drawer-nav-item.is-active .icon { width: 16px; height: 16px; color: var(--color-action-accent); }

.drawer-bottom { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }

.support-indicator { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--color-action-accent); text-transform: uppercase; }
.pulse-dot { position: relative; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pulse-dot::before {
  content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-action-accent); opacity: 0.35;
  animation: drawer-pulse 1.6s ease-out infinite;
}
.pulse-dot-core { width: 8px; height: 8px; border-radius: 50%; background: var(--color-action-accent); }
@keyframes drawer-pulse {
  0% { transform: scale(1); opacity: 0.35; }
  100% { transform: scale(2.2); opacity: 0; }
}

.drawer-actions { display: flex; flex-direction: column; gap: 12px; }
.drawer-action-card {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px;
}
.drawer-action-card.call { background: var(--color-brand-primary); }
.drawer-action-card.whatsapp { background: var(--color-whatsapp); }
.drawer-action-card .icon-circle-sm { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drawer-action-card.call .icon-circle-sm { background: var(--color-brand-secondary); }
.drawer-action-card.whatsapp .icon-circle-sm { background: rgba(255,255,255,0.2); }
.drawer-action-card .icon-circle-sm .icon { width: 20px; height: 20px; color: #fff; }
.drawer-action-card .text { display: flex; flex-direction: column; gap: 2px; }
.drawer-action-card .label { font-family: var(--font-body); font-size: 11px; text-transform: uppercase; opacity: 0.85; color: #fff; }
.drawer-action-card .value { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }

.drawer-secondary { display: flex; gap: 8px; align-items: baseline; padding: 0 8px; font-family: var(--font-body); font-size: 13px; color: var(--color-text-muted); }
.drawer-secondary strong { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--color-brand-primary); }

/* ==========================================================================
   Hero (shared shape — home/about/services/contact)
   ========================================================================== */
.hero {
  background: var(--color-background-soft);
  padding: 96px var(--container-x);
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-left { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero-left h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 6vw + 8px, 56px); line-height: 1.15;
  color: var(--color-brand-primary); margin: 0;
}
.hero-left h1 .accent { color: var(--color-action-accent); }
.hero-left .section-lead { font-size: 18px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 24px; padding-top: 16px; flex-wrap: wrap; }
.hero-proof .feature-row { gap: 8px; }
.hero-proof .badge-icon { width: 24px; height: 24px; border-radius: 12px; background: var(--color-surface-gold-soft); display: flex; align-items: center; justify-content: center; }
.hero-proof .badge-icon .icon { width: 12px; height: 12px; }
.hero-proof .feature-row span { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--color-text-primary); }

.hero-right { flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-image-wrapper {
  position: relative; width: 100%; height: 480px; border-radius: 32px; overflow: hidden;
  background: linear-gradient(135deg, #cfe3d6, #8fb89f);
}
.hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Simpler hero variant used on About/Services/Contact (image fills the flex side, no fixed circle) */
.hero-right.fill { max-width: none; }
.hero-image-fill {
  width: 100%; height: 450px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #cfe3d6, #8fb89f);
}
.hero-image-fill img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-fill.short { height: 360px; }

/* ==========================================================================
   Trust strip (home)
   ========================================================================== */
.trust-strip { background: var(--color-brand-primary); padding: 32px var(--container-x); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item .icon-badge { width: 44px; height: 44px; border-radius: 22px; background: var(--color-brand-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item .icon-badge .icon { width: 20px; height: 20px; color: var(--color-action-accent-light); }
.trust-item span { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #fff; }

/* ==========================================================================
   About (image + content, two-column, reused for about/commitment sections)
   ========================================================================== */
.about, .story-row, .commitment { display: flex; align-items: center; gap: 80px; padding: 120px var(--container-x); }
.commitment { background: var(--color-background-soft); }
.about-image, .story-image, .commitment-image, .about-hero-image {
  flex: 1; height: 480px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #f3e6c8, #e8c98a);
}
.about-image img, .story-image img, .commitment-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image { height: 380px; }
.about-content, .story-left, .commitment-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.about-content .section-title, .story-left .section-title, .commitment-content .section-title { font-size: 40px; }
.about-content .subtitle { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--color-text-primary); margin: 0; }
.about-checklist { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.about-checklist .feature-row span { font-size: 14px; }
.commitment-content .underline-heading { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; }
.commitment-content .underline-heading span { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--color-brand-primary); }
.commitment-content .underline-heading .bar { width: 320px; height: 4px; background: var(--color-action-accent); max-width: 100%; }

/* mission / vision cards */
.mission-vision-cards { display: flex; gap: 32px; padding-top: 40px; width: 100%; }
.mission-card, .vision-card { flex: 1; border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.mission-card { background: var(--color-background-soft); border: 1px solid var(--color-border-subtle); }
.vision-card { background: var(--color-surface-gold-soft); border: 1px solid var(--color-action-accent-light); }
.mission-card h3, .vision-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--color-brand-primary); margin: 0; }
.mission-card p, .vision-card p { font-family: var(--font-body); font-size: 15px; color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ==========================================================================
   Services cards (home + services-page variants)
   ========================================================================== */
.services, .why-choose-us, .flexible-durations { background: var(--color-background-soft); padding: 120px var(--container-x); }
.services-header, .why-choose-header, .who-we-help-header, .faq-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin: 0 auto 64px;
}
.services-header .section-title, .why-choose-header .section-title, .who-we-help-header .section-title { text-align: center; }
.services-header .section-lead, .why-choose-header .section-lead, .who-we-help-header .section-lead { max-width: 720px; text-align: center; }
.services-cards { display: flex; gap: 32px; align-items: stretch; }
.service-card {
  flex: 1; background: var(--color-background-base); border: 1px solid var(--color-border-subtle); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 8px 12px rgba(0,0,0,0.03);
}
.service-card.deep { border-radius: 24px; padding: 40px; }
.service-card .icon-circle { width: 56px; height: 56px; border-radius: 28px; background: var(--color-surface-gold-soft); display: flex; align-items: center; justify-content: center; }
.service-card .icon-circle .icon { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--color-brand-primary); margin: 0; }
.service-card.deep h3 { font-size: 24px; }
.service-card p.desc { font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.service-card hr { border: none; border-top: 1px solid var(--color-border-subtle); width: 100%; margin: 0; }
.service-card .features-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.service-card .features-list span { font-size: 14px; }
.service-card .learn-more { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-action-accent); margin-top: auto; }

/* ==========================================================================
   Featured / final CTA banners
   ========================================================================== */
.featured-banner, .final-cta {
  border-radius: 24px; padding: 64px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.featured-banner { background: var(--color-brand-primary); margin: 0 var(--container-x); }
.featured-banner h2 { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: #fff; margin: 0; max-width: 700px; }
.featured-banner p { font-family: var(--font-body); font-size: 16px; color: var(--color-surface-green-soft); margin: 0; max-width: 600px; }

.final-cta { background: var(--color-action-accent); width: 100%; border-radius: 0; padding: 80px var(--container-x); }
.final-cta.rounded { border-radius: 24px; padding: 64px; width: auto; }
.final-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--color-brand-primary); margin: 0; max-width: 700px; }
.final-cta p { font-family: var(--font-body); font-size: 16px; color: var(--color-brand-primary); margin: 0; max-width: 720px; }
.final-cta .cta-buttons { display: flex; gap: 16px; padding-top: 12px; flex-wrap: wrap; justify-content: center; }
.final-cta .availability { font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--color-brand-primary); text-transform: uppercase; opacity: 0.8; }
.final-cta-wrap { padding: 0 var(--container-x) 120px; }

/* ==========================================================================
   How it works / steps
   ========================================================================== */
.how-it-works { padding: 120px var(--container-x); display: flex; flex-direction: column; align-items: center; gap: 64px; }
.how-it-works .section-title { text-align: center; }
.steps-grid, .duration-options, .steps-row { display: flex; gap: 24px; width: 100%; }
.step-card, .duration-card, .step-row-card {
  flex: 1; background: var(--color-background-soft); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.duration-card, .step-row-card { background: var(--color-background-base); border: 1px solid var(--color-border-subtle); padding: 32px; }
.step-card .step-number { width: 48px; height: 48px; border-radius: 24px; background: var(--color-action-accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--color-brand-primary); }
.step-row-card .step-number-lg { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--color-action-accent); }
.duration-card .pill-label { display: inline-flex; padding: 6px 12px; border-radius: 4px; background: var(--color-surface-gold-soft); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-brand-primary); }
.step-card h4, .duration-card h4, .step-row-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-brand-primary); margin: 0; }
.step-card p, .duration-card p, .step-row-card p { font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }
.flexible-durations .services-header { margin-bottom: 0; }

/* ==========================================================================
   Feature grids (why choose us / who we help / features-grid, all share shape)
   ========================================================================== */
.features-grid, .who-we-help-grid, .why-choose-grid { display: flex; flex-direction: column; gap: 24px; }
.features-grid .row, .who-we-help-grid .row, .why-choose-grid .row { display: flex; gap: 24px; }
.feature-tile {
  flex: 1; background: var(--color-background-base); border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.who-we-help, .why-choose-shriram { padding: 120px var(--container-x); display: flex; flex-direction: column; gap: 48px; }
.why-choose-shriram { background: var(--color-background-soft); }
.feature-tile.bordered { border: 1px solid var(--color-border-subtle); }
.feature-tile .icon-circle-sm { width: 40px; height: 40px; border-radius: 20px; background: var(--color-surface-gold-soft); display: flex; align-items: center; justify-content: center; }
.feature-tile .icon-circle-sm .icon { width: 18px; height: 18px; }
.feature-tile h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-brand-primary); margin: 0; }
.feature-tile p { font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.5; }

/* ==========================================================================
   Care values / values-section (icon rings)
   ========================================================================== */
.care-values, .values-section { padding: 120px var(--container-x); display: flex; flex-direction: column; align-items: center; gap: 64px; }
.values-section { background: var(--color-background-soft); }
.care-values .section-title, .values-section .section-title { text-align: center; }
.values-row { display: flex; gap: 32px; width: 100%; }
.value-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.value-item .icon-ring { width: 64px; height: 64px; border-radius: 32px; display: flex; align-items: center; justify-content: center; background: var(--color-background-base); border: 1px solid var(--color-action-accent); }
.values-section .icon-ring { background: #fff; }
.value-item .icon-ring .icon { width: 28px; height: 28px; }
.value-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--color-brand-primary); margin: 0; }
.value-item p { font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* ==========================================================================
   Trust stats strip (about page)
   ========================================================================== */
.trust-stats-strip { padding: 0 var(--container-x) 120px; }
.stats-card { background: var(--color-brand-primary); border-radius: 24px; padding: 32px; width: 100%; }
.stats-row { display: flex; gap: 24px; width: 100%; }
.stat-item { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.stat-item .num { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--color-action-accent); }
.stat-item .label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--color-surface-green-soft); }

/* ==========================================================================
   Family care / feature banner card (about page)
   ========================================================================== */
.family-care-section { padding: 120px var(--container-x); }
.family-care-card {
  background: var(--color-surface-gold-soft); border-radius: 24px;
  padding: 32px;
}
.family-care-image { height: 420px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #f3e6c8, #e8c98a); }
.family-care-image img { width: 100%; height: 100%; object-fit: cover; }
.family-care-content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.family-care-content .section-title { font-size: 40px; }
.family-care-content .feature-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }

/* ==========================================================================
   FAQ page
   ========================================================================== */
.faq-hero { background: var(--color-background-soft); padding: 96px var(--container-x); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.faq-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 6vw + 8px, 56px); color: var(--color-brand-primary); margin: 0; }
.faq-hero h1 .accent { color: var(--color-action-accent); }
.faq-hero .section-lead { font-size: 18px; max-width: 700px; text-align: center; }

.faq-content-section { padding: 120px var(--container-x); display: flex; flex-direction: column; align-items: center; gap: 48px; }
.category-tabs { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.category-tab { padding: 12px 24px; border-radius: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; border: 1px solid var(--color-action-accent-light); background: var(--color-surface-gold-soft); color: var(--color-brand-primary); }
.category-tab.is-active { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: #fff; }

.faq-accordion { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 900px; }
.faq-item { background: var(--color-background-base); border: 1px solid var(--color-border-subtle); border-radius: 12px; overflow: hidden; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 24px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--color-brand-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 16px; height: 16px; transition: transform 0.2s ease; color: var(--color-action-accent); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 24px 24px; font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }
.faq-item.soft { background: var(--color-background-soft); }

.final-contact-cta { background: var(--color-action-accent); padding: 80px var(--container-x); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.final-contact-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--color-brand-primary); margin: 0; max-width: 700px; }
.final-contact-cta p { font-family: var(--font-body); font-size: 16px; color: var(--color-brand-primary); margin: 0; max-width: 720px; }
.final-contact-cta .cta-buttons { display: flex; gap: 16px; padding-top: 12px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-form-section { display: flex; gap: 80px; padding: 120px var(--container-x); align-items: flex-start; }
.contact-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.contact-info .section-title { font-size: 40px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.contact-card { display: flex; align-items: center; gap: 16px; background: var(--color-background-soft); border-radius: 16px; padding: 20px; }
.contact-card.whatsapp { background: #e8f9ee; }
.contact-card .icon-circle-md { width: 48px; height: 48px; border-radius: 24px; background: var(--color-surface-gold-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card.whatsapp .icon-circle-md { background: var(--color-whatsapp); }
.contact-card.whatsapp .icon-circle-md .icon { color: #fff; }
.contact-card .icon-circle-md .icon { width: 20px; height: 20px; }
.contact-card .text { display: flex; flex-direction: column; gap: 2px; }
.contact-card .text .label { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; }
.contact-card.whatsapp .text .label { color: var(--color-brand-secondary); }
.contact-card .text .value { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--color-brand-primary); }
.contact-card.whatsapp .text .value { font-size: 18px; }

.contact-form {
  flex: 1; width: 100%; box-sizing: border-box; background: var(--color-background-soft); border: 1px solid var(--color-border-subtle); border-radius: 24px;
  padding: 40px; display: flex; flex-direction: column; gap: 24px;
}
.contact-form h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--color-brand-primary); margin: 0; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--color-text-primary); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 14px; color: var(--color-text-primary);
  background: var(--color-background-base); border: 1px solid var(--color-border-subtle);
  border-radius: 8px; padding: 14px; width: 100%;
}
.form-field textarea { height: 100px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-text-muted); }

.what-happens-next { background: var(--color-background-soft); padding: 100px var(--container-x); display: flex; flex-direction: column; gap: 48px; align-items: center; }
.what-happens-next .section-title { text-align: center; }

.contact-methods { padding: 100px var(--container-x); display: flex; flex-direction: column; gap: 48px; }
.contact-method-cards { display: flex; gap: 24px; align-items: stretch; }
.method-card {
  flex: 1; background: var(--color-background-base); border: 1px solid var(--color-border-subtle); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; gap: 24px;
}
.method-card .icon-circle { width: 56px; height: 56px; border-radius: 28px; background: var(--color-surface-gold-soft); display: flex; align-items: center; justify-content: center; }
.method-card .icon-circle .icon { width: 24px; height: 24px; }
.method-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--color-brand-primary); margin: 0; }
.method-card p.desc { font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); margin: 0; line-height: 1.5; }
.method-card .detail-label { font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; margin: 0; }
.method-card .detail-value { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--color-brand-primary); margin: 0; }
.method-card .detail-note { font-family: var(--font-body); font-size: 14px; color: var(--color-text-muted); margin: 0; }

.reassurance-strip { padding: 0 var(--container-x) 100px; }
.reassurance-card { background: var(--color-brand-primary); border-radius: 20px; padding: 24px 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.reassurance-item { flex: 1; min-width: 240px; display: flex; gap: 16px; align-items: center; }
.reassurance-item .icon-badge { width: 48px; height: 48px; border-radius: 24px; background: var(--color-brand-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reassurance-item .icon-badge .icon { width: 20px; height: 20px; color: var(--color-action-accent-light); }
.reassurance-item h5 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; margin: 0; }
.reassurance-item p { font-family: var(--font-body); font-size: 13px; color: var(--color-surface-green-soft); margin: 0; }

.faq-preview { padding: 0 var(--container-x) 120px; display: flex; flex-direction: column; gap: 40px; }
.faq-preview .intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.faq-preview .intro .section-title { max-width: 620px; }
.faq-preview-grid { display: flex; gap: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-brand-primary); padding: 80px var(--container-x) 40px; display: flex; flex-direction: column; gap: 64px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer-logo-card { background: var(--color-background-base); border-radius: 12px; padding: 12px; display: inline-flex; }
.footer-brand .logo-mark { width: 50px; height: 50px; }
.footer-brand .logo-text .top { font-size: 18px; }
.footer-brand .logo-text .bottom { font-size: 11px; }
.footer-brand .tagline { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--color-action-accent); margin: 0; }
.footer-brand p.desc { font-family: var(--font-body); font-size: 14px; color: var(--color-surface-green-soft); line-height: 1.5; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col h5 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--color-action-accent); margin: 0; }
.footer-col a, .footer-col span { font-family: var(--font-body); font-size: 14px; color: var(--color-surface-green-soft); }
.footer-col .available { font-family: var(--font-body); font-weight: 700; font-size: 12px; color: var(--color-action-accent-light); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-body); font-size: 12px; color: var(--color-surface-green-soft); }
.footer-bottom .links { display: flex; gap: 24px; }

/* ==========================================================================
   Fixed mobile bottom nav
   ========================================================================== */
.mobile-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--color-brand-primary);
  border-top: 2px solid var(--color-action-accent);
}
.mobile-nav-item {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff;
}
.mobile-nav-item .icon { width: 18px; height: 18px; color: #fff; }
.mobile-nav-divider { width: 1px; background: var(--color-brand-secondary); }

/* ==========================================================================
   Responsive — three tiers, matching Figma's desktop (1440) / tablet (768) /
   mobile (390) frames:
     Desktop (>1024px):  full nav-links + call-info + Call Now button
     Tablet  (641–1024): nav-links hidden; call-info + Call Now STAY, plus a
                          hamburger opens the slide-in drawer
     Mobile  (<=640px):  call-info + Call Now ALSO hide; an icon-only phone
                          button + hamburger take their place; fixed bottom
                          Call/WhatsApp bar appears
   ========================================================================== */
.mobile-icon-btn--call { display: none; }

@media (max-width: 1024px) {
  :root { --container-x: 40px; }
  .hero, .about, .story-row, .commitment, .contact-form-section, .family-care-card { flex-direction: column; }
  .about-image, .commitment-image, .story-image, .family-care-image { width: 100%; }
  .family-care-image { height: 320px; }
  .services-cards, .steps-grid, .duration-options, .steps-row, .values-row,
  .features-grid .row, .who-we-help-grid .row, .why-choose-grid .row,
  .mission-vision-cards, .contact-method-cards, .faq-preview-grid, .stats-row {
    flex-direction: column;
  }

  /* Tablet header: nav-links replaced by hamburger; call-info + Call Now stay */
  .nav-links { display: none; }
  .mobile-header-controls { display: flex; }
  .mobile-icon-btn--call { display: none; }

  .site-header { position: relative; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .reassurance-card { flex-direction: column; align-items: stretch; }
  /* footer now uses Bootstrap's row-cols-* (see footer.blade.php), which
     already handles stacking responsively — no manual override needed. */
  .who-we-help-header .section-lead, .why-choose-header .section-lead { max-width: 100%; }
  .why-choose-us .intro, .faq-preview .intro { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  /* The single biggest mobile fix: --container-x only ever dropped to 40px
     (tablet tier) and never reduced further, so every section — hero,
     about, services, FAQ, contact, footer — kept 80px of total horizontal
     padding on a ~390px phone screen, squeezing content and in the
     header's case pushing the call/menu buttons half off-screen. */
  :root { --container-x: 20px; }

  /* .hero-left h1 / .faq-hero h1 / .section-title now use clamp() at their
     base rule, so they already scale smoothly with viewport width — no
     fixed override needed here anymore. */
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .final-cta .cta-buttons, .final-contact-cta .cta-buttons { flex-direction: column; width: 100%; }
  .final-cta .cta-buttons .btn, .final-contact-cta .cta-buttons .btn { width: 100%; }
  .category-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }

  /* Mobile header: call-info + Call Now button also hide now; icon-only
     phone button appears next to the hamburger instead. */
  .nav-cta { display: none; }
  .mobile-icon-btn--call { display: flex; }

  body.has-mobile-nav { padding-bottom: 72px; }
  .mobile-nav { display: flex; }

  /* Mobile: trust-strip becomes 1-column stacked cards (each item gets its
     own lighter-green rounded card, matching Figma's mobile treatment —
     tablet/desktop keep the flat, card-less layout set above). */
  .trust-strip { display: flex; flex-direction: column; gap: 12px; }
  .trust-item { background: var(--color-brand-secondary); border-radius: 12px; padding: 12px; width: 100%; }
  .trust-item .icon-badge { width: 40px; height: 40px; border-radius: 20px; background: #006a3a; }
  .trust-item span { font-size: 15px; }

  /* family-care-card (About page) stacks its image above the text below
     1024px already; on phones its inner padding also needs to shrink so
     the card doesn't look cramped against the page's own 20px gutter. */
  .family-care-card { padding: 20px; gap: 24px; }
  .family-care-image { height: 240px; }

  /* Safety net: prevent any single oversized element (a long unbroken
     word, a fixed-width test value, etc.) from forcing the whole page to
     scroll horizontally and drag the sticky header's edge content with it. */
  html, body { max-width: 100%; overflow-x: hidden; }

  /* CTA / banner cards had a flat 64–80px padding on every side, unrelated
     to --container-x, so on a ~390px phone the heading had almost no room
     left and wrapped one word per line. Scale it down with the screen. */
  .featured-banner, .final-cta.rounded, .final-contact-cta { padding: 32px 24px; }
  .final-cta:not(.rounded) { padding: 56px 24px; }
  .featured-banner h2, .final-cta h2, .final-contact-cta h2 { font-size: 24px; }
  .featured-banner p, .final-cta p, .final-contact-cta p { font-size: 14px; }
  .final-cta-wrap { padding-left: 0; padding-right: 0; }

  /* Contact page: form + info cards get a lighter inner padding to match
     the page's own 20px gutter instead of the desktop's fixed 40px. */
  .contact-form { padding: 24px; }
  .contact-form-section { gap: 32px; }
  .contact-info { gap: 24px; }
  .contact-card { padding: 16px; }
}

/* ==========================================================================
   Flex-shrink safety net
   ========================================================================== */
/* Flex items default to min-width: auto (not 0), which means their content's
   natural/intrinsic width (a <select>, a long word, a wide form control)
   can force the item — and the flex row it's in — wider than the viewport,
   even though flex-direction already switches to column at these
   breakpoints. This has been silently working most places because the
   content happened to be narrow enough, but it's the classic reason a
   flex-based two-column section can refuse to shrink on a narrow phone.
   Setting min-width: 0 lets these actually shrink to fit. */
.hero-left, .hero-right, .about-content, .about-image, .story-left, .story-image,
.commitment-content, .commitment-image, .family-care-content, .family-care-image,
.contact-info, .contact-form, .service-card, .feature-tile, .method-card,
.mission-card, .vision-card, .duration-card, .step-card, .step-row-card, .value-item, .stat-item {
  min-width: 0;
}