/* TG Hero Pro v1.3.7 – responsive mockup and video media ratios */
.tg-hero-pro{
  position:relative;
  min-height:620px;
  background:#111;
  color:#fff;
  isolation:isolate;
  overflow:hidden;
  font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* TG Hero Pro v1.3.10 – global section background controls */
.tg-hero-pro.tg-hero-section-bg-default{background-color:#111;background-image:none;}
.tg-hero-pro.tg-hero-section-bg-transparent{background:transparent;}
.tg-hero-pro.tg-hero-section-bg-color{background-image:none;}
.tg-hero-pro.tg-hero-section-bg-image{background-color:#111;background-repeat:no-repeat;background-position:center center;background-size:cover;}

/* Responsive title presets. Elementor Custom controls override these when selected. */
.tg-hero-title-size-small .tg-hero-title,.tg-hero-pro.tg-hero-title-size-small .tg-hero-title{--tg-hero-title-size:clamp(2rem,2.4vw,3rem);--tg-hero-title-size-tablet:clamp(1.875rem,4vw,2.5rem);--tg-hero-title-size-mobile:2rem;}
.tg-hero-title-size-medium .tg-hero-title,.tg-hero-pro.tg-hero-title-size-medium .tg-hero-title{--tg-hero-title-size:clamp(2.25rem,2.8vw,3.5rem);--tg-hero-title-size-tablet:clamp(2rem,4.6vw,2.875rem);--tg-hero-title-size-mobile:2.25rem;}
.tg-hero-title-size-large .tg-hero-title,.tg-hero-pro.tg-hero-title-size-large .tg-hero-title{--tg-hero-title-size:clamp(2.5rem,3.2vw,4rem);--tg-hero-title-size-tablet:clamp(2.125rem,5.2vw,3.25rem);--tg-hero-title-size-mobile:2.5rem;}
.tg-hero-title-size-custom .tg-hero-title,.tg-hero-pro.tg-hero-title-size-custom .tg-hero-title{--tg-hero-title-size:clamp(2.5rem,3.2vw,4rem);}
.tg-hero-slide{
  background-size:cover;
  background-position:center;
}
.tg-hero-mode-fade .tg-hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .45s ease,visibility .45s ease;
}
.tg-hero-mode-fade .tg-hero-slide.is-active{
  position:relative;
  inset:auto;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:2;
}
.tg-hero-mode-scroll{
  display:flex;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  gap:0;
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
}
.tg-hero-mode-scroll::-webkit-scrollbar{display:none;}
.tg-hero-mode-scroll.is-dragging{cursor:grabbing;scroll-snap-type:none;}
.tg-hero-mode-scroll .tg-hero-slide{
  position:relative;
  flex:0 0 100%;
  scroll-snap-align:start;
}
.tg-hero-overlay{
  position:absolute;
  inset:0;
  z-index:0;
  background:rgba(0,0,0,.48);
}
.tg-hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);
  gap:48px;
  align-items:center;
  min-height:620px;
  margin:0 auto;
}
.tg-hero-pad-none .tg-hero-inner{padding:0;}
.tg-hero-pad-compact .tg-hero-inner{padding:clamp(24px,3vw,48px);}
.tg-hero-pad-comfortable .tg-hero-inner{padding:clamp(34px,5vw,76px);}
.tg-hero-pad-spacious .tg-hero-inner{padding:clamp(48px,7vw,112px);}
.tg-hero-width-boxed .tg-hero-inner{max-width:1200px;}
.tg-hero-width-wide .tg-hero-inner{max-width:1500px;}
.tg-hero-width-full .tg-hero-inner{max-width:none;}
.tg-hero-mockup-left .tg-hero-copy{order:2;}
.tg-hero-mockup-left .tg-hero-media-column{order:1;}
.tg-hero-mockup-none .tg-hero-inner{grid-template-columns:1fr;}

/* Content */
:where(.tg-hero-badge){
  display:inline-flex;
  align-items:center;
  width:auto;
  max-width:max-content;
  margin:0 0 18px;
  padding:8px 18px;
  border-radius:999px;
  background:#f3f4f6;
  color:#e75925;
  font-weight:700;
  line-height:1;
}
.tg-hero-title{
  font-family:var(--tg-hero-title-family, Poppins,system-ui,sans-serif);
  font-size:var(--tg-hero-title-size, clamp(2.25rem,3vw,4rem));
  line-height:var(--tg-hero-title-line-height, .95);
  letter-spacing:var(--tg-hero-title-letter-spacing, -.035em);
  font-weight:var(--tg-hero-title-weight, 800);
  max-width:780px;
  margin:0 0 18px;
  color:#fff;
  text-shadow:0 3px 18px rgba(0,0,0,.45);
}
.tg-hero-title span{color:#e75925;}
:where(.tg-hero-sub){
  font-family:var(--tg-hero-sub-family, Poppins,system-ui,sans-serif);
  font-size:var(--tg-hero-sub-size, 18px);
  font-weight:var(--tg-hero-sub-weight, 400);
  line-height:var(--tg-hero-sub-line-height, 1.6);
  max-width:720px;
  margin:0 0 28px;
  color:rgba(255,255,255,.9);
  text-shadow:0 2px 12px rgba(0,0,0,.42);
}
.tg-hero-buttons{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:22px;
}
:where(.tg-hero-buttons .tg-btn){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border:1px solid transparent;
  border-radius:999px;
  padding:14px 28px;
  font-family:Poppins,system-ui,sans-serif;
  font-weight:700;
  text-decoration:none;
  line-height:1.1;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
:where(.tg-hero-buttons .tg-btn:hover){transform:translateY(-1px);}
:where(.tg-hero-buttons button.tg-btn){appearance:none;-webkit-appearance:none;cursor:pointer;margin:0;}
:where(.tg-hero-primary){background:#e75925;color:#fff;border-color:#e75925;box-shadow:0 12px 30px rgba(231,89,37,.18);}
:where(.tg-hero-secondary){background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.8);box-shadow:none;}
.tg-hero-pills{display:flex;gap:12px;flex-wrap:wrap;}
:where(.tg-hero-pill){
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:9px;
  border:1px solid rgba(255,255,255,.85);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-family:Poppins,system-ui,sans-serif;
  font-weight:700;
  font-size:14px;
  line-height:1;
  padding:10px 18px;
  white-space:nowrap;
  text-decoration:none;
}
:where(a.tg-hero-pill,button.tg-hero-pill){cursor:pointer;}
:where(button.tg-hero-pill){appearance:none;-webkit-appearance:none;margin:0;text-align:left;}
:where(.tg-hero-pill .tg-pill-icon){display:inline-flex;align-items:center;justify-content:center;font-size:16px;line-height:1;color:currentColor;}
:where(.tg-hero-pill svg){width:1em;height:1em;}
:where(.tg-hero-pill .tg-pill-icon svg,.tg-hero-pill .tg-pill-icon svg *){color:currentColor;fill:currentColor;stroke:currentColor;}

/* v1.3.0: shared accessible tooltips for buttons and proof pills */
.tg-hero-tooltip-host{
  --tg-hero-tooltip-gap:10px;
  position:relative;
  overflow:visible;
}
.tg-hero-tooltip{
  position:absolute;
  left:50%;
  bottom:calc(100% + var(--tg-hero-tooltip-gap));
  z-index:2000;
  display:block;
  width:max-content;
  max-width:min(260px,calc(100vw - 32px));
  padding:9px 12px;
  border-radius:10px;
  background:#111827;
  color:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.22);
  font-family:Poppins,system-ui,sans-serif;
  font-size:12px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:normal;
  text-align:left;
  text-decoration:none;
  text-transform:none;
  white-space:normal;
  overflow-wrap:anywhere;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%,4px);
  transition:opacity .16s ease,visibility .16s ease,transform .16s ease;
}
.tg-hero-tooltip-position-bottom .tg-hero-tooltip{
  top:calc(100% + var(--tg-hero-tooltip-gap));
  bottom:auto;
  transform:translate(-50%,-4px);
}
.tg-hero-tooltip-host:hover > .tg-hero-tooltip,
.tg-hero-tooltip-host:focus > .tg-hero-tooltip,
.tg-hero-tooltip-host:focus-visible > .tg-hero-tooltip,
.tg-hero-tooltip-host:focus-within > .tg-hero-tooltip{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}
.tg-hero-tooltip-host:focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}

/* Mockup Card */
:where(.tg-hero-mockup){
  position:relative;
  z-index:2;
  min-height:420px;
  overflow:hidden;
  background:#fff;
  color:#111827;
  border-radius:28px;
  padding:28px;
  box-shadow:0 25px 70px rgba(15,23,42,.18);
}
:where(.tg-browser-dots){display:flex;gap:10px;margin-bottom:24px;}
:where(.tg-browser-dots i){display:block;width:14px;height:14px;border-radius:50%;background:#d1d5db;}
:where(.tg-hero-mockup-title){font-family:Poppins,system-ui,sans-serif;font-size:clamp(1.35rem,1.6vw,2rem);font-weight:800;line-height:1.15;margin:0 0 14px;color:#111;}
:where(.tg-hero-mockup-text){font-family:Poppins,system-ui,sans-serif;font-size:clamp(1rem,1vw,1.125rem);font-weight:400;line-height:1.55;color:#111;margin:0 0 24px;}
:where(.tg-hero-mockup-gallery){display:grid;gap:24px;}
:where(.tg-hero-mockup-bottom){display:grid;grid-template-columns:1fr 1fr;gap:24px;}
:where(.tg-hero-mockup-slot){position:relative;overflow:hidden;border-radius:24px;background:linear-gradient(110deg,#fee2d8,#f4f4f4);}
/* Keep the mockup masks tied to the source asset ratios at every breakpoint.
   Main artwork: 1200×414. Small artwork: 600×300. */
.tg-widget-hero .tg-hero-mockup-slot-main{height:auto;aspect-ratio:1200 / 414;}
.tg-widget-hero .tg-hero-mockup-slot-small{height:auto;aspect-ratio:2 / 1;}
.tg-widget-hero .tg-hero-mockup-img{
  display:block;
  width:100%;
  height:100%!important;
  max-width:none;
  object-fit:cover;
  object-position:center;
  border-radius:inherit;
}
:where(.tg-skeleton){width:100%;height:100%;border-radius:inherit;background:linear-gradient(110deg,#fee2d8,#f4f4f4);}
:where(.tg-skeleton.lg){height:100%;margin:0;}
:where(.tg-skeleton-row){display:grid;grid-template-columns:1fr 1fr;gap:24px;}

/* Slider Navigation – in-flow above the media, matching TG Content Showcase Pro */
.tg-hero-media-column{
  position:relative;
  min-width:0;
  width:100%;
}
.tg-hero-nav{
  position:relative;
  z-index:65;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin:0 0 22px;
}
.tg-hero-nav--floating{
  position:absolute;
  top:clamp(18px,2vw,30px);
  right:clamp(18px,3vw,48px);
  margin:0;
}
.tg-hero-arrow{
  position:relative;
  flex:0 0 auto;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid #d7d7d7;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:#222;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,opacity .2s ease;
}
.tg-hero-arrow svg{
  width:22px;
  height:22px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2.25;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.tg-hero-arrow:hover{transform:translateY(-1px);}
.tg-hero-arrow:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
.tg-hero-dots{
  position:absolute;
  left:50%;
  bottom:clamp(16px,2vw,32px);
  z-index:65;
  display:flex;
  gap:10px;
  transform:translateX(-50%);
}
.tg-hero-dot{display:block;width:10px;height:10px;border:0;border-radius:999px;background:rgba(255,255,255,.45);padding:0;cursor:pointer;}
.tg-hero-dot.is-active{background:#fff;}
.tg-hero-mode-scroll .tg-hero-nav,.tg-hero-mode-scroll .tg-hero-dots{display:none;}

@media(max-width:900px){
  .tg-hero-pro.tg-hero-mode-fade{overflow:hidden;min-height:auto;background:#111;}
  .tg-hero-inner{grid-template-columns:1fr!important;min-height:initial;}
  .tg-hero-mode-fade .tg-hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;pointer-events:none;}
  .tg-hero-mode-fade .tg-hero-slide.is-active{position:relative;opacity:1;visibility:visible;pointer-events:auto;z-index:2;}
  .tg-hero-mode-fade .tg-hero-slide:not(.is-active){height:0;min-height:0;overflow:hidden;}
  .tg-hero-mode-fade .tg-hero-slide.is-active .tg-hero-inner{min-height:initial;}
  .tg-hero-title{font-size:var(--tg-hero-title-size-tablet, clamp(2.125rem,6vw,3.25rem));}
  :where(.tg-hero-mockup){min-height:260px;}
  .tg-hero-mockup-left .tg-hero-copy,.tg-hero-mockup-left :where(.tg-hero-mockup){order:initial;}
}
@media(max-width:720px){
  .tg-hero-nav{gap:10px;z-index:70;margin-bottom:18px;}
  .tg-hero-nav--floating{top:16px;right:16px;margin:0;}
  .tg-hero-arrow{display:grid;width:44px;height:44px;}
  .tg-hero-arrow svg{width:20px;height:20px;}
  .tg-hero-dots{display:flex;bottom:34px;z-index:75;}
  .tg-hero-dot{width:8px;height:8px;}
  .tg-hero-mode-scroll .tg-hero-nav,.tg-hero-mode-scroll .tg-hero-dots{display:none;}
}
@media(max-width:560px){
  .tg-hero-pad-compact .tg-hero-inner,.tg-hero-pad-comfortable .tg-hero-inner,.tg-hero-pad-spacious .tg-hero-inner{padding:24px;}
  :where(.tg-hero-buttons .tg-btn){width:100%;}
  :where(.tg-hero-pill){font-size:13px;}
  .tg-hero-title{font-size:var(--tg-hero-title-size-mobile, 2.5rem);}
}

/* v1.0.15: Core-independent editor/preview hardening */
.tg-hero-pro .tg-hero-mockup.tg-card{
  background:#fff;
  color:#111827;
  border-radius:28px;
  padding:28px;
  box-shadow:0 25px 70px rgba(15,23,42,.18);
}
.tg-hero-pro .tg-hero-arrow,
.elementor-editor-active .tg-hero-pro .tg-hero-arrow{
  z-index:999;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.tg-hero-pro .tg-hero-dots,
.elementor-editor-active .tg-hero-pro .tg-hero-dots{
  z-index:1000;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.elementor-editor-active .tg-hero-pro .tg-hero-slide.is-active{z-index:5;}


/* v1.0.17: Title size presets added. Inline Elementor CSS can override custom mode. */
.elementor-editor-active .tg-hero-pro .tg-hero-arrow,
.elementor-editor-active .tg-hero-pro .tg-hero-dot{ pointer-events:auto; }


/* v1.1.0: Elementor editor navigation/preview hardening */
.elementor-editor-active .tg-hero-pro{ overflow: visible; }
.elementor-editor-active .tg-hero-pro .tg-hero-nav,
.elementor-editor-active .tg-hero-pro .tg-hero-dots{ display:flex !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important; }
.elementor-editor-active .tg-hero-pro .tg-hero-nav{ z-index:9999 !important; }
.elementor-editor-active .tg-hero-pro .tg-hero-dots{ z-index:10000 !important; }
.elementor-editor-active .tg-hero-pro .tg-hero-mode-scroll .tg-hero-nav,
.elementor-editor-active .tg-hero-pro.tg-hero-mode-scroll .tg-hero-nav,
.elementor-editor-active .tg-hero-pro.tg-hero-mode-scroll .tg-hero-dots{ display:none !important; }


/* v1.1.3: fully widget-scoped local defaults. Hero styles only affect TG Hero Pro. */
.tg-widget-hero.tg-hero-pro{
  --tg-hero-primary: #e75925;
  --tg-hero-primary-hover: #cf481c;
  font-family: Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tg-widget-hero .tg-hero-badge{
  display:inline-flex;
  align-items:center;
  width:auto;
  max-width:max-content;
  background:#f3f4f6;
  color:var(--tg-hero-primary);
  border-radius:999px;
  padding:8px 18px;
  font-family:Poppins,system-ui,sans-serif;
  font-weight:600;
}
.tg-widget-hero .tg-hero-title{
  font-family:Poppins,system-ui,sans-serif;
  font-weight:800;
  font-size:var(--tg-hero-title-size, clamp(2.25rem,3vw,4rem));
  line-height:var(--tg-hero-title-line-height,.95);
  letter-spacing:var(--tg-hero-title-letter-spacing,-.035em);
}
.tg-widget-hero.tg-hero-title-size-small .tg-hero-title{font-size:clamp(2rem,2.4vw,3rem);}
.tg-widget-hero.tg-hero-title-size-medium .tg-hero-title{font-size:clamp(2.25rem,2.8vw,3.5rem);}
.tg-widget-hero.tg-hero-title-size-large .tg-hero-title{font-size:clamp(2.5rem,3.2vw,4rem);}
.tg-widget-hero .tg-hero-sub{
  font-family:Poppins,system-ui,sans-serif;
  font-weight:400;
}
.tg-widget-hero .tg-hero-buttons .tg-btn{
  font-family:Poppins,system-ui,sans-serif;
  font-weight:600;
  border-radius:999px;
  box-shadow:none;
}
.tg-widget-hero .tg-hero-primary{
  background:var(--tg-hero-primary);
  border-color:var(--tg-hero-primary);
  color:#fff;
  box-shadow:none;
}
.tg-widget-hero .tg-hero-primary:hover{
  background:var(--tg-hero-primary-hover);
  border-color:var(--tg-hero-primary-hover);
  color:#fff;
  box-shadow:none;
}
.tg-widget-hero .tg-hero-secondary:hover{
  box-shadow:none;
}
.tg-widget-hero .tg-hero-mockup,
.tg-widget-hero .tg-hero-card{
  background:#fff;
  color:#111827;
  border-radius:28px;
  padding:28px;
  box-shadow:0 25px 70px rgba(15,23,42,.18);
}
.tg-widget-hero .tg-hero-mockup-title{
  font-family:Poppins,system-ui,sans-serif;
  font-weight:800;
}
.tg-widget-hero .tg-hero-mockup-text{
  font-family:Poppins,system-ui,sans-serif;
  font-weight:400;
}
.tg-widget-hero .tg-hero-arrow,
.tg-widget-hero .tg-hero-dots{
  z-index:1000;
}
@media(max-width:1024px){
  .tg-widget-hero.tg-hero-title-size-small .tg-hero-title{font-size:clamp(1.875rem,4vw,2.5rem);}
  .tg-widget-hero.tg-hero-title-size-medium .tg-hero-title{font-size:clamp(2rem,4.6vw,2.875rem);}
  .tg-widget-hero.tg-hero-title-size-large .tg-hero-title{font-size:clamp(2.125rem,5.2vw,3.25rem);}
}
@media(max-width:767px){
  .tg-widget-hero.tg-hero-title-size-small .tg-hero-title{font-size:2rem;}
  .tg-widget-hero.tg-hero-title-size-medium .tg-hero-title{font-size:2.25rem;}
  .tg-widget-hero.tg-hero-title-size-large .tg-hero-title{font-size:2.5rem;}
}


/* v1.2.0 Hero Media Engine */
.tg-widget-hero .tg-hero-media{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:20px;
  background:#f3f4f6;
  aspect-ratio:16/9;
}
.tg-widget-hero .tg-hero-media-image{aspect-ratio:auto;background:transparent;}
/* Video/Vimeo/embed always fill the 16:9 mask; no fixed minimum height on narrow screens. */
.tg-widget-hero .tg-hero-media:not(.tg-hero-media-image){aspect-ratio:16 / 9;}
.tg-widget-hero .tg-hero-video,
.tg-widget-hero .tg-hero-iframe,
.tg-widget-hero .tg-hero-embed iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  border:0;
  border-radius:inherit;
  background:#000;
}
.tg-widget-hero .tg-hero-video{object-fit:cover;}
.tg-widget-hero .tg-hero-embed,
.tg-widget-hero .tg-hero-embed > div{
  position:relative;
  width:100%;
  height:100%;
  min-height:0;
}
.tg-widget-hero .tg-hero-embed iframe{
  position:absolute;
  inset:0;
}
.tg-widget-hero .tg-hero-media-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:260px;
  padding:24px;
  color:#6b7280;
  font-family:Poppins,system-ui,sans-serif;
  font-weight:600;
  text-align:center;
}
.tg-widget-hero .tg-hero-media:fullscreen,
.tg-widget-hero .tg-hero-media:fullscreen video,
.tg-widget-hero .tg-hero-media:fullscreen iframe,
.tg-widget-hero .tg-hero-media:-webkit-full-screen,
.tg-widget-hero .tg-hero-media:-webkit-full-screen video,
.tg-widget-hero .tg-hero-media:-webkit-full-screen iframe{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  background:#000!important;
  border-radius:0!important;
}
