:root {
  --navy: #191432;
  --lime: #b9a0fb;
  --muted: #777382;
  --line: #e9e5f0;
  --soft: #f8f6fc;
  --purple: #7250cf;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: 'IBM Plex Sans Arabic', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
button, input, select, textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #93b430;
  outline-offset: 5px;
}

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

/* Topbar */
.topbar {
  min-height: 39px;
  background: linear-gradient(100deg, #7650d5, #453193);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  padding: 7px 20px;
}
.topbar a {
  margin-inline-start: 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a88aea;
  flex-shrink: 0;
}

/* Header */
.header {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  font-size: 43px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 112px;
  height: auto;
  object-fit: contain;
}
.brand-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: #a88aea;
  border-radius: 50%;
  margin-right: 5px;
}
.header nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
  font-weight: 500;
}
.header nav a:hover {
  color: var(--purple);
}
.header-actions {
  display: flex;
  gap: 23px;
  align-items: center;
}

/* Buttons */
.language, .theme-toggle {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, transform .2s;
}
.language:hover, .theme-toggle:hover {
  background: var(--soft);
  transform: translateY(-2px);
}
.theme-toggle .icon-sun { display: none; }
.dark-mode .theme-toggle .icon-moon { display: none; }
.dark-mode .theme-toggle .icon-sun { display: block; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s, background .2s;
}
.button:hover {
  transform: translateY(-3px);
}
.dark {
  background: var(--purple);
  color: #fff;
}
.dark:hover {
  background: #5f3bbd;
}
.lime {
  background: var(--lime);
  color: var(--navy);
}
.header-cta {
  font-size: 12px;
  padding: 11px 18px;
  gap: 20px;
}
.menu {
  display: none;
}

/* Icons */
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.benefit-icon .icon, .service-icon .icon {
  width: 30px;
  height: 30px;
}
.socials .icon {
  width: 15px;
  height: 15px;
}
.socials button, .close, .menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.text-link .icon, .read .icon, .topbar .icon {
  width: 15px;
  height: 15px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding-block: 45px 55px;
}
.eyebrow {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 21px;
  font-weight: 500;
}
.short-line {
  width: 27px;
  height: 2px;
  background: #9878dd;
}
.hero h1 {
  font-size: clamp(45px, 4.5vw, 65px);
  line-height: 1.35;
  letter-spacing: -2px;
  margin: 0 0 25px;
  font-weight: 600;
}
mark {
  color: var(--purple);
  background: transparent;
  padding-inline: 2px;
}
.lead {
  font-size: 17px;
  max-width: 455px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 27px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 30px;
}
.text-link {
  font-size: 13px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.micro {
  font-size: 11px;
  color: var(--muted);
  margin-top: 21px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-art {
  height: 500px;
  border-radius: 28px 100px 28px 28px;
  background: #f4f0fb;
  position: relative;
  overflow: hidden;
  direction: ltr;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 70% center;
}
.growth-card {
  position: absolute;
  top: 25px;
  left: 20px;
  padding: 15px 19px;
  background: #fffffff2;
  border-radius: 12px;
  box-shadow: 0 12px 35px #5130840c;
  direction: rtl;
  z-index: 2;
}
.growth-card small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.growth-card strong {
  font-size: 28px;
  line-height: 1.4;
  display: inline-block;
}
.growth-card span {
  color: #6f9b7d;
  font-size: 11px;
  margin-right: 10px;
}
.growth-spark {
  height: 30px;
  width: 120px;
  display: block;
  margin-top: 6px;
}

.roas-card {
  position: absolute;
  bottom: 35px;
  left: 20px;
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 15px 35px #101d3912;
  border: 1px solid #ece8f5;
  direction: rtl;
  min-width: 190px;
  z-index: 2;
}
.mini-label {
  font-size: 10px;
  color: var(--muted);
}
.roas-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
}
.roas-card strong {
  font-size: 39px;
  line-height: 1.4;
}
.roas-card strong span {
  font-size: 23px;
}
.roas-card small {
  font-size: 9px;
}
.roas-card small span {
  color: #7b59c1;
  margin-right: 15px;
}
.mini-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 33px;
}
.mini-bars i {
  height: 12px;
  width: 7px;
  background: #b396ea;
}
.mini-bars i:nth-child(2) { height: 19px; }
.mini-bars i:nth-child(3) { height: 25px; }
.mini-bars i:nth-child(4) { height: 33px; }

/* Benefits Bar */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}
.benefits > div {
  display: flex;
  gap: 17px;
  align-items: center;
  padding-inline: 30px;
  border-inline-end: 1px solid var(--line);
}
.benefits > div:first-child { padding-inline-start: 0; }
.benefits > div:last-child { border: 0; }
.benefit-icon { font-size: 28px; color: var(--purple); }
.benefits h3 { font-size: 14px; margin: 0; font-weight: 600; }
.benefits p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }

.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: var(--lime);
  padding: 15px;
}
.skip:focus { top: 0; }

/* General Sections */
.section {
  padding-block: 96px;
}
.section h2 {
  font-size: 38px;
  line-height: 1.5;
  margin: 0 0 22px;
  font-weight: 600;
  letter-spacing: -.8px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-intro { max-width: 320px; color: var(--muted); font-size: 14px; }
.outline { border: 1px solid var(--line); background: transparent; }
em { font-style: normal; color: var(--purple); }

/* About Section */
.about {
  background: #faf9fc;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: center;
}
.about-copy p { font-size: 15px; color: var(--muted); }
.about-copy h3 { font-size: 23px; margin: 30px 0 10px; }
.about-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle {
  width: 330px;
  height: 330px;
  border: 55px solid #292044;
  border-top-color: #292044;
  border-right-color: #292044;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
  position: absolute;
}
.circle:before {
  content: '';
  position: absolute;
  inset: -56px;
  border: 1px solid #cab9ef;
  border-radius: 50%;
}
.circle:after {
  content: '';
  position: absolute;
  width: 65px;
  height: 65px;
  background: #a78ade;
  border-radius: 50%;
  bottom: -11px;
  right: -17px;
}
.circle-text {
  text-align: center;
  font-size: 30px;
  line-height: 1.6;
  font-weight: 500;
}
.circle-text b { color: var(--purple); font-weight: 500; }
.visual-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 12px;
  transition: background .2s, transform .2s, border-color .2s;
}
.service-card:hover {
  border-color: #c9b8ef;
  background: #faf8ff;
  transform: translateY(-5px);
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.service-number {
  color: #8992a2;
  font-size: 17px;
  font-weight: 400;
}
.service-icon {
  font-size: 33px;
  color: var(--purple);
}
.service-card h3 {
  font-size: 23px;
  line-height: 1.5;
  margin: 0 0 15px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  min-height: 80px;
}
.service-card a {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
}

/* Stats Section */
.stats {
  background: linear-gradient(110deg, #19152f, #352566);
  color: white;
  text-align: center;
  padding: 55px 0;
}
.stats .eyebrow {
  justify-content: center;
  color: #c9b4ff;
  margin-bottom: 8px;
}
.stats h2 {
  font-size: 30px;
  margin: 0 0 38px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-grid > div + div {
  border-inline-start: 1px solid #ffffff28;
}
.stats strong {
  font-size: 44px;
  line-height: 1.4;
  font-weight: 500;
  display: block;
  direction: ltr;
  color: #e0d5fc;
}
.stats span {
  font-size: 12px;
  color: #b8c0d1;
}

/* Selected Results / Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-art {
  height: 225px;
  background: var(--soft);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  padding: 24px;
  direction: ltr;
}
.case-art .chart-bars {
  height: 130px;
  display: flex;
  gap: 17px;
  align-items: end;
  justify-content: center;
  padding-top: 20px;
}
.chart-bars i {
  width: 30px;
  background: #7860b1;
  border-radius: 3px 3px 0 0;
}
.chart-bars i:nth-child(even) {
  background: #cbb8f5;
}
.chart-label {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.case-art .art-metric {
  font-size: 30px;
  font-weight: 600;
}
.case-art.dark-art {
  background: linear-gradient(125deg, #25203e, #533c8f);
  color: white;
}
.case-art.dark-art .chart-label {
  color: #b8c0d1;
}
.line-chart {
  width: 100%;
  height: 110px;
}
.case h3 {
  font-size: 21px;
  line-height: 1.6;
  margin: 15px 0 10px;
}
.case .tag {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.case p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.case-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.case-footer span {
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.map-art {
  background-color: #ece8f4;
  background-image: linear-gradient(35deg, transparent 42%, #fff 42%, #fff 47%, transparent 47%),
                    linear-gradient(100deg, transparent 30%, #fff 30%, #fff 36%, transparent 36%),
                    linear-gradient(160deg, transparent 60%, #fff 60%, #fff 66%, transparent 66%);
}
.map-pin {
  position: absolute;
  top: 60px;
  left: 45%;
  width: 55px;
  height: 55px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #7651cb;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px #101d3920;
}
.map-pin span {
  transform: rotate(45deg);
  font-size: 24px;
  color: white;
}
.map-badge {
  position: absolute;
  bottom: 25px;
  left: 35px;
  background: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 5px 20px #101d3910;
}

/* Preserved Partners Section */
.partners {
  background: #faf9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-subhead {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 45px;
}
.accreditation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.accreditation-card:hover {
  transform: translateY(-5px);
  border-color: #c9b8ef;
  box-shadow: 0 12px 30px rgba(118, 80, 213, 0.1);
}
.accreditation-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.accreditation-icon img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}
.accreditation-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 600;
}
.accreditation-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.trust-section-title {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 500;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  align-items: center;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85px;
  transition: transform .2s, border-color .2s;
}
.trust-card:hover {
  transform: translateY(-3px);
  border-color: #c9b8ef;
}
.trust-card img {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity .2s;
}
.trust-card:hover img {
  opacity: 1;
}

/* Insights / Blog */
.insights {
  background: #faf9fc;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-art {
  height: 195px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(at 70% 20%, #a78ee0, #342554);
}
.blog-art.b {
  background: radial-gradient(at 30% 10%, #ae95e5, #2a1c4d);
}
.blog-art.c {
  background: radial-gradient(at 70% 0%, #b399e0, #5a3b83);
}
.stairs {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 100px;
  transform: skewY(-9deg);
}
.stairs i {
  width: 46px;
  height: 35px;
  background: #c2a5f8;
  box-shadow: 8px 6px #6a479e;
}
.stairs i:nth-child(2) { height: 64px; }
.stairs i:nth-child(3) { height: 95px; background: #f0e4ff; }

.orb {
  width: 100px;
  height: 100px;
  border: 22px solid #c0a5f3;
  border-radius: 50%;
  position: absolute;
  transform: rotate(-35deg);
  box-shadow: 8px 12px 20px #20143135;
}
.orb + .orb {
  width: 90px;
  height: 90px;
  border-color: #7150b0;
  margin-left: 90px;
  margin-top: 45px;
}
.blog-symbol {
  position: absolute;
  left: 38px;
  top: 24px;
  color: #dac5ff;
  font-size: 30px;
}
.search-graphic {
  width: 200px;
  background: #fff;
  padding: 13px 18px;
  border-radius: 7px;
  box-shadow: 0 18px 35px #101d3915;
  transform: rotate(-9deg);
  font-size: 15px;
  letter-spacing: 4px;
  color: #6d4aa9;
}
.search-graphic span { float: right; }

.blog button {
  background: none;
  border: 0;
  text-align: inherit;
  color: inherit;
  padding: 0;
  width: 100%;
}
.blog h3 {
  font-size: 19px;
  line-height: 1.7;
  margin: 16px 0 13px;
}
.blog-meta {
  font-size: 11px;
  color: var(--muted);
}
.blog .read {
  display: block;
  font-size: 12px;
  margin-top: 16px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 80px;
}
.faq-intro p {
  font-size: 14px;
  color: var(--muted);
  max-width: 250px;
}
.faq-intro a {
  font-size: 13px;
  display: inline-block;
  border-bottom: 1px solid var(--navy);
  margin-top: 17px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
.faq-list summary:before {
  content: "";
  order: 2;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat;
}
.faq-list details[open] summary:before {
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat;
}
details p {
  font-size: 14px;
  color: var(--muted);
  padding-inline-end: 25px;
  line-height: 1.9;
}

/* Contact */
.contact {
  background: linear-gradient(110deg, #1b1731, #2b204b);
  color: #fff;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 95px;
}
.contact .eyebrow {
  color: #c8b2f6;
}
.contact h2 {
  font-size: 43px;
}
.contact-intro > p {
  color: #b1bace;
  font-size: 15px;
  max-width: 300px;
}
.contact-info {
  margin-top: 40px;
  font-size: 13px;
}
.contact-info > div {
  margin-bottom: 12px;
}
.temp {
  font-size: 11px;
  color: #aeb8cb;
}
.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 12px;
  color: #d7deea;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  min-width: 0;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid rgba(215, 248, 109, 0.5);
  outline-offset: 2px;
}
.full {
  grid-column: 1 / -1;
}
.contact .button {
  width: 100%;
  justify-content: space-between;
  background: #a887ed;
  color: #fff;
}
.contact .button:hover {
  background: #916ddb;
}
.form-note {
  font-size: 11px;
  color: #bdc6d9;
  margin: 0;
}
.form-status {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  font-size: 13px;
}

/* Footer */
.footer {
  padding: 42px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 30px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  font-size: 12px;
  color: var(--navy);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.footer .brand img {
  width: 108px;
}

/* Floating & Mobile Bottom */
.floating {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 8;
  display: flex;
  gap: 9px;
  align-items: center;
  background: #fff;
  color: var(--navy);
  border: 1px solid #e6deef;
  box-shadow: 0 5px 20px rgba(16, 29, 57, 0.12);
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 12px;
}
.wa-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #7956c6;
  stroke-width: 1.8;
}
.mobile-bottom {
  display: none;
}

/* Dialog */
dialog {
  border: 0;
  border-radius: 16px;
  padding: 35px;
  max-width: 650px;
  width: calc(100% - 40px);
  color: var(--navy);
  max-height: 80vh;
  line-height: 1.9;
}
dialog::backdrop {
  background: rgba(16, 29, 57, 0.5);
  backdrop-filter: blur(5px);
}
dialog .close {
  position: absolute;
  left: 18px;
  top: 12px;
  background: var(--soft);
  border: 0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
dialog h2 {
  font-size: 25px;
  margin-top: 15px;
}
dialog p {
  color: var(--muted);
  font-size: 15px;
}

/* Contact Modal Popup */
dialog.contact-modal {
  border: 0;
  border-radius: 24px;
  padding: 0;
  max-width: 620px;
  width: calc(100% - 32px);
  background: linear-gradient(135deg, #1b1731 0%, #2b204b 100%);
  color: #ffffff;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  max-height: 90vh;
  margin: auto;
}

dialog.contact-modal::backdrop {
  background: rgba(16, 29, 57, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-modal-box {
  position: relative;
  padding: 38px 32px 32px;
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal-box .close-modal {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

[dir="ltr"] .contact-modal-box .close-modal {
  left: auto;
  right: 22px;
}

.contact-modal-box .close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg) scale(1.05);
}

.contact-modal-header {
  margin-bottom: 24px;
  padding-inline-end: 45px;
}

.contact-modal-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact-modal-header p {
  font-size: 14px;
  color: #b1bace;
  line-height: 1.6;
}

.contact-modal form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-modal .field label {
  color: #d7deea;
  font-size: 12px;
  font-weight: 500;
}

.contact-modal .field input,
.contact-modal .field select,
.contact-modal .field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  min-width: 0;
  box-sizing: border-box;
}

.contact-modal .field input:focus,
.contact-modal .field select:focus {
  outline: 3px solid rgba(215, 248, 109, 0.5);
  outline-offset: 2px;
}

.contact-modal .button {
  width: 100%;
  justify-content: space-between;
  background: #a887ed;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-modal .button:hover {
  background: #916ddb;
}

@media (max-width: 600px) {
  .contact-modal-box {
    padding: 28px 20px 24px;
  }
  .contact-modal form {
    grid-template-columns: 1fr;
  }
}

/* LTR adjustments */
[dir=ltr] .hero h1 {
  font-size: 53px;
  letter-spacing: -1.5px;
}
[dir=ltr] .brand {
  direction: rtl;
}
[dir=ltr] .hero-art {
  direction: ltr;
}

/* Dark Mode Overrides */
.dark-mode {
  --page: #12101e;
  --surface: #19162a;
  --surface-2: #24203a;
  --ink: #f6f3ff;
  --muted: #b9b2c9;
  --line: #3a3450;
  background: var(--page);
  color: var(--ink);
}
.dark-mode .header,
.dark-mode .benefits,
.dark-mode .footer,
.dark-mode .section:not(.about):not(.insights):not(.partners) {
  background: var(--page);
  color: var(--ink);
}
.dark-mode .about,
.dark-mode .insights,
.dark-mode .partners {
  background: var(--surface);
}
.dark-mode .hero-art {
  background: var(--surface-2);
}
.dark-mode .benefits,
.dark-mode .footer {
  border-color: var(--line);
}
.dark-mode .benefits p,
.dark-mode .section-intro,
.dark-mode .lead,
.dark-mode .about-copy p,
.dark-mode .case p,
.dark-mode .faq-intro p,
.dark-mode .faq-list p,
.dark-mode .blog-meta,
.dark-mode .temp,
.dark-mode .accreditation-card p,
.dark-mode .trust-section-title {
  color: var(--muted);
}
.dark-mode .service-card,
.dark-mode .case-footer span,
.dark-mode .outline,
.dark-mode .accreditation-card,
.dark-mode .trust-card {
  border-color: var(--line);
}
.dark-mode .accreditation-card,
.dark-mode .trust-card {
  background: var(--surface-2);
}
.dark-mode .service-card:hover {
  background: var(--surface-2);
  border-color: #8d70ca;
}
.dark-mode .accreditation-card:hover,
.dark-mode .trust-card:hover {
  border-color: #8d70ca;
}
.dark-mode .accreditation-icon {
  background: var(--surface);
}
.dark-mode .faq-list details,
.dark-mode .faq-list details:first-child {
  border-color: var(--line);
}
.dark-mode .field input,
.dark-mode .field select {
  background: #f9f8ff;
  color: #171329;
}
.dark-mode .footer-links,
.dark-mode .footer-bottom {
  color: var(--muted);
}
.dark-mode .mobile-bottom {
  background: #18152a;
  border-color: var(--line);
}
.dark-mode .mobile-bottom > button {
  background: #2a2344;
}
.dark-mode .header nav {
  background: var(--surface);
  border-color: var(--line);
}

/* Media Queries */
@media(min-width: 1500px) {
  .hero { gap: 100px; }
  .hero-art { height: 535px; }
}

@media(max-width: 1100px) {
  .wrap { width: calc(100% - 60px); }
  .header { gap: 20px; }
  .header nav { gap: 15px; font-size: 12px; }
  .header-cta { display: none; }
  .hero { gap: 35px; }
  .hero-art { height: 460px; }
  .hero h1 { font-size: 56px; }
  .benefits > div { padding-inline: 18px; }
  .benefits h3 { font-size: 12px; }
  .about-layout { gap: 40px; }
  .contact-layout { gap: 50px; }
}

@media(max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .topbar { font-size: 10px; gap: 7px; text-align: center; }
  .topbar a { display: none; }
  .header {
    height: 85px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(25, 20, 50, 0.08);
    backdrop-filter: blur(14px);
  }
  .dark-mode .header {
    background: rgba(18, 16, 30, 0.94);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  .brand { font-size: 35px; }
  .brand img { width: 88px; }
  .footer .brand img { width: 96px; }
  
  .header nav {
    display: none;
    position: absolute;
    top: 95px;
    left: 20px;
    right: 20px;
    background: white;
    z-index: 20;
    box-shadow: 0 15px 35px #101d3920;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
  }
  .header nav.open {
    display: flex;
    flex-direction: column;
  }
  .header nav a { padding: 7px; font-size: 15px; }
  .header-actions { gap: 9px; }
  .language, .theme-toggle { width: 34px; height: 34px; }
  .language .icon, .theme-toggle .icon { width: 17px; height: 17px; }
  .menu { display: flex; background: none; border: 0; font-size: 23px; color: var(--navy); }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 25px 30px;
  }
  .hero h1 { font-size: 48px; line-height: 1.35; letter-spacing: -1.5px; }
  [dir=ltr] .hero h1 { font-size: 43px; }
  .hero .eyebrow { font-size: 12px; margin-bottom: 17px; }
  .lead { font-size: 15px; margin-top: 19px; }
  .hero-buttons { gap: 24px; }
  .button { font-size: 12px; padding: 13px 18px; gap: 25px; }
  .text-link { font-size: 12px; gap: 10px; }
  .micro { margin-bottom: 5px; }
  
  .hero-art {
    height: 360px;
    border-radius: 20px 65px 20px 20px;
  }
  .hero-photo { object-position: 62% center; }
  .growth-card { left: 12px; right: auto; top: 16px; padding: 12px; }
  .growth-card strong { font-size: 24px; }
  .growth-card span { margin-right: 10px; }
  .roas-card { bottom: 20px; left: 12px; padding: 12px 15px; min-width: 160px; }
  .roas-card strong { font-size: 33px; }
  
  .benefits { grid-template-columns: 1fr 1fr; gap: 24px 0; padding-block: 25px; }
  .benefits > div { padding-inline: 12px; gap: 10px; }
  .benefits > div:nth-child(odd) { padding-inline-start: 0; }
  .benefits > div:nth-child(even) { border: 0; }
  .benefits h3 { font-size: 12px; }
  .benefits p { font-size: 10px; }
  .benefit-icon { font-size: 24px; }
  
  .section { padding-block: 60px; }
  .section h2 { font-size: 30px; }
  
  .about-layout { grid-template-columns: 1fr; gap: 25px; }
  .about-visual { min-height: 300px; grid-row: 2; }
  .circle { width: 245px; height: 245px; border-width: 40px; }
  .circle:before { inset: -41px; }
  .circle:after { width: 50px; height: 50px; }
  .circle-text { font-size: 24px; }
  .visual-caption { font-size: 8px; }
  .about-copy p { font-size: 14px; }
  
  .section-head { align-items: start; gap: 18px; }
  .section-head .button { padding: 10px; font-size: 10px; white-space: nowrap; }
  .section-intro { display: none; }
  
  .service-grid, .case-grid, .blog-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-card { padding: 25px; }
  .service-top { margin-bottom: 25px; }
  .service-card p { min-height: 0; }
  
  .stats h2 { font-size: 27px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stats strong { font-size: 36px; }
  .stats span { font-size: 11px; }
  .stats-grid > div:nth-child(3) { border: 0; }
  
  .case-art { height: 235px; }
  .case h3 { font-size: 21px; }
  .case-grid { gap: 35px; }
  
  .blog-grid { gap: 32px; }
  .blog-art { height: 210px; }
  .blog h3 { font-size: 20px; }
  
  .faq-layout { grid-template-columns: 1fr; gap: 25px; }
  .faq-intro p { max-width: none; }
  .faq-list summary { font-size: 14px; }
  
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact h2 { font-size: 35px; }
  .contact-info { margin-top: 20px; }
  .contact form { gap: 15px 12px; }
  .field input, .field select { padding: 12px 9px; font-size: 12px; }
  
  .footer-top { flex-wrap: wrap; align-items: start; }
  .footer-links { gap: 17px; flex-wrap: wrap; font-size: 11px; }
  .footer-bottom { gap: 15px; flex-direction: column; }
  .footer { padding-bottom: 100px; }
  
  .floating { display: none; }
  .mobile-bottom {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 10;
    gap: 10px;
  }
  .mobile-bottom > a { flex: 1; }
  .mobile-bottom > button {
    border: 0;
    background: var(--navy);
    border-radius: 7px;
    width: 48px;
    display: grid;
    place-items: center;
    color: #fff;
  }
}

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