/* ── Reset & Base ── */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,700;1,400&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #121212;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0B3C56;
    z-index: 999;
    transition: background 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    color: white;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 0.04em;
    z-index: 1001;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875em;
    font-weight: 400;
    padding: 20px 16px;
    display: block;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

/* ── Hamburger ── */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ── */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #0B3C56;
    z-index: 1000;
    padding: 80px 24px 40px;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: white;
    font-size: 1.1em;
    font-weight: 400;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    transition: opacity 0.2s ease;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

/* ── Language Switcher ── */
.lang-switcher {
    position: relative;
}

.lang-current {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.78em;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: border-color 0.2s;
}

.lang-current:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.lang-arrow {
    font-size: 0.7em;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #0B3C56;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    min-width: 120px;
    z-index: 1002;
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown form {
    margin: 0;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.82em;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* ── Hero Section ── */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    margin-top: 60px;
    min-height: 560px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #5ca0c8 0%, #3a7ab5 40%, #1e5a8a 100%);
}

/* ── Tagline Section ── */
.tagline {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.tagline-has-bg {
    position: relative;
    max-width: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tagline-has-bg > *:not(.tagline-overlay) {
    position: relative;
    z-index: 1;
}

.tagline-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.tagline-has-bg .tagline-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.tagline-has-bg .tagline-title {
    color: #ffffff;
}

.tagline-has-bg .tagline-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.tagline-eyebrow {
    font-size: 0.78em;
    font-weight: 400;
    color: #6B6B6B;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.tagline-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 18px;
}

.tagline-subtitle {
    font-size: 1.05em;
    font-weight: 400;
    color: #6B6B6B;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 32px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #277e6e;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.88em;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.btn-primary:hover {
    background: #1f6a5c;
}

/* ── Shared Section Styles ── */
.section {
    padding: 72px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: #f5f7f8;
}

.section-alt .section {
    padding-left: 24px;
    padding-right: 24px;
}

.section-eyebrow {
    font-size: 0.72em;
    font-weight: 700;
    color: #277e6e;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2em;
    font-weight: 700;
    color: #0B3C56;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-intro {
    font-size: 1em;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    max-width: 600px;
    margin-bottom: 40px;
}

.section-center {
    text-align: center;
}

.section-center .section-intro {
    margin-left: auto;
    margin-right: auto;
}

/* ── About Section (split layout) ── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6db3d4 0%, #3578a5 100%);
    border-radius: 6px;
}

.about-text .section-eyebrow,
.about-text .section-title,
.about-text .section-intro {
    text-align: left;
}

.about-text .section-intro {
    margin-bottom: 20px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88em;
    font-weight: 700;
    color: #277e6e;
    transition: gap 0.2s ease;
}

.btn-link:hover {
    gap: 10px;
}

/* ── Activities Grid ── */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.activity-card {
    background: white;
    border-radius: 6px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.activity-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.activity-icon {
    font-size: 1.6em;
    margin-bottom: 12px;
}

.activity-card h3 {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0B3C56;
    margin-bottom: 8px;
}

.activity-card p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #666;
    font-weight: 400;
}

.activity-card .meta {
    margin-top: 12px;
    font-size: 0.82em;
    color: #999;
}

/* ── Values / Why B3RC Grid ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.value-card {
    background: #0B3C56;
    color: white;
    border-radius: 6px;
    padding: 32px 24px;
    text-align: center;
    transition: background 0.25s ease;
}

.value-card:hover {
    background: #0d4565;
}

.value-icon {
    font-size: 2em;
    margin-bottom: 14px;
}

.value-card h3 {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* ── Image Carousel ── */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    background: #0B3C56;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: white;
    border: none;
    font-size: 2em;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.carousel-dot.active {
    background: white;
    border-color: white;
}

/* ── CTA Banner ── */
.cta-banner {
    background: #277e6e;
    padding: 56px 24px;
    text-align: center;
}

.cta-banner h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cta-banner p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.btn-white {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: #0B3C56;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.88em;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* ── Contact Split ── */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
}

.contact-map {
    min-height: 320px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-info {
    background: #0B3C56;
    color: white;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 0.92em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 6px;
}

.contact-info .btn-outline {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    border-radius: 4px;
    transition: background 0.25s ease, border-color 0.25s ease;
    width: fit-content;
}

.contact-info .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ── Footer ── */
.footer {
    background: #0a2e42;
    color: white;
    padding: 48px 0 0;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88em;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88em;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85em;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.75em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Inner Pages ── */
.page-content {
    padding-top: 100px;
    padding-bottom: 80px;
}

.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Inner Page Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.card {
    background: #f5f7f8;
    border: none;
    border-radius: 6px;
    padding: 28px 24px;
    transition: background 0.25s ease;
}

.card:hover {
    background: #edf0f2;
}

.card h3 {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0B3C56;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #666;
    font-weight: 400;
    margin-bottom: 4px;
}

.card-meta {
    font-size: 0.82em !important;
    color: #999 !important;
}

/* ── Inner CTA Box ── */
.cta-box {
    background: #0B3C56;
    color: #ffffff;
    border-radius: 6px;
    padding: 48px 32px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 0.95em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px;
    background: #277e6e;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    transition: background 0.25s ease;
}

.btn-cta:hover {
    background: #1f6a5c;
}

/* ── Map Cards ── */
.map-card {
    background: #f5f7f8;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    transition: background 0.25s ease;
}

.map-card:hover {
    background: #edf0f2;
}

.map-card-info {
    padding: 24px 24px 12px;
}

.map-card-info h3 {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0B3C56;
    margin-bottom: 8px;
}

.map-card-info p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #666;
    font-weight: 400;
    margin-bottom: 4px;
}

.map-wrapper {
    padding: 0 12px 12px;
}

.map-wrapper iframe {
    border: 0;
    border-radius: 4px;
}

/* ── Leaderboard ── */
.leaderboard-container {
    max-width: 960px;
}

.leaderboard-header {
    margin-bottom: 40px;
}

/* Login Card */
.login-card {
    background: #f5f7f8;
    border-radius: 6px;
    padding: 48px 32px;
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
}

.login-card h2 {
    font-size: 1.3em;
    font-weight: 700;
    color: #0B3C56;
    margin-bottom: 8px;
}

.login-card > p {
    font-size: 0.88em;
    line-height: 1.7;
    color: #666;
    margin-bottom: 28px;
}

.login-note {
    font-size: 0.75em !important;
    color: #999 !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

/* Social Login Buttons */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 4px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-social:hover {
    opacity: 0.9;
}

.btn-social-icon {
    flex-shrink: 0;
}

.btn-strava {
    background: #FC4C02;
    color: #ffffff;
}

.btn-google {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0 !important;
}

.btn-google:hover {
    background: #f7f8f8;
    opacity: 1;
}

.btn-facebook {
    background: #1877F2;
    color: #ffffff;
}

.btn-apple {
    background: #000000;
    color: #ffffff;
}

/* Strava Link Banner (logged in but no Strava) */
.strava-link-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #FFF3ED;
    border: 1px solid #FDDCCC;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.strava-link-banner p {
    font-size: 0.88em;
    color: #7A3D10;
    margin: 0;
}

.btn-strava-sm {
    display: inline-block;
    padding: 8px 20px;
    background: #FC4C02;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.82em;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.btn-strava-sm:hover {
    background: #e04400;
}

/* Club Stats Bar */
.club-stats-bar {
    display: flex;
    gap: 0;
    background: #0B3C56;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 32px;
}

.club-stat {
    flex: 1;
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.club-stat:last-child {
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-stat-value {
    display: block;
    font-size: 1.6em;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.club-stat-label {
    display: block;
    font-size: 0.72em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.club-stat-link {
    color: #277e6e;
    font-size: 0.82em;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
}

.club-stat-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #3aaf95;
}

/* Leaderboard Section */
.leaderboard-section {
    margin-bottom: 40px;
}

.leaderboard-section-title {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0B3C56;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0B3C56;
}

/* Leaderboard Table */
.leaderboard-table-wrap {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.leaderboard-table thead th {
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.leaderboard-table tbody tr:hover {
    background: #f9fafb;
}

.leaderboard-table tbody td {
    padding: 12px 12px;
    color: #333;
}

.col-rank {
    width: 48px;
    text-align: center !important;
}

.col-distance {
    white-space: nowrap;
}

.col-pace,
.col-time,
.col-elevation {
    white-space: nowrap;
    color: #666;
}

.col-runs {
    text-align: center;
}

.medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.78em;
    font-weight: 700;
    color: white;
}

.medal.gold {
    background: #D4A843;
}

.medal.silver {
    background: #8E9EAB;
}

.medal.bronze {
    background: #B87333;
}

.top-three td {
    font-weight: 600;
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feed-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-athlete {
    font-weight: 700;
    font-size: 0.88em;
    color: #0B3C56;
    min-width: 120px;
    white-space: nowrap;
}

.feed-details {
    flex: 1;
}

.feed-name {
    display: block;
    font-size: 0.88em;
    color: #333;
    margin-bottom: 4px;
}

.feed-stats {
    display: flex;
    gap: 16px;
    font-size: 0.78em;
    color: #999;
}

.feed-stats span {
    white-space: nowrap;
}

/* Leaderboard Footer */
.leaderboard-footer {
    text-align: center;
    padding: 24px 0 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 16px;
}

.leaderboard-footer p {
    font-size: 0.82em;
    color: #999;
}

.leaderboard-footer a {
    color: #277e6e;
    font-weight: 600;
}

.leaderboard-footer a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

/* ── Tablet ── */
@media (max-width: 1024px) {
    .tagline-title {
        font-size: 2.6em;
    }

    .about-split {
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .club-stats-bar {
        flex-wrap: wrap;
    }

    .club-stat {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .club-stat:nth-child(2) {
        border-right: none;
    }

    .leaderboard-table {
        font-size: 0.82em;
    }

    .col-elevation,
    .col-time {
        display: none;
    }

    .feed-athlete {
        min-width: 80px;
    }

    .feed-stats {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .nav-container {
        height: 56px;
    }

    /* Hero */
    .hero {
        height: 70vh;
        min-height: 300px;
    }

    /* Tagline */
    .tagline {
        padding: 48px 20px;
    }

    .tagline-title {
        font-size: 2.2em;
    }

    .tagline-subtitle {
        font-size: 0.95em;
    }

    /* Sections */
    .section {
        padding: 48px 20px;
    }

    .section-title {
        font-size: 1.6em;
    }

    /* About */
    .about-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-image {
        aspect-ratio: 16 / 9;
    }

    /* Activities */
    .activities-grid {
        grid-template-columns: 1fr;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Carousel */
    .carousel {
        aspect-ratio: 16 / 9;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 40px 20px;
    }

    .cta-banner h2 {
        font-size: 1.4em;
    }

    /* Contact */
    .contact-split {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 240px;
    }

    .contact-info {
        padding: 32px 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px 32px;
    }

    .footer-bottom {
        padding: 16px 20px;
    }

    /* Inner pages */
    .page-content {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 36px 20px;
    }
}

/* ── Small phones ── */
@media (max-width: 400px) {
    .tagline-title {
        font-size: 1.8em;
    }

    .tagline-subtitle {
        font-size: 0.88em;
    }

    .btn-primary,
    .btn-white,
    .btn-cta {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.4em;
    }

    .cta-banner h2 {
        font-size: 1.2em;
    }
}
