.l9-home-ai-section,
.l9-home-hero {
  --l9-home-ai-ink: #171d20;
  --l9-home-ai-navy: #10243b;
  --l9-home-ai-green: #00ad68;
  --l9-home-ai-pale: #f2f5f3;
  --l9-home-ai-line: #dce3df;
  padding: clamp(48px, 5vw, 72px) 0;
  color: var(--l9-home-ai-ink);
  background: #fff;
}

.l9-home-ai-section *,
.l9-home-hero * { box-sizing: border-box; }

.l9-home-hero {
  position: relative;
}

.l9-home-hero-stage {
  position: relative;
  width: 100%;
}

.l9-home-hero-stage > .l9-home-hero-panel {
  width: 100%;
  max-width: 1420px;
  margin-right: auto;
  margin-left: auto;
}

.l9-home-hero-stage > .l9-home-hero-panel[hidden] { display: none !important; }

.l9-home-hero-panel-ai {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
  width: calc(100% - clamp(70px, 10vw, 170px));
  max-width: 1280px;
  min-height: 512px;
  margin: 0 auto;
  padding-bottom: 62px;
  color: #fff;
}

.l9-home-hero-panel-ai::after {
  content: "IA";
  position: absolute;
  right: -25px;
  bottom: -95px;
  z-index: -1;
  color: rgba(255, 255, 255, .07);
  font-size: clamp(220px, 24vw, 390px);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.l9-home-hero-ai-copy { max-width: 720px; }

.l9-home-hero-ai-label {
  margin: 0 0 15px;
  color: #8ff1c5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.l9-home-hero-ai-copy :is(h1, h2) {
  max-width: 720px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}

.l9-home-hero-ai-subtitle {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.l9-home-hero-ai-copy > p:not(.l9-home-hero-ai-label):not(.l9-home-hero-ai-subtitle) {
  max-width: 650px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 1.6;
}

.l9-home-hero-ai-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 17px;
  padding: 15px 24px;
  border: 2px solid #fff;
  color: #fff !important;
  background: rgba(16, 36, 59, .18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.l9-home-hero-ai-button:hover,
.l9-home-hero-ai-button:focus-visible {
  color: #10243b !important;
  background: #fff;
  transform: translateY(-2px);
}

.l9-home-hero-ai-topics {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .44);
  background: rgba(16, 36, 59, .34);
  backdrop-filter: blur(5px);
}

.l9-home-hero-ai-topics > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 3px 15px;
  padding: 22px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.l9-home-hero-ai-topics > div:last-child { border-bottom: 0; }
.l9-home-hero-ai-topics span { grid-row: 1 / 3; color: #8ff1c5; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.l9-home-hero-ai-topics strong { color: #fff; font-size: 18px; font-weight: 650; line-height: 1.25; }
.l9-home-hero-ai-topics small { color: rgba(255, 255, 255, .74); font-size: 13px; line-height: 1.45; }

.l9-home-hero-switcher {
  position: absolute;
  right: clamp(34px, 6vw, 86px);
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .46);
  background: rgba(16, 36, 59, .32);
  backdrop-filter: blur(5px);
}

.l9-home-hero-switcher button {
  min-height: 34px;
  padding: 7px 13px;
  border: 0;
  color: rgba(255, 255, 255, .82);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.l9-home-hero-switcher button.is-active {
  color: #10243b;
  background: #fff;
}

.l9-home-hero-switcher button:focus-visible,
.l9-home-hero-ai-button:focus-visible {
  outline: 3px solid rgba(143, 241, 197, .8);
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .l9-home-hero-ai-copy,
  .l9-home-hero-ai-topics { transform: translateY(135px); }
}

.l9-home-ai-shell {
  width: calc(100% - clamp(36px, 6vw, 96px));
  max-width: 1480px;
  margin: 0 auto;
}

.l9-home-ai-label {
  margin: 0 0 17px;
  color: var(--l9-home-ai-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.l9-home-ai-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.l9-home-ai-button:hover,
.l9-home-ai-button:focus-visible { transform: translateY(-2px); }

.l9-home-ai-button:focus-visible {
  outline: 3px solid rgba(0, 173, 104, .35);
  outline-offset: 3px;
}

.l9-home-ai-services { padding: 0; }

.l9-home-ai-heading {
  max-width: 850px;
  margin: 0 0 48px;
}

.l9-home-ai-heading h2 {
  margin: 0 0 20px;
  color: var(--l9-home-ai-ink);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.l9-home-ai-heading > p:last-child {
  max-width: 710px;
  margin: 0;
  color: #647078;
  font-size: 16px;
  line-height: 1.7;
}

.l9-home-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.l9-home-ai-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.3vw, 44px);
  border: 1px solid var(--l9-home-ai-line);
  background: #fff;
}

.l9-home-ai-card:nth-child(2) { background: var(--l9-home-ai-pale); }

.l9-home-ai-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 31px;
  border: 1px solid var(--l9-home-ai-line);
  border-radius: 50%;
  color: var(--l9-home-ai-green);
}

.l9-home-ai-icon svg { width: 22px; height: 22px; display: block; }

.l9-home-ai-card h3 {
  min-height: 3.42em;
  margin: 0 0 21px;
  color: var(--l9-home-ai-ink);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.14;
}

.l9-home-ai-card > p:not(.l9-home-ai-card-result) {
  margin: 0 0 28px;
  color: #647078;
  font-size: 14px;
  line-height: 1.7;
}

.l9-home-ai-card-result {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--l9-home-ai-line);
  color: var(--l9-home-ai-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.l9-home-ai-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--l9-home-ai-line);
  background: var(--l9-home-ai-pale);
}

.l9-home-ai-final h3 {
  max-width: 900px;
  margin: 0 0 14px;
  color: var(--l9-home-ai-ink);
  font-size: clamp(25px, 2.7vw, 38px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.l9-home-ai-final p {
  max-width: 780px;
  margin: 0;
  color: #647078;
  font-size: 15px;
  line-height: 1.65;
}

.l9-home-ai-button-secondary {
  color: #fff !important;
  background: var(--l9-home-ai-ink);
}

.l9-home-ai-button-secondary:hover,
.l9-home-ai-button-secondary:focus-visible {
  color: var(--l9-home-ai-ink) !important;
  border-color: var(--l9-home-ai-ink);
  background: #fff;
}

@media (max-width: 991px) {
  .l9-home-hero-panel-ai {
    grid-template-columns: 1fr;
    gap: 34px;
    align-content: center;
    padding-top: 48px;
  }
  .l9-home-hero-ai-topics { max-width: 650px; }
  .l9-home-ai-grid { grid-template-columns: 1fr; }
  .l9-home-ai-card h3 { min-height: 0; }
  .l9-home-ai-final { grid-template-columns: 1fr; }
  .l9-home-ai-button-secondary { justify-self: start; }
}

@media (max-width: 767px) {
  .l9-home-ai-section { padding: 42px 0 48px; }
  .l9-home-hero-panel-ai { width: calc(100% - 40px); min-height: 0; padding-top: 42px; padding-bottom: 94px; }
  .l9-home-hero-panel-ai::after { right: -12px; bottom: -34px; font-size: 190px; }
  .l9-home-hero-ai-copy :is(h1, h2) { font-size: clamp(38px, 11vw, 50px); }
  .l9-home-hero-ai-subtitle { font-size: clamp(23px, 7vw, 29px); }
  .l9-home-hero-ai-copy > p:not(.l9-home-hero-ai-label):not(.l9-home-hero-ai-subtitle) { font-size: 14px; }
  .l9-home-hero-ai-button { width: 100%; }
  .l9-home-hero-ai-topics > div { padding: 18px 19px; }
  .l9-home-hero-switcher {
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .l9-home-hero-switcher button { padding-inline: 5px; font-size: 9px; letter-spacing: .035em; }
  .l9-home-ai-button { width: 100%; }
  .l9-home-ai-heading { margin-bottom: 36px; }
  .l9-home-ai-card { padding: 28px 24px; }
  .l9-home-ai-final { padding: 34px 25px; }
  .l9-home-ai-button-secondary { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .l9-home-ai-button,
  .l9-home-hero-ai-button { transition: none; }
}

/* Full-bleed video hero: isolated from the inherited parallax positioning. */
.l9-home-hero h1.l9-home-hero-heading { position: absolute; top: 26px; left: max(24px,calc((100% - 1280px) / 2)); right: 24px; z-index: 3; margin: 0; color: #a1ebcf; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body .elementor .elementor-section.l9-home-hero-video {
  display: block;
  isolation: isolate;
  overflow: hidden;
  width: var(--l9-viewport-width, 100vw);
  max-width: none;
  min-height: calc(100svh - 100px);
  margin: 0 calc((100% - var(--l9-viewport-width, 100vw)) / 2);
  padding: 0 !important;
  background: #10243b;
}

.l9-home-hero-video .l9-home-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #10243b;
}

.l9-home-hero-video .l9-home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 17, 28, .84), rgba(5, 17, 28, .52) 65%, rgba(5, 17, 28, .4));
}

.l9-home-hero-video .l9-home-hero-background-video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.l9-home-hero-video .l9-home-hero-stage {
  position: relative;
  inset: auto;
  width: min(1420px, calc(100% - 112px));
  min-height: calc(100svh - 100px);
  margin: 0 auto;
  padding: 0;
}

.l9-home-hero-video .l9-home-hero-stage > .l9-home-hero-panel {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 100px);
  margin: 0;
  padding: clamp(74px, 9vh, 120px) 0 120px;
  transform: none;
}

.l9-home-hero-video .l9-home-hero-panel-ai {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(40px, 6vw, 100px);
}

.l9-home-hero-video .l9-home-hero-ai-copy,
.l9-home-hero-video .l9-home-hero-ai-topics { transform: none; }
.l9-home-hero-video .l9-home-hero-panel-ai::after { display: none; }
.l9-home-hero-video .l9-home-hero-ai-copy { max-width: 900px; }
.l9-home-hero-video .l9-home-hero-ai-copy :is(h1, h2) {
  max-width: 880px;
  font-size: clamp(46px, 4.7vw, 76px);
  line-height: 1.04;
  text-wrap: balance;
}
.l9-home-hero-video .l9-home-hero-ai-subtitle {
  margin: 24px 0;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.35;
}
.l9-home-hero-video .l9-home-hero-ai-topics { background: rgba(10, 26, 37, .38); }
.l9-home-hero-video .l9-home-hero-switcher { bottom: 30px; }

.l9-home-hero-motion {
  position: absolute;
  left: max(56px, calc((100% - 1420px) / 2));
  bottom: 32px;
  z-index: 4;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(10, 26, 37, .5);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.l9-home-hero-motion:focus-visible { outline: 3px solid #8ff1c5; outline-offset: 3px; }

@media (max-width: 991px) {
  body .elementor .elementor-section.l9-home-hero-video,
  .l9-home-hero-video .l9-home-hero-stage,
  .l9-home-hero-video .l9-home-hero-stage > .l9-home-hero-panel { min-height: calc(100svh - 67px); }
  .l9-home-hero-video .l9-home-hero-stage { width: calc(100% - 48px); }
  .l9-home-hero-video .l9-home-hero-stage > .l9-home-hero-panel { padding: 92px 0 166px; }
  .l9-home-hero-video .l9-home-hero-panel-ai { grid-template-columns: 1fr; gap: 34px; }
  .l9-home-hero-video .l9-home-hero-ai-copy :is(h1, h2) { font-size: clamp(39px, 7.5vw, 64px); }
  .l9-home-hero-video .l9-home-hero-ai-subtitle { font-size: 21px; margin: 20px 0; }
  .l9-home-hero-video .l9-home-hero-ai-topics { max-width: none; }
  .l9-home-hero-video .l9-home-hero-ai-topics > div { padding: 17px 19px; }
  .l9-home-hero-video .l9-home-hero-switcher { left: 24px; right: 24px; bottom: 24px; }
  .l9-home-hero-video .l9-home-hero-switcher button { min-height: 44px; }
  .l9-home-hero-motion { left: 24px; bottom: 94px; }
}

@media (max-width: 360px) {
  .l9-home-hero-video .l9-home-hero-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l9-home-hero-video .l9-home-hero-switcher button:last-child { grid-column: 1 / -1; }
  .l9-home-hero-video .l9-home-hero-motion { bottom: 144px; }
  .l9-home-hero-video .l9-home-hero-stage > .l9-home-hero-panel { padding-bottom: 220px; }
}
