/* BioCare Lab v4.3.0 — mobile polish requested 2026-09 */
@media (max-width:700px){
  /* Section headings: centered and balanced on mobile */
  .packages-section .section-head,
  .latest-articles .section-head{display:flex!important;flex-direction:column;align-items:center!important;text-align:center!important;gap:8px;margin-bottom:26px}
  .packages-section .section-head>div,.latest-articles .section-head>div{width:100%}
  .packages-section .section-head h2,.latest-articles .section-head h2{max-width:320px;margin-inline:auto;font-size:29px;line-height:1.35;text-wrap:balance}
  .packages-section .section-head p,.latest-articles .section-head p{margin:8px auto 0;max-width:340px}
  .packages-section .section-head .text-link,.latest-articles .section-head .text-link{margin-top:4px}

  /* Package cards: all primary content centered */
  .package-card{text-align:center;padding:23px 20px}
  .package-card-head{justify-content:center;flex-direction:column;gap:5px}
  .package-card .package-icon{margin-inline:auto}
  .package-card h3{padding-inline:0!important;margin:13px auto 8px;font-size:21px;line-height:1.45}
  .package-card .package-desc{max-width:330px;margin-inline:auto}
  .package-price-label{text-align:center;margin-top:18px}
  .package-card .price{justify-content:center;direction:rtl;margin:3px 0 15px}
  body.lang-en .package-card .price{direction:ltr}
  .package-saving{inset-block-start:16px;inset-inline-start:16px;inset-inline-end:auto}
  .package-actions{grid-template-columns:1fr;max-width:330px;margin-inline:auto}

  /* Home visit: remove the oversized dead gap below the van image */
  .home-visit{display:flex!important;flex-direction:column-reverse;min-height:0;border-radius:24px}
  .home-art-photo{width:100%;min-height:0!important;height:auto!important;aspect-ratio:16/10}
  .home-art-photo img{display:block;width:100%;height:100%;object-fit:cover}
  .home-copy{padding:28px 22px 30px;text-align:center}
  .home-copy p{margin:8px auto 18px;max-width:340px}

  /* Health guide heading centered while keeping list easy to scan */
  .follow-guide .split>div:last-child{text-align:center;width:100%}
  .follow-guide h2{max-width:330px;margin-inline:auto;text-align:center;text-wrap:balance}
  .follow-guide .check-list{text-align:right;max-width:350px;margin:22px auto}
  body.lang-en .follow-guide .check-list{text-align:left}

  /* Offer: premium animated card instead of a flat red block */
  .offer-band{position:relative;overflow:hidden;width:calc(100% - 24px);padding:0;margin:20px auto 30px;border-radius:28px;background:linear-gradient(145deg,#075ca8 0%,#0879df 50%,#14b9d6 100%);box-shadow:0 22px 55px rgba(7,80,150,.22);isolation:isolate}
  .offer-band:before,.offer-band:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:-1}
  .offer-band:before{width:220px;height:220px;top:-120px;right:-80px;background:rgba(255,255,255,.15);animation:offerFloat 6s ease-in-out infinite}
  .offer-band:after{width:170px;height:170px;bottom:-95px;left:-65px;border:26px solid rgba(255,255,255,.08);animation:offerFloat 7s 1s ease-in-out infinite reverse}
  .offer-band .container{display:flex;flex-direction:column;gap:10px;text-align:center;padding:30px 20px 26px}
  .offer-band .discount{order:0;display:inline-flex;align-items:center;justify-content:center;min-height:68px;max-width:none!important;padding:10px 22px;border-radius:20px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.22);backdrop-filter:blur(8px);font-size:30px!important;font-weight:900;line-height:1.2;color:#fff;animation:offerPulse 2.8s ease-in-out infinite}
  .offer-band h2{font-size:28px;margin:5px auto 2px;max-width:330px;color:#fff}
  .offer-band p{color:#e8f7ff;max-width:330px;margin:0 auto 8px}
  .offer-band .btn{width:100%;margin:5px 0 0;background:#fff;color:#0871cb!important;border-radius:14px}

  /* One compact, animated footer instead of two tall screens */
  .footer-combined{margin:18px 10px 82px;border-radius:28px;overflow:hidden;background:linear-gradient(155deg,#07366f,#052954 58%,#06467d);color:#fff;box-shadow:0 22px 55px rgba(4,35,70,.22);position:relative}
  .footer-combined:before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:rgba(20,185,214,.12);top:-150px;left:-90px;animation:footerGlow430 7s ease-in-out infinite;pointer-events:none}
  .footer-combined-inner{padding:28px 22px 20px;position:relative}
  .footer-book{text-align:center;padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.12)}
  .footer-book .footer-cta-label{font-size:11px}
  .footer-book h2{font-size:29px;line-height:1.3;margin:10px 0 8px;color:#fff}
  .footer-book h2 em{font-style:normal;color:#65e3ef}
  .footer-book>p{font-size:13px;color:#d8ebfb;margin:0 auto 16px;max-width:340px}
  .footer-book-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .footer-book-actions .btn{padding:11px 8px;font-size:11px;box-shadow:none}
  .footer-book-actions .footer-primary{background:#fff;color:#0756a0!important}
  .footer-book-actions .footer-secondary{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.24)}
  .footer-book-actions .footer-whatsapp{grid-column:1/-1;color:#7ff0b2;border:0;padding:7px;font-size:12px}
  .footer-mini-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;padding-top:20px}
  .footer-mini-grid h4{font-size:13px;margin:0 0 8px;color:#fff}
  .footer-mini-grid p,.footer-mini-grid a,.footer-mini-grid li{font-size:11px;color:#d6e8f8}
  .footer-mini-grid .brand{font-size:15px;color:#fff;margin-bottom:7px}
  .footer-mini-grid .brand-mark{width:29px;height:29px;font-size:13px}
  .footer-mini-grid ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}
  .footer-contact{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;padding-top:4px;border-top:1px solid rgba(255,255,255,.09)}
  .footer-contact p{margin:5px 0}
  .footer-combined .copyright{text-align:center;border-top:1px solid rgba(255,255,255,.1);margin-top:12px;padding-top:12px;font-size:10px;color:#a9c8e4}
}
@keyframes offerFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,14px,0) scale(1.06)}}
@keyframes offerPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,0)}50%{transform:scale(1.025);box-shadow:0 0 0 7px rgba(255,255,255,.045)}}
@keyframes footerGlow430{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.15);opacity:1}}
@media(prefers-reduced-motion:reduce){.offer-band:before,.offer-band:after,.offer-band .discount,.footer-combined:before{animation:none!important}}

/* v4.3.1 — approved red offer card */
@media (max-width:700px){
  .offer-band{background:linear-gradient(145deg,#c91f2b 0%,#e72f38 48%,#f25a5f 100%);box-shadow:0 22px 55px rgba(190,31,43,.24)}
  .offer-band:before{background:rgba(255,255,255,.13)}
  .offer-band:after{border-color:rgba(255,255,255,.09)}
  .offer-band .discount{background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.06));border-color:rgba(255,255,255,.3);text-shadow:0 3px 12px rgba(120,0,0,.18)}
  .offer-band p{color:#fff1f2}
  .offer-band .btn{color:#d72732!important;box-shadow:0 10px 24px rgba(116,9,17,.14)}
}

/* v4.3.4 — Heliopolis branch card on homepage */
.home-branch-section{padding-top:18px;padding-bottom:42px}
.home-branch-card{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center;padding:26px 28px;border:1px solid rgba(8,121,223,.16);border-radius:28px;background:linear-gradient(135deg,#fff 0%,#f5fbff 58%,#edf8ff 100%);box-shadow:0 18px 50px rgba(7,54,111,.08)}
.home-branch-card:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(20,185,214,.08);inset-inline-end:-65px;top:-90px;pointer-events:none}
.home-branch-icon{position:relative;z-index:1;display:grid;place-items:center;width:68px;height:68px;border-radius:22px;background:linear-gradient(145deg,#0879df,#14b9d6);color:#fff;font-size:34px;box-shadow:0 12px 28px rgba(8,121,223,.22)}
.home-branch-copy{position:relative;z-index:1;min-width:0}.home-branch-copy h2{margin:5px 0 12px;color:#07366f}.home-branch-details{display:grid;gap:6px}.home-branch-details p{margin:0;color:#40546c;line-height:1.75}.home-branch-details strong{color:#173a60}.home-branch-details a{color:#0879df;font-weight:800;text-decoration:none}
.home-branch-actions{position:relative;z-index:1;display:grid;gap:10px;min-width:220px}.home-branch-actions .btn{justify-content:center;text-align:center;white-space:nowrap}.home-branch-map{background:linear-gradient(135deg,#0879df,#0b91df);color:#fff}.home-branch-call{background:#fff;color:#07366f;border:1px solid rgba(7,54,111,.16)}
@media(max-width:800px){.home-branch-section{padding:8px 0 26px}.home-branch-card{grid-template-columns:1fr;text-align:center;gap:15px;padding:23px 17px;border-radius:24px}.home-branch-icon{margin:auto;width:62px;height:62px;border-radius:20px}.home-branch-copy h2{font-size:25px}.home-branch-details{gap:8px}.home-branch-details p{font-size:14px;line-height:1.7}.home-branch-actions{min-width:0;width:100%;grid-template-columns:1fr}.home-branch-actions .btn{width:100%;min-height:48px}.home-branch-card:after{width:140px;height:140px}}

/* v4.3.5 — redesigned home branch card */
.home-branch-card-v2{grid-template-columns:minmax(360px,.9fr) minmax(0,1.2fr);gap:34px;padding:30px;direction:ltr;align-items:stretch}
.home-branch-card-v2 .home-branch-copy{direction:rtl;padding:8px 8px 4px;text-align:right}
.home-branch-map-panel{position:relative;z-index:1;display:flex;flex-direction:column;min-height:330px;border-radius:24px;overflow:hidden;background:#eef5f8;border:1px solid rgba(8,121,223,.14);text-decoration:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)}
.home-map-grid{position:relative;flex:1;min-height:250px;overflow:hidden;background:linear-gradient(35deg,#edf1f2 0 48%,#e1f1e6 48% 62%,#f1f3f4 62%)}
.home-map-grid:before,.home-map-grid:after{content:"";position:absolute;background:#fff;box-shadow:0 0 0 1px #d7e0e5}
.home-map-grid:before{width:135%;height:18px;left:-15%;top:42%;transform:rotate(-13deg)}.home-map-grid:after{width:18px;height:140%;left:65%;top:-20%;transform:rotate(8deg)}
.map-road{position:absolute;display:block;background:#fff;border:1px solid #dfe6e9;border-radius:20px}.map-road.r1{width:75%;height:10px;left:-4%;top:25%;transform:rotate(18deg)}.map-road.r2{width:62%;height:9px;left:18%;top:66%;transform:rotate(-22deg)}.map-road.r3{width:9px;height:70%;left:30%;top:8%;transform:rotate(10deg)}.map-road.r4{width:9px;height:65%;right:18%;top:22%;transform:rotate(-12deg)}
.map-pin{position:absolute;left:43%;top:44%;display:grid;place-items:center;width:42px;height:42px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#e53935;color:#fff;font-size:0;box-shadow:0 8px 20px rgba(229,57,53,.3);z-index:3}.map-pin:after{content:"";width:12px;height:12px;background:#fff;border-radius:50%}
.map-label{position:absolute;left:49%;top:37%;z-index:2;padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.94);color:#173a60;font-weight:800;box-shadow:0 8px 22px rgba(7,54,111,.1);white-space:nowrap}.map-label small{display:block;margin-top:2px;color:#6a7b8d;font-weight:600}
.home-map-cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:68px;padding:14px 18px;background:linear-gradient(135deg,#0879df,#0b9fe0);color:#fff;font-weight:900;font-size:17px}.home-map-cta b{font-size:24px}.home-map-cta i{font-style:normal;margin-inline-start:auto;font-size:22px}
.home-branch-title-row{display:flex;align-items:center;justify-content:flex-start;gap:16px}.home-branch-title-row h2{margin:7px 0 14px}.home-branch-card-v2 .home-branch-icon{flex:0 0 58px;width:58px;height:58px;border-radius:18px;font-size:27px}
.home-branch-card-v2 .home-branch-details{gap:10px}.home-branch-card-v2 .home-branch-details p{display:flex;align-items:flex-start;gap:7px;font-size:16px}.branch-detail-icon{display:inline-grid;place-items:center;flex:0 0 24px;color:#0879df;font-weight:900}.home-branch-card-v2 .home-branch-phone{color:#0879df!important;font-weight:900!important;text-decoration:none!important;direction:ltr;unicode-bidi:isolate}
.home-branch-benefits{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;border:1px solid rgba(8,121,223,.1);border-radius:18px;background:rgba(239,249,255,.78);overflow:hidden}.home-branch-benefits span{display:grid;place-items:center;gap:5px;min-height:88px;padding:12px 8px;text-align:center;color:#173a60;font-size:13px;font-weight:800;border-inline-start:1px solid rgba(8,121,223,.1)}.home-branch-benefits span:first-child{border-inline-start:0}.home-branch-benefits b{color:#0879df;font-size:21px}.home-branch-card-v2 .home-branch-call{display:inline-flex;margin-top:16px;min-height:46px;padding:10px 18px;color:#07366f!important;background:#fff;border:1px solid rgba(7,54,111,.16)}
@media(max-width:800px){.home-branch-card-v2{grid-template-columns:1fr;gap:18px;padding:17px;direction:rtl}.home-branch-map-panel{order:2;min-height:280px}.home-map-grid{min-height:210px}.home-map-cta{min-height:58px;font-size:15px}.home-branch-card-v2 .home-branch-copy{order:1;padding:2px;text-align:center}.home-branch-title-row{justify-content:center;flex-direction:column-reverse;gap:6px}.home-branch-title-row h2{margin:4px 0 10px}.home-branch-card-v2 .home-branch-details p{justify-content:center;flex-wrap:wrap;font-size:14px}.home-branch-benefits{margin-top:17px}.home-branch-benefits span{min-height:78px;font-size:11px;padding:10px 4px}.home-branch-card-v2 .home-branch-call{width:100%;justify-content:center}.map-label{left:44%;top:35%;font-size:12px;padding:8px 10px}.map-pin{left:37%;top:43%}}
