.brand-body { margin: 0; background: #f1f0eb; color: #171619; font-family: Manrope, Arial, sans-serif; }
.brand-header { position: relative; background: #101014; }
.brand-hero { position: relative; min-height: 455px; padding: 132px max(28px, calc((100vw - var(--container)) / 2)) 70px; overflow: hidden; background: linear-gradient(125deg, #101014, #3e1120 60%, #801b36); color: #fff; }
.brand-hero::before { position: absolute; right: -1vw; bottom: -28px; color: rgba(255,255,255,.045); content: 'FCLL'; font: 700 min(29vw,410px)/.7 'Space Grotesk',sans-serif; letter-spacing: -.16em; }
.brand-hero > * { position: relative; z-index: 1; }
.brand-hero p, .section-label { color: #a51736; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.brand-hero p { color: #f4d314; }
.brand-hero h1 { margin: 22px 0; font: 700 clamp(48px,7vw,104px)/.88 'Space Grotesk',sans-serif; letter-spacing: -.08em; }
.brand-hero h1 em, .brand-intro h2 em, .section-heading h2 em, .brand-footer-hero h2 em { color: #f4d314; font-style: normal; }
.brand-hero > span { color: #d4cfd2; font-size: 10px; font-weight: 800; letter-spacing: .12em; }

.brand-content { max-width: 1170px; margin: 0 auto; padding: 100px 28px; }
.brand-intro { max-width: 760px; }
.brand-intro h2, .section-heading h2 { margin: 13px 0 22px; font: 700 clamp(38px,5vw,72px)/.91 'Space Grotesk',sans-serif; letter-spacing: -.075em; }
.brand-intro > p:last-child, .section-heading > p:last-child { max-width: 670px; color: #625e63; font-size: 15px; line-height: 1.75; }

.official-logos { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 52px; }
.official-logo-card { display: flex; min-height: 470px; padding: 22px; flex-direction: column; background: #fff; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 16px 35px rgba(18,14,17,.06); }
.logo-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-card-top span { color: #8b1731; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.logo-card-top a { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(0,0,0,.15); border-radius: 50%; color: #8b1731; font-size: 17px; font-weight: 800; }
.official-logo-preview { display: grid; min-height: 190px; margin: 20px 0; padding: 25px; place-items: center; background: #eceae5; }
.official-logo-preview img { max-width: 100%; max-height: 130px; object-fit: contain; }
.official-logo-card h3 { margin: 4px 0 11px; font: 700 31px/1 'Space Grotesk',sans-serif; letter-spacing: -.065em; }
.official-logo-card p { margin: 0; color: #625e63; font-size: 13px; line-height: 1.65; }
.download-button { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 24px; color: #8b1731; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.download-button b { font-size: 18px; }

.discipline-section, .club-section { margin-top: 105px; padding-top: 41px; border-top: 1px solid rgba(0,0,0,.16); }
.discipline-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 34px; }
.discipline-logo { min-height: 220px; background: #fff; border: 1px solid rgba(0,0,0,.1); transition: transform .2s, box-shadow .2s; }
.discipline-logo:hover { box-shadow: 0 15px 30px rgba(0,0,0,.1); transform: translateY(-4px); }
.discipline-logo a { display: flex; height: 100%; padding: 22px; flex-direction: column; align-items: center; text-align: center; }
.discipline-logo img { width: 100%; height: 112px; object-fit: contain; }
.discipline-logo span { margin-top: 15px; font: 700 18px/1 'Space Grotesk',sans-serif; letter-spacing: -.04em; }
.discipline-logo small { margin-top: auto; padding-top: 10px; color: #8b1731; font-size: 9px; font-weight: 800; letter-spacing: .1em; }

/* A dark gallery lets varied club identities breathe while retaining the FCLL palette. */
.club-section { padding-bottom: 15px; }
.club-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.club-count { display: flex; min-width: 157px; padding: 13px 0 12px; align-items: center; gap: 11px; border-top: 1px solid #171619; border-bottom: 1px solid #171619; }
.club-count strong { color: #8b1731; font: 700 47px/.82 'Space Grotesk',sans-serif; letter-spacing: -.08em; }
.club-count span { color: #625e63; font-size: 8px; font-weight: 800; letter-spacing: .13em; line-height: 1.45; }
.club-logo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 34px; padding: 1px; overflow: hidden; background: #262328; box-shadow: 0 24px 54px rgba(18,14,17,.12); }
.club-logo-card { position: relative; display: flex; min-width: 0; height: 225px; padding: 16px; flex-direction: column; align-items: flex-start; overflow: hidden; isolation: isolate; background: #171619; color: #fff; transition: background .28s ease, transform .28s ease; }
.club-logo-card::before { position: absolute; z-index: -1; top: -78px; right: -70px; width: 142px; height: 142px; border-radius: 50%; background: #8b1731; content: ''; opacity: 0; transform: scale(.55); transition: opacity .3s ease, transform .35s ease; }
.club-logo-card:hover, .club-logo-card:focus-visible { background: #2c0e18; color: #fff; transform: translateY(-3px); }
.club-logo-card:hover::before, .club-logo-card:focus-visible::before { opacity: .95; transform: scale(1); }
.club-logo-index { color: rgba(255,255,255,.38); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.club-logo-visual { display: grid; width: 100%; height: 121px; min-height: 0; margin: 8px 0 12px; flex: 0 0 121px; place-items: center; overflow: hidden; }
.club-logo-visual img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0,0,0,.25)); }
.club-logo-fallback { display: none; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(244,211,20,.76); border-radius: 50%; color: #f4d314; font: 700 30px/1 'Space Grotesk',sans-serif; }
.is-logo-missing .club-logo-fallback { display: grid; }
.club-logo-name { display: block; min-height: 30px; max-height: 30px; overflow: hidden; color: #fff; font-size: 11px; font-weight: 800; line-height: 1.35; }
.club-logo-link { display: flex; width: 100%; margin-top: auto; padding-top: 11px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.17); color: #f4d314; font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.club-logo-link b { font-size: 14px; line-height: .8; }
.brand-empty { margin-top: 32px; color: #625e63; }

.brand-footer { padding: 0 max(28px,calc((100vw - var(--container)) / 2)) 20px; background: #101014; color: #fff; }
.brand-footer-hero { position: relative; padding: 55px 0 45px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.brand-footer-hero p, .brand-footer h4 { color: #f4d314; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.brand-footer-hero h2 { margin: 14px 0 0; font: 700 clamp(52px,8vw,120px)/.78 'Space Grotesk',sans-serif; letter-spacing: -.09em; }
.brand-footer-hero > a { position: absolute; right: 0; bottom: 50px; display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #f4d314; font-size: 25px; }
.brand-footer-grid { display: grid; padding: 55px 0; grid-template-columns: 1.45fr repeat(4,1fr) 1.2fr; gap: 28px; }
.brand-footer-grid h4 { margin: 3px 0 15px; }
.brand-footer-grid div > a { display: block; margin: 8px 0; color: #cbc7cd; font-size: 11px; }
.brand-footer-contact p { margin: 0 0 12px; color: #cbc7cd; font-size: 11px; }
.brand-footer-contact > a { color: #f4d314 !important; font-size: 11px; }
.brand-footer-bottom { display: flex; padding-top: 17px; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255,255,255,.17); color: #928d94; font-size: 9px; }

@media (max-width:850px) {
    .brand-header { min-height: 70px; height: auto; }
    /* En móvil solo se muestra el botón Menú; la navegación se abre desde él. */
    .brand-header .desktop-nav { display: none; }
    .brand-header .area-link { display: none; }
    .brand-hero { min-height: 410px; padding-top: 110px; }
    .official-logos, .discipline-grid { grid-template-columns: repeat(2,1fr); }
    .club-logo-grid { grid-template-columns: repeat(3,1fr); }
    .brand-footer-grid { grid-template-columns: repeat(2,1fr); }
    .brand-footer-grid .footer-brand, .brand-footer-contact { grid-column: span 2; }
}

@media (max-width:520px) {
    .brand-content { padding: 72px 18px; }
    .brand-hero { padding: 105px 18px 55px; }
    .official-logos, .discipline-grid, .club-logo-grid { grid-template-columns: 1fr; }
    .official-logo-card { min-height: 420px; }
    .discipline-section, .club-section { margin-top: 70px; }
    .club-section-head { display: block; }
    .club-count { width: 100%; margin-top: 30px; }
    .club-logo-card { height: 210px; }
    .brand-footer { padding-right: 18px; padding-left: 18px; }
    .brand-footer-bottom { flex-wrap: wrap; }
    .brand-footer-hero > a { bottom: 28px; }
    .brand-footer-grid { gap: 20px; }
}
