/* ═══════════════════════════════════════════════
   INDUSTRY PAGE — Shared Styles
   ═══════════════════════════════════════════════ */

.ind-page { background: #FAFAFA; overflow-x: hidden; }

/* ── Hero ── */
.ind-hero {
  position: relative; min-height: 760px; display: flex; align-items: stretch;
  background: radial-gradient(circle at 82% 20%, rgba(242,99,34,.34), transparent 34%),
              linear-gradient(135deg, #070504 0%, #1B0D06 38%, #3A1608 72%, #74300F 100%);
  overflow: hidden; isolation: isolate;
}
.ind-hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ind-hero-bg, url('/images/engineering-hero.png')) center/cover no-repeat;
  opacity: 0.18; transform: scale(1.04); z-index: -2;
}
/* Dark gradient overlay */
.ind-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.22) 100%);
  z-index: 0;
}
/* Diagonal divider */
.ind-hero::after {
  content: '';
  position: absolute;
  left: -5%; right: -5%; bottom: -42px;
  height: 95px;
  background: #FAFAFA;
  transform: rotate(-2deg);
  transform-origin: left center;
  z-index: 2;
}
/* Hero content — left-aligned container */
.ind-hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 160px 24px 135px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ind-hero-content {
  max-width: 720px;
  margin-left: 0;
}
.ind-hero .section-tag--light {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242,99,34,.15); border: 1px solid rgba(242,99,34,.4);
  color: var(--primary); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 18px; margin-bottom: 24px;
}
.ind-hero h1 {
  color: #fff; font-size: clamp(56px, 5vw, 88px);
  line-height: .95; letter-spacing: -2px; margin: 0 0 28px;
}
.ind-hero p {
  color: rgba(255,255,255,.88); font-size: 22px;
  line-height: 1.55; max-width: 660px; margin-bottom: 36px;
}
.ind-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Sections ── */
.ind-section { padding: clamp(76px, 8vw, 120px) 0; }
.ind-section--soft { background: #F4F1EC; }
.ind-section--dark { background: #080706; color: #fff; }
.ind-section--alt { background: #fff; }

.ind-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.ind-split--reverse .ind-split-img { order: -1; }

.ind-split-img {
  position: relative; min-height: 480px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}
.ind-split-img::before {
  content: ''; position: absolute; inset: 20px -20px -20px 20px;
  border: 3px solid var(--primary); z-index: -1;
}
.ind-split-img img {
  width: 100%; height: 100%; min-height: inherit; object-fit: cover;
  transition: transform .7s ease;
}
.ind-split-img:hover img { transform: scale(1.04); }

.ind-split-copy h2 {
  font-size: clamp(32px, 3.5vw, 52px); font-weight: 800;
  line-height: 1.08; letter-spacing: -.04em; margin-bottom: 20px;
}
.ind-section--dark .ind-split-copy h2 { color: #fff; }
.ind-split-copy p {
  font-size: 17px; line-height: 1.8; color: #383838; margin-bottom: 18px;
}
.ind-section--dark .ind-split-copy p { color: rgba(255,255,255,.78); }

.ind-check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.ind-check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px; color: #383838; line-height: 1.55;
}
.ind-section--dark .ind-check-list li { color: rgba(255,255,255,.8); }
.ind-check-list i, .ind-check-list svg {
  width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 2px;
}

/* ── Roles Grid ── */
.ind-roles-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px; margin-top: 48px;
}
.ind-role-card {
  background: #fff; border: 1px solid #E6E6E6; padding: 28px 20px;
  text-align: center; transition: all .3s ease; position: relative; overflow: hidden;
}
.ind-role-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--primary); transform: scaleX(0);
  transition: transform .3s ease;
}
.ind-role-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); border-color: var(--primary); }
.ind-role-card:hover::after { transform: scaleX(1); }
.ind-role-icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242,99,34,.08); color: var(--primary);
}
.ind-role-icon svg, .ind-role-icon i { width: 24px; height: 24px; }
.ind-role-card h4 { font-size: 14px; font-weight: 700; color: #050505; margin-bottom: 4px; }
.ind-role-card p { font-size: 12px; color: #666; line-height: 1.45; }

/* ── Process Timeline ── */
.ind-process-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin-top: 48px; position: relative;
}
.ind-process-step { position: relative; padding: 0 28px; text-align: center; }
.ind-process-step::before {
  content: ''; position: absolute; top: 28px; left: 0; right: 0;
  height: 2px; background: rgba(255,255,255,.15); z-index: 0;
}
.ind-process-step:first-child::before { left: 50%; }
.ind-process-step:last-child::before { right: 50%; }
.ind-process-num {
  width: 56px; height: 56px; margin: 0 auto 20px; display: flex;
  align-items: center; justify-content: center;
  border: 2px solid var(--primary); font-size: 22px; font-weight: 800;
  color: var(--primary); background: #080706; position: relative; z-index: 1;
}
.ind-process-step h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ind-process-step p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; }

/* ── Why Cards ── */
.ind-why-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; margin-top: 48px;
}
.ind-why-card {
  background: #fff; border: 1px solid #E6E6E6; padding: 36px 28px;
  transition: all .3s ease; position: relative;
}
.ind-why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,.1); border-color: var(--primary); }
.ind-why-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(242,99,34,.08); color: var(--primary); margin-bottom: 20px;
}
.ind-why-icon svg, .ind-why-icon i { width: 26px; height: 26px; }
.ind-why-card h4 { font-size: 18px; font-weight: 700; color: #050505; margin-bottom: 10px; }
.ind-why-card p { font-size: 15px; color: #555; line-height: 1.65; }

/* ── FAQ ── */
.ind-faq-list { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.ind-faq-item { border: 1px solid #E6E6E6; background: #fff; overflow: hidden; transition: all .3s; }
.ind-faq-item.active { border-color: var(--primary); }
.ind-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: transparent; border: none;
  font-size: 16px; font-weight: 600; color: #050505;
  text-align: left; cursor: pointer; font-family: inherit; gap: 16px;
}
.ind-faq-toggle { font-size: 22px; color: var(--primary); font-weight: 300; flex-shrink: 0; transition: transform .3s; }
.ind-faq-item.active .ind-faq-toggle { transform: rotate(45deg); }
.ind-faq-a { display: none; padding: 0 24px 20px; font-size: 15px; color: #555; line-height: 1.7; }
.ind-faq-item.active .ind-faq-a { display: block; }

/* ── CTA ── */
.ind-cta {
  background: var(--primary); padding: clamp(64px, 7vw, 100px) 0; text-align: center;
}
.ind-cta h2 { color: #fff; font-size: clamp(34px, 4vw, 56px); font-weight: 800; margin-bottom: 18px; }
.ind-cta p { color: rgba(255,255,255,.88); font-size: 19px; max-width: 640px; margin: 0 auto 32px; line-height: 1.6; }
.ind-cta .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Stats Band ── */
.ind-stats {
  position: relative; z-index: 3; margin-top: -10px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #111; border-top: 1px solid rgba(242,99,34,.3);
  padding-top: 0;
}
.ind-stat {
  padding: 40px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.ind-stat:last-child { border-right: 0; }
.ind-stat strong {
  display: block; font-size: clamp(32px, 3vw, 48px);
  font-weight: 800; color: var(--primary); margin-bottom: 8px;
}
.ind-stat span { color: rgba(255,255,255,.6); font-size: 14px; }

/* ── Section Headers ── */
.ind-section-head { text-align: center; max-width: 780px; margin: 0 auto 12px; }
.ind-section-head .lc-section-label { justify-content: center; }
.ind-section-head .lc-section-label::before { display: none; }
.ind-section-head .lc-section-label::after {
  content: ''; width: 48px; height: 4px; background: var(--primary); margin-left: 14px;
}
.ind-section-head h2 {
  font-size: clamp(34px, 4vw, 58px); font-weight: 800;
  letter-spacing: -.04em; margin-bottom: 16px;
}
.ind-section--dark .ind-section-head h2 { color: #fff; }
.ind-section-head p { font-size: 18px; color: #555; line-height: 1.7; max-width: 620px; margin: 0 auto; }
.ind-section--dark .ind-section-head p { color: rgba(255,255,255,.65); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ind-split { grid-template-columns: 1fr; }
  .ind-roles-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ind-process-step::before { display: none; }
  .ind-stats { grid-template-columns: repeat(2, 1fr); }
  .ind-stat { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 768px) {
  .ind-hero { min-height: 580px; }
  .ind-hero-inner { padding: 130px 20px 110px; }
  .ind-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .ind-roles-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-why-grid { grid-template-columns: 1fr; }
  .ind-split-img { min-height: 360px; }
  .ind-stats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ind-roles-grid { grid-template-columns: 1fr; }
  .ind-process-grid { grid-template-columns: 1fr; }
}

/* ── Industry Page: Mobile Nav Override ── */
@media (max-width: 1024px) {
  .ind-page .nav-links {
    display: flex !important;
    position: fixed;
    top: 0; right: -100%; bottom: 0;
    width: 320px; max-width: 86vw;
    background: #0a0a0a;
    box-shadow: -20px 0 50px rgba(0,0,0,.4);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 110px 32px 40px;
    gap: 16px;
    z-index: 998;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .ind-page .nav-links.open { right: 0; }
  .ind-page .nav-links .nav-link,
  .ind-page .nav-links .nav-dropdown-trigger {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 14px;
  }
  .ind-page .nav-links .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    background: #111;
    border-color: rgba(242,99,34,.3);
    box-shadow: none;
  }
  .ind-page .nav-links .nav-dropdown:hover .nav-dropdown-menu,
  .ind-page .nav-links .nav-dropdown.active .nav-dropdown-menu {
    display: block;
  }
  .ind-page .nav-links .nav-dropdown-item {
    color: rgba(255,255,255,.7);
    padding: 10px 16px;
  }
  .ind-page .nav-links .nav-dropdown-item:hover { color: var(--primary); }
  .ind-page .nav-auth { width: 100%; }
  .ind-page .nav-auth .nav-cta-btn {
    width: 100%; text-align: center; justify-content: center;
    padding: 14px 24px; font-size: 16px; margin-top: 12px;
  }
  .ind-page .nav-toggle { display: flex; z-index: 999; }
  .ind-page .nav-logo img { height: 42px; }
}

/* ── Fix scrolled navbar on industry pages — ensure dark logo is visible ── */
.ind-page .navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.ind-page .navbar.scrolled .nav-logo-dark { display: none !important; }
.ind-page .navbar.scrolled .nav-logo-light { display: block !important; }
.ind-page .navbar.scrolled .nav-link,
.ind-page .navbar.scrolled .nav-dropdown-trigger { color: #1a1a1a; }
