/* Trang giới thiệu FitClub 43-009 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body.landing { background: #fff; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ember); margin-bottom: 6px; }
.eyebrow.light { color: #FFB066; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section h2, .gallery-section h2, .contact-section h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.section h2 { color: var(--ink); }
.section-lead { color: var(--muted); max-width: 60ch; margin-bottom: 24px; }

/* Thanh trên */
.topbar { background: rgba(15, 45, 74, .97); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(8px); }
.topnav { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 40px); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav-links a:hover { color: #FFB066; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* BANNER: trình chiếu chạy ngang */
.hero { background: #0F2D4A; }
.hero-slider { position: relative; overflow: hidden; aspect-ratio: 1600 / 595; max-height: 78vh; width: 100%; background: #0F2D4A; }
.hero-track { display: flex; height: 100%; will-change: transform; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.hero-track.no-anim { transition: none; }
.hslide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; background: #0F2D4A; }
.hslide picture { display: block; width: 100%; height: 100%; }
.hslide img, .hslide video, .hslide iframe { width: 100%; height: 100%; display: block; border: 0; }
.hslide img, .hslide video { object-fit: cover; }
.hslide .fit-contain { object-fit: contain; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: rgba(0, 0, 0, .4); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; }
.hero-slider:hover .hero-nav, .hero-nav:focus-visible { opacity: 1; }
.hero-nav:hover { background: var(--ember); }
.hero-nav.prev { left: 16px; } .hero-nav.next { right: 16px; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 48px clamp(16px, 4vw, 48px) 34px; color: #fff; font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.6rem); text-shadow: 0 2px 10px rgba(0,0,0,.5); background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); pointer-events: none; }
.hero-caption:empty { display: none; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.on { width: 28px; background: var(--ember); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 4; background: rgba(255,255,255,.12); }
.hero-progress span { display: block; height: 100%; width: 0; background: var(--ember); }
@media (max-width: 700px) {
    .hero-slider { aspect-ratio: 16 / 10; }
    .hero-nav { opacity: 1; width: 36px; height: 36px; font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-track { transition: none; } }

/* Dải khẩu hiệu */
.strip { background: var(--ink); color: #EAF1F8; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 22px; padding-bottom: 22px; }
.tagline { font-size: 1.1rem; font-weight: 600; flex: 1 1 280px; max-width: 46ch; }
.stats { display: flex; gap: 32px; margin: 0; }
.stats dt { font-size: .8rem; color: #9FB4CC; }
.stats dd { margin: 0; font-size: 1.9rem; font-weight: 800; color: var(--ember); font-variant-numeric: tabular-nums; line-height: 1.1; }
.strip-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.strip .btn-ghost, .contact-section .btn-ghost { color: #fff; }

/* Giới thiệu */
.about-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.about-text p { max-width: 64ch; font-size: 1.08rem; margin-top: 10px; }
.about-logo { width: 190px; height: 190px; }
.pillars { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pillars li { background: var(--mist); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.pillar-ico { font-size: 1.8rem; }
.pillars strong { font-size: 1.08rem; color: var(--ink); }
.pillars span:last-child { color: var(--muted); }

/* Khung trình chiếu */
.gallery-section { background: linear-gradient(180deg, #0F2D4A 0%, #0A2137 100%); color: #fff; padding: 64px 0 56px; }
.slider { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #061423; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img, .slide video, .slide iframe { width: 100%; height: 100%; display: block; border: 0; }
.slide img { object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.slide.on img { transform: scale(1); }
.slide video { object-fit: contain; background: #000; }
.slide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: rgba(0,0,0,.45); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.slide-nav:hover { background: var(--ember); }
.slide-nav.prev { left: 14px; } .slide-nav.next { right: 14px; }
.slide-pause { position: absolute; top: 14px; right: 14px; z-index: 3; border: 0; border-radius: 8px; background: rgba(0,0,0,.45); color: #fff; font-size: .8rem; padding: 6px 10px; cursor: pointer; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 22px 18px; font-weight: 700; font-size: 1.05rem;
    background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); pointer-events: none; }
.slide-caption:empty { display: none; }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 3; background: rgba(255,255,255,.15); }
.slide-progress span { display: block; height: 100%; width: 0; background: var(--ember); }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 auto; width: 120px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; padding: 0; border: 2px solid transparent; background: #12395C; cursor: pointer; position: relative; opacity: .65; }
.thumbs button.on { border-color: var(--ember); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.3rem; text-shadow: 0 2px 6px rgba(0,0,0,.6); }

/* Team */
.team-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.team { display: grid; grid-template-columns: minmax(150px, 260px) 1fr auto; align-items: center; gap: 16px; }
.team-name { font-weight: 700; }
.team-bar { height: 14px; background: var(--mist); border-radius: 7px; overflow: hidden; }
.team-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--ember)); border-radius: 7px; }
.team-count { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }

.how { border-top: 1px solid var(--line); }
.how-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.how-list li { border-left: 4px solid var(--ember); padding-left: 14px; }
.how-list strong { display: block; font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.how-list span { color: var(--muted); }

/* Liên hệ */
.contact-section { background: var(--ink); color: #EAF1F8; padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.contact-section h3 { margin: 18px 0 8px; font-size: 1rem; color: #FFB066; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.kv dt { color: #9FB4CC; } .kv dd { margin: 0; font-weight: 650; }
.contact-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.contact-logo { width: 200px; height: 200px; }

.footer { background: #0A2137; color: #9FB4CC; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-slogan { color: #FFB066; font-style: italic; }
.footer a { color: #fff; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .pillars { grid-template-columns: 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-logo { width: 130px; height: 130px; order: -1; }
    .contact-logo { display: none; }
    .slider { border-radius: 12px; }
    .slide-nav { width: 38px; height: 38px; font-size: 1.4rem; }
    .thumbs button { width: 92px; }
    .team { grid-template-columns: 1fr auto; }
    .team-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
    .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .slide, .slide img { transition: none; }
}
