/**
 * VTX Theme — Base styles
 *
 * Zinc-scale dark design system: typography, button system,
 * and responsive visibility utilities.
 */

/* ── Base typography ───────────────────────────────── */

body {
    font-family: var(--vtx-font-body, 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    color: var(--vtx-color-gray, #a1a1aa);
    background-color: var(--vtx-color-surface, #09090b);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--vtx-font-heading, 'Jost', 'Futura', 'Century Gothic', sans-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--vtx-color-text-primary, #fafafa);
}

/* ── Button system ─────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--vtx-radius-md, 0.5rem);
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.btn:hover {
    transform: translateY(-1px);
}

/* Primary CTA — uses brand CTA color (defaults to accent/gold for VTX) */
.btn--primary {
    background-color: var(--vtx-color-cta, var(--vtx-color-accent, #c9a84c));
    color: var(--vtx-color-cta-contrast, var(--vtx-color-accent-contrast, #09090b));
    border-color: var(--vtx-color-cta, var(--vtx-color-accent, #c9a84c));
}

.btn--primary:hover {
    background-color: var(--vtx-color-cta-hover, var(--vtx-color-accent-hover, #d4b65e));
    border-color: var(--vtx-color-cta-hover, var(--vtx-color-accent-hover, #d4b65e));
    color: var(--vtx-color-cta-contrast, var(--vtx-color-accent-contrast, #09090b));
}

/* Ghost/outlined — white text, subtle border, gold on hover */
.btn--secondary {
    background-color: transparent;
    color: var(--vtx-color-text-primary, #fafafa);
    border-color: var(--vtx-color-border, #3f3f46);
}

.btn--secondary:hover {
    border-color: var(--vtx-color-accent, #c9a84c);
    color: var(--vtx-color-accent, #c9a84c);
}

/* Purple filled */
.btn--accent {
    background-color: var(--vtx-color-primary, #aa00ff);
    color: var(--vtx-color-primary-contrast, #fafafa);
    border-color: var(--vtx-color-primary, #aa00ff);
}

.btn--accent:hover {
    background-color: var(--vtx-color-primary-hover, #8800cc);
    border-color: var(--vtx-color-primary-hover, #8800cc);
    color: var(--vtx-color-primary-contrast, #fafafa);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.btn--md {
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
}

.btn--sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* ── Responsive visibility ─────────────────────────── */

/* Desktop: 1025px and up */
@media (min-width: 1025px) {
    .vtx-hide-desktop {
        display: none !important;
    }
}

/* Tablet: 641px – 1024px */
@media (min-width: 641px) and (max-width: 1024px) {
    .vtx-hide-tablet {
        display: none !important;
    }
}

/* Mobile: up to 640px */
@media (max-width: 640px) {
    .vtx-hide-mobile {
        display: none !important;
    }
}

/* ── Skip Link ────────────────────────────────────── */

.vtx-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 0.5rem 1rem;
    background: var(--vtx-color-accent, #c9a84c);
    color: var(--vtx-color-secondary, #09090b);
    font-weight: 600;
    text-decoration: none;
}

.vtx-skip-link:focus {
    left: 0;
}

/* ── Topbar ───────────────────────────────────────── */

.vtx-topbar {
    background-color: var(--vtx-color-surface-elevated, #18181b);
    border-bottom: 1px solid var(--vtx-color-border, #3f3f46);
    font-size: 0.8125rem;
    color: var(--vtx-color-text-secondary, #a1a1aa);
}

.vtx-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: var(--vtx-topbar-justify, space-between);
    max-width: var(--vtx-container-max-width, 1280px);
    margin: 0 auto;
    padding: 0.375rem var(--vtx-container-padding, 1.5rem);
}

.vtx-topbar__left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.vtx-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--vtx-color-text-secondary, #a1a1aa);
    text-decoration: none;
    transition: color 0.2s ease;
}

.vtx-topbar__item:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

.vtx-topbar__social {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.75rem;
}

.vtx-topbar__social a {
    color: var(--vtx-color-text-muted, #71717a);
    transition: color 0.2s ease;
    display: flex;
}

.vtx-topbar__social a:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

@media (max-width: 1024px) {
    .vtx-topbar {
        display: none;
    }
}

/* ── Header ───────────────────────────────────────── */

.vtx-header {
    background-color: var(--vtx-color-surface, #09090b);
    position: relative;
    z-index: 100;
}

.vtx-header--sticky {
    position: sticky;
    top: 0;
    transition: box-shadow 0.3s ease;
}

.vtx-header--scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* ── Gold Accent Line + Sparks ───────────────────── */

.vtx-gold-accent-line {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, #9a7209, #b8960b, #d4a817, #b8960b, #9a7209);
    overflow: visible;
    z-index: 99;
}

.vtx-gold-accent-line > .vtx-spark {
    position: absolute;
    top: 0;
    width: 2px;
    height: 2px;
    pointer-events: none;
}

.vtx-gold-accent-line > .vtx-spark::before,
.vtx-gold-accent-line > .vtx-spark::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}

.vtx-gold-accent-line > .vtx-spark::before {
    width: 3px;
    height: 3px;
    background: #ffe070;
    box-shadow: 0 0 6px 2px rgba(212, 168, 23, 0.7);
}

.vtx-gold-accent-line > .vtx-spark::after {
    width: 2.5px;
    height: 2.5px;
    left: 4px;
    background: #fff0a0;
    box-shadow: 0 0 5px 2px rgba(212, 168, 23, 0.5);
}

.vtx-gold-accent-line > .vtx-spark-1 { left: 7%; }
.vtx-gold-accent-line > .vtx-spark-2 { left: 18%; }
.vtx-gold-accent-line > .vtx-spark-3 { left: 31%; }
.vtx-gold-accent-line > .vtx-spark-4 { left: 42%; }
.vtx-gold-accent-line > .vtx-spark-5 { left: 56%; }
.vtx-gold-accent-line > .vtx-spark-6 { left: 67%; }
.vtx-gold-accent-line > .vtx-spark-7 { left: 79%; }
.vtx-gold-accent-line > .vtx-spark-8 { left: 91%; }

/* Purple sparks */
.vtx-gold-accent-line > .vtx-spark--purple::before {
    background: #c175ff;
    box-shadow: 0 0 6px 2px rgba(var(--vtx-color-primary-rgb), 0.6);
}
.vtx-gold-accent-line > .vtx-spark--purple::after {
    background: #d6a3ff;
    box-shadow: 0 0 5px 2px rgba(var(--vtx-color-primary-rgb), 0.4);
}
.vtx-gold-accent-line > .vtx-spark-p1 { left: 35%; }
.vtx-gold-accent-line > .vtx-spark-p2 { left: 73%; }
.vtx-gold-accent-line > .vtx-spark-p1::before { animation: vtx-spark-fall-b 8s ease-out 3s infinite; }
.vtx-gold-accent-line > .vtx-spark-p1::after  { animation: vtx-spark-fall-d 8s ease-out 3.2s infinite; }
.vtx-gold-accent-line > .vtx-spark-p2::before { animation: vtx-spark-fall-a 9s ease-out 6s infinite; }
.vtx-gold-accent-line > .vtx-spark-p2::after  { animation: vtx-spark-fall-c 9s ease-out 6.2s infinite; }

/* Gold spark animations — staggered timing */
.vtx-gold-accent-line > .vtx-spark-1::before { animation: vtx-spark-fall-a 4s ease-out 0s infinite; }
.vtx-gold-accent-line > .vtx-spark-1::after  { animation: vtx-spark-fall-b 4s ease-out 0.15s infinite; }
.vtx-gold-accent-line > .vtx-spark-2::before { animation: vtx-spark-fall-c 5s ease-out 1.2s infinite; }
.vtx-gold-accent-line > .vtx-spark-2::after  { animation: vtx-spark-fall-a 5s ease-out 1.4s infinite; }
.vtx-gold-accent-line > .vtx-spark-3::before { animation: vtx-spark-fall-b 4.5s ease-out 0.6s infinite; }
.vtx-gold-accent-line > .vtx-spark-3::after  { animation: vtx-spark-fall-d 4.5s ease-out 0.8s infinite; }
.vtx-gold-accent-line > .vtx-spark-4::before { animation: vtx-spark-fall-d 5.5s ease-out 2.0s infinite; }
.vtx-gold-accent-line > .vtx-spark-4::after  { animation: vtx-spark-fall-c 5.5s ease-out 2.2s infinite; }
.vtx-gold-accent-line > .vtx-spark-5::before { animation: vtx-spark-fall-a 4s ease-out 1.5s infinite; }
.vtx-gold-accent-line > .vtx-spark-5::after  { animation: vtx-spark-fall-b 4s ease-out 1.7s infinite; }
.vtx-gold-accent-line > .vtx-spark-6::before { animation: vtx-spark-fall-c 5s ease-out 0.3s infinite; }
.vtx-gold-accent-line > .vtx-spark-6::after  { animation: vtx-spark-fall-d 5s ease-out 0.5s infinite; }
.vtx-gold-accent-line > .vtx-spark-7::before { animation: vtx-spark-fall-d 4.5s ease-out 2.5s infinite; }
.vtx-gold-accent-line > .vtx-spark-7::after  { animation: vtx-spark-fall-a 4.5s ease-out 2.7s infinite; }
.vtx-gold-accent-line > .vtx-spark-8::before { animation: vtx-spark-fall-b 5.5s ease-out 0.9s infinite; }
.vtx-gold-accent-line > .vtx-spark-8::after  { animation: vtx-spark-fall-c 5.5s ease-out 1.1s infinite; }

@keyframes vtx-spark-fall-a {
    0%, 80%  { opacity: 0; transform: translate(0, 0); }
    83%      { opacity: 1; transform: translate(0, 1px); }
    90%      { opacity: 0.6; transform: translate(-3px, 8px); }
    100%     { opacity: 0; transform: translate(-5px, 16px); }
}
@keyframes vtx-spark-fall-b {
    0%, 80%  { opacity: 0; transform: translate(0, 0); }
    83%      { opacity: 1; transform: translate(0, 1px); }
    90%      { opacity: 0.5; transform: translate(2px, 9px); }
    100%     { opacity: 0; transform: translate(4px, 17px); }
}
@keyframes vtx-spark-fall-c {
    0%, 80%  { opacity: 0; transform: translate(0, 0); }
    83%      { opacity: 0.9; transform: translate(0, 1px); }
    90%      { opacity: 0.5; transform: translate(-2px, 7px); }
    100%     { opacity: 0; transform: translate(-3px, 14px); }
}
@keyframes vtx-spark-fall-d {
    0%, 80%  { opacity: 0; transform: translate(0, 0); }
    83%      { opacity: 1; transform: translate(0, 1px); }
    90%      { opacity: 0.55; transform: translate(3px, 8px); }
    100%     { opacity: 0; transform: translate(5px, 15px); }
}

@media (prefers-reduced-motion: reduce) {
    .vtx-gold-accent-line > .vtx-spark::before,
    .vtx-gold-accent-line > .vtx-spark::after {
        animation: none !important;
    }
}

.vtx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--vtx-container-max-width, 1280px);
    margin: 0 auto;
    padding: var(--vtx-header-padding, 0.75rem) var(--vtx-container-padding, 1.5rem);
    gap: 2rem;
}

.vtx-header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.vtx-header__logo img {
    height: var(--vtx-logo-height, 50px);
    max-height: var(--vtx-logo-height, 50px);
    width: auto;
}

.vtx-header__site-title {
    font-family: var(--vtx-font-heading, 'Jost', 'Futura', 'Century Gothic', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vtx-color-text-primary, #fafafa);
    text-decoration: none;
}

.vtx-header__site-title:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

/* Desktop nav */
.vtx-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.vtx-header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.vtx-header__menu li a {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--vtx-color-text-secondary, #a1a1aa);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--vtx-radius-sm, 0.25rem);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.vtx-header__menu li a:hover,
.vtx-header__menu li.current-menu-item > a {
    color: var(--vtx-color-text-primary, #fafafa);
    background-color: var(--vtx-color-surface-elevated, #18181b);
}

/* Sub-menu */
.vtx-header__menu li {
    position: relative;
}

.vtx-header__menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background: var(--vtx-color-surface-elevated, #18181b);
    border: 1px solid var(--vtx-color-border, #3f3f46);
    border-radius: var(--vtx-radius-md, 0.5rem);
    min-width: 200px;
    z-index: 200;
}

.vtx-header__menu li:hover > .sub-menu {
    display: block;
}

.vtx-header__menu .sub-menu li a {
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.875rem;
}

/* Header actions */
.vtx-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ── Header Layout Variants ──────────────────────── */

/* logo-left: default — logo | nav centered | CTA right (already base styles) */

/* logo-center: 3-column grid — nav left | logo center | CTA right */
.vtx-header--logo-center .vtx-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.vtx-header--logo-center .vtx-header__nav {
    order: 1;
    justify-content: flex-start;
}

.vtx-header--logo-center .vtx-header__logo {
    order: 2;
    justify-self: center;
}

.vtx-header--logo-center .vtx-header__actions {
    order: 3;
    justify-self: end;
}

/* logo-nav-left: nav sits next to logo, actions pushed right */
.vtx-header--logo-nav-left .vtx-header__nav {
    flex: 0;
    justify-content: flex-start;
}

.vtx-header--logo-nav-left .vtx-header__actions {
    margin-left: auto;
}

/* All layouts collapse to standard mobile on <=1024px */
@media (max-width: 1024px) {
    .vtx-header--logo-center .vtx-header__inner {
        display: flex;
    }

    .vtx-header--logo-center .vtx-header__logo {
        order: unset;
        justify-self: unset;
    }

    .vtx-header--logo-center .vtx-header__actions {
        order: unset;
        justify-self: unset;
    }
}

/* ── Hamburger ────────────────────────────────────── */

.vtx-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.vtx-hamburger__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--vtx-color-text-primary, #fafafa);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.vtx-hamburger[aria-expanded="true"] .vtx-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.vtx-hamburger[aria-expanded="true"] .vtx-hamburger__line:nth-child(2) {
    opacity: 0;
}

.vtx-hamburger[aria-expanded="true"] .vtx-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Slide-in Menu ────────────────────────────────── */

.vtx-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vtx-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.vtx-slide-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background-color: var(--vtx-color-surface, #09090b);
    border-left: 1px solid var(--vtx-color-border, #3f3f46);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.vtx-slide-menu.is-active {
    transform: translateX(0);
}

.vtx-slide-menu__header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--vtx-color-border, #3f3f46);
}

.vtx-slide-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--vtx-color-border, #3f3f46);
    border-radius: var(--vtx-radius-sm, 0.25rem);
    color: var(--vtx-color-text-primary, #fafafa);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.vtx-slide-menu__close:hover {
    border-color: var(--vtx-color-accent, #c9a84c);
    color: var(--vtx-color-accent, #c9a84c);
}

.vtx-slide-menu__body {
    flex: 1;
    padding: 1rem 1.25rem;
}

.vtx-slide-menu__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vtx-slide-menu__menu li a {
    display: block;
    padding: 0.75rem 0;
    color: var(--vtx-color-text-secondary, #a1a1aa);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 500;
    border-bottom: 1px solid var(--vtx-color-border, #3f3f46);
    transition: color 0.2s ease;
}

.vtx-slide-menu__menu li a:hover,
.vtx-slide-menu__menu li.current-menu-item > a {
    color: var(--vtx-color-text-primary, #fafafa);
}

.vtx-slide-menu__menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
}

.vtx-slide-menu__menu .sub-menu li a {
    font-size: 0.9375rem;
    color: var(--vtx-color-text-muted, #71717a);
}

.vtx-slide-menu__cta {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

.vtx-slide-menu__footer {
    padding: 1.25rem;
    border-top: 1px solid var(--vtx-color-border, #3f3f46);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vtx-slide-menu__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vtx-color-text-secondary, #a1a1aa);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.vtx-slide-menu__contact:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

.vtx-slide-menu__social {
    display: flex;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    gap: 1rem;
}

.vtx-slide-menu__social a {
    color: var(--vtx-color-text-muted, #71717a);
    transition: color 0.2s ease;
    display: flex;
}

.vtx-slide-menu__social a:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

body.vtx-menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .vtx-header__nav {
        display: none;
    }

    .vtx-header__cta,
    .vtx-header__cta2 {
        display: none;
    }

    .vtx-hamburger {
        display: flex;
    }
}

/* ── WP Admin Bar offset ──────────────────────────── */

.admin-bar .vtx-header--sticky {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .vtx-header--sticky {
        top: 46px;
    }
}

/* ── Footer ───────────────────────────────────────── */

.vtx-footer {
    background-color: var(--vtx-color-secondary, #09090b);
    color: var(--vtx-color-text-secondary, #a1a1aa);
}

.vtx-footer__inner {
    max-width: var(--vtx-container-max-width, 1280px);
    margin: 0 auto;
    padding: 3rem var(--vtx-container-padding, 1.5rem);
}

.vtx-footer__site-title {
    font-family: var(--vtx-font-heading, 'Jost', 'Futura', 'Century Gothic', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vtx-color-text-primary, #fafafa);
    text-decoration: none;
}

.vtx-footer__site-title:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

.vtx-footer__logo a {
    display: inline-block;
}

.vtx-footer__logo img,
.vtx-footer .custom-logo-link img {
    max-height: 40px;
    width: auto;
}

.vtx-footer__tagline {
    margin: 0.75rem 0 0;
    color: var(--vtx-color-text-muted, #71717a);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.vtx-footer__heading {
    color: var(--vtx-color-accent, #c9a84c);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
}

/* Footer menus */
.vtx-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vtx-footer__menu li a {
    display: block;
    padding: 0.25rem 0;
    color: var(--vtx-color-text-secondary, #a1a1aa);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.vtx-footer__menu li a:hover {
    color: var(--vtx-color-text-primary, #fafafa);
}

.vtx-footer__menu--inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

/* Footer contact */
.vtx-footer__contact p {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
}

.vtx-footer__contact a {
    color: var(--vtx-color-text-secondary, #a1a1aa);
    text-decoration: none;
    transition: color 0.2s ease;
}

.vtx-footer__contact a:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

/* Footer grid layouts */
.vtx-footer__grid {
    display: grid;
    gap: 2rem;
}

.vtx-footer__grid--4 {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.vtx-footer__grid--3 {
    grid-template-columns: 1.5fr 1fr 1fr;
}

/* Centered layout */
.vtx-footer__centered {
    text-align: center;
}

.vtx-footer__centered .vtx-footer__brand {
    margin-bottom: 1.5rem;
}

.vtx-footer__centered .vtx-footer__nav {
    margin-top: 1rem;
}

/* Footer bottom bar */
.vtx-footer__bottom {
    border-top: 1px solid var(--vtx-color-border, #3f3f46);
}

.vtx-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--vtx-container-max-width, 1280px);
    margin: 0 auto;
    padding: 1rem var(--vtx-container-padding, 1.5rem);
}

.vtx-footer__copyright {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--vtx-color-text-muted, #71717a);
}

.vtx-footer__social {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.75rem;
}

.vtx-footer__social a {
    color: var(--vtx-color-text-muted, #71717a);
    transition: color 0.2s ease;
    display: flex;
}

.vtx-footer__social a:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

/* Footer responsive */
@media (max-width: 768px) {
    .vtx-footer__grid--4,
    .vtx-footer__grid--3 {
        grid-template-columns: 1fr;
    }

    .vtx-footer__bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ── 404 ──────────────────────────────────────────── */

.vtx-404 {
    text-align: center;
    padding: var(--vtx-space-4xl, 8rem) var(--vtx-space-md, 1.5rem);
    max-width: 600px;
    margin: 0 auto;
}

.vtx-404__title {
    font-size: 3rem;
    margin: 0 0 1rem;
}

.vtx-404__text {
    font-size: 1.125rem;
    color: var(--vtx-color-text-secondary, #a1a1aa);
    margin: 0 0 2rem;
}

/* ── Archive / Index ──────────────────────────────── */

.vtx-archive {
    max-width: var(--vtx-container-max-width, 1280px);
    margin: 0 auto;
    padding: var(--vtx-space-xl, 3rem) var(--vtx-space-md, 1.5rem);
}

.vtx-archive__post {
    margin-bottom: var(--vtx-space-lg, 2rem);
    padding-bottom: var(--vtx-space-lg, 2rem);
    border-bottom: 1px solid var(--vtx-color-border, #3f3f46);
}

.vtx-archive__title a {
    color: var(--vtx-color-text-primary, #fafafa);
    text-decoration: none;
    transition: color 0.2s ease;
}

.vtx-archive__title a:hover {
    color: var(--vtx-color-accent, #c9a84c);
}

/* ── Single Post ──────────────────────────────────── */

.vtx-single {
    max-width: var(--vtx-container-max-width, 1280px);
    margin: 0 auto;
    padding: var(--vtx-space-xl, 3rem) var(--vtx-space-md, 1.5rem);
}

.vtx-single__title {
    margin: 0 0 var(--vtx-space-lg, 2rem);
}

/* ── Page Content ────────────────────────────────── */

.vtx-page {
    margin: 0 auto;
    padding: 0;
}

/* ── Main Content Container ──────────────────────── */

#main-content {
    margin: 0 auto;
}

/* ── Homepage Sections ──────────────────────────── */

.vtx-section {
    padding-block: var(--vtx-space-2xl, 4rem);
    padding-inline: var(--vtx-container-padding, 1.5rem);
}

.vtx-section__title {
    font-family: var(--vtx-font-heading);
    color: var(--vtx-color-text-primary, #1e293b);
    margin-bottom: var(--vtx-space-md, 1.5rem);
}

/* Trust badges */
.vtx-trust-section {
    padding-block: var(--vtx-space-lg, 2rem);
    background: var(--vtx-color-surface-elevated, #f8f6f3);
    border-top: 3px solid var(--vtx-color-primary, #C0392B);
    border-bottom: 1px solid var(--vtx-color-border, #e5e1db);
}

.vtx-trust-inner {
    gap: var(--vtx-space-lg, 2rem);
}

.vtx-trust-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vtx-color-text-primary, #1e293b);
    margin: 0;
    white-space: nowrap;
}

.vtx-trust-badges {
    gap: var(--vtx-space-lg, 2rem);
}

.vtx-trust-badges .wp-block-image {
    margin-bottom: 0;
}

.vtx-trust-badges .wp-block-image img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .vtx-trust-inner {
        flex-direction: column !important;
        text-align: center;
    }
}

.vtx-review-quotes .wp-block-quote {
    border-left: 3px solid var(--vtx-color-accent, #C49A3C);
    padding: var(--vtx-space-sm, 1rem);
    margin: var(--vtx-space-sm, 1rem) 0 0;
    font-size: 0.9375rem;
    color: var(--vtx-color-text-secondary, #4b5563);
    background: var(--vtx-color-surface, #ffffff);
    border-radius: var(--vtx-radius-md, 0.5rem);
}

.vtx-review-quotes .wp-block-quote cite {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    color: var(--vtx-color-text-primary, #1e293b);
}

/* Content sections */
.vtx-content-section p {
    color: var(--vtx-color-text-secondary, #4b5563);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 800px;
    margin-inline: auto;
}

.vtx-content-section h2 {
    margin-bottom: var(--vtx-space-sm, 1rem);
}

.vtx-rounded-image img {
    border-radius: var(--vtx-radius-lg, 0.75rem);
}

/* Service cards with images */
.vtx-services-section {
    padding-block: var(--vtx-space-3xl, 6rem);
    background: var(--vtx-color-surface-elevated, #f8f6f3);
}

.vtx-service-cards {
    margin-top: var(--vtx-space-lg, 2rem);
    margin-bottom: var(--vtx-space-lg, 2rem);
}

.vtx-service-cards .wp-block-column {
    background: var(--vtx-color-surface, #ffffff);
    border: 1px solid var(--vtx-color-border, #e5e1db);
    border-radius: var(--vtx-radius-lg, 0.75rem);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vtx-service-cards .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.vtx-service-card__image {
    margin: 0 !important;
}

.vtx-service-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.vtx-service-card__title {
    font-size: 1.125rem !important;
    padding: var(--vtx-space-sm, 1rem) var(--vtx-space-sm, 1rem) 0;
    margin-bottom: var(--vtx-space-xs, 0.5rem) !important;
}

.vtx-service-card__desc {
    font-size: 0.9375rem !important;
    padding: 0 var(--vtx-space-sm, 1rem) var(--vtx-space-sm, 1rem);
    color: var(--vtx-color-text-secondary, #4b5563);
    line-height: 1.6;
    margin: 0;
}

/* Fringe examples */
.vtx-fringe-examples img {
    border-radius: var(--vtx-radius-lg, 0.75rem);
    border: 1px solid var(--vtx-color-border, #e5e1db);
}

/* Before & After */
.vtx-before-after-section {
    padding-block: var(--vtx-space-3xl, 6rem);
    background: var(--vtx-color-dark, #1e293b);
}

.vtx-before-after-section .vtx-section__title {
    color: #ffffff;
}

.vtx-before-after-section p {
    color: rgba(255, 255, 255, 0.75);
}

.vtx-before-after-gallery img {
    border-radius: var(--vtx-radius-md, 0.5rem);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* WordPress core block overrides for VTX theme */
.vtx-page .wp-block-columns {
    gap: var(--vtx-space-md, 1.5rem);
}

.vtx-page .wp-block-heading {
    font-family: var(--vtx-font-heading);
    color: var(--vtx-color-text-primary, #1e293b);
}

.vtx-page h2.wp-block-heading {
    font-size: 2rem;
}

.vtx-page h3.wp-block-heading {
    font-size: 1.25rem;
}

.vtx-page p {
    color: var(--vtx-color-text-secondary, #4b5563);
}

.vtx-page .wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Location cards */
.vtx-locations-section {
    padding-block: var(--vtx-space-2xl, 4rem);
}

.vtx-location-cards .wp-block-column {
    background: var(--vtx-color-surface-elevated, #f8f6f3);
    border: 1px solid var(--vtx-color-border, #e5e1db);
    border-radius: var(--vtx-radius-lg, 0.75rem);
    padding: var(--vtx-space-md, 1.5rem);
}

.vtx-location-card__title {
    font-size: 1.125rem !important;
    margin-bottom: var(--vtx-space-xs, 0.5rem) !important;
}

.vtx-location-cards a {
    color: var(--vtx-color-primary, #C0392B);
    font-weight: 600;
    text-decoration: none;
}

.vtx-location-cards a:hover {
    text-decoration: underline;
}

/* Drapery sub-brand logo */
.vtx-drapery-brand {
    padding-block: var(--vtx-space-lg, 2rem) 0;
}

.vtx-drapery-logo img {
    max-width: 300px;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .vtx-service-cards {
        flex-direction: column;
    }

    .vtx-trust-badges {
        flex-direction: column;
        gap: var(--vtx-space-sm, 1rem);
    }

    .vtx-review-quotes {
        flex-direction: column;
    }

    .vtx-location-cards {
        flex-direction: column;
    }
}
