/* =============================================
   Showcase MD - Landing Page Styles
   ============================================= */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    ;
}

/* =============================================
   iOS form-zoom prevention — applies site-wide.
   Mobile Safari zooms into any input whose computed font-size is below
   16px when focused. Forcing 16px on every interactive form control
   stops that auto-zoom across the marketing site, the client portal,
   and every plugin form (Contact 7, WP login, etc.) without disabling
   pinch-zoom on the rest of the page (which would hurt accessibility).
   ============================================= */
@media (max-width: 1023px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input:not([type]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* =============================================
   Lenis Smooth Scroll Styles
   ============================================= */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #0a0604;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

/* =============================================
   Navigation Link Hover Animation
   ============================================= */
.nav-link {
    position: relative;
    overflow: hidden;
    height: 20px;
    display: block;
}

.nav-link .nav-text {
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link .nav-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.nav-link:hover .nav-text {
    transform: translateY(-100%);
}

.nav-link:hover .nav-text-hover {
    transform: translateY(-100%);
}

/* Navigation text colors - white on homepage, black on other pages */
body.home #header .nav-text,
body.home #header .nav-text-hover,
body.front-page #header .nav-text,
body.front-page #header .nav-text-hover {
    color: white !important;
}

body:not(.home):not(.front-page) #header .nav-text,
body:not(.home):not(.front-page) #header .nav-text-hover {
    color: #2a2a2a !important;
}



/* =============================================
   Figma Button Hover Animation (similar to nav-link)
   ============================================= */
.figma-button-text-wrapper {
    position: relative;
    overflow: hidden;
}

.figma-button-text {
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.figma-button-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.figma-button:hover .figma-button-text {
    transform: translateY(-100%);
}

.figma-button:hover .figma-button-text-hover {
    transform: translateY(-100%);
}

.figma-button-icon {
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.figma-button:hover .figma-button-icon {
    transform: rotate(45deg);
}

/* =============================================
   Pricing Button Hover Animation (similar to nav-link and figma-button)
   ============================================= */
.pricing-btn-text-wrapper {
    position: relative;
    overflow: hidden;
}

.pricing-btn-text {
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.pricing-btn-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.pricing-btn:hover .pricing-btn-text {
    transform: translateY(-100%);
}

.pricing-btn:hover .pricing-btn-text-hover {
    transform: translateY(-100%);
}

/* =============================================
   WordPress Admin Bar Positioning
   ============================================= */
/* Ensure admin bar stays at the top */
#wpadminbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999999 !important;
}

/* Adjust header position when admin bar is present */
.admin-bar #header {
    top: 32px !important;
}

/* Mobile admin bar height */
@media screen and (max-width: 782px) {
    .admin-bar #header {
        top: 46px !important;
    }
}

/* Ensure admin bar doesn't overlap content */
html.admin-bar {
    margin-top: 0 !important;
}

/* =============================================
   Header States
   ============================================= */
.header-scrolled {
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(24px);
}

/* When user scrolls down on front page or contact: dark nav links + light background */
body.home #header.header-scrolled,
body.page-template-page-contact #header.header-scrolled {
    color: #2a2a2a !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

body.home #header.header-scrolled .nav-text,
body.home #header.header-scrolled .nav-text-hover,
body.page-template-page-contact #header.header-scrolled .nav-text,
body.page-template-page-contact #header.header-scrolled .nav-text-hover {
    color: #2a2a2a !important;
}

body.home #header.header-scrolled .hamburger-line,
body.page-template-page-contact #header.header-scrolled .hamburger-line {
    background-color: #2a2a2a !important;
}

body.home #header.header-scrolled svg,
body.page-template-page-contact #header.header-scrolled svg {
    color: #2a2a2a !important;
}

body.home #header.header-scrolled .font-bold.tracking-\[0\.15em\],
body.page-template-page-contact #header.header-scrolled .font-bold.tracking-\[0\.15em\] {
    color: #2a2a2a !important;
}

body.home #header.header-scrolled>div>div.absolute.bottom-0,
body.page-template-page-contact #header.header-scrolled>div>div.absolute.bottom-0 {
    background-color: rgba(42, 42, 42, 0.2) !important;
}

body.home #header.header-scrolled>div>div.absolute.left-4,
body.home #header.header-scrolled>div>div.absolute.right-4,
body.page-template-page-contact #header.header-scrolled>div>div.absolute.left-4,
body.page-template-page-contact #header.header-scrolled>div>div.absolute.right-4 {
    background-color: rgba(42, 42, 42, 0.1) !important;
}

body.home #header.header-scrolled .border-l,
body.page-template-page-contact #header.header-scrolled .border-l {
    border-color: rgba(42, 42, 42, 0.1) !important;
}

body.home #header.header-scrolled img[alt="decoration"],
body.page-template-page-contact #header.header-scrolled img[alt="decoration"] {
    filter: brightness(0) !important;
}

/* Header on white background - change colors to black */
#header.header-scrolled {
    color: #2a2a2a !important;
}

#header.header-scrolled .nav-text,
#header.header-scrolled .nav-text-hover {
    color: #2a2a2a !important;
}

#header.header-scrolled .hamburger-line {
    background-color: #2a2a2a !important;
}

#header.header-scrolled svg {
    color: #2a2a2a !important;
}

/* Mega-menu panels are LIGHT — keep their icons visible regardless of the
   rest of the header (text-white at top of homepage, .header-scrolled
   forcing #2a2a2a everywhere, page-template-specific rules, etc.).
   We chain #header twice to bump specificity to 2,2,2 — beats every
   existing single-#header rule even with `!important` on both sides.

   Targets are scoped to the per-item icon containers so the pink
   group-icons (.enzo-mega-gicon) stay pink. */
body #header#header .enzo-co-icon svg,
body #header#header .enzo-svc-icon svg {
    color: rgba(42, 42, 42, 0.72) !important;
    stroke: currentColor !important;
}
/* Group icons (Medical / Dental / Other in "Who We Help") stay pink */
body #header#header .enzo-mega-gicon svg {
    color: #e8347a !important;
    stroke: currentColor !important;
}
/* Hover state — pink fill on Services + Company icons */
body #header#header .enzo-co-item:hover .enzo-co-icon svg,
body #header#header .enzo-svc-item:hover .enzo-svc-icon svg {
    color: #e8347a !important;
}

/* Keep arrow icons white when header-on-white is active */
header.header-on-white .nav-arrow-icon {
    color: white !important;
    stroke: white !important;
}

header.header-on-white .font-bold.tracking-\[0\.15em\] {
    color: #2a2a2a !important;
}

header.header-on-white>div>div.absolute.bottom-0 {
    background-color: rgba(42, 42, 42, 0.2) !important;
}

header.header-on-white>div>div.absolute.left-4,
header.header-on-white>div>div.absolute.right-4 {
    background-color: rgba(42, 42, 42, 0.1) !important;
}

header.header-on-white .border-l {
    border-color: rgba(42, 42, 42, 0.1) !important;
}

header.header-on-white img[alt="decoration"] {
    filter: brightness(0) !important;
}

/* =============================================
   Mega Menu Styles
   ============================================= */
.mega-menu {
    pointer-events: none;
}

.group:hover .mega-menu {
    pointer-events: auto;
}

/* Ensure mega menu stays visible on hover */
.group:hover .group-hover\:visible {
    pointer-events: auto;
}

/* =============================================
   Pulse Animation for Status Dot
   ============================================= */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* =============================================
   Background Layer Transitions
   ============================================= */
.bg-layer {
    will-change: transform, opacity;
}

/* =============================================
   Hero Section Touch Optimization
   ============================================= */
#hero {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

#hero .sticky {
    touch-action: pan-y;
}

/* Reduce hero height on mobile for smoother scroll experience */
@media (max-width: 768px) {
    #hero {
        height: 280vh;
        overscroll-behavior: none;
    }
}

/* Tablet height adjustment */
@media (min-width: 769px) and (max-width: 1024px) {
    #hero {
        height: 320vh;
    }
}

/* ScrollTrigger normalizeScroll styles */
.gsap-normalizer-touch {
    touch-action: none !important;
}

/* =============================================
   Hero sticky area – containment for smoother scroll
   ============================================= */
#hero>.sticky {
    contain: layout paint;
    transform: translateZ(0);
}

/* =============================================
   Board & Monitor Styles
   ============================================= */
/* Initial state matches JS so no flash on first load */
#board-container {
    will-change: transform, opacity;
    opacity: 1;
    transform: scale(0.5) translateY(150px);
    backface-visibility: hidden;
}

#video-container {
    will-change: opacity;
    opacity: 0;
}

#board-content {
    will-change: opacity;
}

@media (max-width: 767px) {
    #board-container {
        transform: scale(0.6) translateY(0);
    }
}

/* Hero h1 — fixed font sizes that don't depend on Tailwind arbitrary
   classes being compiled into the static build. */
.hero-title {
    font-size: 2.25rem;
}
.hero-title-plus {
    font-size: 1.875rem;
}
@media (min-width: 480px) {
    .hero-title { font-size: 2.75rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #board-container {
        transform: scale(0.5) translateY(0);
    }
}

#board-glow {
    will-change: opacity;
}

/* =============================================
   Title Animations Setup
   ============================================= */
#first-title .title-line {
    opacity: 0;
    transform: translateY(50px);
}

.title-line {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* =============================================
   Feature Cards
   ============================================= */
.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 22.56em;
}

@media (max-width: 768px) {
    .feature-card {
        height: auto;
    }
}

/* =============================================
   Button Hover Effects
   ============================================= */
#demo-btn {
    position: relative;
    overflow: hidden;
}

#demo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

#demo-btn:hover::before {
    left: 100%;
}

/* =============================================
   Smooth Scroll Indicator (optional)
   ============================================= */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
}

.scroll-indicator::after {
    content: '';
    display: block;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* =============================================
   Custom Scrollbar (optional)
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0604;
}

::-webkit-scrollbar-thumb {
    background: rgba(236, 72, 153, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 72, 153, 0.8);
}

/* =============================================
   Selection Color
   ============================================= */
::selection {
    background-color: rgba(236, 72, 153, 0.3);
    color: white;
}

/* =============================================
   Ball Drop (lands at Lottie in Superpowers)
   ============================================= */
#drop-ball {
    filter: drop-shadow(0 8px 20px rgba(205, 130, 80, 0.4));
}

/* =============================================
   Superpowers Section — modern editorial layout
   ============================================= */

/* Stepper rail (desktop only — left side vertical line) */
.superpowers-tabs { position: relative; }

.sp-rail {
    display: none;
}

@media (min-width: 1024px) {
    .sp-rail {
        display: block;
        position: absolute;
        left: 7px;
        top: 14px;
        bottom: 14px;
        width: 1px;
        background: linear-gradient(to bottom, rgba(42,42,42,0.08), rgba(42,42,42,0.12), rgba(42,42,42,0.04));
        z-index: 0;
    }
    .sp-rail-fill {
        position: absolute;
        inset: 0 0 auto 0;
        width: 1px;
        height: 0%;
        background: linear-gradient(to bottom, #ff6b35, #cda07f);
        transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .superpowers-tabs[data-progress="0"] .sp-rail-fill { height: 8%; }
    .superpowers-tabs[data-progress="1"] .sp-rail-fill { height: 36%; }
    .superpowers-tabs[data-progress="2"] .sp-rail-fill { height: 64%; }
    .superpowers-tabs[data-progress="3"] .sp-rail-fill { height: 100%; }
}

/* Tabs */
.superpower-tab {
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.35;
}

@media (min-width: 1024px) {
    .superpower-tab { padding-left: 28px; }
}

.superpower-tab.active {
    opacity: 1;
}

.sp-node {
    display: none;
}

@media (min-width: 1024px) {
    .sp-node {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        width: 15px;
        height: 15px;
        margin-top: -7.5px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid rgba(42,42,42,0.18);
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1;
    }
    .superpower-tab.active .sp-node {
        background: #ff6b35;
        border-color: #ff6b35;
        box-shadow: 0 0 0 5px rgba(255,107,53,0.12), 0 0 24px rgba(255,107,53,0.35);
        transform: scale(1.1);
    }
}

.superpower-tab .tab-number {
    color: #cbcbcb;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: color 0.4s ease;
}

.superpower-tab.active .tab-number {
    color: #ff6b35;
}

.superpower-tab .tab-text {
    color: #2a2a2a;
    transition: color 0.4s ease, transform 0.4s ease;
}

/* Content stack */
.superpowers-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
}

.superpower-desc {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
}

.superpower-desc.active {
    opacity: 1;
    visibility: visible;
}

/* ----- Editorial card ----- */
.sp-card {
    position: relative;
    padding: 1.75rem 1.75rem 1.5rem;
    border-radius: 22px;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255,107,53,0.06) 0%, rgba(255,107,53,0) 55%),
        radial-gradient(120% 80% at 100% 100%, rgba(205,160,127,0.10) 0%, rgba(205,160,127,0) 50%),
        rgba(255,255,255,0.78);
    border: 1px solid rgba(42,42,42,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 30px 60px -30px rgba(42,42,42,0.18),
        0 8px 24px -12px rgba(42,42,42,0.08);
    overflow: hidden;
}

.sp-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.5), rgba(205,160,127,0.4), transparent);
}

@media (min-width: 1024px) {
    .sp-card { padding: 2rem 2rem 1.75rem; border-radius: 26px; }
}

/* Eyebrow */
.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    background: rgba(42,42,42,0.04);
    border: 1px solid rgba(42,42,42,0.08);
    color: #2a2a2a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.sp-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.18);
    animation: sp-pulse 2.4s ease-in-out infinite;
}
@keyframes sp-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,107,53,0.18); }
    50% { box-shadow: 0 0 0 6px rgba(255,107,53,0.04); }
}

/* Headline */
.sp-headline {
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
    line-height: 1.1;
    font-weight: 500;
    color: #2a2a2a;
    letter-spacing: -0.015em;
    margin-bottom: 1.5rem;
}
.sp-headline em {
    font-style: italic;
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    color: #ff6b35;
    letter-spacing: -0.02em;
}

/* Stats row */
.sp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 0 1.5rem;
    padding: 0.875rem 0;
    border-top: 1px solid rgba(42,42,42,0.08);
    border-bottom: 1px solid rgba(42,42,42,0.08);
}
.sp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 0.75rem;
    position: relative;
}
.sp-stat + .sp-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(42,42,42,0.08);
}
.sp-stat:first-child { padding-left: 0; }
.sp-stat:last-child { padding-right: 0; }

.sp-stat-num {
    font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
    font-weight: 500;
    line-height: 1;
    color: #2a2a2a;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}
.sp-stat-num sup, .sp-stat-num sub {
    font-size: 0.42em;
    font-weight: 600;
    color: #ff6b35;
    line-height: 1;
    letter-spacing: 0.01em;
}
.sp-stat-num sub {
    vertical-align: baseline;
    transform: translateY(-0.1em);
}
.sp-stat-num sup {
    vertical-align: baseline;
    transform: translateY(-0.6em);
}
.sp-stat-label {
    font-size: 11px;
    color: #6b6b6b;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

/* Body line */
.sp-body {
    font-size: 0.875rem;
    color: #6b6b6b;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Chips (feature pills — filled subtle) */
.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}
.sp-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: #f5f3ef;
    color: #2a2a2a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    transition: transform 0.25s ease, background 0.25s ease;
}
.sp-chip:hover {
    background: #ece8df;
    transform: translateY(-1px);
}

/* Badges (trust — outlined w/ check) */
.sp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.25rem;
}
.sp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 9px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(42,42,42,0.12);
    color: #2a2a2a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
.sp-badge::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2a2a2a;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/9px no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/9px no-repeat;
}

/* Closer (last line — quiet, regular weight) */
.sp-closer {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(42,42,42,0.06);
    font-size: 0.875rem;
    font-weight: 400;
    color: #5a5a5a;
    line-height: 1.5;
    letter-spacing: -0.005em;
}

/* Tablet specific scrolling behavior (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    #superpowers {
        max-height: none !important;
        height: auto !important;
        min-height: 100vh !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    #superpowers .max-w-\[1440px\] {
        height: auto;
        max-height: none;
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .superpowers-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .superpower-tab {
        opacity: 0.2;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    .superpower-tab.active {
        opacity: 1;
        transform: translateY(0);
    }

    .superpower-desc {
        opacity: 0;
        transform: translateY(15px);
        grid-area: 1 / 1;
    }

    .superpower-desc.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    /* Disable the 100vh lock on mobile so the box never gets clipped */
    #superpowers {
        min-height: 0 !important;
        height: auto !important;
        align-items: flex-start !important;
        padding-top: 4.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    /* Title — keep italic "Enzo" inline-aligned so it doesn't overflow the
       line-box and clip into the section above */
    #superpowers h2 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
        margin-bottom: 1.5rem !important;
    }
    #superpowers h2 .font-serif {
        font-size: 1em !important;
        line-height: inherit !important;
        vertical-align: baseline;
    }
    #superpowers .superpowers-content {
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0.5rem 0;
    }
    /* Stack descriptions naturally on mobile — but show only the active one */
    #superpowers .superpower-desc {
        grid-area: 1 / 1;
        display: none;
    }
    #superpowers .superpower-desc.active {
        display: block;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .sp-card {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 18px;
    }
    .sp-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem 0;
    }
    .sp-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        padding: 0.25rem 0;
    }
    .sp-stat + .sp-stat::before {
        display: none;
    }
    .sp-stat-num {
        min-width: 64px;
    }
    /* Tabs become a tappable, scroll-snapped row with peek of next tab */
    .superpowers-tabs {
        scroll-snap-type: x mandatory;
        gap: 0.75rem !important;
        padding-bottom: 0.5rem;
    }
    .superpower-tab {
        scroll-snap-align: start;
        opacity: 1 !important;
        background: rgba(42, 42, 42, 0.04);
        border: 1px solid rgba(42, 42, 42, 0.08);
        border-radius: 999px;
        padding: 0.5rem 0.875rem !important;
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    .superpower-tab.active {
        background: #fff;
        border-color: #ff6b35;
        box-shadow: 0 6px 16px -8px rgba(255, 107, 53, 0.4);
    }
    .superpower-tab .tab-text {
        font-size: 1rem !important;
    }

    /* Mobile reorder: title → tabs → content card → lottie (decoration last)
       so the active card is visible the moment the user taps a tab. */
    #superpowers .superpowers-tabs { order: 2 !important; margin-bottom: 1rem; }
    #superpowers .superpowers-content { order: 3 !important; }
    #superpowers #lottie-superpowers,
    #superpowers .relative.aspect-square { order: 4 !important; }

    /* Bigger Lottie on mobile — there's room for it */
    #superpowers .relative.aspect-square {
        height: 420px !important;
        margin-top: 2rem;
    }
}

#lottie-superpowers {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    #lottie-superpowers {
        height: 600px !important;
    }
}

@media (max-width: 767px) {
    #lottie-superpowers { height: 420px !important; max-height: 420px; }
}

/* Mobile Tabs Scroll Enhancement — pull tabs IN from the section's
   16px vertical guide rails so the active tab pill doesn't overlap them,
   while keeping enough right-padding for the next tab to peek. */
@media (max-width: 767px) {
    .superpowers-tabs {
        padding-left: 0.75rem;
        padding-right: 25%;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .superpower-tab:first-child { margin-left: 4px; }
}

/* =============================================
   CEO Section & Chat bubbles
   ============================================= */
#ceo-section {
    background-color: #ffffff;
}

.chat-bubble {
    position: relative;
}

.cta-box {
    box-shadow: 0 20px 40px rgba(255, 99, 42, 0.2);
}

.ceo-profile img {
    filter: grayscale(0.2);
    transition: filter 0.5s ease;
}

.ceo-profile:hover img {
    filter: grayscale(0);
}

/* =============================================
   Brands Section & Marquee
   ============================================= */
#brands-section {
    background-color: #ffffff;
}

.marquee-container {
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
}

.brand-logo {
    transition: color 0.3s ease;
    user-select: none;
}

.brand-logo:hover {
    color: #2a2a2a;
}

.brand-logo-allergan {
    position: relative;
    letter-spacing: 0.05em;
}

.brand-logo-allergan::first-letter {
    font-size: 1.1em;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* =============================================
   CTA Section
   ============================================= */
#cta-section {
    background-color: #ffffff;
}

#cta-section img {
    transition: transform 0.8s ease;
}

#cta-section:hover img {
    transform: scale(1.05);
}

.cta-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button .text-2xl {
    transition: transform 0.3s ease;
}

.cta-button:hover .text-2xl {
    transform: rotate(90deg);
}

/* =============================================
   Pricing Section
   ============================================= */
#pricing-section {
    background-color: #ffffff;
}

.pricing-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
    border-radius: .63em;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 28.75em;
    padding: 1.25em;
    display: flex;
    position: relative;
    overflow: hidden;
}

.pricing-card-video {
    z-index: -1;
    mix-blend-mode: darken;
    width: 49em;
    max-width: none;
    height: 38em;
    position: absolute;
    inset: auto -20em 0% auto;
}

.pricing-card-image1 {
    z-index: -1;
    width: 27em;
    max-width: none;
    position: absolute;
    inset: auto -7.5em -1.2em auto;
}

.pricing-card-image2 {
    z-index: -1;
    width: 28em;
    max-width: none;
    position: absolute;
    inset: auto -11.5em -2.2em auto;
}

.pricing-card-image3 {
    z-index: -1;
    width: 22em;
    max-width: none;
    position: absolute;
    inset: auto -6.5em 2.8em auto;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card video,
.pricing-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.pricing-card:hover video,
.pricing-card:hover img {
    transform: scale(1.05);
}

/* Pricing tier cards (3-column layout) */
.pricing-tier-card {
    height: auto;
    min-height: 240px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.3s ease;
}

.pricing-tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 42, 42, 0.08);
}

.pricing-tier-card--featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 56px rgba(205, 160, 127, 0.2);
}

/* Pricing CTA row and cards */
.pricing-cta-card {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.pricing-cta-card:hover {
    transform: translateY(-6px);
}

.pricing-cta-card__icon--accent {
    background: rgba(205, 160, 127, 0.15);
}

.pricing-cta-btn {
    transition: transform 0.25s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.pricing-cta-card .pricing-cta-btn:hover {
    transform: none;
}

.pricing-cta-card:hover .pricing-cta-btn--primary {
    box-shadow: 0 6px 20px rgba(205, 160, 127, 0.3);
}

.pricing-cta-btn--primary:hover {
    box-shadow: 0 8px 24px rgba(205, 160, 127, 0.4);
}

/* Pricing plan cards (minimal reference style) + swiper */
.pricing-swiper-wrap {
    position: relative;
}

.pricing-swiper .swiper-slide {
    height: auto;
}

.pricing-plan-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-plan-card:hover {
    transform: translateY(-4px);
}

.pricing-plan-card--featured:hover {
    box-shadow: 0 16px 48px rgba(205, 160, 127, 0.15);
}

/* Mobile: pagination bullets */
.pricing-swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pricing-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(42, 42, 42, 0.25);
    opacity: 1;
    transition: background 0.2s ease, width 0.2s ease;
}

.pricing-swiper-pagination .swiper-pagination-bullet-active {
    background: #cda07f;
    width: 24px;
}

/* Reset old tier-card rules when using plan cards */
#pricing-section .pricing-plan-card.pricing-card {
    min-height: 340px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pricing-card {
        min-height: auto;
    }

    .pricing-tier-card {
        min-height: 200px;
    }

    #pricing-section .pricing-plan-card.pricing-card {
        min-height: 320px;
    }
}

/* Tablet: 768px – 1024px (more specific than above) */
@media (min-width: 768px) and (max-width: 1024px) {
    .pricing-tier-card {
        min-height: 0;
    }

    .pricing-cta-card {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .pricing-tier-card {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .pricing-card:not(.pricing-plan-card) {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
        gap: 0rem;
        min-height: 220px;
        position: relative;
        overflow: hidden;
    }

    #pricing-section .pricing-plan-card {
        min-height: 320px;
    }

    .pricing-card .mb-6 {
        margin-bottom: 2rem;
        position: relative;
        z-index: 2;
    }

    .pricing-card .pricing-btn,
    .pricing-card .flex-col {
        width: fit-content;
        max-width: none;
        position: relative;
        z-index: 2;
    }

    .pricing-btn {
        padding: 0.8rem 1.75rem !important;
    }

    .pricing-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
        max-width: 70%;
    }

    .pricing-card p {
        font-size: 1.1rem;
        opacity: 0.6;
    }

    .pricing-card br {
        display: none !important;
    }

    /* Fix image containers for mobile - positioned to the right */
    .pricing-card-video,
    .pricing-card-image1,
    .pricing-card-image2,
    .pricing-card-image3 {
        position: absolute !important;
        width: 200px !important;
        height: 200px !important;
        z-index: 1 !important;
        pointer-events: none;
    }

    /* Specific adjustments for individual images to match reference */
    .pricing-card-video {
        width: 227px !important;
        height: 257px !important;
        right: -45px !important;
        bottom: -21px !important;
    }

    .pricing-card-image1 {
        right: -45px !important;
        bottom: 0px !important;
    }

    .pricing-card-image2 {
        right: -90px !important;
        width: 270px !important;
        bottom: 0px !important;
    }

    .pricing-card-image3 {
        right: -66px !important;
        bottom: 11px !important;
        width: 215px !important;
    }

    .pricing-card video,
    .pricing-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }
}

/* =============================================
   Hamburger Menu
   ============================================= */
#hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

#hamburger-btn.active .hamburger-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Hide hamburger button when menu is open */
body.menu-open #hamburger-btn {
    opacity: 0;
    pointer-events: none;
}

/* =============================================
   Mobile Menu
   ============================================= */
#mobile-menu.active {
    pointer-events: auto;
}

#mobile-menu.active #mobile-menu-backdrop {
    opacity: 1;
}

#mobile-menu.active #mobile-menu-panel {
    transform: translateX(0);
}

#mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation for nav links */
#mobile-menu.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

#mobile-menu.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

#mobile-menu.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

#mobile-menu.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

#mobile-menu.active .mobile-nav-link:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-nav-link {
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu panel scrolling */
#mobile-menu-panel {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

#mobile-menu-panel>div:first-of-type {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    min-height: min-content;
}

/* =============================================
   Mobile Mega Menu Styles
   ============================================= */
#mobile-brands-menu,
#mobile-services-menu {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-brands-menu.max-h-\[2000px\],
#mobile-services-menu.max-h-\[2000px\] {
    overflow: visible;
}

#mobile-brands-toggle svg,
#mobile-services-toggle svg {
    transition: transform 0.3s ease;
}

/* Prevent closing menu when clicking inside brands/services menu */
#mobile-brands-menu a,
#mobile-services-menu a {
    pointer-events: auto;
}

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 768px) {
    .nav-link {
        height: 18px;
    }
}

.city-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.03) 0%, rgba(236, 72, 153, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.city-card:hover {
    border-color: rgba(236, 72, 153, 0.2);
}

.city-card:hover::before {
    opacity: 1;
}

.city-card:hover h3 {
    color: #ec4899;
}

.city-card h3 {
    transition: all 0.4s ease;
}

.hero-title-line {
    will-change: transform, opacity;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* =============================================
   Blog Section Styles
   ============================================= */
.blog-filter-btn {
    transition: all 0.3s ease;
    white-space: nowrap;
}

.blog-filter-btn.active {
    background-color: #ec4899;
    color: white;
    border-color: #ec4899;
}

.blog-card {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card-image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image-wrapper img {
    transform: scale(1.05);
}

.blog-card-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.blog-card:hover .blog-card-arrow {
    background: #ec4899;
    color: white;
}

.blog-card-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-arrow svg {
    transform: translate(2px, -2px);
}

/* =============================================
   Contact Hero Styles (Social Media Management)
   ============================================= */
.bg-grid-pattern {
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 24px 24px;
}

.sparkle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hero-form-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-input-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
}

.form-input-icon {
    left: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    pointer-events: none;
    position: absolute;
    z-index: 10;
    top: 1.2rem;
}



.form-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    background: #f9fafb;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    background: white;
    border-color: #ec4899;
    outline: none;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.1);
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #ec4899;
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.3);
}

.form-submit-btn:hover {
    background: #db2777;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(236, 72, 153, 0.4);
}

.screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
}


/* =============================================
   Content Sections (Alternating)
   ============================================= */
.content-section {
    padding: 8rem 0;
}

.content-image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.content-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   FAQ Section Styles
   ============================================= */
.faq-item {
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 1rem;
    background-color: #f9fafb;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: rgba(236, 72, 153, 0.5);
    background-color: white;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.1);
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.faq-question-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: #2a2a2a;
    transition: color 0.4s ease;
    line-height: 1.4;
    flex: 1;
    padding-right: 1rem;
}

.faq-content {
    height: 0;
    overflow: hidden;
    will-change: height;
    transition: height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-width: 100%;
}

.faq-plus {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-plus-line {
    position: absolute;
    background-color: #2a2a2a;
    transition: background-color 0.4s ease, transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.faq-item.active .faq-plus-line {
    background-color: #ec4899;
}

.faq-plus-line.h {
    width: 20px;
    height: 2px;
}

.faq-plus-line.v {
    width: 2px;
    height: 20px;
}

.faq-item.active .faq-plus-line.v {
    transform: rotate(90deg);
}

.faq-list {
    display: flex;
    flex-direction: column;
}





.strategy-call-card {
    background: #f9fafb;
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    position: sticky;
    top: 100px;
}

.strategy-call-card .profile-pic {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .strategy-call-card {
        position: static;
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 0;
    }

    .faq-section {
        padding: 5rem 0;
    }

    .faq-trigger {
        padding: 1.25rem 1.25rem;
    }

    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem 1.25rem;
        max-width: 100%;
    }

    .faq-item {
        margin-bottom: 0.75rem;
    }

    .hero-form-card {
        padding: 1.5rem;
    }

    .faq-question-text {
        font-size: 1rem;
        font-weight: 500;
        padding-right: 1rem;
        line-height: 1.3;
    }
}

/* =============================================
   Cities Page Template Styles
   ============================================= */
body.page-template-page-cities #page {
    background: white !important;
}

body.page-template-page-cities #bg-image,
body.page-template-page-cities .bg-gradient-to-b {
    display: none !important;
}

body.page-template-page-cities .fixed.inset-0.z-0:first-of-type {
    background: white !important;
}

/* Header starts with white background style */
body.page-template-page-cities #header {
    color: #2a2a2a !important;
}

body.page-template-page-cities #header .nav-text,
body.page-template-page-cities #header .nav-text-hover {
    color: #2a2a2a !important;
}

body.page-template-page-cities #header .hamburger-line {
    background-color: #2a2a2a !important;
}

body.page-template-page-cities #header svg {
    color: #2a2a2a !important;
}

body.page-template-page-cities #header>div>div.absolute.bottom-0 {
    background-color: rgba(42, 42, 42, 0.2) !important;
}

body.page-template-page-cities #header>div>div.absolute.left-4,
body.page-template-page-cities #header>div>div.absolute.right-4 {
    background-color: rgba(42, 42, 42, 0.1) !important;
}

body.page-template-page-cities #header .border-l {
    border-color: rgba(42, 42, 42, 0.1) !important;
}

body.page-template-page-cities #header img[alt="decoration"] {
    filter: brightness(0) !important;
}

.hero-cities-title span {
    font-family: ui-serif, Georgia, Cambria, Times New Roman, Times, serif;
    font-style: italic;
    font-weight: 500;
}

/* =============================================
   City Page Styles
   ============================================= */

/* Override background for city pages */
body.single-city_page #page {
    background: white !important;
}

body.single-city_page #bg-image,
body.single-city_page .bg-gradient-to-b {
    display: none !important;
}

body.single-city_page .fixed.inset-0.z-0:first-of-type {
    background: white !important;
}

/* Form input styling */

/* Contact Form 7 overrides */
.hero-form-card .wpcf7-form-control-wrap {
    display: block;
    position: relative;
    margin-bottom: 1rem;
}

.hero-form-card .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: #f9fafb;
    padding-left: 3rem;
    font-size: 14px;
}

.hero-form-card .wpcf7-form-control:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.hero-form-card .wpcf7-textarea {
    height: 120px;
    resize: none;
}

.hero-form-card .wpcf7-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-form-card .wpcf7-submit:hover {
    background: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-form-card .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.hero-form-card .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: 0.5rem;
}

.hero-form-card .wpcf7-response-output {
    padding: 0 !important;
    font-size: 14px !important;
}

.hero-form-card .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.75rem !important;
    margin-top: 0.25rem;
    padding-left: 0.5rem !important;
}

/* Content section styling */
.content-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.content-image-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.content-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* FAQ styling - Consolidated styles above */

.strategy-call-card {
    background: #f9fafb;
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(42, 42, 42, 0.05);
}

.strategy-call-card .profile-pic {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .strategy-call-card {
        position: static;
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 0;
    }

    .faq-section {
        padding: 4rem 0;
    }

    .faq-question-text {
        font-size: 1rem;
    }
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pagination-container .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination-container .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(42, 42, 42, 0.15);
    background-color: white;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2a2a2a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pagination-container .page-numbers:hover:not(.current):not(.dots) {
    border-color: #ec4899;
    color: #ec4899;
    background-color: rgba(236, 72, 153, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.pagination-container .page-numbers.current {
    background-color: #ec4899;
    color: white;
    border-color: #ec4899;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

.pagination-container .page-numbers.dots {
    border: none;
    background-color: transparent;
    cursor: default;
    min-width: auto;
    padding: 0 0.5rem;
}

.pagination-container .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    background-color: transparent;
}

.pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(42, 42, 42, 0.15);
    background-color: white;
    color: #2a2a2a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-arrow:hover {
    border-color: #ec4899;
    background-color: rgba(236, 72, 153, 0.05);
    color: #ec4899;
    transform: translateY(-2px);
}

.pagination-arrow.prev:hover svg {
    transform: translateX(-2px);
}

.pagination-arrow.next:hover svg {
    transform: translateX(2px);
}

.pagination-arrow svg {
    transition: transform 0.3s ease;
}

.prev.page-numbers,
.next.page-numbers {
    border: none;
}

/* Disabled state for prev/next when not available */
.pagination-container .page-numbers.prev.disabled,
.pagination-container .page-numbers.next.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Single Post Styles */
.single-post-article .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.single-post-article .entry-content p {
    margin-bottom: 2rem;
}

.single-post-article .entry-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.single-post-article .entry-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-article .entry-content blockquote {
    border-left: 4px solid #ec4899;
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.5rem;
    color: #2a2a2a;
    line-height: 1.5;
}

.single-post-article .entry-content a {
    color: #ec4899;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.single-post-article .entry-content a:hover {
    opacity: 0.7;
}

.single-post-article .entry-content ul,
.single-post-article .entry-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.single-post-article .entry-content li {
    margin-bottom: 0.75rem;
}

.single-post-article .entry-content img {
    border-radius: 1.5rem;
    margin: 3rem 0;
}

/* Post Navigation */
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
    width: 50%;
}

@media (max-width: 768px) {
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 2.5rem;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
    }

    .single-post-article .entry-content {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .pagination-container .nav-links {
        gap: 0.5rem;
    }

    .pagination-container .page-numbers {
        min-width: 2.5rem;
        height: 2.5rem;
        font-size: 0.8125rem;
    }

    .pagination-arrow {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Avatar fix */
.single-post-article header img.avatar {
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}




/* Contact Form 7 Radio Button Styles */
.cf7-radio-group .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
}

.cf7-radio-group .wpcf7-list-item input[type="radio"] {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(6, 61, 49, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    position: relative;
}

.cf7-radio-group .wpcf7-list-item input[type="radio"]:checked {
    border-color: #063D31;
}

.cf7-radio-group .wpcf7-list-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    background: #063D31;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cf7-radio-group .wpcf7-list-item-label {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cf7-radio-group .wpcf7-list-item:hover .wpcf7-list-item-label {
    opacity: 1;
}

/* Generic input + select */
.enzo-input,
.enzo-select {
    width: 100%;
    padding: 0.625rem 1rem;
    /* px-4 py-2.5 */
    border-radius: 0.75rem;
    /* rounded-xl */
    background: rgba(255, 255, 255, 0.05);
    /* bg-white/5 */
    border: 1px solid rgba(6, 61, 49, 0.2);
    /* border-[#063D31]/20 */
    color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
}

.enzo-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.enzo-input:focus,
.enzo-select:focus {
    border-color: #063D31;
    box-shadow: 0 0 0 1px rgba(6, 61, 49, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* Select specific */
.enzo-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
    /* space for dropdown icon */
}

/* Radio group */
.enzo-radio-group .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
}

.enzo-radio-group .wpcf7-list-item input[type="radio"] {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(236, 72, 152, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.2s ease;
}

.enzo-radio-group .wpcf7-list-item input[type="radio"]:checked {
    border-color: #EC4898;
}

.enzo-radio-group .wpcf7-list-item input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 0.1875rem;
    border-radius: 999px;
    background: #EC4898;
}

.enzo-radio-group .wpcf7-list-item-label {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.enzo-radio-group .wpcf7-list-item:hover .wpcf7-list-item-label {
    opacity: 1;
}

/* Submit button */
.enzo-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.75rem 3rem;
    /* py-3 px-12 */
    border-radius: 0.75rem;
    /* rounded-xl */
    background: #000000;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .enzo-submit {
        width: auto;
        float: right;
    }
}


.contact-form-card .wpcf7-list-item {
    margin: 0 !important;
}

.contact-form-card br {
    display: none !important;
}

.wpcf7-not-valid-tip {
    font-size: 12px !important;
}

/* =========================================
   Knowledge Base Styles
   ========================================= */

/* Container - padding-top so content (including breadcrumb) is below fixed header (64px) */
.kb-main {
    background: #fff;
    min-height: 100vh;
    padding-top: 5rem;
    /* 80px - below fixed header */
}

.kb-article {
    padding-top: 3rem;
}

.kb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .kb-container {
        padding: 0 2rem;
    }
}

/* Breadcrumb - minimal */
.kb-breadcrumb-wrapper {
    background: transparent;
    padding: 0.5rem 0;
}

.kb-breadcrumb-wrapper--article {
    background: transparent;
}

.kb-breadcrumb-wrapper--article .kb-breadcrumb-link,
.kb-breadcrumb-wrapper--article .kb-breadcrumb-separator {
    color: rgba(42, 42, 42, 0.5);
}

.kb-breadcrumb-wrapper--article .kb-breadcrumb-link:hover {
    color: #2a2a2a;
}

.kb-breadcrumb-wrapper--article .kb-breadcrumb-current {
    color: #2a2a2a;
}

.kb-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    font-size: 15px;
    font-weight: 400;
}

.kb-breadcrumb-link {
    color: rgba(42, 42, 42, 0.5);
    text-decoration: none;
    transition: color 0.15s ease;
}

.kb-breadcrumb-link:hover {
    color: #2a2a2a;
}

.kb-breadcrumb-separator {
    color: rgba(42, 42, 42, 0.25);
    user-select: none;
}

.kb-breadcrumb-current {
    color: #2a2a2a;
    font-weight: 500;
}

/* Section */
.kb-section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .kb-section {
        padding: 3rem 0;
    }
}

/* Categories Grid (Overview Page) */
.kb-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .kb-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .kb-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Category Card */
.kb-category-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}



.kb-category-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.kb-category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-category-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.kb-category-icon-placeholder {
    background: #e2e8f0;
    border-radius: 0.5rem;
    color: #718096;
}

.kb-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.kb-category-description {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Category Articles List */
.kb-category-articles {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.kb-article-item {
    margin-bottom: 0.75rem;
}

.kb-article-link {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.kb-article-link:hover {
    color: #2d3748;
}

.kb-article-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #48bb78;
}

/* KB article list – tablet (2-column grid) */
@media (min-width: 641px) and (max-width: 1023px) {
    .kb-category-card {
        padding: 1.25rem 1.5rem;
    }

    .kb-category-articles {
        margin-bottom: 1.25rem;
    }

    .kb-article-item {
        margin-bottom: 0.625rem;
    }

    .kb-article-link {
        align-items: center;
        gap: 0.5rem;
        min-height: 2.5rem;
        padding: 0.25rem 0;
    }

    .kb-article-link span {
        min-width: 0;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .kb-article-icon {
        margin-top: 0;
    }
}

/* Category Read More Link */
.kb-category-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease, gap 0.2s ease;
}

.kb-category-more:hover {
    color: #2d3748;
    gap: 0.75rem;
}

/* FAQ Sections (Category Archive) */
.kb-faq-sections {
    max-width: 800px;
}

.kb-faq-section {
    margin-bottom: 3rem;
}

.kb-faq-section:last-child {
    margin-bottom: 0;
}

.kb-faq-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1.5rem;
    line-height: 1.3;
}

.kb-faq-list {
    display: flex;
    flex-direction: column;
}

.kb-faq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.kb-faq-item:first-child {
    border-top: 1px solid #e2e8f0;
}

.kb-faq-item:hover {
    color: #2d3748;
}

.kb-faq-item-title {
    font-size: 0.9375rem;
    line-height: 1.5;
}

.kb-faq-item-arrow {
    flex-shrink: 0;
    color: #a0aec0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.kb-faq-item:hover .kb-faq-item-arrow {
    transform: translateX(4px);
    color: #4a5568;
}

.kb-faq-empty {
    color: #718096;
    font-size: 0.875rem;
    font-style: italic;
}

/* Article Page */
.kb-article-layout {
    max-width: 800px;
}

/* Table of Contents */
.kb-toc {
    background: #f4c4a044;
    border-left: 4px solid #d9ad8c;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.kb-toc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem;
}

.kb-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kb-toc-item {
    margin-bottom: 0.5rem;
}

.kb-toc-item:last-child {
    margin-bottom: 0;
}

.kb-toc-item--h3 {
    padding-left: 1rem;
}

.kb-toc-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.kb-toc-link:hover {
    color: #2d3748;
}

/* Article Body */
.kb-article-body {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.75;
}

.kb-article-body h2.kb-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
    scroll-margin-top: 2rem;
}

.kb-article-body h3.kb-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
    scroll-margin-top: 2rem;
}

.kb-article-body p {
    margin: 0 0 1.25rem;
}

.kb-article-body ul,
.kb-article-body ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.kb-article-body li {
    margin-bottom: 0.5rem;
}

.kb-article-body a {
    color: #4a5568;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.kb-article-body a:hover {
    color: #2d3748;
}

.kb-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.kb-article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f7fafc;
    border-left: 4px solid #4a5568;
    color: #4a5568;
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
}

.kb-article-body pre,
.kb-article-body code {
    font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
    font-size: 0.875rem;
}

.kb-article-body code {
    background: #f7fafc;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    color: #e53e3e;
}

.kb-article-body pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.kb-article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Related Articles */
.kb-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.kb-related-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem;
}

.kb-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kb-related-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.kb-related-item:hover {
    color: #2d3748;
}

.kb-related-icon {
    flex-shrink: 0;
    color: #718096;
}

/* Article Navigation */
.kb-article-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

@media (min-width: 640px) {
    .kb-article-nav {
        flex-direction: row;
        justify-content: space-between;
    }
}

.kb-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.kb-nav-link:hover {
    background: #edf2f7;
}

.kb-nav-link--prev {
    flex-direction: row;
}

.kb-nav-link--next {
    flex-direction: row;
    margin-left: auto;
    text-align: right;
}

.kb-nav-link svg {
    flex-shrink: 0;
    color: #718096;
}

.kb-nav-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.kb-nav-label {
    font-size: 0.75rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kb-nav-title {
    font-size: 0.9375rem;
    color: #2d3748;
    font-weight: 500;
}

/* No Content State */
.kb-no-content {
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
}

.kb-no-content p {
    margin: 0 0 1.5rem;
    font-size: 1rem;
}

.kb-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.kb-back-link:hover {
    color: #2d3748;
}

/* =========================================
   Referral Page Styles
   ========================================= */

/* Referral Form Card Styling */

.referral-form-card .referral-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 3rem;
}

@media (min-width: 768px) {
    .referral-form-card .referral-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.referral-form-card .referral-column {
    display: flex;
    flex-direction: column;
}

.referral-form-card .referral-column .wpcf7-form-control-wrap {
    margin-bottom: 1rem;
}



.referral-form-card .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 0.75rem;
}

.referral-form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: #2a2a2a;
}

.referral-form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance)::placeholder {
    color: #9ca3af;
}

.referral-form-card .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):focus {
    outline: none;
    border-color: #2a2a2a;
    box-shadow: 0 0 0 3px rgba(42, 42, 42, 0.1);
    background-color: white;
}

.referral-form-card .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.referral-form-card .wpcf7-acceptance input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    border-radius: 0.25rem;
    border: 1px solid #e5e7eb;
    accent-color: #333;
}


.referral-form-card .wpcf7-acceptance .wpcf7-list-item-label a:hover {
    text-decoration: none;
}

.referral-form-card .wpcf7-submit {
    padding: 1rem 2rem;
    background: #1a1a1a;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
}

.referral-form-card .wpcf7-submit:hover {
    background: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.referral-form-card .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.referral-form-card .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    grid-column: 1 / -1;
}

.referral-form-card .wpcf7-list-item {
    margin: 0 !important;
}

.referral-form-card br {
    display: none !important;
}

.referral-form-card .wpcf7-spinner {
    display: none !important;
}

/* Referral Form Section Headers */
.referral-form-card .form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Referral Bonus Cards */
.referral-bonus-card {
    transition: all 0.3s ease;
}

.referral-bonus-card:hover {
    transform: translateY(-4px);
}

/* How to Get Started Steps Animation */
.referral-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.referral-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Why Refer Cards Hover Effect */
.why-refer-card {
    transition: all 0.3s ease;
}

.why-refer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
}

.why-refer-card:hover .card-icon {
    transform: scale(1.1);
}

.why-refer-card .card-icon {
    transition: transform 0.3s ease;
}

/* =============================================
   Back to Top Button with Scroll Progress
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.back-to-top:hover .back-to-top__icon {
    background: #2a2a2a;
    color: #fff;
}

.back-to-top:active {
    transform: translateY(0);
}

/* Progress ring */
.back-to-top__progress {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.back-to-top__progress-bg {
    fill: none;
    stroke: rgba(42, 42, 42, 0.08);
    stroke-width: 2;
}

.back-to-top__progress-bar {
    fill: none;
    stroke: #ec4899;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 131.95;
    /* 2 * PI * 21 */
    stroke-dashoffset: 131.95;
    transition: stroke-dashoffset 0.1s linear;
}

/* Arrow icon centered */
.back-to-top__icon {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a2a2a;
    transition: background 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Admin bar offset */
.admin-bar .back-to-top {
    bottom: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        left: 1.25rem;
        width: 42px;
        height: 42px;
    }

    .back-to-top__icon {
        inset: 4px;
    }

    .back-to-top__icon svg {
        width: 14px;
        height: 14px;
    }
}

/* Service single — Style C pricing slider */
.service-pricing-tick {
    color: rgba(42, 42, 42, 0.5);
    transition: color 0.15s ease, font-weight 0.15s ease;
}

.service-pricing-tick.is-active {
    color: #1a1a1a;
    font-weight: 600;
}

/**
 * Range input: full styles live here (not Tailwind arbitrary pseudo-elements)
 * so PHP templates always get a visible track + thumb after Tailwind purges.
 */
input[type="range"].service-pricing-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

input[type="range"].service-pricing-range:focus {
    outline: none;
}

input[type="range"].service-pricing-range:focus-visible {
    outline: 2px solid rgba(148, 163, 184, 0.8);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Chromium / Safari / Edge — gradient fill via --sp-fill custom property */
input[type="range"].service-pricing-range::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 9999px;
    background: linear-gradient(
        to right,
        var(--service-pricing-accent, #2563eb) 0%,
        var(--service-pricing-accent, #2563eb) var(--sp-fill, 0%),
        #e2e8f0 var(--sp-fill, 0%),
        #e2e8f0 100%
    );
    transition: background 0.15s ease;
}

input[type="range"].service-pricing-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -6px;
    border-radius: 50%;
    background: var(--service-pricing-accent, #2563eb);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: grab;
    transition: transform 0.1s ease;
}

input[type="range"].service-pricing-range:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.1);
}

/* Firefox — native progress pseudo-element */
input[type="range"].service-pricing-range::-moz-range-track {
    height: 10px;
    border-radius: 9999px;
    background: #e2e8f0;
}

input[type="range"].service-pricing-range::-moz-range-progress {
    height: 10px;
    border-radius: 9999px;
    background: var(--service-pricing-accent, #2563eb);
}

input[type="range"].service-pricing-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: var(--service-pricing-accent, #2563eb);
    box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: grab;
}

input[type="range"].service-pricing-range:active::-moz-range-thumb {
    cursor: grabbing;
}