/* ─── Thermal Bluestone Page — Custom Styles ─────────────────────────────
   Page-specific styles for thermal-bluestone.php.
   Shared design-system components live in general.css.
─────────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════
   INTRO SECTION
══════════════════════════════════════════════════════════════════════ */
.tb-intro-rule {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0047BB, #CB6015);
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════════════════════════
   WHAT IS THERMAL BLUESTONE — BENEFITS GRID
══════════════════════════════════════════════════════════════════════ */
.tb-benefits-section {
  background: #f7f8fa;
  padding: 100px 0;
}

.tb-what-block {
  background: #0a0a0a;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.tb-what-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0047BB 0%, #CB6015 100%);
}
.tb-what-block .eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #CB6015;
  margin-bottom: 16px;
  display: block;
}
.tb-what-block h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}
.tb-what-block p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin-bottom: 0;
}
.tb-what-block .tb-texture-label {
  display: inline-block;
  margin-top: 24px;
  background: rgba(0, 71, 187, 0.35);
  border: 1px solid rgba(0, 71, 187, 0.55);
  color: #a8c4ff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
}

/* Benefit cards */
.tb-benefit-card {
  background: #ffffff;
  border-top: 3px solid #0047BB;
  padding: 36px 32px 32px;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tb-benefit-card:hover {
  box-shadow: 0 12px 40px rgba(0, 71, 187, 0.1);
  transform: translateY(-4px);
}
.tb-benefit-card.orange-top {
  border-top-color: #CB6015;
}
.tb-benefit-icon {
  width: 48px;
  height: 48px;
  background: #0047BB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.tb-benefit-card.orange-top .tb-benefit-icon {
  background: #CB6015;
}
.tb-benefit-icon i {
  font-size: 1.4rem;
  color: #ffffff;
}
.tb-benefit-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  margin-bottom: 12px;
}
.tb-benefit-card p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   APPLICATIONS SECTION
══════════════════════════════════════════════════════════════════════ */
.tb-applications-section {
  padding: 100px 0;
}

.tb-app-item {
  padding: 56px 0;
  border-bottom: 1px solid #e5e5e5;
}
.tb-app-item:first-child {
  padding-top: 0;
}
.tb-app-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tb-app-number {
  font-family: 'Teko', sans-serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.85;
  color: #e0e0e0;
  -webkit-text-stroke: 2px #e0e0e0;
  display: block;
  margin-bottom: 16px;
  transition: -webkit-text-stroke-color 0.3s ease, color 0.3s ease;
}
.tb-app-item:hover .tb-app-number {
  -webkit-text-stroke-color: #0047BB;
}

.tb-app-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 14px;
  line-height: 1.1;
}
.tb-app-title .accent-blue { color: #0047BB; }

.tb-app-body {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 540px;
}

.tb-app-img {
  position: relative;
}
.tb-app-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.tb-app-img .tb-app-img-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #0047BB;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
}

/* ══════════════════════════════════════════════════════════════════════
   LOCAL SOURCE SECTION
══════════════════════════════════════════════════════════════════════ */
.tb-local-section {
  background: #f7f8fa;
  padding: 100px 0;
}

.tb-local-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.tb-local-tagline i {
  font-size: 1.2rem;
  color: #0047BB;
}
.tb-local-tagline span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0047BB;
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICE AREAS / DELIVERY SECTION
══════════════════════════════════════════════════════════════════════ */
.tb-delivery-section {
  background: #0a0a0a;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.tb-delivery-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: rgba(0, 71, 187, 0.07);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.tb-delivery-section .section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #CB6015;
  margin-bottom: 14px;
  display: block;
}
.tb-delivery-section h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
}
.tb-delivery-section .tb-delivery-lead {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 540px;
}

.tb-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tb-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease;
}
.tb-service-item:nth-child(even) {
  border-right: none;
}
.tb-service-item:nth-last-child(-n+2) {
  border-bottom: none;
}
.tb-service-item:hover {
  background: rgba(0, 71, 187, 0.14);
}
.tb-service-item i {
  font-size: 1rem;
  color: #CB6015;
  flex-shrink: 0;
}
.tb-service-item span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* ══════════════════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════════════════ */
.tb-cta-band {
  background: #0047BB;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.tb-cta-band::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: rgba(0, 0, 0, 0.12);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.tb-cta-band h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 14px;
}
.tb-cta-band p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .tb-what-block {
    padding: 36px 28px;
  }
  .tb-benefit-card {
    padding: 28px 24px 24px;
  }
  .tb-app-item {
    padding: 40px 0;
  }
  .tb-service-grid {
    grid-template-columns: 1fr;
  }
  .tb-service-item {
    border-right: none;
  }
  .tb-service-item:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .tb-service-item:last-child {
    border-bottom: none;
  }
}
