/*
 Theme Name:   RevX Child
 Theme URI:    https://go-revx.com
 Description:  RevX Growth Technologies - Astra Child Theme
 Author:       Erick Magnuson / RevX Growth Technologies LLC
 Template:     astra
 Version:      2.2.0
 Text Domain:  revx-child
*/

/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root {
  /* LIGHT THEME.
     Token NAMES are kept (templates reference them inline) but VALUES are
     now light. "dark" = surfaces (light), "white" = primary text (ink/dark).
     muted/border are dark-on-light alpha so they never wash out on a light
     background. Bright brand colors are reserved for fills/gradients; the
     *-ink variants are the text/border-safe (AA-contrast) shades. */
  --revx-dark:         #F4F6F9;   /* page background */
  --revx-dark-alt:     #ECEFF4;   /* deeper light surface */
  --revx-dark-card:    #FFFFFF;   /* primary card surface */
  --revx-dark-card2:   #EEF2F7;   /* alt / tinted card surface */
  --revx-white:        #1E2226;   /* primary text (ink) - was white */
  --revx-lime:         #36C96D;   /* brand bright - fills + gradients only */
  --revx-turquoise:    #00C4CC;
  --revx-aqua:         #008BCE;
  --revx-lime-ink:     #15843F;   /* text/border-safe lime on light */
  --revx-turquoise-ink:#0B7C83;   /* text/border-safe turquoise on light */
  --revx-muted:        rgba(30,34,38,0.66);
  --revx-muted-light:  rgba(30,34,38,0.46);
  --revx-border:       rgba(30,34,38,0.12);
  --revx-border-lime:  rgba(54,201,109,0.45);
  --revx-grad:         linear-gradient(135deg, var(--revx-lime), var(--revx-turquoise));
  --revx-grad-ink:     linear-gradient(135deg, var(--revx-lime-ink), var(--revx-turquoise-ink));
  --revx-shadow:       0 1px 2px rgba(30,34,38,0.04), 0 8px 24px rgba(30,34,38,0.06);

  --font: 'Poppins', sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* ============================================================
   GLOBAL - all RevX templates
   ============================================================ */
body.revx-page {
  background: var(--revx-dark);
  color: var(--revx-white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

body.revx-page #masthead,
body.revx-page .ast-hfb-header,
body.revx-page #colophon,
body.revx-page .footer-widget-area {
  display: none !important;
}

body.revx-page #primary,
body.revx-page .ast-container,
body.revx-page #content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.revx-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.revx-wrap--narrow {
  max-width: 820px;
}

.revx-section {
  padding: 88px 0;
  border-top: 1px solid var(--revx-border);
}

.revx-section--first { border-top: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.revx-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--revx-lime-ink);
  margin-bottom: 16px;
}

.revx-h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 24px;
}

.revx-h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 18px;
}

.revx-h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.revx-grad-text {
  background: var(--revx-grad-ink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.revx-lead {
  font-size: 1.13rem;
  color: var(--revx-muted);
  line-height: 1.72;
  margin: 0 0 20px;
}

.revx-body {
  color: var(--revx-muted);
  margin: 0 0 18px;
}

.revx-body strong { color: var(--revx-white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.revx-btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.15s;
  border: none;
  line-height: 1;
}
.revx-btn:hover { opacity: 0.86; transform: translateY(-2px); }

.revx-btn--primary  { background: var(--revx-grad); color: var(--revx-white); }
.revx-btn--outline  { background: transparent; border: 2px solid var(--revx-turquoise-ink); color: var(--revx-turquoise-ink); padding: 13px 30px; }
.revx-btn--ghost    { background: transparent; border: 2px solid var(--revx-border); color: var(--revx-muted); padding: 13px 30px; }
.revx-btn--lg       { padding: 18px 40px; font-size: 16px; }
.revx-btn--block    { display: block; text-align: center; }

.revx-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   HEADER
   ============================================================ */
.revx-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--revx-border);
}

.revx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 20px;
}

.revx-header__logo img { height: 34px; width: auto; }

.revx-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.revx-header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--revx-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.revx-header__nav a:hover,
.revx-header__nav a.active { color: var(--revx-white); }

.revx-header__cta { font-size: 14px; white-space: nowrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.revx-footer {
  border-top: 1px solid var(--revx-border);
  padding: 36px 0;
}

.revx-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.revx-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--revx-muted);
}

.revx-footer a {
  color: var(--revx-muted);
  text-decoration: none;
}
.revx-footer a:hover { color: var(--revx-white); }

/* ============================================================
   HERO - shared
   ============================================================ */
.revx-hero {
  padding: 104px 0 92px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.revx-hero__glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(54,201,109,0.07) 0%, transparent 62%);
  pointer-events: none;
}

.revx-hero__trust {
  margin-top: 48px;
  font-size: 12.5px;
  color: var(--revx-muted-light);
  letter-spacing: 0.04em;
}

/* ============================================================
   HERO - home showcase (scoped to .revx-hero--home)
   ============================================================ */
.revx-hero--home {
  padding: 122px 0 96px;
  isolation: isolate;
}

/* layered animated background: masked grid + drifting gradient orbs */
.revx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.revx-hero__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--revx-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--revx-border) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 68%);
          mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 68%);
  opacity: 0.62;
}
.revx-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.72;
  will-change: transform;
}
.revx-hero__orb--1 {
  top: -130px; left: 50%; width: 640px; height: 640px; margin-left: -320px;
  background: radial-gradient(circle, rgba(54,201,109,0.42), transparent 62%);
  animation: revx-orb-a 18s ease-in-out infinite;
}
.revx-hero__orb--2 {
  top: -40px; left: 15%; width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(0,196,204,0.34), transparent 62%);
  animation: revx-orb-b 22s ease-in-out infinite;
}
.revx-hero__orb--3 {
  top: 24px; right: 11%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,139,206,0.30), transparent 62%);
  animation: revx-orb-c 26s ease-in-out infinite;
}
@keyframes revx-orb-a { 0%,100% { transform: translate(0,0) scale(1); }      50% { transform: translate(-34px,30px) scale(1.06); } }
@keyframes revx-orb-b { 0%,100% { transform: translate(0,0) scale(1); }      50% { transform: translate(48px,32px) scale(1.08); } }
@keyframes revx-orb-c { 0%,100% { transform: translate(0,0) scale(1); }      50% { transform: translate(-42px,26px) scale(1.05); } }

/* glass "status" pill replacing the plain eyebrow */
.revx-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--revx-border-lime);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: var(--revx-shadow);
  margin-bottom: 22px;
}
.revx-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--revx-lime);
  animation: revx-pulse 2.4s ease-out infinite;
}
@keyframes revx-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(54,201,109,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(54,201,109,0); }
  100% { box-shadow: 0 0 0 0 rgba(54,201,109,0); }
}

/* animated gradient sweep on the headline accent */
.revx-hero--home .revx-h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.55rem);
  letter-spacing: -0.02em;
}
.revx-grad-text--anim {
  background: linear-gradient(110deg,
    var(--revx-lime-ink), var(--revx-turquoise-ink), var(--revx-aqua), var(--revx-lime-ink));
  background-size: 260% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: revx-grad-pan 5.5s linear infinite;
}
@keyframes revx-grad-pan { to { background-position: 260% 0; } }

/* moving sheen across the primary CTA */
.revx-btn--shine { position: relative; overflow: hidden; }
.revx-btn--shine::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
  animation: revx-shine 4.8s ease-in-out infinite;
}
@keyframes revx-shine { 0%,12% { left: -120%; } 40%,100% { left: 165%; } }

/* connected-systems flow visual (the "built to work together" motif) */
.revx-flowviz {
  margin: 48px auto 0;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.revx-flowviz__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 94px;
  padding: 15px 10px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--revx-border);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: var(--revx-shadow);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.revx-flowviz__node i {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--revx-muted);
}
.revx-flowviz__node {
  animation: revx-node-wave 3.2s ease-in-out infinite;
}
.revx-flowviz__node:nth-child(1) { animation-delay: 0s; }
.revx-flowviz__node:nth-child(3) { animation-delay: 0.32s; }
.revx-flowviz__node:nth-child(5) { animation-delay: 0.64s; }
.revx-flowviz__node:nth-child(7) { animation-delay: 0.96s; }
.revx-flowviz__node:nth-child(9) { animation-delay: 1.28s; }
@keyframes revx-node-wave {
  0%, 58%, 100% { box-shadow: var(--revx-shadow); border-color: var(--revx-border); }
  22%           { box-shadow: 0 12px 28px rgba(54,201,109,0.28); border-color: var(--revx-border-lime); }
}
.revx-flowviz__node:hover {
  animation-play-state: paused;
  transform: translateY(-4px);
  border-color: var(--revx-border-lime);
  box-shadow: 0 10px 28px rgba(54,201,109,0.16);
}
.revx-flowviz__link {
  position: relative;
  flex: 1 1 24px;
  min-width: 22px;
  max-width: 56px;
  height: 2px;
  background: var(--revx-border);
  overflow: hidden;
}
.revx-flowviz__link::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--revx-grad);
  transform: translateX(-100%);
  animation: revx-flow 2.6s ease-in-out infinite;
}
.revx-flowviz__link:nth-child(4)::before { animation-delay: 0.4s; }
.revx-flowviz__link:nth-child(6)::before { animation-delay: 0.8s; }
.revx-flowviz__link:nth-child(8)::before { animation-delay: 1.2s; }
@keyframes revx-flow { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* staggered entrance for hero content */
.revx-hero--home .revx-wrap > * {
  animation: revx-rise 0.7s cubic-bezier(.2,.7,.2,1) backwards;
}
.revx-hero--home .revx-wrap > *:nth-child(1) { animation-delay: 0.05s; }
.revx-hero--home .revx-wrap > *:nth-child(2) { animation-delay: 0.13s; }
.revx-hero--home .revx-wrap > *:nth-child(3) { animation-delay: 0.21s; }
.revx-hero--home .revx-wrap > *:nth-child(4) { animation-delay: 0.29s; }
.revx-hero--home .revx-wrap > *:nth-child(5) { animation-delay: 0.37s; }
.revx-hero--home .revx-wrap > *:nth-child(6) { animation-delay: 0.45s; }
.revx-hero--home .revx-wrap > *:nth-child(7) { animation-delay: 0.53s; }
@keyframes revx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .revx-flowviz { gap: 10px; }
  .revx-flowviz__link { display: none; }
  .revx-flowviz__node { min-width: 84px; font-size: 1.35rem; padding: 12px 8px; }
}

/* honor reduced-motion: keep the look, drop the movement */
@media (prefers-reduced-motion: reduce) {
  .revx-hero__orb,
  .revx-pill__dot,
  .revx-grad-text--anim,
  .revx-btn--shine::after,
  .revx-flowviz__link::before,
  .revx-flowviz__node,
  .revx-hero--home .revx-wrap > * {
    animation: none !important;
  }
  .revx-grad-text--anim { background-position: 0 0; }
  .revx-flowviz__link::before { transform: translateX(0); }
  .revx-js .revx-reveal { opacity: 1 !important; animation: none !important; }
}

/* ============================================================
   SECTION HEADER - centered
   ============================================================ */
.revx-section-hdr {
  text-align: center;
  margin-bottom: 56px;
}
.revx-section-hdr .revx-lead {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   CARDS - generic
   ============================================================ */
.revx-card {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  padding: 36px 30px;
  transition: border-color 0.2s;
}
.revx-card:hover { border-color: rgba(54,201,109,0.4); }
.revx-card--featured { border-color: var(--revx-lime); }

.revx-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--revx-grad);
  color: var(--revx-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.revx-card__icon {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 16px;
}

.revx-card__sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--revx-lime-ink);
  margin-top: 18px;
}

/* ============================================================
   CHECKLIST
   ============================================================ */
.revx-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.revx-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--revx-border);
  color: var(--revx-muted);
  font-size: 0.93rem;
}
.revx-checklist li:last-child { border-bottom: none; }
.revx-checklist li::before {
  content: '✓';
  color: var(--revx-lime-ink);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   STAT BLOCK
   ============================================================ */
.revx-stat-block {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  padding: 40px;
}

.revx-stat { margin-bottom: 32px; }
.revx-stat:last-child { margin-bottom: 0; }

.revx-stat__num {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.2;
  padding-bottom: 2px;
  margin-bottom: 6px;
}

.revx-stat__lbl {
  font-size: 0.88rem;
  color: var(--revx-muted);
  line-height: 1.45;
}

/* ============================================================
   STEPS
   ============================================================ */
.revx-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.revx-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 1px;
  background: var(--revx-grad);
  opacity: 0.25;
}

.revx-step { text-align: center; }

.revx-step__num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--revx-dark-card);
  border: 2px solid var(--revx-lime-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--revx-lime-ink);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.revx-step h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--revx-white);
  margin: 0 0 8px;
}

.revx-step p {
  font-size: 0.86rem;
  color: var(--revx-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   OFFER BOX (discovery call)
   ============================================================ */
.revx-offer-box {
  background: linear-gradient(135deg, rgba(54,201,109,0.06), rgba(0,196,204,0.06));
  border: 1px solid var(--revx-border-lime);
  border-radius: var(--r-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.revx-offer-box__cta { text-align: center; }

.revx-offer-box__cta .revx-h3 { margin-bottom: 8px; }

.revx-offer-box__cta .revx-body { margin-bottom: 28px; font-size: 0.92rem; }

.revx-offer-box__cta .revx-btn { margin-bottom: 12px; }

.revx-fine-print {
  font-size: 12px;
  color: var(--revx-muted-light);
  margin-top: 10px;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.revx-about-strip {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.revx-about-strip__img img {
  border-radius: var(--r-md);
  width: 100%;
}

.revx-about-strip__proof {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.revx-proof-item__num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.revx-proof-item__lbl {
  font-size: 12px;
  color: var(--revx-muted);
}

.revx-about-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--revx-turquoise-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
}
.revx-about-strip__link:hover { color: var(--revx-lime-ink); }

/* ============================================================
   HOMEPAGE - PILLAR CARDS
   ============================================================ */
.revx-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.revx-pillar {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.revx-pillar:hover { border-color: rgba(54,201,109,0.35); }

.revx-pillar__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--revx-grad);
}

.revx-pillar__icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 20px;
}

.revx-pillar__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--revx-lime-ink);
  margin-bottom: 10px;
  display: block;
}

.revx-pillar ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
}

.revx-pillar ul li {
  font-size: 0.9rem;
  color: var(--revx-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--revx-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.revx-pillar ul li:last-child { border-bottom: none; }
.revx-pillar ul li::before { content: '→'; color: var(--revx-turquoise-ink); font-size: 0.85rem; }

/* ============================================================
   CONTENT FACTORY PAGE
   ============================================================ */
.revx-cf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(54,201,109,0.1);
  border: 1px solid var(--revx-border-lime);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--revx-lime-ink);
  margin-bottom: 24px;
}

/* Capability table */
.revx-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.revx-cap-item {
  background: var(--revx-dark-card2);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  padding: 28px 26px;
}

.revx-cap-item__name {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--revx-white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.revx-cap-item__name span { font-size: 1.2rem; }

.revx-cap-item__desc {
  font-size: 0.86rem;
  color: var(--revx-muted);
  line-height: 1.6;
  margin: 0;
}

/* Tier cards */
.revx-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.revx-tier {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, translate 0.2s;
}
.revx-tier:hover { border-color: rgba(54,201,109,0.4); translate: 0 -3px; }
.revx-tier--featured { border-color: var(--revx-lime); box-shadow: 0 0 0 1px var(--revx-lime); }

.revx-tier__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--revx-white);
  margin-bottom: 4px;
}

.revx-tier__audience {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--revx-lime-ink);
  margin-bottom: 18px;
}

.revx-tier__pain {
  font-size: 0.9rem;
  color: var(--revx-muted);
  line-height: 1.65;
  margin: 0 0 20px;
}

.revx-tier__offer {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--revx-white);
  background: var(--revx-dark-card2);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  margin-bottom: 20px;
}

.revx-tier .revx-btn { margin-top: auto; }

/* ============================================================
   SERVICE CARDS - blueprint (.revx-service-grid) + one-pager
   ============================================================ */
.revx-service-grid,
.revx-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.revx-service-card {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, translate 0.25s;
}
/* brand gradient accent bar that draws in on hover */
.revx-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--revx-grad);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.revx-service-card:hover {
  border-color: var(--revx-border-lime);
  box-shadow: 0 16px 40px rgba(30,34,38,0.10), 0 0 0 1px var(--revx-border-lime);
  translate: 0 -6px;
}
.revx-service-card:hover::before { transform: scaleX(1); }
.revx-service-card__icon { transition: transform 0.25s ease; }
.revx-service-card:hover .revx-service-card__icon { transform: scale(1.14) translateY(-2px); }
.revx-service-card:hover .revx-service-card__price { color: var(--revx-turquoise-ink); }
.revx-service-card--featured { border-color: var(--revx-lime); box-shadow: 0 0 0 1px var(--revx-lime); }
.revx-service-card--featured::before { transform: scaleX(1); }

/* scroll-reveal entrance — shared across repeated blocks (see revx.js for the
   selector list). Progressive enhancement: hidden state is gated behind .revx-js,
   so without JS everything renders normally. Hover lifts use `translate` so they
   compose with the animation's held `transform`. */
.revx-js .revx-reveal { opacity: 0; }
.revx-js .revx-reveal.is-visible {
  animation: revx-rise 0.6s cubic-bezier(.2,.7,.2,1) both;
}

.revx-service-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--revx-grad);
  color: var(--revx-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.revx-service-card__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
}

.revx-service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--revx-white);
}

.revx-service-card p {
  color: var(--revx-muted);
  font-size: 0.92rem;
  margin: 0 0 16px;
}

.revx-service-card__price {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--revx-lime-ink);
  border-top: 1px solid var(--revx-border);
  padding-top: 16px;
}

/* ============================================================
   DIFFERENTIATORS LIST - content studio
   ============================================================ */
.revx-diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.revx-diff-item {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-left: 3px solid var(--revx-lime);
  border-radius: var(--r-md);
  padding: 28px 26px;
}

.revx-diff-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--revx-white);
}

.revx-diff-item p {
  font-size: 0.9rem;
  color: var(--revx-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   ENGAGEMENT GRID - content studio
   ============================================================ */
.revx-engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.revx-engage-item {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  text-align: center;
}

.revx-engage-item__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}

.revx-engage-item h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--revx-white);
}

.revx-engage-item p {
  font-size: 0.9rem;
  color: var(--revx-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   DEMO STRIP - content studio
   ============================================================ */
.revx-demo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ============================================================
   ONE-PAGER TEMPLATE (page-revx-onepager.php)
   Standalone layout using its own class namespace.
   ============================================================ */
.revx-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Site header / footer */
.revx-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--revx-border);
}
.revx-site-header .revx-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}
.revx-logo img { height: 34px; width: auto; }
.revx-nav-cta { font-size: 14px; white-space: nowrap; }

.revx-site-footer {
  border-top: 1px solid var(--revx-border);
  padding: 36px 0;
}
.revx-site-footer .revx-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.revx-site-footer p { margin: 0; font-size: 13px; color: var(--revx-muted); }
.revx-site-footer a { color: var(--revx-muted); text-decoration: none; }
.revx-site-footer a:hover { color: var(--revx-white); }

/* Eyebrow label + gradient highlight */
.revx-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--revx-lime-ink);
  margin-bottom: 16px;
}
.revx-highlight {
  background: var(--revx-grad-ink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* One-pager section rhythm + base typography */
.revx-problem,
.revx-services,
.revx-how,
.revx-discovery,
.revx-about,
.revx-final-cta {
  padding: 88px 0;
  border-top: 1px solid var(--revx-border);
}

.revx-hero h1:not(.revx-h1) {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 24px;
}

.revx-problem h2,
.revx-services h2,
.revx-how h2,
.revx-discovery h2,
.revx-about h2,
.revx-final-cta h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 18px;
}

.revx-hero__sub,
.revx-section-header p,
.revx-problem__copy p,
.revx-discovery__copy p,
.revx-about__copy p,
.revx-final-cta p {
  color: var(--revx-muted);
  line-height: 1.7;
}

.revx-problem__copy strong,
.revx-discovery__copy strong,
.revx-about__copy strong {
  color: var(--revx-white);
  font-weight: 700;
}

.revx-hero__sub {
  font-size: 1.13rem;
  max-width: 720px;
  margin: 0 auto 32px;
}

.revx-hero__cta-group,
.revx-final-cta__cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* One-pager centered section header */
.revx-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* Problem section */
.revx-problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.revx-problem__stat-block {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  padding: 40px;
}
.revx-stat__number {
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--revx-grad-ink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.revx-stat__label {
  font-size: 0.88rem;
  color: var(--revx-muted);
  line-height: 1.45;
}

/* Discovery call offer */
.revx-discovery__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.revx-discovery__what {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.revx-discovery__what li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--revx-border);
  color: var(--revx-muted);
  font-size: 0.93rem;
}
.revx-discovery__what li:last-child { border-bottom: none; }
.revx-discovery__what li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--revx-lime-ink);
  font-weight: 700;
}
.revx-discovery__cta {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border-lime);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  text-align: center;
}
.revx-discovery__cta h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.revx-discovery__cta p { color: var(--revx-muted); margin: 0 0 20px; }
.revx-discovery__cta .revx-btn { display: block; margin: 0 0 12px; }

/* About strip (one-pager) */
.revx-about__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.revx-about__image-block img {
  border-radius: var(--r-md);
  width: 100%;
}
.revx-about__proof-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.revx-proof-item__number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  background: var(--revx-grad-ink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.revx-proof-item__label { font-size: 12px; color: var(--revx-muted); }
.revx-about__proof-link {
  color: var(--revx-turquoise-ink);
  font-weight: 600;
  text-decoration: none;
}
.revx-about__proof-link:hover { color: var(--revx-lime-ink); }

/* Final CTA (one-pager) */
.revx-final-cta { text-align: center; }
.revx-final-cta p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .revx-steps { grid-template-columns: repeat(2, 1fr); }
  .revx-steps::before { display: none; }

  .revx-pillars,
  .revx-cap-grid,
  .revx-diff-list,
  .revx-service-grid,
  .revx-services__grid,
  .revx-tiers,
  .revx-engage-grid {
    grid-template-columns: 1fr;
  }

  .revx-offer-box,
  .revx-about-strip,
  .revx-problem__inner,
  .revx-discovery__inner,
  .revx-about__inner,
  .revx-demo-strip {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .revx-section,
  .revx-problem,
  .revx-services,
  .revx-how,
  .revx-discovery,
  .revx-about,
  .revx-final-cta {
    padding: 56px 0;
  }

  .revx-offer-box { padding: 40px 28px; }

  .revx-header__nav { display: none; }
}

@media (max-width: 560px) {
  .revx-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   HEADER - SERVICES DROPDOWN + MOBILE MENU
   (added for the merged RevX site IA)
   ============================================================ */
.revx-header__nav .revx-has-dropdown { position: relative; }

.revx-header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  box-shadow: var(--revx-shadow);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s, transform 0.16s;
  z-index: 210;
}
.revx-header__nav .revx-has-dropdown:hover .revx-header__dropdown,
.revx-header__nav .revx-has-dropdown:focus-within .revx-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}
.revx-header__dropdown li { display: block; }
.revx-header__dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  white-space: nowrap;
}
.revx-header__dropdown a:hover { background: var(--revx-dark-card2); color: var(--revx-white); }
.revx-header__dropdown a small {
  display: block;
  font-size: 11px;
  color: var(--revx-muted-light);
  font-weight: 400;
}

/* Mobile menu (CSS-only checkbox toggle) */
.revx-nav-toggle { display: none; }
.revx-nav-burger {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border: 1px solid var(--revx-border);
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--revx-white);
}

@media (max-width: 880px) {
  .revx-nav-burger { display: inline-flex; }
  .revx-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--revx-dark-card);
    border-bottom: 1px solid var(--revx-border);
    padding: 8px 0;
  }
  .revx-nav-toggle:checked ~ .revx-header__nav { display: flex; }
  .revx-header__nav > li > a { padding: 12px 28px; display: block; }
  .revx-header__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    padding: 0 28px 8px;
  }
  .revx-header__dropdown a { padding: 8px 0; }
}

/* ============================================================
   CLIENT LOGO STRIP
   ============================================================ */
.revx-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 44px;
}
.revx-logos__item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--revx-muted-light);
  letter-spacing: 0.01em;
}
.revx-logos img { height: 30px; width: auto; opacity: 0.75; filter: grayscale(1); }

/* Infinite scrolling client logo marquee (ported from TMSC). The track holds
   two identical copies; translateX(-50%) loops one full copy seamlessly. */
.revx-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.revx-marquee__track {
  display: flex;
  width: max-content;
  animation: revx-marquee 44s linear infinite;
}
.revx-marquee:hover .revx-marquee__track { animation-play-state: paused; }
.revx-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  padding: 0 30px;
}
.revx-marquee__item img {
  height: 34px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.revx-marquee__item img:hover {
  opacity: 1;
  transform: scale(1.06);
}
@keyframes revx-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .revx-marquee {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .revx-marquee__track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .revx-marquee__item[aria-hidden="true"] { display: none; }
}

/* ============================================================
   ENTRY-POINT CARDS (three ways to start)
   ============================================================ */
.revx-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.revx-entry {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, translate 0.2s;
}
.revx-entry:hover { border-color: rgba(54,201,109,0.4); translate: 0 -3px; }
.revx-entry--featured { border-color: var(--revx-lime); box-shadow: 0 0 0 1px var(--revx-lime); }
.revx-entry__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--revx-lime-ink);
  margin-bottom: 12px;
}
.revx-entry__title { font-size: 1.12rem; font-weight: 700; margin: 0 0 12px; color: var(--revx-white); }
.revx-entry p { color: var(--revx-muted); font-size: 0.92rem; margin: 0 0 16px; }
.revx-entry .revx-checklist { margin-bottom: 22px; }
.revx-entry .revx-btn { margin-top: auto; }

/* ============================================================
   "PART OF THE GROWTH BLUEPRINT" BADGE
   ============================================================ */
.revx-bp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,196,204,0.1);
  border: 1px solid var(--revx-border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--revx-turquoise-ink);
  margin-bottom: 24px;
}

/* ============================================================
   COMPARE GRID (without / with)
   ============================================================ */
.revx-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.revx-compare__col {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.revx-compare__col--good { border-color: var(--revx-border-lime); }
.revx-compare__head {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.revx-compare__col--bad .revx-compare__head { color: var(--revx-muted-light); }
.revx-compare__col--good .revx-compare__head { color: var(--revx-lime-ink); }
.revx-compare ul { list-style: none; padding: 0; margin: 0; }
.revx-compare li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--revx-border);
  color: var(--revx-muted);
  font-size: 0.93rem;
}
.revx-compare li:last-child { border-bottom: none; }
.revx-compare__col--bad li::before { content: '✕'; color: var(--revx-muted-light); flex-shrink: 0; }
.revx-compare__col--good li::before { content: '✓'; color: var(--revx-lime-ink); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   SIMPLE TABLE
   ============================================================ */
.revx-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.revx-table th,
.revx-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--revx-border);
  vertical-align: top;
}
.revx-table th { font-weight: 700; color: var(--revx-white); }
.revx-table td { color: var(--revx-muted); }
.revx-table tr:last-child td { border-bottom: none; }

/* ============================================================
   FAQ (details / summary)
   ============================================================ */
.revx-faq { max-width: 760px; margin: 0 auto; }
.revx-faq__item {
  border-bottom: 1px solid var(--revx-border);
}
.revx-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--revx-white);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.revx-faq__item summary::-webkit-details-marker { display: none; }
.revx-faq__item summary::after { content: '+'; color: var(--revx-lime-ink); font-weight: 700; }
.revx-faq__item[open] summary::after { content: '–'; }
.revx-faq__item p {
  margin: 0 0 20px;
  color: var(--revx-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   QUOTE / TESTIMONIAL
   ============================================================ */
.revx-quote {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-left: 3px solid var(--revx-lime);
  border-radius: var(--r-md);
  padding: 32px 30px;
}
.revx-quote p { font-size: 1.05rem; color: var(--revx-white); line-height: 1.6; margin: 0 0 14px; font-style: italic; }
.revx-quote cite { font-style: normal; font-size: 0.86rem; color: var(--revx-muted); font-weight: 600; }

/* ============================================================
   FLOW LOOP (Growth Blueprint 5 stages)
   ============================================================ */
.revx-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}
.revx-flow__node {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border-lime);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--revx-white);
}
.revx-flow__arrow { color: var(--revx-turquoise-ink); font-weight: 700; }

/* ============================================================
   ARTICLE / BLOG PROSE
   ============================================================ */
.revx-article { max-width: 760px; margin: 0 auto; }
.revx-article h2 { font-size: 1.5rem; font-weight: 700; margin: 44px 0 16px; line-height: 1.3; }
.revx-article h3 { font-size: 1.18rem; font-weight: 700; margin: 32px 0 12px; }
.revx-article p { color: var(--revx-muted); margin: 0 0 18px; line-height: 1.75; }
.revx-article ul, .revx-article ol { color: var(--revx-muted); margin: 0 0 18px; padding-left: 22px; line-height: 1.75; }
.revx-article li { margin-bottom: 8px; }
.revx-article strong { color: var(--revx-white); }
.revx-article a { color: var(--revx-turquoise-ink); font-weight: 600; }
.revx-article blockquote {
  border-left: 3px solid var(--revx-lime);
  margin: 24px 0;
  padding: 8px 0 8px 22px;
  color: var(--revx-white);
  font-style: italic;
}
.revx-article__meta {
  font-size: 0.85rem;
  color: var(--revx-muted-light);
  margin-bottom: 28px;
}

/* Blog index cards reuse .revx-service-grid + .revx-card */
.revx-post-card__date { font-size: 12px; color: var(--revx-muted-light); margin-bottom: 10px; }

@media (max-width: 880px) {
  .revx-entry-grid,
  .revx-compare { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG CAROUSEL (scroll-snap track + arrows)
   ============================================================ */
.revx-carousel { position: relative; }

.revx-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--revx-border) transparent;
}
.revx-carousel__track::-webkit-scrollbar { height: 6px; }
.revx-carousel__track::-webkit-scrollbar-thumb { background: var(--revx-border); border-radius: 3px; }

.revx-carousel__card {
  flex: 0 0 320px;
  max-width: 320px;
  scroll-snap-align: start;
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.revx-carousel__card:hover { border-color: rgba(54,201,109,0.4); transform: translateY(-3px); }

.revx-carousel__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.revx-carousel__thumb img { width: 100%; height: 100%; object-fit: cover; }

.revx-carousel__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.revx-carousel__body h3 { margin-bottom: 10px; }
.revx-carousel__body h3 a { text-decoration: none; color: var(--revx-white); }
.revx-carousel__body h3 a:hover { color: var(--revx-lime-ink); }
.revx-carousel__body p { font-size: 0.9rem; margin-bottom: 16px; }
.revx-carousel__body .revx-service-card__price { margin-top: auto; border-top: none; padding-top: 0; }

.revx-carousel__arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--revx-border);
  background: var(--revx-dark-card);
  color: var(--revx-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--revx-shadow);
  transition: opacity 0.2s, border-color 0.2s;
}
.revx-carousel__arrow--prev { left: -10px; }
.revx-carousel__arrow--next { right: -10px; }
.revx-carousel__arrow:hover { border-color: var(--revx-border-lime); }
.revx-carousel__arrow:disabled { opacity: 0; pointer-events: none; }

@media (max-width: 880px) {
  .revx-carousel__arrow { display: none; }   /* touch users drag the track */
}

/* ============================================================
   GOOGLE REVIEWS CAROUSEL (reuses .revx-carousel track + arrows)
   ============================================================ */
.revx-reviews__summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--revx-muted);
}
.revx-reviews__summary strong { color: var(--revx-white); }

.revx-review-card {
  padding: 26px 24px;
  align-self: flex-start;      /* size to content so short reviews don't leave tall gaps */
}
.revx-review-card__stars {
  color: #f5b301;            /* Google review gold */
  letter-spacing: 2px;
  font-size: 1.05rem;
  line-height: 1;
  margin-bottom: 14px;
}
.revx-review-card__text {
  margin: 0 0 12px;
  border: 0;
  padding: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--revx-white);
}
/* Collapsed preview, added by JS. Full text shows when JS is off. */
.revx-js .revx-review-card__text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}
.revx-review-card__more {
  align-self: flex-start;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--revx-lime-ink);
  cursor: pointer;
}
.revx-review-card__more:hover { text-decoration: underline; }
.revx-review-card__foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 4px;
}
.revx-review-card__name { font-weight: 600; color: var(--revx-white); }
.revx-review-card__src  { font-size: 0.8rem; color: var(--revx-muted); }

/* ============================================================
   BLOG INDEX / ARCHIVE — post grid + pagination
   ============================================================ */
.revx-postgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.revx-postcard {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, translate 0.2s;
}
.revx-postcard:hover {
  border-color: var(--revx-border-lime);
  box-shadow: 0 16px 40px rgba(30,34,38,0.10);
  translate: 0 -6px;
}
.revx-postcard__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.revx-postcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.revx-postcard:hover .revx-postcard__thumb img { transform: scale(1.04); }
.revx-postcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.revx-postcard__body h3 { margin-bottom: 10px; }
.revx-postcard__body h3 a { text-decoration: none; color: var(--revx-white); }
.revx-postcard__body h3 a:hover { color: var(--revx-lime-ink); }
.revx-postcard__body p { font-size: 0.9rem; margin-bottom: 16px; }
.revx-postcard__body .revx-service-card__price { margin-top: auto; border-top: none; padding-top: 0; }

.revx-section .pagination { margin-top: 52px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--revx-border);
  background: var(--revx-dark-card);
  color: var(--revx-muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.pagination a.page-numbers:hover { border-color: var(--revx-border-lime); color: var(--revx-lime-ink); }
.pagination .page-numbers.current { background: var(--revx-grad); color: var(--revx-white); border-color: transparent; }
.pagination .page-numbers.dots { border: none; background: none; }

/* ============================================================
   SINGLE POST — article layout
   ============================================================ */
.revx-hero--article { text-align: left; padding: 84px 0 34px; }
.revx-article__back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--revx-turquoise-ink);
  text-decoration: none;
  margin-bottom: 18px;
}
.revx-article__back:hover { color: var(--revx-lime-ink); }
.revx-article__meta { color: var(--revx-muted-light); font-size: 14px; margin: 10px 0 0; }
.revx-article__hero-img { margin: 0 auto 8px; }
.revx-article__hero-img img { width: 100%; border-radius: var(--r-lg); }

.revx-article { margin-top: 36px; margin-bottom: 40px; }
.revx-article > :first-child { margin-top: 0; }
.revx-article p,
.revx-article ul,
.revx-article ol,
.revx-article blockquote,
.revx-article figure,
.revx-article pre,
.revx-article table { margin: 0 0 22px; }
.revx-article h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--revx-white); line-height: 1.3; margin: 40px 0 14px; }
.revx-article h3 { font-size: 1.25rem; font-weight: 700; color: var(--revx-white); margin: 32px 0 12px; }
.revx-article h4 { font-size: 1.05rem; font-weight: 700; color: var(--revx-white); margin: 26px 0 10px; }
.revx-article a { color: var(--revx-lime-ink); text-decoration: underline; text-underline-offset: 2px; }
.revx-article a:hover { color: var(--revx-turquoise-ink); }
.revx-article ul, .revx-article ol { padding-left: 1.3em; }
.revx-article li { margin-bottom: 8px; }
.revx-article blockquote {
  border-left: 3px solid var(--revx-lime);
  padding: 4px 0 4px 20px;
  color: var(--revx-white);
  font-size: 1.1rem;
  font-style: italic;
}
.revx-article img, .revx-article figure img { border-radius: var(--r-md); }
.revx-article figure { text-align: center; }
.revx-article figcaption { font-size: 13px; color: var(--revx-muted-light); margin-top: 8px; }
.revx-article pre {
  background: var(--revx-dark-card2);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  overflow: auto;
  font-size: 0.9rem;
}
.revx-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--revx-dark-card2);
  border: 1px solid var(--revx-border);
  padding: 1px 6px;
  border-radius: 5px;
}
.revx-article pre code { background: none; border: none; padding: 0; }
.revx-article hr { border: none; border-top: 1px solid var(--revx-border); margin: 36px 0; }
.revx-article table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.revx-article th, .revx-article td { border: 1px solid var(--revx-border); padding: 10px 12px; text-align: left; }
.revx-article th { background: var(--revx-dark-card2); color: var(--revx-white); }
.revx-article__pages { font-size: 14px; color: var(--revx-muted); }
.revx-article__pages a { color: var(--revx-lime-ink); }

.revx-article__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.revx-article__tags a {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--revx-muted);
  background: var(--revx-dark-card2);
  border: 1px solid var(--revx-border);
  border-radius: 999px;
  padding: 5px 12px;
  text-decoration: none;
}
.revx-article__tags a:hover { border-color: var(--revx-border-lime); color: var(--revx-lime-ink); }

.revx-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  margin-top: 44px;
}
.revx-author__avatar img { width: 64px; height: 64px; border-radius: 50%; }
.revx-author__name { font-weight: 700; color: var(--revx-white); margin-bottom: 6px; }
.revx-author__bio { color: var(--revx-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

.revx-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; }
.revx-postnav__link {
  flex: 1 1 0;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 0.2s, translate 0.2s;
}
.revx-postnav__link:hover { border-color: var(--revx-border-lime); translate: 0 -3px; }
.revx-postnav__link span { font-size: 12px; color: var(--revx-muted-light); font-weight: 600; }
.revx-postnav__link strong { color: var(--revx-white); font-size: 0.98rem; line-height: 1.3; }
.revx-postnav__link--next { text-align: right; align-items: flex-end; }
.revx-comments { margin-top: 48px; }

/* Single post two-column layout + sticky sidebar */
.revx-hero--article .revx-h1 { max-width: 760px; }
.revx-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.revx-single__main { min-width: 0; }
.revx-single .revx-article__hero-img { margin-bottom: 28px; }
.revx-single .revx-article { margin-top: 0; }

.revx-single__aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.revx-widget {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 24px 24px 26px;
}
.revx-widget--cta {
  background: linear-gradient(135deg, rgba(54,201,109,0.06), rgba(0,196,204,0.06));
  border-color: var(--revx-border-lime);
}
.revx-widget__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--revx-lime-ink);
  margin-bottom: 10px;
}
.revx-widget h3 { margin-bottom: 10px; }
.revx-widget > p { color: var(--revx-muted); font-size: 0.92rem; margin: 0 0 16px; }
.revx-widget__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--revx-turquoise-ink);
  text-decoration: none;
}
.revx-widget__link:hover { color: var(--revx-lime-ink); }

.revx-mini { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--revx-border); }
.revx-mini:first-of-type { border-top: none; padding-top: 4px; }
.revx-mini__thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; }
.revx-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.revx-mini__date { font-size: 11px; color: var(--revx-muted-light); margin-bottom: 4px; }
.revx-mini__title { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.revx-mini__title a { color: var(--revx-white); text-decoration: none; }
.revx-mini__title a:hover { color: var(--revx-lime-ink); }

@media (max-width: 980px) {
  .revx-single { grid-template-columns: 1fr; gap: 40px; }
  .revx-single__aside { position: static; }
}

/* Inline two-column explainer grids (e.g. Content Studio "The Problem") stack on mobile */
@media (max-width: 860px) {
  .revx-2col { grid-template-columns: 1fr !important; gap: 36px !important; }
}

/* 404 search form */
.revx-404-search { max-width: 480px; margin: 36px auto 0; }
.revx-404-search .search-form { display: flex; gap: 10px; }
.revx-404-search .search-field {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--revx-border);
  border-radius: var(--r-sm);
  background: var(--revx-dark-card);
  color: var(--revx-white);
  font-family: var(--font);
  font-size: 15px;
}
.revx-404-search .search-submit {
  padding: 13px 22px;
  border: none;
  border-radius: var(--r-sm);
  background: var(--revx-grad);
  color: var(--revx-white);
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font);
  cursor: pointer;
}
.revx-404-search .search-submit:hover { opacity: 0.88; }

/* ============================================================
   BOOKING — inline embed (the /book page)
   ============================================================ */
.revx-booking-embed {
  background: var(--revx-dark-card);
  border: 1px solid var(--revx-border);
  border-radius: var(--r-lg);
  padding: 12px;
  box-shadow: var(--revx-shadow);
}
.revx-booking-embed iframe { display: block; width: 100%; min-height: 72vh; border: none; }

@media (max-width: 880px) {
  .revx-postgrid { grid-template-columns: 1fr 1fr; }
  .revx-postnav { flex-direction: column; }
  .revx-postnav__link { max-width: none; }
  .revx-postnav__link--next { text-align: left; align-items: flex-start; }
}
@media (max-width: 560px) {
  .revx-postgrid { grid-template-columns: 1fr; }
}