:root {
  --cream: #faf6f0;
  --warm-white: #fffdf9;
  --terracotta: #c2714f;
  --deep-green: #1e3a2f;
  --sage: #6b8f71;
  --gold: #d4a853;
  --charcoal: #2c2c2c;
  --light-sage: #edf2ee;
  --border: #ddd5c8;
}

body {
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   MOBILE HERO FIX — append to homestyle.css
═══════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── Hero layout ── */
  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-body {
    grid-template-columns: 1fr;
    padding: 100px 1.5rem 2rem;
    gap: 1.5rem;
  }

  /* ── Stat block: force 3 columns side by side ── */
  .hero-stat-block {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 1rem;
    gap: 0;
    width: 100%;
  }

  .hero-stat-item {
    text-align: center;
    padding: 0 0.3rem;
  }

  .hero-stat-item strong {
    font-size: 1.4rem;
  }

  .hero-stat-item span {
    font-size: 0.6rem;
  }

  .hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
  }

  /* ── Hero cards: compact on mobile ── */
  .hero-cards {
    gap: 0.6rem;
  }

  .hero-card {
    padding: 0.8rem 1rem;
  }

  .hc-icon {
    font-size: 1.3rem;
  }

  .hc-title {
    font-size: 0.82rem;
  }

  .hc-sub {
    font-size: 0.72rem;
  }

  /* ── Scroll hint: hide on mobile ── */
  .hero-scroll-hint {
    display: none;
  }

  /* ── Buttons stack on mobile ── */
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* ── About floater: pull inside frame ── */
  .about-floater {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
  }

  /* ── Process arrows off ── */
  .process-step::after {
    display: none;
  }

  /* ── Contact image col ── */
  .contact-image-col {
    min-height: 580px;
    max-height: 620px;
  }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-stat-item strong {
    font-size: 1.2rem;
  }

  .hero-stat-item span {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
  }

  /* Hide full cards on very small phones, show text strip instead */
  .hero-cards {
    display: none;
  }

  .hero-right::after {
    content: "👴 Elderly Care  •  👶 Childcare  •  🏥 Hospital";
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-align: center;
    padding: 0.8rem 0;
    letter-spacing: 0.03em;
  }

  .contact-form-box {
    padding: 1.5rem 1.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   TABLET NAV FIX
========================= */

@media (max-width: 1200px) {
  .menu-toggle {
    display: flex !important;
  }

  .nav-links {
    position: fixed;
    top: 86px;
    right: -100%;
    width: 320px;
    max-width: 90%;
    height: calc(100vh - 86px);

    background: var(--cream);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);

    flex-direction: column;
    align-items: flex-start;
    gap: 0;

    padding: 24px;
    overflow-y: auto;

    transition: 0.35s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(30, 58, 47, 0.06),
      0 18px 40px rgba(30, 58, 47, 0.12);
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 0.98rem;
  }

  .nav-links a:hover {
    background: rgba(30, 58, 47, 0.06);
  }

  .nav-links .nav-cta {
    margin-top: 10px;
    justify-content: center;
  }
}

/* =========================================
   FORCE TABLET NAV DRAWER FIX
========================================= */

@media screen and (max-width: 1200px) {
  #navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .menu-toggle {
    display: flex !important;
    z-index: 1002;
  }

  #navLinks {
    position: fixed !important;

    top: 88px !important;
    right: -100% !important;

    width: 320px !important;
    max-width: 88% !important;

    height: calc(100vh - 88px) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 4px !important;

    padding: 24px !important;

    background: var(--cream);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);

    overflow-y: auto !important;

    box-shadow: 0 4px 12px rgba(30, 58, 47, 0.06),
      0 18px 40px rgba(30, 58, 47, 0.12);

    transition: right 0.35s ease !important;

    z-index: 1001 !important;
  }

  #navLinks.show {
    right: 0 !important;
  }

  #navLinks a {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;

    gap: 12px !important;

    padding: 14px 16px !important;

    border-radius: 14px;

    font-size: 0.96rem !important;
  }

  #navLinks a:hover {
    background: rgba(30, 58, 47, 0.06);
  }

  #navLinks .nav-cta {
    margin-top: 12px;
    justify-content: center !important;
  }
}
