/* ============================================================
   ДФК Прециз Монтана — main stylesheet
   Colors come from the club crest: navy shield, gold ribbon,
   plus the sky-blue of the team kits. Font: Avenir Next Cyr.
   ============================================================ */

/* ---------- Avenir Next Cyr (files in /fonts) ---------- */
@font-face { font-family: "Avenir Next Cyr"; src: url("../fonts/AvenirNextCyr-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Cyr"; src: url("../fonts/AvenirNextCyr-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Avenir Next Cyr"; src: url("../fonts/AvenirNextCyr-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Cyr"; src: url("../fonts/AvenirNextCyr-Demi.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Cyr"; src: url("../fonts/AvenirNextCyr-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Avenir Next Cyr"; src: url("../fonts/AvenirNextCyr-Heavy.woff") format("woff"); font-weight: 800 900; font-style: normal; font-display: swap; }

:root {
  --navy: #224a8c;
  --navy-dark: #0f2551;
  --navy-deep: #0a1a3b;
  --gold: #dcc423;
  --gold-dark: #c5911f;
  --gold-grad: linear-gradient(100deg, #c5911f 0%, #dfc823 45%, #dcc423 60%, #c5911f 100%);
  --sky: #2aa7e0;
  --ink: #14213d;
  --muted: #5b6785;
  --line: #e3e8f2;
  --bg-light: #f3f6fb;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 37, 81, .25);
  --shadow-lg: 0 24px 60px -20px rgba(15, 37, 81, .45);
  --font: "Avenir Next Cyr", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 .92rem var(--font); padding: .85em 1.45em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: .98rem; padding: 1em 1.8em; }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--navy-deep); box-shadow: 0 8px 22px -8px rgba(197, 145, 31, .7); }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 12px 28px -8px rgba(197, 145, 31, .8); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost:hover { background: #fff; color: var(--navy-dark); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--navy { background: var(--navy-dark); color: #fff; }
.btn--navy:hover { background: var(--navy); box-shadow: var(--shadow); }

.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--gold-dark); margin-bottom: .6em; display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--gold-grad); border-radius: 3px; }
.eyebrow--light { color: var(--gold); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s, height .3s; }
.header.is-solid { background: rgba(10, 26, 59, .97); box-shadow: 0 6px 24px rgba(0,0,0,.2); --header-h: 68px; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__logo { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); transition: width .3s, height .3s; }
.header.is-solid .brand__logo { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-size: 1.22rem; letter-spacing: .04em; }
.brand__city { font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font: 600 .92rem var(--font); padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; transition: color .2s; }
.nav__link:hover, .nav__link.is-current { color: var(--gold); }
.nav__link svg { width: 10px; height: 10px; transition: transform .2s; }
.nav__item--drop { position: relative; }
.nav__drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 170px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__drop a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.nav__drop a:hover { background: var(--bg-light); color: var(--navy); }
@media (hover: hover) and (min-width: 1081px) {
  .nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
  .nav__item--drop:hover svg { transform: rotate(180deg); }
}
.nav__item--drop.is-open .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__cta { padding: .7em 1.2em; font-size: .84rem; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.1); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden;
  background: radial-gradient(900px 600px at 0% 100%, rgba(42,167,224,.18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); }
.hero::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 520px; height: 520px; background: url("../images/logo.png") center / contain no-repeat; opacity: .04; pointer-events: none; }
.hero__slides { position: absolute; top: 0; bottom: 0; right: 0; left: 40%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
.hero__slide { position: absolute; inset: 0; background-position: center 45%; background-size: cover; background-repeat: no-repeat; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease-out; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(0deg, rgba(10,26,59,.85) 0%, rgba(10,26,59,0) 22%),
  linear-gradient(180deg, rgba(10,26,59,.7) 0%, rgba(10,26,59,0) 20%); }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero__content > * { max-width: 520px; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 900; text-transform: uppercase; margin-bottom: .35em; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero__title span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34ch; color: rgba(255,255,255,.88); margin-bottom: 2em; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 26px 0; }
.hero__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero__dots { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__dot { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.35); background: rgba(10,26,59,.45); color: rgba(255,255,255,.85); font: 600 .84rem var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: .25s; }
.hero__dot:hover { color: #fff; border-color: #fff; }
.hero__dot.is-active { color: var(--navy-deep); border-color: transparent; background: rgba(255,255,255,.95); }
.hero__dot.is-active::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold-grad); transform-origin: left; animation: dotProgress var(--dur, 6s) linear forwards; }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
@keyframes dotProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__controls { display: flex; gap: 8px; }
.hero__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(10,26,59,.45); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .2s; padding-bottom: 4px; }
.hero__arrow:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(56px, 7vw, 80px) 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: radial-gradient(1200px 500px at 85% -10%, rgba(42,167,224,.25), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 900; text-transform: uppercase; margin: 0; }

/* ---------- News ---------- */
.news { display: grid; gap: 22px; }
.news--row { grid-template-columns: repeat(4, 1fr); }
.news--grid { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__img--icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--gold); }
.news-card__img--icon svg { width: 52px; height: 52px; fill: currentColor; transition: transform .5s; }
.news-card__img--icon span { font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.news-card:hover .news-card__img--icon svg { transform: scale(1.1) rotate(-4deg); }
.news-card__img--score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 0 12px; color: #fff; text-align: center; }
.score__team { font-weight: 700; font-size: .78rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; color: rgba(255,255,255,.85); }
.score__num { font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--gold); white-space: nowrap; }
.score__num i { font-style: normal; color: rgba(255,255,255,.5); margin: 0 4px; }
.news-card__body { display: flex; flex-direction: column; padding: 16px 18px 18px; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-card__meta time { font-size: .8rem; color: var(--muted); font-weight: 500; }
.news-card h3 { font-weight: 700; font-size: 1rem; line-height: 1.35; margin: .65em 0 .4em; }
.news-card p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: auto; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: rgba(34,74,140,.1); padding: 4px 10px; border-radius: 999px; }
.tag--gold { color: #7a5a10; background: rgba(220,196,35,.25); }
.slider-dots { display: none; }
.news-card__img--logos { display: flex; align-items: center; justify-content: center; gap: 8%; padding: 0 10%; background: #fff; border-bottom: 1px solid var(--line); }
.news-card__img--logos img { width: auto !important; height: auto !important; max-width: 42%; max-height: 62%; object-fit: contain; }
.news-card.is-hidden { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; color: #fff; padding: calc(var(--header-h) + 56px) 0 64px; overflow: hidden;
  background: radial-gradient(900px 500px at 100% 0%, rgba(42,167,224,.22), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 80%); background-size: cover; background-position: center 40%; }
.page-hero::before { content: ""; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; background: url("../images/logo.png") center / contain no-repeat; opacity: .06; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,26,59,.95) 0%, rgba(10,26,59,.8) 45%, rgba(10,26,59,.45) 100%), linear-gradient(0deg, rgba(10,26,59,.6), transparent 50%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 900; text-transform: uppercase; margin: 0; max-width: 22ch; }
.page-hero__sub { margin: 14px 0 0; color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 50ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 22px; font-weight: 500; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current] { color: rgba(255,255,255,.9); }
.center { text-align: center; margin-top: 36px; }
.page-hero--post .page-hero__title { font-size: clamp(1.6rem, 3.2vw, 2.6rem); text-transform: none; line-height: 1.2; max-width: 30ch; }
.section--first { padding-top: clamp(48px, 6vw, 72px); }
.section__title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--navy); background: #fff; transition: .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.contact-band { background: var(--bg-light); padding: clamp(48px, 6vw, 72px) 0; }
.contact-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.contact-band__title { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; max-width: 20ch; }
.contact-band__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }

/* Post */
.post { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.post__text { min-width: 0; }
.post__media { position: sticky; top: 96px; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-deep); }
.post__media a { display: block; cursor: zoom-in; }
.post__media img { width: 100%; max-height: 520px; object-fit: cover; transition: transform .5s; }
.post__media a:hover img { transform: scale(1.03); }
.post__media--logo { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px; }
.post__media--logo img { object-fit: contain; max-height: 320px; }
.post__media--graphic .news-card__img { aspect-ratio: 4 / 3; }
.post__media--graphic .news-card__img--icon svg { width: 72px; height: 72px; }
.post__media--graphic .score__num { font-size: 2.8rem; }
.post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.scoreline { display: inline-flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 12px 22px; border-radius: 14px; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; font-weight: 700; font-size: .95rem; }
.scoreline strong { font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.scoreline i { font-style: normal; color: rgba(255,255,255,.5); margin: 0 3px; }
.post__body { font-size: 1.06rem; line-height: 1.75; color: #2a3550; }
.post__body h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; color: var(--navy-dark); }
.post__body h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; color: var(--navy-dark); }
.post__body > :first-child { margin-top: 0; }
.post__body ol { padding-left: 1.4em; margin: 0 0 1em; }
.post__body li > p { margin: 0; }
.post__body blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--gold); color: var(--navy-dark); font-style: italic; }
.post__body img { max-width: 100%; height: auto; border-radius: 14px; margin: .6em 0; }
.post__body iframe { max-width: 100%; }
.post__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.post__body li { margin-bottom: .4em; }
.post__body a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.post__share { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.post__share-btn { padding: 8px 16px; border-radius: 999px; background: #1877f2; color: #fff; font-weight: 700; font-size: .85rem; }
.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post__nav-link { display: block; padding: 16px 18px; border-radius: 14px; background: var(--bg-light); font-weight: 700; font-size: .95rem; line-height: 1.35; transition: .2s; }
.post__nav-link small { display: block; color: var(--gold-dark); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.post__nav-link:hover { background: var(--navy); color: #fff; }
.post__nav-link--next { text-align: right; }
.news-card__img--logo { background: #fff; border-bottom: 1px solid var(--line); }
.news-card__img--logo img { object-fit: contain; padding: 10px; }

/* Team page */
.team-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; margin-bottom: 64px; }
.team-intro__photo { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.team-intro__text .section__title { margin: 8px 0 10px; }
.team-intro__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.section__head--roster { margin-bottom: 26px; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.roster { grid-template-columns: repeat(6, 1fr); }
.player { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px -16px rgba(15,37,81,.55); transition: transform .25s, box-shadow .25s, border-color .25s; }
.player:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.player__photo--empty { display: grid; place-items: center; background: linear-gradient(150deg, var(--navy), var(--navy-deep)) !important; color: var(--gold); font-weight: 800; font-size: 2rem; letter-spacing: .04em; }
.player__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; background: var(--bg-light); transition: transform .5s; }
.player:hover .player__photo { transform: scale(1.05); }
.player__name { position: relative; padding: 12px 12px 2px; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.player__team { padding: 0 12px 12px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.player::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 1; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.player:hover::before { transform: scaleX(1); }
.team-news-head { margin-top: 72px; }

/* Schedule */
.schedule { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.schedule__main { min-width: 0; }
.schedule__main .section__title { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 520px; }
.table:has(.table__empty) { min-width: 0; }
.table th { text-align: left; background: var(--navy); color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: 14px 18px; font-weight: 700; }
.table td { padding: 14px 18px; border-top: 1px solid var(--line); font-weight: 500; }
.table tbody tr:nth-child(even) td { background: var(--bg-light); }
.table tr.is-past td { color: var(--muted); font-weight: 400; }
.table__empty td { text-align: center; padding: 48px 20px; color: var(--muted); }
.table__empty svg { width: 46px; height: 46px; color: var(--gold); display: block; margin: 0 auto 12px; }
.table__empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.table__empty a { color: var(--navy); font-weight: 700; text-decoration: underline; }
.place { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.place__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); margin-bottom: 14px; }
.place__icon svg { width: 24px; height: 24px; fill: var(--gold); }
.place h3 { font-size: 1.2rem; margin-bottom: .4em; }
.place p { color: var(--muted); }
.place__link { display: block; margin-top: 18px; font-weight: 700; color: var(--navy); }
.place--wide { display: flex; align-items: center; gap: 20px; margin-top: 36px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.place--wide .place__icon { margin: 0; flex-shrink: 0; background: var(--gold); }
.place--wide .place__icon svg { fill: var(--navy-deep); }
.place--wide > div:nth-child(2) { flex: 1; }
.place--wide p { color: rgba(255,255,255,.75); margin: 0; }

/* About */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: .25s; }
.value:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.value .team__badge { margin: 0 0 6px; }
.value strong { font-size: 1.2rem; font-weight: 800; }
.value span:last-child { color: var(--gold); font-weight: 600; font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 15vw, 210px); gap: 12px; }
.gallery__item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--navy); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item:nth-child(6) img { object-position: center 30%; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 30px; background: rgba(5,12,30,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-deep); font-size: 1.8rem; cursor: pointer; line-height: 1; }

/* Press slider */
.pslider { overflow: hidden; border-radius: 20px; }
.pslider__track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.pslider__slide { flex: 0 0 100%; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pslider__img { display: grid; place-items: center; width: 100%; height: clamp(280px, 42vw, 560px); padding: 20px; border: 0; background: var(--bg-light); cursor: zoom-in; }
.pslider__img img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--shadow); border-radius: 6px; }
.pslider figcaption { display: flex; align-items: center; gap: 14px; padding: 18px 24px; font-weight: 700; font-size: 1.05rem; border-top: 3px solid var(--gold); }
.pslider figcaption span { font-weight: 900; color: var(--gold-dark); font-size: .9rem; }
.pslider__arrows { display: flex; gap: 10px; }
.pslider__arrow { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.7rem; line-height: 1; padding-bottom: 4px; cursor: pointer; transition: .2s; }
.pslider__arrow:hover { background: var(--navy); color: #fff; }
.pslider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pslider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: #c9d2e3; cursor: pointer; transition: .3s; }
.pslider__dots button.is-active { width: 26px; background: var(--navy); }

/* Documents */
.docs { display: grid; gap: 14px; max-width: 820px; }
.doc { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: .25s; }
.doc:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.doc__icon { position: relative; width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--navy); }
.doc__icon svg { width: 28px; height: 28px; fill: #fff; }
.doc__icon em { position: absolute; bottom: -6px; right: -8px; font-style: normal; font-size: .62rem; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--gold); color: var(--navy-deep); }
.doc__text { flex: 1; }
.doc__text strong { display: block; font-size: 1.15rem; }
.doc__text small { color: var(--muted); font-size: .9rem; }
.doc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc__actions .btn { padding: .7em 1.2em; font-size: .82rem; }

/* ---------- Teams ---------- */
.teams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.team { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.2; isolation: isolate; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .6s; z-index: -2; }
.team::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,26,59,.95) 0%, rgba(10,26,59,.35) 45%, rgba(10,26,59,0) 70%); transition: background .3s; }
.team:hover img { transform: scale(1.08); }
.team:hover::after { background: linear-gradient(0deg, rgba(10,26,59,.95) 0%, rgba(34,74,140,.55) 60%, rgba(34,74,140,.2) 100%); }
.team__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.team__badge { display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 14px; background: var(--gold-grad); color: var(--navy-deep); font-weight: 900; font-size: 1.15rem; margin-bottom: 12px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.team h3 { font-size: 1.3rem; margin: 0 0 4px; text-transform: uppercase; }
.team__more { font-size: .88rem; font-weight: 600; color: var(--gold); opacity: .85; transition: .2s; }
.team:hover .team__more { opacity: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media > img:first-child { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.about__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 24px; background: var(--gold-grad); z-index: -1; opacity: .9; }
.about__badge { position: absolute; width: 130px; right: -30px; top: -40px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.3)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.about__text p { color: var(--muted); font-size: 1.05rem; }
.about__text .section__title { margin-bottom: .5em; }
.pride { list-style: none; padding: 0; margin: 1.6em 0 2em; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pride li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg-light); border-radius: 12px; font-weight: 600; font-size: .94rem; line-height: 1.35; border-left: 4px solid var(--gold); }
.pride span { font-size: 1.3rem; }

/* ---------- Join banner ---------- */
.join { background: var(--gold-grad); position: relative; overflow: hidden; }
.join::before { content: ""; position: absolute; right: -80px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); background: url("../images/logo.png") center / contain no-repeat; opacity: .12; }
.join__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; flex-wrap: wrap; }
.join h2 { color: var(--navy-deep); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .25em; }
.join p { color: var(--navy-dark); font-weight: 600; margin: 0; }

/* ---------- Social ---------- */
.social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social__card { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); color: #fff; transition: transform .25s, box-shadow .25s; }
.social__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.social__card svg { width: 46px; height: 46px; fill: currentColor; flex-shrink: 0; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.18); }
.social__card span { display: flex; flex-direction: column; font-size: .92rem; opacity: .95; }
.social__card strong { font-weight: 800; font-size: 1.25rem; }
.social__card--fb { background: linear-gradient(135deg, #1877f2, #0d4fb3); }
.social__card--ig { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.social__card--yt { background: linear-gradient(135deg, #ff2a2a, #b80000); }

/* ---------- Contact + donate ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__info .section__title { margin-bottom: .4em; }
.contact__line { display: flex; align-items: center; gap: 16px; padding: 12px 0; font-weight: 700; font-size: 1.18rem; }
.contact__line small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact__line:hover { color: var(--navy); }
.contact__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); flex-shrink: 0; }
.contact__icon svg { width: 22px; height: 22px; fill: var(--gold); }
.contact__cta { margin-top: 22px; }

.donate { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold); }
.donate::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 260px; height: 260px; background: url("../images/logo.png") center / contain no-repeat; opacity: .08; }
.donate__logo { width: 76px; margin-bottom: 16px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.donate h3 { font-size: 1.45rem; color: var(--gold); text-transform: uppercase; }
.donate p { color: rgba(255,255,255,.8); font-size: .98rem; }
.donate dl { margin: 0; display: grid; gap: 4px; position: relative; z-index: 1; }
.donate dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.6); font-weight: 600; margin-top: 8px; }
.donate dd { margin: 0; font-weight: 700; }
.iban { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.iban code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 1.05rem; letter-spacing: .06em; background: rgba(255,255,255,.1); padding: 8px 12px; border-radius: 8px; }
.copy { border: 0; background: var(--gold); color: var(--navy-deep); font: 700 .82rem var(--font); padding: 9px 14px; border-radius: 8px; cursor: pointer; transition: .2s; }
.copy:hover { filter: brightness(1.1); }

/* ---------- Partners ---------- */
.partners { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; }
.partner { width: 240px; height: 130px; display: grid; place-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .3s; }
.partner img { max-height: 94px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.partner:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.partner:hover img { transform: scale(1.05); }
.partner__name { font-weight: 800; font-size: 1.15rem; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 56px 0 28px; border-top: 4px solid; border-image: var(--gold-grad) 1; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { display: block; font-weight: 800; color: #fff; font-size: 1.3rem; }
.footer__brand span { font-size: .88rem; }
.footer__logo { width: 64px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; font-size: .94rem; }
.footer__links a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; font-size: .85rem; transition: .2s; }
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer__copy { padding-top: 22px; font-size: .84rem; text-align: center; color: rgba(255,255,255,.5); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1081px) and (max-width: 1200px) {
  .nav { gap: 10px; }
  .nav__link { padding: 10px 8px; font-size: .86rem; }
  .nav__cta { padding: .65em 1em; font-size: .8rem; }
}
@media (max-width: 1080px) {
  .post { grid-template-columns: minmax(0, 1fr) 300px; }
  .news--grid { grid-template-columns: repeat(3, 1fr); }
  .roster { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .burger { display: flex; position: relative; z-index: 60; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px; padding: 96px 24px 32px; background: var(--navy-deep); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; box-shadow: -20px 0 50px rgba(0,0,0,.4); transition: transform .35s ease; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 14px 12px; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(255,255,255,.06); box-shadow: none; margin: 2px 0 8px; }
  .nav__item--drop.is-open .nav__drop { display: block; }
  .nav__item--drop.is-open svg { transform: rotate(180deg); }
  .nav__drop a { color: #fff; }
  .nav__drop a:hover { background: rgba(255,255,255,.1); color: var(--gold); }
  .teams { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .post { grid-template-columns: 1fr; }
  .post__media { position: static; max-width: 560px; }
  .post__media--logo { max-width: 260px; }
  /* news row becomes a swipe slider */
  .news--row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 6px 20px 18px; scroll-padding: 0 20px; }
  .news--row::-webkit-scrollbar { display: none; }
  .news--row .news-card { flex: 0 0 78%; scroll-snap-align: start; }
  .news--row .news-card:hover { transform: none; }
  .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
  .slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #c9d2e3; cursor: pointer; transition: .3s; }
  .slider-dots button.is-active { width: 24px; background: var(--navy); }
  .news--grid { grid-template-columns: 1fr 1fr; }
  .roster { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .team-intro, .schedule { grid-template-columns: minmax(0, 1fr); }
  .contact-band__inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .hero { min-height: 0; justify-content: flex-start; padding-top: var(--header-h); }
  .hero__slides { position: relative; left: 0; aspect-ratio: 4 / 3; width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(10,26,59,1) 0%, rgba(10,26,59,0) 30%); }
  .hero__content { padding-top: 0; padding-bottom: 28px; margin-top: -14px; }
  .hero__content > * { max-width: none; }
  .hero__bar { position: static; padding: 0 0 32px; }
  .header:not(.is-solid) { background: linear-gradient(180deg, rgba(10,26,59,.85), rgba(10,26,59,0)); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__badge { width: 96px; right: 8px; top: -30px; }
  .about__media::before { inset: 16px -12px -16px 16px; }
  .social { grid-template-columns: 1fr; }
  .teams { grid-template-columns: 1fr 1fr; }
  .team:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .news--grid { grid-template-columns: 1fr; }
  .news--row .news-card { flex-basis: 84%; }
  .roster { grid-template-columns: 1fr 1fr; }
  .player__name { font-size: .88rem; }
  .values { grid-template-columns: 1fr 1fr; }
  .post__nav { grid-template-columns: 1fr; }
  .post__nav-link--next { text-align: left; }
  .place--wide { flex-direction: column; align-items: flex-start; }
  .doc { flex-wrap: wrap; }
  .doc__actions { width: 100%; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 44px; }
  :root { --header-h: 68px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; }
  .hero__controls { display: none; }
  .hero__dot { padding: 6px 11px; font-size: .76rem; }
  .pride { grid-template-columns: 1fr; }
  .contact__cta { width: 100%; white-space: normal; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 page ---------- */
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
a.partner { text-decoration: none; }

/* ---------- Schedule on phones: each match becomes a small card instead of a wide table ---------- */
@media (max-width: 640px) {
  .table--matches { display: block; min-width: 0; }
  .table--matches thead { display: none; }
  .table--matches tbody { display: block; }
  .table--matches tr { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; row-gap: 4px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .table--matches tr:first-child { border-top: 0; }
  .table--matches tr:nth-child(even) { background: var(--bg-light); }
  .table--matches td { display: block; padding: 0; border: 0; background: none !important; }
  .table--matches td:empty { display: none; }
  .table--matches .m-date { grid-row: 1; grid-column: 1; font-weight: 800; color: var(--navy); }
  .table--matches .m-time { grid-row: 1; grid-column: 2; color: var(--muted); }
  .table--matches .m-result { grid-row: 1; grid-column: 3; font-weight: 800; color: var(--navy); }
  .table--matches .m-match { grid-column: 1 / -1; font-weight: 700; }
  .table--matches .m-venue { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
  .table--matches tr.is-past .m-date, .table--matches tr.is-past .m-result { color: var(--muted); }
}
