/* ============================================
   APEX FITNESS v2.0 — fitness-style.css
   Full Concept 5: Kinetic Performance Lab
   Covers: Cursor, Nav, Hero, Stats, Programs,
   Nutrition, Trainers, Testimonials, Join,
   Blog, Pages, 404, Footer, Mobile, A11y
============================================ */

/* ---- UTILITIES ---- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
}

.container-full {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container-narrow {
    max-width: 780px;
}

/* ---- CUSTOM CURSOR ---- */
.apex-cursor {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    will-change: transform;
    transition: width .3s var(--ease), height .3s var(--ease), background .3s, opacity .3s;
}

.apex-cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.apex-cursor.hovered {
    width: 65px;
    height: 65px;
    background: rgba(204, 255, 0, .06);
    border-color: rgba(204, 255, 0, .4);
}

/* ---- NAVIGATION ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    padding: 16px 0;
    background: rgba(13, 13, 13, .88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.site-logo,
.footer-logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
}

.logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    transition: color .3s;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #fff;
}

.nav-links .current-menu-item>a {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent) !important;
    color: #000 !important;
    font-weight: 900 !important;
    padding: 9px 20px !important;
    border-radius: 4px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    transition: transform .4s var(--ease), opacity .3s;
    border-radius: 2px;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(10, 10, 10, .98);
    padding: 16px var(--gutter) 24px;
    border-top: 1px solid var(--border-subtle);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu li {
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-muted);
    transition: color .3s;
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-cta {
    color: var(--accent) !important;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-lime {
    background: var(--accent);
    color: #000;
}

.btn-lime:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(204, 255, 0, .25);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-xl {
    padding: 18px 56px;
    font-size: 15px;
}

/* ---- SHARED SECTION STYLES ---- */
.kinetic-bg-word {
    position: absolute;
    font-size: clamp(80px, 18vw, 240px);
    font-weight: 900;
    color: rgba(255, 255, 255, .022);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
    line-height: 1;
    will-change: transform;
}

.eyebrow-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.section-h2 {
    font-size: clamp(38px, 5.5vw, 76px);
    font-weight: 900;
    line-height: .88;
    margin-bottom: 20px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 520px;
    line-height: 1.75;
}

.title-stroke {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6);
    color: transparent;
    font-style: normal;
}

.section-intro {
    margin-bottom: 64px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(204, 255, 0, .28);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

/* ---- CANVAS CONTAINER (Three.js) ---- */
.canvas-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.canvas-container canvas {
    display: block;
}

/* ---- HERO ---- */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
    background: var(--bg-primary);
}

.section-hero .kinetic-bg-word {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}



/* BLOBS */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.blob-lime {
    background: rgba(200, 255, 0, .12);
}

.blob-blue {
    background: rgba(30, 60, 120, .35);
}

.blob-teal {
    background: rgba(0, 180, 150, .12);
}

.hero-big {
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 900;
    line-height: .85;
    letter-spacing: -3px;
    margin-bottom: 40px;
    mix-blend-mode: normal;
}

.hero-big em {
    -webkit-text-stroke: 2px rgba(255, 255, 255, .6);
    color: transparent;
    font-style: normal;
}

.hero-perf {
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 50px;
    display: block;
}

.hero-typed-line {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.typed-text {
    color: var(--accent);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-muted);
    width: fit-content;
}

@media(max-width: 768px) {
    .hero-big {
        font-size: clamp(44px, 12vw, 80px);
        letter-spacing: -2px;
    }
}





/* ---- STATS ---- */
.section-stats {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 24px 16px;
}

.stat-number {
    display: block;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
    display: block;
}

/* ---- PROGRAMS ---- */
.section-programs {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.programs-word {
    bottom: 0;
    right: -60px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.program-card {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity .4s;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card.featured {
    border-color: rgba(204, 255, 0, .22);
    background: linear-gradient(135deg, rgba(204, 255, 0, .04), var(--bg-card));
}

.card-badge {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 20px;
}

.card-icon {
    margin-bottom: 16px;
}

.card-number {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
}

.program-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 28px;
}

.card-link {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.card-link span {
    display: inline-block;
    transition: transform .3s;
    margin-left: 4px;
}

.card-link:hover span {
    transform: translateX(6px);
}

/* ---- NUTRITION ---- */
.section-nutrition {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.nutrition-word {
    top: 50%;
    left: -80px;
    transform: translateY(-50%);
}

.nutrition-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.nutrition-canvas-wrap {
    height: 60vh;
}

.nutrition-desc {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 16px;
    font-weight: 600;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* ---- TRAINERS ---- */
.section-trainers {
    padding: 140px 0;
    background: var(--bg-primary);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trainer-card {
    overflow: hidden;
}

.trainer-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-secondary);
}

.trainer-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.trainer-card:hover .trainer-img-wrap img {
    transform: scale(1.05);
}

.trainer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111, #1a1a1a);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    color: rgba(255, 255, 255, .08);
}

.trainer-hover-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(10, 10, 10, .7);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 3px;
}

.trainer-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trainer-specialty {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.trainer-info p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.trainer-card.featured .trainer-img-wrap {
    border: 1px solid rgba(204, 255, 0, .2);
}

/* ---- TESTIMONIALS ---- */
.section-testimonials {
    position: relative;
    padding: 140px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.testi-word {
    bottom: -40px;
    right: -80px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 40px 36px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(204, 255, 0, .2);
}

.quote-marks {
    font-size: 72px;
    line-height: .8;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 16px;
    display: block;
}

.testimonial-card blockquote p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card cite {
    font-style: normal;
}

.testimonial-card strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.testimonial-card span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

/* ---- JOIN CTA ---- */
.section-join {
    padding: 180px 0;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.join-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204, 255, 0, .06) 0%, transparent 70%);
    pointer-events: none;
}

.join-content {
    position: relative;
    z-index: 2;
}

.join-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 900;
    line-height: .88;
    margin: 14px 0 48px;
}

.join-sub {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 40px;
}

.join-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 0;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
    margin: 12px 0 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color .3s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-cta-col p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-btn {
    width: 100%;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--text-muted);
    transition: color .3s;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ---- INNER PAGES ---- */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.page-kinetic-word {
    bottom: -40px;
    right: -40px;
    opacity: .5;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: .9;
    margin-top: 12px;
}

.page-content-wrap {
    padding: 80px 0 120px;
}

.page-entry {
    color: var(--text-muted);
    line-height: 1.85;
}

.page-entry h2,
.page-entry h3 {
    color: #fff;
    margin: 36px 0 14px;
}

.page-entry p {
    margin-bottom: 20px;
}

.page-entry a {
    color: var(--accent);
    text-decoration: underline;
}

.page-entry img {
    width: 100%;
    border-radius: var(--radius);
    margin: 28px 0;
}

/* ---- BLOG ---- */
.post-hero {
    position: relative;
    padding: 170px 0 80px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.post-hero-inner {
    position: relative;
    z-index: 2;
}

.post-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: .9;
    margin-top: 12px;
}

.post-meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 16px;
    letter-spacing: 1px;
}

.post-thumbnail {
    padding: 0 var(--gutter);
}

.post-featured-image {
    border-radius: var(--radius);
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.post-body {
    padding: 60px 0;
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 17px;
}

.post-body h2,
.post-body h3 {
    color: #fff;
    margin: 36px 0 14px;
}

.post-body p {
    margin-bottom: 22px;
}

.post-body a {
    color: var(--accent);
}

.post-body img {
    width: 100%;
    border-radius: var(--radius);
    margin: 28px 0;
}

.post-footer {
    padding-bottom: 80px;
}

.post-tags {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 40px;
}

.post-tags a {
    color: var(--text-muted);
    margin-right: 8px;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.post-nav a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color .3s;
}

.post-nav a:hover {
    color: var(--accent);
}

.author-card {
    padding: 0 0 80px;
}

.author-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 36px;
}

.author-avatar {
    border-radius: 50%;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.author-bio {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.post-comments {
    padding-bottom: 100px;
}

/* ---- BLOG ARCHIVE ---- */
.blog-section {
    padding: 80px 0 120px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    overflow: hidden;
}

.blog-card-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 28px 28px 32px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0 12px;
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card-meta {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination a,
.blog-pagination span {
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.blog-pagination .current {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.blog-pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.no-posts {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}

.no-posts .btn {
    margin-top: 20px;
}

/* ---- 404 ---- */
.section-404 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 90px;
}

.word-404 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(180px, 30vw, 400px);
}

.error-content {
    position: relative;
    z-index: 2;
}

.error-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 900;
    line-height: .88;
    margin: 14px 0 20px;
}

.error-sub {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 40px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.error-search {
    max-width: 400px;
    margin: 0 auto;
}

.error-search .search-form {
    display: flex;
    gap: 8px;
}

.error-search input[type="search"] {
    flex: 1;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
}

.error-search button {
    padding: 12px 20px;
    background: var(--accent);
    border: none;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-family: var(--font);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {

    .hero-grid,
    .nutrition-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-canvas-wrap {
        height: 55vh;
        order: -1;
    }

    .nutrition-canvas-wrap {
        height: 50vh;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .trainers-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .join-actions {
        flex-direction: column;
        align-items: center;
    }

    .join-actions .btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-hero,
    .section-programs,
    .section-nutrition,
    .section-trainers,
    .section-testimonials,
    .section-join {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .trainers-grid .trainer-card.featured {
        order: -1;
    }
}

/* ---- Small Mobile (≤ 480px) ---- */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-badge {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .author-inner {
        flex-direction: column;
    }
}