html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    background: var(--club-light);
    color: #1f2937;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
}

.navbar {
    min-height: 86px;
}

.brand-logo {
    align-items: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    display: inline-flex;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.brand-logo img,
.footer-brand img,
.about-badge img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    color: var(--club-dark);
    font-size: 1rem;
}

.brand-text small {
    color: #64748b;
    font-size: 0.78rem;
}

.navbar-nav .nav-link {
    color: #334155;
    font-weight: 700;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

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

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.disabled-action {
    cursor: default;
    opacity: 0.86;
    pointer-events: none;
}

.hero-section {
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
    position: relative;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: clamp(560px, 78vh, 760px);
}

.hero-section .carousel-item img {
    filter: saturate(1.06);
    height: 100%;
    object-fit: cover;
}

.hero-fallback {
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.82), rgba(8, 160, 69, 0.76)),
        radial-gradient(circle at 20% 20%, rgba(245, 183, 0, 0.55), transparent 30%);
    height: clamp(560px, 78vh, 760px);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 13, 31, 0.82), rgba(4, 13, 31, 0.38), rgba(4, 13, 31, 0.16));
    inset: 0;
    position: absolute;
    z-index: 2;
}

.hero-overlay .container {
    align-items: center;
    display: flex;
    height: 100%;
}

.hero-content {
    color: #fff;
    max-width: 720px;
    padding: 4rem 0 3rem;
}

.section-kicker {
    color: var(--club-accent);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.95;
    margin-bottom: 1rem;
    max-width: 11ch;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    margin-bottom: 1.75rem;
    max-width: 620px;
}

.btn-hero,
.btn-whatsapp {
    align-items: center;
    background: var(--club-accent);
    border: 0;
    border-radius: 999px;
    color: #171717;
    display: inline-flex;
    font-weight: 900;
    padding: 0.9rem 1.25rem;
}

.btn-hero:hover {
    background: #fff;
    color: var(--club-dark);
    transform: translateY(-2px);
}

.section-block {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-alt {
    background: #fff;
}

.section-heading {
    margin: 0 auto 2rem;
    max-width: 760px;
    text-align: center;
}

.section-heading h2,
.section-title-left {
    color: var(--club-dark);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
}

.section-copy {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 1rem;
}

.content-card,
.uniform-card,
.schedule-card,
.contact-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-card:hover,
.uniform-card:hover,
.gallery-item:hover {
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
    transform: translateY(-5px);
}

.content-card .card-img-top,
.image-placeholder {
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.image-placeholder,
.uniform-placeholder,
.empty-state {
    align-items: center;
    background: linear-gradient(135deg, rgba(11, 94, 215, 0.12), rgba(8, 160, 69, 0.12));
    color: var(--club-primary);
    display: flex;
    justify-content: center;
}

.image-placeholder i,
.uniform-placeholder i {
    font-size: 3rem;
}

.content-card .card-body {
    padding: 1.35rem;
}

.content-card time,
.modal-date {
    color: var(--club-secondary);
    display: block;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.content-card h3,
.uniform-info h3,
.schedule-row h3 {
    color: var(--club-dark);
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.content-card p,
.uniform-info p {
    color: #64748b;
    line-height: 1.65;
}

.btn-link-card {
    color: var(--club-primary);
    font-weight: 900;
    padding: 0;
}

.btn-link-card:hover {
    color: var(--club-secondary);
}

.uniform-card img,
.uniform-placeholder {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.uniform-info {
    padding: 1.35rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(12, 1fr);
}

.gallery-item {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    grid-column: span 4;
    overflow: hidden;
    padding: 0;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(5n) {
    grid-column: span 6;
}

.gallery-item img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
    width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.empty-state {
    border-radius: 18px;
    min-height: 180px;
    padding: 2rem;
    text-align: center;
}

.schedule-card {
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

.schedule-row {
    align-items: center;
    display: flex;
    gap: 1.15rem;
}

.schedule-icon {
    align-items: center;
    background: var(--club-primary);
    border-radius: 18px;
    color: #fff;
    display: flex;
    flex: 0 0 68px;
    font-size: 1.65rem;
    height: 68px;
    justify-content: center;
    width: 68px;
}

.schedule-row p {
    color: var(--club-secondary);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.schedule-row span {
    color: #64748b;
}

.about-section {
    background:
        linear-gradient(135deg, rgba(11, 94, 215, 0.06), rgba(8, 160, 69, 0.08)),
        var(--club-light);
}

.about-badge {
    align-items: center;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    display: flex;
    height: min(420px, 80vw);
    justify-content: center;
    margin: 0 auto;
    max-width: 420px;
    padding: clamp(2rem, 5vw, 4rem);
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.values-list span {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    color: var(--club-dark);
    display: inline-flex;
    font-weight: 800;
    gap: 0.45rem;
    padding: 0.65rem 0.95rem;
}

.values-list i {
    color: var(--club-secondary);
}

.contact-card {
    padding: 2rem;
}

.contact-card p {
    align-items: center;
    color: #475569;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-card i {
    color: var(--club-primary);
    width: 20px;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-whatsapp:hover {
    background: #1eb95a;
    color: #fff;
    transform: translateY(-2px);
}

.map-placeholder {
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.map-placeholder iframe {
    border: 0;
    height: 100%;
    min-height: 320px;
    width: 100%;
}

.site-footer {
    background: var(--club-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 2rem 0;
}

.footer-content {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.footer-brand {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 0.75rem;
}

.footer-brand img {
    background: #fff;
    border-radius: 12px;
    height: 44px;
    padding: 0.25rem;
    width: 44px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

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

.site-footer p {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0 0;
    padding-top: 1rem;
}

.modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
}

.modal-cover {
    border-radius: 16px;
    margin-bottom: 1.25rem;
    max-height: 420px;
    object-fit: cover;
    width: 100%;
}

.gallery-modal-content {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 1rem;
}

.gallery-modal-content img {
    border-radius: 12px;
    max-height: 82vh;
    object-fit: contain;
    width: 100%;
}

.gallery-close {
    position: absolute;
    right: 1.15rem;
    top: 1.15rem;
    z-index: 3;
}

@media (max-width: 1199.98px) {
    .header-actions {
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        padding-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        min-height: 76px;
    }

    .brand-logo {
        height: 50px;
        width: 50px;
    }

    .brand-text strong {
        font-size: 0.92rem;
    }

    .hero-section,
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item,
    .hero-fallback {
        height: 640px;
        min-height: 640px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(4, 13, 31, 0.42), rgba(4, 13, 31, 0.86));
    }

    .hero-overlay .container {
        align-items: flex-end;
    }

    .hero-content {
        padding-bottom: 5.5rem;
    }

    .hero-content h1 {
        max-width: 9ch;
    }

    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5n) {
        grid-column: span 12;
    }

    .schedule-row {
        align-items: flex-start;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .brand-text {
        max-width: 160px;
    }

    .header-actions .btn {
        width: 100%;
    }
}
