/* ============================================================
   CD ALBORÁN 2021 — Hoja de estilos oficial
   Colores del club: rojo #BE1E28 · blanco · gris oscuro
   ============================================================ */

:root {
    --red: #BE1E28;
    --red-dark: #931520;
    --red-deep: #6E0F18;
    --dark: #0B0B0E;
    --dark-2: #121216;
    --dark-3: #1A1A21;
    --dark-4: #23232C;
    --white: #F5F5F7;
    --grey: #9BA3AF;
    --grey-light: #C9CDD4;
    --line: rgba(255, 255, 255, .08);
    --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', 'Segoe UI', sans-serif;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45);
    --radius: 14px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.section { padding: 110px 0; position: relative; }

.section-alt { background: var(--dark-2); }

.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(190, 30, 40, .07), transparent 60%),
        radial-gradient(500px 300px at 10% 100%, rgba(190, 30, 40, .05), transparent 60%);
    pointer-events: none;
}

/* ---------- SECTION HEADS ---------- */
.section-head { text-align: center; margin-bottom: 64px; }

.kicker {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: .85rem;
    font-weight: 700;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.kicker::before, .kicker::after {
    content: '';
    height: 2px;
    width: 44px;
    background: linear-gradient(90deg, transparent, var(--red));
    display: block;
}

.kicker::after { background: linear-gradient(90deg, var(--red), transparent); }

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.section-title span { color: var(--red); }

/* ---------- PRELOADER ---------- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .7s var(--ease), visibility .7s;
}

#preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
    border-radius: 50%;
    animation: logoPulse 1.6s ease-in-out infinite;
    filter: drop-shadow(0 0 24px rgba(190, 30, 40, .55));
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-3);
    border-radius: 3px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--red), #ff4d57);
    border-radius: 3px;
    animation: loadBar 1.4s var(--ease) infinite;
}

@keyframes loadBar {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(500%); }
}

.preloader-text {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: .45em;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--grey-light);
    animation: fadeIn .8s ease;
}

/* ---------- NAVBAR ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background .45s ease, box-shadow .45s ease, padding .45s ease;
    padding: 18px 0;
}

#navbar.scrolled {
    background: rgba(11, 11, 14, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
    padding: 10px 0;
}

.nav-inner {
    width: min(1400px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(190, 30, 40, .65), 0 4px 18px rgba(190, 30, 40, .4);
    transition: transform .4s var(--ease);
}

.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: .08em;
}

.brand-text em {
    font-style: normal;
    color: var(--red);
    font-weight: 900;
}

.nav-links { display: flex; gap: 30px; }

.nav-link {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .95rem;
    font-weight: 600;
    color: var(--grey-light);
    position: relative;
    padding: 6px 0;
    transition: color .3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}

.nav-link:hover, .nav-link.active { color: #fff; }

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions { display: flex; align-items: center; gap: 18px; }

.btn-ig {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .85rem;
    padding: 10px 18px;
    border-radius: 40px;
    transition: transform .35s var(--ease), box-shadow .35s ease;
    box-shadow: 0 6px 20px rgba(220, 39, 67, .35);
}

.btn-ig svg { width: 16px; height: 16px; }

.btn-ig:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 28px rgba(220, 39, 67, .5);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform .4s var(--ease), opacity .3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides, .hero-slide { position: absolute; inset: 0; }

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
    will-change: transform, opacity;
}

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

.hero-slide.active { animation: kenburns 9s ease-out forwards; }

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.14) translate(1.5%, -1.5%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 11, 14, .55) 0%, rgba(11, 11, 14, .35) 40%, rgba(11, 11, 14, .94) 100%),
        radial-gradient(900px 500px at 30% 20%, rgba(190, 30, 40, .16), transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
}

.hero-kicker {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .4em;
    font-size: .9rem;
    font-weight: 600;
    color: var(--grey-light);
    margin-bottom: 22px;
    opacity: 0;
    animation: heroIn .9s var(--ease) .15s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(3.4rem, 10vw, 8rem);
    line-height: .95;
    letter-spacing: .02em;
    opacity: 0;
    animation: heroIn 1s var(--ease) .35s forwards;
}

.hero-title span { color: var(--red); -webkit-text-stroke: 1px rgba(255, 255, 255, .1); }

.hero-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    margin: 26px auto 30px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    border-radius: 3px;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--grey-light);
    max-width: 640px;
    margin: 0 auto 30px;
    opacity: 0;
    animation: heroIn 1s var(--ease) .55s forwards;
}

.hero-cta {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroIn 1s var(--ease) .7s forwards;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .95rem;
    padding: 15px 34px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 30px rgba(190, 30, 40, .4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.btn-primary:hover::before { transform: translateX(120%); }

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(190, 30, 40, .55);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255, 255, 255, .15);
}

.btn-lg { padding: 17px 42px; font-size: 1.05rem; }

.btn-block { width: 100%; }

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    border: none;
    padding: 0;
    transition: all .35s ease;
}

.hero-dot.active {
    background: var(--red);
    width: 34px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(190, 30, 40, .7);
}

/* Hero social */
.hero-social {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

.soc-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    color: #fff;
    transition: all .35s ease;
}

.soc-link svg { width: 18px; height: 18px; }

.soc-link:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(190, 30, 40, .5);
}

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

.mouse {
    width: 26px;
    height: 44px;
    border: 2.5px solid rgba(255, 255, 255, .6);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--red);
    border-radius: 4px;
    animation: wheel 1.8s ease infinite;
}

@keyframes wheel {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ---------- EL CLUB ---------- */
.club-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 70px;
    align-items: center;
}

.club-media { position: relative; padding: 0 0 60px 40px; }

.club-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.club-img-main img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.club-media:hover .club-img-main img { transform: scale(1.06); }

.club-img-side {
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 52%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 6px solid var(--dark);
    z-index: 3;
    box-shadow: var(--shadow);
    transition: transform .5s var(--ease);
}

.club-img-side img { width: 100%; height: 240px; object-fit: cover; }

.club-media:hover .club-img-side { transform: translateY(-8px); }

.club-text .lead {
    font-size: 1.2rem;
    color: var(--grey-light);
    margin-bottom: 20px;
}

.club-text .lead strong { color: #fff; }

.club-text p { color: var(--grey); margin-bottom: 16px; }

.club-text strong { color: var(--grey-light); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 34px 0;
}

.value-card {
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(190, 30, 40, .5);
    background: var(--dark-4);
}

.value-card:hover::before { transform: scaleX(1); }

.value-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(190, 30, 40, .14);
    border-radius: 12px;
    color: var(--red);
    margin-bottom: 14px;
}

.value-icon svg { width: 22px; height: 22px; }

.value-card h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.value-card p { font-size: .92rem; color: var(--grey); margin: 0; }

.club-quote {
    border-left: 4px solid var(--red);
    background: var(--dark-3);
    padding: 24px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.club-quote p {
    font-style: italic;
    color: var(--grey-light);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.club-quote cite {
    font-style: normal;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .8rem;
    color: var(--red);
    font-weight: 700;
}

/* ---------- TRAYECTORIA ---------- */
.timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto 70px;
    padding: 0 0 0 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg, var(--red), var(--dark-4) 80%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -59px;
    top: 4px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 4px solid var(--red);
    box-shadow: 0 0 0 4px rgba(190, 30, 40, .18), 0 0 22px rgba(190, 30, 40, .5);
}

.timeline-year {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--red);
    letter-spacing: .06em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.timeline-card {
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 30px;
    transition: transform .4s var(--ease), border-color .4s ease;
}

.timeline-card:hover {
    transform: translateX(8px);
    border-color: rgba(190, 30, 40, .45);
}

.timeline-card h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.timeline-card p { color: var(--grey); font-size: .97rem; }

.timeline-card p strong { color: #fff; }

/* Trophy card */
.trophy-card {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
    background: linear-gradient(120deg, rgba(190, 30, 40, .18), rgba(190, 30, 40, .04) 60%);
    border: 1.5px solid rgba(190, 30, 40, .5);
    border-radius: var(--radius);
    padding: 34px 38px;
    position: relative;
    overflow: hidden;
}

.trophy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 140px at 50% 120%, rgba(190, 30, 40, .35), transparent 70%);
    pointer-events: none;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.trophy-icon {
    width: 74px;
    height: 74px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5c84c, #d99a1f);
    border-radius: 20px;
    color: #3d2c05;
    box-shadow: 0 14px 34px rgba(217, 154, 31, .4);
    animation: floatY 3.4s ease-in-out infinite;
}

.trophy-icon svg { width: 38px; height: 38px; }

.trophy-info h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.trophy-info p { color: var(--grey-light); }

.trophy-info p strong { color: var(--red); }

.trophy-year {
    margin-left: auto;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.4rem;
    color: rgba(190, 30, 40, .35);
    flex-shrink: 0;
}

/* ---------- EQUIPOS ---------- */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.team-card {
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s ease, border-color .45s ease;
}

.team-card:hover {
    transform: translateY(-12px);
    border-color: rgba(190, 30, 40, .55);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(190, 30, 40, .12);
}

.team-img {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform .8s var(--ease);
}

.team-card:hover .team-img img { transform: scale(1.12); }

.team-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 14, .85));
}

.team-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
    background: var(--red);
    padding: 6px 14px;
    border-radius: 30px;
    color: #fff;
}

.team-body { padding: 24px 24px 28px; }

.team-body h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.6rem;
    letter-spacing: .05em;
    margin-bottom: 4px;
}

.team-cat {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 12px;
}

.team-desc { color: var(--grey); font-size: .92rem; }

/* ---------- NOTICIAS ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.news-card {
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .45s var(--ease), border-color .45s ease, box-shadow .45s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: rgba(190, 30, 40, .5);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .5);
}

.news-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    display: block;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.news-card:hover .news-img img { transform: scale(1.1); }

.news-img.portrait {
    height: auto;
    aspect-ratio: 3 / 4;
}

.news-img.portrait img { object-position: center top; }

.news-img.square {
    height: auto;
    aspect-ratio: 1 / 1;
}

.news-img.square img { object-position: center; }

.news-date {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(11, 11, 14, .85);
    backdrop-filter: blur(6px);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    font-weight: 600;
    color: #fff;
    padding: 6px 13px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.news-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-cat {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 10px;
}

.news-body h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: .03em;
    margin-bottom: 10px;
}

.news-body p {
    color: var(--grey);
    font-size: .9rem;
    margin-bottom: 18px;
    flex: 1;
}

.news-link {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    width: fit-content;
    position: relative;
    transition: color .3s ease;
}

.news-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
}

.news-link:hover { color: var(--red); }

.news-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- GALERÍA ---------- */
.gallery {
    columns: 3;
    column-gap: 20px;
}

.g-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--line);
}

.g-item img {
    width: 100%;
    transition: transform .8s var(--ease), filter .8s ease;
    filter: saturate(.92);
}

.g-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.15);
}

.g-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 40px 18px 14px;
    background: linear-gradient(transparent, rgba(11, 11, 14, .95));
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: all .5s var(--ease);
    color: #fff;
}

.g-item:hover figcaption { opacity: 1; transform: translateY(0); }

.g-item::after {
    content: '⤢';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(190, 30, 40, .9);
    border-radius: 10px;
    font-size: 1.1rem;
    color: #fff;
    opacity: 0;
    transform: scale(.6);
    transition: all .4s var(--ease);
}

.g-item:hover::after { opacity: 1; transform: scale(1); }

/* ---------- CONTACTO ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    max-width: 1050px;
    margin: 0 auto 44px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    min-width: 0;
    transition: transform .4s var(--ease), border-color .4s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(190, 30, 40, .5);
}

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(190, 30, 40, .14);
    color: var(--red);
    border-radius: 14px;
}

.info-icon svg { width: 24px; height: 24px; }

.info-card > div { min-width: 0; }

.info-card h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.info-card p { color: var(--grey); font-size: .95rem; }

.info-card a {
    color: var(--grey-light);
    transition: color .3s ease;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.info-card a:hover { color: var(--red); }

.contact-cta {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(190, 30, 40, .18), rgba(190, 30, 40, .05) 60%);
    border: 1.5px solid rgba(190, 30, 40, .45);
    border-radius: var(--radius);
    padding: 46px 40px;
}

.contact-cta p {
    color: var(--grey-light);
    font-size: 1.15rem;
    margin-bottom: 26px;
}

.contact-cta p strong { color: #fff; }

.contact-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta-buttons .btn svg { width: 18px; height: 18px; }

/* ---------- FOOTER ---------- */
.footer {
    background: #070709;
    border-top: 1px solid var(--line);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--line);
}

.footer-logo {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    margin-bottom: 18px;
    box-shadow: 0 0 0 2px rgba(190, 30, 40, .6);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.footer-brand h3 span { color: var(--red); }

.footer-brand p { color: var(--grey); font-size: .93rem; max-width: 320px; margin-bottom: 22px; }

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

.footer-col h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2.5px;
    background: var(--red);
}

.footer-col ul li { margin-bottom: 11px; }

.footer-col ul a {
    color: var(--grey);
    font-size: .93rem;
    transition: color .3s ease, padding-left .3s ease;
    position: relative;
}

.footer-col ul a:hover {
    color: #fff;
    padding-left: 10px;
}

.footer-col ul a::before {
    content: '→';
    position: absolute;
    left: -14px;
    opacity: 0;
    color: var(--red);
    transition: all .3s ease;
}

.footer-col ul a:hover::before { opacity: 1; left: -2px; }

.footer-contact li {
    color: var(--grey);
    font-size: .93rem;
    position: relative;
    padding-left: 22px;
}

.footer-contact li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 2px;
    transform: rotate(45deg);
}

.footer-contact a {
    color: var(--grey);
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 30px;
}

.footer-bottom p { color: #6b7280; font-size: .88rem; }

.footer-motto {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--grey-light) !important;
}

.footer-motto .heart { color: var(--red); animation: heartBeat 1.4s ease infinite; display: inline-block; }

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.25); }
    24% { transform: scale(1); }
    36% { transform: scale(1.2); }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 4, 6, .96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lb-figure {
    max-width: min(1000px, 90vw);
    max-height: 85vh;
    text-align: center;
}

.lb-figure img {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
    animation: lbIn .5s var(--ease);
}

@keyframes lbIn {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lb-figure figcaption {
    margin-top: 16px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .9rem;
    color: var(--grey-light);
}

.lb-close, .lb-prev, .lb-next {
    position: fixed;
    background: rgba(255, 255, 255, .08);
    border: 1.5px solid rgba(255, 255, 255, .25);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    z-index: 2;
}

.lb-close { top: 26px; right: 26px; width: 48px; height: 48px; font-size: 1.6rem; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; padding-bottom: 6px; }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; padding-bottom: 6px; }

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
    background: var(--red);
    border-color: var(--red);
}

.lb-count {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    letter-spacing: .2em;
    font-size: .9rem;
    color: var(--grey);
}

/* ---------- BACK TOP ---------- */
.back-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--red);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(190, 30, 40, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .45s var(--ease);
    z-index: 900;
}

.back-top svg { width: 22px; height: 22px; }

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.back-top:hover {
    background: #fff;
    color: var(--red);
    transform: translateY(-4px);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(46px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal[data-delay='50'] { transition-delay: .05s; }
.reveal[data-delay='100'] { transition-delay: .1s; }
.reveal[data-delay='150'] { transition-delay: .15s; }
.reveal[data-delay='200'] { transition-delay: .2s; }
.reveal[data-delay='300'] { transition-delay: .3s; }
.reveal[data-delay='400'] { transition-delay: .4s; }

/* ---------- SERVICIOS (CATEGORÍAS) ---------- */
.servicios {
    margin-top: 26px;
    padding: 22px 24px;
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.servicios-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .95rem;
    color: var(--grey-light);
    margin-bottom: 14px;
}

.servicios-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.servicios-list span {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
    font-weight: 600;
    color: var(--grey-light);
    background: rgba(190, 30, 40, .12);
    border: 1px solid rgba(190, 30, 40, .4);
    padding: 7px 16px;
    border-radius: 40px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.servicios-list span:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ---------- VÍDEO ---------- */
.video-frame {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #000;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- PREGUNTAS FRECUENTES ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--dark-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .3s ease;
}

.faq-item[open] { border-color: rgba(190, 30, 40, .5); }

.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--white);
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(190, 30, 40, .15);
    color: var(--red);
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform .35s var(--ease), background .3s ease, color .3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    background: var(--red);
    color: #fff;
}

.faq-item p {
    padding: 0 24px 22px;
    color: var(--grey);
    font-size: .97rem;
}

.faq-item p a {
    color: var(--red);
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* ---------- MAPA ---------- */
.map-frame {
    max-width: 1050px;
    margin: 0 auto 44px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    line-height: 0;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .teams-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-social { display: none; }
}

@media (max-width: 940px) {
    .section { padding: 80px 0; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(340px, 84vw);
        height: 100vh;
        background: rgba(11, 11, 14, .98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 34px;
        transition: right .55s var(--ease);
        z-index: 998;
        border-left: 1px solid var(--line);
    }
    .nav-links.open { right: 0; }
    .nav-link { font-size: 1.25rem; }
    .btn-ig span { display: none; }
    .btn-ig { padding: 11px 13px; border-radius: 50%; }
    .hamburger { display: flex; z-index: 999; position: relative; }
    .club-grid { grid-template-columns: 1fr; gap: 56px; }
    .club-media { max-width: 520px; margin: 0 auto; width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery { columns: 2; }
    .hero-dots { bottom: 110px; }
    .scroll-indicator { display: none; }
}

@media (max-width: 640px) {
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 36px; }
    .hero { min-height: 540px; }
    .hero-title { font-size: clamp(2.7rem, 12vw, 3.6rem); }
    .hero-kicker { letter-spacing: .28em; margin-bottom: 16px; }
    .hero-tagline { margin-bottom: 24px; }
    .hero-title::after { margin: 18px auto 22px; }
    .hero-dots { bottom: 100px; display: none; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; max-width: 320px; }
    .teams-grid { grid-template-columns: 1fr; }
    .team-body { padding: 18px 18px 22px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-img { height: auto; aspect-ratio: 4 / 3; }
    .values-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
    .value-card { padding: 18px 16px; }
    .value-card h4 { font-size: 1.05rem; }
    .contact-cta-buttons { flex-direction: column; align-items: center; }
    .contact-cta-buttons .btn { width: 100%; max-width: 320px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer { padding: 56px 0 24px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .gallery { columns: 1; }
    .club-img-side { right: -8px; }
    .map-frame iframe { height: 300px; }
    .trophy-card { flex-direction: column; text-align: center; padding: 30px 24px; }
    .trophy-year { margin: 0; }
    .timeline { padding-left: 44px; }
    .timeline-dot { left: -47px; }
    .lb-prev { left: 10px; width: 44px; height: 44px; font-size: 1.8rem; }
    .lb-next { right: 10px; width: 44px; height: 44px; font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}