.hero-banner-1 + .about-us-1-section {
    margin-top: -200px;
}
.tab-title.active a::after {
    width: 100%;
}
.tab-title.active a {
    color: var(--color-dark);
}
.dark .tab-title.active a {
    color: white;
}

/* ======================================================
   RealtyCTL — Premium Warm Gold Palette Override (skin-3)
   Base: rgb(238,183,93) / #EEB75D
   ====================================================== */
html[data-theme-color="skin-3"] {
  --primary: #EEB75D;
  --text-primary: #C8962F;
  --primarylight: #F5D998;
  --primarydark: #D4982E;
  --secondary: #1C1A1B;
  --bodybg: #17130D;
  --bodytext: #8A7D6B;
  --textlight: #171717b3;
  --card: #2A2520;
  --dark: #191B1D;
  --bgcolor: #fff;
  --light: #F5F0E8;
  --bglight: #F5F0E8;
  --button-text: var(--secondary);
  --border-color: #E8DFD1;
  --primary-gradient: 0deg, #3D2E10 0%, #EEB75D 100%;
  --primary2-gradient: 180deg, #EEB75D 1.92%, #FFF3DC 53.04%, #F5D998 100%;
  --banner-gradient: 180deg, #EEB75D 2%, #FFF3DC 68%, rgba(238,183,93,0) 100%;
  --btn-gradient: 270deg, #FFF3DC 0%, #EEB75D 100%;
  --bg1-gradient: 180deg, #2A1F0E 0%, #1A150D 100%;
  --bg2-gradient: 180deg, #2E2517 0%, #1C1A1B 100%;
  --bg3-gradient: 226.32deg, rgba(169, 222, 89, 0.7) 35.89%, rgba(249, 188, 47, 0.7) 104.43%;
  --bg4-gradient: 180deg, rgba(238,183,93,0.4) 0%, rgba(238,183,93,0) 87%;
  --bg7-gradient: 90deg, #EEB75D 0%, #F5D998 100%;
  --bg1: #2A2115;
  --tab-underline-gradient: -90deg, #D4982E 0%, #D4982E 100%;
  --secondary-gradient: 0deg, #d4982e8a 0%, #d4982e00 100%;
}

html[data-theme-color="skin-3"] .selection\:bg-primary::selection {
  background-color: #EEB75D;
}

/* Ensure dark-mode text on gold buttons stays readable */
html[data-theme-color="skin-3"] .btn-primary,
html[data-theme-color="skin-3"] .btn.btn-primary {
  color: #1C1A1B !important;
}
html[data-theme-color="skin-3"] .btn-primary:hover {
  background-color: #D4982E;
  border-color: #D4982E;
}

/* Gold accent on light backgrounds needs darker text */
html[data-theme-color="skin-3"] .text-primary {
  color: #C8962F;
}
html[data-theme-color="skin-3"] .dark .text-primary {
  color: #EEB75D;
}

/* Comparison table header uses gold */
html[data-theme-color="skin-3"] .bg-primary {
  background-color: #876122;
}

/* Pricing featured card border */
html[data-theme-color="skin-3"] .border-primary {
  border-color: #EEB75D;
}

/* FAQ accordion active state */
html[data-theme-color="skin-3"] .custom-accordion .accordion-item.open .accordion-header,
html[data-theme-color="skin-3"] .custom-accordion .accordion-item .accordion-header:hover span {
  color: #C8962F;
}

/* Footer CTA gradient bar */
html[data-theme-color="skin-3"] .bg-linear-\(--bg7-gradient\) {
  background-image: linear-gradient(90deg, #EEB75D 0%, #D4982E 100%);
}

/* Trust bar + Stats section dark bg with warm tint */
html[data-theme-color="skin-3"] .bg-linear-\(--bg1-gradient\) {
  background-image: linear-gradient(180deg, #2A1F0E 0%, #1A150D 100%);
}
html[data-theme-color="skin-3"] .bg-linear-\(--bg2-gradient\) {
  background-image: linear-gradient(180deg, #2E2517 0%, #1C1A1B 100%);
}

/* RealtyCTL single-page: smooth scroll for anchor links (native scroll on mobile to reduce lag) */
html {
  scroll-behavior: smooth;
}
@media (max-width: 1023px) {
  html {
    scroll-behavior: auto;
  }
}

/* Ensure section scroll targets account for fixed header */
[id="problem"],
[id="services"],
[id="pricing"],
[id="process"],
[id="performance"],
[id="contact"],
[id="comparison"],
[id="perception"] {
  scroll-margin-top: 6rem;
}

/* Single-page: navbar not sticky — scrolls with the page */
body.single-page .site-header.single-page-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 99;
  background: rgba(28, 26, 27, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.single-page .site-header.single-page-header .main-bar-wraper {
  background: transparent;
}
/* Mobile: no backdrop-filter to eliminate scroll/compositing lag */
@media (max-width: 1023px) {
  body.single-page .site-header.single-page-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(28, 26, 27, 0.98);
  }
}

/* Hero left column: margin-top on mobile only */
@media (max-width: 767px) {
  .hero-left-col {
    margin-top: 28px;
  }
}

/* Header phone: desktop = number, mobile = call icon (animated), no overlap with sidebar */
@media (max-width: 1279px) {
  .header-phone-btn {
    position: relative;
    z-index: 1001;
  }
  .header-phone-icon {
    animation: header-phone-ring 1.5s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .header-phone-icon {
      animation: none;
    }
  }
}
@keyframes header-phone-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-12deg); }
  20%, 40% { transform: rotate(12deg); }
  50% { transform: rotate(0); }
}

/* ======================================================
   Single-page: Navbar design & link hover animation
   Uses skin-3 palette (primary gold, secondary dark)
   ====================================================== */
body.single-page .site-header.single-page-header .navbar {
  gap: 0.25rem;
  border: none !important;
  padding-bottom: 0 !important;
}
body.single-page .site-header.single-page-header .navbar > li > a.nav-link-single {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}
body.single-page .site-header.single-page-header .navbar > li > a.nav-link-single::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}
body.single-page .site-header.single-page-header .navbar > li > a.nav-link-single:hover {
  color: var(--primary) !important;
}
body.single-page .site-header.single-page-header .navbar > li > a.nav-link-single:hover::after {
  width: 100%;
  left: 0;
  transform: none;
}

/* Mobile menu (sidenav) same link styling */
body.single-page .site-header.single-page-header .header-nav .navbar > li > a.nav-link-single {
  padding: 0.75rem 1.25rem !important;
}

/* Hero section: all text white (palette primary for hover/accents) */
.hero-section {
  color: #fff;
}
.hero-section h1,
.hero-section h2,
.hero-section .headline,
.hero-section p,
.hero-section [class*="rounded-2lg"][class*="border-white"] {
  color: #fff !important;
}
.hero-section .text-white\/90,
.hero-section .text-white\/80 {
  color: rgba(255, 255, 255, 0.92) !important;
}
/* Keep CTA button and gold card text (secondary) for contrast */
.hero-section a.text-white,
.hero-section a:not(.style-4):not(.btn) {
  color: #fff;
}
.hero-section a:hover:not(.style-4):not(.btn) {
  color: var(--primary);
}

/* ======================================================
   RealtyCTL — Pricing table (skin-3 palette, UI/UX)
   ====================================================== */
#pricing .realtyctl-pricing {
  align-items: stretch;
  gap: 0;
}
#pricing .realtyctl-pricing > * {
  padding: 0 0.75rem;
}
#pricing .realtyctl-pricing > *:first-child { padding-left: 0; }
#pricing .realtyctl-pricing > *:last-child { padding-right: 0; }
#pricing .realtyctl-pricing > *:not(:first-child) .realtyctl-pricing-card {
  border-left: 1px solid rgba(238, 183, 93, 0.35);
}
@media (max-width: 1023px) {
  #pricing .realtyctl-pricing > *:not(:first-child) .realtyctl-pricing-card {
    border-left: none;
  }
}
.realtyctl-pricing-card {
  position: relative;
  border: 1px solid rgba(238, 183, 93, 0.25);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  background: var(--card) !important;
  color: #fff;
}
.realtyctl-pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(238, 183, 93, 0.4) !important;
}
/* Middle card: darker background (not light/white) */
.realtyctl-pricing-card--featured {
  transform: scale(1.02);
  border-width: 2px !important;
  border-color: var(--primary) !important;
  background: var(--secondary) !important;
  box-shadow: 0 8px 32px rgba(238, 183, 93, 0.15);
}
.realtyctl-pricing-card--featured:hover {
  box-shadow: 0 12px 40px rgba(238, 183, 93, 0.25);
}
/* Typography: all card text white; price & tagline stay gold */
#pricing .realtyctl-pricing-card h3 {
  color: #fff !important;
}
#pricing .realtyctl-pricing-card .realtyctl-pricing-tagline {
  color: var(--primary) !important;
}
#pricing .realtyctl-pricing-card ul li span {
  color: rgba(255, 255, 255, 0.92) !important;
}
#pricing .realtyctl-pricing-card > div p,
#pricing .realtyctl-pricing-card > ul + div p {
  color: rgba(255, 255, 255, 0.92) !important;
}
#pricing .realtyctl-pricing-card > div p strong {
  color: #fff !important;
}
#pricing .realtyctl-pricing-card .text-primary {
  color: var(--primary) !important;
}
#pricing .realtyctl-pricing-card p .text-lg {
  color: rgba(255, 255, 255, 0.85) !important;
}
#pricing .realtyctl-pricing-card .border-b {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
@media (max-width: 1023px) {
  .realtyctl-pricing-card--featured {
    transform: none;
  }
  #pricing .realtyctl-pricing > * {
    padding: 0;
    margin-bottom: 1.5rem;
  }
}
/* Badges — same visual weight, skin-3 accents only */
.realtyctl-pricing-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.realtyctl-pricing-badge--popular {
  background: linear-gradient(var(--bg7-gradient));
  color: var(--secondary) !important;
}
.realtyctl-pricing-badge--silver {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(238, 183, 93, 0.2);
  color: var(--primary) !important;
  border: 1px solid var(--primary);
  z-index: 1;
}
.realtyctl-pricing-badge--gold {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primarydark) 100%);
  color: var(--secondary) !important;
}
/* Tagline and list — primary gold only */
.realtyctl-pricing-tagline {
  line-height: 1.5;
  color: var(--primary) !important;
}
html[data-theme-color="skin-3"] .realtyctl-pricing-card .fa-check {
  color: var(--primary) !important;
}
html[data-theme-color="skin-3"] .realtyctl-pricing-card .btn-primary {
  color: var(--secondary) !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}
html[data-theme-color="skin-3"] .realtyctl-pricing-card .btn-primary:hover {
  background: var(--primarydark) !important;
  border-color: var(--primarydark) !important;
}
/* Section background in dark for depth */
html[data-theme-color="skin-3"] .dark #pricing {
  background-color: var(--bodybg);
}

/* Footer social widget — Follow Us (skin-3) */
.footer-social-widget .footer-social-link {
  border-color: rgba(255, 255, 255, 0.25);
}
.dark .footer-social-widget .footer-social-link {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
}
.footer-social-widget .footer-social-link:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--secondary) !important;
}

/* Footer trust & legal bar */
.footer-trust-legal {
  background: rgba(0, 0, 0, 0.03);
}
.dark .footer-trust-legal {
  background: rgba(0, 0, 0, 0.2);
}
.footer-legal-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Hero play button next to "Used by top agents..." */
.hero-play-btn {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.hero-play-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* PiP (bottom-left) */
.youtube-pip-wrap {
  display: none;
  flex-direction: column;
}
.youtube-pip-wrap.is-open {
  display: flex;
}
.youtube-pip-video {
  width: 320px;
  height: 180px;
}
@media (max-width: 480px) {
  .youtube-pip-wrap {
    left: 10px;
    bottom: 100px;
  }
  .youtube-pip-video {
    width: 280px;
    height: 158px;
  }
}

