:root {
  --saudi-hero-image: url("../images/saudi-brand/optimized/riyadh-agency-hero-1200.jpg");
  --saudi-team-image: url("../images/saudi-brand/optimized/saudi-team-strategy-1200.jpg");
  --saudi-consult-image: url("../images/saudi-brand/optimized/riyadh-consultation-1200.jpg");
  --saudi-studio-image: url("../images/saudi-brand/optimized/saudi-content-studio-1200.jpg");
}

img {
  max-width: 100%;
  height: auto;
}

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
  display: inline-block;
  line-height: 1;
  text-rendering: auto;
}

.fa-solid,
.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.fa-regular,
.far {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: min(1180px, calc(100% - 32px));
}

.about,
.help,
.work-flow,
.success,
.services,
.guide,
.footer,
.consult {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.hero {
  min-height: 92vh !important;
  background:
    radial-gradient(circle at 15% 18%, rgba(149, 193, 31, .16), transparent 34%),
    linear-gradient(135deg, #08393d 0%, #0F4444 42%, #062a2f 100%) !important;
}

.hero-content {
  width: 100%;
  max-width: 1180px !important;
  text-align: right !important;
  margin: 0 auto !important;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

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

.hero-badge-row,
.hero-btns {
  justify-content: flex-start !important;
}

.hero-pill {
  box-shadow: 0 16px 45px rgba(0, 0, 0, .22);
}

.hero-h1 {
  text-shadow: 0 14px 46px rgba(0, 0, 0, .38);
}

.hero-visual {
  position: relative;
  z-index: 2;
  aspect-ratio: 1.08 / 1;
  min-height: 460px;
  border-radius: 30px;
  overflow: hidden;
  background: #0F4444;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .34),
    0 0 0 10px rgba(255, 255, 255, .045);
  transform: translateY(8px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(6, 32, 36, .72) 100%),
    radial-gradient(circle at 78% 14%, rgba(189, 223, 106, .28), transparent 28%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 34% center;
}

.hero-visual-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 68, 68, .78);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 34px;
  max-width: 640px;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 14px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 700;
}

.hero-proof-item i {
  color: var(--lime-300);
  font-size: 14px;
}

.work-flow {
  background: #fff;
  padding: 96px 0;
  position: relative;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.workflow-card {
  position: relative;
  min-height: 230px;
  padding: 28px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f7fbfb 100%);
  border: 1.5px solid rgba(43, 138, 138, .14);
  box-shadow: 0 12px 34px rgba(15, 68, 68, .08);
  overflow: hidden;
}

.workflow-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  left: -48px;
  bottom: -52px;
  background: rgba(149, 193, 31, .09);
}

.workflow-num {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-teal);
  color: #fff;
  font-weight: 900;
  margin-bottom: 20px;
  box-shadow: 0 10px 22px rgba(43, 138, 138, .22);
}

.workflow-card h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.8;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.service-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  border: 1.5px solid rgba(43, 138, 138, .12);
  box-shadow: 0 10px 28px rgba(15, 68, 68, .07);
}

.service-detail-card .sd-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 16px;
}

.service-detail-card h4 {
  font-size: 16px;
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-detail-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 14px;
}

.service-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail-card li {
  position: relative;
  padding-right: 15px;
  color: var(--gray-700);
  font-size: 12.5px;
  line-height: 1.6;
}

.service-detail-card li::before {
  content: "";
  position: absolute;
  right: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-500);
}

.market-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--teal-800);
  background: var(--teal-100);
  font-size: 12px;
  font-weight: 800;
}

.about-visual,
.services-visual,
.success-visual {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(15, 68, 68, .18);
  background: #0F4444;
}

.about-visual {
  margin-bottom: 22px;
  aspect-ratio: 4 / 3;
}

.services-visual {
  margin-bottom: 24px;
  aspect-ratio: 16 / 10;
}

.success-visual {
  max-width: 980px;
  margin: -18px auto 54px;
  aspect-ratio: 16 / 6.5;
  border: 1px solid rgba(43, 138, 138, .14);
}

.about-visual img,
.services-visual img,
.success-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-visual::after,
.services-visual::after,
.success-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 68, 68, 0) 45%, rgba(15, 68, 68, .55) 100%);
}

.saudi-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 68, 68, .78);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 700;
}

.about-card {
  animation: none !important;
}

.consult {
  background:
    linear-gradient(90deg, rgba(6, 27, 30, .25) 0%, rgba(6, 30, 34, .78) 48%, rgba(6, 30, 34, .94) 100%),
    var(--saudi-consult-image) center / cover no-repeat !important;
}

.cs-hero,
.lg-hero {
  background:
    linear-gradient(90deg, rgba(5, 24, 28, .22) 0%, rgba(9, 42, 45, .72) 43%, rgba(8, 37, 39, .96) 100%),
    var(--saudi-studio-image) center / cover no-repeat !important;
}

.cs-client-showcase,
.cs-kpi,
.lg-date {
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

body:has(.ty-card) {
  background:
    linear-gradient(135deg, rgba(15, 68, 68, .88), rgba(43, 138, 138, .72)),
    var(--saudi-consult-image) center / cover fixed no-repeat !important;
}

body:has(.diag-hero),
body:has(.scorecard),
body:has(.assessment),
body:has(.quiz-shell) {
  background:
    linear-gradient(135deg, rgba(15, 68, 68, .08), rgba(224, 245, 245, .42)),
    var(--saudi-team-image) top center / cover fixed no-repeat;
}

.wa-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
  transition: transform .25s ease, box-shadow .25s ease;
}

.wa-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .52);
}

.wa-btn i {
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

@media (max-width: 900px) {
  .hero {
    background:
      radial-gradient(circle at 20% 10%, rgba(149, 193, 31, .14), transparent 34%),
      linear-gradient(135deg, #08393d 0%, #0F4444 52%, #062a2f 100%) !important;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 74px !important;
    max-width: 720px !important;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    transform: none;
  }

  .hero-visual::after {
    inset: 12px;
    border-radius: 16px;
  }

  .success-visual {
    aspect-ratio: 16 / 10;
    margin-bottom: 38px;
  }

  .hero-proof,
  .workflow-grid,
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-card,
  .service-detail-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --saudi-hero-image: url("../images/saudi-brand/optimized/riyadh-agency-hero-720.jpg");
    --saudi-team-image: url("../images/saudi-brand/optimized/saudi-team-strategy-720.jpg");
    --saudi-consult-image: url("../images/saudi-brand/optimized/riyadh-consultation-720.jpg");
    --saudi-studio-image: url("../images/saudi-brand/optimized/saudi-content-studio-720.jpg");
  }

  .hero-content {
    padding-top: 36px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-badge-row,
  .hero-btns {
    justify-content: center !important;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .hero-visual-caption {
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    white-space: normal;
    line-height: 1.5;
  }

  .hero-proof,
  .workflow-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin: 18px 0 24px;
    gap: 9px;
  }

  .hero-proof-item {
    justify-content: center;
    min-height: 44px;
  }

  .workflow-card,
  .service-detail-card {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .work-flow {
    padding: 72px 0;
  }

  .about,
  .help,
  .success,
  .services,
  .guide,
  .consult {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .wa-btn {
    left: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 420px) {
  .hero-h1 {
    font-size: clamp(21px, 6.8vw, 28px) !important;
  }

  .hero-btns {
    width: 100%;
  }

  .hero-btns a {
    width: 100%;
    justify-content: center;
  }

  .hero-visual-caption,
  .saudi-caption {
    font-size: 11.5px;
  }
}
