:root {
  --blue: #28326D;
  --blue-2: #28326D;
  --night: #111735;
  --black: #070B1B;
  --gold: #E9A124;
  --gold-2: #F4C15E;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --muted: #6B7280;
  --line: rgba(255, 255, 255, .12);
  --ink-line: rgba(11, 30, 60, .10);
  --shadow: 0 1.6rem 4rem rgba(4, 9, 20, .16);
  --radius: 16px;
}

/* Version 1.4 final UI/UX pass: premium FAMEEN, breathable, not over-dark */
:root {
  --blue: #28326D;
  --blue-2: #28326D;
  --night: #28326D;
  --black: #1F275C;
  --gold: #E9A124;
  --gold-2: #E9A124;
  --white: #FFFFFF;
  --light: #F7F8FC;
  --muted: #6B7280;
  --ink-line: rgba(40, 50, 109, .12);
  --shadow: 0 18px 55px rgba(40, 50, 109, .12);
}

body {
  color: #28326D;
  background: #FFFFFF;
}

.et_pb_section[class*="fameen-"],
.et_pb_section[class*="fameen-"] .et_pb_row,
.et_pb_section[class*="fameen-"] .et_pb_column,
.et_pb_section[class*="fameen-"] .et_pb_module,
.et_pb_section[class*="fameen-"] .et_pb_text_inner {
  width: 100% !important;
  max-width: none !important;
}

.et_pb_section[class*="fameen-"],
.et_pb_section[class*="fameen-"] .et_pb_row {
  padding: 0 !important;
}

.fameen-divi-header {
  width: min(116rem, calc(100% - 2rem));
  margin-top: .75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(40, 50, 109, .26) !important;
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.fameen-divi-header.is-scrolled {
  background: rgba(40, 50, 109, .92) !important;
  box-shadow: 0 16px 44px rgba(40, 50, 109, .2);
}

.fameen-divi-header nav {
  gap: clamp(.75rem, 1.35vw, 1.35rem);
}

.fameen-divi-header nav a,
.fameen-divi-header .nav-dropdown > a {
  color: rgba(255, 255, 255, .86) !important;
  font-size: .9rem;
}

.fameen-divi-header .nav-submenu {
  background: rgba(40, 50, 109, .96) !important;
  border-color: rgba(233, 161, 36, .24);
}

.fameen-divi-header .header-quote,
.btn-gold,
.chatbot-form button {
  background: #E9A124 !important;
  color: #28326D !important;
  box-shadow: 0 12px 28px rgba(233, 161, 36, .22);
}

.hero-home.hero-slider,
.hero-slides,
.hero-slide {
  min-height: 100svh;
}

.hero-cinematic {
  background:
    linear-gradient(90deg, rgba(40, 50, 109, .92), rgba(40, 50, 109, .78)),
    radial-gradient(circle at 78% 18%, rgba(233, 161, 36, .22), transparent 26rem),
    #28326D !important;
}

.hero-slide {
  grid-template-columns: minmax(0, .92fr) minmax(20rem, .82fr);
  padding: clamp(7rem, 8vw, 8.4rem) clamp(1.2rem, 6vw, 7rem) clamp(3rem, 5vw, 5rem);
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 14.5ch;
  color: #FFFFFF;
  font-size: clamp(2.7rem, 5.4vw, 5.8rem);
  line-height: .96;
}

.hero-slide p:not(.eyebrow) {
  max-width: 44rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  font-weight: 700;
}

.hero-dashboard {
  border-radius: 26px;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.hero-dashboard img {
  aspect-ratio: 1 / .9;
  object-fit: cover;
}

.section,
.business-preview,
.stat-band,
.cta-band {
  padding: clamp(4rem, 6vw, 6.2rem) clamp(1.2rem, 6vw, 7rem);
}

.luxury-intro,
.method-section,
.portfolio-home,
.news-section {
  background: #FFFFFF !important;
}

.section-head {
  max-width: 64rem;
  margin-bottom: clamp(1.7rem, 3vw, 2.7rem);
}

.section-head h2,
.business-copy h2,
.premium-card h3,
.portfolio-card h3,
.blog-card h3,
.method-card h3,
.intro-panels h3 {
  color: #28326D;
}

.section-head p:not(.eyebrow),
.premium-card p,
.portfolio-card p,
.blog-card p {
  color: #6B7280;
}

.eyebrow,
.card-index,
.authority-strip strong,
.stat-band strong,
.portfolio-body span,
.blog-card span,
.footer-route,
.expertise-icon,
.fameen-divi-header .nav-dropdown > a::after {
  color: #E9A124 !important;
}

.authority-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  background: transparent !important;
}

.authority-strip article {
  border: 1px solid rgba(40, 50, 109, .10);
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.authority-strip span {
  color: #6B7280;
}

.dark-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 161, 36, .16), transparent 24rem),
    #28326D !important;
}

.dark-section .section-head h2,
.dark-section .section-head p,
.dark-section .premium-card h3,
.dark-section .premium-card p {
  color: #FFFFFF !important;
}

.expertise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.premium-card,
.portfolio-card,
.blog-card,
.contact-card,
.contact-form,
.partner-card,
.partners-logo-wall figure {
  border: 1px solid rgba(40, 50, 109, .11);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 14px 42px rgba(40, 50, 109, .10);
}

.premium-card::before,
.portfolio-card::before,
.blog-card::before,
.contact-card::before {
  background: #E9A124 !important;
}

.premium-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.partners-logo-wall figure:hover {
  border-color: rgba(233, 161, 36, .55);
  box-shadow: 0 22px 64px rgba(40, 50, 109, .16), 0 0 0 4px rgba(233, 161, 36, .08);
  transform: translateY(-5px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.expertise-icon {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(233, 161, 36, .12);
  font-size: 1.05rem;
  font-weight: 900;
}

.logo-wall-section {
  background: #F7F8FC !important;
}

.logo-wall-section .section-head h2,
.logo-wall-section .section-head p {
  color: #28326D !important;
}

.partner-grid.partners-logo-wall {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .9rem;
}

.partners-logo-wall figure {
  display: grid;
  min-height: 7rem;
  margin: 0;
  place-items: center;
  padding: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.partners-logo-wall img {
  max-width: 8rem;
  max-height: 4.3rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.partners-logo-wall figure:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.portfolio-grid,
.portfolio-grid-compact,
.portfolio-editorial .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.portfolio-card img.portfolio-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.project-facts,
.portfolio-body small {
  display: none;
}

.business-preview,
.cta-band,
.site-footer {
  background:
    radial-gradient(circle at 88% 16%, rgba(233, 161, 36, .18), transparent 22rem),
    #28326D !important;
}

.business-preview h2,
.business-preview p,
.cta-band h2,
.cta-band p,
.site-footer h3 {
  color: #FFFFFF !important;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.mega-footer {
  grid-template-columns: minmax(18rem, 1.25fr) .75fr 1fr .95fr;
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1rem;
}

.chatbot-toggle {
  min-width: 3.4rem;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  padding: 0;
  justify-content: center;
  background: #28326D !important;
  border-color: rgba(233, 161, 36, .55);
}

.chatbot-toggle span:not(.chatbot-orb) {
  display: none;
}

.chatbot-orb {
  width: 2.2rem;
  height: 2.2rem;
}

.chatbot-panel {
  background:
    radial-gradient(circle at 16% 0, rgba(233, 161, 36, .14), transparent 12rem),
    rgba(40, 50, 109, .98) !important;
}

@media (max-width: 1180px) {
  .expertise-grid,
  .partner-grid.partners-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-home.hero-slider,
  .hero-slides,
  .hero-slide {
    min-height: auto;
  }

  .hero-slide,
  .business-preview,
  .cta-band,
  .mega-footer {
    grid-template-columns: 1fr;
  }

  .section,
  .business-preview,
  .stat-band,
  .cta-band {
    padding: clamp(3rem, 8vw, 4.5rem) 1rem;
  }

  .portfolio-grid,
  .portfolio-grid-compact,
  .portfolio-editorial .portfolio-grid,
  .authority-strip,
  .partner-grid.partners-logo-wall {
    grid-template-columns: 1fr;
  }
}

.fameen-divi-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(7, 11, 27, .86);
  backdrop-filter: blur(18px);
}

.fameen-divi-header img {
  width: clamp(4.4rem, 7vw, 6.2rem);
  height: 3.1rem;
  object-fit: contain;
}

.fameen-divi-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.55rem, 1.2vw, 1.1rem);
}

.fameen-divi-header nav a {
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.fameen-divi-header nav a:hover,
.fameen-divi-header nav a:focus-visible {
  color: var(--gold-2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--blue);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 175, 55, .13), transparent 24rem),
    radial-gradient(circle at 86% 14%, rgba(40, 50, 109, .36), transparent 28rem),
    linear-gradient(135deg, var(--night), var(--blue) 52%, #10163A);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .9rem clamp(1rem, 5vw, 5.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(3, 8, 18, .78);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img,
.footer-brand img {
  display: block;
  width: clamp(4.4rem, 7vw, 6.2rem);
  height: 3.1rem;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.55rem, 1.35vw, 1.25rem);
}

.main-nav a {
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease, transform .22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--gold-2);
  transform: translateY(-1px);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.header-cta,
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--night);
  box-shadow: 0 1rem 2.4rem rgba(212, 175, 55, .2);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
  background: rgba(255, 255, 255, .055);
}

.btn-ghost-dark {
  border-color: rgba(11, 30, 60, .18);
  color: var(--blue);
  background: var(--white);
  box-shadow: var(--shadow);
}

.header-cta:hover,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 1.25rem 3rem rgba(212, 175, 55, .28);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: .3rem auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform .24s ease, opacity .24s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(.4rem) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-.4rem) rotate(-45deg);
}

.hero-home,
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .78fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 6vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-home::before,
.page-hero::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, .85), transparent 72%);
}

.hero-content,
.page-hero-content {
  max-width: 56rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero-home h1,
.hero-home h2,
.page-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 7.1vw, 7.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .92;
  text-wrap: balance;
}

.hero-home p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 47rem;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero-dashboard,
.page-hero-visual,
.business-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .35);
}

.hero-dashboard img,
.page-hero-visual img,
.business-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.02);
}

.metric-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 14rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(3, 8, 18, .76);
  backdrop-filter: blur(16px);
}

.metric-card.alt {
  top: 1rem;
  bottom: auto;
  left: 1rem;
  right: auto;
}

.metric-card strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.25rem;
}

.metric-card span {
  color: rgba(255, 255, 255, .75);
  font-size: .86rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1rem, 6vw, 6rem);
  background: var(--white);
}

.light-section {
  background: var(--light);
}

.dark-section {
  position: relative;
  background:
    radial-gradient(circle at 86% 10%, rgba(212, 175, 55, .14), transparent 26rem),
    linear-gradient(135deg, var(--night), var(--blue));
  color: var(--white);
  overflow: hidden;
}

.section-head {
  max-width: 66rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head h2,
.business-copy h2,
.cta-band h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4.4vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.dark-section .section-head h2,
.dark-section .section-head p,
.business-preview.dark-section h2,
.business-preview.dark-section p {
  color: var(--white);
}

.section-head p:not(.eyebrow),
.split-grid p,
.premium-card p,
.portfolio-card p,
.blog-card p,
.team-card p,
.article-body p {
  color: var(--muted);
  line-height: 1.7;
}

.dark-section .premium-card p {
  color: rgba(255, 255, 255, .72);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) auto;
  gap: 2rem;
  align-items: end;
}

.text-link,
.premium-card a,
.portfolio-body a,
.blog-card a,
.site-footer a,
.contact-card a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.expertise-grid,
.feature-grid,
.triple-grid,
.team-grid,
.case-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.expertise-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-card,
.team-card,
.blog-card,
.portfolio-card,
.contact-card,
.contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.dark-section .premium-card {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, .22);
}

.premium-card,
.team-card,
.contact-card {
  padding: 1.35rem;
}

.premium-card::before,
.team-card::before,
.portfolio-card::before,
.blog-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(40, 50, 109, .14));
}

.premium-card:hover,
.team-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.partner-card:hover {
  border-color: rgba(212, 175, 55, .35);
  box-shadow: 0 1.9rem 4.4rem rgba(11, 30, 60, .16);
  transform: translateY(-5px);
}

.card-index {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(212, 175, 55, .13);
  color: var(--gold);
  font-weight: 950;
}

.premium-card h3,
.team-card h3,
.portfolio-card h3,
.blog-card h3 {
  margin: .4rem 0 .65rem;
  color: var(--blue);
  line-height: 1.15;
}

.dark-section .premium-card h3 {
  color: var(--white);
}

.premium-card ul,
.expertise-row ul {
  display: grid;
  gap: .5rem;
  margin: 1rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.benefit-row span,
.portfolio-body span,
.blog-card span,
.team-card span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.portfolio-groups {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.portfolio-category {
  display: grid;
  gap: 1rem;
}

.portfolio-category.is-hidden {
  display: none;
}

.portfolio-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(40, 50, 109, .12);
}

.portfolio-category-head span {
  color: var(--gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-category-head h2 {
  max-width: 34rem;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.45rem, 2.3vw, 2.3rem);
  text-align: right;
}

.portfolio-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-media {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 175, 55, .28), transparent 7rem),
    linear-gradient(135deg, var(--blue), var(--blue-2));
  text-decoration: none;
}

.portfolio-card img.portfolio-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform .55s ease, filter .55s ease;
}

.portfolio-fallback {
  display: grid;
  gap: .6rem;
  place-items: center;
  color: var(--white);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
}

.portfolio-fallback img {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: contain;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: end start;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 28%, rgba(3, 8, 18, .84));
  color: var(--white);
  font-weight: 950;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus-within .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover img.portfolio-img,
.portfolio-card:focus-within img.portfolio-img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.05);
}

.portfolio-img.is-missing {
  display: none;
}

.portfolio-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.portfolio-body p {
  flex: 1;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1.5rem;
}

.filter-bar button {
  min-height: 2.65rem;
  padding: 0 1rem;
  border: 1px solid rgba(11, 30, 60, .13);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.filter-bar button:hover,
.filter-bar button.is-active {
  border-color: rgba(212, 175, 55, .7);
  background: rgba(212, 175, 55, .16);
  color: var(--blue);
  transform: translateY(-1px);
}

.logo-marquee {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.logo-marquee div {
  display: flex;
  width: max-content;
  gap: .8rem;
  animation: marquee 42s linear infinite;
}

.logo-marquee:hover div {
  animation-play-state: paused;
}

.logo-marquee figure,
.partner-card {
  display: grid;
  flex: 0 0 10rem;
  min-width: 10rem;
  min-height: 7rem;
  margin: 0;
  place-items: center;
  padding: 1rem;
}

.logo-marquee img,
.partner-card img {
  max-width: 8rem;
  max-height: 4.5rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.logo-marquee figure:hover img,
.partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.partner-card {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.business-preview {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(212, 175, 55, .14), transparent 24rem),
    linear-gradient(135deg, var(--night), var(--blue));
  color: var(--white);
}

.business-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
}

.stat-band,
.cta-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
  background: var(--night);
}

.stat-band article {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: rgba(255, 255, 255, .055);
}

.stat-band strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.stat-band span {
  color: rgba(255, 255, 255, .72);
}

.cta-band {
  grid-template-columns: 1fr auto;
  align-items: center;
  background:
    radial-gradient(circle at 88% 16%, rgba(212, 175, 55, .16), transparent 22rem),
    linear-gradient(135deg, var(--blue), var(--night));
}

.cta-band h2 {
  color: var(--white);
}

.expertise-detail {
  display: grid;
  gap: 1.2rem;
}

.expertise-row {
  display: grid;
  grid-template-columns: minmax(16rem, .7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.expertise-row figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.expertise-row img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline article {
  padding: 1.4rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--light);
}

.timeline span {
  color: var(--gold);
  font-weight: 950;
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: center;
}

.blog-card div {
  padding: 1.1rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .6fr);
  gap: 1rem;
  background: var(--light);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: .45rem;
  color: var(--blue);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: .95rem 1rem;
  background: var(--white);
  color: var(--blue);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 175, 55, .76);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .12);
}

.contact-card {
  display: grid;
  align-content: start;
  gap: .8rem;
}

.contact-card h2 {
  margin: 0 0 .4rem;
}

.contact-card > span {
  color: var(--muted);
  font-weight: 800;
}

.map-block {
  display: grid;
  min-height: 12rem;
  margin-top: 1rem;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 42%, rgba(212, 175, 55, .32), transparent 6rem),
    linear-gradient(90deg, rgba(40, 50, 109, .11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 50, 109, .11) 1px, transparent 1px),
    var(--light);
  background-size: auto, 2rem 2rem, 2rem 2rem, auto;
  text-align: center;
}

.map-block span {
  color: var(--blue);
}

.map-block strong {
  color: var(--gold);
}

.chatbot-widget {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: .8rem;
  color: var(--white);
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 12.5rem;
  border: 1px solid rgba(233, 161, 36, .42);
  border-radius: 999px;
  padding: .78rem 1rem .78rem .82rem;
  background: linear-gradient(135deg, rgba(7, 11, 27, .94), rgba(40, 50, 109, .94));
  color: var(--white);
  box-shadow: 0 1.2rem 3.2rem rgba(4, 9, 20, .35), 0 0 1.6rem rgba(233, 161, 36, .14);
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
  border-color: rgba(244, 193, 94, .9);
  box-shadow: 0 1.4rem 3.5rem rgba(4, 9, 20, .42), 0 0 2.1rem rgba(233, 161, 36, .2);
  transform: translateY(-2px);
}

.chatbot-toggle span:last-child {
  display: grid;
  gap: .12rem;
  text-align: left;
}

.chatbot-toggle strong {
  font-size: .86rem;
  line-height: 1;
}

.chatbot-toggle small {
  color: rgba(255, 255, 255, .68);
  font-size: .68rem;
  font-weight: 800;
}

.chatbot-orb {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, var(--white), transparent 18%),
    linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 0 .38rem rgba(233, 161, 36, .14), 0 0 1.4rem rgba(233, 161, 36, .35);
}

.chatbot-orb::after {
  content: "";
  position: absolute;
  right: .25rem;
  bottom: .25rem;
  width: .55rem;
  height: .55rem;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: #22c55e;
}

.chatbot-panel {
  display: grid;
  width: min(23rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100svh - 7rem));
  overflow: hidden;
  border: 1px solid rgba(233, 161, 36, .28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0, rgba(233, 161, 36, .14), transparent 12rem),
    linear-gradient(145deg, rgba(7, 11, 27, .98), rgba(17, 23, 53, .98));
  box-shadow: 0 1.7rem 4.2rem rgba(4, 9, 20, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .28s ease, transform .28s ease;
}

.chatbot-widget.is-open .chatbot-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.chatbot-head div {
  display: grid;
  gap: .2rem;
}

.chatbot-head span,
.chatbot-route {
  color: var(--gold-2);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chatbot-head strong {
  font-size: 1rem;
  line-height: 1.25;
}

.chatbot-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
}

.chatbot-channels,
.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .8rem 1rem 0;
}

.chatbot-channels a,
.chatbot-channels button,
.chatbot-quick button,
.chatbot-form button {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .58rem .72rem;
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.chatbot-channels a:hover,
.chatbot-channels button:hover,
.chatbot-quick button:hover,
.chatbot-form button:hover {
  border-color: rgba(233, 161, 36, .68);
  background: rgba(233, 161, 36, .16);
  transform: translateY(-1px);
}

.chatbot-messages {
  display: grid;
  gap: .55rem;
  min-height: 10rem;
  max-height: 18rem;
  overflow: auto;
  padding: 1rem;
}

.chatbot-message {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  border-radius: 16px;
  padding: .75rem .85rem;
  font-size: .86rem;
  line-height: 1.45;
}

.chatbot-message.bot {
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .86);
}

.chatbot-message.user {
  justify-self: end;
  border-bottom-right-radius: 5px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--night);
  font-weight: 800;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: .85rem 1rem 1rem;
}

.chatbot-form input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: .78rem .9rem;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  outline: none;
}

.chatbot-form input::placeholder {
  color: rgba(255, 255, 255, .54);
}

.chatbot-form input:focus {
  border-color: rgba(233, 161, 36, .72);
  box-shadow: 0 0 0 4px rgba(233, 161, 36, .12);
}

.chatbot-form button {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--night);
}

.chatbot-route {
  display: block;
  padding: 0 1rem 1rem;
  text-decoration: none;
}

.article-body {
  max-width: 58rem;
  margin: 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(16rem, 1.2fr) repeat(3, minmax(0, .8fr));
  gap: 2rem;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 6vw, 6rem) 2rem;
  background:
    radial-gradient(circle at 16% 8%, rgba(212, 175, 55, .12), transparent 22rem),
    linear-gradient(135deg, var(--night), var(--black));
  color: var(--white);
}

.footer-brand h2 {
  margin: 1rem 0 .2rem;
  color: var(--white);
}

.footer-brand p,
.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, .72);
}

.site-footer h3 {
  margin: 0 0 .9rem;
  color: var(--white);
}

.site-footer a {
  display: block;
  margin: .55rem 0;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-bottom a {
  color: var(--gold-2);
}

.footer-address {
  display: block;
  margin: .55rem 0 .2rem;
  color: rgba(255, 255, 255, .72);
}

.footer-route {
  color: var(--gold-2) !important;
  font-weight: 900;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1180px) {
  .main-nav {
    gap: .65rem;
  }

  .main-nav a {
    font-size: .82rem;
  }

  .portfolio-grid,
  .expertise-grid,
  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
  }

  .site-header.is-open .main-nav {
    max-height: 80svh;
    padding: .8rem 0 .2rem;
    opacity: 1;
  }

  .main-nav a {
    padding: .85rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    font-size: .95rem;
  }

  .hero-home,
  .page-hero,
  .business-preview,
  .contact-section,
  .expertise-row {
    grid-template-columns: 1fr;
  }

  .hero-home,
  .page-hero {
    min-height: auto;
    padding-top: 5.2rem;
  }

  .chatbot-widget {
    right: .85rem;
    bottom: .85rem;
  }

  .chatbot-toggle {
    min-width: auto;
    padding-right: .9rem;
  }

  .expertise-grid,
  .feature-grid,
  .triple-grid,
  .team-grid,
  .case-grid,
  .blog-grid,
  .timeline,
  .stat-band,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portfolio-category-head {
    align-items: start;
    flex-direction: column;
  }

  .portfolio-category-head h2 {
    text-align: left;
  }

  .split-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-home h1,
  .hero-home h2,
  .page-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 13vw, 3.75rem);
    line-height: .96;
  }

  .hero-home,
  .page-hero,
  .section,
  .business-preview,
  .stat-band,
  .cta-band,
  .site-footer {
    padding-inline: 1rem;
  }

  .cta-row {
    display: grid;
  }

  .btn,
  .header-cta {
    width: 100%;
    white-space: normal;
  }

  .portfolio-grid {
    gap: .85rem;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar button {
    min-height: 2.85rem;
    padding-inline: .65rem;
    font-size: .78rem;
  }

  .portfolio-body {
    padding: .85rem;
  }

  .portfolio-card h3 {
    font-size: 1rem;
  }

  .portfolio-card p {
    font-size: .88rem;
  }

  .feature-grid,
  .triple-grid,
  .team-grid,
  .case-grid,
  .blog-grid,
  .timeline,
  .stat-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 390px) {
  .portfolio-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Version 1.3 final hard override: FAMEEN palette wins last */
:root {
  --blue: #28326D;
  --blue-2: #28326D;
  --night: #28326D;
  --black: #20295F;
  --gold: #E9A124;
  --gold-2: #E9A124;
}

body {
  color: #28326D;
}

.et_pb_section[class*="fameen-"],
.et_pb_section[class*="fameen-"] .et_pb_row,
.et_pb_section[class*="fameen-"] .et_pb_column,
.et_pb_section[class*="fameen-"] .et_pb_module,
.et_pb_section[class*="fameen-"] .et_pb_text_inner {
  width: 100% !important;
  max-width: none !important;
}

.et_pb_section[class*="fameen-"],
.et_pb_section[class*="fameen-"] .et_pb_row {
  padding: 0 !important;
}

.fameen-full-page .section,
.fameen-full-page .hero-home,
.fameen-full-page .business-preview,
.hero-home.hero-slider,
.hero-slides,
.hero-slide {
  min-height: 100svh;
}

.hero-cinematic,
.dark-section,
.business-preview,
.logo-wall-section,
.site-footer,
.cta-band,
.stat-band,
.fameen-divi-header .nav-submenu,
.fameen-divi-header .main-nav,
.chatbot-toggle,
.chatbot-panel {
  background:
    radial-gradient(circle at 82% 12%, rgba(233, 161, 36, .18), transparent 24rem),
    linear-gradient(135deg, #28326D 0%, #20295F 58%, #28326D 100%) !important;
}

.fameen-divi-header,
.fameen-divi-header.is-scrolled {
  background: rgba(40, 50, 109, .92) !important;
  border-color: rgba(233, 161, 36, .26) !important;
}

.btn-gold,
.chatbot-form button {
  background: #E9A124 !important;
  color: #28326D !important;
}

.eyebrow,
.card-index,
.card-kpi,
.authority-strip strong,
.stat-band strong,
.portfolio-body span,
.blog-card span,
.team-card span,
.intro-panels span,
.method-card span,
.footer-route,
.fameen-divi-header .nav-dropdown > a::after {
  color: #E9A124 !important;
}

.premium-card::before,
.portfolio-card::before,
.blog-card::before,
.contact-card::before {
  background: #E9A124 !important;
}

.section-head h2,
.business-copy h2,
.premium-card h3,
.portfolio-card h3,
.blog-card h3,
.method-card h3,
.intro-panels h3,
.contact-card h2 {
  color: #28326D;
}

.dark-section .section-head h2,
.dark-section .section-head p,
.dark-section .premium-card h3,
.logo-wall-section .section-head h2,
.logo-wall-section .section-head p,
.business-preview h2,
.business-preview p,
.cta-band h2,
.site-footer h3 {
  color: #FFFFFF !important;
}

.section,
.page-hero,
.business-preview,
.stat-band,
.cta-band {
  width: 100%;
  padding: clamp(4rem, 6vw, 6.5rem) clamp(1.2rem, 6vw, 7rem);
}

.hero-slide {
  padding: clamp(6.5rem, 8vw, 8rem) clamp(1.2rem, 6vw, 7rem) clamp(3.5rem, 5vw, 5.5rem);
}

.hero-slide h1,
.hero-slide h2,
.page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.portfolio-grid,
.portfolio-grid-compact,
.portfolio-editorial .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card img.portfolio-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .fameen-full-page .section,
  .fameen-full-page .hero-home,
  .fameen-full-page .business-preview,
  .hero-home.hero-slider,
  .hero-slides,
  .hero-slide {
    min-height: auto;
  }

  .portfolio-grid,
  .portfolio-grid-compact,
  .portfolio-editorial .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Version 1.3: strict FAMEEN brand palette + full-page sections */
:root {
  --blue: #28326D;
  --blue-2: #28326D;
  --night: #28326D;
  --black: #1C2456;
  --gold: #E9A124;
  --gold-2: #E9A124;
  --white: #FFFFFF;
  --light: #F7F8FC;
  --muted: #6B7280;
  --line: rgba(255, 255, 255, .16);
  --ink-line: rgba(40, 50, 109, .14);
  --shadow: 0 1.25rem 3rem rgba(40, 50, 109, .14);
}

body {
  background: #FFFFFF;
  color: #28326D;
}

.et_pb_section[class*="fameen-"] {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.et_pb_section[class*="fameen-"] .et_pb_row {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.et_pb_section[class*="fameen-"] .et_pb_column,
.et_pb_section[class*="fameen-"] .et_pb_module,
.et_pb_section[class*="fameen-"] .et_pb_text_inner {
  width: 100% !important;
  max-width: none !important;
}

.fameen-full-page .section,
.fameen-full-page .hero-home,
.fameen-full-page .business-preview {
  min-height: 100svh;
}

.section,
.page-hero,
.business-preview,
.stat-band,
.cta-band {
  width: 100%;
  padding: clamp(4rem, 6vw, 6.5rem) clamp(1.2rem, 6vw, 7rem);
}

.hero-home.hero-slider,
.hero-slides {
  min-height: 100svh;
}

.hero-slide {
  min-height: 100svh;
  padding: clamp(6.5rem, 8vw, 8rem) clamp(1.2rem, 6vw, 7rem) clamp(3.5rem, 5vw, 5.5rem);
}

.hero-cinematic,
.dark-section,
.business-preview,
.logo-wall-section,
.site-footer,
.cta-band,
.stat-band {
  background:
    radial-gradient(circle at 82% 12%, rgba(233, 161, 36, .18), transparent 24rem),
    linear-gradient(135deg, #28326D 0%, #20295F 58%, #28326D 100%) !important;
}

.hero-cinematic::before,
.page-hero::before,
.dark-section::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .045) 1px, transparent 1px) !important;
  background-size: 4.5rem 4.5rem !important;
}

.hero-cinematic::after {
  background:
    linear-gradient(118deg, transparent 18%, rgba(233, 161, 36, .20) 19%, transparent 20% 100%),
    linear-gradient(72deg, transparent 64%, rgba(255, 255, 255, .11) 65%, transparent 66% 100%) !important;
}

.fameen-divi-header {
  background: rgba(40, 50, 109, .82) !important;
  border-color: rgba(233, 161, 36, .22);
}

.fameen-divi-header.is-scrolled {
  background: rgba(40, 50, 109, .94) !important;
}

.fameen-divi-header .nav-submenu,
.fameen-divi-header .main-nav {
  background: rgba(40, 50, 109, .98);
}

.hero-slide h1,
.hero-slide h2,
.page-hero h1 {
  max-width: 14ch;
  color: #FFFFFF;
  font-size: clamp(3rem, 6vw, 6.2rem);
  letter-spacing: 0;
}

.hero-slide p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, .84);
}

.btn-gold,
.chatbot-form button {
  background: #E9A124 !important;
  color: #28326D !important;
  box-shadow: 0 .9rem 2rem rgba(233, 161, 36, .24);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  box-shadow: 0 1rem 2.6rem rgba(233, 161, 36, .34), 0 0 0 4px rgba(233, 161, 36, .12);
}

.btn-ghost,
.btn-ghost-dark {
  border-color: rgba(233, 161, 36, .55);
  color: #E9A124 !important;
}

.section-head h2,
.business-copy h2,
.cta-band h2,
.premium-card h3,
.portfolio-card h3,
.blog-card h3,
.method-card h3,
.intro-panels h3 {
  color: #28326D;
}

.dark-section .section-head h2,
.dark-section .section-head p,
.dark-section .premium-card h3,
.logo-wall-section .section-head h2,
.logo-wall-section .section-head p,
.business-preview h2,
.business-preview p,
.cta-band h2 {
  color: #FFFFFF !important;
}

.premium-card,
.portfolio-card,
.blog-card,
.contact-card,
.contact-form,
.method-card,
.intro-panels article {
  border-color: rgba(40, 50, 109, .13);
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 1.15rem 2.8rem rgba(40, 50, 109, .13);
}

.dark-section .premium-card {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.premium-card::before,
.portfolio-card::before,
.blog-card::before,
.contact-card::before {
  background: #E9A124;
}

.card-index,
.authority-strip strong,
.stat-band strong,
.eyebrow,
.card-kpi,
.portfolio-body span,
.blog-card span,
.team-card span,
.intro-panels span,
.method-card span,
.footer-route {
  color: #E9A124 !important;
}

.authority-strip {
  min-height: auto;
  background: #28326D;
}

.luxury-intro {
  align-content: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(233, 161, 36, .10), transparent 22rem),
    #FFFFFF;
}

.method-section,
.portfolio-home {
  display: grid;
  align-content: center;
  background: #F7F8FC;
}

.logo-wall-section {
  display: grid;
  align-content: center;
}

.logo-wall-section .logo-marquee {
  border-color: rgba(233, 161, 36, .24);
  background: rgba(255, 255, 255, .09);
}

.logo-wall-section .logo-marquee figure {
  min-height: 7.5rem;
}

.logo-wall-section .logo-marquee img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .84;
}

.logo-wall-section .logo-marquee figure:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.portfolio-grid,
.portfolio-grid-compact,
.portfolio-editorial .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.portfolio-card img.portfolio-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.saas-preview {
  align-content: center;
}

.chatbot-toggle,
.chatbot-panel {
  background: #28326D !important;
  border-color: rgba(233, 161, 36, .32);
}

@media (max-width: 980px) {
  .fameen-full-page .section,
  .fameen-full-page .hero-home,
  .fameen-full-page .business-preview,
  .hero-home.hero-slider,
  .hero-slides,
  .hero-slide {
    min-height: auto;
  }

  .section,
  .page-hero,
  .business-preview,
  .stat-band,
  .cta-band {
    padding: clamp(3rem, 8vw, 4.5rem) 1rem;
  }

  .hero-slide {
    padding: 6.5rem 1rem 3rem;
  }

  .portfolio-grid,
  .portfolio-grid-compact,
  .portfolio-editorial .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* WordPress / Divi production hardening */
#footer-info,
#footer-bottom,
.et-social-icons,
.et_pb_widget_area .widget_archive,
.et_pb_widget_area .widget_categories,
.et_pb_widget_area .widget_meta,
.widget_archive,
.widget_categories,
.widget_meta {
  display: none !important;
}

#main-header,
.et-l--header,
.fameen-divi-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 11, 27, .78) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 1rem 3rem rgba(4, 9, 20, .18);
}

#top-menu > li > a,
.et-menu a,
.fameen-divi-header nav a {
  color: rgba(255, 255, 255, .82) !important;
  font-weight: 850;
  letter-spacing: 0;
}

#top-menu li.current-menu-item > a,
#top-menu a:hover,
.et-menu a:hover,
.fameen-divi-header nav a:hover {
  color: var(--gold-2) !important;
}

.nav li ul,
.et-menu-nav li ul {
  border: 1px solid rgba(233, 161, 36, .18) !important;
  border-radius: 14px;
  background: rgba(7, 11, 27, .94) !important;
  box-shadow: 0 1.2rem 3rem rgba(4, 9, 20, .32);
  backdrop-filter: blur(18px);
}

.nav li ul a,
.et-menu-nav li ul a {
  color: rgba(255, 255, 255, .78) !important;
}

.fameen-news-grid {
  max-width: 76rem;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fameen-news-grid .blog-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.fameen-news-grid .blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.premium-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(233, 161, 36, .18), transparent 35%, rgba(40, 50, 109, .14));
  opacity: 0;
  transition: opacity .35s ease;
}

.premium-card:hover::after {
  opacity: 1;
}

@media (max-width: 980px) {
  .fameen-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fameen-news-grid {
    grid-template-columns: 1fr;
  }

  .fameen-divi-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Dense premium pass: remove unfinished-looking vertical gaps */
.et_pb_section,
.et-l .et_pb_section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero-home,
.page-hero {
  min-height: clamp(34rem, 76svh, 44rem);
  padding-top: clamp(4.4rem, 6vw, 5.8rem);
  padding-bottom: clamp(3.4rem, 5vw, 5rem);
}

.hero-dashboard,
.page-hero-visual {
  min-height: clamp(21rem, 42vw, 34rem);
}

.hero-dashboard img,
.page-hero-visual img,
.business-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding-top: clamp(4.4rem, 6vw, 5.6rem);
  padding-bottom: clamp(4.4rem, 6vw, 5.6rem);
}

.section-head {
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.partners-home,
.portfolio-home {
  padding-top: clamp(3.6rem, 5vw, 4.6rem);
  padding-bottom: clamp(3.6rem, 5vw, 4.6rem);
}

.partner-grid-compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem;
}

.partner-grid-compact figure {
  min-height: 6rem;
  padding: .85rem;
}

.partner-grid-compact img {
  max-width: 7rem;
  max-height: 3.4rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .28s ease, opacity .28s ease, transform .28s ease;
}

.partner-grid-compact figure:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.portfolio-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  height: 100%;
}

.portfolio-card img.portfolio-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 18px 18px 0 0;
}

.portfolio-body p,
.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.portfolio-body h3,
.blog-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.business-preview {
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.business-copy {
  display: grid;
  align-content: center;
}

.stat-band {
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 6vw, 6rem);
}

.cta-band {
  min-height: 0;
  padding: clamp(2.1rem, 4vw, 3.2rem) clamp(1rem, 6vw, 6rem);
}

.cta-band h2 {
  max-width: 52rem;
  font-size: clamp(1.65rem, 3vw, 3rem);
}

.site-footer {
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1fr) auto;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 6vw, 6rem) 1.2rem;
}

.site-footer h3 {
  margin-bottom: .45rem;
}

.site-footer a,
.footer-address {
  margin: .28rem 0;
}

.footer-bottom {
  padding-top: .9rem;
}

@media (max-width: 980px) {
  .section {
    padding-top: clamp(3.1rem, 6vw, 4.4rem);
    padding-bottom: clamp(3.1rem, 6vw, 4.4rem);
  }

  .portfolio-grid-compact,
  .fameen-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-home,
  .page-hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 2.7rem;
  }

  .section {
    padding-top: clamp(2.25rem, 9vw, 3.1rem);
    padding-bottom: clamp(2.25rem, 9vw, 3.1rem);
  }

  .portfolio-grid-compact,
  .fameen-news-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }
}

/* Fameen legacy-inspired modernization */
body {
  background: #F7F8FC;
  color: var(--blue);
}

body::before {
  background:
    radial-gradient(circle at 10% 0%, rgba(233, 161, 36, .16), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(40, 50, 109, .12), transparent 26rem),
    linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 46%, #FFFFFF 100%);
}

.site-header {
  border-bottom: 1px solid rgba(40, 50, 109, .10);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 .75rem 2.4rem rgba(40, 50, 109, .08);
}

.main-nav a {
  color: rgba(40, 50, 109, .82);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.menu-toggle {
  border-color: rgba(40, 50, 109, .18);
  background: rgba(40, 50, 109, .08);
}

.menu-toggle span {
  background: var(--blue);
}

.hero-home,
.page-hero {
  background:
    radial-gradient(circle at 18% 16%, rgba(233, 161, 36, .18), transparent 22rem),
    linear-gradient(110deg, #FFFFFF 0%, #FFFFFF 46%, rgba(40, 50, 109, .10) 46.2%, rgba(40, 50, 109, .06) 100%);
}

.hero-home::before,
.page-hero::before {
  background:
    linear-gradient(90deg, rgba(40, 50, 109, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 50, 109, .045) 1px, transparent 1px);
  opacity: .72;
}

.hero-home h1,
.hero-home h2,
.page-hero h1 {
  color: var(--blue);
}

.hero-home p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  color: rgba(40, 50, 109, .72);
}

.eyebrow {
  color: var(--gold);
}

.btn-gold,
.header-cta {
  background: linear-gradient(135deg, #E9A124, #F4C15E);
  color: var(--blue);
  box-shadow: 0 1rem 2.4rem rgba(233, 161, 36, .24);
}

.btn-ghost {
  border-color: rgba(40, 50, 109, .18);
  background: rgba(255, 255, 255, .72);
  color: var(--blue);
}

.hero-dashboard,
.page-hero-visual,
.business-visual {
  border-color: rgba(40, 50, 109, .10);
  background: #FFFFFF;
  box-shadow: 0 2rem 4.5rem rgba(40, 50, 109, .16);
}

.hero-dashboard::before,
.page-hero-visual::before,
.business-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(40, 50, 109, .34));
}

.metric-card {
  z-index: 2;
  border-color: rgba(255, 255, 255, .38);
  background: rgba(40, 50, 109, .86);
}

.metric-card strong {
  color: #F4C15E;
}

.section {
  background: #FFFFFF;
}

.light-section {
  background: #F5F7FA;
}

.dark-section,
.business-preview,
.stat-band,
.cta-band,
.site-footer {
  background:
    radial-gradient(circle at 86% 12%, rgba(233, 161, 36, .18), transparent 24rem),
    linear-gradient(135deg, #28326D 0%, #151B47 100%);
}

.section-head h2,
.business-copy h2,
.premium-card h3,
.team-card h3,
.portfolio-card h3,
.blog-card h3,
.contact-card h2,
.timeline h3 {
  color: var(--blue);
}

.premium-card,
.team-card,
.blog-card,
.portfolio-card,
.contact-card,
.contact-form,
.partner-card,
.timeline article,
.expertise-row {
  border-color: rgba(40, 50, 109, .10);
  background: #FFFFFF;
  box-shadow: 0 1.1rem 3rem rgba(40, 50, 109, .10);
}

.premium-card::before,
.team-card::before,
.portfolio-card::before,
.blog-card::before,
.contact-card::before {
  background: linear-gradient(90deg, #E9A124, rgba(233, 161, 36, .18));
}

.dark-section .premium-card {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .08);
}

.dark-section .premium-card h3 {
  color: #FFFFFF;
}

.premium-card:hover,
.team-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.partner-card:hover {
  border-color: rgba(233, 161, 36, .44);
  box-shadow: 0 1.7rem 4rem rgba(40, 50, 109, .16);
}

.portfolio-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(233, 161, 36, .36), transparent 7rem),
    linear-gradient(135deg, #28326D, #151B47);
}

.portfolio-overlay {
  background: linear-gradient(180deg, transparent 28%, rgba(40, 50, 109, .88));
}

.filter-bar button {
  border-color: rgba(40, 50, 109, .13);
  background: #FFFFFF;
  color: var(--blue);
}

.filter-bar button:hover,
.filter-bar button.is-active {
  border-color: rgba(233, 161, 36, .78);
  background: rgba(233, 161, 36, .16);
}

.logo-marquee,
.partner-card {
  background: #FFFFFF;
}

.map-block {
  background:
    radial-gradient(circle at 50% 42%, rgba(233, 161, 36, .32), transparent 6rem),
    linear-gradient(90deg, rgba(40, 50, 109, .09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(40, 50, 109, .09) 1px, transparent 1px),
    #F5F7FA;
  background-size: auto, 2rem 2rem, 2rem 2rem, auto;
}

.site-footer {
  color: #FFFFFF;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.footer-bottom a {
  color: #F4C15E;
}

@media (max-width: 920px) {
  .main-nav a {
    border-color: rgba(40, 50, 109, .10);
    background: rgba(40, 50, 109, .045);
  }
}

@media (max-width: 560px) {
  .hero-home,
  .page-hero {
    background:
      radial-gradient(circle at 16% 10%, rgba(233, 161, 36, .20), transparent 18rem),
      linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
  }
}

/* Compact layout and service hero slider */
.hero-home.hero-slider {
  display: block;
  min-height: 78svh;
  padding: 0;
}

.hero-slides {
  position: relative;
  min-height: 78svh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .82fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 6vw, 6rem) clamp(3.5rem, 5vw, 5.2rem);
  opacity: 0;
  pointer-events: none;
  transform: translateX(2rem);
  transition: opacity .65s ease, transform .65s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-slide .hero-content {
  max-width: 48rem;
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 5.2vw, 5.4rem);
  line-height: .98;
}

.hero-slide p:not(.eyebrow) {
  max-width: 38rem;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero-slide .cta-row {
  margin-top: 1.45rem;
}

.hero-slide .hero-dashboard img {
  aspect-ratio: 1.18 / 1;
}

.hero-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border: 1px solid rgba(40, 50, 109, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--blue);
  box-shadow: 0 .8rem 2rem rgba(40, 50, 109, .12);
  cursor: pointer;
  font-size: 1.7rem;
  font-weight: 800;
  transform: translateY(-50%);
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--gold);
  color: var(--blue);
  transform: translateY(-50%) scale(1.04);
}

.hero-arrow-prev {
  left: clamp(.7rem, 2vw, 1.35rem);
}

.hero-arrow-next {
  right: clamp(.7rem, 2vw, 1.35rem);
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: clamp(1rem, 6vw, 6rem);
  bottom: 1.45rem;
  display: flex;
  gap: .48rem;
}

.hero-dots button {
  width: .7rem;
  height: .7rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(40, 50, 109, .25);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero-dots button.is-active {
  width: 2.4rem;
  background: var(--gold);
}

.section {
  padding-top: clamp(2.6rem, 5vw, 4.8rem);
  padding-bottom: clamp(2.6rem, 5vw, 4.8rem);
}

.section-head {
  margin-bottom: clamp(1.35rem, 3vw, 2.3rem);
}

.section-head h2,
.business-copy h2,
.cta-band h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.65rem);
  line-height: 1.06;
}

.section-head p:not(.eyebrow) {
  max-width: 48rem;
  margin-top: .9rem;
}

.premium-card,
.team-card,
.contact-card {
  padding: 1.1rem;
}

.business-preview,
.stat-band,
.cta-band {
  padding-top: clamp(2.7rem, 5vw, 4.4rem);
  padding-bottom: clamp(2.7rem, 5vw, 4.4rem);
}

.expertise-grid,
.feature-grid,
.triple-grid,
.team-grid,
.case-grid,
.blog-grid,
.portfolio-grid,
.partner-grid {
  gap: .85rem;
}

@media (max-width: 920px) {
  .hero-home.hero-slider,
  .hero-slides {
    min-height: auto;
  }

  .hero-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    padding: 4.5rem 1rem 4.4rem;
    transform: none;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .hero-arrow {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .hero-arrow:hover,
  .hero-arrow:focus-visible {
    transform: scale(1.04);
  }

  .hero-arrow-prev {
    left: auto;
    right: 4.4rem;
  }

  .hero-arrow-next {
    right: 1rem;
  }

  .hero-dots {
    left: 1rem;
    bottom: 1.75rem;
  }
}

@media (max-width: 560px) {
  .hero-slide h1,
  .hero-slide h2 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 10.8vw, 3.2rem);
  }

  .hero-slide .hero-dashboard img {
    aspect-ratio: 1.08 / 1;
  }

  .section {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }
}

/* Header and footer aligned with fameengroup.com */
.site-header {
  display: block;
  padding: 0;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: .45rem clamp(1rem, 5vw, 5.5rem);
  background: #28326D;
  color: rgba(255, 255, 255, .86);
  font-size: .86rem;
  font-weight: 800;
}

.header-top span:first-child {
  margin-right: auto;
}

.header-top a {
  color: #FFFFFF;
  text-decoration: none;
}

.header-top a:last-child {
  color: #E9A124;
  font-weight: 950;
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: .65rem clamp(1rem, 5vw, 5.5rem);
  background: rgba(255, 255, 255, .96);
}

.header-main .brand img {
  width: clamp(4.8rem, 8vw, 6.4rem);
  height: 3.4rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a,
.nav-language > button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  background: transparent;
  color: rgba(40, 50, 109, .82);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.nav-dropdown > a::after,
.nav-language > button::after {
  content: "▾";
  color: #E9A124;
  font-size: .68rem;
  transform: translateY(1px);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + .9rem);
  left: 50%;
  z-index: 30;
  min-width: 14rem;
  padding: .55rem;
  border: 1px solid rgba(40, 50, 109, .10);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 1.4rem 3rem rgba(40, 50, 109, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, .45rem);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: .72rem .82rem;
  border-radius: 10px;
  color: rgba(40, 50, 109, .78);
  font-size: .88rem;
  line-height: 1.2;
  text-decoration: none;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(233, 161, 36, .13);
  color: #28326D;
}

.nav-language .nav-submenu {
  min-width: 7rem;
}

.header-cta {
  display: none;
}

.site-footer {
  grid-template-columns: minmax(16rem, 1.2fr) repeat(5, minmax(0, .8fr));
  gap: 1.6rem;
}

.footer-brand p {
  max-width: 24rem;
}

.site-footer h3 {
  color: #E9A124;
}

.site-footer a {
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: .25rem;
    padding: .5rem 1rem;
  }

  .header-top span:first-child {
    margin-right: 0;
  }

  .header-main {
    grid-template-columns: auto auto;
    gap: 1rem;
    padding: .7rem 1rem;
  }

  .main-nav {
    grid-column: 1 / -1;
  }

  .nav-dropdown > a,
  .nav-language > button {
    width: 100%;
    justify-content: space-between;
    padding: .85rem;
    border: 1px solid rgba(40, 50, 109, .10);
    border-radius: 12px;
    background: rgba(40, 50, 109, .045);
  }

  .nav-submenu {
    position: static;
    display: grid;
    gap: .2rem;
    min-width: 0;
    margin-top: .35rem;
    border: 0;
    border-left: 2px solid rgba(233, 161, 36, .45);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-submenu a {
    border: 0;
    background: transparent;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .header-top {
    font-size: .78rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

/* Premium audit corrections */
.site-footer {
  grid-template-columns: minmax(14rem, 1.1fr) minmax(10rem, .75fr) minmax(14rem, 1fr) auto;
  align-items: start;
  padding-block: clamp(2.4rem, 5vw, 4.2rem) 1.4rem;
  background:
    radial-gradient(circle at 12% 12%, rgba(233, 161, 36, .12), transparent 20rem),
    linear-gradient(135deg, #05070B, #141A46 62%, #28326D);
}

.footer-brand h2,
.site-footer h3 {
  margin-top: 0;
}

.footer-brand p {
  color: rgba(255, 255, 255, .76);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: .65rem;
  justify-content: flex-end;
}

.footer-social a {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  color: #FFFFFF;
  font-size: .9rem;
  font-weight: 950;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: #E9A124;
  color: #28326D;
  transform: translateY(-2px);
}

.footer-bottom {
  font-size: .88rem;
}

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

.portfolio-card {
  height: 100%;
  border-radius: 18px;
}

.portfolio-media,
.portfolio-card img.portfolio-img {
  border-radius: 18px 18px 0 0;
}

.portfolio-card img.portfolio-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 18px 18px 0 0;
}

.portfolio-body {
  min-height: 13.5rem;
}

.blog-grid {
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  max-width: 100%;
}

.blog-card img {
  aspect-ratio: 1.35 / 1;
}

.blog-card h3 {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.service-benefits {
  max-width: 68rem;
}

.service-benefits span {
  padding: .78rem 1rem;
  border: 1px solid rgba(40, 50, 109, .10);
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 .7rem 1.8rem rgba(40, 50, 109, .08);
}

.page-hero-visual img,
.hero-dashboard img,
.business-visual img {
  min-height: 22rem;
}

@media (max-width: 920px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .blog-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .portfolio-body {
    min-height: auto;
  }
}

/* Fluid digital animation direction */
.hero-home.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(233, 161, 36, .18) 0 .12rem, transparent .14rem),
    radial-gradient(circle at 72% 18%, rgba(40, 50, 109, .22) 0 .1rem, transparent .13rem),
    radial-gradient(circle at 84% 74%, rgba(233, 161, 36, .14) 0 .11rem, transparent .14rem),
    linear-gradient(100deg, transparent 0 18%, rgba(233, 161, 36, .10) 20%, transparent 24% 58%, rgba(40, 50, 109, .10) 62%, transparent 68%);
  background-size: 18rem 18rem, 22rem 22rem, 20rem 20rem, 180% 100%;
  opacity: .72;
  animation: digitalDrift 18s linear infinite;
}

.hero-slide {
  z-index: 1;
}

.hero-slide .eyebrow,
.hero-slide h1,
.hero-slide h2,
.hero-slide p:not(.eyebrow),
.hero-slide .cta-row {
  opacity: 0;
  transform: translateY(1rem);
}

.hero-slide.is-active .eyebrow {
  animation: fadeUpPremium .72s ease forwards .08s;
}

.hero-slide.is-active h1,
.hero-slide.is-active h2 {
  animation: fadeUpPremium .8s ease forwards .18s;
}

.hero-slide.is-active p:not(.eyebrow) {
  animation: fadeUpPremium .82s ease forwards .28s;
}

.hero-slide.is-active .cta-row {
  animation: fadeUpPremium .82s ease forwards .38s;
}

.hero-slide.is-active .hero-dashboard {
  animation: visualFloatIn .9s ease forwards, subtleFloat 7s ease-in-out infinite 1s;
}

.hero-dashboard::after,
.page-hero-visual::after,
.business-visual::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 36%, rgba(255, 255, 255, .20), transparent 54%);
  transform: translateX(-55%) rotate(8deg);
  animation: softScan 7s ease-in-out infinite;
}

.metric-card,
.premium-card,
.team-card,
.portfolio-card,
.blog-card,
.partner-card,
.contact-card {
  will-change: transform;
}

.reveal {
  transition-delay: var(--reveal-delay, 0ms);
}

.premium-card,
.team-card,
.blog-card,
.portfolio-card,
.partner-card,
.contact-card,
.filter-bar button,
.footer-social a {
  transition-duration: .38s;
  transition-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.premium-card:hover,
.team-card:hover,
.blog-card:hover,
.portfolio-card:hover,
.partner-card:hover,
.contact-card:hover {
  box-shadow: 0 1.7rem 4rem rgba(40, 50, 109, .16), 0 0 0 1px rgba(233, 161, 36, .16), 0 0 2rem rgba(233, 161, 36, .08);
}

.premium-card:hover .card-index,
.premium-card:focus-within .card-index {
  animation: iconPulse .62s ease;
}

.portfolio-card.is-filtering {
  animation: filterSettle .34s ease;
}

.portfolio-body a,
.blog-card a,
.premium-card a,
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  width: fit-content;
}

.portfolio-body a::after,
.blog-card a::after,
.premium-card a::after,
.text-link::after,
.btn::after {
  content: "→";
  display: inline-block;
  transition: transform .25s ease;
}

.portfolio-body a:hover::after,
.blog-card a:hover::after,
.premium-card a:hover::after,
.text-link:hover::after,
.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(.25rem);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .32), transparent 58%);
  opacity: 0;
  transition: opacity .28s ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
}

.main-nav > a,
.nav-dropdown > a,
.nav-language > button {
  position: relative;
}

.main-nav > a::before,
.nav-dropdown > a::before,
.nav-language > button::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.42rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #E9A124;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.main-nav > a:hover::before,
.main-nav > a:focus-visible::before,
.main-nav > a[aria-current="page"]::before,
.nav-dropdown:hover > a::before,
.nav-dropdown:focus-within > a::before,
.nav-language:hover > button::before,
.nav-language:focus-within > button::before {
  transform: scaleX(1);
}

.nav-submenu {
  transform-origin: top center;
}

.blog-card:hover img,
.blog-card:focus-within img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02);
}

.blog-card img {
  transition: transform .55s ease, filter .55s ease;
}

.stat-band article {
  position: relative;
  overflow: hidden;
}

.stat-band article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #E9A124, rgba(255, 255, 255, .18));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .75s ease .2s;
}

.stat-band article.is-visible::after {
  transform: scaleX(1);
}

@keyframes fadeUpPremium {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visualFloatIn {
  from {
    opacity: 0;
    transform: translateY(1.2rem) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-.55rem);
  }
}

@keyframes digitalDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 18rem 9rem, -12rem 8rem, 10rem -8rem, 100% 0;
  }
}

@keyframes softScan {
  0%, 28% {
    transform: translateX(-60%) rotate(8deg);
    opacity: 0;
  }
  42% {
    opacity: .6;
  }
  62%, 100% {
    transform: translateX(62%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.09) rotate(-3deg);
  }
}

@keyframes filterSettle {
  from {
    opacity: .35;
    transform: translateY(.6rem) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Version 1.2: cinematic premium layer */
body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.btn,
.eyebrow,
.fameen-divi-header {
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

.fameen-divi-header {
  left: 0;
  right: 0;
  margin: .7rem auto 0;
  width: min(118rem, calc(100% - 1.4rem));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(7, 11, 27, .62) !important;
  box-shadow: 0 1rem 3rem rgba(4, 9, 20, .18);
  transition: padding .28s ease, background .28s ease, box-shadow .28s ease, transform .28s ease;
}

.fameen-divi-header.is-scrolled {
  padding-top: .58rem;
  padding-bottom: .58rem;
  background: rgba(7, 11, 27, .86) !important;
  box-shadow: 0 1.2rem 3.5rem rgba(4, 9, 20, .28);
}

.fameen-divi-header .menu-toggle {
  display: none;
}

.fameen-divi-header .header-quote {
  white-space: nowrap;
}

.btn {
  border-radius: 999px;
  box-shadow: 0 .9rem 2.2rem rgba(233, 161, 36, .16);
}

.btn-gold {
  background: linear-gradient(135deg, #E9A124, #F4C15E 52%, #D58A14);
  color: #111735 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .22);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.hero-cinematic {
  background:
    radial-gradient(circle at 76% 18%, rgba(233, 161, 36, .24), transparent 23rem),
    radial-gradient(circle at 20% 12%, rgba(74, 96, 255, .20), transparent 25rem),
    linear-gradient(135deg, #070B1B 0%, #111735 42%, #28326D 100%);
}

.hero-cinematic::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 50% 30%, rgba(233, 161, 36, .10), transparent 19rem);
  background-size: 4.2rem 4.2rem, 4.2rem 4.2rem, auto;
  animation: digitalDrift 26s linear infinite;
}

.hero-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 18%, rgba(233, 161, 36, .18) 19%, transparent 20% 100%),
    linear-gradient(72deg, transparent 64%, rgba(255, 255, 255, .11) 65%, transparent 66% 100%);
  opacity: .72;
  animation: softScan 8s ease-in-out infinite;
}

.hero-lights {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-lights span {
  position: absolute;
  width: min(22rem, 42vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 161, 36, .8), transparent);
  box-shadow: 0 0 1.4rem rgba(233, 161, 36, .4);
  transform: rotate(-18deg);
  animation: lightLine 12s ease-in-out infinite;
}

.hero-lights span:nth-child(1) {
  top: 22%;
  left: 6%;
}

.hero-lights span:nth-child(2) {
  top: 58%;
  right: 10%;
  animation-delay: -4s;
}

.hero-lights span:nth-child(3) {
  bottom: 18%;
  left: 38%;
  animation-delay: -7s;
}

.hero-slide {
  z-index: 2;
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 13.5ch;
  font-size: clamp(2.85rem, 6.15vw, 6.65rem);
  line-height: .91;
}

.hero-slide p:not(.eyebrow) {
  max-width: 43rem;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  font-weight: 800;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.35rem;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .48rem .72rem;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .76);
  font-size: .78rem;
  font-weight: 900;
}

.cinematic-frame {
  border-radius: 28px;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  animation: subtleFloat 6s ease-in-out infinite;
}

.cinematic-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 32%, rgba(233, 161, 36, .18));
  mix-blend-mode: screen;
}

.floating-ui {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: .2rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  padding: .82rem .95rem;
  background: rgba(7, 11, 27, .70);
  color: #fff;
  backdrop-filter: blur(16px);
}

.floating-ui strong {
  color: var(--gold-2);
  font-size: 1.3rem;
}

.floating-ui span {
  color: rgba(255, 255, 255, .74);
  font-size: .78rem;
  font-weight: 900;
}

.floating-ui-top {
  top: 1rem;
  left: 1rem;
}

.floating-ui-bottom {
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: .45rem;
}

.authority-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1rem, 6vw, 6rem);
  background: #080D22;
}

.authority-strip article,
.intro-panels article,
.method-card {
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  box-shadow: 0 1.4rem 3rem rgba(4, 9, 20, .16);
}

.authority-strip article {
  padding: 1rem;
}

.authority-strip strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1;
}

.authority-strip span {
  color: rgba(255, 255, 255, .74);
  font-size: .82rem;
  font-weight: 800;
}

.luxury-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(18rem, .85fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
}

.intro-panels,
.method-grid {
  display: grid;
  gap: .85rem;
}

.intro-panels article,
.method-card {
  padding: 1.15rem;
  background:
    radial-gradient(circle at 90% 0, rgba(233, 161, 36, .15), transparent 12rem),
    #FFFFFF;
  border-color: rgba(40, 50, 109, .10);
}

.intro-panels span,
.method-card span,
.card-kpi {
  color: var(--gold);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.intro-panels h3,
.method-card h3 {
  margin: .35rem 0 .35rem;
  color: var(--blue);
}

.method-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(233, 161, 36, .12), transparent 20rem),
    linear-gradient(180deg, #FFFFFF, #F5F7FA);
}

.method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.expertise-card {
  min-height: 24rem;
}

.expertise-card .card-kpi {
  display: block;
  margin-bottom: .85rem;
}

.expertise-card::after {
  opacity: .32;
}

.logo-wall-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(233, 161, 36, .11), transparent 20rem),
    #070B1B;
}

.logo-wall-section .section-head h2,
.logo-wall-section .section-head p {
  color: #FFFFFF;
}

.logo-wall-section .logo-marquee {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045), 0 1.4rem 3.2rem rgba(4, 9, 20, .24);
}

.logo-wall-section .logo-marquee div {
  gap: 0;
  animation-duration: 54s;
}

.logo-wall-section .logo-marquee figure {
  min-height: 6.3rem;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
}

.logo-wall-section .logo-marquee img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .70;
}

.portfolio-editorial .portfolio-grid,
.portfolio-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.portfolio-editorial .portfolio-card:nth-child(1),
.portfolio-editorial .portfolio-card:nth-child(4) {
  grid-row: span 2;
}

.portfolio-editorial .portfolio-card:nth-child(1) .portfolio-media,
.portfolio-editorial .portfolio-card:nth-child(4) .portfolio-media {
  aspect-ratio: 1 / 1.22;
}

.portfolio-card {
  border-radius: 22px;
}

.portfolio-media {
  border-radius: 22px 22px 0 0;
}

.portfolio-overlay {
  place-items: end start;
  gap: .25rem;
}

.portfolio-overlay strong,
.portfolio-overlay em {
  display: block;
}

.portfolio-overlay em {
  color: var(--gold-2);
  font-style: normal;
  font-size: .82rem;
}

.project-facts {
  display: grid;
  gap: .5rem;
  margin: .85rem 0;
}

.project-facts div {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: .6rem;
  align-items: baseline;
}

.project-facts dt {
  color: var(--blue);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}

.portfolio-body small {
  margin-bottom: .75rem;
  color: var(--gold);
  font-weight: 950;
}

.saas-preview {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.dashboard-mockup {
  border-radius: 28px;
}

.dashboard-mockup figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(7, 11, 27, .72);
  backdrop-filter: blur(14px);
}

.dashboard-mockup figcaption strong {
  color: var(--gold-2);
}

.dashboard-mockup figcaption span {
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
}

.mega-footer {
  grid-template-columns: minmax(18rem, 1.25fr) .72fr .9fr minmax(15rem, .85fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(2.6rem, 5vw, 4rem);
  padding-bottom: 1.2rem;
}

.footer-brand small,
.footer-newsletter p {
  display: block;
  max-width: 25rem;
  color: rgba(255, 255, 255, .64);
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}

.footer-social a {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #FFFFFF;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: rgba(233, 161, 36, .55);
  background: rgba(233, 161, 36, .16);
  transform: translateY(-2px);
}

.chatbot-toggle {
  min-width: 0;
  border-radius: 20px;
}

.chatbot-toggle::before {
  content: "AI";
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--gold-2);
  font-family: "Space Grotesk", sans-serif;
  font-size: .72rem;
  font-weight: 950;
}

@keyframes lightLine {
  0%, 100% {
    opacity: .18;
    transform: translateX(-1rem) rotate(-18deg);
  }
  50% {
    opacity: .9;
    transform: translateX(1.4rem) rotate(-18deg);
  }
}

/* Version 1.1: forced Divi header and full partners carousel */
.fameen-divi-header .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.fameen-divi-header .nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, .82) !important;
  font-weight: 850;
}

.fameen-divi-header .nav-dropdown > a::after {
  content: "▾";
  color: var(--gold);
  font-size: .68rem;
  transform: translateY(1px);
}

.fameen-divi-header .nav-submenu {
  position: absolute;
  top: calc(100% + .85rem);
  left: 50%;
  z-index: 1000;
  display: grid;
  min-width: 15rem;
  padding: .55rem;
  border: 1px solid rgba(233, 161, 36, .20);
  border-radius: 14px;
  background: rgba(7, 11, 27, .96);
  box-shadow: 0 1.4rem 3rem rgba(4, 9, 20, .28);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, .45rem);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.fameen-divi-header .nav-dropdown:hover .nav-submenu,
.fameen-divi-header .nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, 0);
}

.fameen-divi-header .nav-submenu a {
  display: block;
  padding: .72rem .82rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .86rem;
  line-height: 1.2;
  white-space: nowrap;
}

.fameen-divi-header .nav-submenu a:hover,
.fameen-divi-header .nav-submenu a:focus-visible {
  background: rgba(233, 161, 36, .13);
  color: var(--gold-2) !important;
}

.logo-marquee {
  width: 100%;
}

.logo-marquee div {
  min-width: max-content;
}

@media (max-width: 920px) {
  .fameen-divi-header {
    display: grid;
    grid-template-columns: auto auto;
    width: calc(100% - 1rem);
    padding: .55rem .7rem;
    border-radius: 18px;
  }

  .fameen-divi-header .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .fameen-divi-header .main-nav {
    position: fixed;
    inset: .5rem;
    z-index: 998;
    display: grid;
    align-content: start;
    gap: .65rem;
    padding: 6rem 1.1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(7, 11, 27, .96);
    box-shadow: 0 2rem 5rem rgba(4, 9, 20, .42);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-.6rem) scale(.98);
    transition: opacity .28s ease, transform .28s ease;
  }

  .fameen-divi-header.is-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .fameen-divi-header .main-nav > a,
  .fameen-divi-header .nav-dropdown > a {
    width: 100%;
    padding: .9rem 1rem;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .055);
    font-size: 1.08rem;
  }

  .fameen-divi-header .header-quote {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .fameen-divi-header .nav-dropdown {
    width: 100%;
    display: grid;
  }

  .fameen-divi-header .nav-submenu {
    position: static;
    min-width: 0;
    padding: .35rem 0 .35rem .8rem;
    border: 0;
    border-left: 2px solid rgba(233, 161, 36, .45);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }

  .fameen-divi-header .nav-submenu a {
    white-space: normal;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
  }

  .authority-strip,
  .luxury-intro,
  .method-grid,
  .portfolio-editorial .portfolio-grid,
  .portfolio-grid-compact,
  .mega-footer {
    grid-template-columns: 1fr;
  }

  .portfolio-editorial .portfolio-card:nth-child(1),
  .portfolio-editorial .portfolio-card:nth-child(4) {
    grid-row: auto;
  }

  .portfolio-editorial .portfolio-card:nth-child(1) .portfolio-media,
  .portfolio-editorial .portfolio-card:nth-child(4) .portfolio-media {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .hero-slide .eyebrow,
  .hero-slide h1,
  .hero-slide h2,
  .hero-slide p:not(.eyebrow),
  .hero-slide .cta-row {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Version 1.3 final brand lock: must remain last */
:root {
  --blue: #28326D;
  --blue-2: #28326D;
  --night: #28326D;
  --black: #20295F;
  --gold: #E9A124;
  --gold-2: #E9A124;
}

.et_pb_section[class*="fameen-"],
.et_pb_section[class*="fameen-"] .et_pb_row,
.et_pb_section[class*="fameen-"] .et_pb_column,
.et_pb_section[class*="fameen-"] .et_pb_module,
.et_pb_section[class*="fameen-"] .et_pb_text_inner {
  width: 100% !important;
  max-width: none !important;
}

.et_pb_section[class*="fameen-"],
.et_pb_section[class*="fameen-"] .et_pb_row {
  padding: 0 !important;
}

.fameen-full-page .section,
.fameen-full-page .hero-home,
.fameen-full-page .business-preview,
.hero-home.hero-slider,
.hero-slides,
.hero-slide {
  min-height: 100svh;
}

.hero-cinematic,
.dark-section,
.business-preview,
.logo-wall-section,
.site-footer,
.cta-band,
.stat-band,
.fameen-divi-header .nav-submenu,
.fameen-divi-header .main-nav,
.chatbot-toggle,
.chatbot-panel {
  background: linear-gradient(135deg, #28326D 0%, #20295F 58%, #28326D 100%) !important;
}

.fameen-divi-header,
.fameen-divi-header.is-scrolled {
  background: rgba(40, 50, 109, .94) !important;
  border-color: rgba(233, 161, 36, .26) !important;
}

.btn-gold,
.chatbot-form button {
  background: #E9A124 !important;
  color: #28326D !important;
}

.eyebrow,
.card-index,
.card-kpi,
.authority-strip strong,
.stat-band strong,
.portfolio-body span,
.blog-card span,
.team-card span,
.intro-panels span,
.method-card span,
.footer-route,
.fameen-divi-header .nav-dropdown > a::after {
  color: #E9A124 !important;
}

.premium-card::before,
.portfolio-card::before,
.blog-card::before,
.contact-card::before {
  background: #E9A124 !important;
}

.section-head h2,
.business-copy h2,
.premium-card h3,
.portfolio-card h3,
.blog-card h3,
.method-card h3,
.intro-panels h3,
.contact-card h2 {
  color: #28326D;
}

.dark-section .section-head h2,
.dark-section .section-head p,
.dark-section .premium-card h3,
.logo-wall-section .section-head h2,
.logo-wall-section .section-head p,
.business-preview h2,
.business-preview p,
.cta-band h2,
.site-footer h3 {
  color: #FFFFFF !important;
}

.section,
.page-hero,
.business-preview,
.stat-band,
.cta-band {
  width: 100%;
  padding: clamp(4rem, 6vw, 6.5rem) clamp(1.2rem, 6vw, 7rem);
}

.hero-slide {
  padding: clamp(6.5rem, 8vw, 8rem) clamp(1.2rem, 6vw, 7rem) clamp(3.5rem, 5vw, 5.5rem);
}

.hero-slide h1,
.hero-slide h2,
.page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.portfolio-grid,
.portfolio-grid-compact,
.portfolio-editorial .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card img.portfolio-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .fameen-full-page .section,
  .fameen-full-page .hero-home,
  .fameen-full-page .business-preview,
  .hero-home.hero-slider,
  .hero-slides,
  .hero-slide {
    min-height: auto;
  }

  .portfolio-grid,
  .portfolio-grid-compact,
  .portfolio-editorial .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
