/*
 * Pixel One Visuals — PowerHaus-inspired service layout
 * Adapted for the red/black brand, Arabic RTL content, and existing app behavior.
 */

body.site-shell.home-page {
  --px-black: #070707;
  --px-ink: #0c0d0f;
  --px-panel: #111315;
  --px-panel-2: #17191c;
  --px-line: rgba(255, 255, 255, 0.12);
  --px-line-soft: rgba(255, 255, 255, 0.075);
  --px-white: #f8f5f0;
  --px-soft: #c4c1bc;
  --px-muted: #87858a;
  --px-red: #dc2626;
  --px-red-bright: #ff4b4b;
  --px-red-dark: #97151b;
  --px-red-wash: rgba(220, 38, 38, 0.14);
  --px-green: #1ca563;
  --px-display: "Alexandria", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --px-body: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
  --px-ease: cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--px-black);
  color: var(--px-white);
  font-family: var(--px-body);
}

body.site-shell.home-page h1,
body.site-shell.home-page h2,
body.site-shell.home-page h3,
body.site-shell.home-page h4,
body.site-shell.home-page h5,
body.site-shell.home-page strong {
  font-family: var(--px-display);
}

body.site-shell.home-page h1,
body.site-shell.home-page h2,
body.site-shell.home-page h3,
body.site-shell.home-page p,
body.site-shell.home-page li {
  text-wrap: pretty;
}

body.site-shell.home-page .top-announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0.5rem 1rem;
  background: #090909;
  border-block-end: 1px solid var(--px-line-soft);
  color: #aaa7a2;
  font-family: var(--px-body);
  font-size: 0.74rem;
  font-weight: 600;
}

body.site-shell.home-page .site-nav {
  width: min(calc(100% - 2rem), 1180px);
  min-height: 72px;
  border: 1px solid var(--px-line-soft);
  border-top: 0;
  border-radius: 0 0 1.15rem 1.15rem;
  background: rgba(7, 7, 7, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

body.site-shell.home-page .site-nav::after {
  background: linear-gradient(90deg, transparent, var(--px-red), transparent);
  opacity: 0.9;
}

body.site-shell.home-page .logo-container {
  gap: 0.65rem;
}

body.site-shell.home-page .logo-p {
  border-radius: 0.72rem;
  background: linear-gradient(145deg, var(--px-red-bright), var(--px-red-dark));
  box-shadow: 0 10px 26px rgba(220, 38, 38, 0.22);
}

body.site-shell.home-page .logo-wordmark {
  color: var(--px-white);
  font-family: Arial, sans-serif;
  letter-spacing: 0.02em;
}

body.site-shell.home-page .site-nav .nav-link {
  position: relative;
  min-height: 42px;
  color: #a6a3a0;
  font-family: var(--px-body);
  font-size: 0.82rem;
  font-weight: 700;
}

body.site-shell.home-page .site-nav .nav-link::after {
  position: absolute;
  inset-inline: 0.25rem;
  inset-block-end: 0.2rem;
  height: 2px;
  border-radius: 99px;
  background: var(--px-red-bright);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms var(--px-ease);
}

body.site-shell.home-page .site-nav .nav-link:hover,
body.site-shell.home-page .site-nav .nav-link.is-active-link {
  color: var(--px-white) !important;
}

body.site-shell.home-page .site-nav .nav-link:hover::after,
body.site-shell.home-page .site-nav .nav-link.is-active-link::after {
  transform: scaleX(1);
}

body.site-shell.home-page .account-link {
  color: #aaa7a2;
  font-family: var(--px-body);
}

body.site-shell.home-page .btn-primary,
body.site-shell.home-page .btn-secondary,
body.site-shell.home-page .btn-whatsapp {
  min-height: 48px;
  border-radius: 0.72rem;
  padding-inline: 1.2rem;
  font-family: var(--px-body);
  font-size: 0.86rem;
  font-weight: 800;
  transition: transform 160ms var(--px-ease), background-color 160ms var(--px-ease), border-color 160ms var(--px-ease), box-shadow 160ms var(--px-ease);
}

body.site-shell.home-page .btn-primary {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #ef3030, #aa151b);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.24);
}

body.site-shell.home-page .btn-primary:hover {
  background: linear-gradient(135deg, #ff5555, #cf1e27);
  box-shadow: 0 16px 36px rgba(220, 38, 38, 0.32);
}

body.site-shell.home-page .btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  color: var(--px-white);
}

body.site-shell.home-page .btn-secondary:hover {
  border-color: rgba(255, 82, 82, 0.54);
  background: var(--px-red-wash);
  color: #fff;
}

body.site-shell.home-page .btn-whatsapp {
  background: #128c4a;
}

body.site-shell.home-page .btn-primary:active,
body.site-shell.home-page .btn-secondary:active,
body.site-shell.home-page .btn-whatsapp:active {
  transform: scale(0.97);
}

/* PowerHaus-inspired hero: a commercial promise beside a visual service board. */
body.site-shell.home-page .powerhaus-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-areas: "visual copy";
  grid-template-columns: minmax(430px, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(2.2rem, 6vw, 6.2rem);
  overflow: hidden;
  padding: clamp(4.2rem, 8vw, 7.5rem) max(1rem, 4vw) clamp(4.3rem, 8vw, 7rem);
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 24%, rgba(220, 38, 38, 0.18), transparent 30rem),
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--px-black);
}

body.site-shell.home-page .powerhaus-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(110deg, black, transparent 65%);
  opacity: 0.3;
}

body.site-shell.home-page .powerhaus-hero__backdrop {
  position: absolute;
  z-index: -1;
  inset-inline-start: -10rem;
  inset-block-start: 5rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.16);
  filter: blur(100px);
  pointer-events: none;
}

body.site-shell.home-page .powerhaus-hero .clean-hero__overlay {
  display: none;
}

body.site-shell.home-page .powerhaus-hero__copy {
  grid-area: copy;
  width: min(100%, 650px);
  padding: 0;
  margin: 0;
  justify-self: end;
}

body.site-shell.home-page .powerhaus-hero__copy .hero-badge {
  min-height: 29px;
  margin: 0 0 0.85rem;
  border-color: rgba(255, 82, 82, 0.42);
  background: var(--px-red-wash);
  color: #ffb4b4;
  font-family: Arial, sans-serif;
  letter-spacing: 0.06em;
}

body.site-shell.home-page .powerhaus-hero__kicker {
  display: block;
  margin-block-end: 1rem;
  color: var(--px-red-bright);
  font-size: 0.78rem;
  font-weight: 800;
}

body.site-shell.home-page .powerhaus-hero .hero-title {
  max-width: 12ch;
  margin: 0;
  color: var(--px-white);
  font-family: var(--px-display);
  font-size: clamp(3rem, 6vw, 6.1rem) !important;
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

body.site-shell.home-page .powerhaus-hero .hero-title span {
  display: block;
}

body.site-shell.home-page .powerhaus-hero .hero-title span:last-child {
  color: var(--px-red-bright);
}

body.site-shell.home-page .powerhaus-hero .hero-subtitle {
  max-width: 56ch;
  margin-block-start: 1.35rem;
  color: var(--px-soft);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 2;
}

body.site-shell.home-page .powerhaus-hero .hero-actions {
  gap: 0.75rem;
  margin-block-start: 1.55rem;
}

body.site-shell.home-page .powerhaus-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  margin-block-start: 2rem;
  border-block: 1px solid var(--px-line-soft);
}

body.site-shell.home-page .powerhaus-hero__proof span {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 0.16rem;
  padding: 0.6rem 0.85rem;
  border-inline-start: 1px solid var(--px-line-soft);
  color: var(--px-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

body.site-shell.home-page .powerhaus-hero__proof span:first-child {
  border-inline-start: 0;
}

body.site-shell.home-page .powerhaus-hero__proof strong {
  color: var(--px-white);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
}

body.site-shell.home-page .powerhaus-hero__visual {
  grid-area: visual;
  width: min(100%, 520px);
  justify-self: start;
}

body.site-shell.home-page .powerhaus-hero__visual-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 0.8rem;
  padding-inline: 0.25rem;
}

body.site-shell.home-page .powerhaus-hero__visual-head span {
  color: var(--px-red-bright);
  font-size: 0.72rem;
  font-weight: 800;
}

body.site-shell.home-page .powerhaus-hero__visual-head strong {
  color: var(--px-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

body.site-shell.home-page .powerhaus-hero__canvas {
  position: relative;
  min-height: 400px;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)), #111214;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42), 0 0 0 9px rgba(255, 255, 255, 0.022);
}

body.site-shell.home-page .powerhaus-hero__canvas::before {
  position: absolute;
  inset-block-start: -1.4rem;
  inset-inline-start: 2rem;
  width: 76%;
  height: 78%;
  border: 1px solid rgba(220, 38, 38, 0.42);
  content: "";
  transform: rotate(-4deg);
  pointer-events: none;
}

body.site-shell.home-page .powerhaus-hero__main-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.95rem;
  background: #0b0c0e;
}

body.site-shell.home-page .powerhaus-hero__main-card-bar {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-inline: 0.75rem;
  border-block-end: 1px solid var(--px-line-soft);
  background: #151619;
}

body.site-shell.home-page .powerhaus-hero__main-card-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65636a;
}

body.site-shell.home-page .powerhaus-hero__main-card-bar span:first-child {
  background: var(--px-red-bright);
}

body.site-shell.home-page .powerhaus-hero__main-card-bar b {
  margin-inline-start: auto;
  color: #b2afb0;
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

body.site-shell.home-page .powerhaus-hero__main-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.74) contrast(1.08);
}

body.site-shell.home-page .powerhaus-hero__main-card-caption {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem 1.05rem;
}

body.site-shell.home-page .powerhaus-hero__main-card-caption span {
  color: var(--px-red-bright);
  font-size: 0.69rem;
  font-weight: 800;
}

body.site-shell.home-page .powerhaus-hero__main-card-caption strong {
  color: var(--px-white);
  font-size: 0.93rem;
}

body.site-shell.home-page .powerhaus-hero__side-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 170px;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.8rem;
  background: rgba(17, 18, 20, 0.93);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

body.site-shell.home-page .powerhaus-hero__side-card--top {
  inset-inline-end: -1.25rem;
  inset-block-start: 3rem;
}

body.site-shell.home-page .powerhaus-hero__side-card--bottom {
  inset-inline-start: -1.25rem;
  inset-block-end: 2.5rem;
}

body.site-shell.home-page .powerhaus-hero__side-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--px-red);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

body.site-shell.home-page .powerhaus-hero__side-card div {
  display: grid;
  gap: 0.12rem;
}

body.site-shell.home-page .powerhaus-hero__side-card small {
  color: var(--px-muted);
  font-size: 0.63rem;
}

body.site-shell.home-page .powerhaus-hero__side-card strong {
  color: var(--px-white);
  font-size: 0.75rem;
}

body.site-shell.home-page .powerhaus-hero__visual-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 0.9rem;
  border-block: 1px solid var(--px-line-soft);
}

body.site-shell.home-page .powerhaus-hero__visual-foot span {
  display: grid;
  min-height: 39px;
  place-items: center;
  border-inline-start: 1px solid var(--px-line-soft);
  color: var(--px-muted);
  font-size: 0.67rem;
  text-align: center;
}

body.site-shell.home-page .powerhaus-hero__visual-foot span:first-child {
  border-inline-start: 0;
}

/* Sections share the strong service-template rhythm but keep an editorial red/black tone. */
body.site-shell.home-page .section {
  padding-block: clamp(4.4rem, 7vw, 7rem);
}

body.site-shell.home-page .section-shell,
body.site-shell.home-page .page-frame {
  width: min(calc(100% - 2rem), 1180px);
}

body.site-shell.home-page .section-header,
body.site-shell.home-page .section-header:not(.portfolio-head) {
  max-width: 740px;
  margin-inline: 0;
  margin-block-end: 2.2rem;
  text-align: start;
}

body.site-shell.home-page .section-eyebrow {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--px-red-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0;
}

body.site-shell.home-page .section-eyebrow::before {
  width: 2.2rem;
  height: 1px;
  background: var(--px-red);
  content: "";
}

body.site-shell.home-page .section-title,
body.site-shell.home-page .section-header:not(.portfolio-head) .section-title {
  max-width: 22ch;
  margin-inline: 0;
  color: var(--px-white);
  font-family: var(--px-display);
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.18;
}

body.site-shell.home-page .section-description,
body.site-shell.home-page .section-header:not(.portfolio-head) .section-description {
  max-width: 62ch;
  margin-inline: 0;
  margin-block-start: 0.95rem;
  color: var(--px-muted);
  font-size: 1rem;
  line-height: 1.95;
}

body.site-shell.home-page .trust-strip {
  padding-block: 0;
  border-block: 1px solid var(--px-line-soft);
  background: #0d0e10;
}

body.site-shell.home-page .trust-strip__grid {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding-block: 0;
  color: #a8a5a1;
  font-size: 0.77rem;
  font-weight: 700;
  text-align: center;
}

body.site-shell.home-page .trust-strip__grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding-inline: 0.7rem;
  border-inline-start: 1px solid var(--px-line-soft);
}

body.site-shell.home-page .trust-strip__grid span:first-child {
  border-inline-start: 0;
}

/* Benefits section: direct equivalent of a service template's reasons-to-choose block. */
body.site-shell.home-page .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .benefit-card {
  position: relative;
  min-height: 195px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--px-line);
  border-radius: 1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 56%), var(--px-panel);
}

body.site-shell.home-page .benefit-card::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 38%;
  height: 3px;
  background: var(--px-red);
  content: "";
}

body.site-shell.home-page .benefit-card--featured {
  border-color: rgba(255, 82, 82, 0.48);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.16), transparent 60%), var(--px-panel);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.1);
}

body.site-shell.home-page .benefit-number {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 82, 82, 0.52);
  border-radius: 50%;
  background: var(--px-red-wash);
  color: var(--px-red-bright);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

body.site-shell.home-page .benefit-card h3 {
  margin: 0;
  color: var(--px-white);
  font-size: 1.14rem;
}

body.site-shell.home-page .benefit-card p {
  margin: 0.65rem 0 0;
  color: var(--px-muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

/* Before/after keeps the original proof content but gives it PowerHaus-like contrast. */
body.site-shell.home-page .problem-outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .problem-card,
body.site-shell.home-page .outcome-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  padding: clamp(1.45rem, 3vw, 2.2rem);
  border: 1px solid var(--px-line);
  border-radius: 1.05rem;
  background: var(--px-panel);
}

body.site-shell.home-page .problem-card::before,
body.site-shell.home-page .outcome-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
}

body.site-shell.home-page .problem-card::before {
  background: linear-gradient(90deg, #69676a, transparent);
}

body.site-shell.home-page .outcome-card {
  border-color: rgba(220, 38, 38, 0.38);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.12), transparent 60%), var(--px-panel);
}

body.site-shell.home-page .outcome-card::before {
  background: linear-gradient(90deg, var(--px-red), transparent);
}

body.site-shell.home-page .problem-card h3,
body.site-shell.home-page .outcome-card h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--px-white);
  font-size: 1.3rem;
}

body.site-shell.home-page .problem-card h3::before,
body.site-shell.home-page .outcome-card h3::before {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
}

body.site-shell.home-page .problem-card h3::before {
  background: rgba(255, 255, 255, 0.08);
  color: #b7b5b4;
  content: "01";
}

body.site-shell.home-page .outcome-card h3::before {
  background: var(--px-red);
  color: #fff;
  content: "02";
}

body.site-shell.home-page .problem-card ul,
body.site-shell.home-page .outcome-card ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.site-shell.home-page .problem-card li,
body.site-shell.home-page .outcome-card li {
  position: relative;
  padding-inline-start: 1.35rem;
  color: var(--px-soft);
  font-size: 0.92rem;
}

body.site-shell.home-page .problem-card li::before,
body.site-shell.home-page .outcome-card li::before {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.82em;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  content: "";
}

body.site-shell.home-page .problem-card li::before {
  background: #77757a;
}

body.site-shell.home-page .outcome-card li::before {
  background: var(--px-red-bright);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

/* Services: preserve dynamic cards and add a strong service-template rhythm. */
body.site-shell.home-page .services-section {
  background: #0a0b0d;
}

body.site-shell.home-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .service-card {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--px-line);
  border-radius: 1.05rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), transparent 58%), var(--px-panel);
  box-shadow: none;
  transition: border-color 180ms var(--px-ease), transform 180ms var(--px-ease), box-shadow 180ms var(--px-ease);
}

body.site-shell.home-page .service-card::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 42%;
  height: 3px;
  background: var(--px-red);
  content: "";
  transition: width 180ms var(--px-ease);
}

body.site-shell.home-page .service-card:hover {
  border-color: rgba(255, 82, 82, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  transform: translateY(-5px);
}

body.site-shell.home-page .service-card:hover::after {
  width: 82%;
}

body.site-shell.home-page .services-grid .service-card:nth-child(2) {
  border-color: rgba(255, 82, 82, 0.54);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.15), transparent 55%), var(--px-panel);
  box-shadow: 0 20px 56px rgba(220, 38, 38, 0.1);
}

body.site-shell.home-page .services-grid .service-card:nth-child(2)::before {
  position: absolute;
  inset-block-start: 0.9rem;
  inset-inline-end: 1rem;
  border: 1px solid rgba(255, 82, 82, 0.44);
  border-radius: 999px;
  background: var(--px-red-wash);
  color: #ffb2b2;
  content: "مقترح للانطلاق";
  padding: 0.28rem 0.62rem;
  font-size: 0.63rem;
  font-weight: 800;
}

body.site-shell.home-page .service-card h3 {
  margin-block-start: 0.5rem;
  color: var(--px-white);
  font-size: 1.25rem;
}

body.site-shell.home-page .service-card p {
  color: var(--px-muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

body.site-shell.home-page .service-card__price strong {
  color: var(--px-white);
}

body.site-shell.home-page .service-card__actions > * {
  min-height: 44px;
}

body.site-shell.home-page .service-category,
body.site-shell.home-page .recommended-badge {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--px-red-bright);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0;
}

/* Portfolio: the collage principle becomes a restrained 12-column bento gallery. */
body.site-shell.home-page .portfolio-section {
  border-block: 1px solid var(--px-line-soft);
  background: #0e1012;
}

body.site-shell.home-page .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .portfolio-grid > * {
  grid-column: span 4;
}

body.site-shell.home-page .portfolio-grid > *:first-child {
  grid-column: span 7;
}

body.site-shell.home-page .portfolio-grid > *:nth-child(2) {
  grid-column: span 5;
}

body.site-shell.home-page .portfolio-card {
  overflow: hidden;
  border: 1px solid var(--px-line);
  border-radius: 1.05rem;
  background: var(--px-panel);
  transition: transform 200ms var(--px-ease), border-color 200ms var(--px-ease), box-shadow 200ms var(--px-ease);
}

body.site-shell.home-page .portfolio-card:hover {
  border-color: rgba(255, 82, 82, 0.54);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.36);
  transform: translateY(-5px);
}

body.site-shell.home-page .portfolio-media,
body.site-shell.home-page .portfolio-media-placeholder,
body.site-shell.home-page .portfolio-card > figure {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--px-panel-2);
}

body.site-shell.home-page .portfolio-media img,
body.site-shell.home-page .portfolio-card img {
  min-height: 0;
  display: block;
  object-fit: cover;
  transition: transform 260ms var(--px-ease), filter 260ms var(--px-ease);
}

body.site-shell.home-page .portfolio-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

body.site-shell.home-page .portfolio-body {
  min-height: 185px;
  padding: 1.1rem 1.2rem 1.3rem;
}

body.site-shell.home-page .portfolio-body h3 {
  color: var(--px-white);
  font-size: 1.08rem;
}

body.site-shell.home-page .portfolio-body p {
  color: var(--px-muted);
  font-size: 0.84rem;
  line-height: 1.85;
}

body.site-shell.home-page .portfolio-category {
  color: var(--px-red-bright);
  font-size: 0.67rem;
  font-weight: 800;
}

body.site-shell.home-page .portfolio-status-badge--demo {
  border-color: rgba(246, 194, 66, 0.48);
  background: rgba(246, 194, 66, 0.1);
  color: #f7d98d;
}

body.site-shell.home-page .portfolio-status-badge--client {
  border-color: rgba(28, 165, 99, 0.48);
  background: rgba(28, 165, 99, 0.1);
  color: #a8efc6;
}

/* Pricing: 2 x 2, as a service template would present core plans. */
body.site-shell.home-page .pricing-section {
  background: #090a0b;
}

body.site-shell.home-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .pricing-card {
  position: relative;
  min-height: 355px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--px-line);
  border-radius: 1.05rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 58%), var(--px-panel);
}

body.site-shell.home-page .pricing-card--featured {
  border-color: rgba(255, 82, 82, 0.62);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.17), transparent 58%), var(--px-panel);
  box-shadow: 0 22px 58px rgba(220, 38, 38, 0.13);
}

body.site-shell.home-page .pricing-card--featured::before {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1.2rem;
  border-radius: 999px;
  background: var(--px-red);
  color: #fff;
  content: "الأكثر طلباً";
  padding: 0.28rem 0.65rem;
  font-size: 0.63rem;
  font-weight: 800;
}

body.site-shell.home-page .pricing-card h3 {
  margin-block-start: 0.5rem;
  color: var(--px-white);
  font-size: 1.35rem;
}

body.site-shell.home-page .pricing-card .pricing-price {
  color: var(--px-muted) !important;
  font-size: 0.85rem;
}

body.site-shell.home-page .pricing-card .pricing-price strong {
  color: var(--px-white);
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
}

body.site-shell.home-page .pricing-card ul {
  gap: 0.72rem;
  margin-block: 1.3rem;
}

body.site-shell.home-page .pricing-card li {
  padding-inline-start: 1.15rem;
  color: var(--px-soft);
  font-size: 0.88rem;
}

body.site-shell.home-page .pricing-card li::before {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--px-red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.11);
}

body.site-shell.home-page .pricing-card .btn-primary {
  margin-block-start: auto;
}

/* Studio/about block: visual identity panel instead of a generic team stock photo. */
body.site-shell.home-page .studio-section {
  background: #0d0e10;
}

body.site-shell.home-page .studio-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

body.site-shell.home-page .studio-copy {
  max-width: 640px;
  justify-self: end;
}

body.site-shell.home-page .studio-copy .section-title {
  max-width: 17ch;
}

body.site-shell.home-page .studio-copy .btn-secondary {
  margin-block-start: 1.45rem;
}

body.site-shell.home-page .studio-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-block-start: 1.25rem;
}

body.site-shell.home-page .studio-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 35px;
  padding-inline: 0.72rem;
  border: 1px solid var(--px-line);
  border-radius: 999px;
  color: var(--px-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

body.site-shell.home-page .studio-points b {
  color: var(--px-red-bright);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
}

body.site-shell.home-page .studio-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.18), transparent 56%), #111214;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

body.site-shell.home-page .studio-visual::before {
  position: absolute;
  inset: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  content: "";
}

body.site-shell.home-page .studio-visual::after {
  position: absolute;
  inset-inline-end: -4rem;
  inset-block-end: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.24);
  content: "";
  filter: blur(58px);
}

body.site-shell.home-page .studio-visual__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(145deg, black, transparent 76%);
}

body.site-shell.home-page .studio-visual__mark {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: var(--px-white);
  transform: translate(-50%, -50%);
}

body.site-shell.home-page .studio-visual__mark span {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, var(--px-red-bright), var(--px-red-dark));
  box-shadow: 0 22px 50px rgba(220, 38, 38, 0.32);
  font-family: Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;
}

body.site-shell.home-page .studio-visual__mark strong {
  color: var(--px-white);
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
}

body.site-shell.home-page .studio-visual__mark small {
  color: #a7a4a0;
  font-family: Arial, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.site-shell.home-page .studio-visual__tag {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  border: 1px solid rgba(255, 82, 82, 0.45);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.68);
  color: #ffb5b5;
  padding: 0.3rem 0.65rem;
  font-size: 0.66rem;
  font-weight: 800;
}

body.site-shell.home-page .studio-visual__tag--one {
  inset-block-start: 2rem;
  inset-inline-start: 2rem;
}

body.site-shell.home-page .studio-visual__tag--two {
  inset-block-end: 2rem;
  inset-inline-end: 2rem;
}

/* Process, FAQ, final CTA and footer share the same service-template hierarchy. */
body.site-shell.home-page .process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .process-grid::before {
  position: absolute;
  inset-inline: 12% 12%;
  inset-block-start: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--px-red), transparent);
  content: "";
}

body.site-shell.home-page .process-card {
  position: relative;
  z-index: 1;
  min-height: 240px;
  padding: 1.4rem;
  border: 1px solid var(--px-line);
  border-radius: 1.05rem;
  background: var(--px-panel);
}

body.site-shell.home-page .step-number {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 0 1.1rem;
  border: 1px solid rgba(255, 82, 82, 0.54);
  border-radius: 50%;
  background: #1a0d0e;
  color: var(--px-red-bright);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
}

body.site-shell.home-page .process-card h3 {
  color: var(--px-white);
  font-size: 1.2rem;
}

body.site-shell.home-page .process-card p {
  color: var(--px-muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

body.site-shell.home-page .faq-list {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

body.site-shell.home-page .faq-card {
  overflow: hidden;
  border: 1px solid var(--px-line);
  border-radius: 0.9rem;
  background: var(--px-panel);
}

body.site-shell.home-page .faq-card:hover,
body.site-shell.home-page .faq-card[open] {
  border-color: rgba(255, 82, 82, 0.46);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.08), var(--px-panel));
}

body.site-shell.home-page .faq-card summary {
  min-height: 66px;
  padding: 1.05rem 1.15rem;
  color: var(--px-white);
  font-family: var(--px-body);
  font-size: 0.91rem;
  font-weight: 800;
}

body.site-shell.home-page .faq-card summary::after {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 82, 82, 0.44);
  border-radius: 50%;
  color: var(--px-red-bright);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

body.site-shell.home-page .faq-card[open] summary::after {
  content: "−";
}

body.site-shell.home-page .faq-card p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  border: 0;
  color: var(--px-muted);
  font-size: 0.84rem;
  line-height: 1.9;
}

body.site-shell.home-page .final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.86fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  padding: clamp(1.45rem, 4vw, 3rem);
  border: 1px solid rgba(255, 82, 82, 0.38);
  border-radius: 1.2rem;
  background: linear-gradient(120deg, rgba(220, 38, 38, 0.19), rgba(28, 17, 19, 0.92) 54%, var(--px-panel));
  text-align: start;
}

body.site-shell.home-page .final-cta::after {
  position: absolute;
  inset-inline-start: -6rem;
  inset-block-end: -7rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  content: "";
  filter: blur(64px);
  pointer-events: none;
}

body.site-shell.home-page .final-cta > * {
  position: relative;
  z-index: 1;
}

body.site-shell.home-page .final-cta .section-title,
body.site-shell.home-page .final-cta .section-description {
  margin-inline: 0;
}

body.site-shell.home-page .final-cta .section-title {
  max-width: 17ch;
}

body.site-shell.home-page .final-cta__proof {
  display: grid;
  gap: 0.65rem;
}

body.site-shell.home-page .final-cta__proof-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: rgba(8, 8, 8, 0.26);
}

body.site-shell.home-page .final-cta__proof-item strong {
  display: block;
  color: var(--px-white);
  font-size: 0.82rem;
}

body.site-shell.home-page .final-cta__proof-item span:not(.final-cta__proof-icon) {
  display: block;
  color: #b3aaa7;
  font-size: 0.7rem;
}

body.site-shell.home-page .final-cta__proof-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--px-red);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
}

body.site-shell.home-page .site-footer {
  border-top: 1px solid var(--px-line-soft);
  background: #060606;
}

body.site-shell.home-page .footer-brand p,
body.site-shell.home-page .footer-links a,
body.site-shell.home-page .footer-links span {
  color: #89868a;
}

body.site-shell.home-page .footer-links h2 {
  color: var(--px-white);
  font-family: var(--px-display);
  font-size: 0.88rem;
}

@media (max-width: 1023px) {
  body.site-shell.home-page .powerhaus-hero {
    min-height: 0;
    grid-template-areas: "copy" "visual";
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  body.site-shell.home-page .powerhaus-hero__copy,
  body.site-shell.home-page .powerhaus-hero__visual {
    width: min(100%, 680px);
    justify-self: center;
  }

  body.site-shell.home-page .powerhaus-hero__visual {
    width: min(100%, 580px);
  }

  body.site-shell.home-page .studio-grid {
    grid-template-columns: 1fr;
  }

  body.site-shell.home-page .studio-copy,
  body.site-shell.home-page .studio-visual {
    width: min(100%, 680px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  body.site-shell.home-page .site-nav {
    width: calc(100% - 1rem);
    min-height: 64px;
  }

  body.site-shell.home-page .powerhaus-hero {
    gap: 2.4rem;
    padding-block: 3.4rem 4rem;
  }

  body.site-shell.home-page .powerhaus-hero .hero-title {
    max-width: 11ch;
    font-size: clamp(2.65rem, 13vw, 4.2rem) !important;
  }

  body.site-shell.home-page .powerhaus-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.site-shell.home-page .powerhaus-hero .hero-actions > * {
    width: 100%;
  }

  body.site-shell.home-page .powerhaus-hero__proof,
  body.site-shell.home-page .benefits-grid,
  body.site-shell.home-page .problem-outcome-grid,
  body.site-shell.home-page .services-grid,
  body.site-shell.home-page .pricing-grid,
  body.site-shell.home-page .process-grid,
  body.site-shell.home-page .faq-list {
    grid-template-columns: 1fr;
  }

  body.site-shell.home-page .powerhaus-hero__proof span,
  body.site-shell.home-page .powerhaus-hero__proof span:first-child {
    min-height: 52px;
    border-inline-start: 0;
    border-block-end: 1px solid var(--px-line-soft);
  }

  body.site-shell.home-page .powerhaus-hero__proof span:last-child {
    border-block-end: 0;
  }

  body.site-shell.home-page .powerhaus-hero__canvas {
    min-height: 320px;
    padding: 0.75rem;
  }

  body.site-shell.home-page .powerhaus-hero__side-card {
    min-width: 150px;
    padding: 0.62rem 0.7rem;
  }

  body.site-shell.home-page .powerhaus-hero__side-card--top {
    inset-inline-end: -0.45rem;
    inset-block-start: 2rem;
  }

  body.site-shell.home-page .powerhaus-hero__side-card--bottom {
    inset-inline-start: -0.45rem;
    inset-block-end: 1.7rem;
  }

  body.site-shell.home-page .powerhaus-hero__visual-foot {
    grid-template-columns: 1fr;
  }

  body.site-shell.home-page .powerhaus-hero__visual-foot span,
  body.site-shell.home-page .powerhaus-hero__visual-foot span:first-child {
    min-height: 34px;
    border-inline-start: 0;
    border-block-end: 1px solid var(--px-line-soft);
  }

  body.site-shell.home-page .powerhaus-hero__visual-foot span:last-child {
    border-block-end: 0;
  }

  body.site-shell.home-page .benefit-card {
    min-height: 0;
  }

  body.site-shell.home-page .portfolio-grid,
  body.site-shell.home-page .portfolio-grid > *:first-child,
  body.site-shell.home-page .portfolio-grid > *:nth-child(2),
  body.site-shell.home-page .portfolio-grid > * {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  body.site-shell.home-page .process-grid::before {
    inset-inline: auto;
    inset-inline-end: 1.35rem;
    inset-block: 1.35rem 1.35rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--px-red), transparent);
  }

  body.site-shell.home-page .process-card {
    min-height: 0;
    padding-inline-end: 4.4rem;
  }

  body.site-shell.home-page .step-number {
    position: absolute;
    inset-inline-end: 0.55rem;
    inset-block-start: 1rem;
    margin: 0;
  }

  body.site-shell.home-page .studio-visual {
    min-height: 320px;
  }

  body.site-shell.home-page .final-cta {
    grid-template-columns: 1fr;
    padding: 1.3rem;
  }

  body.site-shell.home-page .final-cta .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body.site-shell.home-page .final-cta .hero-actions > * {
    width: 100%;
  }
}

@media (max-width: 390px) {
  body.site-shell.home-page .powerhaus-hero .hero-title {
    font-size: clamp(2.35rem, 12vw, 3.5rem) !important;
  }

  body.site-shell.home-page .powerhaus-hero__side-card {
    min-width: 135px;
  }

  body.site-shell.home-page .powerhaus-hero__side-card strong {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-shell.home-page .btn-primary,
  body.site-shell.home-page .btn-secondary,
  body.site-shell.home-page .btn-whatsapp,
  body.site-shell.home-page .service-card,
  body.site-shell.home-page .portfolio-card {
    transition: none;
  }
}
