/* RTL overrides for compiled Tailwind physical utilities */

[dir="rtl"] .text-left,
[dir="rtl"] .md\:text-left,
[dir="rtl"] .lg\:text-left {
  text-align: right;
}

[dir="rtl"] .ml-4 {
  margin-left: 0;
  margin-right: calc(var(--spacing) * 4);
}

[dir="rtl"] .ml-auto {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .ml-px {
  margin-left: 0;
  margin-right: 1px;
}

[dir="rtl"] .-mr-8 {
  margin-right: 0;
  margin-left: calc(var(--spacing) * -8);
}

[dir="rtl"] .md\:mr-0 {
  margin-right: 0;
  margin-left: 0;
}

[dir="rtl"] .lg\:mr-auto {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .pr-5 {
  padding-right: 0;
  padding-left: calc(var(--spacing) * 5);
}

[dir="rtl"] .md\:pl-\[80px\] {
  padding-left: 0;
  padding-right: 80px;
}

[dir="rtl"] .xl\:pl-\[112px\] {
  padding-left: 0;
  padding-right: 112px;
}

[dir="rtl"] .lg\:pl-6 {
  padding-left: 0;
  padding-right: calc(var(--spacing) * 6);
}

[dir="rtl"] .border-l {
  border-left-width: 0;
  border-right-style: var(--tw-border-style);
  border-right-width: 1px;
}

[dir="rtl"] .sm\:rounded-l-xl {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: calc(var(--radius-xl, 0.75rem));
  border-bottom-right-radius: calc(var(--radius-xl, 0.75rem));
}

/* Mobile header bar: hamburger | centered logo | spacer */
.header-one {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
}

@media (min-width: 80rem) {
  .header-one {
    display: flex;
    justify-content: space-between;
  }
}

/* Services dropdown: keep each option on one line */
#resources-dropdown-menu-v2 {
  width: max-content;
  min-width: 26rem;
}

#resources-dropdown-menu-v2 .whitespace-nowrap,
#resources-dropdown-menu-v2 span {
  white-space: nowrap;
}

.dropdown-menu-bridge {
  min-width: 26rem;
}

.page-breadcrumb {
  margin-bottom: 1.5rem;
}

#solutions {
  scroll-margin-top: 6.75rem;
}

.service-hero-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

@media (min-width: 40rem) {
  .service-hero-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }
}

@media (min-width: 64rem) {
  .service-hero-card {
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
  }
}

@media (min-width: 80rem) {
  .service-hero-card {
    gap: 4.5rem;
  }
}

.service-hero-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.75rem;
}

@media (min-width: 64rem) {
  .service-hero-copy {
    flex: 1;
    align-self: stretch;
    justify-content: space-between;
  }
}

.service-hero-copy p,
.service-body-frame.blog-details-markdown p {
  text-align: justify;
  text-align-last: start;
}

.service-hero-figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.75rem;
  flex-shrink: 0;
  margin: 0;
}

@media (min-width: 64rem) {
  .service-hero-figure {
    align-self: flex-start;
    width: min(46%, 36rem);
    flex-basis: min(46%, 36rem);
    height: auto;
  }
}

.service-hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-cta-tel {
  color: var(--color-brand);
  font-weight: 700;
}

.service-cta-tel:hover {
  color: #31426c;
}

/* Floating mobile menu panel (RTL: docks to the right, rounded on the free/left edge) */
.sidebar {
  top: 1.25rem;
  bottom: 1.25rem;
  right: 1rem;
  left: auto;
  width: min(88vw, 23.5rem);
  min-width: min(88vw, 23.5rem);
  max-width: min(88vw, 23.5rem);
  height: auto;
  max-height: calc(100dvh - 2.5rem);
  border-radius: 1.5rem 0.75rem 0.75rem 1.5rem;
  box-shadow:
    0 24px 48px -12px rgba(13, 13, 18, 0.18),
    0 0 0 1px rgba(13, 13, 18, 0.04);
}

[dir="rtl"] .sidebar {
  right: 0rem;
  left: auto;
  border-left-width: 0;
  border-right-style: var(--tw-border-style);
  border-right-width: 1px;
  border-radius: 1.5rem 0.75rem 0.75rem 1.5rem;
}

.sidebar .mt-4 {
  margin-top: 1rem;
}

.sidebar .pt-4 {
  padding-top: 1rem;
}

.sidebar .border-t {
  border-top-style: solid;
  border-top-width: 1px;
}

.sidebar-backdrop {
  display: none;
  z-index: 9998;
  background: color-mix(in oklab, var(--color-background-13) 30%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.sidebar-backdrop.show-sidebar-backdrop {
  display: block;
}

/* Titles across the site: one step heavier (400 → 600). Bold stays 700. */
h1,
h2,
h3,
h4,
h5,
h6,
h1.font-normal,
h2.font-normal,
h3.font-normal,
h4.font-normal,
h5.font-normal,
h6.font-normal,
.blog-details-markdown h2,
.blog-details-markdown h3,
.service-card-title,
.service-side-title {
  --tw-font-weight: 600;
  font-weight: 600;
}

h1.font-bold,
h2.font-bold,
.font-bold {
  --tw-font-weight: 700;
  font-weight: 700;
}

/* Service page: body on the right, sticky services rail on the left (RTL grid) */
.service-page-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .service-page-layout {
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    gap: 1.5rem;
  }
}

.service-body-frame {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--color-background-13) 8%, transparent);
  border-radius: 1.75rem;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 24px 48px -28px rgba(13, 13, 18, 0.22);
}

@media (min-width: 48rem) {
  .service-body-frame {
    padding: 2.5rem 2.75rem 2.75rem;
  }
}

.service-body-frame.blog-details-markdown h2 {
  margin-top: 2.25rem;
}

.service-body-frame.blog-details-markdown img {
  height: 280px;
  margin-top: 1.75rem;
}

@media (min-width: 48rem) {
  .service-body-frame.blog-details-markdown h2 {
    margin-top: 2.5rem;
  }

  .service-body-frame.blog-details-markdown img {
    height: 340px;
  }
}

@media (min-width: 64rem) {
  .service-body-frame.blog-details-markdown img {
    height: 380px;
  }
}

.service-side {
  position: sticky;
  top: 6.5rem;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--color-background-13) 8%, transparent);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 18px 36px -24px rgba(13, 13, 18, 0.2);
}

.service-side-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-sora);
  font-size: 1.05rem;
  color: color-mix(in oklab, var(--color-background-13) 90%, transparent);
}

.service-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.service-side-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 0.9rem;
  color: color-mix(in oklab, var(--color-background-13) 80%, transparent);
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.service-side-list a:hover {
  background: color-mix(in oklab, var(--color-background-13) 5%, transparent);
}

.service-side-list img {
  width: 3.25rem;
  height: 3.25rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.9rem;
  flex-shrink: 0;
}

.portfolio-list-intro {
  margin-bottom: 4.5rem;
}

@media (min-width: 48rem) {
  .portfolio-list-intro {
    margin-bottom: 6.5rem;
  }
}

.client-logo-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-inter-tight);
  font-size: 0.95rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-background-13) 70%, transparent);
}

.client-logo {
  display: flex;
  width: 6.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  display: block;
  width: 6.25rem;
  height: auto;
  object-fit: contain;
}

.portfolio-cover {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.portfolio-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-wheel-card {
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.showcase-wheel-cover {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
}

.showcase-wheel-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-hero-figure {
  aspect-ratio: 1 / 1;
  width: min(100%, 22rem);
}

@media (min-width: 64rem) {
  .portfolio-hero-figure {
    width: min(38%, 22rem);
    flex-basis: min(38%, 22rem);
  }
}

.portfolio-slider {
  position: relative;
  margin: 0 0 2rem;
}

.portfolio-slider-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--color-background-13) 8%, transparent);
}

.portfolio-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: #fff;
}

.portfolio-slide[hidden] {
  display: none;
}

.portfolio-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.portfolio-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px -12px rgba(13, 13, 18, 0.45);
  transform: translateY(-50%);
  cursor: pointer;
}

.portfolio-slider-nav::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin: auto;
  border-top: 1.5px solid #0d0d12;
  border-right: 1.5px solid #0d0d12;
}

.portfolio-slider-nav.is-prev {
  right: 0.75rem;
}

.portfolio-slider-nav.is-prev::before {
  transform: rotate(45deg);
  margin-left: 0.85rem;
}

.portfolio-slider-nav.is-next {
  left: 0.75rem;
}

.portfolio-slider-nav.is-next::before {
  transform: rotate(-135deg);
  margin-right: 0.85rem;
}

.portfolio-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.portfolio-slider-dots button {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-background-13) 22%, transparent);
  cursor: pointer;
}

.portfolio-slider-dots button.is-active {
  width: 1.15rem;
  background: color-mix(in oklab, var(--color-background-13) 72%, transparent);
}

.service-side-blogs .service-side-list img {
  width: 3.25rem;
  height: auto;
  aspect-ratio: 16 / 9;
}

.service-side-list span {
  font-family: var(--font-inter-tight);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 600;
}

.service-side-blogs {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid color-mix(in oklab, var(--color-background-13) 8%, transparent);
}

.service-side-split {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid color-mix(in oklab, var(--color-background-13) 8%, transparent);
}

.blog-cover {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.blog-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-scroll-status {
  min-height: 3rem;
  margin-top: 1.5rem;
  text-align: center;
  font-family: var(--font-inter-tight);
  color: color-mix(in oklab, var(--color-background-13) 50%, transparent);
}

.blog-details-markdown blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid color-mix(in oklab, var(--color-background-13) 80%, transparent);
  background: #f4f6f8;
  border-radius: 0 1rem 1rem 0;
}

.blog-details-markdown ul,
.blog-details-markdown ol {
  margin-top: 1rem;
  padding-inline-start: 1.25rem;
}

/* Service detail body: extra rhythm on top of .blog-details-markdown */
.blog-details-markdown p + p,
.blog-details-markdown .service-callout,
.blog-details-markdown .service-quote,
.blog-details-markdown .service-steps,
.blog-details-markdown h3 {
  margin-top: 1.25rem;
}

.blog-details-markdown h3 {
  font-family: var(--font-sora);
  font-size: 1.125rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-background-13) 90%, transparent);
}

.blog-details-markdown a {
  color: color-mix(in oklab, var(--color-background-13) 90%, transparent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-details-markdown .service-quote {
  margin-inline-start: 0;
  padding: 1rem 1.25rem;
  border-inline-start: 3px solid color-mix(in oklab, var(--color-background-13) 80%, transparent);
  background: #f4f6f8;
  border-radius: 0 1rem 1rem 0;
}

.blog-details-markdown .service-quote p,
.blog-details-markdown .service-callout p,
.blog-details-markdown .service-steps p {
  margin-top: 0.35rem;
}

.blog-details-markdown .service-callout {
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: #f4f6f8;
}

.blog-details-markdown .service-platform-banner {
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 1.35rem;
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash), var(--brand-surface);
  background-repeat: no-repeat;
  color: #fff;
}

.blog-details-markdown .service-platform-banner-label {
  margin: 0;
  display: inline-flex;
  border-radius: 999px;
  background: var(--color-brand-yellow);
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
  padding: 0.28rem 0.7rem;
}

.blog-details-markdown .service-platform-banner-title {
  margin: 0.85rem 0 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.6;
}

.blog-details-markdown .service-platform-banner-text {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.9;
}

.blog-details-markdown .service-platform-banner-link {
  display: inline-block;
  margin-top: 1rem;
  max-width: 100%;
  color: var(--color-brand-yellow);
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none;
  word-break: break-word;
}

.blog-details-markdown .service-platform-banner-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-details-markdown .service-steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.blog-details-markdown .service-steps > li {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #f4f6f8;
}

.blog-details-markdown .service-steps h3 {
  margin-top: 0;
}

.service-card {
  justify-content: flex-start;
}

.service-card-body {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  margin-top: 1.5rem;
  flex-direction: column;
}

.service-card-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
}

/* Service card titles ~30% smaller than sora heading tokens */
.service-card-title {
  margin: 0;
  min-height: 2.7em;
  font-size: calc(var(--text-sora-heading-5) * 0.7);
  line-height: var(--text-sora-heading-5--line-height);
}

@media (min-width: 80rem) {
  .service-card-title {
    font-size: calc(var(--text-sora-heading-4) * 0.7);
    line-height: var(--text-sora-heading-4--line-height);
  }
}

.service-card-desc {
  width: 100%;
  max-width: 20rem;
  margin: 0;
  min-height: 4.65em;
  text-align: justify;
  text-align-last: start;
}

.service-card .service-card-cta {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Hero floating cards: mirror absolute horizontal placement */
[dir="rtl"] .lp\:left-\[-2\%\] {
  left: auto;
  right: -2%;
}

[dir="rtl"] .left-\[2\%\] {
  left: auto;
  right: 2%;
}

[dir="rtl"] .xl\:left-\[-7\%\],
[dir="rtl"] .\!2xl\:left-\[-7\%\],
[dir="rtl"] .2xl\:left-\[-7\%\] {
  left: auto;
  right: -7%;
}

[dir="rtl"] .lp\:right-\[2\%\] {
  right: auto;
  left: 2%;
}

[dir="rtl"] .right-\[1\%\] {
  right: auto;
  left: 1%;
}

[dir="rtl"] .xl\:right-\[5\%\] {
  right: auto;
  left: 5%;
}

[dir="rtl"] .2xl\:right-\[-6\%\] {
  right: auto;
  left: -6%;
}

[dir="rtl"] .lp\:left-\[-2\%\].absolute.top-\[80\%\],
[dir="rtl"] .left-\[1\%\] {
  left: auto;
  right: 1%;
}

[dir="rtl"] .2xl\:left-\[-3\%\] {
  left: auto;
  right: -3%;
}

.hero-float-card {
  border-radius: 1.5rem;
  background-color: #fff;
  padding: 1.05rem 1.1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(23, 32, 51, 0.08);
}

.hero-float-identity {
  width: 17.6rem;
}

.hero-float-mark {
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 0.85rem;
  border-radius: 1rem;
  object-fit: cover;
}

.hero-float-kicker {
  margin: 0;
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.6;
}

.hero-float-line {
  margin: 0.28rem 0 0;
  color: #172033;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.65;
}

.hero-float-focus {
  width: min(20.2rem, 86vw);
}

.hero-float-thumb {
  display: block;
  width: 100%;
  height: 7.4rem;
  margin-bottom: 0.85rem;
  border-radius: 1rem;
  object-fit: cover;
}

.hero-float-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-float-tags li {
  border: 1px solid rgba(167, 169, 172, 0.8);
  border-radius: 999px;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0.26rem 0.62rem;
}

.hero-float-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Pricing Pro button hover slide */
[dir="rtl"] .group-hover\:left-\[80\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 80%;
}

[dir="rtl"] .max-\[376px\]\:group-hover\:left-\[75\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 75%;
}

[dir="rtl"] .md\:group-hover\:left-\[82\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 82%;
}

[dir="rtl"] .lg\:group-hover\:left-\[74\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 74%;
}

[dir="rtl"] .lp\:group-hover\:left-\[82\%\]\!:is(:where(.group):hover *) {
  left: auto !important;
  right: 82% !important;
}

[dir="rtl"] .absolute.left-\[1\%\].z-20 {
  left: auto;
  right: 1%;
}

[dir="rtl"] .group-hover\:left-\[20\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 20%;
}

[dir="rtl"] .max-\[376px\]\:group-hover\:left-\[25\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 25%;
}

[dir="rtl"] .lg\:group-hover\:left-\[25\%\]:is(:where(.group):hover *) {
  left: auto;
  right: 25%;
}

[dir="rtl"] .lp\:group-hover\:left-\[20\%\]\!:is(:where(.group):hover *) {
  left: auto !important;
  right: 20% !important;
}

/* Avatar stack reverse under RTL */
[dir="rtl"] .-space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}

/* Arrow / icon hover translations mirrored */
[dir="rtl"] .group-hover\:translate-x-6:is(:where(.group):hover *) {
  --tw-translate-x: calc(var(--spacing) * -6);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

[dir="rtl"] .-translate-x-6 {
  --tw-translate-x: calc(var(--spacing) * 6);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

[dir="rtl"] .group-hover\/submit-button-v2\:translate-x-\[140\%\]:is(:where(.group\/submit-button-v2):hover *) {
  --tw-translate-x: -140%;
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

[dir="rtl"] .-translate-x-\[140\%\] {
  --tw-translate-x: 140%;
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

[dir="rtl"] .group-hover\:translate-x-0:is(:where(.group):hover *) {
  --tw-translate-x: 0;
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

/* Directional chevrons / arrows */
[dir="rtl"] .menu-arrow,
[dir="rtl"] .nav-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .menu-arrow.rotate-90 {
  transform: scaleX(-1) rotate(90deg);
}

/* Soften Latin-oriented negative tracking for Persian */
[dir="rtl"] .tracking-\[-3\.2px\],
[dir="rtl"] .tracking-\[-1\.28px\],
[dir="rtl"] .tracking-\[-1\.6px\],
[dir="rtl"] .tracking-\[-0\.6px\],
[dir="rtl"] .tracking-\[-0\.48px\] {
  letter-spacing: normal;
}

/* Solutions service cards — subtle clickable affordance */
.service-card-cta {
  color: color-mix(in oklab, var(--color-background-13) 40%, transparent);
}

.group:hover .service-card-cta {
  color: color-mix(in oklab, var(--color-background-13) 70%, transparent);
}

.group:hover .service-card-cta svg {
  transform: translateX(-0.25rem);
}

[dir="ltr"] .group:hover .service-card-cta svg {
  transform: translateX(0.25rem);
}

.footer-intro {
  width: 100%;
  line-height: 1.9;
  text-align: justify;
  text-align-last: start;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns:
      minmax(8.5rem, 0.7fr)
      minmax(14rem, 1.25fr)
      minmax(13rem, 1.1fr)
      minmax(7.5rem, 0.55fr);
  }
}

.footer-services a {
  white-space: nowrap;
}

.footer-enamad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 7.5rem;
  padding: 0.55rem;
  background: #ffffff;
  border-radius: 0.85rem;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.footer-enamad a {
  display: block;
  line-height: 0;
  background: transparent;
}

.footer-enamad img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.ecosystem-grid {
  align-items: stretch;
}

.ecosystem-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ecosystem-card-head {
  align-items: center;
  min-height: 4.5rem;
}

.ecosystem-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: justify;
  text-align-last: start;
}

.showcase-section > section.pb-14 {
  padding-bottom: 1.5rem;
}

.home-ecosystem,
.home-testimonials,
.home-blog {
  padding-top: 40px;
  padding-bottom: 40px;
}

.home-cta {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 48rem) {
  .home-ecosystem,
  .home-testimonials,
  .home-blog {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (min-width: 64rem) {
  .home-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (min-width: 80rem) {
  .home-ecosystem,
  .home-testimonials,
  .home-blog {
    padding-top: 92px;
    padding-bottom: 92px;
  }
}

/* Brand palette: #3c4f80 blue + #f0bb1e gold. */
:root {
  --color-brand: #3c4f80;
  --color-brand-50: #e9edf4;
  --color-brand-600: #31426c;
  --color-brand-700: #29385c;
  --color-brand-800: #1f2a46;
  --color-brand-yellow: #f0bb1e;
  --color-brand-yellow-soft: #f5cd55;
  --color-brand-yellow-deep: #c99612;
  --color-brand-gray: #a7a9ac;
  --color-opai-purple: var(--color-brand);
  --brand-surface: linear-gradient(
    145deg,
    #3c4f80 0%,
    #31426c 55%,
    #1f2a46 100%
  );
  --brand-surface-soft: linear-gradient(
    145deg,
    #3c4f80 0%,
    #31426c 72%,
    #29385c 100%
  );
  --brand-gold-wash: radial-gradient(
    78% 52% at 100% 0%,
    rgba(240, 187, 30, 0.38),
    transparent 62%
  );
  --brand-gold-wash-soft: radial-gradient(
    85% 58% at 100% 0%,
    rgba(240, 187, 30, 0.32),
    transparent 60%
  );
}

.brand-surface {
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash), var(--brand-surface);
  background-repeat: no-repeat;
}

.button.bg-background-4 {
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash-soft), var(--brand-surface-soft);
  color: #fff;
}

.button .button-text {
  color: #fff;
}

.button .button-icon > .bg-linear-to-r {
  background-image: none;
}

.button .button-icon .bg-opai-purple {
  background-color: var(--color-brand-yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button-mark-img {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

footer .bg-background-5 {
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash), var(--brand-surface);
  background-repeat: no-repeat;
}

.header-logo-mobile {
  max-width: 175px;
}

.header-logo-drawer {
  width: min(200px, 100%);
  max-width: 200px;
  flex: 0 1 200px;
}

.footer-logo {
  display: inline-flex;
  height: auto;
  width: auto;
  align-items: center;
  border-radius: 1rem;
  background: #fff;
  padding: 0.6rem 1rem;
}

.footer-logo img {
  height: 4.25rem;
  width: auto;
}

footer .footer-intro,
footer .bg-background-5 .text-white\/50,
footer .bg-background-5 .text-white\/60,
footer .footer-link {
  color: rgba(255, 255, 255, 0.92);
}

footer .bg-background-5 .font-semibold,
footer .bg-background-5 .text-white\/90 {
  color: #fff;
}

footer .footer-link:hover {
  color: var(--color-brand-yellow);
}

footer .bg-background-5 .border-stroke-1\/10 {
  border-color: rgba(255, 255, 255, 0.22);
}

.service-card-icon {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  overflow: hidden;
  border-radius: 1.35rem;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.service-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group:hover .service-card-icon {
  transform: scale(1.05);
}

.group:hover .service-card-cta {
  color: var(--color-brand);
}

.gold-corner,
.testimonial-card {
  background-image: var(--brand-gold-wash);
}

body.consult-open {
  overflow: hidden;
}

.consult-fab {
  position: fixed;
  z-index: 50;
  left: max(1rem, env(safe-area-inset-left));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash-soft), var(--brand-surface);
  box-shadow:
    0 12px 28px rgba(60, 79, 128, 0.42),
    0 0 0 1px rgba(240, 187, 30, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: consult-fab-attention 2.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}

.consult-fab-glow {
  position: absolute;
  inset: -0.35rem;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(240, 187, 30, 0.45), transparent 62%);
  opacity: 0.75;
  pointer-events: none;
  animation: consult-fab-pulse 2.6s ease-in-out infinite;
}

.consult-fab-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(240, 187, 30, 0.55);
}

.consult-fab-label {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.consult-fab:hover,
.consult-fab:focus-visible {
  transform: translateY(-2px) scale(1.03);
  outline: none;
  box-shadow:
    0 16px 34px rgba(60, 79, 128, 0.5),
    0 0 0 2px rgba(240, 187, 30, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.consult-open .consult-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

@keyframes consult-fab-attention {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  12% {
    transform: translateY(-3px) rotate(-4deg);
  }
  24% {
    transform: translateY(-1px) rotate(3deg);
  }
  36% {
    transform: translateY(-4px) rotate(-2deg);
  }
  48% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes consult-fab-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@media (min-width: 80rem) {
  .consult-fab {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consult-fab,
  .consult-fab-glow {
    animation: none;
  }
}

.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.consult-modal[hidden] {
  display: none;
}

.consult-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 36, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.consult-modal-dialog {
  position: relative;
  width: min(100%, 32rem);
  max-height: min(92vh, 44rem);
  overflow: auto;
  border-radius: 1.75rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(240, 187, 30, 0.22), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
  box-shadow: 0 30px 80px rgba(20, 32, 68, 0.28);
  padding: 1.75rem 1.5rem 1.5rem;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.consult-modal.is-open .consult-modal-backdrop {
  opacity: 1;
}

.consult-modal.is-open .consult-modal-dialog {
  transform: none;
  opacity: 1;
}

.consult-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-left: 2.85rem;
}

.consult-brand img {
  width: 9.5rem;
  height: auto;
}

.consult-kicker {
  color: var(--color-brand);
  background: rgba(240, 187, 30, 0.55);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.consult-modal h2 {
  margin: 0;
  color: #172033;
  font-size: 1.7rem;
  font-weight: 800;
}

.consult-lead {
  margin: 0.55rem 0 1.25rem;
  color: #5d6470;
  line-height: 1.8;
}

.consult-modal form {
  display: grid;
  gap: 0.85rem;
}

.consult-modal label {
  display: grid;
  gap: 0.35rem;
  color: #243049;
  font-size: 0.92rem;
  font-weight: 700;
}

.consult-modal label em {
  color: #a7a9ac;
  font-style: normal;
  font-weight: 500;
}

.consult-modal input,
.consult-modal textarea {
  width: 100%;
  border: 1px solid rgba(167, 169, 172, 0.7);
  border-radius: 0.9rem;
  background: #fff;
  color: #172033;
  font: inherit;
  font-weight: 500;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.consult-modal input:focus,
.consult-modal textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(60, 79, 128, 0.14);
}

.consult-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.consult-toast {
  margin: 0;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.7;
}

.consult-toast.is-error {
  color: #8d1d2c;
  background: #fde8eb;
}

.consult-toast.is-success {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #0f5c45;
  background: #e5f7ef;
}

.consult-toast.is-success::before {
  content: "";
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23f0bb1e'/%3E%3Ccircle cx='12' cy='12' r='10.2' fill='none' stroke='%233c4f80' stroke-width='1.2'/%3E%3Cpath d='M7.1 12.4l3.2 3.2 6.6-6.8' fill='none' stroke='%233c4f80' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.consult-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  border: 0;
  border-radius: 1rem;
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash-soft), var(--brand-surface-soft);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.consult-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

.consult-submit:disabled {
  cursor: progress;
  opacity: 0.86;
}

.consult-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--color-brand-yellow);
  opacity: 0;
}

.consult-submit.is-loading .consult-spinner {
  opacity: 1;
  animation: consult-spin 0.7s linear infinite;
}

.consult-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(167, 169, 172, 0.18);
  cursor: pointer;
}

.consult-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9rem;
  height: 2px;
  background: #243049;
}

.consult-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.consult-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes consult-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-heading {
  font-weight: 800;
}

.contact-shell {
  align-items: stretch;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  flex: 1 1 0;
}

.contact-form input[name="phone"] {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-variant-numeric: lining-nums;
  direction: ltr;
  text-align: right;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #243049;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(167, 169, 172, 0.7);
  border-radius: 0.9rem;
  background: #fff;
  color: #172033;
  font: inherit;
  font-weight: 500;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(60, 79, 128, 0.14);
}

.contact-form .contact-submit {
  justify-self: start;
  width: auto;
  min-width: 12.5rem;
  color: #fff;
}

.contact-form .contact-submit .button-text {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-form .contact-submit .consult-spinner {
  width: 0.95rem;
  height: 0.95rem;
}

.contact-form .contact-submit.is-loading {
  cursor: progress;
  opacity: 0.86;
}

.contact-form .contact-submit.is-loading .consult-spinner {
  opacity: 1;
  animation: consult-spin 0.7s linear infinite;
}

.contact-info {
  position: relative;
  display: flex;
  flex: 0 1 22rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash), var(--brand-surface);
  background-repeat: no-repeat;
  color: #fff;
  padding: 1.75rem 1.5rem;
}

.contact-info p.contact-info-kicker {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--color-brand-yellow);
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.6;
  padding: 0.28rem 0.7rem;
}

.contact-info h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.6;
}

.contact-info ul {
  display: grid;
  gap: 0.9rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-info li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.contact-info-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-brand-yellow);
}

.contact-info-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-info-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-info a,
.contact-info p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
}

.contact-info a:hover {
  color: var(--color-brand-yellow);
}

@media (min-width: 64rem) {
  .contact-shell {
    justify-content: center;
    column-gap: 6.5rem;
  }

  .contact-form {
    flex: 1 1 40rem;
    max-width: 40rem;
  }

  .contact-info {
    flex: 0 0 24rem;
  }
}

@media (max-width: 63.99rem) {
  .contact-info {
    flex-basis: auto;
  }
}

.about-section {
  padding: 0.5rem 0 4.5rem;
}

.about-panel {
  display: grid;
  align-items: center;
  gap: 1.75rem;
  border-radius: 2rem;
  background: #fff;
  padding: 1.15rem;
  box-shadow: 0 22px 50px rgba(23, 32, 51, 0.06);
}

.about-kicker {
  display: inline-flex;
  margin: 0;
  border-radius: 999px;
  background: var(--color-brand-yellow);
  color: var(--color-brand);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.6;
  padding: 0.28rem 0.75rem;
}

.about-heading {
  margin: 0.95rem 0 0;
  color: #172033;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.55;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  border: 1px solid rgba(167, 169, 172, 0.75);
  border-radius: 999px;
  color: var(--color-brand);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0.32rem 0.72rem;
}

.about-body {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.25rem;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--color-brand-yellow);
}

.about-body p {
  margin: 0;
  color: #323a49;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 2.05;
  text-align: justify;
  text-justify: inter-word;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.35rem;
  background-color: var(--color-brand);
  background-image: var(--brand-gold-wash-soft), var(--brand-surface);
}

@media (min-width: 64rem) {
  .about-section {
    padding: 1rem 0 6rem;
  }

  .about-panel {
    grid-template-columns: minmax(0, 1.22fr) minmax(17rem, 0.78fr);
    gap: 4.25rem;
    padding-block: 2.4rem;
    padding-inline: 2.6rem 1.35rem;
  }

  .about-figure img {
    border-radius: 1.6rem;
  }
}

@media (max-width: 63.99rem) {
  .about-panel {
    padding: 1.15rem 1rem 1.15rem;
  }
}
