/* =========================================================
   CROSSFIT254 — GLOBAL COMPETITION THEME
========================================================= */
:root {
    /* Brand Colors */
    --primary: #F05223;
    --primary-dark: #C93F17;

    --secondary: #2DAAE1;
    --secondary-dark: #1F86B5;

    --accent: #F05223;
    --accent-dark: #C93F17;

    /* Soft Brand Backgrounds */
    --primary-soft: rgba(240, 82, 35, 0.10);
    --secondary-soft: rgba(45, 170, 225, 0.10);
    --accent-soft: rgba(240, 82, 35, 0.10);

    /* Typography */
    --dark-text: #000000;
    --light-text: #666666;

    /* Backgrounds */
    --dark-bg: #171717;
    --darker-bg: #000000;
    --light-bg: #FFFFFF;
    --soft-bg: #F3F4F6;
    --card-bg: #FFFFFF;

    /* Borders */
    --border-color: rgba(0, 0, 0, 0.12);
    --border-dark: rgba(255, 255, 255, 0.12);

    /* Gradients */
    --primary-gradient: linear-gradient(
        135deg,
        #F05223 0%,
        #C93F17 100%
    );

    --secondary-gradient: linear-gradient(
        135deg,
        #2DAAE1 0%,
        #1F86B5 100%
    );

    --hero-gradient: linear-gradient(
        135deg,
        #000000 0%,
        #171717 55%,
        #242424 100%
    );

    --accent-gradient: linear-gradient(
        135deg,
        #F05223 0%,
        #FF7449 100%
    );

    --brand-gradient: linear-gradient(
        135deg,
        #F05223 0%,
        #F05223 45%,
        #2DAAE1 100%
    );

    --soft-gradient: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F3F4F6 100%
    );

    --dark-gradient: linear-gradient(
        135deg,
        #000000 0%,
        #1A1A1A 100%
    );

    /* Shadows */
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 22px 55px rgba(0, 0, 0, 0.13);
    --shadow-dark: 0 24px 55px rgba(0, 0, 0, 0.30);

    /* Radius */
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    --transition: all 0.3s ease;
}


/* =========================================================
   DARK MODE
========================================================= */
body.dark-mode {
    /* Brand Colors */
    --primary: #FF6A3D;
    --primary-dark: #F05223;

    --secondary: #52BDED;
    --secondary-dark: #2DAAE1;

    --accent: #FF6A3D;
    --accent-dark: #F05223;

    /* Soft Brand Backgrounds */
    --primary-soft: rgba(240, 82, 35, 0.16);
    --secondary-soft: rgba(45, 170, 225, 0.16);
    --accent-soft: rgba(240, 82, 35, 0.16);

    /* Typography */
    --dark-text: #FFFFFF;
    --light-text: #C7C7C7;

    /* Backgrounds */
    --dark-bg: #111111;
    --darker-bg: #000000;
    --light-bg: #0E0E0E;
    --soft-bg: #171717;
    --card-bg: #1B1B1B;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.10);
    --border-dark: rgba(255, 255, 255, 0.14);

    /* Gradients */
    --primary-gradient: linear-gradient(
        135deg,
        #FF6A3D 0%,
        #F05223 100%
    );

    --secondary-gradient: linear-gradient(
        135deg,
        #52BDED 0%,
        #2DAAE1 100%
    );

    --hero-gradient: linear-gradient(
        135deg,
        #000000 0%,
        #151515 55%,
        #222222 100%
    );

    --accent-gradient: linear-gradient(
        135deg,
        #FF6A3D 0%,
        #F05223 100%
    );

    --brand-gradient: linear-gradient(
        135deg,
        #F05223 0%,
        #F05223 45%,
        #2DAAE1 100%
    );

    --soft-gradient: linear-gradient(
        135deg,
        #171717 0%,
        #0E0E0E 100%
    );

    --dark-gradient: linear-gradient(
        135deg,
        #000000 0%,
        #181818 100%
    );

    /* Shadows */
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 22px 55px rgba(0, 0, 0, 0.42);
    --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.48);
}
/* =========================================================
   BASE
========================================================= */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--light-bg);
    color: var(--dark-text);
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: all 0.25s ease;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--light-text) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-text);
    line-height: 1.25;
    font-weight: 700;
}

/* =========================================================
   UTILITIES
========================================================= */
.bg-primary-gradient {
    background: var(--primary-gradient) !important;
    color: #fff !important;
}

.bg-hero-gradient {
    background: var(--hero-gradient) !important;
    color: #fff !important;
}

.bg-accent-gradient {
    background: var(--accent-gradient) !important;
    color: #fff !important;
}

.bg-soft-gradient {
    background: var(--soft-gradient) !important;
}

.bg-primary-soft {
    background: var(--primary-soft) !important;
}

.bg-secondary-soft {
    background: var(--secondary-soft) !important;
}

.bg-accent-soft {
    background: var(--accent-soft) !important;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.text-secondary-custom {
    color: var(--secondary) !important;
}

.text-accent-custom {
    color: var(--accent) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-soft {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-soft-lg {
    box-shadow: var(--shadow-md) !important;
}

/* =========================================================
   FRONT LAYOUT
========================================================= */
.site-main {
    padding-top: 88px;
}

section {
    position: relative;
    overflow: hidden;
}

section.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.row {
    max-width: 100%;
}

.page-header,
.breadcrumb-section,
.hero-section,
.inner-hero,
.page-banner {
    position: relative;
    overflow: hidden;
}

.page-header,
.inner-hero,
.page-banner {
    background: var(--hero-gradient);
}

.page-header h1,
.hero-section h1,
.inner-hero h1,
.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.page-header .lead,
.hero-section .lead,
.inner-hero .lead,
.page-banner .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb {
    flex-wrap: wrap;
    row-gap: 0.35rem;
    margin-bottom: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    word-break: break-word;
}

.breadcrumb-item a {
    color: var(--secondary);
}

.breadcrumb-item.active {
    color: var(--light-text);
}

#services,
#why-us,
#cta,
#contact {
    scroll-margin-top: 100px;
}

/* =========================================================
   TEXT ON DARK / GRADIENT
========================================================= */
.page-header,
.hero-slide,
.bg-primary-gradient,
.bg-hero-gradient,
.bg-accent-gradient,
#cta,
.cta-section {
    color: #fff;
}

.page-header h1,
.page-header h2,
.page-header h3,
.page-header h4,
.hero-slide h1,
.hero-slide h2,
.hero-slide h3,
.hero-slide h4,
#cta h1,
#cta h2,
#cta h3,
#cta h4,
.bg-primary-gradient h1,
.bg-primary-gradient h2,
.bg-primary-gradient h3,
.bg-primary-gradient h4,
.bg-hero-gradient h1,
.bg-hero-gradient h2,
.bg-hero-gradient h3,
.bg-hero-gradient h4,
.bg-accent-gradient h1,
.bg-accent-gradient h2,
.bg-accent-gradient h3,
.bg-accent-gradient h4,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.cta-section h5,
.cta-section h6 {
    color: #fff !important;
}

.page-header p,
.page-header .lead,
.hero-slide p,
.hero-slide .lead,
.bg-primary-gradient p,
.bg-primary-gradient .lead,
.bg-hero-gradient p,
.bg-hero-gradient .lead,
.bg-accent-gradient p,
.bg-accent-gradient .lead,
#cta p,
#cta .lead,
.cta-section p,
.cta-section .lead {
    color: rgba(255, 255, 255, 0.92) !important;
}

.hero-slide .lead,
.page-header .lead,
#cta .lead,
.cta-section .lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =========================================================
   CARDS
========================================================= */
.card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

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

/* =========================================================
   BUTTONS
========================================================= */
.btn {
    transition: all 0.25s ease;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
}

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

.btn-primary,
.btn-book-care {
    background: var(--primary-gradient);
    border: none;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-book-care:hover,
.btn-book-care:focus {
    background: var(--hero-gradient);
    border: none;
    color: #fff;
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-accent {
    background: var(--accent-gradient);
    border: none;
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent);
    border: none;
    color: #fff;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-outline-light:hover {
    color: var(--primary);
}

/* =========================================================
   LOGO SIZING
========================================================= */
.logo-wide {
    height: 68px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.logo-mobile {
    height: 52px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.logo-brand {
    flex-shrink: 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
    padding: 0.9rem 0;
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color) !important;
    transition: all 0.3s ease;
}

body.dark-mode .navbar {
    background: rgba(15, 23, 42, 0.94) !important;
}

.navbar.scrolled {
    box-shadow: 0 8px 24px rgba(45, 170, 225, 0.14) !important;
}

body.dark-mode .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
}

.navbar .nav-link,
.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 600;
    padding: 0.75rem 1rem;
    position: relative;
    transition: all 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link.active::after,
.navbar .nav-link:hover::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 4px;
    height: 2px;
    border-radius: 10px;
    background: var(--accent);
}

.navbar-toggler {
    border: 0;
    padding: 0.35rem 0.45rem;
    flex-shrink: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.nav-cta .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================================================
   CROSSFIT254 — PREMIUM COMPETITION HERO
========================================================= */
.hello-hero-wrapper {
    margin-top: -88px;
}

.helloHeroSwiper {
    width: 100%;
    height: 100vh;
    min-height: 680px;
}

.hello-hero-slide {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hello-hero-slide.swiper-slide-active {
    animation: helloHeroZoom 8s ease forwards;
}

@keyframes helloHeroZoom {
    from {
        background-size: 100%;
    }

    to {
        background-size: 108%;
    }
}

.hello-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.74) 42%,
        rgba(45, 170, 225, 0.36) 100%),
        linear-gradient(180deg,
        rgba(0, 0, 0, 0.28),
        rgba(0, 0, 0, 0.35));
    z-index: 1;
}

.hello-hero-content {
    position: relative;
    z-index: 2;
    padding-left: clamp(1.5rem, 5vw, 5rem);
    padding-right: clamp(1.5rem, 5vw, 5rem);
}
.min-vh-hello-hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hello-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(240, 82, 35, 0.20);
    color: #ffffff;
    border: 1px solid rgba(240, 82, 35, 0.48);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
}

.hello-hero-badge i {
    color: var(--accent);
    font-size: 1.05rem;
}

.hello-hero-title {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.02;
    font-weight: 800;
    max-width: 960px;
    margin-bottom: 1.35rem;
    color: #ffffff;
    letter-spacing: -0.04em;
}

.hello-hero-subtitle {
    max-width: 760px;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 2rem;
}

.hello-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* =========================================================
   SWIPER
========================================================= */
.landingHeroSwiper .swiper-pagination,
.helloHeroSwiper .swiper-pagination {
    bottom: 28px !important;
}

.landingHeroSwiper .swiper-pagination-bullet,
.testimonialSwiper .swiper-pagination-bullet,
.helloHeroSwiper .swiper-pagination-bullet {
    width: 28px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.landingHeroSwiper .swiper-pagination-bullet-active,
.testimonialSwiper .swiper-pagination-bullet-active,
.helloHeroSwiper .swiper-pagination-bullet-active {
    width: 46px;
    background: var(--accent);
    opacity: 1;
}

.landingHeroSwiper .swiper-button-next,
.landingHeroSwiper .swiper-button-prev,
.helloHeroSwiper .swiper-button-next,
.helloHeroSwiper .swiper-button-prev {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.landingHeroSwiper .swiper-button-next:hover,
.landingHeroSwiper .swiper-button-prev:hover,
.helloHeroSwiper .swiper-button-next:hover,
.helloHeroSwiper .swiper-button-prev:hover {
    background: var(--accent);
}

.landingHeroSwiper .swiper-button-next::after,
.landingHeroSwiper .swiper-button-prev::after,
.helloHeroSwiper .swiper-button-next::after,
.helloHeroSwiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

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

/* =========================================================
   FAQ
========================================================= */
.custom-faq .accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm);
}

.custom-faq .accordion-button {
    background: var(--card-bg);
    color: var(--dark-text);
    box-shadow: none !important;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
}

.custom-faq .accordion-button:not(.collapsed) {
    background: rgba(45, 170, 225, 0.10);
    color: var(--primary);
}

body.dark-mode .custom-faq .accordion-button:not(.collapsed) {
    background: rgba(45, 170, 225, 0.14);
}

.custom-faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.custom-faq .accordion-body {
    background: var(--card-bg);
    padding: 1.1rem 1.25rem 1.25rem;
}

/* =========================================================
   FORMS
========================================================= */
.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    background: var(--card-bg);
    color: var(--dark-text);
    box-shadow: none !important;
}

.form-control::placeholder {
    color: var(--light-text);
    opacity: 1;
}

.form-select {
    color: var(--light-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.15rem rgba(45, 170, 225, 0.18) !important;
}

.form-label {
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* =========================================================
   BADGES / ICON HELPERS
========================================================= */
.badge-primary-soft {
    background: var(--primary-soft);
    color: var(--primary);
}

.badge-secondary-soft {
    background: var(--secondary-soft);
    color: var(--secondary);
}

.badge-accent-soft {
    background: var(--accent-soft);
    color: var(--accent);
}

.icon-box-primary,
.icon-box-secondary,
.icon-box-accent,
.service-icon,
.feature-icon,
.value-icon,
.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.icon-box-primary,
.service-icon {
    background: var(--primary-soft);
    color: var(--primary);
}

.icon-box-secondary,
.value-icon {
    background: var(--secondary-soft);
    color: var(--secondary);
}

.icon-box-accent,
.feature-icon,
.contact-icon {
    background: var(--accent-soft);
    color: var(--accent);
}

/* =========================================================
   CTA SECTION
========================================================= */
.cta-section {
    background: var(--hero-gradient);
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer,
footer {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-color: var(--border-color) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-about {
    color: var(--light-text);
    line-height: 1.9;
    max-width: 360px;
}

.footer-title {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a,
.footer-contact a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links li a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--light-text);
    line-height: 1.8;
}

.footer-divider {
    border-color: var(--border-color);
}

.footer-bottom p {
    color: var(--light-text);
}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    z-index: 1050;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

/* =========================================================
   CROSSFIT254 — COMPETITION UI ENHANCEMENTS
========================================================= */
::selection {
    background: var(--primary);
    color: #ffffff;
}

body {
    background-image:
        radial-gradient(circle at top right, rgba(45, 170, 225, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(240, 82, 35, 0.06), transparent 25%);
}

body.dark-mode {
    background-image:
        radial-gradient(circle at top right, rgba(45, 170, 225, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(240, 82, 35, 0.10), transparent 28%);
}

.section-eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-eyebrow::before,
.section-kicker::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-gradient);
}

.competition-card,
.event-card,
.athlete-card,
.stat-card,
.dashboard-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.competition-card::before,
.event-card::before,
.athlete-card::before,
.stat-card::before,
.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--primary-gradient);
}

.competition-card:hover,
.event-card:hover,
.athlete-card:hover,
.stat-card:hover,
.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 170, 225, .28);
    box-shadow: var(--shadow-md);
}

.status-live {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #ffffff;
    background: var(--accent);
    border-radius: 999px;
    padding: .4rem .75rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.status-live::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255,255,255,.18);
    animation: cf254Pulse 1.8s infinite;
}

@keyframes cf254Pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.7); opacity: .55; }
}

.progress {
    height: .7rem;
    border-radius: 999px;
    background: var(--primary-soft);
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-gradient);
}

.table {
    color: var(--dark-text);
    vertical-align: middle;
}

.table > :not(caption) > * > * {
    background: transparent;
    border-bottom-color: var(--border-color);
    padding: 1rem .9rem;
}

.table thead th {
    color: var(--dark-text);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--primary-soft);
}

.pagination .page-link {
    color: var(--primary);
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: none;
}

.pagination .page-item.active .page-link {
    color: #ffffff;
    background: var(--primary-gradient);
    border-color: transparent;
}

.dropdown-menu {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: .6rem;
}

.dropdown-item {
    color: var(--dark-text);
    border-radius: 10px;
    padding: .7rem .85rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--primary);
    background: var(--primary-soft);
}

.alert {
    border: 0;
    border-left: 4px solid currentColor;
    border-radius: 14px;
}

.modal-content,
.offcanvas {
    color: var(--dark-text);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--accent);
}

.form-control:disabled,
.form-select:disabled {
    background: rgba(127,127,127,.08);
    color: var(--light-text);
}

.btn-danger {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-dark {
    background: #000000;
    border-color: #000000;
}

.btn-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-metric {
    display: inline-flex;
    flex-direction: column;
    min-width: 120px;
    padding: .9rem 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
}

.hero-metric strong {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.hero-metric span {
    color: rgba(255,255,255,.76);
    font-size: .78rem;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */
@media (max-width: 991.98px) {
    .site-main {
        padding-top: 78px;
    }

    section.py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .navbar {
        padding: 0.7rem 0;
    }

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .navbar-brand {
        max-width: calc(100% - 76px);
        margin-right: 0;
    }

    .logo-mobile {
        height: 44px;
    }

    .navbar-toggler {
        border: 1px solid rgba(45, 170, 225, 0.18);
        background: rgba(255, 255, 255, 0.88);
        border-radius: 14px;
        padding: 0.42rem 0.62rem;
        box-shadow: none;
        transition: all 0.25s ease;
    }

    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(240, 82, 35, 0.38);
        transform: translateY(-1px);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.18rem rgba(45, 170, 225, 0.18);
    }

    .navbar-collapse {
        margin-top: 0.95rem;
        transition: all 0.3s ease;
    }

    .mobile-nav-card {
        width: 100%;
        background: linear-gradient(135deg, rgba(234, 247, 252, 0.94), rgba(255, 240, 235, 0.94));
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 1.45rem;
        padding: 1rem;
        box-shadow: 0 18px 40px rgba(45, 170, 225, 0.14);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    body.dark-mode .mobile-nav-card {
        background: linear-gradient(135deg, rgba(45, 170, 225, 0.22), rgba(15, 23, 42, 0.95));
        border-color: rgba(255, 255, 255, 0.08);
    }

    .navbar-nav {
        width: 100%;
        gap: 0.55rem;
        align-items: stretch !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar .nav-link,
    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 58px;
        padding: 0.95rem 1rem;
        text-align: center;
        font-size: 1.05rem;
        font-weight: 700;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.22);
        overflow: hidden;
        margin: 0;
    }

    .navbar .nav-link::after,
    .navbar-nav .nav-link::after {
        left: 18%;
        right: 18%;
        bottom: 12px;
        background: var(--accent);
        transform: scaleX(0.35);
        transform-origin: center;
        transition: transform 0.28s ease;
    }

    .navbar .nav-link:hover,
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.58);
        color: var(--primary) !important;
        transform: translateY(-1px);
    }

    .navbar .nav-link:hover::after,
    .navbar-nav .nav-link:hover::after,
    .navbar .nav-link.active::after,
    .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }

    .navbar .nav-link.active,
    .navbar-nav .nav-link.active {
        background: rgba(255, 255, 255, 0.98);
        color: var(--primary) !important;
        box-shadow: 0 10px 24px rgba(45, 170, 225, 0.14);
    }

    .nav-cta {
        width: 100%;
        display: flex;
        gap: 0.7rem;
        margin-top: 1rem !important;
        padding-top: 0.2rem;
    }

    .nav-cta .btn {
        flex: 1 1 0;
        min-height: 48px;
        padding: 0.78rem 0.9rem;
        font-size: 0.98rem;
    }

    .landingHeroSwiper .swiper-button-next,
    .landingHeroSwiper .swiper-button-prev,
    .helloHeroSwiper .swiper-button-next,
    .helloHeroSwiper .swiper-button-prev {
        display: none;
    }

    .hello-hero-wrapper {
        margin-top: -78px;
    }

    .helloHeroSwiper,
    .hello-hero-slide {
        min-height: 86vh;
        height: 86vh;
    }

    .min-vh-hello-hero {
        min-height: 86vh;
        padding-top: 115px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hello-hero-title {
        font-size: clamp(2.1rem, 10vw, 3.4rem);
        line-height: 1.08;
        margin-left: auto;
        margin-right: auto;
    }

    .hello-hero-subtitle {
        font-size: 1rem;
        line-height: 1.65;
        margin-left: auto;
        margin-right: auto;
    }

    .hello-hero-actions {
        justify-content: center;
    }

    .hello-hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hello-hero-overlay {
        background:
            linear-gradient(180deg,
            rgba(0, 0, 0, 0.90),
            rgba(0, 0, 0, 0.72)),
            rgba(0, 0, 0, 0.28);
    }

    .site-footer {
        padding-top: 3rem !important;
        padding-bottom: 1.5rem !important;
    }

    .footer-logo {
        height: 54px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-cta .btn {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 767.98px) {
    section {
        overflow: hidden;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .page-header,
    .breadcrumb-section,
    .hero-section,
    .inner-hero,
    .page-banner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-header .container,
    .breadcrumb-section .container,
    .hero-section .container,
    .inner-hero .container,
    .page-banner .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-header h1,
    .hero-section h1,
    .inner-hero h1,
    .page-banner h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1.15;
        word-break: break-word;
    }

    .page-header p,
    .hero-section p,
    .inner-hero p,
    .page-banner p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .card,
    .service-card,
    .feature-card,
    .faq-card,
    .testimonial-card {
        border-radius: 1.1rem;
    }

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

    .site-footer .row > div {
        margin-bottom: 0.5rem;
    }

    .footer-logo {
        height: 48px;
    }

    .footer-about {
        font-size: 1rem;
        line-height: 1.85;
        margin-bottom: 1rem;
    }

    .footer-title {
        margin-bottom: 0.85rem;
        font-size: 1.05rem;
    }

    .footer-links li {
        margin-bottom: 0.65rem;
    }

    .footer-contact p {
        margin-bottom: 0.75rem !important;
    }

    .footer-cta {
        margin-top: 0.25rem;
    }

    .footer-cta .btn {
        flex: 1 1 calc(50% - 0.375rem);
        min-height: 44px;
        padding: 0.72rem 0.95rem;
    }

    .footer-bottom {
        gap: 0.35rem;
    }

    .footer-bottom p {
        line-height: 1.7;
    }
}

/* =========================================================
   RESPONSIVE — SMALL PHONES
========================================================= */
@media (max-width: 575.98px) {
    .site-main {
        padding-top: 74px;
    }

    .logo-mobile {
        height: 40px;
    }

    .mobile-nav-card {
        border-radius: 1.2rem;
        padding: 0.92rem;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .navbar .nav-link,
    .navbar-nav .nav-link {
        min-height: 54px;
        font-size: 1rem;
        padding: 0.9rem 0.95rem;
        border-radius: 0.95rem;
    }

    .navbar .nav-link::after,
    .navbar-nav .nav-link::after {
        left: 20%;
        right: 20%;
        bottom: 11px;
    }

    .nav-cta {
        gap: 0.6rem;
    }

    .nav-cta .btn {
        min-height: 46px;
        font-size: 0.94rem;
        padding: 0.72rem 0.8rem;
    }

    .helloHeroSwiper,
    .hello-hero-slide {
        min-height: 84vh;
        height: 84vh;
    }

    .hello-hero-badge {
        font-size: 0.78rem;
        padding: 0.45rem 0.8rem;
    }

    .hello-hero-title {
        font-size: 2.1rem;
    }

    .hello-hero-subtitle {
        font-size: 0.95rem;
    }

    .hello-hero-actions .btn {
        max-width: 100%;
        white-space: normal;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-slide .lead,
    .page-header .lead,
    #cta .lead,
    .cta-section .lead {
        font-size: 1rem;
    }

    .site-footer {
        padding-top: 2.5rem !important;
    }

    .footer-logo {
        height: 44px;
    }

    .footer-about {
        font-size: 0.98rem;
    }

    .footer-cta {
        gap: 0.65rem;
    }

    .footer-cta .btn {
        font-size: 0.95rem;
        padding: 0.7rem 0.85rem;
    }
}

/* =========================================================
   CROSSFIT254 — PREMIUM COMPETITION SYSTEM V2
   Definitive design layer inspired by elite competition sites
========================================================= */

/* ---------- Typography ---------- */

body {
    background: var(--light-bg);
    background-image: none;
    color: var(--dark-text);
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 0.95rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-text);
    font-weight: 800;
    letter-spacing: -0.035em;
}

h1,
h2 {
    text-transform: uppercase;
}

p {
    color: var(--light-text);
    line-height: 1.75;
}

::selection {
    color: #111111;
    background: var(--primary);
}

/* ---------- Main Layout ---------- */

.site-main {
    padding-top: 84px;
}

section.py-5 {
    padding-top: 5.75rem !important;
    padding-bottom: 5.75rem !important;
}

.bg-soft-gradient {
    background: var(--soft-gradient) !important;
}

.bg-dark-competition {
    color: #ffffff;
    background: var(--dark-gradient) !important;
}

.bg-dark-competition h1,
.bg-dark-competition h2,
.bg-dark-competition h3,
.bg-dark-competition h4,
.bg-dark-competition h5,
.bg-dark-competition h6 {
    color: #ffffff !important;
}

.bg-dark-competition p,
.bg-dark-competition .text-muted {
    color: rgba(255, 255, 255, 0.68) !important;
}

/* ---------- Section Labels ---------- */

.section-eyebrow,
.section-kicker,
.text-secondary-custom.text-uppercase.small {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-eyebrow::before,
.section-kicker::before {
    width: 28px;
    height: 1px;
    background: var(--primary);
}

/* ---------- Buttons ---------- */

.btn {
    min-height: 46px;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.btn-primary,
.btn-secondary,
.btn-accent,
.btn-book-care,
.btn-register {
    color: #111111 !important;
    border: 1px solid var(--primary) !important;
    background: var(--primary-gradient) !important;
    box-shadow: 0 10px 24px rgba(209, 174, 79, 0.22);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-accent:hover,
.btn-book-care:hover,
.btn-register:hover {
    color: #111111 !important;
    border-color: #E2C46D !important;
    background: #E2C46D !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--dark-text);
    border: 1px solid var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    color: #111111;
    border-color: var(--primary);
    background: var(--primary);
}

.btn-outline-light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.64);
}

.btn-outline-light:hover {
    color: #111111;
    border-color: #ffffff;
    background: #ffffff;
}

.btn-login {
    color: #ffffff !important;
    background: transparent !important;
}

/* ---------- Premium Navbar ---------- */

.navbar,
.crossfit-navbar {
    min-height: 84px;
    padding: 0;
    background: rgba(16, 16, 16, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: var(--transition);
}

.navbar.scrolled,
.crossfit-navbar.navbar-scrolled {
    min-height: 74px;
    background: rgba(16, 16, 16, 0.98) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28) !important;
}

.navbar .container,
.crossfit-navbar .container,
.crossfit-navbar .container-fluid {
    min-height: inherit;
}

.logo-wide {
    width: auto;
    max-width: 180px;
    height: 54px;
}

.logo-mobile {
    width: auto;
    max-width: 145px;
    height: 44px;
}

.navbar .nav-link,
.navbar-nav .nav-link,
.crossfit-navbar .nav-link {
    position: relative;
    padding: 2rem 0.72rem;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.crossfit-navbar .nav-link:hover,
.crossfit-navbar .nav-link.active {
    color: var(--primary) !important;
}

.navbar .nav-link::after,
.navbar-nav .nav-link::after,
.crossfit-navbar .nav-link::after {
    position: absolute;
    right: 0.72rem;
    bottom: 1.35rem;
    left: 0.72rem;
    width: auto;
    height: 2px;
    content: "";
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after,
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.crossfit-navbar .nav-link:hover::after,
.crossfit-navbar .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.navbar .dropdown-toggle::after,
.crossfit-navbar .dropdown-toggle::after {
    position: static;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    transform: none;
}

.navbar-toggler {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.10);
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* ---------- Dropdown Menus ---------- */

.navbar .dropdown-menu,
.crossfit-navbar .dropdown-menu {
    min-width: 290px;
    margin-top: 0;
    padding: 0.7rem;
    border: 1px solid rgba(16, 16, 16, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.20);
}

.navbar .dropdown-item,
.crossfit-navbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.78rem;
    color: #171717;
    border-radius: 12px;
    white-space: normal;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.crossfit-navbar .dropdown-item:hover,
.crossfit-navbar .dropdown-item:focus {
    color: #111111;
    background: var(--primary-soft);
    transform: translateX(3px);
}

.dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    color: var(--primary);
    border-radius: 10px;
    background: var(--primary-soft);
}

.dropdown-item strong {
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.84rem;
}

.dropdown-item small {
    display: block;
    color: #737373;
    font-size: 0.69rem;
    line-height: 1.35;
}

/* ---------- Hero ---------- */

.hello-hero-wrapper {
    margin-top: -84px;
}

.helloHeroSwiper,
.hello-hero-slide {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
}

.hello-hero-slide {
    background-position: center;
    background-size: cover;
}

.hello-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.92) 0%,
            rgba(8, 8, 8, 0.72) 46%,
            rgba(8, 8, 8, 0.34) 100%
        ),
        linear-gradient(
            180deg,
            rgba(8, 8, 8, 0.18),
            rgba(8, 8, 8, 0.42)
        );
}

.min-vh-hello-hero {
    min-height: 100vh;
    padding-top: 145px;
    padding-bottom: 90px;
}

.hello-hero-content {
    padding-right: clamp(1.25rem, 5vw, 5rem);
    padding-left: clamp(1.25rem, 5vw, 5rem);
}

.hello-hero-badge {
    gap: 0.55rem;
    padding: 0;
    color: var(--primary);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: none;
}

.hello-hero-badge i {
    color: var(--primary);
}

.hello-hero-title {
    max-width: 840px;
    margin-bottom: 1.2rem;
    color: #ffffff;
    font-size: clamp(3rem, 6.4vw, 6rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.hello-hero-subtitle {
    max-width: 680px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    line-height: 1.7;
}

.hello-hero-actions {
    gap: 0.85rem;
}

.landingHeroSwiper .swiper-pagination-bullet,
.helloHeroSwiper .swiper-pagination-bullet {
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, 0.55);
}

.landingHeroSwiper .swiper-pagination-bullet-active,
.helloHeroSwiper .swiper-pagination-bullet-active {
    width: 44px;
    background: var(--primary);
}

.landingHeroSwiper .swiper-button-next,
.landingHeroSwiper .swiper-button-prev,
.helloHeroSwiper .swiper-button-next,
.helloHeroSwiper .swiper-button-prev {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(12, 12, 12, 0.50);
}

/* ---------- Page Headers ---------- */

.page-header,
.inner-hero,
.page-banner {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
    color: #ffffff;
    background: var(--dark-gradient) !important;
}

.page-header::before,
.inner-hero::before,
.page-banner::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 80% 20%, rgba(209, 174, 79, 0.16), transparent 30%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
}

.page-header .container,
.inner-hero .container,
.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-header h1,
.inner-hero h1,
.page-banner h1 {
    color: #ffffff !important;
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 0.98;
}

.page-header .lead,
.inner-hero .lead,
.page-banner .lead {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* ---------- Cards ---------- */

.card,
.competition-card,
.event-card,
.athlete-card,
.stat-card,
.dashboard-card {
    border: 1px solid rgba(16, 16, 16, 0.10) !important;
    border-radius: 18px;
    background: var(--card-bg) !important;
    box-shadow: none;
}

.card:hover,
.competition-card:hover,
.event-card:hover,
.athlete-card:hover,
.stat-card:hover,
.dashboard-card:hover {
    border-color: rgba(209, 174, 79, 0.42) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.competition-card::before,
.event-card::before,
.athlete-card::before,
.stat-card::before,
.dashboard-card::before {
    width: 0;
    background: transparent;
}

.competition-card .card-img-top,
.event-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.stat-card,
.hero-metric {
    min-height: 116px;
    border-radius: 16px;
    background: #E7E8EB !important;
}

.hero-metric {
    justify-content: center;
    padding: 1rem 1.2rem;
    border: 0;
    backdrop-filter: none;
}

.hero-metric strong {
    color: #111111;
    font-size: 1.65rem;
}

.hero-metric span {
    color: #686868;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Competition Category Cards ---------- */

.category-card,
.division-card {
    height: 100%;
    padding: 1.25rem;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #E7E8EB;
    transition: var(--transition);
}

.category-card:hover,
.division-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.category-card .badge,
.division-card .badge {
    color: var(--primary-dark);
    border: 1px solid var(--primary);
    background: transparent;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- Schedule Cards ---------- */

.schedule-card,
.timeline-card {
    height: 100%;
    padding: 1.4rem;
    border: 1px solid rgba(16, 16, 16, 0.10);
    border-radius: 18px;
    background: #F0F1F3;
    transition: var(--transition);
}

.schedule-card:hover,
.timeline-card:hover {
    border-color: rgba(209, 174, 79, 0.50);
    transform: translateY(-3px);
}

.schedule-time {
    color: #6A6A6A;
    font-size: 0.74rem;
}

.schedule-time i {
    color: var(--primary);
}

/* ---------- Forms and Registration Wizard ---------- */

.form-control,
.form-select {
    min-height: 50px;
    border: 1px solid rgba(16, 16, 16, 0.14);
    border-radius: 14px;
    background: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.16rem rgba(209, 174, 79, 0.16) !important;
}

.registration-shell {
    overflow: hidden;
    border: 1px solid rgba(16, 16, 16, 0.12);
    border-radius: 30px;
    background: #ffffff;
}

.registration-sidebar {
    min-height: 100%;
    padding: 2rem;
    border-right: 1px solid rgba(16, 16, 16, 0.12);
}

.registration-content {
    padding: 2rem;
}

.registration-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.10);
}

.registration-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(16, 16, 16, 0.14);
    border-radius: 50%;
    color: #111111;
    background: #ffffff;
    font-weight: 700;
}

.registration-step.active .registration-step-number {
    color: #ffffff;
    border-color: var(--primary);
    background: var(--primary);
}

.registration-step-label small {
    display: block;
    margin-bottom: 0.25rem;
    color: #777777;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.registration-step-label strong {
    display: block;
    color: #111111;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.registration-step.active .registration-step-label strong {
    color: var(--primary-dark);
}

.division-option {
    display: block;
    padding: 1.3rem;
    border: 1px solid rgba(16, 16, 16, 0.12);
    border-radius: 22px;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.division-option:hover,
.division-option.selected {
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(209, 174, 79, 0.12);
}

/* ---------- Tables ---------- */

.table thead th {
    color: #111111;
    background: #E7E8EB;
}

.table > :not(caption) > * > * {
    border-bottom-color: rgba(16, 16, 16, 0.10);
}

/* ---------- Badges ---------- */

.badge-primary-soft,
.badge-secondary-soft,
.badge-accent-soft {
    color: var(--primary-dark);
    border: 1px solid rgba(209, 174, 79, 0.45);
    background: var(--primary-soft);
}

/* ---------- Icon Boxes ---------- */

.icon-box-primary,
.icon-box-secondary,
.icon-box-accent,
.service-icon,
.feature-icon,
.value-icon,
.contact-icon {
    color: var(--primary);
    border-radius: 14px;
    background: var(--primary-soft);
}

/* ---------- CTA ---------- */

.cta-section,
#cta {
    color: #ffffff;
    background:
        linear-gradient(rgba(16, 16, 16, 0.94), rgba(16, 16, 16, 0.94)),
        var(--dark-gradient) !important;
}

.cta-section::before,
#cta::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        radial-gradient(circle at 80% 20%, rgba(209, 174, 79, 0.18), transparent 32%);
}

/* ---------- Footer ---------- */

.site-footer,
footer {
    color: rgba(255, 255, 255, 0.82);
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
    background: #121212 !important;
}

.footer-logo {
    width: auto;
    max-width: 190px;
    height: 58px;
}

.footer-about,
.footer-contact p,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.58);
}

.footer-title {
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.footer-links li a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.68);
}

.footer-links li a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.10);
}

/* ---------- Responsive ---------- */

@media (min-width: 1200px) {
    .navbar .dropdown:hover > .dropdown-menu,
    .crossfit-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        animation: cf254Dropdown 0.2s ease;
    }
}

@keyframes cf254Dropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199.98px) {
    .navbar,
    .crossfit-navbar {
        min-height: 74px;
        padding: 0.65rem 0;
    }

    .site-main {
        padding-top: 74px;
    }

    .hello-hero-wrapper {
        margin-top: -74px;
    }

    .mobile-nav-card {
        margin-top: 0.8rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        background: #181818 !important;
        box-shadow: var(--shadow-dark);
    }

    .navbar .nav-link,
    .navbar-nav .nav-link,
    .crossfit-navbar .nav-link {
        justify-content: flex-start;
        min-height: 48px;
        padding: 0.8rem 0.9rem;
        color: rgba(255, 255, 255, 0.88) !important;
        border-radius: 10px;
        background: transparent;
        text-align: left;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active,
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active,
    .crossfit-navbar .nav-link:hover,
    .crossfit-navbar .nav-link.active {
        color: var(--primary) !important;
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
    }

    .navbar .nav-link::after,
    .navbar-nav .nav-link::after,
    .crossfit-navbar .nav-link::after {
        display: none;
    }

    .navbar .dropdown-menu,
    .crossfit-navbar .dropdown-menu {
        min-width: 100%;
        margin: 0.25rem 0 0.75rem;
        border-radius: 14px;
        box-shadow: none;
    }

    .nav-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .min-vh-hello-hero {
        padding-top: 125px;
        text-align: center;
    }

    .hello-hero-title,
    .hello-hero-subtitle {
        margin-right: auto;
        margin-left: auto;
    }

    .hello-hero-actions {
        justify-content: center;
    }

    .registration-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(16, 16, 16, 0.12);
    }
}

@media (max-width: 767.98px) {
    section.py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .helloHeroSwiper,
    .hello-hero-slide {
        min-height: 88vh;
        height: 88vh;
    }

    .hello-hero-title {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .hello-hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .page-header,
    .inner-hero,
    .page-banner {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }

    .registration-sidebar,
    .registration-content {
        padding: 1.25rem;
    }

    .registration-step {
        padding: 0.9rem 0;
    }

    .registration-step-number {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 575.98px) {
    .logo-mobile {
        max-width: 125px;
        height: 40px;
    }

    .nav-cta {
        grid-template-columns: 1fr;
    }

    .hello-hero-badge {
        font-size: 0.6rem;
    }

    .hello-hero-title {
        font-size: 2.35rem;
    }

    .footer-logo {
        height: 48px;
    }

    /*
|--------------------------------------------------------------------------
| CrossFit254 Frontend Content Width
|--------------------------------------------------------------------------
*/

.site-main {
    width: 100%;
    overflow-x: hidden;
}

.site-main > section:not(.hello-hero-wrapper) {
    width: 100%;
}

.site-main .container {
    width: calc(100% - 32px);
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 991.98px) {
    .site-main .container {
        width: calc(100% - 28px);
    }
}

@media (max-width: 575.98px) {
    .site-main .container {
        width: calc(100% - 20px);
    }
}
}
