/*
  V123 SAFE CLIENT FIXES
  IMPORTANT: this file intentionally does not target the original opening-animation elements.
  The original V114 hero remains fully controlled by home-original.css/js.
*/

}

@media (max-width:991px){
  body.v4-home{padding-bottom:0!important}
  body.v4-home .mobile-sticky-cta{display:none!important;visibility:hidden!important;pointer-events:none!important}

  /* Branded mobile header. Does not affect the hero animation. */
  body.v4-home .final-nav{
    display:block!important;position:sticky!important;top:0!important;z-index:1100!important;
    background:rgba(255,250,243,.985)!important;border-bottom:1px solid rgba(49,92,43,.1)!important;
    box-shadow:0 5px 18px rgba(49,92,43,.055)!important;isolation:isolate!important;overflow:visible!important;
  }
  body.v4-home .final-nav::before,
  body.v4-home .final-nav::after{
    content:"✿";position:absolute;pointer-events:none;z-index:0;color:#f47f9e;
    font:26px/1 Georgia,serif;filter:drop-shadow(0 3px 5px rgba(49,92,43,.08));opacity:.78;
  }
  body.v4-home .final-nav::before{left:5px;bottom:-7px;transform:rotate(-12deg)}
  body.v4-home .final-nav::after{right:5px;top:-6px;font-size:21px;transform:rotate(13deg);opacity:.66}
  body.v4-home .final-nav .navin{position:relative;z-index:1;width:92vw!important;height:74px!important;min-height:74px!important;display:flex!important;align-items:center!important;gap:9px!important}
  body.v4-home .final-brand{display:flex!important;align-items:center!important;margin-right:auto!important;min-width:0!important}
  body.v4-home .final-brand img{width:148px!important;height:58px!important;max-width:39vw!important;object-fit:contain!important;object-position:left center!important}
  body.v4-home .final-nav .links{display:none!important}
  body.v4-home .final-nav .nav-cta{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
    width:76px!important;min-width:76px!important;height:44px!important;min-height:44px!important;padding:0!important;
    border-radius:999px!important;font-size:0!important;line-height:1!important;white-space:nowrap!important;
  }
  body.v4-home .final-nav .nav-cta::before{content:"Tour";font-size:13px;font-weight:800}
  body.v4-home .final-nav .mobile-toggle{
    display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;
    padding:0!important;margin:0!important;border:1px solid rgba(49,92,43,.15)!important;border-radius:50%!important;
    background:rgba(255,255,255,.72)!important;color:#315c2b!important;font-size:22px!important;line-height:1!important;
  }
  body.v4-home .final-nav .mobile-menu{
    position:absolute!important;z-index:1101!important;top:74px!important;left:0!important;right:0!important;
    max-height:calc(100dvh - 74px)!important;overflow:auto!important;padding:18px 5vw 24px!important;
    background:#fffaf3!important;border-bottom:1px solid rgba(49,92,43,.12)!important;
    box-shadow:0 20px 38px rgba(39,69,42,.13)!important;
  }
  body.v4-home .final-nav .mobile-menu.open::before{
    content:"✿  SHILOH’S GARDEN  ✿"!important;display:block!important;width:auto!important;height:auto!important;
    margin:0 0 12px!important;background:none!important;color:#315c2b!important;font:800 11px/1.2 Arial,sans-serif!important;
    letter-spacing:.12em!important;text-align:center!important;
  }
  body.v4-home .final-nav .mobile-menu a{padding:13px 3px!important;font-size:15px!important;line-height:1.25!important;border-bottom:1px solid rgba(49,92,43,.09)!important;color:#315c2b!important;font-weight:800!important}
  body.v4-home .final-nav .mobile-menu .mobile-enroll{min-height:50px!important;margin-top:16px!important;padding:14px 18px!important;border:0!important;border-radius:999px!important;background:#e34c7b!important;color:#fff!important;text-align:center!important}

  /* Client mobile readability/spacing fixes, scoped only to sections AFTER the original hero. */
  body.v4-home .now-enrolling-bar,
  body.v4-home .ref-cards,
  body.v4-home .approved-highlights,
  body.v4-home .garden-gallery,
  body.v4-home .eight-page-explorer,
  body.v4-home .home-tour,
  body.v4-home .home-faq,
  body.v4-home .v4-final{font-size:16px!important;line-height:1.55!important}

  body.v4-home .now-enrolling-bar{padding:20px 0!important}
  body.v4-home .now-enrolling-inner{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;align-items:start!important}
  body.v4-home .now-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:8px!important}
  body.v4-home .now-actions a{min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:11px 12px!important;font-size:13px!important}

  body.v4-home .curious-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.v4-home .curious-info{min-height:0!important;height:auto!important;padding:20px!important}
  body.v4-home .curious-info small{font-size:14px!important;line-height:1.45!important}

  body.v4-home .ref-cards{padding:58px 5vw!important}
  body.v4-home .ref-card-grid{gap:14px!important}
  body.v4-home .ref-card{min-height:0!important;padding:24px 18px!important;border-radius:24px!important}
  body.v4-home .ref-card p{font-size:15px!important;line-height:1.5!important}

  body.v4-home .approved-highlights,
  body.v4-home .eight-page-explorer,
  body.v4-home .home-faq{padding-left:5vw!important;padding-right:5vw!important}
  body.v4-home .approved-grid{gap:14px!important}
  body.v4-home .approved-grid>a{min-height:0!important;padding:22px!important}

  body.v4-home .garden-gallery{padding-left:5vw!important;padding-right:5vw!important;gap:28px!important}
  body.v4-home .gallery-copy>p:not(.ref-eyebrow){font-size:16px!important;line-height:1.55!important}

  body.v4-home .home-tour{padding-left:5vw!important;padding-right:5vw!important;gap:28px!important}
  body.v4-home .tour-form form{gap:12px!important}
  body.v4-home .tour-form input,
  body.v4-home .tour-form textarea{min-height:52px!important;font-size:16px!important}
  body.v4-home .tour-form textarea{min-height:118px!important}
  body.v4-home .tour-form button{min-height:50px!important;font-size:14px!important}

  body.v4-home .final-footer{padding:46px 0 24px!important}
  body.v4-home .final-footer .footergrid{grid-template-columns:1fr 1fr!important;gap:24px 18px!important}
  body.v4-home .final-footer .footergrid>div:first-child{grid-column:1/-1!important;padding-bottom:18px!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
  body.v4-home .final-footer .footergrid>div:last-child{grid-column:1/-1!important}
  body.v4-home .final-footer .footer-logo img{width:190px!important;max-width:55vw!important}
  body.v4-home .final-footer h4{font-size:18px!important;margin:0 0 10px!important}
  body.v4-home .final-footer a{margin:8px 0!important;font-size:14px!important;line-height:1.4!important}
  body.v4-home .final-footer p,body.v4-home .final-footer .footer-contact{font-size:14.5px!important;line-height:1.55!important;color:#eef3eb!important}
}

@media (max-width:767px){
  body.v4-home .final-nav .navin{height:72px!important;min-height:72px!important}
  body.v4-home .final-brand img{width:142px!important;height:56px!important}
  body.v4-home .final-nav .mobile-menu{top:72px!important;max-height:calc(100dvh - 72px)!important}
  body.v4-home .now-actions{grid-template-columns:1fr!important}
  body.v4-home .curious-info-grid,body.v4-home .approved-grid{grid-template-columns:1fr!important}
  body.v4-home .ref-cards,body.v4-home .approved-highlights,body.v4-home .garden-gallery,body.v4-home .eight-page-explorer,body.v4-home .home-tour,body.v4-home .home-faq{padding-top:48px!important;padding-bottom:48px!important}
}

@media (max-width:479px){
  body.v4-home .final-nav .navin{width:calc(100% - 28px)!important;height:70px!important;min-height:70px!important;gap:8px!important}
  body.v4-home .final-brand img{width:132px!important;height:52px!important;max-width:39vw!important}
  body.v4-home .final-nav .nav-cta{width:70px!important;min-width:70px!important;height:42px!important;min-height:42px!important}
  body.v4-home .final-nav .mobile-toggle{width:40px!important;height:40px!important;flex-basis:40px!important;font-size:21px!important}
  body.v4-home .final-nav .mobile-menu{top:70px!important;max-height:calc(100dvh - 70px)!important}
  body.v4-home .final-footer .footergrid{grid-template-columns:1fr!important;gap:20px!important}
  body.v4-home .final-footer .footergrid>div,body.v4-home .final-footer .footergrid>div:first-child,body.v4-home .final-footer .footergrid>div:last-child{grid-column:1!important}
}


/* V141 — Homepage final mobile client audit (post-hero only). */
.mobile-sticky-cta{display:none!important;visibility:hidden!important;pointer-events:none!important}
#netlify-badge,.netlify-badge,[data-netlify-badge]{display:none!important}
.footer-instagram{
  display:inline-flex!important;align-items:center!important;gap:8px!important;width:fit-content!important;max-width:100%!important;
  margin:10px 0 0!important;padding:8px 11px!important;border:1px solid rgba(255,255,255,.16)!important;
  border-radius:999px!important;background:rgba(255,255,255,.055)!important;color:#eef3eb!important;
  font-size:13.5px!important;font-weight:800!important;line-height:1.2!important;
}
.footer-instagram svg{width:17px!important;height:17px!important;flex:0 0 17px!important}

@media(max-width:991px){
  body.v4-home .sg-logo img{width:118px!important;height:57px!important;max-width:36vw!important}
  body.v4-home .now-enrolling-bar,
  body.v4-home .ref-cards,
  body.v4-home .approved-highlights,
  body.v4-home .garden-gallery,
  body.v4-home .eight-page-explorer,
  body.v4-home .home-tour,
  body.v4-home .home-faq,
  body.v4-home .v4-final{font-size:16px!important;line-height:1.55!important}
  body.v4-home .ref-card p,body.v4-home .gallery-copy>p:not(.ref-eyebrow),
  body.v4-home .tour-form>p{font-size:16px!important;line-height:1.55!important}
  body.v4-home .btn,body.v4-home .now-actions a,body.v4-home .tour-form button{
    min-height:50px!important;padding:12px 18px!important;border-radius:999px!important;font-size:14px!important;font-weight:800!important;
  }
  body.v4-home .approved-highlights,body.v4-home .garden-gallery,
  body.v4-home .eight-page-explorer,body.v4-home .home-tour,body.v4-home .home-faq{padding-top:50px!important;padding-bottom:50px!important}
  body.v4-home .ref-card,body.v4-home .approved-grid>a,body.v4-home .thrive-grid>a,
  body.v4-home .eight-page-grid>a{min-height:0!important;height:auto!important}
  body.v4-home .tour-form input,body.v4-home .tour-form textarea{font-size:16px!important;min-height:50px!important}
  body.v4-home .tour-form textarea{min-height:118px!important}
  body.v4-home .final-footer{padding:42px 0 24px!important}
  body.v4-home .final-footer .footergrid{grid-template-columns:1fr 1fr!important;gap:24px 18px!important;align-items:start!important}
  body.v4-home .final-footer .footergrid>div:first-child{grid-column:1/-1!important;padding-bottom:18px!important;border-bottom:1px solid rgba(255,255,255,.13)!important}
  body.v4-home .final-footer .footergrid>div:last-child{grid-column:1/-1!important}
  body.v4-home .final-footer .footer-logo img{width:190px!important;max-width:55vw!important}
  body.v4-home .final-footer h4{font-size:18px!important;margin:0 0 10px!important}
  body.v4-home .final-footer a:not(.footer-instagram){margin:8px 0!important;font-size:14px!important;line-height:1.4!important}
  body.v4-home .final-footer p,body.v4-home .final-footer .footer-contact{font-size:14.5px!important;line-height:1.55!important;color:#eef3eb!important;margin-bottom:0!important}
}
@media(max-width:479px){
  body.v4-home .sg-logo img{width:108px!important;height:52px!important;max-width:37vw!important}
  body.v4-home .final-footer .footergrid{grid-template-columns:1fr!important;gap:20px!important}
  body.v4-home .final-footer .footergrid>div,body.v4-home .final-footer .footergrid>div:first-child,body.v4-home .final-footer .footergrid>div:last-child{grid-column:1!important}
  body.v4-home .footer-instagram{font-size:13px!important;padding:8px 10px!important}
}


/* V142 — final targeted homepage mobile spacing/readability adjustments */
@media(max-width:991px){
  body.v4-home .v4-opening{height:230vh!important}
  body.v4-home .v4-bloom-copy{top:58%!important}
  body.v4-home .curious-info{min-height:155px!important;height:auto!important;padding:24px 20px!important;gap:7px!important;position:relative!important;overflow:hidden!important}
  body.v4-home .curious-info small{font-size:16px!important;line-height:1.48!important}
  body.v4-home .approved-grid span{font-size:16px!important;line-height:1.48!important;opacity:.9!important}
  body.v4-home .approved-grid strong{font-size:19px!important}
  body.v4-home .thrive-grid small,body.v4-home .eight-page-grid small{font-size:16px!important;line-height:1.5!important;opacity:.9!important}
  body.v4-home .home-tour .tour-form{grid-template-columns:1fr!important;gap:22px!important}
  body.v4-home .home-tour .form-side-copy{padding-bottom:0!important;margin-bottom:0!important}
  body.v4-home .home-tour .form-side-points{margin-top:20px!important;margin-bottom:0!important;gap:0!important}
  body.v4-home .home-tour .form-side-points span{padding:12px 0!important;font-size:15px!important;transform:none!important;opacity:1!important}
  body.v4-home .v4-number{font-size:13px!important}
  body.v4-home .final-footer h4{font-size:23px!important}
  body.v4-home .final-footer p,body.v4-home .final-footer .footer-contact{font-size:16px!important;line-height:1.58!important}
  body.v4-home .final-footer a:not(.footer-instagram){font-size:16px!important}
  body.v4-home .footer-instagram{font-size:15px!important;padding:10px 13px!important;gap:9px!important}
  body.v4-home .footer-instagram svg{width:20px!important;height:20px!important;flex:0 0 20px!important}
}
@media(max-width:479px){body.v4-home .v4-opening{height:215vh!important}body.v4-home .v4-bloom-copy{top:57%!important}}

/* V142-FLOWER-CARDS */
@media(max-width:991px){
 body.v4-home .curious-info::after{content:'✿';position:absolute;right:15px;top:12px;color:#f49ab2;font:700 18px Georgia,serif;opacity:.42;transform:rotate(8deg);pointer-events:none}
 body.v4-home .curious-info:nth-child(even)::after{left:15px;right:auto;top:auto;bottom:12px;transform:rotate(-9deg)}
}
