.hero-1 {
  height: 980px;
}
@media (max-width: 1200px) {
  .hero-1 {
    height: 740px;
  }
}
.rev_slider_wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slideContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-top: 67px;
}
.slider-style2 .slide-content .textOne {
  margin-top: 25px;
}
.slider-style2 .slide-content .textThree {
  margin-top: 18px !important;
}
/* Text Block styling */
.textBlock {
  max-width: 50%;
}

.textOne {
  font-size: 16px !important;
  display: block;
  margin-bottom: 1rem;
  color: #e3cca1;
  font-weight: 500;
  text-transform: uppercase;
}
.divider {
  margin-top: 30px;
  margin-bottom: 25px;
  width: 80%;
}
.textTwo {
  font-size: 70px;
  line-height: 68px !important;
  margin-bottom: 0.5rem;
  white-space: nowrap;

  position: relative;
  z-index: 200;
}
.flat-slider .swiper-slide .btn-style-two {
  margin-top: 16px;
}
.flat-slider .swiper-slide .textOne {
  margin-bottom: 24px;
}

.titleTwo {
  margin: 0;
}

.textThree {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Button styling */
.btnWrapper {
  margin-top: 1rem;
}

/* Image Block styling */
.imageBlock {
  flex-shrink: 0;
  position: relative;
}

.slideImage {
  max-width: 100%;
  height: auto;
}

/* Tagline styling */
.tagline {
  position: absolute;
  bottom: 20px;

  right: 50%;

  font-size: 31px;
  color: #333;
}
.slider-style2 .swiper {
  height: 100%;
}
.slider-style2 .container {
  height: 100%;
}
.slider-style2 .flat-slider {
  height: 100%;
}
.slider-style2 .slide-content {
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
}
.slider-style2 .slide-content .textThree {
  margin-top: 12px;
}

/*
 * HS Plaste homepage hero ? uses client background image.
 * Scoped to .hs-home-hero so /home2 keeps the original template slide image.
 */
.slider-style2.hs-home-hero {
  background-image: url(/images/background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*
 * Home 2 contact card ? match template .time / .phone flex row layout.
 * Template only declared flex on .time; .phone needs the same for icon + text.
 */
.questions-style .image-form .phone {
  display: flex;
  align-items: flex-start;
}

.questions-style .image-form .contact .text-time {
  line-height: 1.35;
  white-space: normal;
}

/*
 * Checkmark / feature cards (.icon-box, .iconlist-about)
 * - Icon + text vertically centered
 * - Consistent gap after icon; wrapped lines hang with text (not under icon)
 * - Equal-height cards in a group (CSS grid)
 * Preserves Janelas colors / type; no font-size shrink.
 */
.icon-box.tf-icon-box-style,
.iconbox-service .icon-box.tf-icon-box-style,
.iconbox-service-style2 .icon-box,
.iconlist-about,
.iconlist-about.iconlist-about-style2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; /* equal card heights across all rows in the group */
  gap: 15px 3%;
  align-items: stretch;
  list-style: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  float: none;
}

/* clearfix ::before/::after must not occupy grid cells */
.icon-box.clearfix::before,
.icon-box.clearfix::after,
.iconlist-about.clearfix::before,
.iconlist-about.clearfix::after {
  content: none !important;
  display: none !important;
}

.iconbox-service .icon-box {
  padding-left: 0;
  padding-inline-start: 0;
}

.iconbox-service-style2 {
  padding-left: 0;
  padding-inline-start: 16px;
}

.icon-box.tf-icon-box-style > li,
.iconbox-service .icon-box > li,
.iconlist-about > li,
.iconlist-about-style2 > li {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 14px;
  box-sizing: border-box;
  min-height: 0;
  height: auto;
  position: relative;
}

/*
 * Home services intro row: keep title + 2?2 cards aligned as one band.
 * Beats template float / responsive width !important on these cards.
 */
.window-services-style2 > .container > .row.hs-services-support-row {
  display: flex;
  flex-direction: row; /* under dir=rtl this places the title column on the right */
  flex-wrap: wrap;
  align-items: flex-start;
}

html[dir="rtl"] .window-services-style2 > .container > .row.hs-services-support-row {
  flex-direction: row; /* override any stale row-reverse from older bundles */
}

.window-services-style2 > .container > .row.hs-services-support-row > .col-sm-6 {
  float: none;
  display: flex;
  flex-direction: column;
}

.window-services-style2 .content-service-title {
  float: none;
  width: 100%;
}

.window-services-style2 .content-service-title .paddingright30 {
  padding-right: 0;
  padding-inline-end: 30px;
}

.window-services-style2 .iconbox-service {
  width: 100%;
  margin-top: 36px; /* optical align with .flat-title, not .sub-title */
}

.window-services-style2 .iconbox-service .icon-box,
.window-services-style2 .iconbox-service-style2 .icon-box {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 1fr;
  gap: 15px 3%;
  width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}

.window-services-style2 .iconbox-service .icon-box > li,
.window-services-style2 .iconbox-service ul li {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Under dir=rtl, flex row already places the first column on the right.
   Do not set row-reverse ? it cancels that and restores LTR order. */
html[dir="rtl"] .window-services-style2 .iconbox-service-style2 {
  padding-inline-start: 0;
  padding-inline-end: 16px;
}

/* Card chrome ? Home 2 / detail icon-box only */
.icon-box.tf-icon-box-style > li,
.iconbox-service .icon-box > li {
  background-color: #f8f8f8;
  padding: 22px 20px;
}

.iconlist-about > li {
  padding: 6px 0;
}

.icon-box.tf-icon-box-style > li::before,
.iconbox-service .icon-box > li::before,
.iconlist-about > li::before {
  content: "\e90a";
  font-family: "icomoon";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px;
  line-height: 1;
  border-radius: 50%;
  background-color: #e3cca1;
  color: #fff;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  /* Kill template absolute icon ? keeps wrapped lines from underlapping the check */
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
}

.iconlist-about > li::before {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.icon-box.tf-icon-box-style > li:hover::before,
.iconbox-service .icon-box > li:hover::before,
.iconlist-about > li:hover::before {
  background-color: transparent;
  color: #e3cca1;
}

.icon-box.tf-icon-box-style > li span,
.icon-box.tf-icon-box-style > li a,
.iconbox-service .icon-box > li span,
.iconbox-service .icon-box > li a,
.iconlist-about > li span {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  margin: 0;
  padding: 0 !important;
  font-size: 16px;
  font-weight: 400;
  font-family: "Rubik", sans-serif;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  /* Hang-indent: wrapped lines stay in this flex item, never under ::before */
  align-self: center;
}

/* Neutralize legacy float spacing helpers on check cards */
.icon-box > li.no-margin-r,
.icon-box > li.padding-left23,
.iconlist-about > li.list-about-style2,
.iconlist-about > li.margin-right {
  margin: 0 !important;
  padding-left: 22px;
  padding-right: 20px;
}

.iconlist-about > li.list-about-style2,
.iconlist-about > li.margin-right {
  padding-left: 0;
  padding-right: 0;
}

html[dir="rtl"] .icon-box.tf-icon-box-style > li,
html[dir="rtl"] .iconbox-service .icon-box > li,
html[dir="rtl"] .iconlist-about > li {
  text-align: right;
  justify-content: flex-start;
  gap: 14px;
}

html[dir="rtl"] .icon-box.tf-icon-box-style > li span,
html[dir="rtl"] .icon-box.tf-icon-box-style > li a,
html[dir="rtl"] .iconbox-service .icon-box > li span,
html[dir="rtl"] .iconbox-service .icon-box > li a,
html[dir="rtl"] .iconlist-about > li span {
  /* Same flex grow as LTR so wrap stays after the icon with consistent gap */
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}

@media (max-width: 767px) {
  .icon-box.tf-icon-box-style,
  .iconbox-service .icon-box,
  .iconlist-about,
  .window-services-style2 .iconbox-service .icon-box {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .iconbox-service-style2,
  .window-services-style2 .iconbox-service-style2 {
    padding-left: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
  }

  .window-services-style2 .iconbox-service {
    margin-top: 20px;
  }

  html[dir="rtl"] .window-services-style2 > .container > .row.hs-services-support-row {
    flex-direction: column;
  }
}

/*
 * Home 2 portfolio overlay ? keep title readable inside fixed card height.
 */
.partners-style2 .profolio-show .content-title {
  max-width: calc(100% - 70px);
  padding-inline-end: 8px;
  box-sizing: border-box;
}

.partners-style2 .profolio-show .content-title h4 {
  margin: 0;
}

.partners-style2 .owl-carousel .content-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partners-style2 .owl-carousel .content-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
 * Arabic homepage portfolio ? RTL regression repair only.
 * Swiper `dir` is set in FeaturedProjects; these rules mirror chrome
 * (title band, overlay padding, card arrow) without changing LTR.
 */
html[dir="rtl"] .portfolio-slider .portfolio-nav .title-nav {
  justify-content: flex-start;
  width: 100%;
}

html[dir="rtl"] .portfolio-slider .portfolio-nav .title-section {
  text-align: right;
  width: 100%;
}

html[dir="rtl"] .portfolio-slider .portfolio-nav .sub-title,
html[dir="rtl"] .portfolio-slider .portfolio-nav .flat-title {
  text-align: right;
}

/* Overlay: keep LTR positioning context so absolute `left`/`right`
   stay physical; text itself stays RTL. */
html[dir="rtl"] .partners-style2 .profolio-show,
html[dir="rtl"] .partners-style2 .image-profolio .active,
html[dir="rtl"] .partners-style2 .image-profolio:hover .profolio-show {
  direction: ltr;
  padding: 23px 28px 10px 72px;
  left: 4%;
  right: auto;
  box-sizing: border-box;
}

html[dir="rtl"] .partners-style2 .profolio-show .content-title {
  direction: rtl;
  text-align: right;
  padding: 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
}

html[dir="rtl"] .partners-style2 .profolio-show .btn-tab,
html[dir="rtl"] .partners-style2 .profolio-show-style2 .btn-tab {
  inset-inline-start: 12px;
  inset-inline-end: auto;
  right: auto !important;
  left: 12px !important;
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: -25px !important;
}

html[dir="rtl"] .partners-style2 .profolio-show .btn-tab .fas.fa-arrow-right {
  display: inline-block;
  transform: scaleX(-1);
}

/* Carousel prev/next sit on the start side in RTL (mirror of LTR right: 19.2%) */
html[dir="rtl"] .portfolio-slider .owl-carousel .owl-nav.disabled {
  right: auto;
  left: 19.2%;
}

html[dir="rtl"] .portfolio-slider .owl-carousel .owl-nav .owl-prev::after,
html[dir="rtl"] .portfolio-slider .owl-carousel .owl-nav .owl-next::after {
  display: inline-block;
}

/* Keep Swiper track sized within the section */
html[dir="rtl"] .portfolio-slider .flat-carousel-box .swiper {
  direction: rtl;
}

html[dir="rtl"] .portfolio-slider,
html[dir="rtl"] .portfolio-slider .tf-partners,
html[dir="rtl"] .portfolio-slider .flat-carousel-box,
html[dir="rtl"] .portfolio-slider .owl-carousel {
  max-width: 100%;
  overflow-x: clip;
}

/* Beat template ?1366 padding reset that collapses arrow clearance */
@media (max-width: 1366px) {
  html[dir="rtl"] .partners-style2 .profolio-show,
  html[dir="rtl"] .partners-style2 .image-profolio .active,
  html[dir="rtl"] .partners-style2 .image-profolio:hover .profolio-show {
    padding: 23px 20px 10px 72px !important;
  }

  html[dir="rtl"] .partners-style2 .profolio-show-style2 .btn-tab {
    margin-left: 0 !important;
    right: auto !important;
    left: 12px !important;
  }
}
.rev_slider_wrapper .tp-bullets {
  width: 32;
  height: 12;
  top: 100%;
  transform: matrix(1, 0, 0, 1, -16, -42);
  left: 50%;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  column-gap: 0px;
  justify-content: center;
}
.rev_slider_wrapper .tp-bullets .tp-bullet {
  position: static;
}
.rev_slider_wrapper:hover .tp-bullets {
  color: transparent;
  visibility: visible !important;
  opacity: 1 !important;
}
.custom .tp-bullet {
  border-radius: 0px;
  opacity: 1;
  z-index: 23;
  background: rgba(255, 255, 255, 0.1) !important;
}
.custom .tp-bullet:hover {
  background: rgba(227, 204, 161, 0.5) !important;
}
.custom .tp-bullet.selected {
  border-radius: 0px;
  opacity: 1;
  z-index: 23;
  background: rgba(227, 204, 161, 0.5) !important;
}
a {
  cursor: pointer;
}

#mainnav-mobi {
  display: none !important;
}

/*
 * Header2 responsive regression fix.
 * Desktop nav was still active between ~1025?1360px while labels
 * (About Us / Contact Us) wrapped and overlapped. Switch to the
 * existing mobile menu earlier; keep Home 2 look; no banner restore.
 */
.header-style2 {
  height: 100px;
  overflow: visible;
  position: relative;
  z-index: 1000;
}

.header-style2 .flex-header {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 100px;
  width: 100%;
}

.header-style2 .logo.logo-style2 {
  flex: 0 0 auto;
  width: auto;
  max-width: 180px;
  padding-top: 14px;
  padding-bottom: 12px;
}

.header-style2 .logo.logo-style2 img {
  max-width: 100%;
  height: auto;
}

/* HS Plaste logo: brighten slightly on dark footer so navy/gold stay readable */
.footer-h2 .logo img {
  filter: brightness(1.75) contrast(1.05);
}

.header-style2 .content-menu {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-style2 .content-menu .nav-wrap {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 100px;
  padding-inline-start: 16px;
  display: flex;
  align-items: center;
}

.header-style2 .content-menu .search-btn {
  flex: 0 0 auto;
  width: auto !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 100px;
  box-sizing: border-box;
}

.header-style2 .search-btn .btn-top {
  float: none;
  line-height: normal;
}

.header-style2 #mainnav {
  width: 100%;
  max-width: 100%;
}

.header-style2 #mainnav > ul.menu,
.header-style2 #mainnav > ul.menustyle2 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  column-gap: 0;
}

/*
 * Top-level spacing must match Home 2 (~21px each side).
 * Phase C3 had compressed this to 10px, which left no room for the
 * Products caret (::after at right: -10px) between labels.
 */
.header-style2 #mainnav .menu > li {
  flex: 0 0 auto;
  float: none;
  margin: 0 18px;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
}

.header-style2 #mainnav .menu > li > a {
  white-space: nowrap;
  line-height: 100px;
  position: relative;
  display: inline-block;
}

/* Reserve space so the FontAwesome caret does not collide with the next label */
.header-style2 #mainnav .menu > li.menu-item-has-children > a {
  padding-inline-end: 18px;
}

.header-style2 #mainnav ul.menustyle2 > li.menu-item-has-children > a:after {
  right: 2px;
  inset-inline-end: 2px;
  inset-inline-start: auto;
}

/* Nested Product Types / Materials flyout carets */
.header-style2 #mainnav ul li li.menu-item-has-children > a {
  position: relative;
  padding-inline-end: 28px;
}

.header-style2 #mainnav ul li li.menu-item-has-children > a:after {
  inset-inline-end: 0;
  right: 0;
  left: auto;
}

html[dir="rtl"] .header-style2 #mainnav .menu > li {
  margin: 0 18px;
}

html[dir="rtl"] .header-style2 #mainnav ul li li a {
  text-align: right;
}

html[dir="rtl"] .header-style2 #mainnav ul li li a:hover,
html[dir="rtl"] .header-style2 #mainnav ul ul li.current-menu-item > a,
html[dir="rtl"] .header-style2 #mainnav ul ul li.current-menu-ancestor > a {
  padding-left: 0;
  padding-right: 17px;
}

html[dir="rtl"] .header-style2 #mainnav ul li li a:before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .header-style2 #mainnav ul.menustyle2 > li.menu-item-has-children > a:after {
  right: auto;
  left: 2px;
  inset-inline-end: 2px;
  inset-inline-start: auto;
}

html[dir="rtl"] .header-style2 #mainnav ul li li.menu-item-has-children > a:after {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

/* Desktop only above this width ? below it, use existing mobile nav */
@media (max-width: 1359px) {
  .header-style2 #mainnav {
    display: none !important;
  }

  .header-style2 #mainnav-mobi {
    display: block !important;
    position: absolute !important;
  }

  .header-style2 .content-menu {
    justify-content: flex-end;
  }

  .header-style2 .content-menu .nav-wrap {
    flex: 0 0 auto;
    width: auto !important;
    padding-left: 0;
    order: 2;
    position: relative;
  }

  .header-style2 .content-menu .search-btn {
    order: 1;
    width: auto !important;
  }

  .header-style2 .btn-menu {
    display: block !important;
    position: relative !important;
    float: none;
    top: auto !important;
    right: auto !important;
    margin: 0 !important;
  }

  /* Keep quote CTA visible with hamburger (template hid it at 991px) */
  .header-style2 .search-btn .btn-top {
    display: block !important;
  }
}

@media (max-width: 575px) {
  .header-style2 .logo.logo-style2 {
    max-width: 118px;
  }

  .header-style2 .content-menu {
    gap: 8px;
  }

  .header-style2 .search-btn .btn-style-4 .btn-title {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
  }

  .header-style2 .hs-lang-switch--header {
    margin-inline-end: 8px;
  }

  .header-style2 .hs-lang-switch__track {
    height: 28px;
  }

  .header-style2 .hs-lang-switch__link {
    min-width: 0;
    padding: 0 6px;
    font-size: 10px;
  }
}

/* Phone widths: keep logo + lang + hamburger; CTA moves into mobile drawer */
@media (max-width: 480px) {
  .header-style2 .logo.logo-style2 {
    max-width: 108px;
  }

  .header-style2 .search-btn .btn-top {
    display: none !important;
  }

  .header-style2 .content-menu {
    gap: 10px;
  }
}

/* Mobile drawer Quote CTA (matches header btn-style-4) */
#mainnav-mobi .hs-mobile-cta {
  padding: 16px 20px 22px;
  border-top: 1px solid rgba(67, 78, 110, 0.1);
  background-color: #fff;
}

#mainnav-mobi .hs-mobile-cta__btn {
  display: block;
  width: 100%;
  text-align: center;
}

#mainnav-mobi .hs-mobile-cta__btn .btn-title {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

html[dir="rtl"] #mainnav-mobi .hs-mobile-cta {
  text-align: right;
}

#mainnav-mobi .menu {
  height: 0px;
  overflow: hidden;
  transition: height 0.35s ease;
  background-color: #ffffff;
}

#mainnav-mobi .sub-menu {
  height: 0px;
  transition: height 0.3s ease;
  overflow: hidden;
  background-color: #f7f7f8;
}

/*
 * Mobile drawer — solid opaque panel (never transparent), elevated, readable.
 */
.header-style2 #mainnav-mobi,
#mainnav-mobi.mainnav {
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  z-index: 10060;
  box-shadow: 0 18px 48px rgba(29, 39, 56, 0.16);
  border-top: 1px solid rgba(67, 78, 110, 0.1);
  border-bottom: 1px solid rgba(67, 78, 110, 0.06);
  max-height: min(78vh, calc(100vh - 96px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-style2 #mainnav-mobi ul li,
#mainnav-mobi ul li {
  border-top: 1px solid rgba(67, 78, 110, 0.1);
  background-color: #ffffff;
  text-align: start;
}

.header-style2 #mainnav-mobi ul.menu > li:first-child,
#mainnav-mobi ul.menu > li:first-child {
  border-top: 0;
}

.header-style2 #mainnav-mobi ul > li > a,
#mainnav-mobi ul > li > a {
  color: #434e6e !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  height: 52px;
  line-height: 52px;
  padding: 0 20px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header-style2 #mainnav-mobi ul > li > a:hover,
.header-style2 #mainnav-mobi ul > li > a:focus-visible,
#mainnav-mobi ul > li > a:hover,
#mainnav-mobi ul > li > a:focus-visible {
  color: #e3cca1 !important;
  background-color: rgba(227, 204, 161, 0.14);
  outline: none;
}

.header-style2 #mainnav-mobi .current-menu-item > a,
.header-style2 #mainnav-mobi .current-menu-ancestor > a,
#mainnav-mobi .current-menu-item > a,
#mainnav-mobi .current-menu-ancestor > a {
  color: #434e6e !important;
  background-color: rgba(227, 204, 161, 0.22);
  font-weight: 600;
}

.header-style2 #mainnav-mobi ul.sub-menu,
#mainnav-mobi ul.sub-menu {
  background-color: #f7f7f8 !important;
  position: relative;
  left: 0;
  right: 0;
}

.header-style2 #mainnav-mobi > ul > li > ul > li,
.header-style2 #mainnav-mobi > ul > li > ul > li > ul > li,
#mainnav-mobi > ul > li > ul > li,
#mainnav-mobi > ul > li > ul > li > ul > li {
  border-top: 1px solid rgba(67, 78, 110, 0.08);
  background-color: #f7f7f8 !important;
}

.header-style2 #mainnav-mobi ul.sub-menu > li > a,
#mainnav-mobi ul.sub-menu > li > a {
  color: #434e6e !important;
  font-size: 15px;
  font-weight: 450;
  padding: 0 20px 0 28px;
  height: 46px;
  line-height: 46px;
}

html[dir="rtl"] .header-style2 #mainnav-mobi ul.sub-menu > li > a,
html[dir="rtl"] #mainnav-mobi ul.sub-menu > li > a {
  padding: 0 28px 0 20px;
}

.header-style2 #mainnav-mobi ul.sub-menu > li > a:hover,
#mainnav-mobi ul.sub-menu > li > a:hover {
  color: #e3cca1 !important;
  background-color: rgba(227, 204, 161, 0.12);
}

.header-style2 #mainnav-mobi .btn-submenu:before,
#mainnav-mobi .btn-submenu:before {
  color: #434e6e !important;
}

.header-style2 #mainnav-mobi .hs-lang-switch--mobile-item,
#mainnav-mobi .hs-lang-switch--mobile-item {
  padding: 16px 20px;
  border-top: 1px solid rgba(67, 78, 110, 0.1);
  background-color: #ffffff;
}

.header-style2 #mainnav-mobi .hs-lang-switch--mobile .hs-lang-switch__track,
#mainnav-mobi .hs-lang-switch--mobile .hs-lang-switch__track {
  background-color: #f3f4f6;
  border-color: rgba(67, 78, 110, 0.2);
}

.parent2-open {
  height: 60px !important;
}
@media (max-width: 1200px) {
  .slideContent .imageBlock {
    display: none;
  }
  .slideContent .textBlock {
    width: 100%;
    max-width: 100%;
  }
  .slideContent {
    width: 100%;
  }
}
@media (max-width: 1600px) {
  .tp-leftarrow,
  .tp-rightarrow {
    display: none !important;
  }
}
@media (max-width: 992px) {
  .flat-slider h1 {
    font-size: 50px !important;
    line-height: 1;
  }
  .flat-slider h1.title2 {
    font-size: 50px !important;
    line-height: 1;
  }
}
@media (max-width: 500px) {
  .flat-slider h1 {
    font-size: 35px !important;
    line-height: 1;
  }
  .flat-slider h1.title2 {
    font-size: 35px !important;
    line-height: 1;
  }
  .slideContent {
    align-items: flex-start;
    padding-top: 35px;
    /* Template used width: 100vh which overflows the viewport on mobile */
    width: 100%;
    max-width: 100%;
  }
}
.rev_slider_wrapper {
  position: static;
}
.box-shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 8%);
}
.padding0-15 {
  padding: 0px 15px;
}
.topbar .container {
  box-sizing: border-box;
}
@media only screen and (max-width: 1199px) {
  .header1 .topbar {
    /* box-sizing: border-box !important;
      width: 100vw !important; */
    /* padding: 0 !important; */

    position: relative;
  }
  .header1 .tf-topbar {
    width: calc(100% - 30px) !important;
  }
}
@media only screen and (max-width: 992px) {
  .header1 .topbar {
    /* box-sizing: border-box !important;
      width: 100vw !important; */
    /* padding: 0 !important; */

    position: relative;
  }
  .header1 .tf-topbar {
    width: 100% !important;
  }
}
.w-100 {
  width: 100%;
}
.tfSubscribeMsg {
  display: none;
  max-height: 0px;

  overflow: hidden;
}
.tfSubscribeMsg.active {
  margin-top: 10px;
  margin-bottom: 10px;
  max-height: 180px;
  display: block;
}

/* Accessibility ? visually hidden labels */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link ? visible on keyboard focus only */
.hs-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10000;
  padding: 10px 16px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.3;
}
.hs-skip-link:focus {
  top: 12px;
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}
html[dir="rtl"] .hs-skip-link {
  left: auto;
  right: 12px;
}

/*
 * Animsition page-transition library defaults to opacity: 0.
 * The original Home 2 page forces opacity: 1 inline. SiteChrome does the same.
 * Keep this CSS fallback so content stays visible without the unused JS plugin.
 */
.animsition,
.animsition-overlay {
  opacity: 1;
}

/* Hero CTA spacing (Home 1 pattern) */
.btnWrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

/*
 * Minimal RTL adjustments for HS Plaste public pages.
 * Scoped to html[dir="rtl"] ? no !important, no redesign.
 */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .text-center,
html[dir="rtl"] .portfolio.text-center {
  text-align: center;
}

html[dir="rtl"] .slideContent {
  flex-direction: row-reverse;
}

html[dir="rtl"] .icon-wrap.margin-right15 {
  margin-right: 0;
  margin-left: 15px;
}

html[dir="rtl"] .button-imagebox .icon-iconarrow-right {
  display: inline-block;
  transform: scaleX(-1);
}

/*
 * Language switcher — segmented English / العربية control.
 * Pill-shaped outer track + rounded segments; Janelas gold active state.
 */
.hs-lang-switch {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.hs-lang-switch__track {
  display: inline-flex;
  align-items: stretch;
  gap: 1px;
  height: 30px;
  padding: 2px;
  border: 1px solid rgba(67, 78, 110, 0.28);
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
  overflow: hidden;
}

.hs-lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  min-width: 3.5rem;
  padding: 0 8px;
  border-radius: 9999px;
  background-color: transparent;
  color: #434e6e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  /* Override global `a { transition: all }` — background only */
  transition: background-color 200ms ease;
}

.hs-lang-switch__link:hover,
.hs-lang-switch__link:focus-visible {
  color: #434e6e;
  background-color: rgba(227, 204, 161, 0.35);
  text-decoration: none;
  outline: none;
}

.hs-lang-switch__link:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e3cca1;
}

.hs-lang-switch__link.is-active {
  color: #434e6e;
  background-color: #e3cca1;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

.hs-lang-switch__text {
  display: inline-block;
}

.hs-lang-switch__sep {
  display: none;
}

.hs-lang-switch--header {
  margin-inline-end: 14px;
}

.hs-lang-switch--mobile-item {
  padding: 14px 20px;
  border-top: 1px solid rgba(67, 78, 110, 0.1);
}

.hs-lang-switch--mobile {
  width: 100%;
  color: #222;
}

.hs-lang-switch--mobile .hs-lang-switch__track {
  width: 100%;
  height: 34px;
  background-color: #f7f7f7;
  border-color: rgba(67, 78, 110, 0.18);
}

.hs-lang-switch--mobile .hs-lang-switch__link {
  flex: 1 1 0;
  font-size: 12px;
}

/* Nested Products groups in mobile accordion */
#mainnav-mobi .sub-menu.hs-mobile-nested {
  height: auto !important;
  overflow: visible;
  padding-inline-start: 12px;
}

/* Nested desktop flyout: open on hover (template supports ul ul) */
#mainnav ul.menustyle2 li li.menu-item-has-children:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.hs-contact-context ul {
  margin: 8px 0 0;
  padding-inline-start: 18px;
}

/*
 * Additional scoped RTL polish (Phase C visual review).
 * Why each rule exists is documented inline.
 */

/* Breadcrumb / page-title chevrons read LTR by default; flip for RTL reading order */
html[dir="rtl"] .breadcrumbs li + li::before,
html[dir="rtl"] .page-title .breadcrumbs span i {
  display: inline-block;
  transform: scaleX(-1);
}

/* Header CTA + lang cluster: keep flex order readable in RTL */
html[dir="rtl"] .header-style2 .search-btn {
  display: flex;
  align-items: center;
  flex-direction: row;
}

/* Select / filter labels sit better with logical spacing */
html[dir="rtl"] .select-product .lable {
  margin-right: 0;
  margin-left: 10px;
}

/* Submenu arrow indicator for mobile accordion */
html[dir="rtl"] #mainnav-mobi .btn-submenu {
  right: auto;
  left: 15px;
}

/* Contact form fieldsets: logical text alignment */
html[dir="rtl"] .form-questions input,
html[dir="rtl"] .form-questions textarea,
html[dir="rtl"] .form-questions select {
  text-align: right;
}

/* Footer link list markers / padding */
html[dir="rtl"] .footer .link ul {
  padding-right: 0;
}

/* Spec / category widget list text */
html[dir="rtl"] .widget-category .block-inside {
  text-align: right;
}

/*
 * Mobile RTL contact: template fieldset floats can exceed viewport by ~2px.
 * Clip only the contact form card ? avoids page-level horizontal scroll.
 */
@media (max-width: 767px) {
  html[dir="rtl"] .questions-contact .form-questions,
  html[dir="rtl"] .questions-contact .content-form {
    max-width: 100%;
    overflow-x: clip;
  }

  html[dir="rtl"] .questions-location .container {
    overflow-x: clip;
  }

  /* Logo link can sit slightly past the viewport edge in RTL header flex */
  html[dir="rtl"] .header-style2 .logo img {
    max-width: 100%;
    height: auto;
  }

  html[dir="rtl"] .header-style2 .container-formel {
    overflow-x: clip;
  }
}

/* go-top uses fixed left in template CSS; keep it inside the viewport in RTL */
html[dir="rtl"] .go-top {
  left: 15px;
  right: auto;
}

/* Bootstrap float columns: keep service-details sidebar reading order in RTL */
html[dir="rtl"] .service-details .col-md-4 {
  float: right;
}

html[dir="rtl"] .service-details .col-md-8 {
  float: left;
}

/*
 * Public listing polish ? scoped helpers that reinforce Home 2 patterns.
 * Uses existing template colors, fonts, and select-product styles.
 */

/*
 * Product/service cards: flex grid + in-card CTA.
 * Do NOT use template .button-imagebox for text links ? it is absolute
 * (bottom: -24px) and meant for the circular arrow control only.
 */
.hs-listing-grid {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -15px;
  margin-right: -15px;
}

.hs-listing-grid .hs-image-box {
  float: none;
  width: calc(33.333% - 30px);
  margin: 0 15px 40px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
}

.hs-listing-grid--thirds .hs-image-box {
  width: calc(33.333% - 30px);
}

.hs-listing-grid--halves .hs-image-box {
  width: calc(50% - 30px);
}

.hs-image-box__media {
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 325 / 230;
  background: #f3f4f7;
}

.hs-image-box--compact .hs-image-box__media {
  aspect-ratio: 280 / 180;
}

.hs-image-box__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hs-image-box__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hs-image-box__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 8px;
  position: relative;
}

/* Decorative index ? do not push the CTA around */
.hs-listing-grid .hs-image-box .number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.hs-listing-grid .hs-image-box .title-imagebox,
.hs-listing-grid .hs-image-box .content-imagebox,
.hs-listing-grid .hs-image-box .hs-image-box__cta {
  position: relative;
  z-index: 1;
}

.hs-listing-grid .hs-image-box .title-imagebox {
  margin-top: 8px;
  min-height: 52px;
  padding-right: 72px;
}

.hs-listing-grid .hs-image-box .title-imagebox h4,
.hs-listing-grid .hs-image-box .title-imagebox h4 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin: 0;
  line-height: 1.35;
}

.hs-listing-grid .hs-image-box .content-imagebox {
  flex: 1 1 auto;
  min-height: 88px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
}

.hs-image-box__meta {
  font-size: 13px;
  line-height: 22px;
  color: #7a8299;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hs-image-box .content-imagebox p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  min-height: 44px;
  word-break: break-word;
}

.hs-image-box .content-imagebox p.hs-image-box__desc--empty {
  visibility: hidden;
  user-select: none;
}

.hs-image-box__cta {
  margin-top: auto;
  padding-top: 18px;
  padding-bottom: 4px;
  border-top: 1px solid #eef0f4;
  min-height: 42px;
  display: flex;
  align-items: center;
}

.hs-image-box__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #434e6e;
  transition: color 0.3s ease;
}

.hs-image-box__cta-link i {
  font-size: 11px;
  color: #e3cca1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hs-image-box__cta-link:hover {
  color: #e3cca1;
}

.hs-image-box__cta-link:hover i {
  color: #434e6e;
  transform: translateX(3px);
}

/* Compact option / variant cards (still equal height within grid) */
.hs-listing-grid .hs-image-box--compact {
  width: calc(25% - 30px);
}

.hs-listing-grid .hs-image-box--compact .title-imagebox {
  min-height: 40px;
  padding-right: 0;
}

.hs-listing-grid .hs-image-box--compact .content-imagebox {
  min-height: 0;
}

.hs-listing-grid .hs-image-box--compact .content-imagebox p {
  min-height: 0;
  -webkit-line-clamp: 1;
}

/* Compact cards keep CTA alignment when a label is present */
.hs-listing-grid .hs-image-box--compact .hs-image-box__cta {
  border-top: none;
  padding-top: 10px;
  min-height: 0;
}

@media (max-width: 991px) {
  .hs-listing-grid .hs-image-box,
  .hs-listing-grid--thirds .hs-image-box,
  .hs-listing-grid--halves .hs-image-box {
    width: calc(50% - 30px);
  }

  .hs-listing-grid .hs-image-box--compact {
    width: calc(50% - 30px);
  }
}

@media (max-width: 767px) {
  .hs-listing-grid .hs-image-box,
  .hs-listing-grid--thirds .hs-image-box,
  .hs-listing-grid--halves .hs-image-box,
  .hs-listing-grid .hs-image-box--compact {
    width: calc(100% - 30px);
  }
}

/* Compact filter bar grouped with listing content */
.hs-listing-filters {
  clear: both;
  margin-bottom: 8px;
}

.hs-listing-filters__field {
  margin-bottom: 18px;
}

.hs-listing-filters .select-product select {
  width: 100%;
  border: 1px solid #e6e8ef;
  background-color: #f8f8f8;
}

.hs-listing-filters__actions {
  margin-top: 4px;
  margin-bottom: 10px;
}

.hs-listing-filters__reset {
  background: transparent;
  border: 0;
  padding: 0;
  color: #434e6e;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.hs-listing-results {
  clear: both;
}

.hs-listing-results__count {
  margin: 0;
  font-size: 14px;
  color: #7a8299;
  font-family: "Rubik", sans-serif;
}

.hs-listing-empty {
  clear: both;
  padding: 40px 20px;
}

.hs-listing-cta {
  clear: both;
}

/* Project grid cards ? square crop matching Home 2 portfolio tiles */
.hs-project-card .image {
  overflow: hidden;
}

.hs-project-card .image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hs-projects-grid .item {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .hs-project-card .image img {
    height: 260px;
  }
}

/* Detail pages */
.hs-detail-hero img,
.hs-detail-gallery__item img,
.hs-taxonomy-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Catalog detail ? single-container flow (EN + AR) */
.hs-catalog-detail .hs-catalog-detail__inner {
  width: 100%;
  max-width: 100%;
}

.hs-catalog-detail__hero {
  overflow: hidden;
  line-height: 0;
  width: 100%;
}

.hs-catalog-detail__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hs-catalog-detail__body {
  margin-top: 28px;
  max-width: none; /* align with hero + gallery width inside .container */
  width: 100%;
}

.hs-catalog-detail .site-content-style2 > .image-hover {
  margin-bottom: 0;
}

.hs-catalog-detail__body .title-section {
  margin: 0 0 8px;
  padding: 0;
}

.hs-catalog-detail__body .flat-title {
  margin: 0;
  line-height: 1.2;
}

.hs-catalog-detail__body .hs-image-box__meta {
  margin: 0 0 12px;
  color: #7a8299;
  font-size: 14px;
  line-height: 1.5;
}

.hs-catalog-detail__desc {
  margin: 0 0 14px;
  line-height: 1.7;
  color: #565872;
}

.hs-catalog-detail .hs-catalog-pdf {
  margin: 0 0 10px;
}

.hs-catalog-detail .hs-related-line {
  margin: 0 0 14px;
  color: #7a8299;
  font-size: 14px;
  line-height: 1.5;
}

.hs-catalog-detail__cta {
  margin: 0;
}

/* Compact Janelas CTA on catalog detail (template default is 90px tall) */
.hs-catalog-detail__cta .btn-style-one {
  line-height: 56px;
}

.hs-catalog-detail__cta .btn-style-one .btn-title {
  padding: 0 56px 0 28px;
  font-size: 16px;
}

.hs-catalog-detail__cta .btn-style-one .btn-title::after {
  right: 24px;
  left: auto;
  transform: none;
}

html[dir="rtl"] .hs-catalog-detail__cta .btn-style-one .btn-title {
  padding: 0 28px 0 56px;
}

html[dir="rtl"] .hs-catalog-detail__cta .btn-style-one .btn-title::after {
  right: auto;
  left: 24px;
  transform: scaleX(-1);
}

.hs-catalog-detail__gallery {
  margin-top: 28px;
  clear: both;
  width: 100%;
}

/*
 * Catalog items gallery — equal cards, fixed ratio, premium grid.
 */
.hs-catalog-items {
  margin-top: 36px;
  clear: both;
  width: 100%;
}

.hs-catalog-items__heading {
  margin: 0 0 22px !important;
}

.hs-catalog-items__heading .flat-title {
  margin: 0;
  line-height: 1.2;
}

.hs-catalog-items__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hs-catalog-items__cell {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.hs-catalog-items__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  color: inherit;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.hs-catalog-items__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 5px;
  background: #f3f3f3;
}

.hs-catalog-items__img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hs-catalog-items__card:hover .hs-catalog-items__img,
.hs-catalog-items__card:focus-visible .hs-catalog-items__img {
  transform: scale(1.04);
}

.hs-catalog-items__card:focus-visible {
  outline: none;
}

.hs-catalog-items__card:focus-visible .hs-catalog-items__media {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e3cca1;
}

.hs-catalog-items__caption {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #434e6e;
  transition: color 0.2s ease;
}

.hs-catalog-items__card:hover .hs-catalog-items__caption {
  color: #e3cca1;
}

.hs-catalog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 36, 54, 0.72);
  backdrop-filter: blur(2px);
}

.hs-catalog-lightbox__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.hs-catalog-lightbox__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #434e6e;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hs-catalog-lightbox__close:hover {
  background: #e3cca1;
}

.hs-catalog-lightbox__media {
  background: #111;
}

.hs-catalog-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  margin: 0 auto;
}

.hs-catalog-lightbox__body {
  padding: 20px 24px 24px;
}

.hs-catalog-lightbox__title {
  margin: 0 0 8px;
  font-size: 22px;
  color: #434e6e;
  line-height: 1.3;
}

.hs-catalog-lightbox__desc {
  margin: 0;
  color: #5a6480;
  line-height: 1.6;
  font-size: 15px;
}

html[dir="rtl"] .hs-catalog-items__caption,
html[dir="rtl"] .hs-catalog-lightbox__title,
html[dir="rtl"] .hs-catalog-lightbox__desc {
  text-align: right;
}

@media (max-width: 1024px) {
  .hs-catalog-items__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .hs-catalog-items__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hs-catalog-items__caption {
    font-size: 14px;
  }

  .hs-catalog-lightbox {
    padding: 12px;
  }

  .hs-catalog-lightbox__body {
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .hs-catalog-items__grid {
    grid-template-columns: 1fr;
  }
}

.hs-catalog-detail__gallery-title {
  margin: 0 0 18px !important;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hs-catalog-detail__gallery-title .flat-title {
  margin: 0;
  line-height: 1.2;
}

.hs-catalog-detail .hs-detail-gallery {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

.hs-catalog-detail .hs-detail-gallery--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.hs-catalog-detail .hs-detail-gallery--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hs-catalog-detail .hs-detail-gallery--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-catalog-detail .hs-detail-gallery__cell {
  min-width: 0;
  height: 100%;
}

.hs-catalog-detail .hs-detail-gallery .hs-detail-gallery__item {
  overflow: hidden;
  margin: 0;
  line-height: 0;
  width: 100%;
  background-color: #f3f3f3;
}

.hs-catalog-detail .hs-detail-gallery .hs-detail-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}

html[dir="rtl"] .hs-catalog-detail__body {
  text-align: right;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

html[dir="rtl"] .hs-catalog-detail__body .title-section,
html[dir="rtl"] .hs-catalog-detail__body .flat-title,
html[dir="rtl"] .hs-catalog-detail__body .hs-image-box__meta,
html[dir="rtl"] .hs-catalog-detail__desc,
html[dir="rtl"] .hs-catalog-detail .hs-related-line {
  text-align: right;
}

/* Keep gallery heading centered in both locales */
html[dir="rtl"] .hs-catalog-detail__gallery-title,
html[dir="rtl"] .hs-catalog-detail__gallery-title .flat-title {
  text-align: center;
}

/* ---------------------------------------------------------------------------
   Project detail (case study) ? mirrors catalog detail rhythm
--------------------------------------------------------------------------- */
.hs-project-detail .hs-project-detail__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hs-project-detail__crumb {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: #6b6560;
  line-height: 1.5;
}

.hs-project-detail__crumb a {
  color: #9a7b4f;
  text-decoration: none;
}

.hs-project-detail__crumb a:hover {
  text-decoration: underline;
}

.hs-project-detail__hero {
  margin-bottom: 0;
}

.hs-project-detail__hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1170 / 640;
}

.hs-project-detail__body {
  padding: 28px 0 8px;
}

.hs-project-detail__body .title-section {
  margin-bottom: 10px;
}

.hs-project-detail__body .flat-title {
  margin: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hs-project-detail__meta {
  margin: 0 0 16px;
  color: #6b6560;
  font-size: 0.95rem;
}

.hs-project-detail__lead {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2c2926;
}

.hs-project-detail__desc {
  margin: 0 0 24px;
  line-height: 1.7;
  color: #3d3935;
}

.hs-project-detail__relations {
  display: grid;
  gap: 22px;
  margin: 28px 0 8px;
  padding: 24px 0 4px;
  border-top: 1px solid rgba(44, 41, 38, 0.1);
}

.hs-project-detail__relation-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2c2926;
}

.hs-project-detail__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-project-detail__chips a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(154, 123, 79, 0.35);
  border-radius: 999px;
  color: #5c4a32;
  text-decoration: none;
  font-size: 0.88rem;
  background: rgba(154, 123, 79, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hs-project-detail__chips a:hover {
  background: rgba(154, 123, 79, 0.14);
  border-color: rgba(154, 123, 79, 0.55);
}

.hs-project-detail__product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hs-project-detail__product-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(44, 41, 38, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 0;
}

.hs-project-detail__product-link:hover {
  border-color: rgba(154, 123, 79, 0.45);
  background: rgba(154, 123, 79, 0.05);
}

.hs-project-detail__product-name {
  font-weight: 550;
  color: #2c2926;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hs-project-detail__product-code {
  font-size: 0.82rem;
  color: #6b6560;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  flex: 0 0 auto;
}

.hs-project-detail__cta {
  margin: 24px 0 8px;
  padding-top: 8px;
}

.hs-project-detail__cta .btn-style-one {
  display: inline-block;
  max-width: 100%;
}

.hs-project-detail__gallery {
  margin-top: 28px;
  clear: both;
  width: 100%;
}

.hs-project-detail__gallery-title {
  margin: 0 0 18px !important;
  padding: 0;
}

.hs-project-detail__gallery-title .flat-title {
  margin: 0;
  line-height: 1.2;
}

.hs-project-detail .hs-detail-gallery {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
  align-items: stretch;
}

.hs-project-detail .hs-detail-gallery--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.hs-project-detail .hs-detail-gallery--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hs-project-detail .hs-detail-gallery--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hs-project-detail .hs-detail-gallery__cell {
  min-width: 0;
}

.hs-project-detail .hs-detail-gallery .hs-detail-gallery__item {
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
}

.hs-project-detail .hs-detail-gallery .hs-detail-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 570 / 360;
  display: block;
}

html[dir="rtl"] .hs-project-detail__body,
html[dir="rtl"] .hs-project-detail__crumb,
html[dir="rtl"] .hs-project-detail__meta,
html[dir="rtl"] .hs-project-detail__lead,
html[dir="rtl"] .hs-project-detail__desc,
html[dir="rtl"] .hs-project-detail__relation-title {
  text-align: right;
}

html[dir="rtl"] .hs-project-detail__gallery-title,
html[dir="rtl"] .hs-project-detail__gallery-title .flat-title {
  text-align: center;
}

html[dir="rtl"] .hs-project-detail__product-link {
  flex-direction: row-reverse;
}

@media (max-width: 991px) {
  .hs-project-detail__body {
    padding-top: 22px;
  }

  .hs-project-detail__gallery {
    margin-top: 24px;
  }

  .hs-project-detail .hs-detail-gallery--cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hs-project-detail__body {
    padding-top: 20px;
  }

  .hs-project-detail__crumb {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .hs-project-detail__lead {
    font-size: 1rem;
  }

  .hs-project-detail__hero img {
    aspect-ratio: 4 / 3;
  }

  .hs-project-detail .hs-detail-gallery--cols-2,
  .hs-project-detail .hs-detail-gallery--cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-project-detail .hs-detail-gallery .hs-detail-gallery__item img {
    aspect-ratio: 4 / 3;
  }

  .hs-project-detail__gallery {
    margin-top: 20px;
  }

  .hs-project-detail__product-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  html[dir="rtl"] .hs-project-detail__product-link {
    flex-direction: column;
    align-items: flex-end;
  }

  .hs-project-detail__cta .btn-style-one {
    width: 100%;
  }

  .hs-project-detail__cta .btn-style-one .btn-title {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* Global RTL CTA: arrow on the inline-start side, mirrored */
html[dir="rtl"] .btn-style-one .btn-title {
  padding: 0 33px 0 76px;
}

html[dir="rtl"] .btn-style-one .btn-title::after {
  right: auto;
  left: 31px;
  transform: scaleX(-1);
}

html[dir="rtl"] .btn-style-one .btn-title::before {
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
}

@media (max-width: 991px) {
  .hs-catalog-detail__body {
    margin-top: 22px;
  }

  .hs-catalog-detail__gallery {
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .hs-catalog-detail__hero img {
    aspect-ratio: 4 / 3;
  }

  .hs-catalog-detail .hs-detail-gallery--cols-2,
  .hs-catalog-detail .hs-detail-gallery--cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-catalog-detail .hs-detail-gallery .hs-detail-gallery__item img {
    aspect-ratio: 4 / 3;
  }

  .hs-catalog-detail__gallery {
    margin-top: 22px;
  }

  .hs-catalog-detail__gallery-title {
    margin-bottom: 14px !important;
  }
}

.hs-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
}

.hs-detail-meta__label {
  color: #7a8299;
  font-size: 13px;
}

.hs-detail-meta__value {
  color: #434e6e;
}

.hs-related-line {
  margin-top: 18px;
  margin-bottom: 18px;
}

.hs-catalog-pdf {
  margin: 18px 0;
}

.hs-catalog-pdf__soon {
  display: inline-block;
  padding: 10px 16px;
  background: #f8f8f8;
  color: #7a8299;
  font-size: 14px;
  font-family: "Rubik", sans-serif;
}

html[dir="rtl"] .what-we-do-style .image-box .title-imagebox a,
html[dir="rtl"] .what-we-do-style .image-box .content-imagebox p,
html[dir="rtl"] .hs-image-box__meta {
  text-align: right;
}

/* Service cards: icon sits on image edge; title clears it */
.hs-listing-grid .hs-image-box .hs-image-box__body {
  padding-top: 24px;
}

.hs-listing-grid .hs-image-box .icon-window {
  float: none;
  position: absolute;
  top: -40px;
  right: 16px;
  margin: 0;
  transform: none;
  z-index: 2;
}

html[dir="rtl"] .hs-listing-grid .hs-image-box .icon-window {
  right: auto;
  left: 16px;
}

html[dir="rtl"] .hs-listing-grid .hs-image-box .title-imagebox {
  padding-right: 0;
  padding-left: 72px;
}

html[dir="rtl"] .hs-listing-grid .hs-image-box--compact .title-imagebox {
  padding-left: 0;
}

html[dir="rtl"] .hs-listing-grid .hs-image-box .number {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hs-image-box__cta-link i {
  transform: scaleX(-1);
}

html[dir="rtl"] .hs-image-box__cta-link:hover i {
  transform: scaleX(-1) translateX(3px);
}

html[dir="rtl"] .hs-project-card .content-title {
  text-align: right;
}

html[dir="rtl"] .hs-project-card .btn-tab .fas.fa-arrow-right {
  display: inline-block;
  transform: scaleX(-1);
}

/*
 * Mobile overflow clip ? Home 2 Swiper off-canvas slides + bullet math
 * can extend ~8px past the viewport (esp. RTL). Clip without redesign.
 */
@media (max-width: 767px) {
  .animsition.header-sticky.boxed {
    overflow-x: clip;
  }

  .portfolio-slider,
  .tf-partners.partners-style2,
  .flat-carousel-box {
    overflow-x: clip;
    max-width: 100%;
  }

  .rev_slider_wrapper .tp-bullets {
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
  }
}

/*
 * About page ? stable process / values (avoids broken tf-coutor overlap).
 */
.hs-about-step {
  padding: 8px 8px 24px;
}

.hs-about-step__num {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: #e3cca1;
  margin-bottom: 14px;
}

.hs-about-step h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #434e6e;
  margin: 0 0 10px;
}

.hs-about-step p {
  margin: 0;
  color: #7a8299;
  font-size: 15px;
  line-height: 26px;
}

.hs-about-value {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  padding: 28px 24px;
  margin-bottom: 30px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.05);
  min-height: 140px;
}

.hs-about-value__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  color: #e3cca1;
  font-size: 28px;
}

.hs-about-value__body h4 {
  font-family: "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #434e6e;
  margin: 0 0 8px;
}

.hs-about-value__body p {
  margin: 0;
  color: #7a8299;
  font-size: 15px;
  line-height: 26px;
}

.hs-about-cta .title-section p {
  max-width: 560px;
  margin: 16px auto 28px;
  color: #7a8299;
}

@media (max-width: 767px) {
  .hs-about-process__grid .col-sm-3 {
    width: 50%;
    float: left;
  }

  .hs-about-value {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .hs-about-process__grid .col-sm-3 {
    width: 100%;
    float: none;
  }
}

html[dir="rtl"] .hs-about-step,
html[dir="rtl"] .hs-about-value__body {
  text-align: right;
}

html[dir="rtl"] .hs-about-value {
  flex-direction: row-reverse;
}

/*
 * Contact page ? Home 2 questions-style2 shell; CSS grid instead of
 * broken questions-contact absolute layout (post page-title removal).
 */
.hs-contact-page__intro {
  max-width: 640px;
  margin: 16px auto 0;
  color: #7a8299;
  font-size: 16px;
  line-height: 28px;
}

.hs-contact-page .hs-contact-context {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: start;
  background: #f8f8f8;
  padding: 14px 18px;
  font-size: 14px;
  color: #434e6e;
}

.hs-contact-page__side-note {
  margin-top: 16px;
  color: #fff;
  font-size: 13px;
  line-height: 22px;
  opacity: 0.9;
}

/* Kill template floats — contain tall form without footer bleed */
.hs-contact-page .questions-style2 {
  display: flow-root;
}

.hs-contact-page .image-form,
.hs-contact-page .form-questions,
.hs-contact-page__media {
  float: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.hs-contact-page__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 992px) {
  .hs-contact-page .questions-style2 {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
    column-gap: 30px;
    align-items: stretch;
  }

  .hs-contact-page .questions-style2 > .themesflat-spacer,
  .hs-contact-page .questions-style2 > .title-section {
    grid-column: 1 / -1;
  }

  .hs-contact-page__media,
  .hs-contact-page .form-questions {
    height: 100%;
    min-height: 0;
  }

  .hs-contact-page__media .image-form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: auto;
  }

  .hs-contact-page__media .image-hoverstyle2 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    height: 100%;
  }

  .hs-contact-page__media .image {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
  }

  .hs-contact-page__media .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hs-contact-page .form-questions {
    width: auto;
    display: flex;
    flex-direction: column;
  }

  .hs-contact-page .form-questions .comment-respond,
  .hs-contact-page .form-questions .hs-contact-form__body {
    flex: 1 1 auto;
    height: 100%;
  }
}

.hs-contact-page .form-questions {
  padding: 32px 36px 36px;
  margin-bottom: 0;
  border-radius: 4px;
}

.hs-contact-form__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hs-contact-form__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hs-contact-form__section + .hs-contact-form__section {
  padding-top: 24px;
  border-top: 1px solid rgba(67, 78, 110, 0.12);
}

.hs-contact-form__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-contact-form__section-title {
  margin: 0;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #434e6e;
}

.hs-contact-form__section-note {
  margin: 0;
  font-size: 12px;
  color: #7a8299;
}

.hs-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.hs-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.hs-contact-form__field--full {
  grid-column: 1 / -1;
}

.hs-contact-form__field label {
  font-size: 13px;
  font-weight: 500;
  color: #565872;
  line-height: 1.3;
}

.hs-contact-form__req {
  margin-inline-start: 3px;
  color: #c45c26;
}

.hs-contact-form__opt {
  margin-inline-start: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #9aa0b4;
}

.hs-contact-page .hs-contact-form input.tb-my-input,
.hs-contact-page .hs-contact-form textarea,
.hs-contact-page .hs-contact-form__select select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid rgba(67, 78, 110, 0.18);
  border-radius: 4px;
  background: #fbfbfc;
  color: #434e6e;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hs-contact-page .hs-contact-form input.tb-my-input,
.hs-contact-page .hs-contact-form__select select {
  height: 50px;
  padding: 0 14px;
}

.hs-contact-page .hs-contact-form textarea {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.hs-contact-form__select {
  position: relative;
}

.hs-contact-form__select select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 40px;
  cursor: pointer;
}

.hs-contact-form__select::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #7a8299;
  border-bottom: 1.5px solid #7a8299;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.hs-contact-page .hs-contact-form input.tb-my-input:hover,
.hs-contact-page .hs-contact-form textarea:hover,
.hs-contact-page .hs-contact-form__select select:hover {
  border-color: rgba(67, 78, 110, 0.32);
  background: #fff;
}

.hs-contact-page .hs-contact-form input.tb-my-input:focus,
.hs-contact-page .hs-contact-form textarea:focus,
.hs-contact-page .hs-contact-form__select select:focus {
  outline: none;
  border-color: #e3cca1;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 204, 161, 0.35);
}

.hs-contact-form__alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.hs-contact-form__alert--error {
  background: #fdecec;
  color: #9b2c2c;
}

.hs-contact-form__alert--ok {
  background: #eef6f0;
  color: #2f6b3c;
}

.hs-contact-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.hs-contact-form__submit {
  min-width: 180px;
}

.hs-contact-form__submit:active {
  transform: scale(0.98);
}

@media (min-width: 992px) {
  .hs-contact-page .form-questions {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 991px) {
  .hs-contact-page__media {
    max-width: 420px;
    margin: 0 auto 30px;
  }

  .hs-contact-page__media .image-form {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .hs-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hs-contact-page .form-questions {
    padding: 24px 18px 28px;
  }

  .hs-contact-form__actions {
    justify-content: stretch;
  }

  .hs-contact-form__submit {
    width: 100%;
  }
}

html[dir="rtl"] .hs-contact-page .hs-contact-form__field label,
html[dir="rtl"] .hs-contact-page .hs-contact-form__section-title,
html[dir="rtl"] .hs-contact-page .hs-contact-form__section-note {
  text-align: right;
}

html[dir="rtl"] .hs-contact-page .hs-contact-form input.tb-my-input,
html[dir="rtl"] .hs-contact-page .hs-contact-form textarea,
html[dir="rtl"] .hs-contact-page .hs-contact-form__select select {
  text-align: right;
}

html[dir="rtl"] .hs-contact-page .title-section,
html[dir="rtl"] .hs-contact-page__intro {
  text-align: center;
}

html[dir="rtl"] .hs-contact-page .hs-contact-context {
  text-align: right;
}

html[dir="rtl"] .hs-contact-page__media,
html[dir="rtl"] .hs-contact-page .image-form,
html[dir="rtl"] .hs-contact-page .form-questions {
  float: none;
}


/*
 * =============================================================================
 * Phase C3 ? Responsive header / RTL / overflow / footer stabilization
 * Scoped overrides only. Do not restore oversized banners or redesign Home 2.
 * =============================================================================
 */

/*
 * Footer: template .footer-h2 { margin-top: -16.5% } pulls footer over the
 * previous section (~238px at 1440). Neutralize so spacer alone separates.
 */
.footer.footer-h2 {
  margin-top: 0;
}

/*
 * go-top: template parks the control at 
ight: -35px while hidden, which
 * expands document scrollWidth. Keep it in-flow inset; hide with opacity only.
 */
.go-top,
.go-top.show {
  inset-inline-end: 15px;
  right: 15px;
  left: auto;
}

html[dir="rtl"] .go-top,
html[dir="rtl"] .go-top.show {
  inset-inline-end: 15px;
  left: 15px;
  right: auto;
}

.go-top:not(.show) {
  pointer-events: none;
}

/*
 * Sticky header clearance when scrolling to in-page sections / anchors.
 */
.portfolio-slider,
.what-we-do-service,
.what-we-do,
.about2,
.questions,
.hs-listing-results,
.service-details,
.flat-case-study {
  scroll-margin-top: 100px;
}

/* Mobile only: title + copy before image (desktop keeps original columns) */
@media (max-width: 767px) {
  .about2 .hs-about-intro-row {
    display: flex;
    flex-direction: column;
  }

  .about2 .hs-about-intro-row > .themesflat-spacer {
    order: 0;
  }

  .about2 .hs-about-copy {
    order: 1;
  }

  .about2 .hs-about-media {
    order: 2;
    margin-top: 28px;
  }
}

/* Topbar: prevent address/email from blowing out narrow viewports */
@media (max-width: 767px) {
  .top-bar-style2 .top-content .adress {
    display: none;
  }

  .top-bar-style2 .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .top-bar-style2 .top-content,
  .top-bar-style2 .topbar-socials {
    float: none;
  }
}

@media (max-width: 480px) {
  .header-style2 {
    height: auto;
    min-height: 84px;
  }

  .header-style2 .flex-header,
  .header-style2 .content-menu,
  .header-style2 .content-menu .nav-wrap,
  .header-style2 .content-menu .search-btn {
    min-height: 84px;
    height: 84px;
  }

  .header-style2 .container-formel {
    padding-inline: 12px;
  }
}

/*
 * Listing grids use negative horizontal margins like Bootstrap rows.
 * Contain them inside the section so they cannot grow page scrollWidth.
 */
.what-we-do-service .container,
.what-we-do .container,
.flat-case-study .container {
  overflow-x: clip;
}

/*
 * Mobile nav RTL text alignment (template floats LTR by default).
 */
html[dir="rtl"] #mainnav-mobi .menu > li > a,
html[dir="rtl"] #mainnav-mobi .sub-menu a {
  text-align: right;
}

html[dir="rtl"] #mainnav-mobi .btn-submenu {
  inset-inline-start: 15px;
  inset-inline-end: auto;
}

/*
 * Header CTA cluster: keep logical gap in both directions.
 */
.header-style2 .content-menu .search-btn {
  gap: 10px;
}

html[dir="rtl"] .header-style2 .hs-lang-switch--header {
  margin-inline-end: 0;
  margin-inline-start: 0;
}

/*
 * Portfolio overlay title clearance ? physical LTR chrome already set above;
 * ensure EN also keeps arrow clear via logical padding on content.
 */
.partners-style2 .profolio-show-style2 .btn-tab {
  margin-inline-start: 0;
}

/*
 * =============================================================================
 * Phase C5 ? Public UI final polish (scoped overflow / RTL / detail rhythm)
 * =============================================================================
 */

/* Off-viewport swiper slides must not widen document scrollWidth */
.partners-style2,
.partners-style2 .owl-carousel,
.window-services-style2 .flat-tabs,
.portfolio-slider {
  overflow-x: clip;
}

/* Decorative page-title bg accents can sit slightly off-canvas */
.page-title {
  overflow-x: clip;
}

/* RTL desktop nested flyouts: open toward page center, not past the viewport */
html[dir="rtl"] #mainnav ul.menustyle2 > li > .sub-menu {
  left: auto;
  right: 0;
}

html[dir="rtl"] #mainnav ul.menustyle2 li li.menu-item-has-children > .sub-menu,
html[dir="rtl"] #mainnav ul.menustyle2 li li.menu-item-has-children:hover > .sub-menu {
  left: auto !important;
  right: 100% !important;
}

/* Service / product detail checkmark lists: keep clear of hero + titles */
.service-details .icon-box.tf-icon-box-style {
  margin-top: 18px;
  margin-bottom: 18px;
}

/* Detail hero images stay inside their column */
.service-details .hs-detail-hero {
  overflow: hidden;
  line-height: 0;
}

.service-details .hs-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/*
 * =============================================================================
 * Home quote form ? production chrome (shared with contact page form language)
 * =============================================================================
 */

.hs-home-quote .questions-style2 {
  display: flow-root;
}

.hs-home-quote .image-form,
.hs-home-quote .form-questions {
  float: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .hs-home-quote .questions-style2 {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
    column-gap: 30px;
    align-items: start;
  }

  .hs-home-quote .questions-style2 > .themesflat-spacer,
  .hs-home-quote .questions-style2 > .title-section {
    grid-column: 1 / -1;
  }

  .hs-home-quote .image-form,
  .hs-home-quote .form-questions {
    width: auto;
  }
}

.hs-home-quote .form-questions {
  padding: 32px 36px 36px;
  margin-bottom: 0;
  border-radius: 4px;
}

.hs-home-quote .hs-contact-form__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hs-home-quote .hs-contact-form__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hs-home-quote .hs-contact-form__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-home-quote .hs-contact-form__section-title {
  margin: 0;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #434e6e;
}

.hs-home-quote .hs-contact-form__section-note {
  margin: 0;
  font-size: 12px;
  color: #7a8299;
}

.hs-home-quote .hs-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.hs-home-quote .hs-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.hs-home-quote .hs-contact-form__field--full {
  grid-column: 1 / -1;
}

.hs-home-quote .hs-contact-form__field label {
  font-size: 13px;
  font-weight: 500;
  color: #565872;
  line-height: 1.3;
}

.hs-home-quote .hs-contact-form__req {
  margin-inline-start: 3px;
  color: #c45c26;
}

.hs-home-quote .hs-contact-form__opt {
  margin-inline-start: 6px;
  font-size: 11px;
  font-weight: 400;
  color: #9aa0b4;
}

.hs-home-quote .hs-contact-form input.tb-my-input,
.hs-home-quote .hs-contact-form textarea,
.hs-home-quote .hs-contact-form__select select {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid rgba(67, 78, 110, 0.18);
  border-radius: 4px;
  background: #fbfbfc;
  color: #434e6e;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  transition:
    border-color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 160ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hs-home-quote .hs-contact-form input.tb-my-input,
.hs-home-quote .hs-contact-form__select select {
  height: 50px;
  padding: 0 14px;
}

.hs-home-quote .hs-contact-form textarea {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.hs-home-quote .hs-contact-form__select {
  position: relative;
}

.hs-home-quote .hs-contact-form__select select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 40px;
  cursor: pointer;
}

.hs-home-quote .hs-contact-form__select::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #7a8299;
  border-bottom: 1.5px solid #7a8299;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.hs-home-quote .hs-contact-form input.tb-my-input:hover,
.hs-home-quote .hs-contact-form textarea:hover,
.hs-home-quote .hs-contact-form__select select:hover {
  border-color: rgba(67, 78, 110, 0.32);
  background: #fff;
}

.hs-home-quote .hs-contact-form input.tb-my-input:focus,
.hs-home-quote .hs-contact-form textarea:focus,
.hs-home-quote .hs-contact-form__select select:focus {
  outline: none;
  border-color: #e3cca1;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(227, 204, 161, 0.35);
}

.hs-home-quote .hs-contact-form__alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.45;
}

.hs-home-quote .hs-contact-form__alert--error {
  background: #fdecec;
  color: #9b2c2c;
}

.hs-home-quote .hs-contact-form__alert--ok {
  background: #eef6f0;
  color: #2f6b3c;
}

.hs-home-quote .hs-contact-form__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.hs-home-quote .hs-contact-form__submit {
  min-width: 180px;
}

.hs-home-quote .hs-contact-form__submit:active {
  transform: scale(0.98);
}

.hs-home-quote .hs-contact-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (min-width: 992px) {
  .hs-home-quote .form-questions {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 991px) {
  .hs-home-quote .image-form {
    max-width: 420px;
    margin: 0 auto 30px;
  }
}

@media (max-width: 767px) {
  .hs-home-quote .hs-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hs-home-quote .form-questions {
    padding: 24px 18px 28px;
  }

  .hs-home-quote .hs-contact-form__actions {
    justify-content: stretch;
  }

  .hs-home-quote .hs-contact-form__submit {
    width: 100%;
  }
}

html[dir="rtl"] .hs-home-quote .hs-contact-form__field label,
html[dir="rtl"] .hs-home-quote .hs-contact-form__section-title,
html[dir="rtl"] .hs-home-quote .hs-contact-form__section-note {
  text-align: right;
}

html[dir="rtl"] .hs-home-quote .hs-contact-form input.tb-my-input,
html[dir="rtl"] .hs-home-quote .hs-contact-form textarea,
html[dir="rtl"] .hs-home-quote .hs-contact-form__select select {
  text-align: right;
}

html[dir="rtl"] .hs-home-quote .image-form,
html[dir="rtl"] .hs-home-quote .form-questions {
  float: none;
}

/* Kill legacy float fieldset widths inside the production home form */
.hs-home-quote #commentform .name-wrap,
.hs-home-quote #commentform .mail-wrap,
.hs-home-quote #commentform .select-wrap,
.hs-home-quote #commentform .phone-wrap,
.hs-home-quote .questions-style #commentform .name-wrap,
.hs-home-quote .questions-style #commentform .mail-wrap,
.hs-home-quote .questions-style #commentform .select-wrap,
.hs-home-quote .questions-style #commentform .phone-wrap {
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
}

/* D13.2 — Contact map under left image, matches form column height */
.hs-contact-page__map {
  clear: both;
  width: 100%;
  margin-top: 0;
  flex: 0 0 auto;
}

.hs-site-map {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
}

@media (min-width: 992px) {
  .hs-site-map {
    aspect-ratio: auto;
    height: 240px;
    min-height: 200px;
  }
}

@media (max-width: 991px) {
  .hs-contact-page__map {
    margin-top: 8px;
  }

  .hs-site-map {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }
}

.hs-site-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/*
 * =============================================================================
 * Product detail ? professional PDP (gallery + summary + share)
 * =============================================================================
 */

.hs-product-detail__crumb {
  margin-bottom: 28px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.hs-product-detail__crumb a {
  color: #434e6e;
  text-decoration: none;
}

.hs-product-detail__crumb a:hover {
  color: #9a7b4f;
}

.hs-product-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.hs-product-detail__hero {
  overflow: hidden;
  line-height: 0;
  background: #f4f5f7;
}

.hs-product-detail__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hs-product-detail__thumbs {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs-product-detail__thumb {
  appearance: none;
  border: 2px solid transparent;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  width: 88px;
  height: 66px;
  cursor: pointer;
  background: #f4f5f7;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.hs-product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hs-product-detail__thumb:hover {
  transform: translateY(-1px);
  border-color: #d8dde3;
}

.hs-product-detail__thumb.is-active {
  border-color: #9a7b4f;
}

.hs-product-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hs-product-detail__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #434e6e;
  background: #f4f1ea;
  border: 1px solid #e8e2d6;
}

.hs-product-detail__chip--accent {
  color: #fff;
  background: #9a7b4f;
  border-color: #9a7b4f;
}

.hs-product-detail__title-wrap {
  margin-bottom: 12px;
}

.hs-product-detail__title {
  margin: 0 !important;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem) !important;
  line-height: 1.2 !important;
}

.hs-product-detail__lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5c6570;
}

.hs-product-detail__actions,
.hs-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Match compact quote CTA height; override theme `button { height: 80px }`. */
.hs-product-detail__actions .btn-style-one,
.hs-detail-actions .btn-style-one {
  line-height: 56px;
}

.hs-product-detail__actions .btn-style-one .btn-title,
.hs-detail-actions .btn-style-one .btn-title {
  padding: 0 56px 0 28px;
  font-size: 16px;
}

.hs-product-detail__actions .btn-style-one .btn-title::after,
.hs-detail-actions .btn-style-one .btn-title::after {
  right: 24px;
  left: auto;
  transform: none;
}

html[dir="rtl"] .hs-product-detail__actions .btn-style-one .btn-title,
html[dir="rtl"] .hs-detail-actions .btn-style-one .btn-title {
  padding: 0 28px 0 56px;
}

html[dir="rtl"] .hs-product-detail__actions .btn-style-one .btn-title::after,
html[dir="rtl"] .hs-detail-actions .btn-style-one .btn-title::after {
  right: auto;
  left: 24px;
  transform: scaleX(-1);
}

/*
 * Share control ? aligned with portfolio `.profolio-show-style2 .btn-tab`
 * (50×50 gold square, centered icon). Does not override `.btn-tab` itself.
 */
.hs-share-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-height: 50px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background-color: #e3cca1;
  color: #434e6e;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 50px;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.hs-share-btn:hover {
  background-color: #434e6e;
  color: #fff;
}

.hs-share-btn:focus-visible {
  outline: 2px solid #9a7b4f;
  outline-offset: 2px;
}

.hs-share-btn > .fas {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  width: auto;
  height: auto;
  margin: 0;
  vertical-align: middle;
}

.hs-share-btn__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Brief status feedback without breaking the square alignment */
.hs-share-btn.is-feedback {
  width: auto;
  min-width: 50px;
  padding: 0 14px;
  gap: 8px;
}

.hs-share-btn.is-feedback .hs-share-btn__label {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-family: "Rubik", "Poppins", sans-serif;
}

.hs-product-detail__info-card {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 29, 33, 0.04);
}

.hs-product-detail__info-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1d21;
}

.hs-product-detail__meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-product-detail__meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eef0f3;
  font-size: 14px;
}

.hs-product-detail__meta-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hs-product-detail__meta-list span {
  color: #6b7280;
}

.hs-product-detail__meta-list strong {
  color: #1a1d21;
  font-weight: 600;
  text-align: end;
}

.hs-product-detail__meta-list a {
  color: #434e6e;
  text-decoration: none;
}

.hs-product-detail__meta-list a:hover {
  color: #9a7b4f;
}

.hs-product-detail__body {
  max-width: none;
}

.hs-product-detail__section {
  margin-top: 42px;
}

.hs-product-detail__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #434e6e;
}

.hs-product-detail__option-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs-product-detail__option-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  color: #1a1d21;
  font-weight: 600;
  font-size: 14px;
}

.hs-product-detail__option-code {
  color: #6b7280;
  font-weight: 500;
  font-size: 12px;
}

.hs-product-detail__specs {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.hs-product-detail__spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #eef0f3;
}

.hs-product-detail__spec-row:nth-child(odd) {
  background: #fbfbfc;
}

.hs-product-detail__spec-row:last-child {
  border-bottom: 0;
}

.hs-product-detail__spec-label {
  color: #6b7280;
  font-size: 14px;
}

.hs-product-detail__spec-value {
  color: #1a1d21;
  font-weight: 600;
  font-size: 14px;
}

.hs-product-detail__link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hs-product-detail__link-list a {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #434e6e;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hs-product-detail__link-list a:hover {
  border-color: #9a7b4f;
  color: #9a7b4f;
}

.hs-product-detail__footer-cta {
  margin-top: 56px;
  padding: 28px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(154, 123, 79, 0.08), transparent 55%),
    #fff;
  border: 1px solid #e8e2d6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hs-product-detail__footer-cta-copy h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: #1a1d21;
}

.hs-product-detail__footer-cta-copy p {
  margin: 0;
  color: #5c6570;
}

.hs-product-detail__footer-cta .hs-product-detail__actions {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .hs-product-detail__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hs-product-detail__thumb {
    width: 72px;
    height: 54px;
  }

  .hs-product-detail__spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hs-product-detail__footer-cta {
    padding: 22px 18px;
  }
}

html[dir="rtl"] .hs-product-detail__crumb,
html[dir="rtl"] .hs-product-detail__lead,
html[dir="rtl"] .hs-product-detail__desc,
html[dir="rtl"] .hs-product-detail__info-title,
html[dir="rtl"] .hs-product-detail__footer-cta-copy {
  text-align: right;
}

html[dir="rtl"] .hs-product-detail__meta-list strong,
html[dir="rtl"] .hs-product-detail__spec-value {
  text-align: start;
}

.hs-detail-actions--center {
  justify-content: center;
}

/*
 * =============================================================================
 * Footer overlay + contact row alignment (Website Settings values)
 * Scoped to Home 2 chrome only  does not redesign footer.
 * =============================================================================
 */

/* Keep dark overlay above the footer photo, below content */
.footer.footer-h2 .overlay-ft {
  z-index: 0;
  pointer-events: none;
}

.footer.footer-h2 > .container,
.footer.footer-h2 > .themesflat-spacer {
  position: relative;
  z-index: 1;
}

/* Icon + text rows: vertical center for short CMS strings (zahle / phone / email) */
#footer .footer-contact .tf-info,
.footer.footer-h2 .footer-contact .tf-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

#footer .footer-contact .tf-info i,
.footer.footer-h2 .footer-contact .tf-info i {
  margin-top: 0 !important;
  flex-shrink: 0;
  min-width: 40px;
  width: 40px;
  padding-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#footer .footer-contact .call-us .icon-call-us::before,
.footer.footer-h2 .footer-contact .call-us .icon-call-us::before {
  line-height: 1;
  font-size: 22px;
}

#footer .footer-contact .mail .icon-mail::before,
.footer.footer-h2 .footer-contact .mail .icon-mail::before {
  line-height: 1;
  font-size: 16px;
  background-color: transparent;
}

#footer .footer-contact .phone .icon-phone::before,
.footer.footer-h2 .footer-contact .phone .icon-phone::before {
  line-height: 1;
  font-size: 20px;
}

#footer .footer-contact .content-call-us,
#footer .footer-contact .content-mail,
#footer .footer-contact .content-phone,
.footer.footer-h2 .footer-contact .content-call-us,
.footer.footer-h2 .footer-contact .content-mail,
.footer.footer-h2 .footer-contact .content-phone {
  margin-top: 0;
  display: flex;
  align-items: center;
  min-width: 0;
}

#footer .footer-contact .text,
#footer .footer-contact .text a,
#footer .footer-contact .text span,
.footer.footer-h2 .footer-contact .text,
.footer.footer-h2 .footer-contact .text a,
.footer.footer-h2 .footer-contact .text span {
  line-height: 1.4;
  word-break: break-word;
}

#footer .footer-contact .mail {
  padding: 12px 0;
}

html[dir="rtl"] #footer .footer-contact,
html[dir="rtl"] .footer.footer-h2 .footer-contact {
  padding-left: 0;
  padding-right: 10px;
}

html[dir="rtl"] #footer .footer-contact .tf-info,
html[dir="rtl"] .footer.footer-h2 .footer-contact .tf-info {
  flex-direction: row;
}

/*
 * Topbar: flex-align icons with Website Settings address / email / phone
 * (template absolute icon offsets break with short CMS values).
 */
.top-bar-style2 .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
}

.top-bar-style2 .top-content {
  float: none;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-bar-style2 .topbar-socials {
  float: none;
  line-height: 1;
  flex-shrink: 0;
}

.top-bar-style2 .top-content .adress,
.top-bar-style2 .top-content .email,
.top-bar-style2 .top-content .phone {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.2;
}

.top-bar-style2 .top-content .adress > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-style2 .top-content .adress i,
.top-bar-style2 .top-content .email i,
.top-bar-style2 .top-content .phone i,
.top-bar-style2 .top-content li i::before {
  position: static !important;
  left: auto !important;
  top: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  line-height: 1;
  flex-shrink: 0;
}

/* Icomoon map/mail default to white — force readable color on gold topbar */
.top-bar-style2 .top-content .adress .icon-iconmap::before,
.top-bar-style2 .top-content .email .icon-iconmail::before,
.top-bar-style2 .top-content .phone .icon-iconphone::before,
.top-bar-style2 .top-content .phone .icon-phone::before {
  color: #434e6e !important;
  font-size: 15px;
}

/*
 * Legacy class `icon-phone` is not an icomoon glyph (footer uses FontAwesome).
 * Topbar uses `icon-iconphone`; keep this fallback if markup still has icon-phone.
 */
.top-bar-style2 .top-content .phone .icon-phone::before {
  content: "\e904";
  font-family: "icomoon" !important;
}

.top-bar-style2 .top-content a {
  margin-left: 0;
  line-height: 1.2;
}

.top-bar-style2 .top-content .hs-topbar-text {
  line-height: 1.2;
}

html[dir="rtl"] .top-bar-style2 .top-content {
  justify-content: flex-start;
}

html[dir="rtl"] .top-bar-style2 .container-fluid {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  .top-bar-style2 .top-content .adress {
    display: none;
  }
}
