.ai-page {
  overflow: hidden;
  background: var(--off);
}

.ai-hero {
  position: relative;
  padding: clamp(64px, 8vw, 116px) 0 76px;
  background:
    radial-gradient(ellipse at 82% 42%, rgba(0, 201, 198, .12), transparent 35%),
    linear-gradient(112deg, #f7f9fc 4%, #fff 58%, #eef5f7);
}

.ai-hero-grid,
.ai-service-grid,
.ai-final-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
}

.ai-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.ai-page .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #167b82;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ai-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow: 0 0 0 5px rgba(0, 201, 198, .12);
}

.ai-hero h1 {
  margin: 18px 0 22px;
  color: var(--navy);
  font-size: clamp(42px, 5.5vw, 74px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.04;
}

.ai-hero h1 span,
.ai-section-heading h2 span,
.ai-service-copy h2 span,
.ai-strategy h2 span,
.ai-final-copy h2 span {
  color: #06aaa9;
}

.ai-lead {
  max-width: 560px;
  margin: 0;
  color: #4e5c70;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.85;
}

.ai-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ai-hero-actions .button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ai-hero-actions .button-primary,
.ai-lead-form .button-primary {
  color: var(--navy);
}

.ai-button-outline {
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  color: var(--navy);
  background: rgba(255, 255, 255, .64);
}

.ai-button-outline:hover {
  border-color: var(--turquoise);
  background: #fff;
}

.ai-trust-line {
  margin: 22px 0 0;
  color: #647089;
  font-size: 12px;
  font-weight: 700;
}

.ai-trust-line i {
  margin-inline: 5px;
  color: var(--turquoise);
  font-style: normal;
}

.ai-hero-art {
  position: relative;
  min-height: 480px;
  isolation: isolate;
}

.ai-art-orbit {
  position: absolute;
  z-index: -1;
  inset: 10% 9% 12%;
  border: 1px solid rgba(6, 26, 68, .08);
  border-radius: 48%;
  transform: rotate(-18deg);
}

.ai-art-orbit::before,
.ai-art-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(0, 201, 198, .2);
  border-radius: 50%;
}

.ai-art-orbit::before {
  inset: 12% -8%;
  transform: rotate(30deg);
}

.ai-art-orbit::after {
  inset: -8% 20%;
}

.ai-video-window {
  position: absolute;
  top: 8%;
  left: 5%;
  width: min(88%, 510px);
  aspect-ratio: 1.55;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 28px 80px rgba(6, 26, 68, .2);
  transform: rotate(-5deg);
}

.ai-video-window::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 18, 47, .08) 20%, rgba(3, 18, 47, .5));
  pointer-events: none;
}

.ai-video-window > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-portfolio-main::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 18, 47, .08) 20%, rgba(3, 18, 47, .75));
  pointer-events: none;
}

.ai-portfolio-main::after {
  z-index: 0;
  background: linear-gradient(180deg, rgba(3, 18, 47, .02), rgba(3, 18, 47, .58));
}

.ai-portfolio-main > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-video-tag,
.ai-video-caption,
.ai-play-mark {
  position: absolute;
  z-index: 1;
  color: #fff;
}

.ai-video-tag {
  top: 16px;
  left: 16px;
  padding: 7px 9px;
  background: rgba(3, 18, 47, .66);
  color: #90f3e9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ai-play-mark {
  top: 50%;
  left: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  padding-left: 3px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(3, 18, 47, .28);
  transform: translate(-50%, -50%);
}

.ai-video-caption {
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.ai-video-caption b {
  color: #b8f7ef;
  font-size: 8px;
  letter-spacing: .1em;
}

.ai-window-bar {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
}

.ai-window-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d6dce5;
}

.ai-window-bar i:first-child {
  background: var(--turquoise);
}

.ai-window-bar span {
  margin-inline-start: auto;
  color: #8090a5;
  font-size: 8px;
}

.ai-art-note {
  position: absolute;
  right: 8%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5b6b80;
  font-size: 10px;
  font-weight: 700;
}

.ai-art-note span {
  color: #08a9a7;
}

.ai-art-note i {
  width: 24px;
  height: 1px;
  background: #a6b4c4;
}

.ai-proof-strip {
  border-block: 1px solid #e3e9ee;
  background: #fff;
}

.ai-proof-strip .section-shell {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #4c5c71;
  font-size: 12px;
  font-weight: 700;
}

.ai-proof-strip i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--turquoise);
}

.ai-section {
  padding: clamp(76px, 9vw, 124px) 0;
}

.ai-section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}

.ai-section-heading h2,
.ai-service-copy h2,
.ai-strategy h2,
.ai-final-copy h2 {
  margin: 12px 0 16px;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.1;
}

.ai-section-heading > p:last-child,
.ai-service-copy > p:not(.eyebrow),
.ai-strategy-intro > p:last-child,
.ai-final-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: #59687d;
  line-height: 1.85;
}

.ai-pain {
  background: var(--off);
}

.ai-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d9e1e9;
  border-bottom: 1px solid #d9e1e9;
}

.ai-pain-grid article {
  min-height: 206px;
  padding: 26px 28px 28px 0;
}

.ai-pain-grid article + article {
  padding-inline-start: 28px;
  border-inline-start: 1px solid #d9e1e9;
}

.ai-index,
.ai-process-grid article > span {
  color: #089e9d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ai-pain-grid h3,
.ai-process-grid h3 {
  margin: 20px 0 8px;
  color: var(--navy);
  font-size: 21px;
}

.ai-pain-grid p,
.ai-process-grid p {
  max-width: 320px;
  margin: 0;
  color: #667489;
  font-size: 14px;
  line-height: 1.8;
}

.ai-transition {
  max-width: 830px;
  margin: 34px 0 0;
  color: var(--navy);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.75;
}

.ai-service-section {
  background: #fff;
}

.ai-service-grid {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.ai-service-copy {
  max-width: 600px;
}

.ai-service-copy h2 {
  margin-top: 16px;
}

.ai-service-copy > p:not(.eyebrow) {
  margin-bottom: 18px;
}

.ai-service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.ai-service-list li {
  position: relative;
  padding-inline-start: 19px;
  color: #273750;
  font-size: 13px;
  font-weight: 700;
}

.ai-service-list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquoise);
  content: "";
}

.ai-benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ai-benefit-row span {
  padding: 7px 10px;
  border: 1px solid #e1e8ee;
  border-radius: 3px;
  color: #657287;
  font-size: 10px;
  font-weight: 700;
}

.ai-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.ai-text-link span {
  color: #079f9d;
}

.ai-text-link:hover {
  color: #078e8b;
}

.ai-portfolio {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.ai-portfolio-main {
  position: relative;
  min-height: 375px;
  overflow: hidden;
  background: var(--navy);
}

.ai-portfolio-main > * {
  position: absolute;
  z-index: 1;
}

.ai-portfolio-chip {
  top: 18px;
  inset-inline-start: 18px;
  padding: 7px 9px;
  background: var(--turquoise);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
}

.ai-portfolio-main > b {
  bottom: 24px;
  inset-inline-start: 22px;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.1;
}

.ai-portfolio-play {
  top: 50%;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  padding-inline-start: 3px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #fff;
  transform: translate(-50%, -50%);
}

.ai-portfolio-side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ai-reel-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  background: var(--navy);
  color: #fff;
}

.ai-reel-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 18, 47, .06), rgba(3, 18, 47, .82));
  pointer-events: none;
}

.ai-reel-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-reel-card > :not(img) {
  position: relative;
  z-index: 1;
}

.ai-reel-card > span {
  color: #9de9e5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}

.ai-reel-card > b {
  font-size: 15px;
  line-height: 1.2;
}

.ai-reel-card > i {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  color: var(--turquoise);
  font-style: normal;
}

.ai-portfolio > p {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #69788d;
  font-size: 11px;
  font-weight: 700;
}

.ai-portfolio > p span {
  color: #8a97a8;
  font-size: 9px;
  letter-spacing: .08em;
}

.ai-web-section {
  background: #f0f4f7;
}

.ai-web-visual {
  position: relative;
  padding: 22px 14px 40px;
}

.ai-browser-card {
  overflow: hidden;
  border: 1px solid #dce4ea;
  border-radius: 6px;
  background: white;
  box-shadow: 0 28px 65px rgba(6, 26, 68, .13);
  transform: rotate(-2deg);
}

.ai-browser-card .ai-window-bar {
  height: 38px;
  padding-inline: 15px;
}

.ai-browser-content {
  padding: 20px 26px 0;
  background: linear-gradient(135deg, #f9fbfc, #e6f5f4);
}

.ai-browser-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #69778b;
  font-size: 8px;
}

.ai-browser-nav b {
  color: var(--navy);
  font-size: 9px;
}

.ai-browser-preview {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}

.ai-speed-note {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  border: 1px solid #dce4ea;
  background: #fff;
  color: #5f6d80;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(6, 26, 68, .09);
}

.ai-speed-note b {
  margin-inline-end: 8px;
  color: #078f8c;
}

.ai-strategy {
  padding: clamp(72px, 9vw, 116px) 0;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(0, 201, 198, .15), transparent 35%),
    var(--deep);
  color: #fff;
}

.ai-strategy-intro {
  max-width: 720px;
}

.ai-strategy .eyebrow {
  color: #75ddd5;
}

.ai-strategy h2,
.ai-final-copy h2 {
  color: #fff;
}

.ai-strategy-intro > p:last-child {
  color: #b6c4d7;
}

.ai-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.ai-capabilities span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e4edf6;
  font-size: 12px;
  font-weight: 700;
}

.ai-capabilities span:first-child {
  border-color: rgba(0, 201, 198, .55);
  color: #8be7dd;
}

.ai-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.ai-flow span {
  color: #fff;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
}

.ai-flow i {
  color: var(--turquoise);
  font-style: normal;
}

.ai-use-cases {
  background: #fff;
}

.ai-use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dce4ea;
  border-inline-start: 1px solid #dce4ea;
}

.ai-use-grid article {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-inline-end: 1px solid #dce4ea;
  border-bottom: 1px solid #dce4ea;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, color .2s;
}

.ai-use-grid article:hover {
  background: var(--navy);
  color: #fff;
}

.ai-use-grid article span {
  color: #169d9b;
  font-size: 10px;
}

.ai-process {
  padding: clamp(76px, 9vw, 118px) 0;
  background: #f0f4f7;
}

.ai-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #d5dee7;
}

.ai-process-grid article {
  padding: 24px 20px 0 0;
}

.ai-process-grid article + article {
  padding-inline-start: 20px;
  border-inline-start: 1px solid #d5dee7;
}

.ai-process-grid h3 {
  margin-top: 18px;
  font-size: 17px;
}

.ai-process-grid p {
  font-size: 12px;
}

.ai-final-cta {
  padding: clamp(68px, 8vw, 100px) 0;
  background: var(--navy);
}

.ai-final-grid {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}

.ai-final-copy {
  position: sticky;
  top: 120px;
  padding-top: 18px;
}

.ai-final-copy .eyebrow {
  color: #88e7de;
}

.ai-final-copy h2 {
  font-size: clamp(38px, 4.4vw, 58px);
}

.ai-final-copy > p:not(.eyebrow) {
  color: #d2dbea;
}

.ai-final-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ai-final-whatsapp span {
  color: var(--turquoise);
}

.ai-lead-form {
  padding: clamp(22px, 3vw, 38px);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .18);
}

.ai-lead-form h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 2.4vw, 31px);
  letter-spacing: -.03em;
}

.ai-lead-form > p {
  margin: 0;
  font-size: 13px;
}

.ai-form-fields {
  gap: 15px;
  margin-top: 20px;
}

.ai-form-fields label {
  font-size: 12px;
}

.ai-form-fields input,
.ai-form-fields select,
.ai-form-fields textarea {
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 4px;
  font-size: 13px;
}

.ai-form-fields textarea {
  min-height: 82px;
}

.ai-lead-form > .button {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  border: 0;
  border-radius: 4px;
  background: var(--turquoise);
  color: var(--navy);
  font-size: 14px;
  transition: background .2s, transform .2s;
}

.ai-lead-form > .button:hover {
  background: #39ddd4;
  transform: translateY(-1px);
}

.ai-lead-form > .ai-form-note {
  margin: 12px 0 0;
  color: #748197;
  font-size: 10px;
  text-align: center;
}

html[lang="ar"] .ai-page {
  direction: rtl;
}

html[lang="ar"] .ai-page :is(h1, h2, h3, p, a, button, label, span, strong) {
  letter-spacing: normal;
}

html[lang="ar"] .ai-page h1 {
  line-height: 1.35;
}

html[lang="ar"] .ai-hero h1 {
  font-size: clamp(35px, 4.9vw, 62px);
}

html[lang="ar"] .ai-proof-strip .section-shell {
  flex-direction: row;
}

html[lang="ar"] .ai-video-tag {
  left: auto;
  right: 16px;
}

html[lang="ar"] .ai-final-copy {
  text-align: right;
}

html[lang="ar"] .ai-flow {
  direction: rtl;
}

html[lang="ar"] .ai-browser-nav,
html[lang="ar"] .ai-window-bar span {
  direction: rtl;
}

@media (max-width: 900px) {
  .ai-hero-grid,
  .ai-service-grid,
  .ai-final-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ai-hero-copy,
  .ai-section-heading,
  .ai-service-copy,
  .ai-strategy-intro,
  .ai-final-copy {
    max-width: 720px;
  }

  .ai-hero-art {
    width: min(100%, 620px);
    min-height: 440px;
    margin-inline: auto;
  }

  .ai-pain-grid article {
    padding-inline-end: 18px;
  }

  .ai-pain-grid article + article {
    padding-inline-start: 18px;
  }

  .ai-final-copy {
    position: static;
  }

  .ai-flow {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .ai-hero {
    padding: 56px 0 54px;
  }

  .ai-hero h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .ai-hero-art {
    min-height: 350px;
  }

  .ai-video-window {
    top: 8%;
    left: 2%;
    width: 93%;
    border-width: 5px;
    transform: rotate(-3deg);
  }

  .ai-art-note {
    right: 2%;
    font-size: 8px;
  }

  .ai-proof-strip .section-shell {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-block: 16px;
    font-size: 10px;
  }

  .ai-proof-strip i {
    width: 4px;
    height: 4px;
    flex-basis: 4px;
  }

  .ai-section-heading {
    margin-bottom: 30px;
  }

  .ai-pain-grid {
    grid-template-columns: 1fr;
  }

  .ai-pain-grid article,
  .ai-pain-grid article + article {
    min-height: 0;
    padding: 20px 0;
    border-inline-start: 0;
  }

  .ai-pain-grid article + article {
    border-top: 1px solid #d9e1e9;
  }

  .ai-pain-grid h3 {
    margin-top: 10px;
  }

  .ai-service-list {
    grid-template-columns: 1fr;
  }

  .ai-portfolio {
    grid-template-columns: 1fr;
  }

  .ai-portfolio-main {
    min-height: 300px;
  }

  .ai-portfolio-side {
    grid-template-columns: 1fr 1fr;
  }

  .ai-reel-card {
    min-height: 140px;
    padding: 13px;
  }

  .ai-web-visual {
    padding-inline: 0;
  }

  .ai-browser-content {
    padding-inline: 15px;
  }

  .ai-browser-preview {
    margin-top: 10px;
  }

  .ai-browser-nav span {
    font-size: 7px;
  }

  .ai-speed-note {
    inset-inline-end: 0;
  }

  .ai-flow {
    gap: 10px;
    margin-top: 36px;
  }

  .ai-flow span {
    font-size: 11px;
  }

  .ai-capabilities {
    gap: 7px;
  }

  .ai-capabilities span {
    padding: 8px 9px;
    font-size: 10px;
  }

  .ai-use-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ai-use-grid article {
    min-height: 82px;
    padding: 13px;
    font-size: 12px;
  }

  .ai-process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 24px;
  }

  .ai-process-grid article {
    padding: 18px 12px 0 0;
  }

  .ai-process-grid article + article {
    padding-inline-start: 12px;
  }

  .ai-process-grid article:nth-child(3) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .ai-form-fields {
    grid-template-columns: 1fr;
  }

  .ai-form-fields .field-wide {
    grid-column: auto;
  }

  .ai-lead-form {
    padding: 22px 18px;
  }

  .ai-hero-actions {
    align-items: stretch;
  }

  .ai-hero-actions .button {
    flex: 1 1 190px;
  }

  html[lang="ar"] .ai-hero h1 {
    font-size: clamp(32px, 9.7vw, 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-use-grid article,
  .ai-lead-form > .button {
    transition: none;
  }
}

.ai-hero {
  overflow: hidden;
  padding: clamp(56px, 6.6vw, 92px) 0 clamp(62px, 7vw, 96px);
  background:
    radial-gradient(ellipse at 79% 48%, rgba(0, 201, 198, .13), transparent 34%),
    linear-gradient(112deg, #020f2e 0%, #061a44 56%, #082553 100%);
  color: #fff;
}

.ai-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  content: "";
  background: url("/assets/images/backgrounds/hero-particle-wave.svg") center bottom / 100% 100% no-repeat;
  opacity: .35;
  pointer-events: none;
}

.ai-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  min-height: 535px;
}

.ai-hero-copy {
  max-width: 590px;
}

.ai-hero .eyebrow {
  margin-bottom: 20px;
  color: #78e1da;
  letter-spacing: .16em;
}

.ai-pulse {
  box-shadow: 0 0 0 5px rgba(0, 201, 198, .16), 0 0 20px rgba(0, 201, 198, .75);
}

.ai-hero h1 {
  margin: 0 0 23px;
  color: #fff;
  font-size: clamp(44px, 5.1vw, 70px);
  letter-spacing: -.065em;
  line-height: 1.04;
}

.ai-hero h1 span {
  color: var(--turquoise);
}

.ai-lead {
  max-width: 530px;
  color: #c4d1e4;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.85;
}

.ai-hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.ai-hero-actions .button {
  min-height: 54px;
  padding-inline: 21px;
  border-radius: 3px;
  font-size: 13px;
}

.ai-hero-actions .button-primary {
  border-color: var(--turquoise);
  background: var(--turquoise);
  color: var(--navy);
}

.ai-hero-actions .button-primary:hover {
  border-color: #46ded7;
  background: #46ded7;
}

.ai-button-outline {
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .035);
  color: #fff;
}

.ai-button-outline:hover {
  border-color: var(--turquoise);
  background: rgba(0, 201, 198, .08);
  color: #fff;
}

.ai-trust-line {
  margin-top: 24px;
  color: #aabbd2;
  font-size: 11px;
  letter-spacing: .015em;
}

.ai-hero-art {
  min-height: 460px;
}

.ai-art-orbit {
  inset: 6% 5% 8%;
  border-color: rgba(150, 180, 215, .13);
}

.ai-art-orbit::before,
.ai-art-orbit::after {
  border-color: rgba(0, 201, 198, .17);
}

.ai-video-window {
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 1.48;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4), 0 0 0 8px rgba(255, 255, 255, .035);
  transform: translateY(-50%);
}

.ai-video-window::after {
  background: linear-gradient(180deg, rgba(3, 18, 47, .02) 28%, rgba(3, 18, 47, .62));
}

.ai-video-window > img {
  object-position: center;
}

.ai-video-tag {
  top: 18px;
  left: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(144, 243, 233, .28);
  background: rgba(3, 18, 47, .76);
}

.ai-play-mark {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 255, 255, .85);
  background: rgba(3, 18, 47, .34);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
}

.ai-video-caption {
  right: 20px;
  bottom: 20px;
  left: 20px;
}

.ai-art-note {
  right: 0;
  bottom: 1%;
  color: #bdcbe0;
  font-size: 10px;
}

.ai-art-note span {
  color: var(--turquoise);
}

.ai-art-note i {
  background: rgba(189, 203, 224, .5);
}

.ai-proof-strip {
  border-color: #dce4ec;
  background: #fff;
}

.ai-proof-strip .section-shell {
  min-height: 76px;
  color: #35445b;
  font-size: 11px;
  letter-spacing: .025em;
}

.ai-section {
  padding: clamp(76px, 8vw, 108px) 0;
}

.ai-pain,
.ai-process {
  background: #f2f5f8;
}

.ai-section-heading {
  margin-bottom: 38px;
}

.ai-section-heading h2,
.ai-service-copy h2,
.ai-strategy h2,
.ai-final-copy h2 {
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.1;
}

.ai-section-heading h2 span,
.ai-service-copy h2 span {
  color: #08aaa7;
}

.ai-pain-grid {
  border-color: #d4dee8;
}

.ai-pain-grid article {
  min-height: 190px;
  padding-top: 28px;
}

.ai-pain-grid article + article {
  border-color: #d4dee8;
}

.ai-service-grid {
  gap: clamp(42px, 6vw, 84px);
}

.ai-video-section {
  background: #fff;
}

.ai-web-section {
  background: #f0f4f7;
}

.ai-portfolio {
  grid-template-columns: minmax(0, 1.22fr) minmax(150px, .78fr);
  gap: 14px;
}

.ai-portfolio-main {
  min-height: 410px;
  border-radius: 3px;
  box-shadow: 0 22px 50px rgba(6, 26, 68, .15);
}

.ai-portfolio-side {
  gap: 14px;
}

.ai-reel-card {
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(6, 26, 68, .12);
}

.ai-reel-card > img {
  transition: transform .45s ease;
}

.ai-reel-card:hover > img,
.ai-portfolio-main:hover > img {
  transform: scale(1.035);
}

.ai-portfolio-main > img {
  transition: transform .45s ease;
}

.ai-portfolio > p {
  padding-top: 2px;
  color: #58677d;
  letter-spacing: .015em;
}

.ai-browser-card {
  border-radius: 3px;
  box-shadow: 0 30px 70px rgba(6, 26, 68, .18);
  transform: rotate(-1.2deg);
}

.ai-speed-note {
  right: -4px;
  bottom: 2px;
  padding: 14px 18px;
}

.ai-strategy {
  background:
    radial-gradient(ellipse at 82% 8%, rgba(0, 201, 198, .12), transparent 34%),
    linear-gradient(112deg, #020f2e 0%, #061a44 60%, #082553 100%);
}

.ai-capabilities span {
  border-color: rgba(255, 255, 255, .2);
}

.ai-use-cases {
  background: #fff;
}

.ai-use-grid {
  border-color: #d7e0e9;
}

.ai-use-grid article {
  min-height: 100px;
  padding: 20px;
  border-color: #d7e0e9;
  transition: background .2s, color .2s, padding .2s;
}

.ai-use-grid article:hover {
  padding-inline: 24px 16px;
  background: var(--navy);
}

.ai-process-grid {
  border-color: #d5dee7;
}

.ai-process-grid article + article {
  border-color: #d5dee7;
}

.ai-final-cta {
  background:
    radial-gradient(ellipse at 12% 88%, rgba(0, 201, 198, .11), transparent 34%),
    linear-gradient(112deg, #020f2e 0%, #061a44 62%, #082553 100%);
}

.ai-lead-form {
  border-radius: 4px;
}

html[lang="ar"] .ai-hero h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.32;
}

html[lang="ar"] .ai-video-window {
  left: auto;
  right: 0;
}

html[lang="ar"] .ai-art-note {
  right: auto;
  left: 0;
}

html[lang="ar"] .ai-video-tag {
  left: auto;
  right: 18px;
}

@media (max-width: 900px) {
  .ai-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }

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

  .ai-hero-art {
    width: min(100%, 720px);
    min-height: 430px;
    margin-inline: auto;
  }

  .ai-video-window {
    width: 96%;
  }

  .ai-portfolio-main {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .ai-hero {
    padding: 42px 0 48px;
  }

  .ai-hero h1 {
    font-size: clamp(39px, 11vw, 56px);
    line-height: 1.06;
  }

  .ai-hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .ai-hero-actions .button {
    min-width: 0;
    flex: 1 1 145px;
    padding-inline: 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .ai-hero-art {
    min-height: 265px;
  }

  .ai-video-window {
    top: 48%;
    left: 0;
    width: 100%;
    aspect-ratio: 1.38;
    border-width: 1px;
    transform: translateY(-50%);
  }

  .ai-video-tag {
    top: 10px;
    left: 10px;
    font-size: 8px;
  }

  .ai-video-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 10px;
  }

  .ai-video-caption b {
    font-size: 7px;
  }

  .ai-play-mark {
    width: 44px;
    height: 44px;
  }

  .ai-art-note {
    right: 0;
    bottom: 0;
    font-size: 8px;
  }

  .ai-proof-strip .section-shell {
    gap: 9px;
  }

  .ai-section {
    padding: 66px 0;
  }

  .ai-section-heading h2,
  .ai-service-copy h2,
  .ai-strategy h2,
  .ai-final-copy h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .ai-portfolio {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ai-portfolio-main {
    min-height: 270px;
  }

  .ai-portfolio-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .ai-reel-card {
    min-height: 126px;
    padding: 10px;
  }

  .ai-reel-card > span {
    font-size: 7px;
  }

  .ai-reel-card > b {
    font-size: 11px;
  }

  .ai-reel-card > i {
    top: 8px;
    inset-inline-end: 8px;
  }

  .ai-speed-note {
    right: 0;
    bottom: 0;
  }

  html[lang="ar"] .ai-hero h1 {
    font-size: clamp(34px, 9.1vw, 44px);
    line-height: 1.35;
  }

  html[lang="ar"] .ai-video-tag {
    right: 10px;
  }

  html[lang="ar"] .ai-art-note {
    right: auto;
    left: 0;
  }
}

.ai-hero-actions .button,
.ai-text-link,
.ai-final-whatsapp,
.ai-benefit-row span {
  transition:
    color .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease;
}

.ai-hero-actions .button:hover,
.ai-lead-form > .button:hover {
  transform: translateY(-2px);
}

.ai-text-link:hover,
.ai-final-whatsapp:hover {
  transform: translateX(3px);
}

html[lang="ar"] .ai-text-link:hover,
html[lang="ar"] .ai-final-whatsapp:hover {
  transform: translateX(-3px);
}

.ai-benefit-row span:hover {
  border-color: rgba(0, 201, 198, .6);
  background: rgba(0, 201, 198, .08);
  color: var(--navy);
}

@keyframes ai-pulse-breathe {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(0, 201, 198, .13), 0 0 12px rgba(0, 201, 198, .3);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 201, 198, .08), 0 0 19px rgba(0, 201, 198, .5);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ai-pulse {
    animation: ai-pulse-breathe 4s ease-in-out infinite;
  }
}

html body .ai-page .reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

html body .ai-page .reveal.is-visible {
  animation: reveal .56s cubic-bezier(.22, .8, .3, 1) var(--reveal-delay, 0ms) both;
}

@media (prefers-reduced-motion: reduce) {
  html body .ai-page .reveal,
  html body .ai-page .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ai-hero-actions .button,
  .ai-text-link,
  .ai-final-whatsapp,
  .ai-benefit-row span {
    transition: none;
  }

  .ai-reel-card > img,
  .ai-portfolio-main > img,
  .ai-use-grid article {
    transition: none;
  }
}

.ai-use-cases {
  background:
    radial-gradient(ellipse at 8% 6%, rgba(0, 201, 198, .055), transparent 34%),
    #f3f6f9;
}

.ai-use-cases .ai-section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.ai-use-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  border: 0;
}

.ai-use-grid article {
  position: relative;
  display: flex;
  flex: 0 0 calc((100% - 36px) / 4);
  min-height: 116px;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #e0e7ee;
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  transition: border-color .2s, background .2s, color .2s, transform .2s, box-shadow .2s;
}

.ai-use-grid article::before {
  position: absolute;
  inset: auto auto 0 0;
  width: 32px;
  height: 3px;
  content: "";
  background: var(--turquoise);
  transition: width .2s;
}

.ai-use-grid article span {
  position: absolute;
  top: 17px;
  inset-inline-end: 18px;
  color: #079e9c;
  font-size: 10px;
  letter-spacing: .08em;
}

.ai-use-grid article:hover {
  z-index: 1;
  padding-inline: 20px;
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 30px rgba(6, 26, 68, .12);
  transform: translateY(-3px);
}

.ai-use-grid article:hover::before {
  width: 100%;
}

html[lang="ar"] .ai-use-grid article::before {
  right: 0;
  left: auto;
}

@media (max-width: 900px) {
  .ai-use-grid article {
    flex-basis: calc((100% - 24px) / 3);
  }
}

@media (max-width: 640px) {
  .ai-use-cases .ai-section-heading {
    margin-bottom: 26px;
  }

  .ai-use-grid {
    gap: 9px;
  }

  .ai-use-grid article {
    flex-basis: calc((100% - 9px) / 2);
    min-height: 92px;
    padding: 15px;
    font-size: 12px;
  }

  .ai-use-grid article:hover {
    padding-inline: 15px;
  }

  .ai-use-grid article span {
    top: 12px;
    inset-inline-end: 13px;
    font-size: 9px;
  }
}

.ai-proof-strip {
  overflow: hidden;
}

.ai-proof-strip .ai-proof-track {
  display: flex;
  width: max-content;
  min-height: 76px;
  align-items: center;
}

.ai-proof-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding-inline: clamp(18px, 3vw, 42px);
  color: #35445b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
  white-space: nowrap;
}

.ai-proof-group i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--turquoise);
}

.ai-proof-group[aria-hidden="true"] {
  user-select: none;
}

@keyframes ai-proof-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes ai-hero-orbit {
  to {
    transform: rotate(342deg);
  }
}

@keyframes ai-hero-image-drift {
  from {
    transform: scale(1.015);
  }
  to {
    transform: scale(1.045);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ai-proof-track {
    animation: ai-proof-marquee 42s linear infinite;
    will-change: transform;
  }

  .ai-proof-strip:hover .ai-proof-track {
    animation-play-state: paused;
  }

  .ai-art-orbit {
    animation: ai-hero-orbit 72s linear infinite;
    transform-origin: center;
  }

  .ai-video-window > img {
    animation: ai-hero-image-drift 18s ease-in-out infinite alternate;
    will-change: transform;
  }
}

@media (max-width: 640px) {
  .ai-hero {
    padding: 32px 0 34px;
  }

  .ai-hero h1 {
    margin: 12px 0 15px;
    font-size: clamp(35px, 10vw, 42px);
    line-height: 1.08;
    letter-spacing: -.055em;
  }

  .ai-hero .eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: .12em;
  }

  .ai-lead {
    max-width: 36rem;
    font-size: 14px;
    line-height: 1.72;
  }

  .ai-hero-actions {
    gap: 9px;
    margin-top: 20px;
  }

  .ai-hero-actions .button {
    min-height: 48px;
    flex-basis: 140px;
    font-size: 11px;
  }

  .ai-trust-line {
    margin-top: 15px;
    font-size: 10px;
    line-height: 1.8;
  }

  .ai-hero-art {
    min-height: 225px;
  }

  .ai-video-window {
    aspect-ratio: 1.48;
  }

  .ai-proof-strip .ai-proof-track {
    min-height: 60px;
  }

  .ai-proof-group {
    gap: 15px;
    padding-inline: 15px;
    font-size: 10px;
  }

  .ai-portfolio-main {
    min-height: clamp(210px, 62vw, 260px);
  }

  .ai-portfolio-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-reel-card {
    min-height: 112px;
    padding: 11px;
  }

  .ai-reel-card:last-child {
    grid-column: 1 / -1;
    min-height: 96px;
  }

  .ai-section {
    padding-block: 54px;
  }

  .ai-pain-grid article,
  .ai-pain-grid article + article {
    padding-block: 17px;
  }

  .ai-service-grid {
    gap: 30px;
  }

  .ai-process-grid {
    column-gap: 8px;
  }

  .ai-process-grid article,
  .ai-process-grid article + article {
    padding-inline: 10px;
  }

  .ai-process-grid article:nth-child(odd) {
    padding-inline-start: 0;
  }

  .ai-process-grid article:nth-child(even) {
    border-inline-start: 1px solid #d5dee7;
  }

  .ai-process-grid h3 {
    font-size: 14px;
    line-height: 1.45;
  }

  .ai-process-grid p {
    font-size: 11px;
  }

  .ai-final-grid {
    gap: 28px;
  }
}

html[lang="ar"] .ai-proof-track {
  direction: ltr;
}

html[lang="ar"] .ai-proof-group {
  direction: rtl;
}

@media (prefers-reduced-motion: reduce) {
  .ai-proof-track {
    width: 100%;
    animation: none;
    transform: none;
  }

  .ai-proof-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }

  .ai-proof-group[aria-hidden="true"] {
    display: none;
  }

  .ai-art-orbit,
  .ai-video-window > img {
    animation: none;
    will-change: auto;
  }
}

/* AI hero: spacious composition with a gentle, continuous image float. */
.ai-hero-refreshed {
  padding: clamp(44px, 5.5vw, 82px) 0 clamp(60px, 7vw, 104px);
}

.ai-hero-refreshed .ai-hero-grid {
  width: calc(100% - clamp(40px, 6vw, 112px));
  max-width: 1600px;
  min-height: 0;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(32px, 4vw, 64px);
}

.ai-hero-refreshed .ai-hero-copy {
  min-width: 0;
  max-width: 650px;
}

.ai-hero-refreshed h1 {
  font-size: clamp(40px, 4.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.ai-hero-refreshed .ai-lead {
  max-width: 560px;
  margin-top: 26px;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.8;
}

.ai-hero-refreshed .ai-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 550px;
  gap: 12px;
  margin-top: 30px;
}

.ai-hero-refreshed .ai-hero-actions .button {
  min-width: 0;
  min-height: 56px;
  padding-inline: 12px;
}

.ai-hero-refreshed .ai-hero-art {
  width: 100%;
  min-height: 0;
  --ai-float-distance: -12px;
}

.ai-hero-refreshed .ai-hero-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1448 / 1086;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 50px -26px rgba(0, 5, 22, .55);
}

@keyframes ai-services-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, var(--ai-float-distance), 0); }
}

@media (prefers-reduced-motion: no-preference) {
  .ai-hero-refreshed .ai-hero-visual {
    animation: ai-services-float 8s ease-in-out infinite;
  }
}

@media (max-width: 900px) {
  .ai-hero-refreshed .ai-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .ai-hero-refreshed h1 {
    font-size: clamp(30px, 8.5vw, 62px);
  }

  .ai-hero-refreshed .ai-hero-art {
    --ai-float-distance: -7px;
  }
}

@media (max-width: 640px) {
  .ai-hero-refreshed {
    padding-block: 36px 48px;
  }

  .ai-hero-refreshed .ai-hero-grid {
    width: calc(100% - 36px);
    gap: 30px;
  }

  .ai-hero-refreshed .ai-lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .ai-hero-refreshed .ai-hero-actions {
    gap: 9px;
    margin-top: 24px;
  }

  .ai-hero-refreshed .ai-hero-actions .button {
    min-height: 50px;
    padding-inline: 8px;
  }
}

@media (max-width: 360px) {
  .ai-hero-refreshed .ai-hero-actions {
    grid-template-columns: 1fr;
  }
}

/* Keep the creative gallery focused on the images. */
.ai-portfolio-clean {
  grid-template-rows: 1fr;
}

.ai-portfolio-clean .ai-portfolio-main::after,
.ai-portfolio-clean .ai-reel-card::after {
  content: none;
}

.ai-portfolio-clean .ai-portfolio-main,
.ai-web-visual-clean .ai-browser-card {
  border-radius: 8px;
  box-shadow: 0 20px 44px -16px rgba(6, 26, 68, .28),
              0 5px 14px -6px rgba(6, 26, 68, .12);
}

.ai-portfolio-clean .ai-reel-card {
  border-radius: 6px;
  box-shadow: 0 12px 26px -10px rgba(6, 26, 68, .25),
              0 3px 9px -4px rgba(6, 26, 68, .12);
}

.ai-web-visual-clean {
  padding-bottom: 22px;
}

/* Approved AI Videos assets: keep existing frames, show complete artwork. */
#ai-videos .ai-portfolio-main,
#ai-videos .ai-reel-card {
  background: #edf3fa;
  border-radius: 8px;
  box-shadow: 0 10px 26px -16px rgba(6, 26, 68, .22);
}

#ai-videos .ai-portfolio-main > img,
#ai-videos .ai-reel-card > img {
  object-fit: contain;
  object-position: center;
  transform: none;
}

/* Responsive audit: retain desktop composition and readable mobile content. */
.ai-services-page .ai-service-grid > *,
.ai-services-page .ai-final-grid > * {
  min-width: 0;
}

.ai-services-page .ai-form-fields input,
.ai-services-page .ai-form-fields select,
.ai-services-page .ai-form-fields textarea {
  min-width: 0;
  max-width: 100%;
  font-size: 16px;
}

.ai-services-page .ai-form-fields input,
.ai-services-page .ai-form-fields select {
  min-height: 48px;
}

.ai-commercial-note {
  max-width: 560px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-inline-start: 3px solid var(--turquoise, #00c9c6);
  border-radius: 8px;
  background: rgba(3, 18, 47, .58);
  color: #e4ecf7;
  font-size: .9rem;
  line-height: 1.75;
}

.ai-commercial-note strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
}

@media (max-width: 900px) {
  .ai-services-page .ai-service-grid,
  .ai-services-page .ai-final-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-services-page .ai-hero-art {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  #ai-videos .ai-portfolio-main {
    min-height: 0;
    aspect-ratio: 1122 / 1402;
    width: min(100%, 420px);
    justify-self: center;
  }

  #ai-videos .ai-portfolio-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 12px;
  }

  #ai-videos .ai-reel-card {
    min-height: 0;
    padding: 0;
    aspect-ratio: 1672 / 941;
  }

  #ai-videos .ai-reel-card:last-child {
    width: min(100%, 420px);
    justify-self: center;
  }

  .ai-services-page .ai-hero-actions .button {
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }

  .ai-services-page .ai-hero .eyebrow,
  .ai-services-page .ai-trust-line,
  .ai-services-page .ai-proof-group {
    font-size: 12px;
  }

  .ai-services-page .ai-benefit-row span,
  .ai-services-page .ai-capabilities span,
  .ai-services-page .ai-form-fields label {
    font-size: 13px;
  }

  .ai-services-page .ai-process-grid p {
    font-size: 14px;
    line-height: 1.75;
  }

  .ai-services-page .ai-process-grid h3 {
    font-size: 17px;
  }

  .ai-services-page .ai-text-link,
  .ai-services-page .ai-final-whatsapp {
    min-height: 44px;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .ai-services-page .ai-process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ai-services-page .ai-process-grid article {
    padding: 18px 0 0;
    border-inline-start: 0;
  }
}

/* Simplified AI Videos: two distinct examples, no benefit badges. */
#ai-videos {
  padding-block: clamp(40px, 5vw, 72px);
}

#ai-videos .ai-service-grid {
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

#ai-videos .ai-service-copy > p:not(.eyebrow) {
  max-width: 540px;
  line-height: 1.75;
}

#ai-videos .ai-service-list {
  margin-block: 24px;
  gap: 12px 20px;
}

#ai-videos .ai-service-list li {
  font-weight: 600;
  line-height: 1.6;
}

#ai-videos .ai-video-gallery {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  max-width: 600px;
  justify-self: center;
}

#ai-videos .ai-video-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  border-radius: 8px;
  box-shadow: 0 8px 24px -16px rgba(6, 26, 68, .2);
}

@media (min-width: 641px) and (max-width: 900px) {
  #ai-videos .ai-video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 640px) {
  #ai-videos .ai-service-copy h2 {
    font-size: clamp(30px, 7.8vw, 40px);
  }

  #ai-videos .ai-service-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  #ai-videos .ai-service-list {
    margin-block: 20px;
    gap: 10px;
  }

  #ai-videos .ai-video-gallery {
    max-width: 520px;
    gap: 14px;
  }
}

/* Refined industry cards: compact, quiet, and consistent. */
#ai-industries {
  padding-block: clamp(44px, 5vw, 76px);
  background: #f6f8fb;
}

#ai-industries .ai-section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

#ai-industries .ai-section-heading h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.15;
}

#ai-industries .ai-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#ai-industries .ai-use-grid article,
#ai-industries .ai-use-grid article:hover {
  min-width: 0;
  min-height: 160px;
  padding: clamp(22px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 22px;
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transform: none;
  box-shadow: none;
  transition: border-color .2s ease;
}

#ai-industries .ai-use-grid article::before {
  content: none;
}

#ai-industries .ai-use-grid svg {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #089e9d;
}

@media (hover: hover) {
  #ai-industries .ai-use-grid article:hover {
    border-color: #9accca;
  }
}

@media (max-width: 640px) {
  #ai-industries .ai-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #ai-industries .ai-use-grid article,
  #ai-industries .ai-use-grid article:hover {
    min-height: 144px;
    padding: 20px 16px;
    font-size: 14px;
    gap: 18px;
  }
}

@media (max-width: 360px) {
  #ai-industries .ai-use-grid {
    grid-template-columns: 1fr;
  }

  #ai-industries .ai-use-grid article,
  #ai-industries .ai-use-grid article:hover {
    min-height: 100px;
    flex-direction: row;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ai-industries .ai-use-grid article {
    transition: none;
  }
}

/* Arabic parity: natural letter spacing and room for Arabic line height. */
html[lang="ar"] .ai-services-page .ai-hero-refreshed h1 {
  font-size: clamp(30px, 3.6vw, 58px);
  line-height: 1.4;
  letter-spacing: 0;
}

html[lang="ar"] .ai-services-page :is(.eyebrow, h2, h3),
html[lang="ar"] #ai-challenge h2,
html[lang="ar"] #ai-challenge .eyebrow {
  letter-spacing: 0;
}

html[lang="ar"] .ai-services-page :is(.ai-section-heading h2, .ai-service-copy h2) {
  line-height: 1.4;
}

html[lang="ar"] #ai-industries .ai-use-grid article {
  line-height: 1.75;
}

@media (max-width: 640px) {
  html[lang="ar"] .ai-services-page .ai-hero-refreshed h1 {
    font-size: clamp(25px, 6.3vw, 38px);
  }

  html[lang="ar"] .ai-services-page .ai-hero .eyebrow {
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.8;
  }
}

/* Four balanced capabilities, presented as simple editorial points. */
.ai-services-page .ai-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-block: 30px;
}

.ai-services-page .ai-capabilities span,
.ai-services-page .ai-capabilities span:first-child {
  display: block;
  position: relative;
  padding: 16px 0 0;
  border: 0;
  background: transparent;
  color: #e3edf7;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 600;
  line-height: 1.65;
}

.ai-services-page .ai-capabilities span::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 28px;
  height: 2px;
  background: var(--turquoise);
}

@media (max-width: 900px) {
  .ai-services-page .ai-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}
