/* ── AOI CINEMATIC PANELS ── */

/* HERO */
.aoi-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 56px 60px;
  overflow: hidden;
}
.aoi-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/img/DSC01558.jpg') center/cover no-repeat;
}
.aoi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,28,40,0.85) 0%,
    rgba(15,28,40,0.6) 40%,
    rgba(15,28,40,0.92) 100%
  );
}
.aoi-hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.aoi-hero-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.aoi-hero-title {
  font-size: clamp(36px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  max-width: 900px;
}
.aoi-hero-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}
.aoi-hero-sub {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dim);
}
.aoi-btn-accent {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.aoi-btn-accent:hover {
  background: #007acc;
}
.aoi-btn-white {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--white);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.aoi-btn-white:hover {
  background: rgba(255,255,255,0.9);
}

/* FEATURE PANELS */
.aoi-features {
  position: relative;
}
.aoi-panel {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.aoi-panel--reverse {
  direction: rtl;
}
.aoi-panel--reverse > * {
  direction: ltr;
}
.aoi-panel-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px;
  position: relative;
  z-index: 1;
}
.aoi-panel-watermark {
  position: absolute;
  top: 50%;
  left: 56px;
  transform: translateY(-50%);
  font-size: 280px;
  font-weight: 700;
  color: var(--white);
  opacity: 0.04;
  line-height: 1;
  letter-spacing: -10px;
  pointer-events: none;
  z-index: 0;
}
.aoi-panel--reverse .aoi-panel-watermark {
  left: auto;
  right: 56px;
}
.aoi-panel-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.aoi-panel-title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}
.aoi-panel-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 480px;
}
.aoi-panel-img {
  position: relative;
  overflow: hidden;
}
.aoi-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Infographics with text near the edges: shown whole and framed instead of cropped by cover */
.aoi-panel-img--shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.aoi-panel-img--shot img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.aoi-panel:nth-child(odd) {
  background: var(--darkest);
}
.aoi-panel:nth-child(even) {
  background: var(--darker);
}

/* APPLICATION AREAS */
.aoi-apps {
  padding: 100px 56px;
  background: var(--darkest);
  border-top: 1px solid var(--line);
}
.aoi-apps-header {
  text-align: center;
  margin-bottom: 60px;
}
.aoi-apps-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.aoi-apps-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 12px;
}
.aoi-apps-header p {
  font-size: 16px;
  color: var(--dim);
  max-width: 640px;
  margin: 0 auto;
}
.aoi-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.aoi-app-card {
  background: var(--darker);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.aoi-app-card:hover {
  border-color: rgba(255,255,255,0.15);
}
.aoi-app-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.aoi-app-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--dim);
  flex: 1;
}

/* CTA */
.aoi-cta {
  background: var(--accent);
  padding: 100px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.aoi-cta-text {
  max-width: 680px;
}
.aoi-cta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.aoi-cta h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.aoi-cta p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .aoi-hero {
    padding: 120px 24px 48px;
    min-height: 70vh;
  }
  .aoi-hero-title {
    letter-spacing: -1px;
  }
  .aoi-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .aoi-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .aoi-panel--reverse {
    direction: ltr;
  }
  .aoi-panel-text {
    padding: 60px 24px;
    order: 2;
  }
  .aoi-panel-img {
    height: 50vh;
    order: 1;
  }
  .aoi-panel-img--shot {
    height: auto;
    padding: 32px 24px;
  }
  .aoi-panel-watermark {
    font-size: 140px;
    left: 24px;
  }
  .aoi-panel--reverse .aoi-panel-watermark {
    right: auto;
    left: 24px;
  }
  .aoi-apps {
    padding: 60px 24px;
  }
  .aoi-apps-grid {
    grid-template-columns: 1fr;
  }
  .aoi-cta {
    flex-direction: column;
    padding: 60px 24px;
    text-align: center;
    gap: 32px;
  }
}
