/* ==========================================================================
   LAYOUT
   --------------------------------------------------------------------------
   PURPOSE:
   This file controls GLOBAL STRUCTURE of the site.
   It answers: "How is the page arranged?"

   Layout styles deal with:
   - header positioning
   - footer structure
   - containers
   - navigation placement
   - responsive layout rules

   WHY THIS FILE EXISTS:
   - Keeps structure separate from design
   - Makes large-scale changes predictable
   - Prevents layout logic leaking into components

   RULES:
   - Focus on structure, not aesthetics
   - No button or card styling
   - No section-specific rules

   EXAMPLES OF WHAT BELONGS HERE:
   Header positioning
   Footer layout
   Nav structure
   Container widths
   Responsive breakpoints

   EXAMPLES OF WHAT DOES NOT BELONG HERE:
   Button colours
   Form fields
   Card shadows
   ACF section styling
   ========================================================================== */


.header {
  z-index: 9;
  width: 100%;
  /* background: var(--header-bg); */

}

.home .header {
  position: relative;
  z-index: 9;
  width: 100%;
  background: #ffffff;
 
}

 .navbar {
   padding: 12px 16px;
   border-radius: var(--radius-sm);
}



.headerbg.inner {
  background-color: var(--bg-light);
  background-image: url(images/header.png);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-black);
  padding: 1rem 0.5rem !important;
  margin: 0 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
/* .home .nav-link {
  color: var(--brand-black);
} */

.nav-link:hover,
.current-menu-item a.nav-link {
   color: var(--brand-primary); 
  opacity: 1;
  text-decoration: none;
}

/* .home .nav-link:hover,
.home .current-menu-item a.nav-link {
   color: var(--brand-white); 

} */

.current-menu-item a.nav-link, .nav-link:focus, .nav-link:hover {
  background-image: url('../images/activemenu.png');
  background-repeat: no-repeat;
  background-position: left;
}

.navbar .nav-item:last-child a {
  /* text-transform: uppercase;
  background-color: transparent;
  padding: 7px 18px !important;
  color: var(--brand-white) !important;
  border: 2px solid var(--brand-primary);
  border-radius: var(--btn-radius); */
  margin-right: 23px;
}

.navbar .nav-item:last-child a:hover {
  /* background-color: var(--brand-primary);
  color: var(--brand-white) !important; */
}


/* Reviews Stat Card */
.layout-reviews-stat-card .reviews-stat-card {
  background: #d10f13; /* your red */
  border-radius: 18px;
  padding: 35px 53px;
  color: #fff;
  overflow: hidden;
}

/* Left */



.layout-reviews-stat-card .reviews-stat-content {
  opacity: 0.95;
}

.layout-reviews-stat-card .reviews-stat-content ul {
  margin: 0;
  padding-left: 1.1rem;
}



/* Right */
.layout-reviews-stat-card .reviews-google-logo {
  width: 72px;
  height: auto;
}

.layout-reviews-stat-card .reviews-stat-number {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 10px 0;
  font-family: var(--font-heading);
}

.layout-reviews-stat-card .reviews-stat-label {
  font-size: 12px;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  /* opacity: 0.9; */
  line-height: 1.1;
  font-weight: 700;
  font-family: var(--font-heading);
}

.why-sos__right {
  aspect-ratio: 1 / 1;
}

/* Wrapper */
.feature-pills{
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-sos__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-card {
  
/* margin: 0 10px; */            /* Ensures it doesn't touch the screen edges on mobile */
}



/* Pill */
.feature-pill{
  /* display: flex; */
  /* align-items: center; */
  /* gap: 1rem; */
  /* padding: 1rem 1.25rem; */
  /* border-radius: 999px; */
  /* border: 2px solid rgba(212, 15, 22, 0.15); */ /* SOS red but soft */
  /* background: #fff; */
  /* box-shadow: 0px 0px 10px 3px #d40f1626; */
}

/* Icon */
.feature-pill__icon{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
}
.feature-pill__icon img{
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

/* Text */
.feature-pill__text{
  /* font-weight: 700; */
  font-size: 1rem;
  line-height: 1.2;
  color: #111;
}
#content li::marker {
    font-size: 1rem;
    line-height: 1;
}

    #content ul li::marker {
        font-size: 20px;
        line-height: 1;
        content: "- \a0";
    }
/* Layout: Icon Features Grid */
.layout-icon-feature-grid .icon-feature__icon, .layout-icon-feature-vertical .icon-feature-vertical__icon{
  width: 50px;
  height: auto;
  flex: 0 0 auto;
}

.layout-icon-feature-grid .icon-feature__icon i{
  font-size: 28px;
  color: #fff;
  line-height: 1;
}

.layout-icon-feature-grid .icon-feature__img{
  /* width: 34px; */
  /* height: 34px; */
  object-fit: contain;
}

/* tighten prose inside the feature text */
.layout-icon-feature-grid .icon-feature__text > *:last-child{
  margin-bottom: 0;
}

/* spacing / alignment tweaks to match screenshot */
.layout-icon-feature-grid .icon-feature__content {
  max-width: 520px;
}

.layout-icon-feature-vertical .icon-feature-vertical__content{
  max-width: 700px;
}



/* Mobile nav */
.mobilenav {
  background-color: #f0eeed;
  z-index: 99999;
  padding: 2rem;
}

.modal-dialog {
    margin: 1rem;
}

.offcanvas-header {
  padding: 0px;
}
  .mobilenav .menu-item a {color: var(--brand-white);padding-left: 0px!important;margin-left: 0px;font-size: 1.2rem;margin-right: 0px;padding-right: 0px!important;padding: 0.75rem 0rem !important;}
.mobilenav .menu-item a:hover, .mobilenav .current-menu-item a.nav-link {
  background-image: unset!important;
  color: var(--brand-white);
}
.mobilenav .btn-primary {
  font-size: 1rem;
}
.hamburger .hamburger-inner,
.hamburger .hamburger-inner::before,
.hamburger .hamburger-inner::after {
  background-color: var(--brand-secondary);
  border-radius: 5px;
}
button.hamburger.is-active .hamburger-inner,
button.hamburger.is-active .hamburger-inner::before,
button.hamburger.is-active .hamburger-inner::after {
  background-color: var(--brand-white);
}

/* Floating mobile phone icon */
.tel-mob {
  position: fixed;
  bottom: 10px;
  left: 14px;
  height: 49px;
  width: 49px;
  background-color: #afafaf;
  border-radius: 50%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  display: flex;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}

/* ==========================================================================
   HERO / GLOBAL LAYOUT
   ========================================================================== */
.hero {
  height: 100dvh !important;
  background-size: cover;
  background-position: 50%;
}

.hero-fullscreen {
  /* min-height: 100vh; */
  /* min-height: 100svh; */
  min-height: calc(100svh - var(--header-height));
}


.herotext {max-width: 100% !important;}
.heroshape {min-width: 125%;left: -26px!important;max-height: 53vh;/* display: none; */}
.custom-shape-clip {
    position: relative;
    width: 100%;
    /* Create the mask */
    -webkit-mask-image: url('../images/heroshape.png');
    mask-image: url('../images/heroshape.png');
    
    /* Ensure the mask covers the area properly */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    /* Maintain aspect ratio to match your shape */
    aspect-ratio: 1 / 1; 
    overflow: hidden;
}

.custom-shape-clip img, 
.custom-shape-clip video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 
==========================================================================
      FOOTER
========================================================================== 
*/

footer {
  /* background-color: var(--footer-bg); */
  /* color: var(--text-light); */
}

footer .footer-card {
  background-color: var(--brand-accent);
  border-radius: var(--radius-sm);
  padding: 30px 60px;
}

footer a:hover { color: var(--brand-secondary); }

footer .current-menu-item a.nav-link {
  color: var(--brand-accent) !important;
}

.footer-nav a {
    font-size: 0.8rem;
    color: var(--brand-black);
    font-weight: 900;
    font-family: var(--font-heading);
    text-decoration: none;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
opacity: 0.8;
}

#copy-foot {font-size: 0.7rem;color: var(--brand-black);/* text-align: center; */}

.footerlogo { max-width: 70px !important; }


/* services */
.service-icon-wrap img {
    width: 75px;
}
.prose > *:last-child{
  margin-bottom: 0;
}


/* store locator */

.store-columns{
  column-count: 4;
  column-gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.prose ul {
  padding-left: 1rem;
  list-style-position: outside;
}

.prose ul li {
margin-bottom: 0.5rem;}

.store-columns li{
  break-inside: avoid;
  margin: 0 0 .65rem 0;
}

.store-link{
  display: block;
  text-transform: uppercase;
  font-weight: 700!important;
  font-size: 0.85rem;
  color: #111;
  text-decoration: none;
}

.store-link:hover{
  text-decoration: underline;
}


/* news index */

.news-pagination .page-numbers {
  display: flex;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.news-pagination .page-numbers li a,
.news-pagination .page-numbers li span {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  text-decoration: none!important;
}

.news-pagination .page-numbers li .current {
  font-weight: 700;
}


/* Responsive */
@media (max-width: 991.98px){
  .store-columns{ column-count: 2; }
}
@media (max-width: 575.98px){
  .store-columns{ column-count: 1; }
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS + CONTAINER WIDTH
   ========================================================================== */
@media (min-width: 992px) {

  .tel-mob { display: none; }
  .hamburger { display: none !important; }
  #desktopmenu { display: flex !important; }

  .abbox { padding: 100px; }
  img.footerlogo { max-width: 100% !important; }

  
.herotext {max-width: 86% !important;}
.heroshape {min-width: 865px!important;left: -50px!important;max-height: unset;}

.footerlogo { max-width: 150px !important; }
.service-icon-wrap img {
    width: auto;
}

 .navbar {
   padding: 13px 20px;
   border-radius: var(--radius-sm);
}
  
#content ul li::marker {
    font-size: 30px;
    line-height: 1;
  content: "- \a0";
  left: 0;
}
  .news-pagination li::marker {
    display: none!important;
    content: none!important;
  }
.feature-pills{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.layout-reviews-stat-card .reviews-stat-card {
  background: #d10f13; /* your red */
  border-radius: 18px;
  padding: 73px 85px;
  color: #fff;
  overflow: hidden;
}
  .layout-reviews-stat-card .reviews-google-logo {
    width: auto;
    height: auto;
}
.layout-icon-feature-grid .icon-feature__icon, .layout-icon-feature-vertical .icon-feature-vertical__icon{
  width: auto;
  height: auto;
  flex: 0 0 auto;

}


.layout-reviews-stat-card .reviews-stat-label {
  font-size: 17px;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  /* opacity: 0.9; */
  line-height: 1.1;
  font-weight: 700;
  font-family: var(--font-heading);
}
  
}

@media (min-width: 1600px) {
  .container {/* max-width: 1600px; */}
  .navbar {
    max-width: 1600px;
    margin: 0 auto;
  }

  .herotext {/* max-width: 49% !important; */}
  .heroshape {min-width: 850px!important;}
  
}


/* ==========================================================================
   CONTAINER GUTTERS
   ========================================================================== */
.container,
.container-fluid {
  --bs-gutter-x: var(--container-gutter);
}

@media (max-width: 991.98px) {
  .container,
  .container-fluid {
    --bs-gutter-x: var(--container-gutter-mobile);
  }
} 