:root {
  --solutions-black: #05090d;
  --solutions-navy: #08131e;
  --solutions-panel: #0d1b28;
  --solutions-panel-2: #122332;
  --solutions-line: #253746;
  --solutions-primary: #4936b7;
  --solutions-secondary: #8f103f;
  --solutions-brand-soft: #c8bcff;
  --solutions-brand-gradient: linear-gradient(135deg, var(--solutions-primary), var(--solutions-secondary));
  --solutions-gold: var(--solutions-secondary);
  --solutions-gold-soft: var(--solutions-brand-soft);
  --solutions-green: var(--solutions-secondary);
  --solutions-cyan: var(--solutions-primary);
  --solutions-white: #f7fafc;
  --solutions-muted: #aab8c5;
}

.page-5d {
  background: var(--solutions-black);
  color: var(--solutions-white);
  font-family: var(--solutions-font, "Cairo", Arial, sans-serif);
}

body.lang-en.page-5d {
  direction: ltr;
  font-family: var(--font-en, "Inter", "Segoe UI", Arial, sans-serif);
}

body.lang-en.page-5d h1,
body.lang-en.page-5d h2,
body.lang-en.page-5d h3,
body.lang-en.page-5d h4 {
  font-family: var(--font-en, "Inter", "Segoe UI", Arial, sans-serif);
}

.page-5d h1,
.page-5d h2,
.page-5d h3,
.page-5d h4 {
  font-family: var(--solutions-heading-font, var(--solutions-font, "Cairo", Arial, sans-serif));
}

.page-5d .solutions-header {
  background: rgba(5, 9, 13, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-5d .solutions-header .nav a {
  color: #dbe4ec;
}

.page-5d .solutions-header .nav a:hover,
.page-5d .solutions-header .nav a.active {
  color: #ffffff;
}

.page-5d .solutions-header .nav a.active::after {
  background: var(--solutions-brand-gradient);
}

.page-5d .btn {
  gap: 8px;
}

.page-5d .btn-primary {
  border: 1px solid rgba(200, 188, 255, 0.28);
  background: var(--solutions-brand-gradient);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(73, 54, 183, 0.18);
}

.page-5d .btn-primary:hover {
  background: var(--solutions-brand-gradient);
  color: #ffffff;
  filter: brightness(1.14);
  box-shadow: 0 16px 34px rgba(143, 16, 63, 0.24);
}

.page-5d .btn svg,
.page-5d .whatsapp svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.page-5d .menu-toggle svg {
  width: 22px;
  height: 22px;
}

.solutions-hero {
  position: relative;
  min-height: calc(100svh - 120px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--solutions-navy) url("../../uploads/solutions5d/hero-ai-marketing-5d.png") center 42% / cover no-repeat;
}

.solutions-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 17, 0.87);
}

.solutions-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(73, 54, 183, 0.12) 54% 54.2%, transparent 54.2%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(143, 16, 63, 0.06) 73px 74px);
  pointer-events: none;
}

.solutions-hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding-top: 58px;
  padding-bottom: 52px;
  text-align: center;
}

.solutions-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--solutions-gold-soft);
  font-size: 14px;
  font-weight: 800;
}

.solutions-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--solutions-white);
  font-size: 19px;
  font-weight: 900;
  direction: ltr;
}

.solutions-brand-lockup img {
  width: 58px;
  height: 42px;
  object-fit: contain;
  transform: scale(1.45);
}

.solutions-hero h1 {
  max-width: 940px;
  margin: 20px auto 16px;
  font-size: 64px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.solutions-hero h1 span,
.solutions-hero h1 strong {
  display: block;
}

.solutions-hero h1 strong {
  color: var(--solutions-white);
  background: var(--solutions-brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.solutions-hero-inner > p {
  max-width: 840px;
  margin: 0 auto;
  color: #d6e0e8;
  font-size: 18px;
  line-height: 1.9;
}

.solutions-actions,
.solutions-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.solutions-actions {
  justify-content: center;
  margin-top: 28px;
}

.solutions-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
}

.solutions-btn-ghost:hover {
  border-color: var(--solutions-gold);
  background: rgba(255, 255, 255, 0.07);
}

.solutions-btn-whatsapp {
  background: var(--solutions-brand-gradient);
  color: #ffffff;
}

.solutions-btn-whatsapp:hover {
  background: var(--solutions-brand-gradient);
  filter: brightness(1.14);
}

.solutions-section {
  padding: 92px 0;
}

.solutions-section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.solutions-section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.solutions-section-head h2 {
  margin: 12px 0 14px;
  color: var(--solutions-white);
  font-size: 42px;
  line-height: 1.35;
  letter-spacing: 0;
}

.solutions-section-head p {
  margin: 0;
  color: var(--solutions-muted);
  font-size: 17px;
  line-height: 1.9;
}

.solutions-trust {
  background: var(--solutions-navy);
  border-bottom: 1px solid var(--solutions-line);
}

.solutions-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--solutions-line);
  border-bottom: 1px solid var(--solutions-line);
}

.solutions-stat {
  min-width: 0;
  padding: 24px 16px;
  border-inline-start: 1px solid var(--solutions-line);
  text-align: center;
}

.solutions-stat:first-child {
  border-inline-start: 0;
}

.solutions-stat strong,
.solutions-stat span {
  display: block;
}

.solutions-stat strong {
  color: var(--solutions-white);
  background: var(--solutions-brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  line-height: 1;
}

.solutions-stat span {
  margin-top: 9px;
  color: #dbe4ec;
  font-size: 13px;
  font-weight: 700;
}

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

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--solutions-line);
  border-radius: 999px;
  background: var(--solutions-panel);
  color: #dce5ec;
  font-size: 13px;
  font-weight: 700;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--solutions-cyan);
}

.solutions-services {
  background: var(--solutions-black);
}

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

.solution-service-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.solution-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 16, 63, 0.86);
  background: var(--solutions-panel-2);
}

.service-brand-watermark {
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
  width: 64px;
  height: 46px;
  object-fit: contain;
  opacity: 0.08;
  pointer-events: none;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--solutions-brand-gradient);
  color: #ffffff;
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.solution-service-card h3 {
  margin: 24px 0 12px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.55;
}

.solution-service-card p {
  margin: 0 0 22px;
  color: var(--solutions-muted);
  font-size: 14px;
  line-height: 1.9;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.service-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #172837;
  color: #b9c8d3;
  font-size: 11px;
}

.service-whatsapp {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--solutions-brand-gradient);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.service-whatsapp:hover {
  background: var(--solutions-brand-gradient);
  filter: brightness(1.14);
}

.service-whatsapp svg {
  width: 17px;
  height: 17px;
}

.real-estate-section {
  background: #0b1722;
  border-top: 1px solid var(--solutions-line);
  border-bottom: 1px solid var(--solutions-line);
}

.real-estate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 64px;
  align-items: center;
}

.real-estate-copy h2 {
  margin: 14px 0 18px;
  font-size: 48px;
  line-height: 1.3;
}

.real-estate-copy > p {
  margin: 0 0 26px;
  color: var(--solutions-muted);
  font-size: 17px;
  line-height: 1.95;
}

.real-estate-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.real-estate-services span {
  padding: 7px 10px;
  border: 1px solid #314655;
  border-radius: 999px;
  color: #d7e1e8;
  font-size: 12px;
}

.real-estate-visual {
  min-height: 470px;
  padding: 34px;
  border: 1px solid rgba(143, 16, 63, 0.58);
  border-radius: 8px;
  background: #101f2c;
}

.estate-signal {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--solutions-line);
}

.estate-signal strong,
.estate-signal span {
  display: block;
}

.estate-signal strong {
  color: var(--solutions-gold);
  font-size: 64px;
  line-height: 1;
}

.estate-signal span {
  margin-top: 10px;
  color: #dce5ec;
  font-size: 16px;
  font-weight: 700;
}

.estate-feature-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.estate-feature {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d5e0e8;
}

.estate-feature svg {
  width: 20px;
  height: 20px;
  color: var(--solutions-cyan);
}

.clients-section {
  overflow: hidden;
  background: var(--solutions-black);
}

.clients-strip {
  position: relative;
  overflow: hidden;
  width: 100%;
  direction: ltr;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.clients-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: clamp(12px, 1.8vw, 20px);
  animation: clients-marquee 42s linear infinite;
  will-change: transform;
}

.clients-strip:hover .clients-track,
.clients-strip:focus-within .clients-track {
  animation-play-state: paused;
}

.client-mark {
  flex: 0 0 clamp(170px, 17vw, 230px);
  width: clamp(170px, 17vw, 230px);
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px 22px;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
  color: #dce5ec;
  text-align: center;
  direction: rtl;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.client-mark:is(a) {
  text-decoration: none;
}

.client-mark:hover,
.client-mark:focus-visible {
  border-color: color-mix(in srgb, var(--solutions-primary) 52%, var(--solutions-line));
  background: linear-gradient(135deg, rgba(73, 54, 183, 0.15), rgba(143, 16, 63, 0.12)), var(--solutions-panel);
  box-shadow: 0 18px 42px rgba(73, 54, 183, 0.16);
  transform: translateY(-2px);
}

.client-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.client-mark span {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@keyframes clients-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track {
    animation: none;
    transform: none;
  }
}

.portfolio-section {
  position: relative;
  background: var(--solutions-navy);
  border-top: 1px solid var(--solutions-line);
  border-bottom: 1px solid var(--solutions-line);
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--solutions-brand-gradient);
  opacity: 0.8;
}

.portfolio-brand-mark {
  width: 74px;
  height: 52px;
  margin: 0 auto 10px;
  object-fit: contain;
  transform: scale(1.4);
}

.portfolio-summary-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: -6px 0 34px;
}

.portfolio-summary-stat {
  padding: 16px;
  border: 1px solid rgba(73, 54, 183, 0.34);
  border-radius: 8px;
  background: rgba(13, 27, 40, 0.72);
  text-align: center;
}

.portfolio-summary-stat strong {
  display: block;
  color: var(--solutions-white);
  font-size: 23px;
  background: var(--solutions-brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-summary-stat span {
  color: var(--solutions-muted);
  font-size: 12px;
}

.subsection-head {
  margin-bottom: 20px;
}

.subsection-head span {
  color: var(--solutions-gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.subsection-head h3 {
  margin: 8px 0 0;
  font-size: 28px;
}

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

.portfolio-group-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(73, 54, 183, 0.32);
}

.portfolio-group-title span {
  color: var(--solutions-brand-soft);
  font-size: 12px;
  font-weight: 900;
}

.portfolio-group-title h3 {
  margin: 0;
  color: var(--solutions-white);
  font-size: 22px;
}

.portfolio-group-title:not(:first-child) {
  margin-top: 30px;
}

.featured-projects-wrap {
  margin-bottom: 42px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px;
}

.portfolio-filter {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--solutions-line);
  border-radius: 999px;
  background: var(--solutions-panel);
  color: #c9d5de;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.portfolio-filter:hover,
.portfolio-filter.active {
  border-color: var(--solutions-secondary);
  background: var(--solutions-brand-gradient);
  color: #ffffff;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 16, 63, 0.88);
  box-shadow: 0 18px 42px rgba(73, 54, 183, 0.14);
}

.portfolio-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #132738;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.portfolio-media img.portfolio-project-logo {
  padding: 46px;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(73, 54, 183, 0.12), rgba(143, 16, 63, 0.1));
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.04);
}

.portfolio-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(73, 54, 183, 0.14), rgba(143, 16, 63, 0.12)),
    #10202d;
}

.portfolio-fallback img {
  width: min(170px, 65%);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  opacity: 0.88;
}

.portfolio-categories {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  display: flex;
  max-width: calc(100% - 28px);
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-category {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--solutions-brand-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.portfolio-body {
  padding: 22px;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #7f93a3;
  font-size: 12px;
}

.portfolio-body h3 {
  margin: 11px 0 10px;
  color: #ffffff;
  font-size: 20px;
}

.portfolio-body p {
  min-height: 54px;
  margin: 0 0 18px;
  color: var(--solutions-muted);
  font-size: 13px;
  line-height: 1.8;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--solutions-brand-soft);
  font-size: 13px;
  font-weight: 800;
}

.portfolio-link-static {
  cursor: default;
}

.portfolio-link svg {
  width: 16px;
  height: 16px;
}

.portfolio-empty {
  margin: 24px 0 0;
  color: var(--solutions-muted);
  text-align: center;
}

.difference-section {
  background: var(--solutions-black);
}

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

.solutions-benefit {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--solutions-gold);
}

.benefit-icon svg {
  width: 42px;
  height: 42px;
}

.solutions-benefit h3 {
  margin: 24px 0 13px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.55;
}

.solutions-benefit p {
  margin: 0;
  color: var(--solutions-muted);
  line-height: 1.9;
}

.methodology-section {
  background: #0b1722;
  border-top: 1px solid var(--solutions-line);
  border-bottom: 1px solid var(--solutions-line);
}

.solutions-dimensions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.dimension-card {
  position: relative;
  min-height: 330px;
  padding: 24px 19px;
  overflow: hidden;
  border: 1px solid var(--solutions-line);
  border-top: 3px solid var(--solutions-cyan);
  border-radius: 8px;
  background: var(--solutions-panel);
}

.dimension-card:nth-child(even) {
  border-top-color: var(--solutions-gold);
}

.dimension-number {
  color: #758b9b;
  font-size: 12px;
  font-weight: 800;
}

.dimension-card h3 {
  margin: 32px 0 13px;
  color: #ffffff;
  font-size: 21px;
}

.dimension-card p {
  margin: 0;
  color: var(--solutions-muted);
  font-size: 13px;
  line-height: 1.85;
}

.dimension-outcome {
  position: absolute;
  inset-inline: 19px;
  bottom: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--solutions-line);
  color: var(--solutions-brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.work-process {
  background: var(--solutions-black);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-step {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
  counter-increment: process;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  display: block;
  margin-bottom: 34px;
  color: var(--solutions-gold);
  font-size: 13px;
  font-weight: 900;
}

.process-step strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
}

.process-step p {
  margin: 9px 0 0;
  color: var(--solutions-muted);
  font-size: 13px;
  line-height: 1.75;
}

.packages-section {
  background: var(--solutions-navy);
  border-top: 1px solid var(--solutions-line);
}

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

.package-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
}

.package-card.featured {
  border-top: 4px solid var(--solutions-gold);
}

.package-card .package-label {
  color: var(--solutions-gold-soft);
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.package-card h3 {
  margin: 12px 0;
  color: #ffffff;
  font-size: 28px;
}

.package-card > p {
  margin: 0 0 20px;
  color: var(--solutions-muted);
  line-height: 1.8;
}

.package-features {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}

.package-feature {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: #d7e1e8;
  font-size: 13px;
}

.package-feature svg {
  width: 17px;
  height: 17px;
  color: var(--solutions-green);
}

.package-card .btn {
  margin-top: auto;
}

.testimonials-section {
  background: var(--solutions-black);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 58px;
  align-items: center;
}

.testimonial-controls {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
  color: #ffffff;
  cursor: pointer;
}

.testimonial-controls button:hover {
  border-color: var(--solutions-gold);
  color: var(--solutions-gold);
}

.testimonial-controls svg {
  width: 19px;
  height: 19px;
}

.testimonial-stage {
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
}

.testimonial-stage blockquote {
  margin: 0;
  color: #f1f5f8;
  font-size: 22px;
  line-height: 1.9;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--solutions-line);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--solutions-brand-gradient);
  color: #ffffff;
  font-weight: 900;
}

.testimonial-person strong,
.testimonial-person span {
  display: block;
}

.testimonial-person span {
  margin-top: 3px;
  color: var(--solutions-muted);
  font-size: 12px;
}

.faq-section {
  background: var(--solutions-navy);
  border-top: 1px solid var(--solutions-line);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 58px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--solutions-line);
  border-radius: 8px;
  background: var(--solutions-panel);
}

.faq-item summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--solutions-gold);
  font-size: 24px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--solutions-muted);
  line-height: 1.85;
}

.solutions-cta {
  padding: 76px 0;
  background: #102332;
  border-top: 1px solid rgba(143, 16, 63, 0.58);
}

.solutions-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: center;
}

.solutions-cta h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: 40px;
  line-height: 1.4;
}

.solutions-cta p {
  margin: 0;
  color: #c8d4dd;
  font-size: 17px;
}

.solutions-cta-actions {
  justify-content: flex-end;
}

.page-5d .site-footer {
  border-top: 1px solid var(--solutions-line);
  background: #03070a;
}

.footer-5d-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  direction: ltr;
}

.footer-5d-brand img {
  width: 48px;
  height: 34px;
  object-fit: contain;
  transform: scale(1.4);
}

.footer-5d-brand strong {
  color: #ffffff;
  font-size: 16px;
}

.page-5d .whatsapp {
  background: var(--solutions-brand-gradient);
  color: #ffffff;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 1120px) {
  .solutions-dimensions-grid,
  .clients-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .page-5d .solutions-header .nav {
    background: var(--solutions-navy);
  }

  .solutions-hero h1 {
    font-size: 50px;
  }

  .solutions-services-grid,
  .portfolio-featured,
  .portfolio-grid,
  .solutions-benefits,
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .solutions-stat:nth-child(4) {
    border-inline-start: 0;
  }

  .solutions-stat:nth-child(n + 4) {
    border-top: 1px solid var(--solutions-line);
  }

  .real-estate-layout,
  .testimonials-layout,
  .faq-layout,
  .solutions-cta-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .solutions-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .solutions-hero {
    min-height: calc(100svh - 96px);
  }

  .solutions-hero-inner {
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .solutions-hero h1 {
    margin-top: 18px;
    font-size: 37px;
  }

  .solutions-brand-lockup {
    font-size: 17px;
  }

  .solutions-brand-lockup img {
    width: 50px;
    height: 36px;
  }

  .solutions-hero-inner > p {
    font-size: 15px;
    line-height: 1.8;
  }

  .solutions-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .solutions-actions .btn {
    width: 100%;
  }

  .solutions-section {
    padding: 68px 0;
  }

  .solutions-section-head h2,
  .real-estate-copy h2 {
    font-size: 31px;
  }

  .solutions-section-head p,
  .real-estate-copy > p {
    font-size: 15px;
  }

  .solutions-stats,
  .solutions-services-grid,
  .portfolio-featured,
  .portfolio-grid,
  .solutions-benefits,
  .solutions-dimensions-grid,
  .process-timeline,
  .packages-grid,
  .clients-strip {
    grid-template-columns: 1fr;
  }

  .solutions-stat {
    border-inline-start: 0;
    border-top: 1px solid var(--solutions-line);
  }

  .solutions-stat:first-child {
    border-top: 0;
  }

  .solution-service-card {
    min-height: 0;
  }

  .real-estate-visual {
    min-height: 0;
    padding: 24px;
  }

  .estate-signal strong {
    font-size: 52px;
  }

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

  .portfolio-summary-stats {
    gap: 8px;
  }

  .portfolio-summary-stat {
    padding: 13px 8px;
  }

  .portfolio-media img.portfolio-project-logo {
    padding: 34px;
  }

  .dimension-card {
    min-height: 290px;
  }

  .process-step,
  .package-card {
    min-height: 0;
  }

  .testimonial-stage {
    min-height: 0;
    padding: 24px;
  }

  .testimonial-stage blockquote {
    font-size: 18px;
  }

  .solutions-cta h2 {
    font-size: 30px;
  }

  .solutions-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .solutions-cta-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal],
  .portfolio-card,
  .portfolio-media img,
  .solution-service-card {
    transition: none;
    transform: none;
  }
}
