/* BosTech HYT — Construction landing page (banner, article, explore, CTA, FAQ) */

body.hyt-page-construction,
body.hyt-page-construction main{
  overflow-x: clip;
  max-width: 100%;
}

.bt-banner{
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background-color: var(--bt-navy);
}
.bt-banner::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,30,80,0.72), rgba(20,30,80,0.72)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.bt-banner.bt-banner--dynamic::before{
  background-image:
    linear-gradient(rgba(20,30,80,0.72), rgba(20,30,80,0.72)),
    var(--bt-banner-bg, url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=80'));
}
.bt-banner > .container-xxl{ position: relative; z-index: 1; }

.bt-banner h1{
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0 0 18px;
  max-width: 1100px;
}
.bt-banner .crumbs{
  color: #fff;
  font-size: 14.5px;
  margin: 0;
}
.bt-banner .crumbs a{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s ease;
}
.bt-banner .crumbs a:hover{ color: var(--bt-orange); }
.bt-banner .crumbs .sep{
  margin: 0 8px;
  opacity: .8;
}

@media (max-width: 767.98px){
  .bt-banner{ min-height: 240px; }
}

.bt-article{
  background: #fff;
  padding: 60px 0 70px;
  max-width: 100%;
  overflow-x: clip;
}
.bt-article .container-xxl,
.bt-article .row{
  max-width: 100%;
  min-width: 0;
}
.bt-article .row > [class*="col-"]{
  min-width: 0;
  max-width: 100%;
}
/* Allow flex column to shrink so wide CMS tables can scroll instead of overflowing the viewport */
.bt-construction-article-col{
  min-width: 0;
  max-width: 100%;
}
.article-body-wrap{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
}
.article-body{
  color: #2c2c2c;
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.article-body img,
.article-body iframe,
.article-body video,
.article-body embed{
  max-width: 100%;
  height: auto;
}
.article-body figure.table{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 22px;
  overflow: visible;
}
.hyt-table-scroll{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 6px 0 22px;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 992px){
  .hyt-table-scroll{
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .hyt-table-scroll > table{
    width: max-content;
    min-width: 100%;
    max-width: none;
  }
}
.article-body p{ margin-bottom: 18px; }
.article-body h3{
  color: var(--bt-orange);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
  margin: 28px 0 14px;
  letter-spacing: -0.2px;
}
.article-body a{ color: var(--bt-navy); text-decoration: underline; }
.article-body a:hover{ color: var(--bt-orange); }
.article-body table,
.hyt-table-scroll > table{
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  table-layout: auto;
}
.article-body table th,
.article-body table td,
.hyt-table-scroll > table th,
.hyt-table-scroll > table td{
  border: 1px solid #e5e5e5;
  padding: 12px 14px;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.article-body table td:first-child,
.hyt-table-scroll > table td:first-child{
  font-weight: 600;
  color: var(--bt-navy);
  width: 32%;
}
.article-body ul{
  padding-left: 22px;
  margin-bottom: 18px;
}
.article-body ul li{ margin-bottom: 8px; }

.product-sidebar{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 18px 16px;
  position: sticky;
  top: 20px;
}
.product-sidebar h4{
  color: var(--bt-navy);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.product-sidebar a.product-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bt-navy);
  color: #fff;
  border-radius: 100px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background .15s ease, transform .15s ease;
}
.product-sidebar a.product-link:hover{
  background: var(--bt-orange);
  transform: translateX(2px);
}
.product-sidebar a.product-link i{ font-size: 12px; }

.bt-explore{
  background: #fff;
  padding: 30px 0 70px;
}
.explore-heading{
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 36px);
  color: var(--bt-navy);
  margin-bottom: 36px;
  letter-spacing: -0.3px;
}
.explore-heading .hl{
  background: var(--bt-orange);
  color: #fff;
  padding: 4px 14px 8px;
  margin-right: 6px;
  display: inline-block;
}
.explore-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-bottom: 36px;
}
.explore-item{
  text-align: center;
  padding: 14px 8px;
}
.explore-item .logo-box{
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.explore-item .logo-box img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.explore-item .logo-placeholder{
  width: 100%;
  height: 100%;
  background: #f3f3f3;
  border: 1px dashed #d0d0d0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 12px;
  font-weight: 500;
}
.explore-item .name{
  color: #4a4a4a;
  font-size: 13px;
}
.explore-viewmore{
  text-align: center;
}
.btn-viewmore{
  background: var(--bt-orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 36px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .15s ease, transform .15s ease;
}
.btn-viewmore:hover{
  background: var(--bt-orange-hover);
  color: #fff;
  transform: translateY(-1px);
}

.bt-reliable{
  position: relative;
  background: #f3f3f3;
  padding: 70px 0 80px;
  overflow: hidden;
  text-align: center;
}
.bt-reliable::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='160' viewBox='0 0 180 160'><g fill='none' stroke='%23f08023' stroke-width='1' opacity='0.25'><polygon points='30,5 55,20 55,50 30,65 5,50 5,20'/><polygon points='90,5 115,20 115,50 90,65 65,50 65,20'/><polygon points='150,5 175,20 175,50 150,65 125,50 125,20'/><polygon points='60,55 85,70 85,100 60,115 35,100 35,70'/><polygon points='120,55 145,70 145,100 120,115 95,100 95,70'/><polygon points='30,105 55,120 55,150 30,165 5,150 5,120'/><polygon points='90,105 115,120 115,150 90,165 65,150 65,120'/><polygon points='150,105 175,120 175,150 150,165 125,150 125,120'/></g></svg>");
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.bt-reliable > .container-xxl{ position: relative; z-index: 1; }
.reliable-heading{
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--bt-navy);
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.reliable-heading .hl{
  background: var(--bt-orange);
  color: #fff;
  padding: 4px 14px 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  line-height: 1.5;
}
.reliable-text{
  color: #2c2c2c;
  font-size: 15px;
  line-height: 1.7;
  max-width: 880px;
  margin: 0 auto 28px;
}
.btn-speak{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.btn-speak .ic{
  background: var(--bt-orange);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background .15s ease, transform .15s ease;
}
.btn-speak .lbl{
  color: var(--bt-navy);
  font-weight: 700;
  font-size: 15.5px;
}
.btn-speak:hover .ic{ background: var(--bt-orange-hover); transform: translateX(2px); }

.bt-faq{
  background: #fff;
  padding: 70px 0 90px;
}
.faq-heading{
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--bt-navy);
  margin-bottom: 32px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.faq-heading .hl{
  background: var(--bt-orange);
  color: #fff;
  padding: 4px 14px 8px;
  margin-right: 6px;
  display: inline-block;
}

.faq-list .faq-item{
  border: 1px solid #e6e6e6;
  border-radius: 100px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-radius .25s ease;
}
.faq-list .faq-item.open{
  border-radius: 18px;
  border-color: #f0bd8e;
}
.faq-list .faq-q{
  width: 100%;
  background: #fff;
  border: none;
  text-align: left;
  color: var(--bt-navy);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background .15s ease;
}
.faq-list .faq-item.open > .faq-q{ color: var(--bt-orange); }
.faq-list .faq-q .chevron{
  color: var(--bt-navy);
  font-size: 14px;
  transition: transform .25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-list .faq-item.open .chevron{ transform: rotate(180deg); color: var(--bt-orange); }
.faq-list .faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-list .faq-a-inner{
  padding: 0 26px 18px;
  color: #4a4a4a;
  font-size: 14.5px;
  line-height: 1.65;
}
.faq-list .faq-item.open .faq-a{ max-height: 600px; }

@media (max-width: 991.98px){
  .bt-article{ padding: 50px 0 60px; }
  .product-sidebar{ position: static; margin-top: 30px; }
  .explore-grid{ grid-template-columns: repeat(3, 1fr); }
  .bt-explore{ padding: 20px 0 60px; }
  .bt-reliable{ padding: 60px 0; }
  .bt-faq{ padding: 60px 0 80px; }
}
/* Phones & tablets (incl. iPhone 15 Pro Max portrait + landscape): stack table rows */
@media (max-width: 991.98px){
  .hyt-table-scroll{
    overflow-x: visible;
  }
  .article-body table,
  .hyt-table-scroll > table{
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
  }
  .article-body table thead,
  .hyt-table-scroll > table thead{
    display: none;
  }
  .article-body table tbody,
  .article-body table tfoot,
  .hyt-table-scroll > table tbody,
  .hyt-table-scroll > table tfoot{
    display: block;
    width: 100%;
  }
  .article-body table tr,
  .hyt-table-scroll > table tr{
    display: block;
    width: 100% !important;
    margin-bottom: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }
  .article-body table td,
  .article-body table th,
  .hyt-table-scroll > table td,
  .hyt-table-scroll > table th{
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 12px;
  }
  .article-body table tr > :last-child,
  .hyt-table-scroll > table tr > :last-child{
    border-bottom: none;
  }
  .article-body table td:first-child,
  .article-body table th:first-child,
  .hyt-table-scroll > table td:first-child,
  .hyt-table-scroll > table th:first-child{
    width: 100% !important;
    background: #f5f6f8;
    border-bottom: 1px solid #e0e0e0;
  }
  .article-body table td[data-label]::before,
  .hyt-table-scroll > table td[data-label]::before{
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
  }
  .article-body table td[data-label]:first-child::before,
  .hyt-table-scroll > table td[data-label]:first-child::before{
    display: none;
  }
}
@media (max-width: 767.98px){
  .bt-article{ padding: 40px 0 50px; }
  .article-body h3{ font-size: 19px; }
  .article-body table,
  .hyt-table-scroll > table{ font-size: 13px; }
  .article-body table th,
  .article-body table td,
  .hyt-table-scroll > table th,
  .hyt-table-scroll > table td{ padding: 10px 10px; }
  .explore-grid{ grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .reliable-heading{ font-size: 22px; }
  .bt-faq{ padding: 50px 0 60px; }
  .faq-list .faq-item{ border-radius: 22px; }
  .faq-list .faq-q{ padding: 14px 20px; font-size: 14px; }
}
