/* TH Site Extras – Get the Price modal */
.th-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding:20px 0;overflow-y:auto;overscroll-behavior:contain;opacity:0;transition:opacity .3s ease}
.th-modal[hidden]{display:none}
.th-modal.is-open{opacity:1}
.th-modal__overlay{position:fixed;inset:0;background:rgba(7,13,45,.6)}
.th-modal__box{position:relative;width:600px;max-width:calc(100vw - 32px);margin:auto;flex:0 0 auto;background:var(--e-global-color-thwhite,#fff);border-radius:12px;box-shadow:0 24px 60px 0 rgba(7,13,45,.25);outline:0;transform:translate3d(0,40px,0);transition:transform .5s ease}
.th-modal.is-open .th-modal__box{transform:none}
.th-modal .th-modal__close{position:absolute;padding:0!important;margin:0;min-height:0;box-shadow:none;top:20px;right:20px;z-index:2;width:15px;height:15px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:var(--e-global-color-text,#070D2D);cursor:pointer;border-radius:6px;line-height:0}
.th-modal__close:hover,.th-modal__close:focus{background:transparent;color:var(--e-global-color-primary,#0062FF)}
.th-modal__close svg{width:15px;height:15px}
.th-modal__close:focus-visible{outline:2px solid var(--e-global-color-primary);outline-offset:2px}
html.th-modal-lock,html.th-modal-lock body{overflow:hidden}
@media (max-width:767px){.th-modal__box{width:92vw;max-width:92vw}}
@media (prefers-reduced-motion:reduce){.th-modal,.th-modal__box{transition:none}}

/* MetForm – match the original Elementor Pro form (labels 14/21 + 8px gap, 42px fields, 20px gutters) */
.th-mf .elementor-widget[class*="elementor-widget-mf-"]{margin:0!important}
.th-mf .e-con>.elementor-widget[class*="elementor-widget-mf-"].elementor-widget__width-initial:not(.elementor-widget-mf-textarea):not(:only-child){width:calc(50% - 10px)!important;max-width:calc(50% - 10px)!important}
.th-mf .e-con>.elementor-widget-mf-textarea,.th-mf .e-con>.elementor-widget-mf-button{width:100%!important;max-width:100%!important}
.th-mf .e-con{justify-content:flex-start!important}
.th-mf .mf-input-label{font-family:var(--e-global-typography-text-font-family),sans-serif!important;font-size:14px!important;font-weight:400!important;line-height:21px!important;color:var(--e-global-color-text)!important;margin:0!important;padding:0 0 8px!important;display:block;width:auto!important}
.th-mf .mf-input-required-indicator{color:#f00!important;padding-left:.2em;margin:0!important}
.th-mf .mf-input-wrapper{margin:0!important}
.th-mf .mf-input:not([type=checkbox]):not([type=radio]):not(.mf-input-select){width:100%!important;height:auto!important;min-height:0!important;background:#fff!important;border:1px solid var(--e-global-color-thborder,#E6E9F0)!important;border-radius:6px!important;font-family:var(--e-global-typography-text-font-family),sans-serif!important;font-size:15px!important;font-weight:400!important;line-height:24px!important;color:var(--e-global-color-text)!important;padding:8px 16px!important;margin:0!important;box-shadow:none!important;transition:border-color .2s}
.th-mf.th-mf textarea.mf-input.mf-input:not(.mf-input-select){height:131.6px!important;resize:vertical}
.th-mf .mf-input.mf-input-select{padding:0!important;border:0!important;height:auto!important;background:transparent!important;box-shadow:none!important}
.th-mf .mf-input:focus,.th-mf .mf-input-wrapper textarea:focus{border-color:var(--e-global-color-primary)!important;outline:0}
.th-mf .mf-input::placeholder,.th-mf textarea::placeholder{color:var(--e-global-color-text)!important;opacity:.6!important}
.th-mf .mf_select__control{min-height:40px!important;height:40px!important;border:1px solid var(--e-global-color-thborder,#E6E9F0)!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;padding:0!important;cursor:pointer}
.th-mf .mf_select__control--is-focused{border-color:var(--e-global-color-primary)!important}
.th-mf .mf_select__value-container{padding:0 6px 0 14px!important;height:38px}
.th-mf .mf_select__placeholder,.th-mf .mf_select__single-value{font-family:var(--e-global-typography-text-font-family),sans-serif!important;font-size:15px!important;color:var(--e-global-color-text)!important;margin:0!important}
.th-mf .mf_select__indicator-separator{display:none!important}
.th-mf .mf_select__indicator{padding:0 10px!important;color:var(--e-global-color-text)!important}
.th-mf .mf_select__indicator svg{width:14px;height:14px}
.th-mf .mf_select__menu{z-index:20!important;border-radius:6px!important}
.th-mf .mf_select__option{font-family:var(--e-global-typography-text-font-family),sans-serif;font-size:15px}
.th-mf .mf_select__option--is-focused{background:var(--e-global-color-thicebg)!important}
.th-mf .mf_select__option--is-selected{background:var(--e-global-color-primary)!important;color:#fff!important}
.th-mf .mf-btn-wraper,.th-mf .elementor-widget-mf-button .elementor-widget-container{display:block;width:100%;text-align:center}
.th-mf .metform-btn,.th-mf .metform-submit-btn{display:flex!important;width:100%!important;align-items:center;justify-content:center;gap:8px;background:var(--e-global-color-primary)!important;color:#fff!important;border:0!important;border-radius:6px!important;font-family:var(--e-global-typography-thbtn-font-family,'DM Sans'),sans-serif!important;font-size:15px!important;font-weight:600!important;line-height:19px!important;padding:14px 24px!important;margin:0!important;cursor:pointer;box-shadow:none!important;transition:background-color .2s}
.th-mf .metform-btn:hover,.th-mf .metform-btn:focus{background:var(--e-global-color-thbbhov,#004FD6)!important;color:#fff!important}
.th-mf .metform-btn>span{white-space:nowrap}
.th-mf .metform-btn::after{content:"";flex:0 0 15px;width:15px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.6 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.6L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.6 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.6L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z'/%3E%3C/svg%3E") center/contain no-repeat}
.th-mf-hidden,.th-mf .th-mf-hidden{display:none!important}
.th-mf .mf-error-message{font-size:13px;color:#C62828;margin-top:4px}
.mf-response-msg-wrap .mf-response-msg{font-family:var(--e-global-typography-text-font-family),sans-serif;font-size:15px;border-radius:6px}
@media (max-width:767px){.th-mf .e-con>.elementor-widget[class*="elementor-widget-mf-"].elementor-widget__width-initial:not(.elementor-widget-mf-textarea):not(:only-child){width:100%!important;max-width:100%!important}}
/* Projects carousel → CSS marquee (3 / 2 / 1 slides, 6 s per slide, right to left, pause on hover) */
.th-marquee{overflow:hidden;container-type:inline-size;--th-mq-gap:24px;--th-mq-n:3}
.th-marquee>.th-marquee-track{display:flex;flex-wrap:nowrap;gap:var(--th-mq-gap)!important;padding:0 var(--th-mq-gap) 0 0!important;width:max-content!important;max-width:none!important;animation:th-marquee var(--th-mq-dur,36s) infinite;will-change:transform}
.th-marquee:hover>.th-marquee-track{animation-play-state:paused}
.th-marquee>.th-marquee-track>.e-con{flex:0 0 auto!important;width:calc((100cqw - (var(--th-mq-n) - 1) * var(--th-mq-gap)) / var(--th-mq-n))!important}
@keyframes th-marquee{0%{transform:translate3d(0%,0,0);animation-timing-function:ease}16.6667%{transform:translate3d(-8.3333%,0,0);animation-timing-function:ease}33.3333%{transform:translate3d(-16.6667%,0,0);animation-timing-function:ease}50%{transform:translate3d(-25%,0,0);animation-timing-function:ease}66.6667%{transform:translate3d(-33.3333%,0,0);animation-timing-function:ease}83.3333%{transform:translate3d(-41.6667%,0,0);animation-timing-function:ease}100%{transform:translate3d(-50%,0,0);animation-timing-function:ease}}
.th-mq-dots{display:flex;justify-content:center;align-items:center;height:10px;line-height:0;width:100%}
.th-mq-dots span{display:block;width:10px;height:10px;margin:0 14px;border-radius:50%;background:var(--e-global-color-primary);opacity:.2;transition:opacity .2s}
.th-mq-dots span.is-active{opacity:1}
@media (max-width:1024px){.th-marquee{--th-mq-gap:20px}}
@media (max-width:1023px){.th-marquee{--th-mq-n:2}}
@media (max-width:767px){.th-marquee{--th-mq-gap:16px}}
@media (max-width:766px){.th-marquee{--th-mq-n:1}}
@media (prefers-reduced-motion:reduce){.th-marquee>.th-marquee-track{animation:none}}
/* Animated headline → static highlight */
.th-ah-heading{display:flow-root}
.th-ah-heading .elementor-heading-title{margin:8px 0 16px}
.th-ah-heading .th-ah{color:var(--e-global-color-primary)}

/* Blog search (replaces Pro search widget) */
.th-search{display:flex;width:100%;margin:0}
.th-search__field{position:relative;flex:1 1 auto;display:block;margin:0;min-width:0}
.th-search__icon{position:absolute;left:16px;top:50%;width:16px;height:16px;margin-top:-8px;fill:var(--e-global-color-thslate);pointer-events:none;transition:fill .2s}
.th-search__field:focus-within .th-search__icon{fill:var(--e-global-color-primary)}
.th-search .th-search__input{width:100%;height:49.6px;min-height:44px;box-sizing:border-box;margin:0;padding:14px 16px 14px 42px;border:1px solid var(--e-global-color-thwhite,#fff);border-right:0;border-radius:6px 0 0 6px;background:#fff;font-family:var(--e-global-typography-thbody15-font-family,'DM Sans'),sans-serif;font-size:15px;font-weight:400;line-height:24px;color:var(--e-global-color-text);box-shadow:none;-webkit-appearance:none;appearance:none}
.th-search .th-search__input::placeholder{color:var(--e-global-color-thslate);opacity:1}
.th-search .th-search__input:focus{outline:0;border-color:var(--e-global-color-primary)}
.th-search .th-search__btn{flex:0 0 auto;margin:0;padding:14px 28px;border:0;border-radius:0 6px 6px 0;background:var(--e-global-color-primary);color:#fff;font-family:var(--e-global-typography-thbtn-font-family,'DM Sans'),sans-serif;font-size:15px;font-weight:600;line-height:18px;cursor:pointer;transition:background-color .2s}
.th-search .th-search__btn:hover,.th-search .th-search__btn:focus{background:var(--e-global-color-thbbhov);color:#fff}
@media (max-width:767px){.th-search .th-search__btn{padding:14px 18px}}
/* Newsletter (sidebar) – hidden label, 47px field, 12px gap */
.th-mf-newsletter.e-con,.th-mf-newsletter .e-con{gap:12px!important}
.th-mf .e-con>.elementor-widget[class*="elementor-widget-mf-"]:only-child{width:100%!important;max-width:100%!important}
.th-mf-newsletter .mf-input-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.th-mf.th-mf-newsletter .mf-input.mf-input:not(.mf-input-select):not([type=checkbox]){height:47px!important;padding:6px 16px!important}
.th-mf-newsletter .metform-btn::after{display:none}
.th-mf-newsletter .metform-btn{line-height:18px!important;min-height:47px}

/* Get the Price form – tighter spacing like the original popup form */
.th-mf.th-mf-price,.th-mf-price .e-con{row-gap:14px!important;column-gap:16px!important}
.th-mf-price .e-con>.elementor-widget[class*="elementor-widget-mf-"].elementor-widget__width-initial:not(.elementor-widget-mf-textarea):not(:only-child){width:calc(50% - 8px)!important;max-width:calc(50% - 8px)!important}
.th-mf.th-mf-price .mf-input-label{padding-bottom:6px!important}
.th-mf.th-mf-price textarea.mf-input.mf-input:not(.mf-input-select){height:83.6px!important;padding:5px 14px!important}
@media (max-width:767px){.th-mf-price .e-con>.elementor-widget[class*="elementor-widget-mf-"].elementor-widget__width-initial:not(.elementor-widget-mf-textarea):not(:only-child){width:100%!important;max-width:100%!important}}
.th-mf .e-con:not(:has(>.elementor-widget:not(.th-mf-hidden))){display:none!important}
.th-mf-price .mf-input-required-indicator{color:var(--e-global-color-primary)!important}
.th-modal .mf-response-msg-wrap .mf-success-res,.th-modal .mf-success-res .mf-response-msg{color:var(--e-global-color-primary)}

/* Kadence classic pages/posts – match Hello Elementor's default single layout */
.content-area .entry-header{margin:0!important;padding:0}
.content-area .entry-header .entry-title{margin:8px 0 16px}
.content-area .entry-content{margin-top:0}
.content-area .entry-content>p,.content-area .entry-content p{margin:0 0 14.4px}
.content-area .entry-content :is(h1,h2,h3,h4,h5,h6){margin:8px 0 16px;line-height:1.2}
.content-area .entry-content h2{font-size:32px}
.content-area .entry-content h3{font-size:28px}
.content-area .entry-content h4{font-size:24px}
.content-area .entry-content h5{font-size:20px}
.content-area .entry-content h6{font-size:16px}
.content-area .entry-content :is(ul,ol){margin:0;padding-left:40px}
.content-area .entry-content li{margin:0}
/* Hello Elementor form-element resets inside Elementor content */
:where(.elementor) label{line-height:1;vertical-align:middle}
:where(.elementor) select{display:block}

/* Hello Elementor .site-main widths for classic pages/posts */
.content-container.site-container{box-sizing:border-box;width:100%;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
@media (max-width:575px){.content-container.site-container{padding-left:10px;padding-right:10px}}
@media (min-width:576px){.content-container.site-container{max-width:500px}}
@media (min-width:768px){.content-container.site-container{max-width:600px}}
@media (min-width:992px){.content-container.site-container{max-width:800px}}
@media (min-width:1200px){.content-container.site-container{max-width:1140px}}

/* TH theme parts: loops, share buttons, post navigation (Pro look-alikes) */
.th-loop>.e-loop-item>.elementor>.e-con,.th-loop>.e-loop-item>.elementor{height:100%}
.e-loop-nothing-found-message{padding:30px 0;text-align:center}
.e-loop-nothing-found-message__text{margin:0 0 14.4px;font-family:var(--e-global-typography-thintro-font-family),sans-serif;font-size:var(--e-global-typography-thintro-font-size);line-height:var(--e-global-typography-thintro-line-height);color:var(--e-global-color-thslate)}
.th-share .elementor-grid-item{margin-bottom:10px}
.th-share .th-share-grid{margin-bottom:-10px}
.th-share .th-share-grid{display:inline-block;width:100%;font-size:0;line-height:0}
.th-share .elementor-grid-item{display:inline-block;vertical-align:top}
.th-share .elementor-share-btn{display:flex;align-items:center;justify-content:flex-start;height:45px;overflow:hidden;cursor:pointer;text-decoration:none;border-radius:5px;background:var(--e-global-color-primary);color:#fff;font-size:10px;transition:background-color .3s}
.th-share .elementor-share-btn:hover{background:var(--e-global-color-thbbhov)}
.th-share .elementor-share-btn__icon{display:flex;align-items:center;justify-content:center;width:45px;height:100%;flex:0 0 45px}
.th-share .elementor-share-btn__icon svg{width:17px;height:17px;fill:#fff}
.th-share .elementor-share-btn__text{display:flex;align-items:center;height:100%;padding:0 15px 0 0;font-family:var(--e-global-typography-thsmall-font-family),sans-serif;line-height:27.2px}
.th-share .elementor-share-btn__title{font-size:14px;font-weight:400;color:#fff;line-height:1.5}
.th-post-nav .elementor-post-navigation{display:flex;justify-content:space-between;gap:20px}
.th-post-nav .elementor-post-navigation__link a{display:flex;align-items:center;gap:10px;text-decoration:none}
.th-post-nav .elementor-post-navigation__next a{text-align:right}
.th-post-nav .elementor-post-navigation__link__prev,.th-post-nav .elementor-post-navigation__link__next{display:flex;flex-direction:column}
.th-post-nav [class*="--label"]{font-size:13px;line-height:1.5;color:var(--e-global-color-thslate);text-transform:uppercase}
.th-post-nav [class*="--title"]{font-size:14px;font-weight:600;line-height:1.4;color:var(--e-global-color-text)}
.th-post-nav a:hover [class*="--title"],.th-post-nav a:hover [class*="--label"]{color:var(--e-global-color-primary)}
.th-post-nav .post-navigation__arrow-wrapper{font-size:30px;line-height:1;color:var(--e-global-color-primary)}
.th-loop-pagination{display:block;text-align:center;margin-top:32px;font-family:var(--e-global-typography-thbtn-font-family),sans-serif;font-size:15px;font-weight:600;line-height:18px}
.th-loop-pagination .page-numbers{display:inline-block;margin:0 8px}.th-loop-pagination .page-numbers:first-child{margin-left:0}.th-loop-pagination .page-numbers:last-child{margin-right:0}
@media(max-width:767px){.th-loop-pagination .page-numbers{margin:0 12px}.th-loop-pagination .page-numbers:first-child{margin-left:0}.th-loop-pagination .page-numbers:last-child{margin-right:0}}
.th-loop-pagination .page-numbers{color:var(--e-global-color-text);text-decoration:none}
.th-loop-pagination .page-numbers.current,.th-loop-pagination a.page-numbers:hover{color:var(--e-global-color-primary)}
.elementor .wp-block-image{margin:0 0 1em}
.th-share{line-height:0}
.th-share .th-share-grid{vertical-align:top}

/* 404 (Hello Elementor default look) */
.th-404{box-sizing:border-box;width:100%;max-width:1140px;margin:0 auto}
@media (max-width:1199px){.th-404{max-width:800px}}
@media (max-width:991px){.th-404{max-width:600px}}
@media (max-width:767px){.th-404{max-width:500px}}
@media (max-width:575px){.th-404{max-width:none;padding:0 10px}}
.th-404 .entry-title{margin:8px 0 16px;font-family:var(--e-global-typography-thh1typ-font-family,'DM Serif Display'),serif;font-size:var(--e-global-typography-thh1typ-font-size,64px);font-weight:400;line-height:var(--e-global-typography-thh1typ-line-height,1.05);color:var(--e-global-color-text)}
.th-404 .page-header{margin:0;padding:0}
.th-404 .page-content p{margin:0 0 14.4px}
.th-404 .page-content{margin:0;padding:0}

/* MetForm validation messages: no layout shift (fixes the two-click submit) */
.th-mf .mf-input-wrapper{position:relative}
.th-mf .mf-error-message{position:absolute;left:0;top:100%;margin:1px 0 0!important;font-size:12px!important;line-height:13px!important;color:#C62828;white-space:nowrap;pointer-events:none}
.th-mf .mf-input-wrapper:focus-within .mf-error-message{visibility:hidden}
.th-mf .mf-input[aria-invalid="true"]:not(:focus){border-color:#C62828!important}
.th-mf .mf-main-response-wrap[data-show="0"]{display:none}

/* Thank-you popup after "Get the Price" */
.th-modal--thanks .th-thanks__box{width:480px;padding:40px 36px 36px;text-align:center}
.th-thanks__icon{width:56px;height:56px;margin:0 auto 18px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--e-global-color-thicebg,#EEF5FC);color:var(--e-global-color-primary,#0062FF)}
.th-thanks__text{margin:0;font-family:var(--e-global-typography-thside-font-family,'DM Serif Display'),serif;font-size:24px;line-height:1.3;font-weight:400;color:var(--e-global-color-text,#070D2D)}
.th-modal--thanks{align-items:center}
@media (max-width:767px){.th-modal--thanks .th-thanks__box{width:92vw;padding:36px 22px 28px}.th-thanks__text{font-size:21px}}