/* =============================================
   DX4 STUDIO — Refresh layer
   Loaded AFTER style.css to elevate:
     · Header (sticky nav + dropdowns + CTA)
     · Hero (Revolution Slider captions + buttons)
     · Services (#570 cards)
   Brand alignment: cyan #00BCD4 from logo, retained on all primary accents.
   Non-breaking — overrides only.
   ============================================= */

:root {
  --rx-brand: #00BCD4;
  --rx-brand-deep: #0097A7;
  --rx-brand-bright: #4DD0E1;
  --rx-ink: #0F1419;
  --rx-soft: rgba(15, 20, 25, 0.66);
  --rx-mute: rgba(15, 20, 25, 0.50);
  --rx-faint: rgba(15, 20, 25, 0.32);
  --rx-line: rgba(15, 20, 25, 0.10);
  --rx-line-strong: rgba(15, 20, 25, 0.18);
  --rx-cream: #f4f4f4;
  --rx-glass: rgba(255, 255, 255, 0.82);
  --rx-shadow-md: 0 12px 32px -8px rgba(15,20,25,0.10);
  --rx-shadow-lg: 0 28px 60px -16px rgba(15,20,25,0.18);
  --rx-shadow-glow: 0 12px 30px -8px rgba(0,188,212,0.45);
  --rx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rx-font: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
}

/* === Body type baseline — let existing classes lead, but inherit Inter Tight === */
body { font-family: var(--rx-font); letter-spacing: -0.005em; }

/* =============================================
   1. HEADER — refined sticky nav
   ============================================= */
.navbar.sticky-nav {
  height: auto;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 320ms var(--rx-ease),
              border-color 320ms var(--rx-ease),
              padding 320ms var(--rx-ease),
              backdrop-filter 320ms var(--rx-ease);
}
/* Once user scrolls, JS toggles `affix` / inline scroll classes; we trigger glass via this combined selector */
body:not(.no-rx) .navbar.sticky-nav.is-scrolled,
body:not(.no-rx) .navbar.sticky-nav.affix {
  background: var(--rx-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--rx-line);
  padding: 8px 0;
}

/* Logo sizing — slightly smaller, sharper */
.navbar.sticky-nav .logo,
.navbar.sticky-nav .logo-light,
.navbar.sticky-nav .logo-dark { height: 38px !important; }

/* Hero is now light cream — show the COLOR logo always */
.navbar.sticky-nav .logo-light { display: none !important; opacity: 0 !important; }
.navbar.sticky-nav .logo-dark  { display: inline !important; opacity: 1 !important; }

/* Nav links — dark on cream, always */
.navbar.sticky-nav .navbar-nav > li > a,
.nav-white.sticky-nav .navbar-nav li a {
  color: var(--rx-ink) !important;
  font-family: var(--rx-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 10px 16px !important;
  border-bottom: 0 !important;
  border-radius: 999px;
  transition: color 280ms var(--rx-ease), background 280ms var(--rx-ease);
}
.navbar.sticky-nav .navbar-nav > li > a:hover,
.navbar.sticky-nav .navbar-nav > li > a.active,
.nav-white.sticky-nav .navbar-nav li a:hover,
.nav-white.sticky-nav .navbar-nav li a.active {
  color: var(--rx-ink) !important;
  background: rgba(15,20,25,0.05);
  border-bottom: 0 !important;
}
.navbar.sticky-nav .navbar-nav > li > a.active::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rx-brand);
  margin-right: 7px;
  vertical-align: middle;
}
.navbar.sticky-nav .navbar-nav > li > a i.fa-angle-down {
  font-size: 11px;
  color: var(--rx-ink) !important;
  margin-left: 4px;
  transition: transform 280ms var(--rx-ease);
}
.navbar.sticky-nav .navbar-nav > li.open > a i.fa-angle-down,
.navbar.sticky-nav .navbar-nav > li:hover > a i.fa-angle-down { transform: rotate(180deg); }

/* Dropdown menu — clean white card with soft shadow */
.navbar.sticky-nav .navbar-nav .dropdown-menu {
  margin-top: 10px;
  padding: 8px;
  min-width: 240px;
  border: 1px solid var(--rx-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--rx-shadow-lg);
}
.navbar.sticky-nav .navbar-nav .dropdown-menu li > a {
  display: block;
  padding: 12px 14px !important;
  font-size: 14px;
  font-weight: 500;
  color: var(--rx-soft) !important;
  border-radius: 10px;
  transition: color 200ms var(--rx-ease), background 200ms var(--rx-ease);
}
.navbar.sticky-nav .navbar-nav .dropdown-menu li > a:hover {
  background: rgba(0,188,212,0.06) !important;
  color: var(--rx-ink) !important;
}

/* CTA button in nav — dark pill on cream */
.header-right .btn-small-white-background,
.header-right a.btn-small-white-background {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px !important;
  background: var(--rx-ink) !important;
  color: #ffffff !important;
  border: 1px solid var(--rx-ink) !important;
  border-radius: 999px !important;
  font-family: var(--rx-font);
  font-size: 13.5px !important;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-right: 0 !important;
  transition: transform 240ms var(--rx-ease),
              background 240ms var(--rx-ease),
              border-color 240ms var(--rx-ease),
              color 240ms var(--rx-ease),
              box-shadow 240ms var(--rx-ease);
}
.header-right .btn-small-white-background::after {
  content: "→";
  display: inline-block;
  transition: transform 240ms var(--rx-ease);
}
.header-right .btn-small-white-background:hover {
  background: var(--rx-brand) !important;
  border-color: var(--rx-brand) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--rx-shadow-glow);
}
.header-right .btn-small-white-background:hover::after { transform: translateX(3px); }

/* Mobile hamburger — dark on cream */
.navbar.sticky-nav .navbar-toggle {
  border: 1px solid var(--rx-line-strong);
  border-radius: 999px;
  padding: 9px 11px;
  background: transparent;
}
.navbar.sticky-nav .navbar-toggle .icon-bar { background: var(--rx-ink); height: 1.5px; }

/* Improve nav alignment / spacing */
.accordion-menu { gap: 6px; }

/* =============================================
   2. HERO — simple editorial (single H1 + single text)
   ============================================= */
.hero-simple {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding: clamp(120px, 14vh, 180px) 0 clamp(80px, 10vh, 140px);
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(0,188,212,0.10) 0%, transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(0,151,167,0.08) 0%, transparent 55%),
    linear-gradient(180deg, #FBFAF7 0%, #F4F1EB 100%);
  color: var(--rx-ink);
}
.hero-simple__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-simple__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-simple__glow--a {
  width: 520px; height: 520px;
  top: -120px; right: -120px;
  background: radial-gradient(closest-side, rgba(0,188,212,0.30), transparent 70%);
  animation: rxFloatA 12s var(--rx-ease) infinite alternate;
}
.hero-simple__glow--b {
  width: 380px; height: 380px;
  bottom: -120px; left: -100px;
  background: radial-gradient(closest-side, rgba(77,208,225,0.22), transparent 70%);
  animation: rxFloatB 14s var(--rx-ease) infinite alternate;
}
@keyframes rxFloatA { from { transform: translate(0,0); } to { transform: translate(-30px, 24px); } }
@keyframes rxFloatB { from { transform: translate(0,0); } to { transform: translate(28px, -22px); } }

.hero-simple__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

/* Eyebrow — small, all-caps, with a cyan tick */
.hero-simple__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--rx-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rx-soft);
  margin-bottom: clamp(20px, 3vw, 32px);
  position: relative;
  padding-left: 36px;
  opacity: 0;
  transform: translateY(8px);
  animation: rxFade 800ms 200ms var(--rx-ease) forwards;
}
.hero-simple__eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--rx-brand);
  transform: translateY(-50%);
}

/* H1 — confident, balanced, italic accent for "brands & websites" */
.hero-simple__title {
  font-family: var(--rx-font);
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--rx-ink);
  margin: 0 0 clamp(20px, 2.5vw, 32px) 0;
  max-width: 18ch;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(14px);
  animation: rxFade 1000ms 360ms var(--rx-ease) forwards;
}
.hero-simple__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--rx-brand-deep) 0%, var(--rx-brand) 50%, var(--rx-brand-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lead text — single supporting paragraph */
.hero-simple__lead {
  font-family: var(--rx-font);
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.2rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--rx-soft);
  letter-spacing: -0.008em;
  margin: 0 0 clamp(28px, 3vw, 40px) 0;
  max-width: 56ch;
  opacity: 0;
  transform: translateY(14px);
  animation: rxFade 1000ms 540ms var(--rx-ease) forwards;
}

/* CTAs */
.hero-simple__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  transform: translateY(14px);
  animation: rxFade 1000ms 720ms var(--rx-ease) forwards;
}
.hero-simple__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--rx-ink);
  color: #ffffff;
  border: 1px solid var(--rx-ink);
  border-radius: 999px;
  font-family: var(--rx-font);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 240ms var(--rx-ease),
              background 240ms var(--rx-ease),
              border-color 240ms var(--rx-ease),
              box-shadow 240ms var(--rx-ease);
}
.hero-simple__btn-primary:hover {
  background: var(--rx-brand);
  border-color: var(--rx-brand);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--rx-shadow-glow);
}
.hero-simple__btn-primary .arrow { display: inline-block; transition: transform 240ms var(--rx-ease); }
.hero-simple__btn-primary:hover .arrow { transform: translateX(4px); }

.hero-simple__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 4px;
  font-family: var(--rx-font);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--rx-ink);
  text-decoration: none;
  position: relative;
}
.hero-simple__btn-secondary::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 12px;
  height: 1px;
  background: var(--rx-ink);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform 360ms var(--rx-ease);
}
.hero-simple__btn-secondary:hover { color: var(--rx-brand-deep); }
.hero-simple__btn-secondary:hover::after { background: var(--rx-brand); }

/* Hero status pill — top-right floating chip (over light hero now) */
.hero-status {
  position: absolute;
  top: clamp(90px, 12vh, 130px);
  right: clamp(20px, 4vw, 56px);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--rx-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  font-family: var(--rx-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--rx-ink);
  pointer-events: auto;
  animation: rxFade 800ms 200ms var(--rx-ease) both;
}
.hero-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rx-brand);
  box-shadow: 0 0 0 4px rgba(0,188,212,0.22);
  animation: rxPulse 2.4s var(--rx-ease) infinite;
}
@keyframes rxPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(0,188,212,0.20); }
  50%     { box-shadow: 0 0 0 8px rgba(0,188,212,0.04); }
}
@keyframes rxFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero scroll cue at bottom — dark on cream */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--rx-font);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rx-mute);
  pointer-events: none;
}
.hero-scroll-cue::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--rx-mute), transparent);
  animation: rxScroll 2.4s var(--rx-ease) infinite;
}
@keyframes rxScroll {
  0%,100% { opacity: 0.4; transform: scaleY(0.5); transform-origin: top; }
  50%     { opacity: 1;   transform: scaleY(1); }
}

/* =============================================
   3. SERVICES — refined cards
   ============================================= */
.corporate-standards.bg-gray {
  background: var(--rx-cream) !important;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 120px) !important;
}

/* Section title — agency-class header */
.corporate-standards .section-title {
  font-family: var(--rx-font);
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
  color: var(--rx-ink) !important;
  margin-bottom: 16px !important;
}
/* Cards wrap — better gutters */
.corporate-standards .cards_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 36px !important;
  margin: 0 !important;
}
.corporate-standards .cards_wrap > [class*="col-"] {
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}
@media (max-width: 991px) {
  .corporate-standards .cards_wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .corporate-standards .cards_wrap { grid-template-columns: 1fr; }
}

/* The card itself — keep the dark surface but elevate everything else */
.corporate-standards ._570_card {
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 420px;
  padding: 36px 36px 32px !important;
  background: linear-gradient(180deg, #0F1419 0%, #1A2229 100%) !important;
  background-color: #0F1419 !important;
  border-radius: 22px !important;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--rx-shadow-md) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 380ms var(--rx-ease),
              box-shadow 380ms var(--rx-ease),
              border-color 380ms var(--rx-ease);
}
.corporate-standards ._570_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 0% 0%, rgba(0,188,212,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 380ms var(--rx-ease);
  pointer-events: none;
}
.corporate-standards ._570_card.second {margin-top: 0 !important;}
.corporate-standards ._570_card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,188,212,0.32);
  box-shadow: 0 32px 60px -20px rgba(0,188,212,0.30), 0 0 0 1px rgba(0,188,212,0.20) inset;
}
.corporate-standards ._570_card:hover::before { opacity: 1; }

/* Inject a service number using existing markup (data-num attr injected via PHP edit) */
.corporate-standards ._570_card[data-num]::after {
  content: attr(data-num);
  position: absolute;
  top: 28px; right: 32px;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  z-index: 2;
}

.corporate-standards ._570_card > div {
  position: relative;
  z-index: 2;
}
.corporate-standards ._570_card h2 {
  font-family: var(--rx-font);
  margin-top: 24px !important;
  margin-bottom: 14px !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}
.corporate-standards ._570_card .subtext.whn {
  max-width: none !important;
  font-family: var(--rx-font);
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  font-weight: 400;
  color: rgba(255,255,255,0.66) !important;
  letter-spacing: -0.005em;
}

/* "Read more" link — refined inline link with underline animation */
.corporate-standards ._570_card a.l {
  position: static !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--rx-font);
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--rx-brand-bright) !important;
  border-top: 1px solid rgba(255,255,255,0.10);
  width: fit-content;
  transition: color 280ms var(--rx-ease), gap 280ms var(--rx-ease);
}
.corporate-standards ._570_card a.l:hover {
  color: #ffffff !important;
  gap: 14px;
}

/* Background icon — keep but reposition + tint */
.corporate-standards ._570_card .img_blackcard {
  width: 96px !important;
  height: 96px !important;
  bottom: 20px !important;
  right: 22px !important;
  margin: 0 !important;
  opacity: 0.10 !important;
  filter: brightness(0) saturate(100%) invert(81%) sepia(25%) saturate(2391%) hue-rotate(146deg) brightness(96%) contrast(93%);
  transition: opacity 380ms var(--rx-ease), transform 380ms var(--rx-ease);
  z-index: 1;
}
.corporate-standards ._570_card:hover .img_blackcard {
  opacity: 0.32 !important;
  transform: translateY(-4px) rotate(-4deg);
}

/* === Reveal-on-scroll for the refresh layer === */
.rx-reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--rx-ease), transform 900ms var(--rx-ease); }
.rx-reveal.is-in { opacity: 1; transform: translateY(0); }

/* Stagger children when the parent is .rx-stagger.
   Universal "is-in" rule reveals every child (covers grids of any length).
   Per-index rules add the staggered delay; items beyond 8 share the last slot. */
.rx-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--rx-ease), transform 700ms var(--rx-ease); }
.rx-stagger.is-in > * { opacity: 1; transform: none; }
.rx-stagger.is-in > *:nth-child(1) { transition-delay:  80ms; }
.rx-stagger.is-in > *:nth-child(2) { transition-delay: 160ms; }
.rx-stagger.is-in > *:nth-child(3) { transition-delay: 240ms; }
.rx-stagger.is-in > *:nth-child(4) { transition-delay: 320ms; }
.rx-stagger.is-in > *:nth-child(5) { transition-delay: 400ms; }
.rx-stagger.is-in > *:nth-child(6) { transition-delay: 480ms; }
.rx-stagger.is-in > *:nth-child(7) { transition-delay: 560ms; }
.rx-stagger.is-in > *:nth-child(8) { transition-delay: 640ms; }
.rx-stagger.is-in > *:nth-child(n+9) { transition-delay: 720ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rx-reveal, .rx-stagger > * { opacity:1 !important; transform:none !important; transition: none !important; }
  .hero-status, .hero-scroll-cue::after { animation: none !important; }
}

/* Responsive hero captions — keep readable on phones */
@media (max-width: 767px) {
  #myCarousel .tp-caption.light_heavy_70_shadowed { font-size: 1.9rem !important; }
  #myCarousel .tp-caption.light_medium_30_shadowed { font-size: 11px !important; padding-left: 28px !important; }
  .hero-status { display: none; }
  .hero-scroll-cue { display: none; }
}

/* =============================================
   4. COMPARISON TABLE — DX4 vs Other Agencies
   Replaces /images/comparsion.png with semantic, responsive HTML
   ============================================= */
.vs {
  max-width: 1100px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--rx-line);
  box-shadow: 0 24px 50px -16px rgba(15,20,25,0.10), 0 1px 0 rgba(15,20,25,0.04);
  text-align: left;
  font-family: var(--rx-font);
}

.vs__row {
  display: grid;
  /* Category column slimmer; data columns equal & wider for readability */
  grid-template-columns: 0.85fr 1.1fr 1.1fr;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.vs__row:last-child { border-bottom: 0; }

.vs__cell {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* Body cells — ✓ / × scanning anchors before us/them text.
   Adds a clear "good column / bad column" cue to the eye, regardless of
   which side the user lands on first. */
.vs__row:not(.vs__row--head) .vs__cell--us,
.vs__row:not(.vs__row--head) .vs__cell--them {
  padding-left: 56px;
  position: relative;
}
.vs__row:not(.vs__row--head) .vs__cell--us::before,
.vs__row:not(.vs__row--head) .vs__cell--them::before {
  position: absolute;
  left: 24px;
  top: 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  flex-shrink: 0;
}
.vs__row:not(.vs__row--head) .vs__cell--us::before {
  content: "✓";
  background: var(--rx-brand);
}
.vs__row:not(.vs__row--head) .vs__cell--them::before {
  content: "×";
  background: #DC2626;
  font-size: 16px;
  line-height: 0.9;
}

/* === US column ===
   HEADER: rich 3-stop diagonal cyan gradient with subtle inner glow.
   BODY:   light cyan tint, dark ink text — clean & readable. */
.vs__cell--us {
  background: rgba(0, 188, 212, 0.07);
  color: var(--rx-ink);
  border-right: 1px solid var(--rx-line);
}
.vs__cell--us-head {
  padding: 36px 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: #ffffff;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #4DD0E1 0%, #00BCD4 50%, #0097A7 100%);
  border-right: 1px solid rgba(255,255,255,0.20);
  position: relative;
  overflow: hidden;
}
.vs__cell--us-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 100% 100%, rgba(0,108,122,0.45) 0%, transparent 70%);
  pointer-events: none;
}
.vs__cell--us-head > * { position: relative; z-index: 1; }
.vs__logo { height: 30px; width: auto; filter: brightness(0) invert(1); }
.vs__tag {
  display: inline-block;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.30);
  width: 70%;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

/* === LEFT column (was middle in source order) — Category labels ===
   Body: cream surface with dark ink labels — a quiet anchor that LEADS
   the row visually without dominating it. Read order: category → us → them.
   Header: cream wash holding the round vs chip. */
.vs__cell--mid {
  background: #FBFAF7;
  color: var(--rx-ink);
  font-weight: 600;
  text-align: left;
  justify-content: flex-start;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid var(--rx-line);
}
.vs__row:not(.vs__row--head) .vs__cell--mid > span {
  position: relative;
  padding-left: 14px;
}
.vs__row:not(.vs__row--head) .vs__cell--mid > span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rx-brand);
  transform: translateY(-50%);
}
.vs__cell--mid-head {
  padding: 36px 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F1EB 100%);
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  text-transform: none;
  letter-spacing: -0.005em;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
}
/* Override category-style dot/uppercase rules on the header cell only */
.vs__cell--mid-head > * { padding-left: 0 !important; }
.vs__cell--mid-head > *::before { display: none !important; }

.vs__head-eyebrow {
  display: inline-block;
  font-family: var(--rx-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rx-brand-deep);
  padding: 5px 11px;
  background: rgba(0,188,212,0.10);
  border: 1px solid rgba(0,188,212,0.22);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
}
.vs__head-label {
  display: block;
  font-family: var(--rx-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--rx-ink);
  text-transform: none;
  max-width: 22ch;
}
.vs__vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rx-cream);
  color: var(--rx-ink);
  font-family: var(--rx-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-style: italic;
  box-shadow: 0 6px 18px -8px rgba(15,20,25,0.18), 0 0 0 1px rgba(15,20,25,0.04);
}

/* === THEM column ===
   HEADER: rich 3-stop diagonal red gradient with subtle inner glow.
   BODY:   light red tint, dark ink text. */
.vs__cell--them {
  background: rgba(220, 38, 38, 0.06);
  color: var(--rx-ink);
  border-left: 1px solid var(--rx-line);
}
.vs__cell--them-head {
  padding: 36px 32px;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #F87171 0%, #DC2626 55%, #991B1B 100%);
  border-left: 1px solid rgba(255,255,255,0.20);
  position: relative;
  overflow: hidden;
}
.vs__cell--them-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 0% 100%, rgba(127,29,29,0.45) 0%, transparent 70%);
  pointer-events: none;
}
.vs__cell--them-head > * { position: relative; z-index: 1; }
.vs__them-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
}

/* Body-row hairlines */
.vs__row:not(.vs__row--head) .vs__cell { border-top: 1px solid var(--rx-line); }

/* Body cell typography — keep readable on light tint */
.vs__row:not(.vs__row--head) .vs__cell--us,
.vs__row:not(.vs__row--head) .vs__cell--them {
  color: var(--rx-ink);
  font-weight: 400;
}

/* Subtle row hover — gives a sense of interactivity for SEO content */
.vs__row:not(.vs__row--head):hover .vs__cell--us  { background: rgba(0, 188, 212, 0.12); }
.vs__row:not(.vs__row--head):hover .vs__cell--them { background: rgba(220, 38, 38, 0.10); }
.vs__row:not(.vs__row--head) .vs__cell { transition: background 240ms var(--rx-ease); }

/* === Tablet — shrink type, keep 3 cols === */
@media (max-width: 980px) {
  .vs__cell { padding: 18px 20px; font-size: 13.5px; }
  .vs__cell--mid { font-size: 15px; }
  .vs__them-title { font-size: 18px; }
  .vs__vs { width: 52px; height: 52px; font-size: 18px; }
  .vs__cell--us-head, .vs__cell--mid-head, .vs__cell--them-head { padding: 28px 22px; }
}

/* === Mobile — stack rows as cards: category → us → them === */
@media (max-width: 720px) {
  .vs {
    max-width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  /* Header collapses to a 2-up brand banner. The left "Side by side" cell
     is informational only — hidden on mobile to maximise contrast between
     the two brand banners. */
  .vs__row--head {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "us them";
    align-items: stretch;
    gap: 0;
    border-bottom: 0;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px -12px rgba(15,20,25,0.14);
  }
  .vs__row--head .vs__cell--us-head   { grid-area: us; }
  .vs__row--head .vs__cell--them-head { grid-area: them; }
  .vs__row--head .vs__cell--mid-head  { display: none; }
  .vs__row--head .vs__cell--us-head {
    padding: 18px 18px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }
  .vs__row--head .vs__logo { height: 22px; }
  .vs__row--head .vs__tag {
    display: none;
  }
  .vs__row--head .vs__cell--mid-head {
    padding: 0;
    border: 0;
    background: #ffffff;
    min-width: 56px;
  }
  .vs__row--head .vs__vs {
    width: 44px; height: 44px;
    font-size: 16px;
  }
  .vs__row--head .vs__cell--them-head {
    padding: 18px 18px;
    justify-content: flex-end;
    align-items: center;
  }
  .vs__row--head .vs__them-title { font-size: 14px; }

  /* Body rows: stack as a card per category — mid first, then us, then them */
  .vs__row:not(.vs__row--head) {
    grid-template-columns: 1fr;
    grid-template-areas: "mid" "us" "them";
    margin-bottom: 14px;
    border: 1px solid var(--rx-line);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
  }
  .vs__cell--us   { grid-area: us;   border: 0 !important; }
  .vs__cell--mid  { grid-area: mid;  border: 0 !important; }
  .vs__cell--them { grid-area: them; border: 0 !important; }

  .vs__cell--mid {
    padding: 14px 18px;
    background: var(--rx-cream);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-align: left;
    justify-content: flex-start;
    color: var(--rx-soft);
    border-bottom: 1px solid var(--rx-line) !important;
  }
  /* Light tints on mobile too — readable, dark text */
  .vs__row:not(.vs__row--head) .vs__cell--us {
    background: rgba(0, 188, 212, 0.08);
    color: var(--rx-ink);
  }
  .vs__row:not(.vs__row--head) .vs__cell--them {
    background: rgba(220, 38, 38, 0.06);
    color: var(--rx-ink);
  }
  .vs__cell--us, .vs__cell--them {
    padding: 16px 18px 16px 44px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.55;
    position: relative;
  }
  /* Check / cross chips — brand cyan + red on light tints */
  .vs__cell--us::before,
  .vs__cell--them::before {
    position: absolute;
    left: 16px; top: 16px;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }
  .vs__row:not(.vs__row--head) .vs__cell--us::before {
    content: "✓";
    background: var(--rx-brand);
    color: #ffffff;
  }
  .vs__row:not(.vs__row--head) .vs__cell--them::before {
    content: "×";
    background: #DC2626;
    color: #ffffff;
  }
}

/* Tweak the parent #features section padding so the comparison breathes */
#features.features {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

/* =============================================
   5. SECTION EYEBROW — small uppercase label above section titles
   ============================================= */
.section-eyebrow {
  display: inline-block;
  font-family: var(--rx-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rx-soft);
  padding: 0 0 14px 0;
  margin-bottom: 18px;
  position: relative;
}
.section-eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 1px;
  background: var(--rx-brand);
}
.text-left .section-eyebrow::after,
.seo-areas__intro .section-eyebrow::after,
.seo-faq__head .section-eyebrow::after { left: 0; transform: none; }

/* =============================================
   6. LOCAL SEO — Chennai areas-served section
   ============================================= */
.seo-areas {
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--rx-cream);
}
.seo-areas__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.seo-areas__intro h2 {
  font-family: var(--rx-font);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--rx-ink);
  margin: 0 0 14px 0;
  max-width: 28ch;
}
.seo-areas__intro p {
  font-family: var(--rx-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--rx-soft);
  max-width: 68ch;
  margin: 0 0 12px 0;
}
.seo-areas__meta {
  font-size: 13.5px !important;
  color: var(--rx-mute) !important;
}
.seo-areas__meta strong { color: var(--rx-ink); font-weight: 600; }
.seo-areas__meta a {
  color: var(--rx-brand-deep);
  border-bottom: 1px solid rgba(0,151,167,0.30);
  transition: color 200ms var(--rx-ease), border-color 200ms var(--rx-ease);
}
.seo-areas__meta a:hover { color: var(--rx-ink); border-bottom-color: var(--rx-ink); }

.seo-areas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--rx-line);
}
@media (max-width: 720px) { .seo-areas__grid { grid-template-columns: 1fr; gap: 28px; } }
.seo-areas__grid h3 {
  font-family: var(--rx-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rx-mute);
  margin: 0 0 16px 0;
}

/* Chip list of neighbourhoods */
.seo-areas__chips {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seo-areas__chips li {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--rx-line);
  border-radius: 999px;
  font-family: var(--rx-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--rx-soft);
  transition: border-color 200ms var(--rx-ease), color 200ms var(--rx-ease), background 200ms var(--rx-ease);
}
.seo-areas__chips li:hover {
  border-color: var(--rx-brand);
  color: var(--rx-ink);
  background: rgba(0,188,212,0.06);
}

/* Service link list */
.seo-areas__links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-areas__links li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--rx-font);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--rx-ink);
  border-bottom: 1px solid var(--rx-line);
  transition: color 200ms var(--rx-ease), padding-left 200ms var(--rx-ease), border-color 200ms var(--rx-ease);
}
.seo-areas__links li:last-child a { border-bottom: 0; }
.seo-areas__links li a::before {
  content: "→";
  display: inline-block;
  color: var(--rx-brand);
  transition: transform 240ms var(--rx-ease);
}
.seo-areas__links li a:hover {
  color: var(--rx-brand-deep);
  padding-left: 6px;
  border-color: var(--rx-brand);
}
.seo-areas__links li a:hover::before { transform: translateX(2px); }

/* =============================================
   7. FAQ — disclosure-style accordion
   ============================================= */
.seo-faq {
  padding: clamp(64px, 8vw, 0) 0;
  background: #ffffff;
}
.seo-faq__inner {
  max-width: 920px;
  margin: 0 auto;
}
.seo-faq__head {
  text-align: left;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.seo-faq__head h2 {
  font-family: var(--rx-font);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--rx-ink);
  margin: 0 0 12px 0;
}
.seo-faq__head p {
  font-family: var(--rx-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--rx-soft);
  margin: 0;
  max-width: 60ch;
}

.seo-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rx-line);
}
.seo-faq__item {
  border-bottom: 1px solid var(--rx-line);
}
.seo-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 4px;
  position: relative;
  font-family: var(--rx-font);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rx-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 200ms var(--rx-ease);
}
.seo-faq__item summary::-webkit-details-marker { display: none; }
.seo-faq__item summary:hover { color: var(--rx-brand-deep); }

/* Plus-to-minus icon */
.seo-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rx-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 240ms var(--rx-ease), border-color 240ms var(--rx-ease), transform 240ms var(--rx-ease);
}
.seo-faq__icon::before,
.seo-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--rx-ink);
  transition: transform 240ms var(--rx-ease), background 240ms var(--rx-ease);
}
.seo-faq__icon::before { width: 11px; height: 1.5px; }
.seo-faq__icon::after  { width: 1.5px; height: 11px; }
.seo-faq__item[open] .seo-faq__icon {
  background: var(--rx-brand);
  border-color: var(--rx-brand);
}
.seo-faq__item[open] .seo-faq__icon::before,
.seo-faq__item[open] .seo-faq__icon::after { background: #ffffff; }
.seo-faq__item[open] .seo-faq__icon::after { transform: rotate(90deg); }

.seo-faq__body {
  padding: 0 4px 22px 4px;
  max-width: 70ch;
}
.seo-faq__body p {
  font-family: var(--rx-font);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--rx-soft);
  margin: 0;
}
.seo-faq__body strong { color: var(--rx-ink); font-weight: 600; }
.seo-faq__body a {
  color: var(--rx-brand-deep);
  border-bottom: 1px solid rgba(0,151,167,0.30);
}
.seo-faq__body a:hover { color: var(--rx-ink); border-bottom-color: var(--rx-ink); }

/* Smooth open/close (browser-native is instant — add a micro animation) */
.seo-faq__item[open] .seo-faq__body {
  animation: rxFaqOpen 360ms var(--rx-ease);
}
@keyframes rxFaqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .seo-faq__item[open] .seo-faq__body { animation: none; }
}

/* =============================================
   8. DARK-HERO PAGES — nav flips white over dark heroes
   Activated by `body.has-dark-hero` (set in header.php JS at runtime
   when the first <section> on the page is .page-title or .bg-black).
   When the user scrolls past 24px (.is-scrolled), nav reverts to the
   default cream-glass + dark-text state — same as the home page.
   ============================================= */

/* --- Logo: show WHITE version while over dark hero --- */
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .logo-light { display: inline !important; opacity: 1 !important; }
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .logo-dark  { display: none !important;   opacity: 0 !important; }

/* --- Top-level nav links only: white text + lighter hover background ---
   Use `> li > a` so the dropdown panel items (which are nested in
   .dropdown-menu) keep their default dark-on-white styling. */
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-nav > li > a,
body.has-dark-hero .nav-white.sticky-nav:not(.is-scrolled) .navbar-nav > li > a {
  color: #ffffff !important;
}
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-nav > li > a:hover,
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-nav > li > a.active,
body.has-dark-hero .nav-white.sticky-nav:not(.is-scrolled) .navbar-nav > li > a:hover,
body.has-dark-hero .nav-white.sticky-nav:not(.is-scrolled) .navbar-nav > li > a.active {
  color: #ffffff !important;
  background: rgba(255,255,255,0.10) !important;
}

/* --- Dropdown panel items always read dark on the white panel,
       even when nav is in white-mode over a dark hero --- */
body.has-dark-hero .navbar.sticky-nav .navbar-nav .dropdown-menu li > a {
  color: var(--rx-soft) !important;
}
body.has-dark-hero .navbar.sticky-nav .navbar-nav .dropdown-menu li > a:hover {
  color: var(--rx-ink) !important;
  background: rgba(0,188,212,0.06) !important;
}

/* --- Caret on dropdowns --- */
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-nav > li > a i.fa-angle-down {
  color: #ffffff !important;
}

/* --- "Get a Free Quote" CTA: white pill on transparent over dark hero --- */
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .header-right .btn-small-white-background,
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .header-right a.btn-small-white-background {
  background: #ffffff !important;
  color: var(--rx-ink) !important;
  border-color: #ffffff !important;
}
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .header-right .btn-small-white-background:hover,
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .header-right a.btn-small-white-background:hover {
  background: var(--rx-brand) !important;
  border-color: var(--rx-brand) !important;
  color: #ffffff !important;
}

/* --- Mobile burger --- */
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-toggle {
  border-color: rgba(255,255,255,0.30);
}
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-toggle .icon-bar {
  background: #ffffff !important;
}

/* --- Active-link dot indicator stays cyan (visible on both white + dark text) --- */
body.has-dark-hero .navbar.sticky-nav:not(.is-scrolled) .navbar-nav > li > a.active::before {
  background: var(--rx-brand);
}

/* =============================================
   9. FOR SOFTWARE TEAMS — outsourcing pitch section
   Two-column: pitch + bullets + CTA on the left, mini case
   studies (mCare, Luxe) on the right.
   ============================================= */
.rx-outsource {
  padding: clamp(64px, 8vw, 112px) 0;

}
.rx-outsource__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 920px) {
  .rx-outsource__inner { grid-template-columns: 1fr; gap: 40px; }
}

.rx-outsource__copy { max-width: 640px; }

.rx-outsource__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rx-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rx-brand-deep);
  padding: 6px 14px 6px 10px;
  background: rgba(0,188,212,0.10);
  border: 1px solid rgba(0,188,212,0.22);
  border-radius: 999px;
  margin-bottom: 22px;
}
.rx-outsource__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rx-brand);
  box-shadow: 0 0 0 4px rgba(0,188,212,0.18);
}

.rx-outsource__title {
  font-family: var(--rx-font);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--rx-ink);
  margin: 0 0 20px;
  max-width: 22ch;
}
.rx-outsource__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--rx-brand-deep) 0%, var(--rx-brand) 50%, var(--rx-brand-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rx-outsource__lead {
  font-family: var(--rx-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rx-soft);
  margin: 0 0 24px;
  max-width: 56ch;
}

.rx-outsource__points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rx-outsource__points li {
  position: relative;
  padding-left: 30px;
  font-family: var(--rx-font);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--rx-soft);
}
.rx-outsource__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--rx-brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.rx-outsource__points strong {
  color: var(--rx-ink);
  font-weight: 600;
}

.rx-outsource__ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.rx-outsource__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--rx-ink);
  color: #ffffff !important;
  border: 1px solid var(--rx-ink);
  border-radius: 999px;
  font-family: var(--rx-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 240ms var(--rx-ease),
              background 240ms var(--rx-ease),
              border-color 240ms var(--rx-ease),
              box-shadow 240ms var(--rx-ease);
}
.rx-outsource__btn-primary:hover {
  background: var(--rx-brand);
  border-color: var(--rx-brand);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--rx-shadow-glow);
}
.rx-outsource__btn-primary .arrow { display: inline-block; transition: transform 240ms var(--rx-ease); }
.rx-outsource__btn-primary:hover .arrow { transform: translateX(3px); }

.rx-outsource__btn-secondary {
  font-family: var(--rx-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--rx-ink) !important;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--rx-line-strong);
  transition: color 240ms var(--rx-ease), border-color 240ms var(--rx-ease);
}
.rx-outsource__btn-secondary:hover {
  color: var(--rx-brand-deep) !important;
  border-color: var(--rx-brand);
}

/* Right column — two stacked mini case-study cards */
.rx-outsource__cases {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rx-outsource__case {
  display: block;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--rx-line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 320ms var(--rx-ease),
              border-color 320ms var(--rx-ease),
              box-shadow 320ms var(--rx-ease);
}
.rx-outsource__case:hover {
  transform: translateY(-3px);
  border-color: rgba(0,188,212,0.32);
  box-shadow: 0 16px 32px -12px rgba(0,188,212,0.18);
}
.rx-outsource__case-tag {
  display: inline-block;
  font-family: var(--rx-font);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rx-brand-deep);
  margin-bottom: 12px;
}
.rx-outsource__case h3 {
  font-family: var(--rx-font);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--rx-ink);
  margin: 0 0 8px;
}
.rx-outsource__case p {
  font-family: var(--rx-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--rx-soft);
  margin: 0 0 16px;
}
.rx-outsource__case-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--rx-line);
}
.rx-outsource__case-meta > span {
  font-family: var(--rx-font);
  font-size: 12.5px;
  color: var(--rx-soft);
}
.rx-outsource__case-meta strong {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--rx-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rx-ink);
  vertical-align: -2px;
}

/* =============================================
   10. WEBSITE PORTFOLIO — full screenshots, 3-col grid.
   Modeled on the web-design-and-development.php block so the
   home page mirrors the deeper service-page credibility.
   ============================================= */
.rx-port {
  padding: clamp(64px, 8vw, 112px) 0;
  background: #ffffff;
}
.rx-port__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.rx-port__eyebrow {
  display: inline-block;
  font-family: var(--rx-font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--rx-mute);
  margin-bottom: 18px;
}
.rx-port__title {
  font-family: var(--rx-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--rx-ink);
  margin: 0 0 14px;
}
.rx-port__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--rx-brand-deep), var(--rx-brand), var(--rx-brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rx-port__lead {
  font-family: var(--rx-font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--rx-soft);
  margin: 0;
}

.rx-port__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 36px);
}
@media (max-width: 920px) { .rx-port__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 560px) { .rx-port__grid { grid-template-columns: 1fr; gap: 28px; } }

.rx-port__item {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: transform 380ms var(--rx-ease);
}
.rx-port__item:hover { transform: translateY(-6px); }

.rx-port__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: var(--rx-cream);
  border: 1px solid var(--rx-line);
  box-shadow: 0 10px 24px -8px rgba(15,20,25,0.06);
  transition: box-shadow 380ms var(--rx-ease), border-color 380ms var(--rx-ease);
}
.rx-port__item:hover .rx-port__media {
  box-shadow: 0 28px 50px -16px rgba(0,151,167,0.20);
  border-color: rgba(0,188,212,0.32);
}
.rx-port__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1200ms var(--rx-ease);
}
.rx-port__item:hover .rx-port__media img { transform: scale(1.03); }

.rx-port__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 2px 0;
  font-family: var(--rx-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rx-ink);
  margin: 0;
  line-height: 1.25;
}
.rx-port__cat {
  display: inline-block;
  font-family: var(--rx-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--rx-mute);
  margin-top: 2px;
}

.rx-port__cta-row {
  text-align: center;
  margin-top: clamp(40px, 5vw, 64px);
}
.rx-port__view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--rx-ink);
  color: #ffffff !important;
  border-radius: 999px;
  font-family: var(--rx-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none !important;
  transition: transform 240ms var(--rx-ease),
              background 240ms var(--rx-ease),
              box-shadow 240ms var(--rx-ease);
}
.rx-port__view-all:hover {
  background: var(--rx-brand);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--rx-shadow-glow);
}
.rx-port__view-all .arrow { display: inline-block; transition: transform 240ms var(--rx-ease); }
.rx-port__view-all:hover .arrow { transform: translateX(4px); }

/* =============================================
   11. REVIEWS — premium asymmetric layout.
   1 featured pull-quote + 2 compact cards. Self-hosted, schema-marked.
   ============================================= */
.rx-reviews {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--rx-cream);
}

/* Header: split layout — title left, lead right */
.rx-reviews__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
@media (max-width: 820px) { .rx-reviews__head { grid-template-columns: 1fr; align-items: start; } }

.rx-reviews__head-left { max-width: 640px; }

.rx-reviews__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rx-font);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--rx-soft);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid var(--rx-line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15,20,25,0.04);
}
.rx-reviews__star {
  display: inline-block;
  color: #FFB400;
  font-size: 16px;
  line-height: 1;
}
.rx-reviews__title {
  font-family: var(--rx-font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: var(--rx-ink);
  margin: 0;
}
.rx-reviews__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--rx-brand-deep), var(--rx-brand), var(--rx-brand-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rx-reviews__lead {
  font-family: var(--rx-font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--rx-soft);
  margin: 0;
  max-width: 42ch;
}

/* 3-equal-column grid — same card treatment across the row */
.rx-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 920px) { .rx-reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .rx-reviews__grid { grid-template-columns: 1fr; max-width: 540px; } }

.rx-review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  background: #ffffff;
  border: 1px solid var(--rx-line);
  border-radius: 22px;
  transition: transform 320ms var(--rx-ease),
              border-color 320ms var(--rx-ease),
              box-shadow 320ms var(--rx-ease);
  overflow: hidden;
}
.rx-review:hover {
  transform: translateY(-3px);
  border-color: rgba(0,188,212,0.30);
  box-shadow: 0 18px 36px -14px rgba(0,151,167,0.22);
}

/* Decorative cyan opening-quote in the top-right corner */
.rx-review__mark {
  position: absolute;
  top: -22px;
  right: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 130px;
  line-height: 1;
  color: var(--rx-brand);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.rx-review__stars {
  position: relative;
  display: inline-flex;
  gap: 3px;
  font-size: 14px;
  line-height: 1;
  color: #FFB400;
  z-index: 1;
}
.rx-review__stars span { letter-spacing: 0; }

.rx-review__body {
  position: relative;
  z-index: 1;
  font-family: var(--rx-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--rx-ink);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.008em;
  flex: 1;
}

.rx-review__person {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  background:#fff;
  border-top: 1px solid var(--rx-line);
}
.rx-review__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rx-brand) 0%, var(--rx-brand-deep) 100%);
  color: #ffffff;
  font-family: var(--rx-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(0,151,167,0.45);
}
.rx-review__id { flex: 1; min-width: 0; }
.rx-review__name {
  display: block;
  font-family: var(--rx-font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--rx-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.rx-review__role {
  display: block;
  font-family: var(--rx-font);
  font-size: 12.5px;
  color: var(--rx-mute);
  margin-top: 2px;
}

/* =============================================
   12. COUNTER SECTION — diagonal cyan gradient
   Replaces the flat #0097A7 background on count.php with a richer
   3-stop brand gradient + soft inner-light + dark-vignette for depth,
   plus a faint grid mask for editorial texture.
   ============================================= */
#counter.fix-background {
  position: relative;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(255,255,255,0.18) 0%, transparent 60%),
    radial-gradient(70% 60% at 20% 100%, rgba(0,60,72,0.32) 0%, transparent 60%),
    linear-gradient(135deg, #4DD0E1 0%, #00BCD4 45%, #0097A7 100%) !important;
  overflow: hidden;
  isolation: isolate;
}
#counter.fix-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 96%, rgba(255,255,255,0.05) 100%),
    linear-gradient(90deg, transparent 96%, rgba(255,255,255,0.05) 100%);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(70% 80% at 50% 50%, #000 30%, transparent 80%);
}
#counter.fix-background > * { position: relative; z-index: 1; }

