/* Boxes */
.jh-solid-box {background-color: #0f9691; color: #ffffff; margin: 1em 0; padding: 25px; border-radius: 6px; min-height: 0px; display: block;}
.jh-solid-box h3, .jh-solid-box p {color: #ffffff;}
.jh-solid-box h3 .fa {color: #40ddd8;}

.jh-solid-box2 {background-color: #ffffff; margin: 1em 0; padding: 25px; border-radius: 6px; border-top: 4px solid #f99617; box-shadow: 0 4px 15px rgba(0,0,0,0.12); min-height: 0px; display: block;}
.jh-solid-box2 h3 {color: #f99617 !important;}
.jh-solid-box2 p {color: #444444 !important;}

.jh-highlight {background-color: #f4f4f4; border-left: 5px solid #f99617; margin: 1em 0; padding: 25px; border-radius: 6px;}
.jh-highlight.text-center {border-left: 0; border-top: 5px solid #f99617;}

/* Equal height cards */
.equal-row {display: flex; flex-wrap: wrap;}
.equal-row:before, .equal-row:after {display: none;}
.equal-row > section {display: flex;}
.equal-row .jh-solid-box2 {width: 100%;}

/* Hero gradient */
.hero-gradient {background: linear-gradient(135deg, #064f4c 0%, #0f9691 55%, #1bb6b1 100%) !important;}
.hero-gradient h2 {text-shadow: 0 2px 8px rgba(0,0,0,0.25);}

/* CTA boxes */
.cta-box {background-color: #0f9691; border-bottom: 5px solid #f99617; padding: 35px 25px; margin: 30px 0; box-shadow: 0 6px 20px rgba(0,0,0,0.2);}
.cta-box h3 {font-size: 26px; margin-top: 0;}
.cta-box p {font-size: 17px;}

/* Text */
.text-white h2, .text-white h3, .text-white p, .text-white li {color: #ffffff;}
.intro-text {font-size: 18px;}
.intro-text-dark {font-size: 17px; color: #0f9691;}

/* Lists - remove theme icons */
.hero-ticks, .tick-list {list-style: none; padding: 0;}
.hero-ticks li:before, .tick-list li:before {display: none !important;}
.hero-ticks li, .tick-list li {padding-left: 0 !important;}

.hero-ticks {margin: 15px 0;}
.hero-ticks li {display: inline-block; margin: 0 15px 8px 0; font-weight: bold;}
.hero-ticks .fa {color: #ffffff;}

.tick-list li {margin-bottom: 8px;}
.tick-list .fa {color: #f99617;}

/* Buttons */
.cta-buttons {margin: 20px 0 10px;}
.btn-quote, .btn-call {display: inline-block; padding: 14px 28px; margin: 5px 8px 5px 0; border-radius: 30px; font-size: 17px; font-weight: bold; text-decoration: none !important;}

.btn-quote {background-color: #f99617; color: #ffffff !important; border: 2px solid #f99617; box-shadow: 0 4px 12px rgba(0,0,0,0.2);}
.btn-quote:hover {background-color: #e08000; border-color: #e08000;}

.btn-quote-white {background-color: #ffffff; color: #f99617 !important; border-color: #ffffff;}
.btn-quote-white:hover {background-color: #444444; border-color: #444444; color: #ffffff !important;}

.btn-call {background-color: transparent; color: #ffffff !important; border: 2px solid #ffffff;}
.btn-call:hover {background-color: #ffffff; color: #0f9691 !important;}

.btn-call-dark {color: #0f9691 !important; border-color: #0f9691;}
.btn-call-dark:hover {background-color: #0f9691; color: #ffffff !important;}

.btn-small {display: inline-block; padding: 8px 18px; border-radius: 30px; background-color: #f99617; color: #ffffff !important; font-weight: bold; text-decoration: none !important;}
.btn-small:hover {background-color: #0f9691;}

/* Icons and steps */
.card-icon .fa {font-size: 30px; color: #0f9691;}
.step-number {display: inline-block; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background-color: #f99617; color: #ffffff; font-size: 22px; font-weight: bold;}

/* Form */
.r8_form {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    border: 1px solid #CCC;
    border-radius: 6px;
    padding: 15px;
    display: table;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

#r8_content h3 {
    font-family: 'Coda', sans-serif;
}

/* =========================================================
   MOBILE LAYOUT (reusable across pages)
   Replaces both earlier "Hero - mobile" blocks
   ========================================================= */
@media (max-width: 767px) {

/* No slide-in animations on phones (they push the page sideways and delay content) */
.wow {visibility: visible !important; animation: none !important;}

/* Stop sideways scrolling */
#r8_content {overflow-x: hidden;}

/* Full-width stripes: less side padding, tidy vertical spacing */
#r8_content .stripeInner {padding: 26px 16px !important;}
.stripeInner > p:first-child, .stripeInner > p:last-child {display: none;}
img.noCollapse {display: none;}

/* Headings and text */
#r8_content h2 {font-size: 24px; line-height: 1.25; margin: 0 0 12px;}
#r8_content h3 {font-size: 20px; line-height: 1.3; margin: 0 0 10px;}
#r8_content p, #r8_content li {font-size: 15px; line-height: 1.55;}
.intro-text, .intro-text-dark {font-size: 16px !important;}

/* Cards and boxes */
#r8_content .jh-solid-box, #r8_content .jh-solid-box2, #r8_content .jh-highlight {padding: 20px 18px; margin: 0 0 14px;}
#r8_content .colOuter .row > section {padding-left: 0; padding-right: 0;}
.card-icon {margin-bottom: 6px;}
.card-icon .fa {font-size: 26px;}

/* CTA boxes */
#r8_content .cta-box {padding: 24px 18px; margin: 20px 0;}
.cta-box h3 {font-size: 21px !important; line-height: 1.3;}
.cta-box p {font-size: 15px;}

/* Buttons: full width and easy to tap */
.cta-buttons {margin: 14px 0 6px;}
#r8_content .btn-quote, #r8_content .btn-call {display: block; width: 100%; margin: 0 0 10px; padding: 13px 16px; font-size: 17px; text-align: center; white-space: nowrap;}

/* Content images */
.colOuter img {max-width: 100%; height: auto !important; max-height: 420px; object-fit: cover; border-radius: 6px;}

/* ---------- Hero ---------- */
#r8_content .hero-gradient .stripeInner {padding: 20px 16px 24px !important;}
.hero-gradient .col-sm-5 > p:first-child {display: none;}
.hero-gradient .col-sm-7 {text-align: center;}
.hero-gradient h2 {margin: 0 0 10px;}
.hero-gradient h2 span {font-size: 25px !important; line-height: 1.15 !important;}
.hero-gradient .intro-text {margin: 0 0 12px;}
.hero-gradient .intro-text + p {display: none;}

.hero-ticks {display: flex !important; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0 0 16px;}
.hero-ticks li {display: inline-block; margin: 0; padding: 0 !important; background: none !important; border-radius: 0; font-size: 13px !important; line-height: 1.4;}

.hero-gradient .cta-buttons {margin: 0 0 10px;}
.hero-gradient .cta-buttons img {width: 64px !important; height: auto !important; max-height: none; border-radius: 0;}

/* ---------- Sticky contact bar ---------- */
.sticky-contact {display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #ffffff; box-shadow: 0 -4px 16px rgba(0,0,0,0.15); transition: transform 0.3s ease;}
body.sticky-ready:not(.sticky-on) .sticky-contact {transform: translateY(110%); box-shadow: none;}
#r8_content .sticky-contact a {flex: 1; display: block; width: auto; margin: 0; padding: 12px 8px; font-size: 16px; text-align: center; box-shadow: none;}
#r8_content .sticky-contact .btn-call {background-color: #0f9691; border-color: #0f9691; color: #ffffff !important;}

/* Make room for the bar and lift the floating widgets above it */
body:has(.sticky-contact) {padding-bottom: 66px;}
body.sticky-on #back-top {bottom: 76px !important;}
body.sticky-on #cookie-corner {bottom: 66px !important;}
body.sticky-on #tidio-chat {bottom: 66px !important; top: auto !important; height: calc(100% - 66px) !important;}
}

/* Sticky bar is mobile only */
@media (min-width: 768px) {
.sticky-contact {display: none;}
}
