/* ==========================================================================
   qt-page.css  —  QT Beauty Inner Page Design System
   ALL rules scoped under .qt-page to prevent bleeding into homepage (index.html)
   Tokens mirror the v8 homepage exactly.
   ========================================================================== */

/* ── 1. TOKENS (re-declared so inner pages are self-contained) ── */
.qt-page {
    --ivory:   #F8F4EE;
    --bone:    #EAE3D8;
    --sand:    #DFD6C8;
    --warm:    #FDFCF9;
    --deep:    #0C0A08;
    --dark2:   #16120F;
    --gold:    #AD8852;
    --gold-lt: #C9A870;
    --gold-dim: rgba(173,136,82,0.3);
    --rose:    #B88470;
    --muted:   #8A7E72;
    --text:    #1C1A17;
    --border:  #DDD5C6;
    --border-d: rgba(255,255,255,0.07);
    --serif:   'Bodoni Moda', Georgia, serif;
    --body:    'Outfit', system-ui, sans-serif;
    --w:       1160px;
    --px:      72px;
    --py:      124px;

    font-family: var(--body);
    background: var(--deep);
    color: var(--ivory);
    overflow-x: hidden;
}

/* ── 2. SCROLL PROGRESS BAR ── */
#qt-prog {
    position: fixed;
    top: 0; left: 0;
    height: 1.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--rose));
    z-index: 600;
    pointer-events: none;
}

/* ── 3. NAV ── */
#qt-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100000; /* Above Astra HFB (9999) and Elementor (99999) */
    padding: 28px var(--px);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: padding .32s, background .4s, border-color .4s;
    border-bottom: 1px solid transparent;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force Astra's own header to zero height / hidden so it doesn't push content */
.qt-page #masthead,
.qt-page .site-header,
.qt-page .ast-desktop-header,
.qt-page .ast-mobile-header-wrap,
.qt-page header.site-header,
.qt-page .main-header-bar,
.qt-page .ast-main-header-wrap,
.qt-page #ast-fixed-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
}
#qt-nav.qt-scrolled {
    padding: 16px var(--px);
    background: rgba(12,10,8,.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-color: var(--border-d);
    z-index: 100000;
}

/* Logo */
.qt-n-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}
.qt-n-mark {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(173,136,82,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.qt-n-mark::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(173,136,82,.18);
}
.qt-n-mark-qt {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--gold);
    position: relative;
    z-index: 1;
    font-weight: 300;
}
.qt-n-word {
    font-family: var(--serif);
    font-size: 14.5px;
    font-weight: 300;
    color: var(--ivory);
    letter-spacing: .06em;
    line-height: 1.25;
}
.qt-n-word small {
    display: block;
    font-family: var(--body);
    font-size: 8.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255,255,255,.24);
}

/* Desktop links */
.qt-n-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.qt-n-link {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.52);
    text-decoration: none;
    transition: color .2s;
}
.qt-n-link:hover { color: var(--ivory); }
.qt-n-link.qt-active { color: var(--ivory); }

/* Book CTA in nav */
.qt-n-book {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border: 1px solid rgba(173,136,82,.4);
    padding: 10px 24px;
    transition: background .25s, color .25s, border-color .25s;
}
.qt-n-book:hover {
    background: var(--gold);
    color: var(--deep);
    border-color: var(--gold);
}

/* Hamburger */
.qt-n-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.qt-n-burger span {
    display: block;
    width: 22px; height: 1px;
    background: var(--ivory);
    transition: transform .3s, opacity .3s;
}
.qt-n-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.qt-n-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.qt-n-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── 4. MOBILE MENU ── */
#qt-mob {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark2);
    z-index: 190;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity .3s;
}
#qt-mob.qt-open { opacity: 1; }

.qt-mob-a {
    font-family: var(--serif);
    font-size: clamp(28px, 6.5vw, 44px);
    font-weight: 300;
    color: var(--ivory);
    text-decoration: none;
    letter-spacing: .03em;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(18px);
    transition: color .2s, opacity .32s, transform .32s;
}
#qt-mob.qt-open .qt-mob-a { opacity: 1; transform: translateY(0); }
#qt-mob.qt-open .qt-mob-a:nth-child(1) { transition-delay: .05s; }
#qt-mob.qt-open .qt-mob-a:nth-child(2) { transition-delay: .10s; }
#qt-mob.qt-open .qt-mob-a:nth-child(3) { transition-delay: .15s; }
#qt-mob.qt-open .qt-mob-a:nth-child(4) { transition-delay: .20s; }
.qt-mob-a:hover { color: var(--gold); }

.qt-mob-cta {
    margin-top: 18px;
    font-family: var(--body) !important;
    font-size: 11px !important;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--deep) !important;
    padding: 18px 48px;
    transition-delay: .25s !important;
}
.qt-mob-cta:hover { background: var(--gold-lt) !important; }

/* ── 5. PAGE WRAPPER — top-padding to clear fixed nav ── */
.qt-page-wrap {
    padding-top: 0;
    min-height: 80vh;
}

/* ── 6. SECTION / CONTAINER UTILITIES ── */
.qt-section {
    padding: var(--py) var(--px);
    max-width: var(--w);
    margin: 0 auto;
}
.qt-section-wide {
    padding: var(--py) var(--px);
}

/* ── 7. TYPOGRAPHY ── */
.qt-page h1,
.qt-page .qt-h1 {
    font-family: var(--serif);
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 300;
    line-height: .94;
    letter-spacing: -.022em;
    color: var(--ivory);
}
.qt-page h1 em, .qt-page .qt-h1 em { color: var(--gold); font-style: italic; }

.qt-page h2,
.qt-page .qt-h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -.015em;
    color: var(--ivory);
    margin-bottom: 32px;
}
.qt-page h2 em, .qt-page .qt-h2 em { color: var(--gold); font-style: italic; }
.qt-page h2.qt-dark, .qt-page .qt-h2.qt-dark { color: var(--text); }

.qt-page h3,
.qt-page .qt-h3 {
    font-family: var(--serif);
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 16px;
}

.qt-page p { line-height: 1.85; color: rgba(248,244,238,.55); font-size: 14.5px; }
.qt-page p.qt-lead { font-size: 16px; color: rgba(248,244,238,.7); }

.qt-label {
    font-size: 9.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}
.qt-label::before,
.qt-label::after {
    content: '—';
    margin: 0 8px;
    opacity: .4;
}

/* ── 8. BUTTONS ── */
.qt-page .qt-btn,
.qt-page .qt-btn-gold,
.qt-page .qt-btn-ghost-dk,
.qt-page .qt-btn-ghost-lt {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
    border: 1px solid transparent;
    font-family: var(--body);
}
.qt-page .qt-btn-gold {
    background: var(--gold);
    color: var(--deep);
    border-color: var(--gold);
}
.qt-page .qt-btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.qt-page .qt-btn-ghost-dk {
    background: transparent;
    color: var(--text);
    border-color: rgba(28,26,23,.3);
}
.qt-page .qt-btn-ghost-dk:hover { background: var(--text); color: var(--ivory); border-color: var(--text); }

.qt-page .qt-btn-ghost-lt {
    background: transparent;
    color: rgba(255,255,255,.6);
    border-color: rgba(255,255,255,.18);
}
.qt-page .qt-btn-ghost-lt:hover { color: var(--ivory); border-color: rgba(255,255,255,.5); }

/* ── 9. HERO BAND (inner page) ── */
.qt-page-hero {
    background: var(--deep);
    padding: 160px var(--px) 96px;
    border-bottom: 1px solid var(--border-d);
    position: relative;
    overflow: hidden;
}
.qt-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(173,136,82,.12) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 10% 90%, rgba(184,132,112,.06) 0%, transparent 60%);
    pointer-events: none;
}
.qt-page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--w);
    margin: 0 auto;
}
.qt-page-hero-eyebrow {
    font-size: 9px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: block;
}
.qt-page-hero h1 {
    margin-bottom: 28px;
}
.qt-page-hero p {
    font-size: 15px;
    max-width: 520px;
    color: rgba(248,244,238,.42);
    line-height: 1.9;
    margin-bottom: 44px;
}

/* ── 10. TREATMENT PAGE GRID LAYOUT ── */
.qt-treatment-wrap {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    max-width: var(--w);
    margin: 0 auto;
    padding: 0 var(--px);
    padding-bottom: var(--py);
}

/* Main content column */
.qt-treatment-main {}

/* Sticky sidebar */
.qt-treatment-aside {
    position: sticky;
    top: 120px;
    align-self: start;
}

.qt-aside-card {
    background: var(--dark2);
    border: 1px solid var(--border-d);
    padding: 36px 32px;
    margin-bottom: 24px;
}
.qt-aside-card-title {
    font-size: 8.5px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}
.qt-aside-price {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 6px;
}
.qt-aside-price-note {
    font-size: 11px;
    color: rgba(248,244,238,.28);
    letter-spacing: .05em;
    margin-bottom: 24px;
    display: block;
}
.qt-aside-card .qt-btn-gold {
    display: block;
    text-align: center;
    margin-bottom: 12px;
}
.qt-aside-card .qt-btn-ghost-lt {
    display: block;
    text-align: center;
}

/* ── 11. PROSE CONTENT BLOCKS ── */
.qt-prose {
    padding: 64px 0;
    border-top: 1px solid var(--border-d);
}
.qt-prose:first-child { border-top: none; padding-top: 0; }

.qt-page .qt-prose h2 {
    font-size: clamp(22px, 3vw, 36px);
    margin-bottom: 24px;
}
.qt-page .qt-prose p { margin-bottom: 18px; }
.qt-page .qt-prose p:last-child { margin-bottom: 0; }

/* Compliance / practitioner statement */
.qt-compliance {
    background: rgba(173,136,82,.06);
    border: 1px solid rgba(173,136,82,.18);
    border-left: 3px solid var(--gold);
    padding: 20px 24px;
    margin: 32px 0;
}
.qt-compliance p {
    font-size: 12.5px;
    color: rgba(248,244,238,.45);
    line-height: 1.7;
    margin: 0;
}

/* ── 12. PRICING TABLE ── */
.qt-price-table {
    border: 1px solid var(--border-d);
    margin: 32px 0;
}
.qt-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-d);
    transition: background .2s;
}
.qt-price-row:last-child { border-bottom: none; }
.qt-price-row:hover { background: rgba(255,255,255,.02); }

.qt-price-name {
    font-size: 14px;
    color: rgba(248,244,238,.72);
    flex: 1;
}
.qt-price-desc {
    font-size: 11.5px;
    color: rgba(248,244,238,.28);
    padding: 0 24px;
    flex: 1;
}
.qt-price-val {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 300;
    color: var(--ivory);
    white-space: nowrap;
}

/* ── 13. FAQ ACCORDION ── */
.qt-faq { margin: 48px 0; }
.qt-faq-title {
    font-family: var(--serif);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 28px;
}

.qt-faq-item {
    border-top: 1px solid var(--border-d);
}
.qt-faq-item:last-child { border-bottom: 1px solid var(--border-d); }

.qt-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 14.5px;
    color: rgba(248,244,238,.8);
    list-style: none;
    gap: 24px;
    user-select: none;
}
.qt-faq-q::-webkit-details-marker { display: none; }
.qt-faq-q::after {
    content: '+';
    font-size: 20px;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform .28s;
    font-weight: 300;
}
details[open] .qt-faq-q::after { transform: rotate(45deg); }

.qt-faq-a {
    padding: 0 0 24px;
    font-size: 13.5px;
    color: rgba(248,244,238,.45);
    line-height: 1.85;
    max-width: 640px;
}

/* ── 14. BOOKSY CTA BLOCK ── */
.qt-cta-block {
    background: var(--dark2);
    border: 1px solid var(--border-d);
    padding: 64px var(--px);
    text-align: center;
    margin: 64px 0 0;
    position: relative;
    overflow: hidden;
}
.qt-cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(173,136,82,.08) 0%, transparent 70%);
    pointer-events: none;
}
.qt-cta-block-inner { position: relative; z-index: 2; }

.qt-cta-block .qt-label { text-align: center; }
.qt-cta-block h2 { margin-bottom: 16px; }
.qt-cta-block p {
    max-width: 480px;
    margin: 0 auto 40px;
}
.qt-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── 15. REVIEW STRIP (compact, 3-col) ── */
.qt-rev-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 48px 0;
}
.qt-rev-card {
    background: var(--dark2);
    border: 1px solid var(--border-d);
    padding: 32px 28px;
}
.qt-rev-stars {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}
.qt-rev-quote {
    font-size: 13px;
    color: rgba(248,244,238,.55);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 20px;
}
.qt-rev-quote::before { content: '\201C'; }
.qt-rev-quote::after  { content: '\201D'; }
.qt-rev-author {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(248,244,238,.28);
}
.qt-rev-via { color: var(--gold); }

/* ── 16. STAT STRIP ── */
.qt-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-d);
    margin: 48px 0;
}
.qt-stat {
    padding: 40px 32px;
    text-align: center;
    border-right: 1px solid var(--border-d);
}
.qt-stat:last-child { border-right: none; }
.qt-stat-n {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}
.qt-stat-l {
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(248,244,238,.26);
}

/* ── 17. BENEFITS GRID ── */
.qt-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin: 40px 0;
}
.qt-benefit {
    background: var(--dark2);
    border: 1px solid var(--border-d);
    padding: 32px 28px;
}
.qt-benefit-ico {
    font-size: 18px;
    color: var(--gold);
    display: block;
    margin-bottom: 14px;
}
.qt-benefit-title {
    font-size: 14px;
    color: var(--ivory);
    margin-bottom: 10px;
    font-weight: 500;
}
.qt-benefit-desc {
    font-size: 13px;
    color: rgba(248,244,238,.45);
    line-height: 1.8;
}

/* ── 18. BREADCRUMB ── */
.qt-breadcrumb {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(248,244,238,.24);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.qt-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.qt-breadcrumb a:hover { color: var(--gold); }
.qt-breadcrumb span { color: var(--gold); }

/* ── 19. DIVIDERS ── */
.qt-rule {
    border: none;
    border-top: 1px solid var(--border-d);
    margin: 48px 0;
}
.qt-rule-gold {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
    margin: 56px 0;
}

/* ── 20. FOOTER ── */
.qt-footer {
    background: var(--deep);
    border-top: 1px solid var(--border-d);
    padding: 80px var(--px) 40px;
}
.qt-ft-inner {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 56px;
    max-width: var(--w);
    margin-left: auto;
    margin-right: auto;
}
.qt-ft-logo {
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 4px;
}
.qt-ft-logo span { color: var(--gold); }
.qt-ft-sub {
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(173,136,82,.38);
    margin-bottom: 16px;
}
.qt-ft-tag {
    font-size: 12.5px;
    color: rgba(255,255,255,.24);
    line-height: 1.88;
    max-width: 280px;
    margin-bottom: 28px;
}
.qt-ft-soc { display: flex; gap: 8px; }
.qt-ft-soc a {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.26);
    text-decoration: none;
    font-size: 10px;
    transition: border-color .2s, color .2s;
}
.qt-ft-soc a:hover { border-color: var(--gold); color: var(--gold); }

.qt-ft-col h4 {
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}
.qt-ft-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.qt-ft-col ul li a {
    font-size: 12.5px;
    color: rgba(255,255,255,.26);
    text-decoration: none;
    transition: color .2s;
}
.qt-ft-col ul li a:hover { color: rgba(255,255,255,.6); }
.qt-ft-col p {
    font-size: 12.5px;
    color: rgba(255,255,255,.26);
    line-height: 1.9;
    margin: 0 0 4px;
}
.qt-ft-col a {
    color: rgba(255,255,255,.26);
    text-decoration: none;
    transition: color .2s;
}
.qt-ft-col a:hover { color: rgba(255,255,255,.58); }

.qt-ft-bot {
    border-top: 1px solid var(--border-d);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: var(--w);
    margin: 0 auto;
}
.qt-ft-copy {
    font-size: 11px;
    color: rgba(255,255,255,.16);
    letter-spacing: .04em;
}
.qt-ft-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.qt-ft-badge {
    border: 1px solid rgba(255,255,255,.07);
    padding: 3px 10px;
    font-size: 8.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.18);
}

/* ── 21. SCROLL-REVEAL INITIAL STATES (JS animates these) ── */
.qt-rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .78s ease, transform .78s ease;
}
.qt-rf {
    opacity: 0;
    transition: opacity .82s ease;
}
.qt-rv.qt-in, .qt-rf.qt-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── 22. ELEMENTOR COMPATIBILITY ── */
/* Prevent qt-page colour tokens overriding Elementor widget text globally */
.qt-page .elementor-widget-text-editor p,
.qt-page .elementor-widget-heading .elementor-heading-title {
    /* Inherit from widget, don't force --ivory */
    color: inherit;
}
/* Ensure Elementor sections aren't hidden by our opacity:0 on body */
.qt-page .elementor-section,
.qt-page .elementor-container {
    opacity: 1 !important;
}

/* ── 23. RESPONSIVE ── */
@media (max-width: 960px) {
    .qt-page { --px: 24px; --py: 80px; }

    #qt-nav { padding: 18px 24px; }
    #qt-nav.qt-scrolled { padding: 14px 24px; }
    .qt-n-links { display: none; }
    .qt-n-burger { display: flex; }

    .qt-treatment-wrap {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px 80px;
    }
    .qt-treatment-aside {
        position: static;
    }

    .qt-rev-strip { grid-template-columns: 1fr; }
    .qt-stats { grid-template-columns: 1fr 1fr; }
    .qt-benefits { grid-template-columns: 1fr; }
    .qt-ft-inner { grid-template-columns: 1fr; gap: 40px; }
    .qt-footer { padding: 60px 24px 36px; }
    .qt-ft-bot { flex-direction: column; align-items: flex-start; }
    .qt-page-hero { padding: 120px 24px 64px; }
}

@media (max-width: 540px) {
    .qt-stats { grid-template-columns: 1fr; }
    .qt-cta-actions { flex-direction: column; align-items: stretch; }
    .qt-cta-actions .qt-btn-gold,
    .qt-cta-actions .qt-btn-ghost-lt { text-align: center; }
}

/* ── 24. REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
    .qt-page *,
    .qt-page *::before,
    .qt-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .qt-rv, .qt-rf {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* ========================================================================== 
   21. MICRONEEDLING PAGE — LIGHT SECTION PROTECTION
   This protects #qt-microneedling-page from old/global Elementor CSS that
   forces all div/span/p text to white or all Elementor containers to dark.
   ========================================================================== */
body.qt-page #qt-microneedling-page,
body.qt-page #qt-microneedling-page * {
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}
body.qt-page #qt-microneedling-page {
    font-family: var(--body) !important;
    color: var(--text) !important;
    background: var(--warm) !important;
}
body.qt-page #qt-microneedling-page .qt-micro__section,
body.qt-page #qt-microneedling-page .qt-micro__trust,
body.qt-page #qt-microneedling-page .qt-micro__breadcrumb {
    background-color: var(--warm) !important;
}
body.qt-page #qt-microneedling-page .qt-micro__section--alt {
    background-color: var(--ivory) !important;
}
body.qt-page #qt-microneedling-page .qt-micro__stat,
body.qt-page #qt-microneedling-page .qt-micro__card,
body.qt-page #qt-microneedling-page .qt-micro__step,
body.qt-page #qt-microneedling-page .qt-micro__review,
body.qt-page #qt-microneedling-page .qt-micro__related-card,
body.qt-page #qt-microneedling-page .qt-micro__practitioner,
body.qt-page #qt-microneedling-page .qt-micro__price-card {
    background-color: #fff !important;
    border-color: var(--border) !important;
}
body.qt-page #qt-microneedling-page h1,
body.qt-page #qt-microneedling-page h2,
body.qt-page #qt-microneedling-page h3,
body.qt-page #qt-microneedling-page .qt-micro__heading,
body.qt-page #qt-microneedling-page .qt-micro__card-title,
body.qt-page #qt-microneedling-page .qt-micro__step-title,
body.qt-page #qt-microneedling-page .qt-micro__faq-q,
body.qt-page #qt-microneedling-page .qt-micro__related-name,
body.qt-page #qt-microneedling-page .qt-micro__practitioner-name {
    font-family: var(--serif) !important;
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
}
body.qt-page #qt-microneedling-page p,
body.qt-page #qt-microneedling-page li,
body.qt-page #qt-microneedling-page .qt-micro__body,
body.qt-page #qt-microneedling-page .qt-micro__body p,
body.qt-page #qt-microneedling-page .qt-micro__sub,
body.qt-page #qt-microneedling-page .qt-micro__card-text,
body.qt-page #qt-microneedling-page .qt-micro__step-text,
body.qt-page #qt-microneedling-page .qt-micro__stat-label,
body.qt-page #qt-microneedling-page .qt-micro__trust-text,
body.qt-page #qt-microneedling-page .qt-micro__price-card-per,
body.qt-page #qt-microneedling-page .qt-micro__price-card-includes li,
body.qt-page #qt-microneedling-page .qt-micro__faq-a,
body.qt-page #qt-microneedling-page .qt-micro__review-text,
body.qt-page #qt-microneedling-page .qt-micro__related-desc,
body.qt-page #qt-microneedling-page .qt-micro__practitioner-bio {
    color: #4B4037 !important;
    -webkit-text-fill-color: #4B4037 !important;
}
body.qt-page #qt-microneedling-page strong,
body.qt-page #qt-microneedling-page .qt-micro__body strong,
body.qt-page #qt-microneedling-page .qt-micro__trust-text strong {
    color: var(--text) !important;
    -webkit-text-fill-color: var(--text) !important;
    font-weight: 600 !important;
}
body.qt-page #qt-microneedling-page .qt-micro__label,
body.qt-page #qt-microneedling-page .qt-micro__heading em,
body.qt-page #qt-microneedling-page .qt-micro__stat-number,
body.qt-page #qt-microneedling-page .qt-micro__card-icon,
body.qt-page #qt-microneedling-page .qt-micro__faq-icon,
body.qt-page #qt-microneedling-page .qt-micro__review-stars,
body.qt-page #qt-microneedling-page .qt-micro__related-from {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
}
body.qt-page #qt-microneedling-page .qt-micro__hero,
body.qt-page #qt-microneedling-page .qt-micro__cta,
body.qt-page #qt-microneedling-page .qt-micro__price-card--featured {
    background-color: var(--deep) !important;
}
body.qt-page #qt-microneedling-page .qt-micro__hero h1,
body.qt-page #qt-microneedling-page .qt-micro__hero p,
body.qt-page #qt-microneedling-page .qt-micro__hero span,
body.qt-page #qt-microneedling-page .qt-micro__hero div,
body.qt-page #qt-microneedling-page .qt-micro__cta h2,
body.qt-page #qt-microneedling-page .qt-micro__cta p,
body.qt-page #qt-microneedling-page .qt-micro__cta span,
body.qt-page #qt-microneedling-page .qt-micro__price-card--featured,
body.qt-page #qt-microneedling-page .qt-micro__price-card--featured * {
    -webkit-text-fill-color: unset !important;
}


/* ==========================================================================
   25. HOMEPAGE-PARITY PATCH — INNER PAGES ONLY
   Purpose: make WordPress inner pages visually match the untouched static v8
   homepage header/footer behaviour. Do not load on front page; functions.php
   already skips qt-page.css on is_front_page().
   ========================================================================== */

/* Fixed overlay header, same visual behaviour as homepage #nav */
body.qt-page #qt-nav {
    padding: 28px var(--px) !important;
    background: transparent !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
}
body.qt-page #qt-nav.qt-scrolled {
    padding: 16px var(--px) !important;
    background: rgba(12,10,8,.92) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
    border-bottom-color: var(--border-d) !important;
}

/* Inner pages should start like the homepage: content begins under the fixed nav. */
body.qt-page .qt-page-wrap {
    padding-top: 0 !important;
    background: var(--deep);
}

/* Keep nav links identical to the homepage visual rhythm. */
body.qt-page .qt-n-links { gap: 36px !important; }
body.qt-page .qt-n-link {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,.52) !important;
}
body.qt-page .qt-n-link:hover,
body.qt-page .qt-n-link.qt-active { color: var(--ivory) !important; }
body.qt-page .qt-n-book {
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: var(--gold) !important;
    border: 1px solid rgba(173,136,82,.4) !important;
    padding: 10px 24px !important;
    background: transparent !important;
}
body.qt-page .qt-n-book:hover {
    background: var(--gold) !important;
    color: var(--deep) !important;
    border-color: var(--gold) !important;
}

/* Mobile menu must sit just below the fixed header but above page content. */
body.qt-page #qt-mob {
    z-index: 99999 !important;
    background: var(--dark2) !important;
}
body.qt-page #qt-nav { z-index: 100000 !important; }

/* Match homepage footer density/colour more closely while keeping footer.php unchanged. */
body.qt-page .qt-footer {
    background: var(--deep) !important;
    border-top: 1px solid var(--border-d) !important;
}
body.qt-page .qt-ft-logo,
body.qt-page .qt-ft-col h4 { color: var(--ivory); }
body.qt-page .qt-ft-col ul li a,
body.qt-page .qt-ft-col p,
body.qt-page .qt-ft-tag,
body.qt-page .qt-ft-copy { color: rgba(255,255,255,.24) !important; }
body.qt-page .qt-ft-col ul li a:hover,
body.qt-page .qt-ft-col a:hover { color: rgba(255,255,255,.60) !important; }

@media (max-width: 960px) {
    body.qt-page #qt-nav { padding: 18px 24px !important; }
    body.qt-page #qt-nav.qt-scrolled { padding: 14px 24px !important; }
}
/* =======================================================================
   QT INNER PAGES — HEADER DARK FROM FIRST PAINT
   Fixes the white strip before scrolling on inner pages.
   Paste at the bottom of qt-page.css or Additional CSS.
   Does not affect the static homepage because it is scoped to body.qt-page.
   ======================================================================= */

body.qt-page #qt-nav {
  background: rgba(12, 10, 8, 0.96) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body.qt-page #qt-nav:not(.qt-scrolled) {
  padding: 28px var(--px) !important;
}

body.qt-page #qt-nav.qt-scrolled {
  padding: 16px var(--px) !important;
  background: rgba(12, 10, 8, 0.96) !important;
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

body.qt-page .qt-n-word,
body.qt-page .qt-n-word small,
body.qt-page .qt-n-link,
body.qt-page .qt-n-book,
body.qt-page .qt-n-burger span {
  opacity: 1 !important;
  visibility: visible !important;
}

body.qt-page .qt-n-word {
  color: var(--ivory) !important;
}

body.qt-page .qt-n-word small {
  color: rgba(255,255,255,.34) !important;
}

body.qt-page .qt-n-link {
  color: rgba(255,255,255,.52) !important;
}

body.qt-page .qt-n-link:hover,
body.qt-page .qt-n-link.qt-active {
  color: var(--ivory) !important;
}

body.qt-page .qt-n-book {
  color: var(--gold) !important;
  border-color: rgba(173,136,82,.4) !important;
  background: transparent !important;
}

body.qt-page .qt-n-book:hover {
  color: var(--deep) !important;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

/* Keep page content starting at the very top so the dark hero sits behind the fixed nav. */
body.qt-page .qt-page-wrap {
  padding-top: 0 !important;
}

@media (max-width: 960px) {
  body.qt-page #qt-nav:not(.qt-scrolled) {
    padding: 18px 24px !important;
  }
  body.qt-page #qt-nav.qt-scrolled {
    padding: 14px 24px !important;
  }
}
