/* =============================================
   XII HUB SPORT - Dark Theme Redesign
   Inspired by crossfitwallstreet.com
   ============================================= */

/* =============================================
   DESIGN SYSTEM
   ============================================= */
:root {
    --xii-black: #0a0a0a;
    --xii-dark: #141414;
    --xii-dark-alt: #1e1d1d;
    --xii-gold: #bd9a00;
    --xii-gold-light: #d4b300;
    --xii-red: #c91b00;
    --xii-green: #7a9e28;
    --xii-purple: #aa00ab;
    --xii-white: #ffffff;
    --xii-gray-light: #aaaaaa;
    --xii-gray: #888888;
    --font-display: 'Jura', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================
   GENERAL HOMEPAGE
   ============================================= */
.home-page {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--xii-black);
    color: var(--xii-white);
    position: relative;
    z-index: 1;
    display: flow-root;
}

/* Override site.css global "section { height: 300px; margin: 60px 0; }" */
.home-page > section,
.home-page section {
    height: auto !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Restore hero fullscreen height (overridden above) */
.home-page .hero {
    height: 100vh !important;
    min-height: 600px !important;
}

html:has(.home-page) {
    scroll-behavior: smooth;
}

.home-page .slider-area,
.home-page .slider-top-space-header1 {
    display: none !important;
}

/* Reusable section title */
.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--xii-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
}

.section-title-bar {
    width: 50px;
    height: 3px;
    background: var(--xii-gold);
    margin: 20px auto 0;
}

.section-title-bar--left {
    margin: 20px 0 0;
}

/* Reusable CTA button */
.btn-gold {
    display: inline-block;
    padding: 16px 45px;
    border: 2px solid var(--xii-gold);
    background: transparent;
    color: var(--xii-white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--xii-gold);
    color: var(--xii-black);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(189, 154, 0, 0.25);
}

.btn-gold--filled {
    background: var(--xii-gold);
    color: var(--xii-black);
    border-color: var(--xii-gold);
}

.btn-gold--filled:hover,
.btn-gold--filled:focus {
    background: var(--xii-gold-light);
    border-color: var(--xii-gold-light);
    color: var(--xii-black);
}

/* =============================================
   LOGO "HUB SPORT" TEXT
   ============================================= */
.logo-area__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
}
.logo-area__text {
    display: block;
    font-family: 'Jura', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin-top: -2px;
}

/* =============================================
   HEADER - TRANSPARENT ON HOMEPAGE
   ============================================= */
.header--home {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.4) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header--home .header-top-area {
    background: transparent !important;
}

.header--home .main-menu nav > ul > li > a {
    color: #fff !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
    font-weight: 600;
}

.header--home .main-menu nav > ul > li > a:hover,
.header--home .main-menu nav > ul > li.active > a {
    color: var(--xii-gold) !important;
}

.header--home .main-menu nav > ul > li > ul {
    background: rgba(255, 255, 255, 0.97);
}

.header--home .main-menu nav > ul > li > ul > li > a {
    color: #333 !important;
    text-shadow: none !important;
}

.header--home .main-menu nav > ul > li > ul > li > a:hover {
    color: var(--xii-gold) !important;
}

/* Scrolled state - dark solid */
.header--home.header--scrolled {
    background: var(--xii-black) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.header--home.header--scrolled .main-menu nav > ul > li > a {
    color: #fff !important;
    text-shadow: none;
}

.header--home.header--scrolled .main-menu nav > ul > li > a:hover,
.header--home.header--scrolled .main-menu nav > ul > li.active > a {
    color: var(--xii-gold) !important;
}

/* =============================================
   SECTION 1: HERO
   ============================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero__video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 2;
    transition: opacity 1.5s ease;
}
.hero__video.is-ended {
    opacity: 0;
    pointer-events: none;
}

.hero__slides {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero__slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlide 24s infinite;
    transform: scale(1);
}

.hero__slide--1 { background-image: url('/img/slides/slide_1_xiihubsport.jpg'); animation-delay: 0s; }
.hero__slide--2 { background-image: url('/img/slides/slide_2_xiihubsport.jpg'); animation-delay: 6s; }
.hero__slide--3 { background-image: url('/img/slides/slide_3_xiihubsport.jpg'); animation-delay: 12s; }
.hero__slide--4 { background-image: url('/img/slides/slide_4_xiihubsport.jpg'); animation-delay: 18s; }

@keyframes heroSlide {
    0%   { opacity: 0; transform: scale(1); }
    4%   { opacity: 1; }
    25%  { opacity: 1; transform: scale(1.06); }
    29%  { opacity: 0; transform: scale(1.06); }
    100% { opacity: 0; transform: scale(1); }
}

/* Mobile: skip video, show slider only */
@media (max-width: 768px) {
    .hero__video { display: none; }
}

.hero__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 40%, rgba(10,10,10,0.7) 100%);
    z-index: 2;
}

/* Logo seul affiché en haut pendant la vidéo */
.hero__video-logo {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    transition: opacity 1s ease;
}
.hero__video-logo img {
    max-height: 80px;
}
.hero:not(.hero--video-playing) .hero__video-logo {
    opacity: 0 !important;
    pointer-events: none;
}

/* Contenu complet masqué pendant la vidéo, visible après */
.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
}
.hero--video-playing .hero__content {
    opacity: 0 !important;
    animation: none !important;
}
.hero--video-playing .hero__news,
.hero--video-playing .hero__scroll {
    opacity: 0 !important;
    animation: none !important;
}
.hero:not(.hero--video-playing) .hero__content {
    animation: fadeInUp 1s ease-out 0.3s forwards;
}
.hero:not(.hero--video-playing) .hero__news,
.hero:not(.hero--video-playing) .hero__scroll {
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

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

.hero__logo {
    max-height: 80px;
    margin-bottom: 5px;
    opacity: 0.9;
}
.hero__logo-text {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--xii-white);
    margin: 0 0 20px;
    text-shadow: 2px 2px 40px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--xii-gold);
    margin-bottom: 45px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

/* Hero news overlay */
.hero__news {
    position: absolute;
    bottom: 80px;
    left: 40px;
    z-index: 3;
    max-width: 400px;
    background: rgba(10, 10, 10, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-left: 3px solid var(--xii-gold);
    padding: 24px;
    border-radius: 0 8px 8px 0;
}

.hero__news-date {
    color: var(--xii-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__news-link {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin: 5px 0;
    transition: color 0.3s;
}

.hero__news-link:hover,
.hero__news-link:focus {
    color: var(--xii-gold);
    text-decoration: none;
}

.hero__news-excerpt {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin: 0 0 16px;
    line-height: 1.5;
}

.hero__news-item:last-child .hero__news-excerpt {
    margin-bottom: 0;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero__scroll-line {
    display: block;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--xii-gold));
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* =============================================
   SECTION 2: VALUES
   ============================================= */
.values {
    background: var(--xii-black);
    padding: 100px 0;
    position: relative;
    z-index: 1;
    float: none !important;
    clear: both;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.values__item {
    text-align: center;
}

.values__icon {
    width: 70px;
    height: 70px;
    border: 2px solid var(--xii-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.values__icon i {
    font-size: 24px;
    color: var(--xii-gold);
}

.values__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--xii-white);
    margin: 0 0 15px;
}

.values__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--xii-gray-light);
    margin: 0;
}

/* =============================================
   SECTION 3: BRAND STATEMENT
   ============================================= */
.statement {
    background: var(--xii-dark);
    padding: 80px 0;
    position: relative;
    z-index: 1;
    float: none !important;
    clear: both;
}

.statement__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.statement__bar {
    width: 50px;
    height: 3px;
    background: var(--xii-gold);
    margin: 0 auto 30px;
}

.statement__title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--xii-white);
    margin: 0 0 25px;
}

.statement__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--xii-gray-light);
    margin: 0 0 40px;
}

/* =============================================
   SECTION 4: PROGRAMS (ACTIVITIES)
   ============================================= */
.programs {
    background: var(--xii-black);
    position: relative;
    z-index: 1;
    float: none !important;
    clear: both;
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 380px;
}

.programs__card {
    display: block;
    position: relative;
    height: 380px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.programs__card--wide {
    grid-column: span 2;
}

.programs__card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

/* Ken Burns - slow zoom & pan variations */
@keyframes kb1 {
    0%   { transform: scale(1) translate(0, 0); }
    50%  { transform: scale(1.08) translate(-1%, -1%); }
    100% { transform: scale(1) translate(0, 0); }
}
@keyframes kb2 {
    0%   { transform: scale(1.05) translate(1%, 0); }
    50%  { transform: scale(1) translate(0, 1%); }
    100% { transform: scale(1.05) translate(1%, 0); }
}
@keyframes kb3 {
    0%   { transform: scale(1) translate(0, 1%); }
    50%  { transform: scale(1.06) translate(1%, -1%); }
    100% { transform: scale(1) translate(0, 1%); }
}
@keyframes kb4 {
    0%   { transform: scale(1.04) translate(-1%, 1%); }
    50%  { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.04) translate(-1%, 1%); }
}

.programs__card-bg--kb1 { animation: kb1 18s ease-in-out infinite; }
.programs__card-bg--kb2 { animation: kb2 22s ease-in-out infinite; }
.programs__card-bg--kb3 { animation: kb3 20s ease-in-out infinite; }
.programs__card-bg--kb4 { animation: kb4 24s ease-in-out infinite; }

.programs__card:hover .programs__card-bg {
    animation-play-state: paused;
    transform: scale(1.12);
}

.programs__card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    transition: opacity 0.4s;
}

.programs__card:hover .programs__card-overlay {
    opacity: 0.85;
}

.programs__card-overlay--gold {
    background: linear-gradient(to top, rgba(189,154,0,0.85) 0%, rgba(189,154,0,0.15) 50%, transparent 100%);
}
.programs__card-overlay--red {
    background: linear-gradient(to top, rgba(201,27,0,0.85) 0%, rgba(201,27,0,0.15) 50%, transparent 100%);
}
.programs__card-overlay--green {
    background: linear-gradient(to top, rgba(122,158,40,0.85) 0%, rgba(122,158,40,0.15) 50%, transparent 100%);
}
.programs__card-overlay--purple {
    background: linear-gradient(to top, rgba(170,0,171,0.85) 0%, rgba(170,0,171,0.15) 50%, transparent 100%);
}
.programs__card-overlay--dark {
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
}

.programs__card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 35px;
    transition: transform 0.5s var(--ease-out);
}

.programs__card:hover .programs__card-content {
    transform: translateY(-8px);
}

.programs__card-title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--xii-white);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 8px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
}

.programs__card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out);
}

.programs__card-link {
    font-size: 13px;
    color: var(--xii-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out) 0.05s;
}

.programs__card:hover .programs__card-desc,
.programs__card:hover .programs__card-link {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SECTION 5: STEPS
   ============================================= */
.steps {
    background: var(--xii-dark);
    padding: 100px 0;
    position: relative;
    z-index: 2;
    float: none !important;
    clear: both;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.steps__item {
    text-align: center;
}

.steps__number {
    display: block;
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 700;
    color: var(--xii-gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 20px;
}

.steps__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--xii-white);
    margin: 0 0 15px;
}

.steps__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--xii-gray-light);
    margin: 0;
}

.steps__cta-wrap {
    text-align: center;
    margin-top: 60px;
}

/* =============================================
   SECTION 6: COMMUNITY
   ============================================= */
.community {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    position: relative;
    z-index: 3;
    float: none !important;
    clear: both;
}

.community__image {
    overflow: hidden;
}

.community__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.community__content {
    background: var(--xii-black);
    display: flex;
    align-items: center;
    padding: 80px 60px;
}

.community__inner {
    max-width: 500px;
}

.community__inner .section-title {
    text-align: left;
    font-size: 32px;
    line-height: 1.3;
}

.community__quote {
    font-size: 16px;
    line-height: 2;
    color: var(--xii-gray-light);
    font-style: italic;
    margin: 30px 0 40px;
}

/* =============================================
   SECTION 7: BOXES (PRACTICAL INFO)
   ============================================= */
.boxes {
    background: var(--xii-dark-alt);
    padding: 100px 0;
    position: relative;
    z-index: 4;
    float: none !important;
    clear: both;
}

.boxes__subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--xii-gray);
    margin: 25px 0 50px;
}

.boxes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.boxes__card {
    background: var(--xii-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.boxes__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.boxes__card-accent {
    height: 4px;
    width: 100%;
}

.boxes__card-accent--gold { background: var(--xii-gold); }
.boxes__card-accent--red { background: var(--xii-red); }
.boxes__card-accent--green { background: var(--xii-green); }

.boxes__card-name {
    padding: 28px 30px 0;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--xii-white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.boxes__card-info {
    list-style: none;
    padding: 18px 30px 22px;
    margin: 0;
}

.boxes__card-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: var(--xii-gray-light);
    font-size: 14px;
    line-height: 1.5;
}

.boxes__card-info li i {
    color: var(--xii-gold);
    width: 18px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.boxes__card-links {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.boxes__card-link {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: var(--xii-gold);
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s;
    font-weight: 600;
}

.boxes__card-link:first-child {
    border-right: 1px solid rgba(255,255,255,0.06);
}

.boxes__card-link:hover,
.boxes__card-link:focus {
    background: rgba(189,154,0,0.1);
    color: var(--xii-gold);
    text-decoration: none;
}

.boxes__card-link i {
    margin-right: 6px;
}

/* =============================================
   SECTION 8: FINAL CTA
   ============================================= */
.final-cta {
    position: relative;
    padding: 120px 0;
    background: url('/img/bg-xiihubsport.jpg') center/cover no-repeat fixed;
    z-index: 5;
    float: none !important;
    clear: both;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10,10,10,0.85);
}

.final-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.final-cta__quote {
    font-family: var(--font-body);
    font-size: 26px;
    font-style: italic;
    color: var(--xii-white);
    line-height: 1.6;
    margin: 0 0 50px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--xii-black) !important;
    position: relative;
    z-index: 10;
    float: none !important;
    clear: both;
}

footer .footer-area {
    background: var(--xii-black) !important;
    padding: 50px 0 30px;
}

footer .footer-area .container {
    max-width: 800px;
    margin: 0 auto;
}

footer .twitter-area {
    display: none !important;
}

footer .footer-area .row {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}

footer .footer-area .row::before,
footer .footer-area .row::after {
    display: none !important;
}

footer .footer-area .col-lg-6 {
    display: none !important;
}

footer .footer-area .col-lg-3.col-md-3 {
    float: none !important;
    width: auto !important;
    flex: 0 0 50%;
    max-width: 50%;
    text-align: center;
}

footer .about-company,
footer .corporate-office {
    text-align: center;
}

footer .corporate-address ul {
    list-style: none;
    padding-left: 0;
}

footer .social-icons {
    text-align: center;
}

footer .social-icons ul {
    display: inline-flex;
    justify-content: center;
}

footer .copy-right-area {
    background: var(--xii-black) !important;
}

footer .copy-right-area .container {
    max-width: 100%;
    text-align: center;
}

footer .copy-right-area .copy-right {
    text-align: center;
}

footer .copy-right-area .row > [class*="col-"] {
    width: 100% !important;
    float: none !important;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 991px) {
    .hero__slide { background-position: center 40%; }
    .hero__video { display: none; }
    .hero__title { font-size: 44px; letter-spacing: 5px; }
    .hero__subtitle { font-size: 15px; letter-spacing: 4px; }

    .values__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 450px;
    }

    .values { padding: 70px 0; }

    .statement__title { font-size: 32px; }
    .statement { padding: 60px 0; }

    .programs__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
    .programs__card--wide { grid-column: span 1; }
    .programs__card { height: 300px; }

    .steps__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 450px;
        margin: 60px auto 0;
    }
    .steps { padding: 70px 0; }
    .steps__number { font-size: 54px; }

    .community { grid-template-columns: 1fr; }
    .community__image { height: 300px; }
    .community__content { padding: 50px 30px; }
    .community__inner .section-title { font-size: 26px; }

    .boxes__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .boxes { padding: 70px 0; }

    .section-title { font-size: 28px; letter-spacing: 3px; }

    .final-cta { padding: 80px 0; background-attachment: scroll; }
    .final-cta__quote { font-size: 20px; }
}

/* Mobile */
@media (max-width: 767px) {
    .hero { min-height: 100svh; }
    .hero__slide { background-position: center 35%; }
    .hero__title { font-size: 32px; letter-spacing: 3px; }
    .hero__subtitle { font-size: 13px; letter-spacing: 3px; margin-bottom: 35px; }
    .hero__logo { max-height: 40px; margin-bottom: 3px; }
    .hero__logo-text { font-size: 11px; letter-spacing: 3px; margin-bottom: 20px; }
    .hero__news { display: none; }

    .btn-gold { padding: 14px 35px; font-size: 12px; letter-spacing: 2px; }

    .values { padding: 50px 0; }
    .values__grid { gap: 30px; }

    .statement { padding: 50px 0; }
    .statement__title { font-size: 26px; letter-spacing: 3px; }

    .programs__grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .programs__card { height: 260px; }
    .programs__card--wide { grid-column: span 1; }
    .programs__card-bg { animation: none !important; }
    .programs__card-desc,
    .programs__card-link { opacity: 1; transform: none; }
    .programs__card-title { font-size: 24px; }
    .programs__card-content { transform: none !important; }

    .steps { padding: 50px 0; }
    .steps__number { font-size: 48px; }

    .community__image { height: 250px; }
    .community__content { padding: 40px 20px; }
    .community__quote { font-size: 14px; line-height: 1.8; }

    .boxes { padding: 50px 0; }
    .boxes__grid { max-width: 100%; }

    .section-title { font-size: 24px; letter-spacing: 2px; }

    .final-cta { padding: 60px 0; }
    .final-cta__quote { font-size: 18px; }

    footer .footer-area .col-lg-3.col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    footer .footer-area .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .programs__card-bg { animation: none !important; }
    .programs__card-content { transition: none !important; }
}
