/* ==========================================================================
   Air Display - Company Profile Stylesheet
   Architecture: Lightweight CSS variables, subgrid/flex, 0 CLS, hardware acceleration
   ========================================================================== */

:root {
  --primary-red: #e50914;
  --primary-red-hover: #c40812;
  --dark-navy: #07090e;
  --navy-panel: #0d121c;
  --card-border: #e8ecf2;
  --txt-dark: #11141a;
  --txt-body: #4a5260;
  --txt-muted: #717d91;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.dot-red {
  color: var(--primary-red);
}

.tag-bar {
  display: inline-block;
  width: 14px;
  height: 3px;
  background-color: var(--primary-red);
  margin-right: 8px;
  vertical-align: middle;
}

/* ==========================================================================
   1. Hero Section (full-width background photo)
   The photo is a real <img class="cmp-hero-img"> placed behind the text.
   ========================================================================== */
.cmp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: clamp(340px, 32vw, 460px);
  padding: 60px 0 90px;
  background: radial-gradient(70% 120% at 85% 40%, #3a1a2a, #07090e 70%); /* shows if the photo is missing */
}

.cmp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: -2;
}

/* Dark fade on the left keeps the heading readable over the photo */
.cmp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #07090e 0%,
    rgba(7, 9, 14, 0.92) 28%,
    rgba(7, 9, 14, 0.55) 50%,
    rgba(7, 9, 14, 0.1) 75%,
    rgba(7, 9, 14, 0) 100%
  );
}

.cmp-crumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.cmp-crumbs a {
  color: #94a3b8;
  text-decoration: none;
}

.cmp-crumbs a:hover {
  color: #fff;
}

.cmp-crumbs li + li::before {
  content: "›";
  margin-right: 8px;
  color: #64748b;
}

.cmp-crumbs [aria-current="page"] {
  color: #fff;
}

.cmp-hero-text {
  max-width: 560px;
}

.cmp-hero-text h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: none; /* the site default makes headings all capitals */
  margin: 12px 0 20px;
  color: #fff;
}

.cmp-hero-text .lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 500px;
  margin: 0;
}

/* ==========================================================================
   2. Subnav Strip
   top: 68px keeps it just below the site's sticky header
   ========================================================================== */
.cmp-subnav {
  background: #fff;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 68px;
  z-index: 40;
}

.cmp-subnav-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.cmp-subnav-grid::-webkit-scrollbar {
  display: none;
}

.cmp-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  color: var(--txt-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.cmp-tab .tab-icon {
  display: flex;
  align-items: center;
  color: #717d91;
}

.cmp-tab .tab-icon svg {
  width: 20px;
  height: 20px;
}

.cmp-tab:hover {
  color: var(--primary-red);
}

.cmp-tab:hover .tab-icon {
  color: var(--primary-red);
}

.cmp-tab.active {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

.cmp-tab.active .tab-icon {
  color: var(--primary-red);
}

/* ==========================================================================
   3. Common Split Sections
   scroll-margin-top stops the sticky bars covering a section after a tab click
   ========================================================================== */
.cmp-sec {
  padding: 80px 0;
  scroll-margin-top: 140px;
}

.cmp-sec-alt {
  background-color: #fbfcfe;
}

.cmp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.cmp-split.reverse {
  grid-template-columns: 1fr 1fr;
}

.cmp-split.reverse .cmp-split-copy {
  order: 2;
}

.cmp-split.reverse .cmp-split-img {
  order: 1;
}

.cmp-split-copy h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--txt-dark);
  margin: 12px 0 20px;
}

.cmp-split-copy p {
  color: var(--txt-body);
  line-height: 1.7;
  font-size: 1.05rem;
}

.cmp-act {
  margin-top: 28px;
}

/* Image Badges & Overlays */
.img-badge-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.img-badge-wrap img,
.rounded-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(9, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  padding: 16px 22px;
  border-radius: 6px;
  color: #fff;
  border-left: 3px solid var(--primary-red);
}

.img-badge.right-top {
  bottom: auto;
  left: auto;
  top: 24px;
  right: 24px;
  background: rgba(9, 12, 18, 0.88);
  border-left: none;
  border-right: 3px solid var(--primary-red);
  text-align: right;
  line-height: 1.35;
  font-weight: 700;
}

.img-badge p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #fff;
}

/* ==========================================================================
   4. Trust Strip Under About
   ========================================================================== */
.cmp-trust-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--txt-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.badge-icon svg {
  width: 24px;
  height: 24px;
  color: var(--txt-dark);
}

/* ==========================================================================
   5. Vision & Mission Cards
   ========================================================================== */
.cmp-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 50px;
}

.vm-card {
  background: #f8fafc;
  border: 1px solid var(--card-border);
  padding: 36px;
  border-radius: 8px;
}

.vm-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.vm-icon-bubble {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vm-icon-bubble svg {
  width: 22px;
  height: 22px;
}

.vm-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--txt-dark);
  margin: 4px 0 0;
}

.vm-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--txt-body);
  margin: 0;
}

/* ==========================================================================
   6. Performance Numbers Banner (Dark)
   ========================================================================== */
.cmp-stats-sec {
  background: var(--dark-navy);
  padding: 60px 0;
  border-top: 1px solid #1a2232;
  border-bottom: 1px solid #1a2232;
}

.cmp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  text-align: center;
}

.stat-col {
  padding: 0 20px;
  position: relative;
}

.stat-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin: 10px 0 0;
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   7. Triple Feature Indicators (Innovation & Sustainability)
   ========================================================================== */
.cmp-tri-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
}

.feature-unit {
  text-align: left;
}

.feature-icon {
  display: inline-flex;
  color: var(--txt-dark);
  margin-bottom: 12px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-unit strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--txt-dark);
}

/* ==========================================================================
   8. Quad Badges Under Quality
   ========================================================================== */
.cmp-quad-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--card-border);
}

.q-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--txt-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.q-badge svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--txt-dark);
}

/* ==========================================================================
   9. Global Red CTA Banner
   ========================================================================== */
.cmp-cta-banner {
  background: linear-gradient(90deg, #07090e 0%, #151b28 50%, #1c0b0e 100%);
  color: #fff;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cmp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tag-inline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.9;
  margin: 0 0 10px;
}

.tag-inline span {
  color: var(--primary-red);
}

.cmp-cta-banner h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.cmp-cta-banner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin: 0;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ==========================================================================
   Mobile & Tablet Responsiveness
   ========================================================================== */
@media (max-width: 992px) {
  .cmp-split,
  .cmp-split.reverse,
  .cmp-vm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cmp-split.reverse .cmp-split-copy {
    order: 1;
  }

  .cmp-split.reverse .cmp-split-img {
    order: 2;
  }

  .cmp-trust-badges,
  .cmp-quad-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cmp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-col:not(:last-child)::after {
    display: none;
  }

  .cmp-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .cmp-hero {
    padding: 40px 0 60px;
  }

  /* On phones the photo sits behind a solid dark layer so the text stays readable */
  .cmp-hero::after {
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.9), rgba(7, 9, 14, 0.78));
  }

  .cmp-hero-img {
    object-position: center;
  }

  .cmp-hero-text {
    max-width: 100%;
  }

  .cmp-sec {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .cmp-tri-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cmp-trust-badges,
  .cmp-quad-badges,
  .cmp-stats-grid {
    grid-template-columns: 1fr;
  }
}