/**
 * LSIB Premium Brand — conversion-focused, world-class visual layer.
 *
 * REVERSIBLE: To turn off entirely:
 * 1. Remove class `lsib-brand-premium` from <html> in _SiteLayout.cshtml and _SiteMaster.cshtml
 * 2. Remove the lsib-premium-brand.css link from _SiteHead.cshtml and _SiteMaster.cshtml
 * 3. Remove @await Html.PartialAsync("Site/_SitePremiumTrustStrip") from both layouts
 * 4. Remove _SiteConversionChrome partial + conversion rules below + lsib-site.js conversion block
 * 5. Revert the PREMIUM COPY block in HomePageContent.cs (search "PREMIUM COPY")
 */

html.lsib-brand-premium {
  /* Align with logo #0068b1 — avoid grey-navy drift */
  --lsib-logo-blue: #0068b1;
  --lsib-navy: #004e85;
  --lsib-blue-deep: #003d66;
  --lsib-blue: #0068b1;
  --lsib-blue-mid: #1172b6;
  --lsib-blue-light: #4490c6;
  --lsib-nav-blue: #0068b1;
  --lsib-red: #e10600;
  --lsib-border: #c5d4e0;
  --lsib-tint: #eef4f9;
  --lsib-text: #0f1f2d;
  --lsib-muted: #4a5c6d;
  --lsib-masthead-muted: #3d5566;
  --lsib-gold: #c9a962;
  --lsib-gold-soft: rgba(201, 169, 98, 0.35);
  --lsib-shadow-premium: 0 12px 40px rgba(6, 42, 69, 0.12);
  --lsib-shadow-cta: 0 6px 20px rgba(200, 16, 46, 0.35);
}

html.lsib-brand-premium .lsib-site,
html.lsib-brand-premium .lsib-site-chrome {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Trust strip — light band so it doesn’t stack as “double navy” with utility bar */
html.lsib-brand-premium .lsib-trust-strip {
  background: linear-gradient(180deg, #faf6ee 0%, #f0e8d8 100%);
  color: var(--lsib-navy);
  margin: 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html.lsib-brand-premium .lsib-trust-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

html.lsib-brand-premium .lsib-trust-strip__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

html.lsib-brand-premium .lsib-trust-strip__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lsib-navy);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

html.lsib-brand-premium .lsib-trust-strip__badges .fa {
  color: var(--lsib-gold);
  font-size: 14px;
  opacity: 0.95;
}

html.lsib-brand-premium .lsib-trust-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #e01838 0%, var(--lsib-red) 50%, #a00d24 100%);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

html.lsib-brand-premium .lsib-trust-strip__cta:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.38);
}

html.lsib-brand-premium .lsib-trust-strip__cta .fa {
  font-size: 13px;
}

html.lsib-brand-premium .lsib-utility {
  background: linear-gradient(180deg, var(--lsib-blue-deep) 0%, var(--lsib-navy) 100%);
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

html.lsib-brand-premium .lsib-utility a {
  opacity: 0.88;
  font-weight: 500;
}

html.lsib-brand-premium .lsib-utility a:hover {
  opacity: 1;
  color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-masthead {
  padding: 16px 20px;
  box-shadow: 0 1px 0 var(--lsib-border), 0 8px 24px rgba(6, 42, 69, 0.06);
}

html.lsib-brand-premium .lsib-masthead__logo {
  filter: drop-shadow(0 4px 12px rgba(6, 42, 69, 0.25));
}

html.lsib-brand-premium .lsib-masthead__contact {
  font-size: 13px;
  font-weight: 600;
  color: var(--lsib-navy);
  letter-spacing: 0.01em;
}

html.lsib-brand-premium .lsib-masthead__contact i {
  color: var(--lsib-navy);
}

html.lsib-brand-premium .lsib-masthead__contact .fa-whatsapp {
  color: #128c7e;
}

html.lsib-brand-premium .lsib-nav-bar {
  background: linear-gradient(180deg, var(--lsib-blue-mid) 0%, var(--lsib-nav-blue) 55%, var(--lsib-navy) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 var(--lsib-gold-soft),
    0 4px 16px rgba(6, 42, 69, 0.15);
  font-weight: 500;
  letter-spacing: 0.02em;
}

html.lsib-brand-premium .lsib-btn {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 150ms var(--ease-out, ease),
    box-shadow 150ms ease,
    background 150ms ease,
    opacity 150ms ease;
}

html.lsib-brand-premium .lsib-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

html.lsib-brand-premium .lsib-btn--red {
  background: linear-gradient(180deg, #e01838 0%, var(--lsib-red) 45%, #a00d24 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: var(--lsib-shadow-cta);
}

html.lsib-brand-premium .lsib-btn--red:hover {
  box-shadow: 0 8px 28px rgba(200, 16, 46, 0.45);
}

html.lsib-brand-premium .lsib-masthead .lsib-btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}

html.lsib-brand-premium .lsib-hero:not(.lsib-hero--video) {
  background: linear-gradient(135deg, var(--lsib-blue-deep) 0%, var(--lsib-navy) 35%, var(--lsib-blue-mid) 70%, var(--lsib-logo-blue) 100%);
  padding: 56px 20px 60px;
  border-top: none;
}

html.lsib-brand-premium .lsib-hero--video .lsib-hero__scrim {
  background: linear-gradient(
    105deg,
    rgba(0, 61, 102, 0.94) 0%,
    rgba(0, 78, 133, 0.82) 38%,
    rgba(0, 104, 177, 0.45) 68%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

html.lsib-brand-premium .lsib-hero--video .lsib-hero__actions .lsib-btn--red {
  padding: 14px 28px;
  box-shadow: var(--lsib-shadow-cta);
}

html.lsib-brand-premium .lsib-hero__art {
  opacity: 0.18;
}

html.lsib-brand-premium .lsib-hero__eyebrow {
  color: var(--lsib-gold);
  letter-spacing: 0.22em;
  font-weight: 600;
  font-size: 12px;
}

html.lsib-brand-premium .lsib-hero__title {
  font-weight: 500;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
  max-width: 680px;
}

html.lsib-brand-premium .lsib-hero__subtitle {
  font-size: 17px;
  color: #e2edf5;
  max-width: 580px;
  line-height: 1.55;
}

html.lsib-brand-premium .lsib-hero__trust {
  gap: 10px;
  margin-bottom: 28px;
}

html.lsib-brand-premium .lsib-hero__trust > span:not(.lsib-hero__trust-sep) {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

html.lsib-brand-premium .lsib-hero__trust-sep {
  display: none;
}

html.lsib-brand-premium .lsib-hero__actions .lsib-btn--red {
  padding: 14px 28px;
  font-size: 14px;
}

html.lsib-brand-premium .lsib-hero__actions .lsib-btn--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

html.lsib-brand-premium .lsib-hero__actions .lsib-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

html.lsib-brand-premium .lsib-section {
  padding: 52px 20px;
}

html.lsib-brand-premium .lsib-section__title {
  font-size: clamp(1.65rem, 3vw, 34px);
  letter-spacing: -0.02em;
}

html.lsib-brand-premium .lsib-eyebrow {
  color: var(--lsib-navy);
  font-weight: 600;
  letter-spacing: 0.18em;
}

html.lsib-brand-premium .lsib-eyebrow__link:hover {
  color: var(--lsib-red);
}

html.lsib-brand-premium .lsib-card {
  border-top-width: 4px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(6, 42, 69, 0.04);
  transition:
    box-shadow 150ms ease,
    transform 150ms ease,
    border-color 150ms ease;
}

html.lsib-brand-premium .lsib-card:hover {
  box-shadow: var(--lsib-shadow-premium);
  transform: translateY(-3px);
  border-color: #b8c9d6;
}

html.lsib-brand-premium .lsib-card--link:hover .lsib-card__cta {
  color: var(--lsib-red);
  font-weight: 600;
}

html.lsib-brand-premium .lsib-sub--red {
  font-weight: 600;
}

html.lsib-brand-premium .lsib-finder-panel {
  border-color: #c5d4e0;
  box-shadow: var(--lsib-shadow-premium);
}

html.lsib-brand-premium .lsib-finder-panel__col--levels {
  background: linear-gradient(165deg, #f4f8fc 0%, #faf6ee 100%);
  border-top-color: var(--lsib-navy);
}

html.lsib-brand-premium .lsib-finder-panel__col--subjects {
  border-top-color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-finder-panel__title {
  letter-spacing: -0.02em;
}

html.lsib-brand-premium .lsib-finder-panel__level-link:hover {
  border-color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-section--fast-track {
  background: linear-gradient(180deg, #eef4f9 0%, #faf6ee 55%, #fff 100%);
}

html.lsib-brand-premium .lsib-fast-track-card--featured {
  border-top-color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-fast-track-card--featured .lsib-fast-track-card__badge {
  background: linear-gradient(90deg, var(--lsib-navy), var(--lsib-logo-blue));
}

html.lsib-brand-premium .lsib-fast-track-card:hover {
  border-top-color: var(--lsib-red);
}

html.lsib-brand-premium .lsib-section--testimonials {
  background: linear-gradient(180deg, #fff 0%, #faf6ee 55%, #eef4f9 100%);
}

html.lsib-brand-premium .lsib-testimonials__quote {
  border-left-color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-testimonials__proof .fa {
  color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-section--podcasts {
  background: linear-gradient(165deg, var(--lsib-blue-deep) 0%, var(--lsib-navy) 40%, var(--lsib-navy) 70%, var(--lsib-logo-blue) 100%);
}

html.lsib-brand-premium .lsib-podcast-showcase {
  border-color: rgba(201, 169, 98, 0.22);
}

html.lsib-brand-premium .lsib-podcasts__head .lsib-eyebrow--light {
  color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-site-footer {
  border-top: 0;
}

html.lsib-brand-premium .lsib-trust-band {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom-color: rgba(201, 169, 98, 0.35);
}

html.lsib-brand-premium .lsib-trust-band__list .fa {
  color: var(--lsib-gold);
}

html.lsib-brand-premium .lsib-promo-card__title {
  font-size: 24px;
  letter-spacing: -0.02em;
}

html.lsib-brand-premium .lsib-section--navy {
  background: linear-gradient(180deg, var(--lsib-blue-deep) 0%, var(--lsib-navy) 100%);
  border-top: 2px solid var(--lsib-gold-soft);
}

html.lsib-brand-premium .lsib-eyebrow--light {
  color: var(--lsib-gold);
}

html.lsib-brand-premium body.lsib-site-chrome main .lsib-listing-page .table thead th {
  background: linear-gradient(180deg, var(--lsib-navy) 0%, var(--lsib-logo-blue) 55%, var(--lsib-blue-mid) 100%);
}

html.lsib-brand-premium body.lsib-site-chrome main .lsib-listing-page #btnSearch,
html.lsib-brand-premium body.lsib-site-chrome main .lsib-listing-page .input-group .btn-primary {
  box-shadow: var(--lsib-shadow-cta);
}

html.lsib-brand-premium .lsib-listing-intro {
  background: linear-gradient(180deg, #fff 0%, var(--lsib-tint) 100%);
  border-bottom: 1px solid rgba(201, 169, 98, 0.25);
}

html.lsib-brand-premium .lsib-listing-intro__eyebrow {
  color: var(--lsib-gold);
}

html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__eyebrow {
  color: var(--lsib-gold);
  letter-spacing: 0.18em;
}

html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-listing-hero__scrim {
  background: linear-gradient(
    105deg,
    rgba(0, 61, 102, 0.96) 0%,
    rgba(0, 78, 133, 0.92) 38%,
    rgba(0, 104, 177, 0.78) 100%
  ) !important;
}

/* Compact inner-page hero: homepage typography, shorter band (no pill trust row) */
html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__subtitle {
  font-size: 15px !important;
  margin-bottom: 10px !important;
}

html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__trust {
  margin-bottom: 12px !important;
  font-size: 12px;
  color: #d6e6f2;
}

html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__trust > span:not(.lsib-hero__trust-sep) {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  letter-spacing: 0.02em;
  text-transform: none;
  color: inherit;
}

html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__trust-sep {
  display: inline;
  margin: 0 0.15em;
  opacity: 0.75;
}

html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__actions .lsib-btn--red,
html.lsib-brand-premium #clearing-is-open.lsib-listing-hero .lsib-hero__actions .lsib-btn--ghost {
  padding: 10px 20px !important;
  font-size: 12px !important;
}

/* Sticky conversion bar + exit intent (dismissible; ethical — no navigation blocking) */
html.lsib-brand-premium body.lsib-has-convert-bar {
  padding-bottom: 72px;
}

html.lsib-brand-premium .lsib-convert-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: linear-gradient(180deg, rgba(0, 61, 102, 0.97) 0%, var(--lsib-blue-deep) 100%);
  color: #fff;
  border-top: 2px solid var(--lsib-gold);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 280ms var(--ease-out, ease);
}

html.lsib-brand-premium .lsib-convert-bar.is-visible {
  transform: translateY(0);
}

html.lsib-brand-premium .lsib-convert-bar__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

html.lsib-brand-premium .lsib-convert-bar__msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

html.lsib-brand-premium .lsib-convert-bar__msg-sub {
  display: block;
  font-weight: 400;
  opacity: 0.85;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

html.lsib-brand-premium .lsib-convert-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

html.lsib-brand-premium .lsib-convert-bar__browse {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

html.lsib-brand-premium .lsib-convert-bar__browse:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

html.lsib-brand-premium .lsib-convert-bar__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

html.lsib-brand-premium .lsib-convert-bar__wa:hover {
  transform: scale(1.05);
  color: #fff;
}

html.lsib-brand-premium .lsib-convert-exit {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

html.lsib-brand-premium .lsib-convert-exit[hidden] {
  display: none !important;
}

html.lsib-brand-premium .lsib-convert-exit.is-open {
  display: flex;
}

html.lsib-brand-premium .lsib-convert-exit__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 30, 51, 0.72);
  backdrop-filter: blur(4px);
}

html.lsib-brand-premium .lsib-convert-exit__panel {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px 22px;
  box-shadow: var(--lsib-shadow-premium);
  border-top: 4px solid var(--lsib-gold);
  text-align: center;
}

html.lsib-brand-premium .lsib-convert-exit__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--lsib-muted);
  cursor: pointer;
  padding: 4px;
}

html.lsib-brand-premium .lsib-convert-exit__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lsib-red);
  font-weight: 600;
}

html.lsib-brand-premium .lsib-convert-exit__title {
  margin: 0 0 12px;
  font-size: 26px;
  color: var(--lsib-navy);
  line-height: 1.2;
}

html.lsib-brand-premium .lsib-convert-exit__text {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--lsib-muted);
  line-height: 1.5;
}

html.lsib-brand-premium .lsib-convert-exit__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

html.lsib-brand-premium .lsib-convert-exit__actions .lsib-btn {
  justify-content: center;
  width: 100%;
}

html.lsib-brand-premium .lsib-convert-exit__foot {
  margin: 0 0 12px;
  font-size: 13px;
}

html.lsib-brand-premium .lsib-convert-exit__foot a {
  color: var(--lsib-blue);
  text-decoration: none;
  font-weight: 500;
}

html.lsib-brand-premium .lsib-convert-exit__foot .fa-whatsapp {
  color: #25d366;
}

html.lsib-brand-premium .lsib-convert-exit__continue {
  border: 0;
  background: transparent;
  color: var(--lsib-muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}

html.lsib-brand-premium body.lsib-convert-exit-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  html.lsib-brand-premium body.lsib-has-convert-bar {
    padding-bottom: 88px;
  }

  html.lsib-brand-premium .lsib-convert-bar__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  html.lsib-brand-premium .lsib-convert-bar__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  html.lsib-brand-premium .lsib-trust-strip__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 12px 16px;
  }

  html.lsib-brand-premium .lsib-trust-strip__badges {
    justify-content: center;
  }

  html.lsib-brand-premium .lsib-trust-strip__badges li {
    font-size: 12px;
  }

  html.lsib-brand-premium .lsib-trust-strip__cta {
    justify-content: center;
    width: 100%;
  }
}
