/* digital-marketing/services/admission-leads.html
   Loaded after services.css, which supplies the theme variables, form-card,
   section-label / section-title, gold-rule, why-card, offer-* and cal embed styles. */

/* ── Hero with YouTube background video ──
   hero.css is re-injected by header.js after this file, so every rule here is
   scoped .tg-hero.al-video-hero to win on specificity, not load order. */
.tg-hero.al-video-hero {
  background: #1a1440;            /* shows while the video loads / if it is blocked */
  padding: 100px 20px;
  isolation: isolate;
}
.tg-hero.al-video-hero::before { display: none; }   /* drop hero.css top glow */

.al-hero-video {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
  container-type: size;           /* lets the iframe size itself against this box */
}
/* "object-fit: cover" for a 16:9 iframe: always at least as wide AND as tall as the
   hero, centred, then scaled a little so YouTube's edge UI is cropped off. */
.al-hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(56.25cqw, 100cqh);
  transform: translate(-50%, -50%) scale(1.15);
  border: 0; pointer-events: none;
}
.al-hero-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(15,12,40,.88) 0%, rgba(30,20,70,.72) 45%, rgba(49,30,110,.45) 100%);
}
.tg-hero.al-video-hero .container { position: relative; z-index: 1; }

/* text on the dark video */
.tg-hero.al-video-hero .tg-title { color: #fff; }
.tg-hero.al-video-hero .tg-title span {
  background: linear-gradient(135deg, #a5b4fc 0%, #d8b4fe 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tg-hero.al-video-hero .tg-text { color: rgba(255,255,255,.85); line-height: 1.75; }
.tg-hero.al-video-hero .check-list li { color: rgba(255,255,255,.92); }
.tg-hero.al-video-hero .check-list i { color: #a5b4fc; }
.tg-hero.al-video-hero .form-card { box-shadow: 0 24px 60px rgba(0,0,0,.35); }

/* Respect reduced-motion: keep the dark backdrop, skip the moving video. */
@media (prefers-reduced-motion: reduce) {
  .al-hero-video { display: none; }
}
@media (max-width: 767px) {
  .tg-hero.al-video-hero { padding: 70px 16px; }
  .al-hero-overlay { background: rgba(15,12,40,.82); }
}

/* ── Challenge cards ── */
.al-challenge-bg { background: #fafaff; }
.al-challenge {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--accent-border); border-radius: 16px;
  padding: 22px; height: 100%;
  box-shadow: 0 8px 24px rgba(17,24,39,.05);
}
.al-challenge i { font-size: 1.4rem; color: var(--accent-start); flex-shrink: 0; margin-top: 2px; }
.al-challenge p { margin: 0; color: var(--text-main); line-height: 1.7; font-size: .95rem; }

/* ── Service blocks ── */
.al-service {
  background: #fff; border: 1px solid var(--accent-border); border-radius: 20px;
  padding: 36px; margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.al-service-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-gradient); color: #fff; font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
}
.al-service h3 { font-size: 1.35rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.al-service h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-main); margin: 24px 0 14px; }
.al-service p { color: var(--text-muted); line-height: 1.8; }
.al-service a {
  color: var(--accent-start); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.al-service a:hover { color: var(--accent-end); border-bottom-color: var(--accent-end); }

/* numbered steps */
.al-steps { list-style: none; counter-reset: al-step; padding: 0; margin: 0; }
.al-steps li {
  counter-increment: al-step; position: relative;
  padding: 0 0 18px 52px; color: var(--text-muted); line-height: 1.75;
}
.al-steps li::before {
  content: counter(al-step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent-start);
  border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
.al-steps li strong { color: var(--text-main); }

/* reporting checklist */
.al-report-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.al-report-list li {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-light); border-radius: 12px; padding: 12px 14px;
  color: var(--text-main); font-size: .93rem; line-height: 1.5;
}
.al-report-list i { color: var(--accent-start); margin-top: 2px; }

.al-example {
  background: var(--cream); border-left: 4px solid var(--gold);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin-top: 14px;
  font-size: .92rem; color: var(--text-muted); font-style: italic;
}

/* ── Tables (funnel + trial) ── */
.al-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(17,24,39,.06); }
.al-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 480px; }
.al-table th {
  background: var(--primary-gradient); color: #fff; text-align: left;
  padding: 16px 20px; font-weight: 600; font-size: .95rem;
}
.al-table td { padding: 16px 20px; border-bottom: 1px solid #eef0f6; color: var(--text-muted); line-height: 1.6; }
.al-table tr:last-child td { border-bottom: none; }
.al-table td:first-child { font-weight: 700; color: var(--text-main); white-space: nowrap; }
.al-table tr:nth-child(even) td { background: #fafaff; }

.al-note {
  margin-top: 24px; text-align: center; font-weight: 600; color: var(--text-main);
}

/* ── Proof ── */
.al-proof-bg { background: #fff; }
.al-proof-img {
  width: 100%; border-radius: 18px; cursor: zoom-in;
  box-shadow: 0 20px 50px rgba(99,102,241,.18);
}
.al-countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.al-countries span {
  background: var(--accent-light); color: var(--accent-start);
  border: 1px solid var(--accent-border); border-radius: 30px;
  padding: 6px 14px; font-size: .85rem; font-weight: 600;
}
.al-popup {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92);
  z-index: 9999; justify-content: center; align-items: center; padding: 20px;
}
.al-popup.open { display: flex; }
.al-popup img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.al-popup-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 36px; cursor: pointer; line-height: 1; }

/* ── Requirements + next steps ── */
.al-need-bg { background: linear-gradient(180deg,#fafaff 0%,#fff 100%); }
.al-need-card {
  background: #fff; border: 1px solid var(--accent-border); border-radius: 20px;
  padding: 30px; height: 100%; box-shadow: 0 10px 30px rgba(17,24,39,.06);
}
.al-need-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; }
.al-need-card ul { list-style: none; padding: 0; margin: 0; }
.al-need-card ul li { display: flex; gap: 10px; padding: 8px 0; color: var(--text-muted); line-height: 1.6; }
.al-need-card ul li i { color: var(--accent-start); margin-top: 3px; }
.al-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  background: var(--primary-gradient); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 40px; font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}
.al-cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(99,102,241,.35); }

@media (max-width: 767px) {
  .al-service { padding: 24px 18px; }
  .al-report-list { grid-template-columns: 1fr; }
  .al-table th, .al-table td { padding: 12px 14px; }
}
