/* =========================================================================
   Elite Golden Care — Mobile Design Polish
   -------------------------------------------------------------------------
   Loaded LAST on every page.  Contains ONLY @media rules so the desktop
   layout is never affected.  Reversible: delete the single
   <link rel="stylesheet" href="egc-mobile-design.css"> from each HTML
   file to roll back the entire mobile refinement.

   Sections:  1 tablet (≤900)  ·  2 phone (≤680)  ·  3 tiny phone (≤380)
   ========================================================================= */


/* ===================================================================
   1.  TABLET  (≤ 900 px)
   =================================================================== */
@media (max-width:900px){

  /* --- header / nav ------------------------------------------------ */
  /* Show hamburger menu button on mobile */
  .menu{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  /* --- hero (home) ------------------------------------------------- */
  .hero-copy{padding:56px 0 34px}
  .hero-media{
    border-radius:22px;overflow:hidden;
    box-shadow:0 20px 50px rgba(23,45,59,.12);
  }

  /* --- hero (inner pages) ------------------------------------------ */
  .page-hero-photo img{
    box-shadow:14px 14px 0 rgba(216,180,90,.42),
               0 22px 50px rgba(23,45,59,.12);
    border-radius:20px;
  }

  /* --- grids: keep nice gaps --------------------------------------- */
  .service-grid{gap:16px}
  .service-card{box-shadow:0 8px 24px rgba(23,45,59,.07)}
  .egc-steps,.egc-quotes{gap:16px}
  .value-grid{gap:18px}

  /* --- footer ------------------------------------------------------ */
  .footer-grid{gap:28px 20px}
  .egc-footer-cta{border-radius:18px;padding:28px 24px}
}


/* ===================================================================
   2.  PHONE  (≤ 680 px)
   =================================================================== */
@media (max-width:680px){

  /* ── header & navigation ────────────────────────────────────────── */
  /* Show hamburger menu button on phone */
  .menu{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative;
    z-index:10001;
  }
  header,.nav{height:72px}
  .logo{width:140px}

  /* explicitly display and style the polished hamburger toggle */
  .egc-menu-toggle{
    display:flex!important;
    position:relative;
    z-index:10001;
    color:var(--gold,#b88a13)!important;
    background:#fff!important;
    border:1px solid rgba(184,138,19,.35)!important;
    box-shadow:0 4px 15px rgba(0,0,0,.08)!important;
  }
  .egc-menu-toggle span{
    background:#1d3444!important;
  }

  /* Show the .navlinks when egc-mobile-nav.js adds egc-nav-open class */
  .navlinks.egc-nav-open,
  .navlinks.open{
    display:flex!important;
    flex-direction:column!important;
    position:absolute!important;
    left:4%!important;
    right:4%!important;
    top:72px!important;
    background:#fff!important;
    border:1px solid rgba(231,226,216,.9)!important;
    border-radius:16px!important;
    padding:10px!important;
    box-shadow:0 20px 50px rgba(23,45,59,.16)!important;
    z-index:10000!important;
  }
  .navlinks.egc-nav-open a,
  .navlinks.open a{
    padding:14px 12px!important;
    color:#172d3b!important;
    font-weight:700!important;
  }
  .navlinks.egc-nav-open a:hover,
  .navlinks.open a:hover{
    color:#b58a2b!important;
    background:#faf7ef!important;
    border-radius:8px!important;
  }
  .navlinks.egc-nav-open .request,
  .navlinks.open .request{
    background:linear-gradient(135deg,#a97917,#d1a640)!important;
    color:#fff!important;
    border-radius:12px!important;
    margin:6px 0 2px!important;
    width:100%!important;
    text-align:center!important;
  }

  /* ── global rhythm ─────────────────────────────────────────────── */
  .section{padding:clamp(48px,9vw,68px) 0}
  .section-head{margin-bottom:clamp(28px,5vw,40px)}
  .section-head h2{font-size:clamp(26px,6.5vw,36px)}
  .section-head p{font-size:14px}
  .eyebrow{font-size:11px;letter-spacing:.18em}

  /* ── buttons ──────────────────────────────────────────────────── */
  .btn{border-radius:12px;min-height:44px}

  /* ── home hero ──────────────────────────────────────────────────── */
  .hero{
    background:
      radial-gradient(circle at 20% 10%,rgba(216,180,90,.14),transparent 35%),
      linear-gradient(140deg,#f7f2e7,#fbfaf6 50%,#eef3f1);
  }
  .hero-inner{gap:0}
  .hero-copy{padding:42px 0 26px}
  .hero-copy h1{
    font-size:clamp(34px,8.5vw,44px);
    letter-spacing:-.03em;line-height:1.08;margin-bottom:16px;
  }
  .hero-copy p{font-size:14.5px;line-height:1.72}
  .hero-actions{gap:10px;margin-top:22px}
  .hero-actions .btn{min-height:46px;padding:12px 20px;font-size:13px;flex:0 1 auto}
  .hero-media{
    border-radius:18px;overflow:hidden;margin-bottom:0;
    box-shadow:0 16px 40px rgba(23,45,59,.10);
  }

  /* ── inner-page hero ────────────────────────────────────────────── */
  .page-hero{padding:46px 0 50px}
  .page-hero h1{font-size:clamp(30px,7.5vw,42px);line-height:1.1}
  .page-hero-photo img{
    border-radius:16px;
    box-shadow:10px 10px 0 rgba(216,180,90,.40),
               0 16px 38px rgba(23,45,59,.12);
  }
  .page-hero-actions .btn{flex:0 1 auto}

  /* ── trust row ──────────────────────────────────────────────────── */
  .trust-row{
    border-radius:16px;margin:0 4%;overflow:hidden;
    box-shadow:0 8px 28px rgba(23,45,59,.06);
    border:1px solid #f0ebe2;
  }
  .trust{padding:22px 14px;border-color:#f0ebe2}
  .trust .icon-circle{width:50px;height:50px;margin-bottom:10px}
  .trust .trust-title{font-size:13.5px}

  /* ── service cards ────────────────────────────────────────────────
     keep 1-col (too narrow for 2) but polish each card              */
  .service-grid{gap:12px}
  .service-card{
    padding:20px 18px;border-radius:16px;gap:14px;
    box-shadow:0 6px 20px rgba(23,45,59,.06);
  }
  .service-card:before{opacity:1}         /* gold accent always visible */
  .service-card h3{font-size:15px}
  .service-card p{font-size:12px}
  .service-card .svc-icon{
    width:44px;height:44px;flex-basis:44px;border-radius:12px;
  }
  /* "Explore all" dark tile */
  .service-card.is-cta{border-radius:16px}

  /* ── feature band ("why choose us") ─────────────────────────────── */
  .feature-band{padding:clamp(44px,8vw,64px) 0}
  .feature-grid{
    grid-template-columns:1fr 1fr!important;gap:0;
  }
  .feature{
    padding:18px 14px;
    border-bottom:1px solid #e3ddd0;
    border-right:0!important;
  }
  .feature:nth-child(odd){border-right:1px solid #e3ddd0!important}
  .feature:nth-last-child(-n+2){border-bottom:0}
  .feature h3{font-size:14.5px}
  .feature p{font-size:12px}
  .feature .svc-icon{
    width:42px;height:42px;border-radius:12px;margin-bottom:4px;
  }

  /* ── split sections (photo + copy) ────────────────────────────── */
  .split{gap:30px}
  .split>img{border-radius:16px;box-shadow:0 12px 35px rgba(23,45,59,.10)}
  .split h2{font-size:clamp(26px,6.5vw,34px)}
  .split p{font-size:14.5px}

  /* ── photo grid / quote ──────────────────────────────────────── */
  .photo-grid{gap:10px}
  .photo-grid img{border-radius:14px;height:220px}
  .quote-photo{border-radius:14px;font-size:clamp(22px,5.5vw,28px)}

  /* ── founder section ─────────────────────────────────────────── */
  .founder img{border-radius:18px!important;height:260px}
  .founder h2{font-size:clamp(28px,7vw,38px)}
  .quote{padding-left:20px;font-size:16px}

  /* ── orbit / editorial cards ─────────────────────────────────── */
  .orbit-section{padding:60px 0}
  .orbit-head h2{font-size:clamp(30px,7.5vw,42px)}
  .orbit-card{
    min-height:250px;padding:26px;border-radius:20px;
    box-shadow:0 10px 30px rgba(17,42,56,.08);
  }
  .orbit-main{min-height:270px}
  .orbit-card h3{font-size:20px}
  .orbit-icon{
    width:50px;height:50px;border-radius:14px;
    font-size:22px;margin:24px 0 16px;
  }

  /* ── stat strip ──────────────────────────────────────────────── */
  .stat-strip{border-radius:14px;overflow:hidden;margin-top:14px}
  .stat-strip strong{font-size:24px}
  .stat-strip span{font-size:10px}
  .stat-note{font-size:15px}

  /* ── "how it works" steps ────────────────────────────────────── */
  .egc-steps{gap:12px}
  .egc-step{padding:24px 20px;border-radius:18px}
  .egc-step-num{font-size:28px}
  .egc-step h3{font-size:15.5px}
  .egc-steps-cta{margin-top:28px;gap:10px}
  .egc-steps-cta .btn{flex:0 1 auto}

  /* ── testimonial cards (home) ───────────────────────────────── */
  .egc-quotes{gap:12px}
  .egc-quote{padding:22px 18px;border-radius:18px}
  .egc-quote-mark{font-size:40px}
  .egc-quote blockquote{font-size:13.5px;margin:10px 0 14px}

  /* ── content cards (testimonials / blog pages) ──────────────── */
  .egc-card-grid{gap:14px}
  .egc-card{
    border-radius:18px;padding:22px 20px;
    box-shadow:0 6px 22px rgba(23,45,59,.06);
  }

  /* ── service detail cards (services page, dark cards) ────────── */
  .service-detail-grid{gap:16px}
  .service-book-card{border-radius:18px;padding:28px 20px}
  .service-book-card h3{font-size:1.25rem}
  .service-icon-wrapper{width:78px;height:78px;margin-bottom:18px}
  .service-icon-wrapper .ico{width:30px;height:30px}
  .service-features li{font-size:.82rem;padding:6px 0}
  .btn-book-service{padding:12px 26px;font-size:12px}

  /* ── jump chips (services page) ────────────────────────────── */
  .egc-svc-jump{border-radius:14px;padding:12px 14px}
  .egc-svc-chips a{font-size:11.5px;padding:6px 11px}

  /* ── value cards (about page) ──────────────────────────────── */
  .value-grid{
    grid-template-columns:1fr 1fr!important;gap:14px;
  }
  .value-card{padding:28px 18px 24px;border-radius:18px}
  .value-badge{width:72px;height:72px;margin-bottom:16px}
  .value-badge .ico{width:30px;height:30px}
  .value-card h3{font-size:1.1rem}
  .value-card p{font-size:.85rem}

  /* ── contact page ─────────────────────────────────────────── */
  .contact-card{border-radius:18px;padding:24px 20px}
  .contact-item .ico-badge{
    width:44px;height:44px;flex-basis:44px;border-radius:12px;
  }
  .form-card{border-radius:18px;padding:24px 20px}
  .form-grid{gap:14px}

  /* ── booking page ────────────────────────────────────────── */
  .booking-side{border-radius:18px;padding:28px 22px}
  .promise-list li{font-size:13.5px}

  /* ── CTA band ───────────────────────────────────────────── */
  .cta-inner{padding:36px 0;gap:20px}
  .cta h2{font-size:clamp(24px,6vw,32px)}
  .cta .btn{flex:0 1 auto}

  /* ── FAQ (services page) ───────────────────────────────── */
  .egc-faq details{border-radius:14px}
  .egc-faq summary{padding:15px 16px;font-size:14px}
  .egc-faq .egc-faq-body{padding:12px 16px 16px}

  /* ── footer ──────────────────────────────────────────────── */
  footer{padding:34px 0 20px}
  .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:24px 18px;
  }
  .footer-col h2{font-size:10.5px;margin-bottom:12px}
  .footer-col ul{gap:8px}
  .footer-col ul a{font-size:13px}
  .footer-brand p{font-size:12.5px}
  .footer-brand .logo{width:140px}
  .egc-footer-cta{
    border-radius:16px;padding:24px 20px;margin-bottom:28px;
  }
  .egc-footer-cta h2{font-size:clamp(20px,5vw,26px)}
  .egc-footer-cta .cta-actions{gap:8px}
  .egc-footer-cta .btn{min-height:46px;padding:12px 18px;font-size:13px}
  .footer-contact li{gap:10px}
  .footer-contact .ico-badge{
    width:30px;height:30px;flex-basis:30px;border-radius:8px;
  }
  .footer-contact .ico-badge .ico{width:14px;height:14px}
  .footer-bottom{
    margin-top:22px;padding-top:16px;
    flex-direction:row;align-items:center;justify-content:space-between;
  }
  .egc-to-top{padding:7px 12px;font-size:11px}

  /* ── breadcrumb ───────────────────────────────────────── */
  .breadcrumb{font-size:11px}

  /* ── article body (blog post) ──────────────────────────── */
  .egc-article{padding:0 2%}
  .egc-article h2{font-size:clamp(22px,5.5vw,28px)}
  .egc-article .article-cta{border-radius:16px;padding:20px}
}


/* ===================================================================
   3.  VERY SMALL PHONE  (≤ 380 px)
   =================================================================== */
@media (max-width:380px){
  .hero-copy h1{font-size:30px}
  .footer-grid{grid-template-columns:1fr!important}
  .value-grid{grid-template-columns:1fr!important}
  .feature-grid{grid-template-columns:1fr!important}
  .feature{border-right:0!important}
  .stat-strip{grid-template-columns:1fr!important}
  .stat-strip>div{border-right:0;border-bottom:1px solid rgba(17,42,56,.12)}
  .stat-strip>div:last-child{border-bottom:0}
}
