/* ==========================================================
   custom.css  -  Brampton hero + promo boxes
   Loaded AFTER main.css (main.css is built from /scss, so
   keep manual edits here so they are not overwritten).

   HEIGHT SETTINGS - change the numbers below:
   --hero-h         top slider height on desktop
   --hero-h-tablet  top slider height on tablets (under 992px)
   --hero-h-mobile  top slider height on phones (under 576px)
   --promo-h        minimum height of each promo box
   ========================================================== */
:root{
  --hero-h:780px;
  --hero-h-tablet:max(380px, calc(100vh - 265px));
  --hero-h-mobile:max(400px, calc(100vh - 260px));
  --promo-h:310px;
  --info-pad:18px;        /* up/down padding of the red address bar */
  --hero-title-w:860px;  /* max width of the slider heading - smaller = narrower */
}
/* phones: use the "small viewport" height so the address bar is not pushed below the browser's toolbar */
@supports (height:100svh){:root{--hero-h-tablet:max(380px, calc(100svh - 265px));--hero-h-mobile:max(400px, calc(100svh - 260px))}}

/* Shorter hero so promo blocks show on first screen */
.hero-short .flexslider .slides li.flex-slide{min-height:0;height:var(--hero-h)}
.hero-short .intro_layers_wrapper{top:0 !important;height:100%;width:70%;align-items:center}
.hero-short .intro_layers{padding:0 50px 0 5px}
.hero-short h1{font-size:44px;line-height:1.15;margin:0;max-width:var(--hero-title-w);padding-right:40px}
.hero-short h2.item-content{padding:14px 0 18px !important;margin:0}
.hero-short .divider-20{display:none}
.hero-short .flexslider .flex-control-nav{bottom:12px;right:auto;left:50%;transform:translateX(-50%)}
@media (max-width:991px){.hero-short .intro_layers_wrapper{width:auto}.hero-short h1{font-size:30px;max-width:100%;padding-right:0}.hero-short .flexslider .slides li.flex-slide{height:var(--hero-h-tablet)}}
@media (max-width:575px){
  .hero-short .intro_layers_wrapper{text-align:left !important}
  .hero-short .intro_layers{padding:0 10px}
  .hero-short h1{font-size:20px;line-height:1.2}
  .hero-short h2.item-content{font-size:14px !important;padding:10px 0 6px !important}
  .hero-short .slide-button{text-align:left}
}
@media (max-width:575px){.hero-short .flexslider .slides li.flex-slide{height:var(--hero-h-mobile)}}
/* Promo blocks under slider */
.promo-blocks{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:0}
.promo-blocks .pb{position:relative;overflow:hidden;padding:34px 36px;min-height:var(--promo-h);display:flex;flex-direction:column;justify-content:space-between;text-align:left}
.promo-blocks .pb:after{content:"";position:absolute;right:-30px;top:-30px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.08)}
.promo-blocks .pb{color:#fff;background-size:cover;background-position:center;border-bottom:5px solid #ff1800}
.promo-blocks .pb:after{display:none}
.promo-blocks .pb+.pb{border-left:2px solid rgba(255,255,255,.18)}
@media (max-width:991px){.promo-blocks .pb+.pb{border-left:0;border-top:2px solid rgba(255,255,255,.18)}}
.promo-blocks .pb-r{background-image:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.72) 35%,rgba(0,0,0,0) 65%),url(../images/promo1.jpg)}
.promo-blocks .pb-k{background-image:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.72) 35%,rgba(0,0,0,0) 65%),url(../images/promo2.jpg)}
.promo-blocks .pb-y{background-image:linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.72) 35%,rgba(0,0,0,0) 65%),url(../images/promo3.jpg);background-position:center 30%}
.promo-blocks .pb-k,.promo-blocks .pb-y{color:#fff}
.promo-blocks h3{text-shadow:0 1px 6px rgba(0,0,0,.5);margin:0;font-size:15px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:inherit}
.promo-blocks .pb-big{font-size:64px;font-weight:800;line-height:1;margin:8px 0}
.promo-blocks .pb-big sup{font-size:26px;vertical-align:top;position:relative;top:8px}
.promo-blocks .pb-big small{font-size:18px;font-weight:700}
.promo-blocks .pb-big{color:#fff000}
.promo-blocks p{margin:0 0 14px;font-size:13px;color:inherit}
.promo-blocks .pb-btn{display:inline-block;align-self:flex-start;padding:2px 5px;font-size:14px;font-weight:600;color:#fff;background:#ff1800;text-decoration:none}
.promo-blocks .pb-btn:hover{color:#fff;opacity:.85}
@media (max-width:991px){.promo-blocks{grid-template-columns:1fr}.promo-blocks 
.pb{min-height:0;padding:26px 24px}.promo-blocks .pb-big{font-size:52px}}

/* Promo text: left-aligned, vertically centred, shorter sentence */
.promo-blocks .pb{justify-content:center;align-items:flex-start}
.promo-blocks .pb>div+div{margin-top:10px}
.promo-blocks p{max-width:215px;min-height:48px}
@media (max-width:991px){.promo-blocks p{max-width:300px;min-height:0}}

/* Address bar under slider */
.slider-info{background:#000;color:#fff;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;padding:var(--info-pad) 20px;font-size:15px;font-weight:600;text-align:center}
.slider-info a,.slider-info .si-item{color:#fff;text-decoration:none}
.slider-info a:hover{color:#fff000}
.slider-info .si-dot{color:#ff1800;opacity:1}
@media (max-width:991px){.slider-info{font-size:14px;padding:12px 16px}.slider-info .si-item:last-child{flex-basis:100%}}
@media (max-width:575px){.slider-info{font-size:12.5px;gap:2px 8px;padding:10px 12px}.slider-info .si-h1,.slider-info .si-h2{display:block}.slider-info .si-comma{display:none}.slider-info .si-dot:nth-of-type(2){display:none}.slider-info .si-hours{text-align:center}}

/* "Our Services" button in slider: white box, left aligned */
.hero-short .slide-button{text-align:left}
.hero-short .slide-button .btn{background:#fff;border-color:#fff;color:#ff1800;font-weight:600}
.hero-short .slide-button .btn:hover{background:#fff000;border-color:#fff000;color:#000}

/* Slider list (replaces the h2) */
.hero-short .hero-list{margin:16px 0 6px !important;padding:0}
.hero-short .hero-list li{font-size:17px;line-height:1.5;color:#fff}
@media (max-width:575px){.hero-short .hero-list{margin:8px 0 4px !important}.hero-short .hero-list li{font-size:13.5px;line-height:1.35;margin:0 0 4px !important;padding-top:0;padding-bottom:0}}

/* ==========================================================
   FIRST SCREEN ON PHONES / TABLETS  (keep this block LAST)
   Slider fills the screen above the black address bar.
   Number = header height + address bar height. Raise it to
   make the slider shorter, lower it to make it taller.
   ========================================================== */
@media (max-width:991px){
  .hero-short .flexslider .slides li.flex-slide{height:max(380px, calc(100vh - 265px)) !important}
}
@supports (height:100svh){
  @media (max-width:991px){
    .hero-short .flexslider .slides li.flex-slide{height:max(380px, calc(100svh - 265px)) !important}
  }
}
@media (max-width:575px){
  .hero-short .flexslider .slides li.flex-slide{height:max(400px, calc(100vh - 260px)) !important}
}
@supports (height:100svh){
  @media (max-width:575px){
    .hero-short .flexslider .slides li.flex-slide{height:max(400px, calc(100svh - 260px)) !important}
  }
}

/* Phones: slider text sits near the bottom instead of the middle.
   Change the 28px to move it up (bigger) or down (smaller). */
@media (max-width:575px){
  .hero-short .intro_layers_wrapper{display:flex !important;flex-direction:column;justify-content:flex-end !important;align-items:stretch;padding-bottom:28px}
}

/* ==========================================================
   Promo boxes text: h2 = title, h3 = sentence under the price
   (same for all three boxes so they look even)
   ========================================================== */
.promo-blocks h2{margin:0 0 10px;padding:0;font-size:26px;line-height:1.2;font-weight:700;color:#fff;text-transform:none;letter-spacing:0;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.promo-blocks h3{margin:0 0 14px;padding:0;font-size:13px;line-height:24px;font-weight:400;color:#fff;text-transform:none;letter-spacing:0;text-shadow:none;max-width:215px;min-height:48px}
@media (max-width:991px){.promo-blocks h2{font-size:20px}.promo-blocks h3{font-size:10px;max-width:150px;min-height:0}}
/* space between promo heading and price - raise/lower the 18px */
.promo-blocks h2{margin-bottom:0}
.promo-blocks .pb-big{margin-top:18px}


/* ==========================================================
   FAQ accordion  (desktop: 2 columns | phone: swipe sideways)
   ========================================================== */
.faq-section{background:#f4f5f7;padding:70px 0 60px}
.faq-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 24px;align-items:start;max-width:1080px;margin:0 auto}
.faq-item{background:#fff;border-left:4px solid #ff1800;box-shadow:0 2px 10px rgba(0,0,0,.07);text-align:left}
.faq-item details summary{list-style:none;cursor:pointer;padding:18px 54px 18px 22px;font-size:17px;font-weight:600;line-height:1.35;color:#111;position:relative}
.faq-item details summary::-webkit-details-marker{display:none}
.faq-item details summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:#ff1800;color:#fff;font-size:20px;line-height:27px;text-align:center}
.faq-item details[open] summary::after{content:"\2212"}
.faq-item details[open] summary{color:#ff1800}
.faq-item .faq-a{padding:0 22px 20px}
.faq-item .faq-a p{margin:0;font-size:15px;line-height:1.65;color:#555}
.faq-item details[open] .faq-a{animation:faqIn .25s ease}
@keyframes faqIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.faq-hint{display:none}
@media (max-width:767px){
  .faq-section{padding:50px 0 40px}
  .faq-section .container{padding:0}
  .faq-section .col-12{padding:0 16px}
  .faq-list{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:4px 16px 18px;margin:0;max-width:none;scrollbar-width:none}
  .faq-list::-webkit-scrollbar{display:none}
  .faq-item{flex:0 0 80%;scroll-snap-align:start;scroll-margin-left:16px}
  .faq-item details summary{font-size:16px}
  .faq-hint{display:block;text-align:center;font-size:13px;font-weight:600;color:#888;margin:0}
}

/* Mobile Swipeable Card Grid Styles (Full Width Per Card) */
@media (max-width: 767px) {
    .row.mt-50 {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row.mt-50::-webkit-scrollbar {
        display: none; /* Hides the scrollbar on mobile devices */
    }

    .row.mt-50 > .col-md-4 {
        flex: 0 0 100%; /* Displays each card at full width */
        max-width: 100%;
        scroll-snap-align: start;
    }
}

@media (max-width:767px){
  .list-cols-2{flex-wrap:nowrap !important;margin-left:-6px !important;margin-right:-6px !important}
  .list-cols-2 > [class*="col-"]{flex:0 0 50% !important;max-width:50% !important;padding-left:10px !important;padding-right:4px !important}
  .list-cols-2 .list1,.list-cols-2 .list1 li{text-align:left !important}
  .list-cols-2 .list1{padding-left:12px !important}
  .list-cols-2 .list1 li{font-size:13.5px;line-height:1.35}
}

/* Bring the services list closer to the price boxes */
.service-content h5.text-uppercase {
  margin-top: 8px;
  margin-bottom: 8px;
}
.eo-price-row {
  margin-top: 8px;
}
@media (max-width: 767px) {
  .eo-price-row {
    margin-top: 8px;
  }
}


.swipe-hint{display:none}
@media (max-width:767px){
  .para-swipe{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 -15px;padding:12px 15px 14px;scrollbar-width:none}
  .para-swipe::-webkit-scrollbar{display:none}
  .para-swipe p{flex:0 0 100%;scroll-snap-align:start;scroll-margin-left:15px;margin:0 !important;padding:0 6px;background:none;border:0;box-shadow:none;font-size:15px;line-height:1.6}
@media (max-width:767px){
  .para-swipe p > br:first-child,.para-swipe h6 > br:first-child{display:none}
}  .swipe-hint{display:block;text-align:center;font-size:13px;font-weight:600;color:#888;margin:0 0 18px}
}

@media (max-width:767px){
  .para-swipe .para-slide,.para-swipe > h6{flex:0 0 100%;scroll-snap-align:start;scroll-margin-left:15px;padding:0 6px;margin:0}
  .para-swipe .para-slide p{flex:none;padding:0}
  .para-swipe > h6{font-size:15px;line-height:1.6}
}

.swipe-hint{display:none}

/* ==========================================================
   Google reviews  (desktop: 4 across | tablet: 2 | phone: 1 at a time, swipe)
   ========================================================== */
.gr-section{background:#fff;padding:70px 0 60px}
.gr-total{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;margin-top:10px;font-size:17px;color:#333}
.gr-total[hidden]{display:none}
.gr-total .gr-score{font-size:34px;font-weight:700;color:#111;line-height:1}
.gr-stars{color:#fbbc04;letter-spacing:2px;font-size:20px}
.gr-list{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;max-width:1170px;margin:0 auto}
.gr-card{margin:0;padding:22px 20px;background:#f4f5f7;border-radius:6px;display:flex;flex-direction:column;text-align:left}
.gr-card blockquote{margin:12px 0 16px;padding:0;border:0;font-size:15px;line-height:1.6;color:#444;font-style:normal;flex:1}
.gr-card figcaption b{display:block;color:#111;font-size:15px}
.gr-card figcaption span{font-size:12px;color:#888}
.gr-more{margin-top:34px}
.gr-btn{display:inline-block;padding:12px 26px;background:#ff1800;color:#fff;font-weight:600;font-size:15px;text-decoration:none}
.gr-btn:hover{color:#fff;opacity:.85}
@media (max-width:991px){.gr-list{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){
  .gr-section{padding:50px 0 44px}
  .gr-section .container{padding:0}
  .gr-section .col-12{padding:0 16px}
  .gr-list{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:4px 16px 14px;max-width:none;scrollbar-width:none}
  .gr-list::-webkit-scrollbar{display:none}
  .gr-card{flex:0 0 100%;scroll-snap-align:start;scroll-margin-left:16px;box-sizing:border-box}
  .gr-more{margin-top:20px}
}

.gr-total .gr-logo{flex:none}