/* =========================================================
   Section 05 – CTA: Deep Tech Labs (home page)
   Full-bleed AI background image, dark scrim for legibility, copy left, glass panel right
   ========================================================= */
.dtl {
  position: relative; overflow: clip; padding: 112px 0; color: #fff; isolation: isolate;
  background: #071530 url("../images/ai-neural-bg.webp") center / cover no-repeat;
}
.dtl::before { /* scrim: solid on the text side, clears toward the network */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,21,48,.96) 0%, rgba(7,21,48,.82) 38%, rgba(7,21,48,.35) 70%, rgba(7,21,48,.1) 100%);
}
.dtl::after { /* gold hairline on top */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-fill);
}
.dtl-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 80px; align-items: center; }

.dtl h2 { color: #fff; font-size: var(--h2-size); line-height: var(--h2-line); margin: 0 0 24px; max-width: 30ch; }
.dtl h2 span { color: var(--gold); }
.dtl-copy p { margin: 0 0 38px; font-size: 1.04rem; line-height: 1.85; color: rgba(255,255,255,.84); max-width: 58ch; }

.dtl-btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 20px 16px 30px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--navy-dark); background: var(--gold-fill);
  box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: background .2s, transform .2s, box-shadow .2s;
}
.dtl-btn-arrow { display: inline-flex; transition: transform .25s ease; }
.dtl-btn:hover { background: #ffd04a; color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255,191,15,.35); }
.dtl-btn:hover .dtl-btn-arrow { transform: translateX(4px); }
.dtl-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- Glass panel ---- */
.dtl-panel {
  padding: 28px 30px 12px; border-radius: 20px; background: rgba(8,22,52,.55);
  border: 1px solid rgba(255,255,255,.18); border-top: 3px solid var(--gold);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.dtl-panel-label { margin: 0 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.dtl-areas { list-style: none; margin: 0; padding: 0; }
.dtl-areas li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.dtl-areas li:last-child { border-bottom: 0; }
.dtl-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; color: var(--gold); background: rgba(255,196,20,.1); border: 1px solid rgba(255,196,20,.4); }
.dtl-area-text { display: flex; flex-direction: column; gap: 3px; }
.dtl-areas strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: #fff; line-height: 1.15; }
.dtl-areas small { font-size: .9rem; color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .dtl { padding: 72px 0; }
  .dtl::before { background: linear-gradient(180deg, rgba(7,21,48,.94), rgba(7,21,48,.8)); }
  .dtl-layout { grid-template-columns: 1fr; gap: 40px; }
  .dtl h2 { max-width: none; }
}
@media (max-width: 480px) { .dtl-btn { width: 100%; justify-content: space-between; } .dtl-panel { padding: 22px 20px 6px; } .dtl-areas li { padding: 16px 0; } }
@media (prefers-reduced-motion: reduce) { .dtl-btn, .dtl-btn-arrow { transition: none; } }
