/* Small extras only. Page styling lives inside the Elementor widgets. */
.elementor-widget-image img{max-width:100%;height:auto}
.elementor-column .elementor-widget-wrap{align-content:flex-start}
.elementor-widget-button .elementor-button{transition:background .2s,transform .2s}
.elementor-widget-button .elementor-button:hover{transform:translateY(-2px)}
.elementor-accordion .elementor-accordion-item{border-radius:12px;margin-bottom:10px;overflow:hidden;background:#fff}
/* Contact form shortcode */
.cf-form label{display:block;font-weight:600;font-size:14px;color:#2a4298;margin:14px 0 6px}
.cf-form input[type=text],.cf-form input[type=email],.cf-form input[type=tel],.cf-form textarea{width:100%;border:1px solid #b9f3fe;border-radius:12px;padding:13px 15px;font:inherit;background:#fff}
.cf-form button{margin-top:18px;border-radius:999px;padding:15px 34px;cursor:pointer}
.cf-hp{position:absolute;left:-9999px}
.cf-notice{background:#e6f7ee;border:1px solid #9fdcb9;color:#14532d;padding:14px 18px;border-radius:12px;margin-bottom:14px}

.cf-menu a{white-space:nowrap}
.cf-statleft .elementor-counter{text-align:left}
.cf-statleft .elementor-counter-number-wrapper{justify-content:flex-start}

/* Mobile-first safety */
html,body{overflow-x:hidden}
.elementor-widget-image img,.elementor img{max-width:100%;height:auto}
.elementor-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center}
.elementor-widget-text-editor p:last-child{margin-bottom:0}
@media(max-width:767px){
 .elementor-section .elementor-container{flex-wrap:wrap}
 .elementor-widget-button.elementor-align-justify .elementor-button{width:100%}
 .elementor-widget-counter .elementor-counter-number-wrapper{font-size:inherit}
 .elementor-accordion .elementor-tab-title{padding:16px 18px}
 .cf-form input,.cf-form textarea{font-size:16px}
}
@media(max-width:1024px){.elementor-widget-image img{border-radius:inherit}}

/* Cards: hover lift, floating step icons */
.cf-lift{transition:transform .3s ease}
.cf-lift>.elementor-widget-wrap,.cf-lift>.elementor-column-wrap{transition:box-shadow .3s ease,transform .3s ease}
.cf-lift:hover{transform:translateY(-6px)}
.cf-lift:hover>.elementor-widget-wrap{box-shadow:0 18px 40px rgba(42,66,152,.16)}
.cf-step .elementor-icon{animation:cfFloat 3.4s ease-in-out infinite}
.cf-step:nth-child(2) .elementor-icon{animation-delay:.5s}.cf-step:nth-child(3) .elementor-icon{animation-delay:1s}
.cf-step:hover .elementor-icon{animation-play-state:paused;transform:scale(1.08) rotate(-4deg)}
@keyframes cfFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media (prefers-reduced-motion:reduce){.cf-step .elementor-icon,.cf-lift{animation:none!important;transition:none!important}}

/* New-design hero: both halves always the same height, image fills its half, no white gaps */
.cf-hero2 > .elementor-container{align-items:stretch;max-width:none}
.cf-hero2 > .elementor-container > .elementor-column{display:flex}
.cf-hero2 > .elementor-container > .elementor-column > .elementor-widget-wrap,
.cf-hero2 > .elementor-container > .elementor-column > .elementor-column-wrap{height:100%;width:100%;margin:0}
.cf-hero2 > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center}
@media (max-width:1024px){
  .cf-hero2 > .elementor-container > .elementor-column{width:100%}
}

/* Home "Find the right fit" cards: same image height, descriptions and buttons line up */
.cf-syscard .elementor-widget-image img{width:100%;height:300px;object-fit:contain}
.cf-syscard .elementor-widget-text-editor{min-height:104px}
@media (max-width:767px){.cf-syscard .elementor-widget-image img{height:230px}.cf-syscard .elementor-widget-text-editor{min-height:0}}

/* POE Key Benefits: colourful, animated cards */
.cf-poe-sec{background:linear-gradient(180deg,#eaf9fe 0%,#ffffff 100%)!important}
.cf-poe-1,.cf-poe-2,.cf-poe-3,.cf-poe-4,.cf-poe-5,.cf-poe-6,.cf-poe-7,.cf-poe-8,.cf-poe-9{--c:#1b2b66}
.cf-poe{min-height:190px}
.cf-poe .elementor-widget-wrap{position:relative;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.cf-poe .elementor-widget-wrap::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--c);transform-origin:left;animation:cfBar 1.1s ease-out both}
.cf-poe .elementor-widget-wrap::after{content:"";position:absolute;right:-40px;bottom:-40px;width:130px;height:130px;border-radius:50%;background:var(--c);opacity:.07;transition:transform .4s ease,opacity .4s ease}
.cf-poe:hover .elementor-widget-wrap{transform:translateY(-8px);box-shadow:0 22px 40px -16px var(--c)!important}
.cf-poe:hover .elementor-widget-wrap::after{transform:scale(1.8);opacity:.12}
.cf-poe .elementor-icon-box-icon{position:relative}
.cf-poe .elementor-icon{position:relative;animation:cfFloat 3.4s ease-in-out infinite;box-shadow:0 12px 22px -8px var(--c);transition:transform .3s ease}
.cf-poe .elementor-icon::after{content:"";position:absolute;inset:0;border-radius:inherit;border:2px solid var(--c);animation:cfRing 2.6s ease-out infinite}
.cf-poe-2 .elementor-icon,.cf-poe-5 .elementor-icon,.cf-poe-8 .elementor-icon{animation-delay:.5s}
.cf-poe-3 .elementor-icon,.cf-poe-6 .elementor-icon,.cf-poe-9 .elementor-icon{animation-delay:1s}
.cf-poe:hover .elementor-icon{transform:rotate(-10deg) scale(1.12);animation-play-state:paused}
.cf-poe .elementor-icon-box-title{color:#1b2b66}
@keyframes cfFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes cfRing{0%{transform:scale(1);opacity:.55}100%{transform:scale(1.55);opacity:0}}
@keyframes cfBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.cf-poe .elementor-icon,.cf-poe .elementor-icon::after,.cf-poe .elementor-widget-wrap::before{animation:none}}

/* ===== Mobile-first polish (phones) ===== */
body{overflow-x:clip}
h1,h2,h3{overflow-wrap:break-word}
input,select,textarea{font-size:16px}
@media (max-width:767px){
  /* buttons: full width, easy to tap */
  .elementor-widget-button{width:100%!important;max-width:100%!important;margin-right:0!important}
  .elementor-button{display:flex;justify-content:center;align-items:center;min-height:50px;width:100%;text-align:center;white-space:normal}
  /* POE benefits: two compact cards per row */
  .cf-poe{min-height:0}
  .cf-poe .elementor-widget-wrap{padding:30px 6px 16px!important}
  .cf-poe .elementor-icon{font-size:20px;padding:15px}
  .cf-poe .elementor-icon-box-title{font-size:14.5px;line-height:1.3}
  .cf-poe .elementor-icon-box-description{font-size:12.5px;line-height:1.45}
  .cf-poe .elementor-icon-box-icon{margin-bottom:10px}
  /* product pages: keep the big photo to a sensible height */
  .cf-prodimg img{max-height:320px;width:auto!important;margin:0 auto;display:block}
  /* comparison table becomes stacked cards */
  .cf-cmp table,.cf-cmp tbody,.cf-cmp tr,.cf-cmp td{display:block;width:100%}
  .cf-cmp thead{display:none}
  .cf-cmp tr{margin-bottom:14px;border:1px solid #b9f3fe;border-radius:12px;overflow:hidden;background:#fff!important}
  .cf-cmp td{padding:10px 16px!important;font-size:15px}
  .cf-cmp td:first-child{background:#1b2b66;color:#fff!important;font-size:16px}
  .cf-cmp td+td::before{content:attr(data-label);display:block;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#2a4298;font-weight:600;margin-bottom:2px}
  /* footer links easy to tap */
  .cf-foot a{display:inline-block;padding:7px 0}
}

/* Home hero on phones/tablets: the house photo comes first (on top), then the text and buttons */
@media (max-width:1024px){
  .cf-hero2 > .elementor-container{display:flex;flex-direction:column}
  .cf-hero2 > .elementor-container > .elementor-column:last-child{order:-1}
  .cf-hero2 > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap{min-height:260px}
}




/* Product pages (Vortex-PRO3, Vortex-F3, Dual-F2) on phones */
@media (max-width:767px){
  .cf-prodmain{padding-top:28px!important;padding-bottom:36px!important}
  .cf-prodmain > .elementor-container{padding:0 16px}
  .cf-prodmain > .elementor-container > .elementor-column{width:100%!important}
  .cf-prodmain .cf-prodimg > .elementor-widget-wrap{padding:24px 12px!important;border-radius:22px}
  .cf-prodmain .cf-prodimg img{max-height:300px;width:auto!important}
  .cf-prodmain > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap{padding:22px 0 0!important}
  .cf-prodmain .elementor-inner-section{margin:0!important;padding:0!important}
  .cf-prodmain .elementor-inner-section .elementor-column{width:100%!important}
  .cf-prodmain .elementor-inner-section .elementor-widget-wrap{padding:0!important}
  .cf-prodmain .elementor-inner-section .elementor-column > .elementor-element-populated{margin:0 0 10px!important}
  .cf-prodmain .elementor-heading-title.elementor-size-default{line-height:1.15}
  .cf-prodmain .elementor-button{width:100%;justify-content:center;min-height:52px}
  /* gallery: 2 per row, a last odd image goes full width */
  .cf-gal > .elementor-container{padding:0 10px}
  .cf-gal .elementor-column{width:50%!important}
  .cf-gal .elementor-column:last-child:nth-child(odd){width:100%!important}
  .cf-gal .elementor-column > .elementor-element-populated{margin:6px!important;padding:0!important;border-radius:16px;overflow:hidden;background:#f9f3f3}
  .cf-gal .elementor-widget-image img{width:100%!important;height:auto!important;display:block}
  /* colour options: three across, bigger swatches */
  .cf-colrow > .elementor-container{padding:0 8px}
  .cf-colrow .elementor-column{width:33.33%!important}
  .cf-colrow .elementor-column > .elementor-element-populated{margin:4px!important;padding:14px 4px 14px!important}
  .cf-colrow img{width:84px!important;height:auto!important}
  .cf-colrow .elementor-heading-title{font-size:14px!important}
}
/* F3 gallery (3 images): one per row on phones */
@media (max-width:767px){.cf-gal .elementor-column:only-child{width:100%!important}}

/* Key Benefits ("The Clean Flow Difference") on phones: one card per row, icon on the left, text on the right */
@media (max-width:767px){
  .cf-poe-sec > .elementor-container{display:flex;flex-wrap:wrap}
  .cf-poe{width:100%!important;max-width:100%!important;flex:0 0 100%;min-height:0!important}
  .cf-poe > .elementor-widget-wrap{padding:24px 20px 22px 24px!important}
  .cf-poe .elementor-icon-box-wrapper{display:flex!important;flex-direction:row!important;align-items:center!important;text-align:left!important;gap:16px}
  .cf-poe .elementor-icon-box-icon{margin:0!important;flex:none}
  .cf-poe .elementor-icon{font-size:20px!important;padding:14px!important}
  .cf-poe .elementor-icon-box-content{flex:1 1 0;min-width:0;text-align:left!important}
  .cf-poe .elementor-icon-box-title{font-size:16.5px!important;line-height:1.3!important;margin:0!important;text-align:left!important}
  .cf-poe .elementor-icon-box-description{font-size:14px!important;line-height:1.45!important;margin:4px 0 0!important;text-align:left!important}
}

/* Buttons: the text inside keeps the button's own colour on hover (no white text on a light hover) */
.elementor-button .elementor-button-text,
.elementor-button:hover .elementor-button-text,
.elementor-button:focus .elementor-button-text{color:inherit!important;-webkit-text-fill-color:currentColor}

/* Our Benefits closing banner: centre the heading, text and the two buttons on desktop */
@media (min-width:768px){
  .elementor-451 .elementor-top-section:last-of-type > .elementor-container > .elementor-column > .elementor-widget-wrap{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 16px}
  .elementor-451 .elementor-top-section:last-of-type .elementor-widget-heading,
  .elementor-451 .elementor-top-section:last-of-type .elementor-widget-text-editor{width:100%}
  .elementor-451 .elementor-top-section:last-of-type .elementor-widget-button{width:auto!important;margin:0!important;align-self:center}
  .elementor-451 .elementor-top-section:last-of-type .elementor-widget-wrap > .elementor-widget-text-editor{margin-bottom:28px!important}
}
