/* ============================================================
   UNITED BROACH — INNER PAGE EXTENSIONS
   Builds on css/main.css. New components only — same tokens,
   same red (#d31313), same Rajdhani/Inter pairing.
   ============================================================ */

/* ---------- Sub-page hero (shorter than homepage hero) ---------- */
.sub-hero{
  min-height:60vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding-top:170px;
  padding-bottom:60px;
  background-color:#111;
  background-size:cover;
  background-position:center;
}

.sub-hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(100deg,
  rgba(10,10,10,0.88) 32%,
  rgba(10,10,10,0.55) 62%,
  rgba(10,10,10,0.25) 100%);
}

.sub-hero .container{
  position:relative;
  z-index:2;
}

.sub-hero-content{
  max-width:760px;
}

.sub-hero .breadcrumb{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:22px;
  font-size:14px;
  font-weight:500;
}

.sub-hero .breadcrumb a{
  color:#e8b9b9;
}

.sub-hero .breadcrumb a:hover{
  color:#fff;
}

.sub-hero .breadcrumb span{
  color:#fff;
}

.sub-hero .breadcrumb .sep{
  color:#888;
}

.sub-hero h4{
  color:#ff6b6b;
  font-size:16px;
  letter-spacing:2px;
  margin-bottom:16px;
  text-transform:uppercase;
  font-weight:700;
}

.sub-hero h1{
  font-size:50px;
  line-height:1.15;
  font-family:'Rajdhani',sans-serif;
  margin-bottom:20px;
  color:#fff;
}

.sub-hero p{
  font-size:18px;
  color:#e2e2e2;
  margin-bottom:30px;
  max-width:640px;
}

@media(max-width:768px){
  .sub-hero h1{
    font-size:34px;
  }
  .sub-hero{
    min-height:auto;
    padding-top:150px;
    padding-bottom:50px;
  }
}

/* ---------- Intro / lead paragraph blocks ---------- */
.lead-block{
  max-width:880px;
  margin:0 auto 50px;
  text-align:center;
}

.lead-block p{
  color:#555;
  font-size:18px;
}

.content-block{
  max-width:900px;
  margin:0 auto;
}

.content-block h2{
  font-size:36px;
  font-family:'Rajdhani',sans-serif;
  color:#111;
  margin:46px 0 18px;
}

.content-block h2:first-child{
  margin-top:0;
}

.content-block h3{
  font-size:24px;
  font-family:'Rajdhani',sans-serif;
  color:#111;
  margin:30px 0 12px;
}

.content-block p{
  color:#555;
  margin-bottom:18px;
  font-size:16.5px;
}

.content-block ul,
.content-block ol{
  color:#555;
  margin:0 0 20px 22px;
  font-size:16.5px;
}

.content-block li{
  margin-bottom:8px;
}

.content-block strong{
  color:#222;
}

.alt-bg{
  background:#f8f8f8;
}

/* ---------- Two column content + image layout ---------- */
.split-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:55px;
  align-items:center;
}

.split-block.reverse .split-img{
  order:2;
}

.split-img img{
  border-radius:12px;
  box-shadow:0 20px 50px rgba(0,0,0,0.1);
}

.split-text h2{
  font-size:36px;
  font-family:'Rajdhani',sans-serif;
  margin-bottom:18px;
  color:#111;
}

.split-text p{
  color:#555;
  margin-bottom:16px;
}

@media(max-width:900px){
  .split-block,
  .split-block.reverse .split-img{
    grid-template-columns:1fr;
    order:0;
  }
}

/* ---------- Technical specifications table ---------- */
.spec-table-wrap{
  overflow-x:auto;
  border-radius:12px;
  box-shadow:0 10px 35px rgba(0,0,0,0.06);
  border:1px solid #eee;
}

table.spec-table{
  width:100%;
  border-collapse:collapse;
  min-width:560px;
  background:#fff;
}

table.spec-table th{
  background:#111;
  color:#fff;
  text-align:left;
  padding:16px 22px;
  font-family:'Rajdhani',sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:0.5px;
}

table.spec-table td{
  padding:15px 22px;
  border-bottom:1px solid #efefef;
  color:#444;
  font-size:15.5px;
}

table.spec-table tr:last-child td{
  border-bottom:none;
}

table.spec-table tr:nth-child(even){
  background:#fafafa;
}

table.spec-table tr:hover{
  background:#fdf0f0;
}

/* ---------- Applications / capability cards ---------- */
.app-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.app-card{
  background:#fff;
  border:1px solid #efefef;
  border-radius:10px;
  padding:30px 26px;
  box-shadow:0 8px 25px rgba(0,0,0,0.04);
  transition:0.3s;
}

.app-card:hover{
  border-color:#d31313;
  transform:translateY(-6px);
  box-shadow:0 16px 38px rgba(0,0,0,0.1);
}

.app-card i{
  color:#d31313;
  font-size:30px;
  margin-bottom:16px;
  display:block;
}

.app-card h4{
  font-family:'Rajdhani',sans-serif;
  font-size:21px;
  margin-bottom:10px;
  color:#111;
}

.app-card p{
  color:#666;
  font-size:15px;
}

/* ---------- Why choose us strip ---------- */
.why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.why-card{
  text-align:center;
  padding:34px 22px;
  background:#f7f7f7;
  border-radius:10px;
  border-bottom:4px solid #d31313;
  transition:0.3s;
}

.why-card:hover{
  background:#fff;
  box-shadow:0 18px 40px rgba(0,0,0,0.1);
  transform:translateY(-6px);
}

.why-card i{
  font-size:32px;
  color:#d31313;
  margin-bottom:16px;
  display:block;
}

.why-card h4{
  font-family:'Rajdhani',sans-serif;
  font-size:20px;
  margin-bottom:10px;
  color:#111;
}

.why-card p{
  color:#666;
  font-size:14.5px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list{
  max-width:840px;
  margin:0 auto;
}

.faq-item{
  background:#fff;
  border:1px solid #ececec;
  border-radius:10px;
  margin-bottom:14px;
  overflow:hidden;
}

.faq-question{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:22px 26px;
  cursor:pointer;
  font-weight:600;
  font-size:17px;
  color:#111;
  font-family:'Rajdhani',sans-serif;
}

.faq-question .faq-icon{
  flex-shrink:0;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f7f7f7;
  color:#d31313;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  font-weight:700;
  transition:0.3s;
}

.faq-item.active .faq-question .faq-icon{
  background:#d31313;
  color:#fff;
  transform:rotate(45deg);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease;
  padding:0 26px;
}

.faq-item.active .faq-answer{
  padding:0 26px 24px;
}

.faq-answer p{
  color:#555;
  font-size:15.5px;
}

/* ---------- Internal links / related pages ---------- */
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.related-card{
  background:#fff;
  border:1px solid #efefef;
  border-radius:10px;
  padding:24px;
  transition:0.3s;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.related-card:hover{
  border-color:#d31313;
  box-shadow:0 14px 32px rgba(0,0,0,0.08);
  transform:translateY(-4px);
}

.related-card span.tag{
  color:#d31313;
  font-size:12px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
}

.related-card h4{
  font-family:'Rajdhani',sans-serif;
  font-size:19px;
  color:#111;
}

.related-card p{
  color:#666;
  font-size:14px;
}

.related-card .link-arrow{
  color:#d31313;
  font-weight:700;
  font-size:14px;
}

/* ---------- Industry chips on industries page ---------- */
.industry-detail-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.industry-detail-card{
  background:#fff;
  border:1px solid #efefef;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:0.35s;
}

.industry-detail-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.industry-detail-head{
  background:#111;
  color:#fff;
  padding:22px 26px;
  border-top:4px solid #d31313;
}

.industry-detail-head h3{
  font-family:'Rajdhani',sans-serif;
  font-size:26px;
}

.industry-detail-body{
  padding:26px;
}

.industry-detail-body p{
  color:#555;
  margin-bottom:14px;
  font-size:15px;
}

.industry-detail-body ul{
  margin:0 0 16px 18px;
  color:#555;
  font-size:14.5px;
}

.industry-detail-body li{
  margin-bottom:6px;
}

/* ---------- Export markets / stats strip ---------- */
.stats-strip{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  text-align:center;
}

.stat-box{
  padding:30px 15px;
}

.stat-box .num{
  font-family:'Rajdhani',sans-serif;
  font-size:46px;
  font-weight:700;
  color:#d31313;
  line-height:1;
}

.stat-box .label{
  color:#666;
  font-size:14px;
  margin-top:8px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

/* ---------- Blog index cards ---------- */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.blog-card{
  background:#fff;
  border:1px solid #efefef;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:0.35s;
  display:flex;
  flex-direction:column;
}

.blog-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 42px rgba(0,0,0,0.1);
}

.blog-card-img{
  height:200px;
  overflow:hidden;
}

.blog-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.blog-card-content{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.blog-card-content .meta{
  color:#d31313;
  font-size:12.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:10px;
}

.blog-card-content h3{
  font-family:'Rajdhani',sans-serif;
  font-size:22px;
  margin-bottom:10px;
  color:#111;
}

.blog-card-content p{
  color:#666;
  font-size:14.5px;
  margin-bottom:18px;
  flex:1;
}

.blog-card-content a{
  color:#d31313;
  font-weight:700;
  font-size:14px;
}

/* ---------- Blog article page ---------- */
.article-hero{
  padding-top:180px;
  padding-bottom:50px;
  background:#111;
  color:#fff;
}

.article-hero .breadcrumb{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  font-size:14px;
  margin-bottom:20px;
}

.article-hero .breadcrumb a{
  color:#e8b9b9;
}

.article-hero .breadcrumb span{
  color:#fff;
}

.article-hero .breadcrumb .sep{
  color:#888;
}

.article-hero h1{
  font-family:'Rajdhani',sans-serif;
  font-size:44px;
  max-width:820px;
  line-height:1.2;
  margin-bottom:18px;
}

.article-meta{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  color:#bbb;
  font-size:14px;
}

.article-meta i{
  color:#d31313;
  margin-right:6px;
}

.article-body{
  max-width:780px;
  margin:0 auto;
  padding:80px 0;
}

.article-body img{
  border-radius:12px;
  margin:30px 0;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.article-body h2{
  font-family:'Rajdhani',sans-serif;
  font-size:32px;
  margin:42px 0 16px;
  color:#111;
}

.article-body h3{
  font-family:'Rajdhani',sans-serif;
  font-size:23px;
  margin:30px 0 12px;
  color:#111;
}

.article-body p{
  color:#444;
  margin-bottom:18px;
  font-size:17px;
}

.article-body ul,
.article-body ol{
  margin:0 0 20px 22px;
  color:#444;
  font-size:17px;
}

.article-body li{
  margin-bottom:8px;
}

.article-body blockquote{
  border-left:4px solid #d31313;
  background:#f8f8f8;
  padding:20px 26px;
  margin:30px 0;
  font-style:italic;
  color:#333;
}

.article-tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:40px;
  padding-top:30px;
  border-top:1px solid #eee;
}

.article-tags a{
  background:#f7f7f7;
  color:#555;
  padding:8px 16px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
}

.article-tags a:hover{
  background:#d31313;
  color:#fff;
}

.article-cta-box{
  background:#f8f8f8;
  border-left:4px solid #d31313;
  padding:28px 30px;
  margin:36px 0;
  border-radius:6px;
}

.article-cta-box h4{
  font-family:'Rajdhani',sans-serif;
  font-size:22px;
  margin-bottom:10px;
  color:#111;
}

.article-cta-box p{
  margin-bottom:16px;
}

/* ---------- Contact / form section ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
}

.contact-info-card{
  background:#f8f8f8;
  border-radius:12px;
  padding:36px;
}

.contact-info-card h3{
  font-family:'Rajdhani',sans-serif;
  font-size:28px;
  margin-bottom:20px;
  color:#111;
}

.contact-line{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin-bottom:20px;
}

.contact-line i{
  color:#d31313;
  font-size:18px;
  margin-top:3px;
  width:22px;
}

.contact-line a,
.contact-line span{
  color:#444;
  font-size:15.5px;
}

.contact-form{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:36px;
  box-shadow:0 10px 35px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:13px 16px;
  border:1px solid #ddd;
  border-radius:6px;
  margin-bottom:16px;
  font-family:'Inter',sans-serif;
  font-size:14.5px;
  color:#111;
}

.contact-form label{
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:6px;
  color:#333;
}

.contact-form textarea{
  resize:vertical;
  min-height:120px;
}

.contact-form button{
  width:100%;
}

.contact-form button:disabled{
  opacity:0.65;
  cursor:not-allowed;
}

.form-message{
  display:none;
  padding:12px 16px;
  border-radius:6px;
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
}

.form-message.show{
  display:block;
}

.form-message.success{
  background:#e7f7ec;
  color:#1a7a3c;
  border:1px solid #b7e6c5;
}

.form-message.error{
  background:#fdeceb;
  color:#c0392b;
  border:1px solid #f3c3bf;
}

@media(max-width:900px){
  .contact-wrap{
    grid-template-columns:1fr;
  }
}

/* ---------- Generic chip / eyebrow ---------- */
.eyebrow{
  display:inline-block;
  color:#d31313;
  font-weight:700;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:14px;
}

/* ---------- Pagination (blog index) ---------- */
.pagination{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:50px;
}

.pagination a{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ddd;
  border-radius:6px;
  color:#333;
  font-weight:600;
}

.pagination a.active,
.pagination a:hover{
  background:#d31313;
  color:#fff;
  border-color:#d31313;
}

/* ---------- Table of contents (blog) ---------- */
.toc-box{
  background:#f8f8f8;
  border:1px solid #eee;
  border-radius:10px;
  padding:24px 28px;
  margin:30px 0 40px;
}

.toc-box h4{
  font-family:'Rajdhani',sans-serif;
  font-size:18px;
  margin-bottom:12px;
  color:#111;
}

.toc-box ol{
  margin:0 0 0 18px;
  color:#444;
  font-size:15px;
}

.toc-box li{
  margin-bottom:6px;
}

.toc-box a{
  color:#444;
}

.toc-box a:hover{
  color:#d31313;
}
