/* ─── Chip ─── */
.rv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--rv-radius-full);
  background: var(--rv-accent-soft);
  color: var(--rv-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--rv-space-lg);
  border: 1px solid rgba(59, 110, 245, 0.15);
}

.rv-chip--gold {
  background: var(--rv-gold-soft);
  color: #B8860B;
  border-color: rgba(232, 163, 23, 0.2);
}

.rv-section--dark .rv-chip,
.rv-page-hero .rv-chip {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

/* ─── Buttons ─── */
.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--rv-radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--rv-transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* hover/active overridden in layout.css animation block */

.rv-btn--primary {
  background: var(--rv-gradient-accent);
  color: var(--rv-white);
  box-shadow: var(--rv-shadow-glow);
}
.rv-btn--primary:hover {
  /* enhanced glow defined in layout.css animation block */
}

.rv-btn--outline {
  background: var(--rv-white);
  color: var(--rv-primary);
  border-color: var(--rv-border);
  box-shadow: var(--rv-shadow-xs);
}
.rv-btn--outline:hover {
  border-color: var(--rv-accent);
  color: var(--rv-accent);
  box-shadow: var(--rv-shadow-sm);
}

.rv-btn--outline-light {
  background: transparent;
  color: var(--rv-white);
  border-color: rgba(255,255,255,0.35);
}
.rv-btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.rv-btn--white {
  background: var(--rv-white);
  color: var(--rv-primary);
  box-shadow: var(--rv-shadow-md);
}
.rv-btn--white:hover { background: var(--rv-surface); }

.rv-btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.rv-btn--lg { padding: 18px 36px; font-size: 1rem; }
.rv-btn--block { width: 100%; }

.rv-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rv-space-md);
}

/* ─── Cards ─── */
.rv-card {
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  transition: all var(--rv-transition);
  box-shadow: var(--rv-shadow-xs);
  position: relative;
}

.rv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rv-gradient-accent);
  opacity: 0;
  transition: opacity var(--rv-transition);
}

.rv-card:hover {
  box-shadow: var(--rv-shadow-md);
  transform: translateY(-4px);
  border-color: var(--rv-border);
}
.rv-card:hover::before { opacity: 1; }

.rv-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--rv-surface);
}
.rv-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rv-card:hover .rv-card__img img { transform: scale(1.04); }

.rv-card__body { padding: var(--rv-space-xl); }

.rv-card__title {
  font-family: var(--rv-font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--rv-primary);
  margin-bottom: var(--rv-space-sm);
  letter-spacing: -0.01em;
}

.rv-card__text {
  color: var(--rv-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--rv-space-lg);
}

.rv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rv-accent);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--rv-transition);
}
.rv-card__link:hover { gap: 10px; color: var(--rv-accent-hover); }

/* ─── Service card (icon variant) ─── */
.rv-service-card {
  padding: var(--rv-space-xl);
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-lg);
  transition: all var(--rv-transition);
  box-shadow: var(--rv-shadow-xs);
  height: 100%;
}
.rv-service-card:hover {
  box-shadow: var(--rv-shadow-md);
  transform: translateY(-3px);
  border-color: rgba(59,110,245,0.25);
}

.rv-service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--rv-radius-md);
  background: var(--rv-gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--rv-space-lg);
  color: var(--rv-white);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--rv-shadow-glow);
}

/* ─── Accordion ─── */
.rv-accordion { display: flex; flex-direction: column; gap: 10px; }

.rv-accordion__item {
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-md);
  overflow: hidden;
  transition: box-shadow var(--rv-transition);
}
.rv-accordion__item--open {
  box-shadow: var(--rv-shadow-sm);
  border-color: rgba(16, 185, 129, 0.3);
}

.rv-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rv-space-md);
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--rv-primary);
  cursor: pointer;
  transition: color var(--rv-transition);
}
.rv-accordion__trigger:hover { color: var(--rv-accent); }

.rv-accordion__chevron {
  flex-shrink: 0;
  transition: transform var(--rv-transition);
  color: var(--rv-accent);
}

.rv-accordion__item--open .rv-accordion__chevron { transform: rotate(180deg); }

.rv-accordion__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.2s ease;
}
.rv-accordion__panel[hidden] { display: block !important; }
.rv-accordion__panel--open {
  max-height: 500px;
  opacity: 1;
}
.rv-accordion__panel-inner {
  min-height: 0;
}

.rv-accordion__answer {
  padding: 0 24px 20px;
  color: var(--rv-text-muted);
  line-height: 1.75;
  font-size: 0.9375rem;
  margin: 0;
}

/* Dark accordion */
.rv-accordion--dark .rv-accordion__item {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.rv-accordion--dark .rv-accordion__trigger { color: var(--rv-white); }
.rv-accordion--dark .rv-accordion__answer { color: rgba(255,255,255,0.75); }

/* ─── Forms ─── */
.rv-form { display: flex; flex-direction: column; gap: var(--rv-space-md); }

.rv-form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .rv-form-grid--2 { grid-template-columns: 1fr 1fr; } }
.rv-form-field--full { grid-column: 1 / -1; }

.rv-input, .rv-select, .rv-textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid var(--rv-border);
  border-radius: var(--rv-radius-md);
  background: var(--rv-white);
  color: var(--rv-text);
  transition: border-color var(--rv-transition), box-shadow var(--rv-transition);
}
.rv-input::placeholder, .rv-textarea::placeholder { color: var(--rv-text-light); }
.rv-input:focus, .rv-select:focus, .rv-textarea:focus {
  outline: none;
  border-color: var(--rv-accent);
  box-shadow: 0 0 0 4px rgba(59,110,245,0.12);
}
.rv-input--error, .rv-select--error, .rv-textarea--error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
}
.rv-input--error:focus, .rv-select--error:focus, .rv-textarea--error:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14) !important;
}
.rv-form-error {
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 6px 0 0;
  line-height: 1.45;
}
.rv-form-group--error > .rv-form-label,
.rv-form-group--error > legend.rv-form-label {
  color: #dc2626;
}
.rv-getstarted-services.rv-form-group--error .rv-getstarted-services__grid,
.rv-getstarted-plans.rv-form-group--error .rv-getstarted-plans__grid {
  outline: 1.5px solid #dc2626;
  outline-offset: 4px;
  border-radius: var(--rv-radius-lg);
}
.rv-form-field--error .rv-input,
.rv-form-field--error .rv-select,
.rv-form-field--error .rv-textarea,
.rv-input--error,
.rv-select--error,
.rv-textarea--error {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}
.rv-form-field--error .rv-input:focus,
.rv-form-field--error .rv-select:focus,
.rv-form-field--error .rv-textarea:focus,
.rv-input--error:focus,
.rv-select--error:focus,
.rv-textarea--error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}
.rv-form-error {
  font-size: 0.78rem;
  font-weight: 500;
  color: #dc2626;
  margin: 6px 0 0;
  line-height: 1.45;
}
.rv-getstarted-services--error .rv-getstarted-services__grid,
.rv-getstarted-plans--error .rv-getstarted-plans__grid {
  outline: 1.5px solid #dc2626;
  outline-offset: 4px;
  border-radius: var(--rv-radius-lg);
}
.rv-textarea { resize: vertical; min-height: 120px; }

.rv-form-card {
  background: var(--rv-white);
  border-radius: var(--rv-radius-xl);
  padding: var(--rv-space-xl);
  box-shadow: var(--rv-shadow-lg);
  border: 1px solid var(--rv-border-light);
}

.rv-form-card__title {
  font-family: var(--rv-font-heading);
  font-size: 1.375rem;
  color: var(--rv-primary);
  margin-bottom: 8px;
}

.rv-form-card__subtitle {
  color: var(--rv-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--rv-space-lg);
}

/* ─── Header ─── */
.rv-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.rv-header.is-scrolled .rv-navbar-wrap {
  box-shadow: 0 10px 40px rgba(27, 43, 58, 0.1);
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(27, 43, 58, 0.08);
}

.rv-topbar {
  position: relative;
  background: var(--rv-gradient-hero);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 10px var(--rv-space-lg);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.rv-topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  pointer-events: none;
}

.rv-topbar p {
  position: relative;
  margin: 0;
}

.rv-topbar a {
  color: var(--rv-gold);
  font-weight: 600;
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245, 158, 11, 0.45);
}

.rv-topbar a:hover {
  color: #fcd34d;
}

@media (max-width: 640px) {
  .rv-topbar {
    padding: 8px var(--rv-space-md);
    font-size: 0.75rem;
    line-height: 1.45;
  }
  .rv-topbar a {
    margin-left: 4px;
  }
}

.rv-navbar-wrap {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(27, 43, 58, 0.06);
  transition: background var(--rv-transition), box-shadow var(--rv-transition), border-color var(--rv-transition);
  position: relative;
  z-index: 1001;
}

.rv-navbar {
  height: var(--rv-header-h);
  display: flex;
  align-items: center;
}

.rv-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--rv-space-lg);
}

.rv-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--rv-transition);
}

.rv-logo:hover {
  opacity: 0.88;
}

.rv-logo img { height: 44px; width: auto; }

@media (max-width: 1099px) {
  .rv-logo {
    flex-shrink: 1;
    min-width: 0;
  }
  .rv-logo img {
    height: auto;
    max-height: 40px;
    max-width: 100%;
  }
}

.rv-footer-main > div:first-child img {
  height: 44px;
  width: auto;
}

.rv-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1100px) { .rv-nav { display: flex; } }

.rv-nav__link,
.rv-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: var(--rv-radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--rv-text);
  transition: color var(--rv-transition), background var(--rv-transition);
  position: relative;
}

.rv-nav__icon {
  flex-shrink: 0;
  opacity: 0.72;
}

.rv-nav__link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--rv-accent);
  transform: scaleX(0);
  transition: transform var(--rv-transition);
  border-radius: 1px;
}

.rv-nav__link:hover,
.rv-dropdown__toggle:hover {
  color: var(--rv-accent);
  background: rgba(16, 185, 129, 0.07);
}

.rv-nav__link:hover::after,
.rv-nav__link.is-active::after {
  transform: scaleX(1);
}

.rv-nav__link.is-active,
.rv-dropdown.is-active .rv-dropdown__toggle {
  color: var(--rv-accent);
  background: rgba(16, 185, 129, 0.1);
  font-weight: 600;
}

.rv-dropdown { position: relative; }

.rv-dropdown__toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.rv-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27, 43, 58, 0.08);
  border-radius: var(--rv-radius-lg);
  box-shadow: 0 20px 50px rgba(27, 43, 58, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--rv-transition);
}

.rv-dropdown:hover .rv-dropdown__menu,
.rv-dropdown--open .rv-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.rv-dropdown__menu-label {
  margin: 2px 14px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rv-text-light);
}

.rv-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--rv-radius-sm);
  font-size: 0.9rem;
  color: var(--rv-text);
  transition: all var(--rv-transition);
}

.rv-dropdown__menu a:hover {
  background: var(--rv-accent-soft);
  color: var(--rv-accent);
}

.rv-nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1100px) { .rv-nav-actions { display: flex; } }

.rv-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--rv-radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--rv-primary);
  white-space: nowrap;
  background: rgba(27, 43, 58, 0.04);
  border: 1px solid rgba(27, 43, 58, 0.08);
  transition: all var(--rv-transition);
}

.rv-nav-phone svg {
  color: var(--rv-accent);
  flex-shrink: 0;
}

.rv-nav-phone:hover {
  color: var(--rv-accent);
  background: var(--rv-accent-soft);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Mobile nav */
.rv-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 10px;
  margin-right: -10px;
}
@media (min-width: 1100px) { .rv-nav-toggle { display: none; } }

.rv-nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--rv-primary);
  border-radius: 2px;
  transition: all var(--rv-transition);
}

.rv-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rv-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.rv-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.rv-mobile-nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(15, 30, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.rv-mobile-nav__backdrop.is-visible { display: block; }

.rv-mobile-nav {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  top: var(--rv-header-stack-h, calc(var(--rv-topbar-h) + var(--rv-header-h)));
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 999;
  background: var(--rv-white);
  border-top: 1px solid var(--rv-border-light);
  overflow: hidden;
  transform: translateY(-8px);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}
.rv-mobile-nav--open {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}

.rv-mobile-nav__panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: calc(100dvh - var(--rv-header-stack-h, calc(var(--rv-topbar-h) + var(--rv-header-h))));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--rv-space-lg) 0 calc(var(--rv-space-xl) + env(safe-area-inset-bottom, 0px));
}

.rv-mobile-nav__label {
  margin: 0;
  padding: 0 var(--rv-space-xl) 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rv-text-light);
}

.rv-mobile-nav__services {
  margin-bottom: var(--rv-space-md);
  padding: 6px 0;
  background: var(--rv-surface);
  border-block: 1px solid var(--rv-border-light);
}

.rv-mobile-nav__main {
  padding: 0 var(--rv-space-xl);
}

.rv-mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rv-border-light);
  font-weight: 500;
  font-size: 1rem;
  color: var(--rv-text);
  line-height: 1.35;
}
.rv-mobile-nav__link:hover,
.rv-mobile-nav__link:focus-visible {
  color: var(--rv-accent);
}

.rv-mobile-nav__services .rv-mobile-nav__link {
  padding: 12px var(--rv-space-xl);
  min-height: 48px;
  font-size: 0.9375rem;
  color: var(--rv-text-muted);
  border-bottom: none;
}
.rv-mobile-nav__services .rv-mobile-nav__link + .rv-mobile-nav__link {
  border-top: 1px solid rgba(27, 43, 58, 0.06);
}

.rv-mobile-nav__phone {
  font-weight: 600;
  color: var(--rv-primary);
}

.rv-mobile-nav__featured {
  display: flex;
  align-items: center;
  margin: 0 0 var(--rv-space-sm);
  padding: 14px 16px;
  border-radius: var(--rv-radius-md);
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: var(--rv-accent-soft);
  color: var(--rv-accent);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}
.rv-mobile-nav__featured:hover,
.rv-mobile-nav__featured:focus-visible {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--rv-accent-hover);
}

.rv-mobile-nav__featured.is-active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
}

.rv-mobile-nav__cta {
  margin-top: auto;
  padding: var(--rv-space-xl) var(--rv-space-xl) 0;
}
.rv-mobile-nav__cta .rv-btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  min-height: 52px;
}

html.rv-nav-open .rv-topbar {
  display: none;
}
html.rv-nav-open .rv-mobile-nav {
  top: var(--rv-header-h);
}
html.rv-nav-open .rv-mobile-nav__panel {
  max-height: calc(100dvh - var(--rv-header-h));
}

/* ─── Footer ─── */
.rv-footer {
  background: var(--rv-primary);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.rv-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,110,245,0.5), transparent);
}

.rv-footer-cta {
  padding: var(--rv-space-2xl) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

@media (min-width: 768px) {
  .rv-footer-cta { padding: var(--rv-space-3xl) 0; }
}

.rv-footer-cta::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,110,245,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.rv-footer-cta__inner {
  display: flex;
  flex-direction: column;
  gap: var(--rv-space-lg);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.rv-footer-cta__actions {
  width: 100%;
  flex-direction: column;
}

.rv-footer-cta__actions .rv-btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}

@media (min-width: 768px) {
  .rv-footer-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--rv-space-xl);
  }

  .rv-footer-cta__actions {
    width: auto;
    flex-direction: row;
  }

  .rv-footer-cta__actions .rv-btn {
    width: auto;
    white-space: nowrap;
  }
}

.rv-footer-cta__title {
  font-family: var(--rv-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--rv-white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.rv-footer-main {
  padding: var(--rv-space-2xl) 0;
  display: grid;
  gap: var(--rv-space-xl);
}

@media (min-width: 768px) {
  .rv-footer-main {
    padding: var(--rv-space-3xl) 0;
    gap: var(--rv-space-2xl);
  }

  .rv-footer__cols {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rv-space-xl);
  }
}

.rv-footer__brand {
  width: 100%;
}

.rv-footer__logo {
  display: inline-flex;
}

.rv-footer__brand-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin: 16px 0 0;
  max-width: none;
}

@media (min-width: 768px) {
  .rv-footer__brand-text {
    max-width: 280px;
  }
}

.rv-footer__cols {
  display: grid;
  gap: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .rv-footer-main {
    grid-template-columns: 1.6fr repeat(3, 1fr);
    align-items: start;
  }

  .rv-footer__cols {
    display: contents;
    gap: 0;
  }
}

.rv-footer-group {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rv-footer-group:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .rv-footer-group,
  .rv-footer-group:last-child {
    border: none;
  }
}

.rv-footer__heading {
  color: var(--rv-white);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  list-style: none;
}

.rv-footer-group summary.rv-footer__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  user-select: none;
}

.rv-footer-group summary.rv-footer__heading::-webkit-details-marker {
  display: none;
}

.rv-footer-group summary.rv-footer__heading::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,0.55);
  border-bottom: 2px solid rgba(255,255,255,0.55);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.rv-footer-group[open] summary.rv-footer__heading::after {
  transform: rotate(-135deg);
}

@media (min-width: 768px) {
  .rv-footer-group summary.rv-footer__heading {
    padding: 0;
    margin-bottom: var(--rv-space-lg);
    cursor: default;
    pointer-events: none;
  }

  .rv-footer-group summary.rv-footer__heading::after {
    display: none;
  }
}

.rv-footer__links a,
.rv-footer__address {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.rv-footer__links a {
  transition: color var(--rv-transition);
}

.rv-footer__links a:hover { color: var(--rv-white); }

.rv-footer-group .rv-footer__links {
  padding: 0 0 12px;
}

@media (min-width: 768px) {
  .rv-footer-group .rv-footer__links {
    padding: 0;
  }
}

.rv-footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--rv-space-lg);
}

.rv-footer-social a {
  width: 42px; height: 42px;
  border-radius: var(--rv-radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--rv-transition);
}
.rv-footer-social a:hover {
  background: var(--rv-accent);
  border-color: var(--rv-accent);
  transform: translateY(-2px);
}

.rv-footer-bottom {
  padding: var(--rv-space-lg) 0 calc(var(--rv-space-lg) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: var(--rv-space-md);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

@media (min-width: 768px) {
  .rv-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.rv-footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--rv-space-md) var(--rv-space-xl);
}

@media (min-width: 768px) {
  .rv-footer-bottom__links {
    justify-content: flex-end;
  }
}
.rv-footer-bottom__links a:hover { color: rgba(255,255,255,0.8); }

/* ─── Pricing ─── */
.rv-pricing-grid {
  display: grid;
  gap: var(--rv-space-xl);
  align-items: stretch;
}
@media (min-width: 900px) { .rv-pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* Agent page has two pricing tiers (avoid empty third column). */
@media (min-width: 900px) { .rv-pricing-grid--agent { grid-template-columns: repeat(2, 1fr); } }

.rv-pricing-card {
  background: var(--rv-white);
  border: 1.5px solid var(--rv-border-light);
  border-radius: var(--rv-radius-xl);
  padding: var(--rv-space-xl);
  display: flex;
  flex-direction: column;
  transition: all var(--rv-transition);
  box-shadow: var(--rv-shadow-xs);
  position: relative;
}

.rv-pricing-card--featured {
  border-color: var(--rv-accent);
  box-shadow: var(--rv-shadow-lg), var(--rv-shadow-glow);
  transform: scale(1.02);
  z-index: 1;
}

.rv-pricing-card__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--rv-gradient-accent);
  color: var(--rv-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--rv-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.rv-pricing-card__name {
  font-family: var(--rv-font-heading);
  font-size: 1.375rem;
  color: var(--rv-primary);
  margin-bottom: 8px;
}

.rv-pricing-card__price {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--rv-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.rv-pricing-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--rv-text-muted);
}

.rv-pricing-card__desc {
  color: var(--rv-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--rv-space-xl);
  line-height: 1.6;
}

.rv-pricing-card__features {
  flex-grow: 1;
  margin-bottom: var(--rv-space-xl);
}

.rv-pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--rv-text);
  border-bottom: 1px solid var(--rv-border-light);
}
.rv-pricing-card__features li:last-child { border-bottom: none; }
.rv-pricing-card__features li::before {
  content: '✓';
  color: var(--rv-success);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.rv-pricing-note {
  text-align: center;
  margin-top: var(--rv-space-xl);
  font-size: 0.875rem;
  color: var(--rv-text-muted);
}

/* ─── Stepper ─── */
.rv-stepper { padding: var(--rv-space-3xl) 0; }
.rv-stepper .rv-stepper-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-xl);
  padding: var(--rv-space-2xl);
  box-shadow: var(--rv-shadow-sm);
}

.rv-stepper__nav {
  display: flex;
  gap: 8px;
  margin-bottom: var(--rv-space-2xl);
  flex-wrap: wrap;
  justify-content: center;
}

.rv-stepper__tab {
  padding: 10px 22px;
  border-radius: var(--rv-radius-full);
  border: 1.5px solid var(--rv-border);
  background: var(--rv-white);
  color: var(--rv-text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--rv-transition);
}

.rv-stepper__tab--active {
  background: var(--rv-gradient-accent);
  color: var(--rv-white);
  border-color: transparent;
  box-shadow: var(--rv-shadow-glow);
}

.rv-stepper__panel { display: none; }
.rv-stepper__panel--active { display: block; }

.rv-stepper__actions {
  display: flex;
  gap: var(--rv-space-md);
  margin-top: var(--rv-space-xl);
}

/* ─── Stats ─── */
.rv-stat { text-align: left; }

.rv-stat__value {
  display: block;
  font-family: var(--rv-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--rv-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.rv-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--rv-text-muted);
  font-weight: 500;
}

/* ─── Check list ─── */
.rv-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--rv-text);
}
.rv-check-list li::before {
  content: '✓';
  color: var(--rv-success);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Testimonial ─── */
.rv-testimonial-card {
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-lg);
  padding: var(--rv-space-xl);
  height: 100%;
  box-shadow: var(--rv-shadow-xs);
  transition: box-shadow var(--rv-transition);
}
.rv-testimonial-card:hover { box-shadow: var(--rv-shadow-sm); }

.rv-testimonial-card__stars {
  color: var(--rv-gold);
  margin-bottom: var(--rv-space-md);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.rv-testimonial-card__title {
  font-weight: 700;
  color: var(--rv-primary);
  margin-bottom: 8px;
  font-size: 0.975rem;
}

.rv-testimonial-card__text {
  color: var(--rv-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--rv-space-lg);
  font-style: italic;
}

.rv-testimonial-card__author { font-weight: 700; font-size: 0.875rem; color: var(--rv-primary); }
.rv-testimonial-card__role { font-size: 0.8rem; color: var(--rv-text-light); margin-top: 2px; }

/* ─── Quote ─── */
.rv-quote {
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-xl);
  padding: var(--rv-space-2xl);
  box-shadow: var(--rv-shadow-sm);
  position: relative;
}

.rv-quote::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-family: var(--rv-font-heading);
  font-size: 4rem;
  color: var(--rv-accent-soft);
  line-height: 1;
}

.rv-quote__text {
  font-family: var(--rv-font-heading);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--rv-primary);
  line-height: 1.55;
  margin-bottom: var(--rv-space-lg);
  font-style: italic;
  padding-top: 24px;
}

.rv-quote__author { font-weight: 700; color: var(--rv-primary); }
.rv-quote__role { font-size: 0.875rem; color: var(--rv-text-muted); }

/* ─── Testimonial dark variant (v3) ─── */
.rv-s-testimonials .rv-testimonial-card {
  background: rgba(0,0,0,0.20);
  border-color: rgba(255,255,255,0.16);
  box-shadow: none;
}
.rv-s-testimonials .rv-testimonial-card__title { color: rgba(255,255,255,0.96); }
.rv-s-testimonials .rv-testimonial-card__text { color: rgba(255,255,255,0.78); }
.rv-s-testimonials .rv-testimonial-card__author { color: rgba(255,255,255,0.95); }
.rv-s-testimonials .rv-testimonial-card__role { color: rgba(255,255,255,0.65); }

.rv-s-testimonials .rv-quote {
  background: rgba(0,0,0,0.20);
  border-color: rgba(255,255,255,0.16);
  box-shadow: none;
}
.rv-s-testimonials .rv-quote::before { color: rgba(16,185,129,0.30); }
.rv-s-testimonials .rv-quote__text { color: rgba(255,255,255,0.96); }
.rv-s-testimonials .rv-quote__role { color: rgba(255,255,255,0.65); }

.rv-s-testimonials .rv-benefit__text { color: rgba(255,255,255,0.80); }

/* ─── Thank you / 404 ─── */
.rv-thankyou, .rv-not-found { text-align: center; padding: var(--rv-space-4xl) 0; }

.rv-thankyou__icon, .rv-not-found__icon {
  width: 88px; height: 88px;
  border-radius: var(--rv-radius-full);
  background: linear-gradient(135deg, rgba(13,155,110,0.12), rgba(13,155,110,0.06));
  color: var(--rv-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto var(--rv-space-xl);
  border: 2px solid rgba(13,155,110,0.2);
}

.rv-not-found__code {
  font-family: var(--rv-font-heading);
  font-size: 7rem;
  background: var(--rv-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ─── Legal (legacy + shared) ─── */
.rv-legal-content h2 {
  font-family: var(--rv-font-heading);
  font-size: 1.3rem;
  color: var(--rv-primary);
  margin: var(--rv-space-2xl) 0 var(--rv-space-md);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rv-accent-soft);
}

.rv-legal-content p, .rv-legal-content li {
  color: var(--rv-text-muted);
  line-height: 1.8;
  margin-bottom: var(--rv-space-md);
  font-size: 0.9375rem;
}

.rv-legal-content ul { list-style: disc; padding-left: var(--rv-space-xl); }

/* ─── Benefit card ─── */
.rv-benefit {
  padding: var(--rv-space-xl);
  background: var(--rv-white);
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-border-light);
  transition: all var(--rv-transition);
  height: 100%;
}
.rv-benefit:hover {
  box-shadow: var(--rv-shadow-sm);
  border-color: rgba(59,110,245,0.2);
}

.rv-benefit__title {
  font-weight: 700;
  color: var(--rv-primary);
  margin-bottom: 8px;
  font-size: 1rem;
}

.rv-benefit__text {
  font-size: 0.9rem;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

/* ─── Audience card ─── */
.rv-audience-card {
  padding: var(--rv-space-xl);
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-lg);
  transition: all var(--rv-transition);
  height: 100%;
}
.rv-audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rv-shadow-sm);
  border-color: rgba(59,110,245,0.2);
}

.rv-audience-card__title {
  font-weight: 700;
  color: var(--rv-primary);
  margin-bottom: 8px;
}

.rv-audience-card__text {
  font-size: 0.9rem;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

/* ─── Step card ─── */
.rv-step-card {
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-lg);
  padding: var(--rv-space-xl);
  transition: all var(--rv-transition);
  height: 100%;
}
.rv-step-card:hover {
  box-shadow: var(--rv-shadow-sm);
  transform: translateY(-2px);
}

.rv-step-card__num {
  width: 40px; height: 40px;
  border-radius: var(--rv-radius-full);
  background: var(--rv-gradient-accent);
  color: var(--rv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: var(--rv-space-lg);
  box-shadow: var(--rv-shadow-glow);
}

.rv-step-card__title {
  font-weight: 700;
  color: var(--rv-primary);
  margin-bottom: 8px;
}

.rv-step-card__text {
  font-size: 0.9rem;
  color: var(--rv-text-muted);
  line-height: 1.65;
}

/* ─── CTA card ─── */
.rv-cta-card {
  display: grid;
  gap: var(--rv-space-lg);
  padding: var(--rv-space-xl);
  background: var(--rv-white);
  border: 1px solid var(--rv-border-light);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-xs);
  transition: all var(--rv-transition);
}
.rv-cta-card:hover { box-shadow: var(--rv-shadow-md); }

@media (min-width: 640px) {
  .rv-cta-card { grid-template-columns: 110px 1fr; align-items: center; }
}

.rv-cta-card__img img { border-radius: var(--rv-radius-md); }

/* ─── Contact info ─── */
.rv-contact-info__item { margin-bottom: var(--rv-space-xl); }

.rv-contact-info__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rv-text-light);
  font-weight: 700;
  margin-bottom: 6px;
}

.rv-contact-info__value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--rv-primary);
}
.rv-contact-info__value a:hover { color: var(--rv-accent); }

/* ─── Compare table ─── */
.rv-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--rv-white);
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rv-border-light);
  box-shadow: var(--rv-shadow-xs);
}

.rv-compare-table th, .rv-compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--rv-border-light);
  font-size: 0.9rem;
}

.rv-compare-table th {
  background: var(--rv-surface);
  font-weight: 700;
  color: var(--rv-primary);
}

/* ─── Agent banner ─── */
.rv-agent-banner {
  padding: var(--rv-space-3xl) 0;
  background: var(--rv-gradient-mesh), var(--rv-surface);
  text-align: center;
}

/* ─── Content section ─── */
.rv-content-section { padding: var(--rv-space-3xl) 0; }

/* ─── Video embed ─── */
.rv-video-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--rv-radius-xl);
  overflow: hidden;
  box-shadow: var(--rv-shadow-lg);
}
.rv-video-wrap video { width: 100%; display: block; }

/* ─── Utility spacing helpers ─── */
.rv-mt-lg { margin-top: var(--rv-space-lg); }
.rv-mt-xl { margin-top: var(--rv-space-xl); }
.rv-mb-lg { margin-bottom: var(--rv-space-lg); }
.rv-mb-xl { margin-bottom: var(--rv-space-xl); }
.rv-max-w-sm { max-width: 560px; }
.rv-max-w-md { max-width: 720px; }
