/*
 * Pixel One Visuals — Design Refresh
 * Final homepage layer: premium obsidian surfaces, editorial RTL hierarchy,
 * restrained luxury red accents, and responsive conversion-focused layouts.
 */

body.site-shell.home-page {
  --refresh-bg: #080808;
  --refresh-bg-raised: #0d0e10;
  --refresh-surface: #111214;
  --refresh-surface-2: #17181b;
  --refresh-border: rgba(255, 255, 255, 0.12);
  --refresh-border-soft: rgba(255, 255, 255, 0.075);
  --refresh-text: #f7f4ef;
  --refresh-text-soft: #c5c2bd;
  --refresh-text-muted: #85838a;
  --refresh-red: #dc2626;
  --refresh-red-light: #ff5252;
  --refresh-red-wash: rgba(220, 38, 38, 0.12);
  --refresh-green: #22c55e;
  --refresh-ease: cubic-bezier(0.23, 1, 0.32, 1);
  background:
    radial-gradient(circle at 80% -10%, rgba(220, 38, 38, 0.12), transparent 28rem),
    var(--refresh-bg);
  color: var(--refresh-text);
  overflow-x: clip;
}

body.site-shell.home-page #mainContent {
  overflow: clip;
}

body.site-shell.home-page .top-announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0.5rem 1rem;
  border: 0;
  background: #0a0a0b;
  color: #bcb9b3;
  font-size: 0.73rem;
  letter-spacing: 0.025em;
}

body.site-shell.home-page .site-nav {
  width: min(calc(100% - 2rem), 1180px);
  min-height: 72px;
  border: 1px solid var(--refresh-border-soft);
  border-top: 0;
  border-radius: 0 0 1.1rem 1.1rem;
  background: rgba(8, 8, 8, 0.88);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

body.site-shell.home-page .site-nav::after {
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, var(--refresh-red) 50%, transparent 96%);
  opacity: 0.85;
}

body.site-shell.home-page .logo-p {
  border-radius: 0.72rem;
  background: linear-gradient(145deg, #f03131, #9e1118);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.24);
}

body.site-shell.home-page .logo-wordmark {
  color: var(--refresh-text);
  letter-spacing: 0.015em;
}

body.site-shell.home-page .site-nav .nav-link {
  position: relative;
  min-height: 40px;
  color: #a7a4a1;
}

body.site-shell.home-page .site-nav .nav-link::after {
  position: absolute;
  inset-inline: 0.25rem;
  inset-block-end: 0.15rem;
  height: 2px;
  border-radius: 99px;
  background: var(--refresh-red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms var(--refresh-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(--refresh-text) !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 {
  display: block;
  transform: scaleX(1);
}

body.site-shell.home-page .account-link {
  color: #9b9894;
}

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.76rem;
  padding-inline: 1.25rem;
  transition: transform 160ms var(--refresh-ease), background-color 160ms var(--refresh-ease), border-color 160ms var(--refresh-ease), box-shadow 160ms var(--refresh-ease);
}

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

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

body.site-shell.home-page .btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: var(--refresh-text);
}

body.site-shell.home-page .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.09);
}

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);
}

/* Hero: copy + deliberate visual card, instead of a full-height empty background. */
body.site-shell.home-page .clean-hero {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-areas: "visual copy";
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(3.4rem, 7vw, 6rem) max(1rem, 4vw) clamp(3.7rem, 7vw, 6.5rem);
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(220, 38, 38, 0.055), transparent 33%),
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.04), transparent 22rem),
    var(--refresh-bg);
}

body.site-shell.home-page .clean-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(120deg, black, transparent 58%);
  opacity: 0.28;
}

body.site-shell.home-page .clean-hero__ambient {
  position: absolute;
  z-index: -2;
  inset-inline-start: -10rem;
  inset-block-start: 3rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.16);
  filter: blur(90px);
  pointer-events: none;
}

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

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

body.site-shell.home-page .clean-hero__content .hero-badge {
  min-height: 30px;
  margin: 0 0 1.15rem;
  border-color: rgba(255, 82, 82, 0.36);
  background: var(--refresh-red-wash);
  color: #ffb4b4;
  font-family: Arial, sans-serif;
  letter-spacing: 0.06em;
}

body.site-shell.home-page .clean-hero__content .hero-title {
  max-width: 13ch;
  margin: 0;
  color: var(--refresh-text);
  font-size: clamp(2.65rem, 5.4vw, 5.6rem) !important;
  letter-spacing: -0.065em;
  line-height: 1.08;
  text-wrap: balance;
}

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

body.site-shell.home-page .clean-hero__content .hero-title span:last-child {
  color: #ff5b5b;
}

body.site-shell.home-page .hero-subtitle {
  max-width: 58ch;
  margin-block-start: 1.35rem;
  color: var(--refresh-text-soft);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.95;
}

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

body.site-shell.home-page .clean-facts {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-block-start: 2rem;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--refresh-border-soft);
}

body.site-shell.home-page .clean-facts li {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  padding: 0.6rem 0.8rem;
  border: 0;
  border-inline-start: 1px solid var(--refresh-border-soft);
  background: transparent;
}

body.site-shell.home-page .clean-facts li:first-child {
  border-inline-start: 0;
}

body.site-shell.home-page .clean-facts strong {
  color: var(--refresh-text);
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0;
}

body.site-shell.home-page .clean-facts span {
  color: var(--refresh-text-muted);
  font-size: 0.7rem;
}

body.site-shell.home-page .clean-hero__visual {
  position: relative;
  grid-area: visual;
  width: min(100%, 520px);
  justify-self: start;
  padding: 0.75rem 0 1.1rem 0.9rem;
}

body.site-shell.home-page .clean-hero__visual::before {
  position: absolute;
  inset-block-start: 2.25rem;
  inset-inline-start: 0;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(220, 38, 38, 0.36);
  content: "";
  transform: rotate(-5deg);
}

body.site-shell.home-page .clean-hero__visual-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  background: var(--refresh-surface-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(255, 255, 255, 0.025);
}

body.site-shell.home-page .clean-hero__image {
  position: static;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(0.8) contrast(1.08);
}

body.site-shell.home-page .clean-hero__visual-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.05), transparent 55%, rgba(0, 0, 0, 0.62));
  content: "";
  pointer-events: none;
}

body.site-shell.home-page .clean-hero__visual-label,
body.site-shell.home-page .clean-hero__visual-stamp {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  padding: 0.3rem 0.7rem;
  font-family: Arial, sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

body.site-shell.home-page .clean-hero__visual-label {
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
}

body.site-shell.home-page .clean-hero__visual-stamp {
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  border-color: rgba(255, 82, 82, 0.48);
  color: #ffb4b4;
}

body.site-shell.home-page .clean-hero__visual-note {
  position: relative;
  z-index: 2;
  width: min(82%, 300px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: -2rem 1.3rem 0 auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--refresh-border);
  border-radius: 0.9rem;
  background: rgba(17, 18, 20, 0.94);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

body.site-shell.home-page .clean-hero__visual-note span {
  color: var(--refresh-text-muted);
  font-size: 0.73rem;
}

body.site-shell.home-page .clean-hero__visual-note strong {
  color: var(--refresh-text);
  font-size: 0.94rem;
}

/* Section rhythm and editorial headers. */
body.site-shell.home-page .section {
  position: relative;
  padding-block: clamp(4rem, 7vw, 6.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: 760px;
  margin-inline: 0;
  margin-block-end: 2rem;
  text-align: start;
}

body.site-shell.home-page .section-eyebrow {
  position: relative;
  min-height: 26px;
  margin: 0 0 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--refresh-red-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0;
}

body.site-shell.home-page .section-eyebrow::before {
  width: 2.2rem;
  height: 1px;
  margin-inline-end: 0.6rem;
  background: var(--refresh-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(--refresh-text);
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -0.06em;
  line-height: 1.14;
}

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

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

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

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

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

/* Before / after outcome cards. */
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: 270px;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--refresh-border);
  border-radius: 1.1rem;
  background: var(--refresh-surface);
}

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

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

body.site-shell.home-page .outcome-card {
  border-color: rgba(220, 38, 38, 0.34);
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.11), var(--refresh-surface) 52%);
}

body.site-shell.home-page .outcome-card::before {
  background: linear-gradient(90deg, var(--refresh-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.15rem;
  color: var(--refresh-text);
  font-size: 1.3rem;
}

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

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

body.site-shell.home-page .outcome-card h3::before {
  background: var(--refresh-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.8rem;
  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(--refresh-text-soft);
}

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.78em;
  width: 0.48rem;
  height: 0.48rem;
  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(--refresh-red-light);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* Services and sectors: clear hierarchy, not a wall of identical cards. */
body.site-shell.home-page .services-grid,
body.site-shell.home-page .sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.site-shell.home-page .service-card,
body.site-shell.home-page .sector-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--refresh-border);
  border-radius: 1.1rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), transparent 50%), var(--refresh-surface);
}

body.site-shell.home-page .service-card {
  min-height: 350px;
  padding: 1.4rem;
}

body.site-shell.home-page .service-card::after,
body.site-shell.home-page .sector-card::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 40%;
  height: 3px;
  background: var(--refresh-red);
  content: "";
  transform: scaleX(0.25);
  transform-origin: right;
  transition: transform 220ms var(--refresh-ease), width 220ms var(--refresh-ease);
}

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

body.site-shell.home-page .service-card:hover::after,
body.site-shell.home-page .sector-card:hover::after {
  width: 80%;
  transform: scaleX(1);
}

body.site-shell.home-page .services-grid .service-card:nth-child(2) {
  border-color: rgba(220, 38, 38, 0.48);
  background: linear-gradient(155deg, rgba(220, 38, 38, 0.16), transparent 48%), var(--refresh-surface);
  box-shadow: 0 18px 50px 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.42);
  border-radius: 999px;
  background: var(--refresh-red-wash);
  color: #ffb0b0;
  content: "مقترح للانطلاق";
  padding: 0.28rem 0.65rem;
  font-size: 0.67rem;
  font-weight: 900;
}

body.site-shell.home-page .service-card h3,
body.site-shell.home-page .sector-card h3 {
  color: var(--refresh-text);
  font-size: 1.3rem;
}

body.site-shell.home-page .service-card p,
body.site-shell.home-page .sector-card p {
  color: var(--refresh-text-muted);
  line-height: 1.9;
}

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

body.site-shell.home-page .sector-card {
  min-height: 185px;
  padding: 1.35rem;
}

body.site-shell.home-page .sectors-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Portfolio: consistent media ratio with a modest asymmetric grid. */
body.site-shell.home-page .portfolio-section {
  border-block: 1px solid var(--refresh-border-soft);
  background: linear-gradient(180deg, var(--refresh-bg-raised), #0b0c0e);
}

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(--refresh-border);
  border-radius: 1.1rem;
  background: var(--refresh-surface);
  transition: transform 220ms var(--refresh-ease), border-color 220ms var(--refresh-ease), box-shadow 220ms var(--refresh-ease);
}

body.site-shell.home-page .portfolio-card:hover {
  border-color: rgba(255, 82, 82, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  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(--refresh-surface-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(--refresh-ease), filter 260ms var(--refresh-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.2rem 1.25rem 1.35rem;
}

body.site-shell.home-page .portfolio-meta {
  margin-block-end: 0.75rem;
}

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(34, 197, 94, 0.46);
  background: rgba(34, 197, 94, 0.1);
  color: #a8efbf;
}

body.site-shell.home-page .portfolio-category {
  color: var(--refresh-red-light);
  font-size: 0.7rem;
  font-weight: 900;
}

body.site-shell.home-page .portfolio-body h3 {
  color: var(--refresh-text);
}

body.site-shell.home-page .portfolio-body p {
  color: var(--refresh-text-muted);
}

/* Pricing: balanced 2x2 system, with featured package clearly leading. */
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 {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--refresh-border);
  border-radius: 1.1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), transparent 55%), var(--refresh-surface);
}

body.site-shell.home-page .pricing-card--featured {
  border-color: rgba(255, 82, 82, 0.62);
  background: linear-gradient(150deg, rgba(220, 38, 38, 0.17), transparent 58%), var(--refresh-surface);
  box-shadow: 0 20px 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(--refresh-red);
  color: #fff;
  content: "الأكثر طلباً";
  padding: 0.3rem 0.7rem;
  font-size: 0.67rem;
  font-weight: 900;
}

body.site-shell.home-page .pricing-card .service-category {
  border: 0;
  background: transparent;
  color: var(--refresh-red-light);
  padding: 0;
}

body.site-shell.home-page .pricing-card h3 {
  margin-block-start: 0.55rem;
  color: var(--refresh-text);
  font-size: 1.45rem;
}

body.site-shell.home-page .pricing-price {
  color: var(--refresh-text-muted) !important;
}

body.site-shell.home-page .pricing-price strong {
  color: var(--refresh-text);
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
}

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

body.site-shell.home-page .pricing-card li {
  padding-inline-start: 1.2rem;
  color: var(--refresh-text-soft);
}

body.site-shell.home-page .pricing-card li::before {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--refresh-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;
}

body.site-shell.home-page .recommended-badge {
  border-color: rgba(255, 82, 82, 0.48);
  background: var(--refresh-red-wash);
  color: #ffb0b0;
}

/* Process: horizontal progression on desktop, vertical rhythm on mobile. */
body.site-shell.home-page .process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  counter-reset: refresh-step;
}

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

body.site-shell.home-page .process-card {
  position: relative;
  z-index: 1;
  min-height: 245px;
  padding: 1.45rem;
  border: 1px solid var(--refresh-border);
  border-radius: 1.1rem;
  background: var(--refresh-surface);
}

body.site-shell.home-page .step-number {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin: 0 0 1.15rem;
  border: 1px solid rgba(255, 82, 82, 0.55);
  border-radius: 50%;
  background: #1a0d0e;
  color: var(--refresh-red-light);
  font-size: 0.78rem;
}

body.site-shell.home-page .process-card h3 {
  color: var(--refresh-text);
  font-size: 1.25rem;
}

body.site-shell.home-page .process-card p {
  color: var(--refresh-text-muted);
  line-height: 1.9;
}

/* FAQ: two readable columns while preserving native details semantics. */
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 {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--refresh-border);
  border-radius: 0.95rem;
  background: var(--refresh-surface);
  transition: border-color 180ms var(--refresh-ease), background-color 180ms var(--refresh-ease);
}

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

body.site-shell.home-page .faq-card summary {
  min-height: 68px;
  padding: 1.15rem 1.2rem;
  color: var(--refresh-text);
  font-size: 0.98rem;
}

body.site-shell.home-page .faq-card summary::marker {
  display: none;
}

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

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

body.site-shell.home-page .faq-card p {
  margin: 0;
  padding: 0 1.2rem 1.15rem;
  border: 0;
  color: var(--refresh-text-muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* Final conversion block: compact, proof-led, and connected to the lead offer. */
body.site-shell.home-page .final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 82, 82, 0.35);
  border-radius: 1.25rem;
  background: linear-gradient(120deg, rgba(220, 38, 38, 0.2), rgba(28, 18, 20, 0.88) 52%, var(--refresh-surface));
  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;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

body.site-shell.home-page .final-cta .section-description {
  color: #d2c9c6;
}

body.site-shell.home-page .final-cta .hero-actions {
  justify-content: flex-start;
  margin-block-start: 1.35rem;
}

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;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.75rem;
  background: rgba(8, 8, 8, 0.27);
}

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

body.site-shell.home-page .final-cta__proof-item span {
  display: block;
  color: #b6aba8;
  font-size: 0.73rem;
}

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

/* Footer hierarchy. */
body.site-shell.home-page .site-footer {
  border-top: 1px solid var(--refresh-border-soft);
  background: #070707;
}

body.site-shell.home-page .footer-brand .logo-container {
  margin-block-end: 0.6rem;
}

body.site-shell.home-page .footer-brand p {
  max-width: 42ch;
  color: var(--refresh-text-muted);
}

body.site-shell.home-page .footer-links h2 {
  margin-block-end: 0.7rem;
  color: var(--refresh-text);
  font-size: 0.9rem;
}

body.site-shell.home-page .footer-links a,
body.site-shell.home-page .footer-links span {
  color: #8e8c91;
}

body.site-shell.home-page .footer-links a:hover {
  color: var(--refresh-red-light);
}

body.site-shell.home-page .footer-bottom {
  color: #77757a;
}

@media (min-width: 640px) and (max-width: 959px) {
  body.site-shell.home-page .services-grid,
  body.site-shell.home-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-shell.home-page .services-grid .service-card:last-child,
  body.site-shell.home-page .pricing-grid .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.5rem);
    justify-self: center;
  }

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

@media (max-width: 959px) {
  body.site-shell.home-page .clean-hero {
    grid-template-areas: "copy" "visual";
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

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

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

  body.site-shell.home-page .clean-hero__content .hero-title {
    max-width: 16ch;
  }

  body.site-shell.home-page .trust-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-shell.home-page .trust-strip__grid span:nth-child(4),
  body.site-shell.home-page .trust-strip__grid span:nth-child(5) {
    border-block-start: 1px solid var(--refresh-border-soft);
  }

  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-column: span 6;
  }

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

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

  body.site-shell.home-page .final-cta__proof {
    max-width: 620px;
  }
}

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

  body.site-shell.home-page .clean-hero {
    gap: 2rem;
    padding-block: 3.2rem 3.8rem;
  }

  body.site-shell.home-page .clean-hero__content .hero-title {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12vw, 4.1rem) !important;
  }

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

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

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

  body.site-shell.home-page .clean-facts li,
  body.site-shell.home-page .clean-facts li:first-child {
    min-height: 55px;
    border-inline-start: 0;
    border-block-end: 1px solid var(--refresh-border-soft);
  }

  body.site-shell.home-page .clean-facts li:last-child {
    border-block-end: 0;
  }

  body.site-shell.home-page .clean-hero__visual {
    padding-inline-start: 0.45rem;
  }

  body.site-shell.home-page .clean-hero__visual-note {
    width: 84%;
    margin-inline-end: 0.7rem;
  }

  body.site-shell.home-page .trust-strip__grid,
  body.site-shell.home-page .problem-outcome-grid,
  body.site-shell.home-page .services-grid,
  body.site-shell.home-page .sectors-grid,
  body.site-shell.home-page .pricing-grid,
  body.site-shell.home-page .process-grid {
    grid-template-columns: 1fr;
  }

  body.site-shell.home-page .trust-strip__grid {
    min-height: 0;
    text-align: start;
  }

  body.site-shell.home-page .trust-strip__grid span,
  body.site-shell.home-page .trust-strip__grid span:nth-child(4),
  body.site-shell.home-page .trust-strip__grid span:nth-child(5) {
    min-height: 48px;
    place-items: center start;
    border: 0;
    border-block-end: 1px solid var(--refresh-border-soft);
  }

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

  body.site-shell.home-page .problem-card,
  body.site-shell.home-page .outcome-card {
    min-height: 0;
  }

  body.site-shell.home-page .services-grid .service-card:last-child,
  body.site-shell.home-page .pricing-grid .pricing-card:last-child {
    max-width: none;
    grid-column: auto;
  }

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

  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) {
    grid-column: auto;
  }

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

  body.site-shell.home-page .process-grid::before {
    inset-inline: auto;
    inset-inline-end: 1.35rem;
    inset-block: 1.4rem 1.4rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--refresh-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 .final-cta {
    padding: 1.35rem;
  }

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

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

  body.site-shell.home-page .section {
    padding-block: 3.7rem;
  }

  body.site-shell.home-page .section-title {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }
}

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