/* ============================================================
   industry.css Ã¢â‚¬â€ Shared styles for all industry sub-pages
   ============================================================ */


/* Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:      #D30100;
  --red-dark: #A50000;
  --dark:     #0E0E0E;
  --marine:   #0A2540;
  --bone:     #F4F1EC;
  --amber:    #FEBD59;
  --gray-400: #6B6B6B;
  --gray-100: #F5F5F5;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: clip;
}


/* Hero
   ------------------------------------------------------------ */
.page-hero {
  background: linear-gradient(135deg, #D30100 0%, #A50000 55%, #0A2540 100%);
  padding: 55px 28px 64px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -150px;
  bottom: -150px;
  left: 0;
  right: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero-bg.bw {
  filter: grayscale(1) contrast(1.05);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(211, 1, 0, 0.82) 0%, rgba(165, 0, 0, 0.74) 50%, rgba(10, 37, 64, 0.72) 100%);
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}


/* Breadcrumb
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: #fff;
}


/* Badge & Typography
   ------------------------------------------------------------ */
.ind-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}

h1.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 16px;
}

h1.page-title span {
  color: var(--amber);
}

.page-sub {
  font-size: 17px;
  color: #fff;
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 32px;
}


/* Hero CTAs
   ------------------------------------------------------------ */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #fff;
  color: var(--red);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-red:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-white:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}


/* Page Body Layout
   ------------------------------------------------------------ */
.ind-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}


/* Main Content
   ------------------------------------------------------------ */
.ind-main h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 16px;
}

.ind-main p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 16px;
}

.ind-main h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}


/* Products Grid
   ------------------------------------------------------------ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0 40px;
}

.product-card {
  background: #fff;
  border: 1.5px solid #efefef;
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  box-shadow: 0 6px 28px rgba(211, 1, 0, 0.1);
  border-color: rgba(211, 1, 0, 0.18);
}

.product-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-tag {
  padding: 3px 10px;
  background: rgba(211, 1, 0, 0.06);
  border: 1px solid rgba(211, 1, 0, 0.12);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
}


/* Applications Grid
   ------------------------------------------------------------ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.app-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bone);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}


/* Why List
   ------------------------------------------------------------ */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-check {
  width: 22px;
  height: 22px;
  background: rgba(211, 1, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.why-item p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}


/* Sidebar
   ------------------------------------------------------------ */
.ind-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-card {
  background: #fff;
  border: 1.5px solid #efefef;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.sidebar-card.red-card {
  background: var(--red);
  border-color: var(--red);
}

.sidebar-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.sidebar-card.red-card h4 {
  color: #fff;
}

.sidebar-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sidebar-card.red-card p {
  color: rgba(255, 255, 255, 0.82);
}

.btn-full {
  display: block;
  width: 100%;
  padding: 13px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px;
}

.btn-full.white {
  background: #fff;
  color: var(--red);
}

.btn-full.white:hover {
  background: #f5f5f5;
}

.btn-full.red-btn {
  background: var(--red);
  color: #fff;
}

.btn-full.red-btn:hover {
  background: var(--red-dark);
}

.btn-full.outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid #ddd;
}

.btn-full.outline:hover {
  border-color: #bbb;
}


/* Brand List
   ------------------------------------------------------------ */
.brand-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bone);
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}


/* Related Links
   ------------------------------------------------------------ */
.related-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  border: 1.5px solid #efefef;
  transition: border-color 0.2s, background 0.2s;
}

.related-link:hover {
  border-color: rgba(211, 1, 0, 0.2);
  background: rgba(211, 1, 0, 0.03);
  color: var(--red);
}


/* SEO Content Block
   ------------------------------------------------------------ */
.seo-content {
  background: var(--bone);
  border-radius: 16px;
  padding: 32px;
  margin-top: 40px;
  border-left: 4px solid var(--red);
}

.seo-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.seo-content p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.75;
  margin-bottom: 12px;
}


/* Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .ind-body {
    grid-template-columns: 1fr;
  }

  .ind-sidebar {
    position: static;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 60px 20px 56px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  h1.page-title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .page-sub {
    font-size: 15px;
  }

  .ind-body {
    padding: 48px 20px 64px;
    gap: 40px;
  }
}
