/* ============================================================
   FANA STAVHOPPGALLA — Design System
   ============================================================ */

/* Fonts and flag icons loaded via <link> tags in each HTML file */

/* ---- Variables ---- */
:root {
  --red:        #CC0000;
  --red-dark:   #A30000;
  --red-light:  #FF1A1A;
  --dark:       #0E0E0E;
  --dark-2:     #1A1A1A;
  --dark-3:     #2A2A2A;
  --text:       #1C1C1E;
  --text-muted: #6B6B6B;
  --border:     #E4E4E4;
  --bg-light:   #F7F7F7;
  --white:      #FFFFFF;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h:      68px;
  --section-v:  90px;
  --t:          0.22s ease;
  --radius:     4px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Language toggle ---- */
html[data-lang="no"] .lang-en   { display: none !important; }
html[data-lang="en"] .lang-no   { display: none !important; }
.lang-no { display: block; }
html[data-lang="no"] .lang-no   { display: block !important; }
/* inline text swaps */
html[data-lang="no"] .lang-no-i { display: inline !important; }
html[data-lang="en"] .lang-no-i { display: none !important; }
html[data-lang="no"] .lang-en-i { display: none !important; }
html[data-lang="en"] .lang-en-i { display: inline !important; }
.lang-no-i { display: inline; }


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 0.4rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.red-bar {
  width: 48px; height: 4px;
  background: var(--red);
  margin-bottom: 1.6rem;
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: var(--section-v) 0; }
.section--dark  { background: var(--dark-2); color: var(--white); }
.section--light { background: var(--bg-light); }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t);
}
.nav--transparent { background: transparent; }
.nav--solid {
  background: rgba(14,14,14,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav__inner {
  width: 100%; max-width: 1180px;
  margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.12em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.nav__logo em { color: var(--red); font-style: normal; }

.nav__right {
  display: flex; align-items: center; gap: 2rem;
}
.nav__links {
  display: flex; align-items: center;
  gap: 1.8rem; list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color var(--t);
  position: relative;
  padding-bottom: 3px;
}
.nav__links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--t);
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* Language button */
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 5px 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t);
}
.lang-btn:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.lang-btn .lang-flag { font-size: 1rem; }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: white;
  transition: var(--t);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__carousel {
  position: absolute; inset: 0;
  will-change: transform;
  overflow: hidden;
}
/* Gradient fallback when no images load */
.hero__carousel::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    #1a0000 0%, #2d0505 30%, #0e0e0e 70%, #000 100%);
  z-index: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transition: opacity 1.8s ease;
  z-index: 1;
}
.hero__slide.active {
  opacity: 1;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.5)  50%,
    rgba(0,0,0,0.82) 100%
  );
}
/* Subtle diagonal texture */
.hero__texture {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 4px,
    rgba(255,255,255,1) 4px, rgba(255,255,255,1) 5px
  );
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 960px;
  padding: 0 28px;
}
.hero__logo {
  height: 110px;
  width: 110px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 0.92;
}
.hero__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  flex: 1; max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--white);
  line-height: 0.9;
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero__title span { color: var(--red); }
.hero__meta {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.2rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.hero__meta-dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__cta {
  margin-top: 2.5rem;
  display: flex; align-items: center;
  justify-content: center; gap: 1rem;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute; bottom: 2rem;
  left: 50%; transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeInDown 1.5s 1s both;
}
.hero__scroll-arrow {
  width: 20px; height: 20px;
  border-right: 1px solid rgba(255,255,255,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounceDown 1.5s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
  50%       { transform: rotate(45deg) translateY(4px); opacity: 0.8; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}


/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--red);
  padding: 22px 0;
}
.stats-bar__inner {
  display: flex; align-items: center;
  justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stats-bar__item {
  text-align: center;
  color: var(--white);
  padding: 8px 3rem;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0.04em;
}
.stats-bar__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 3px;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--t);
}
.btn--red {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
}
.btn--outline-dark {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--text);
}
.btn svg { flex-shrink: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: gap var(--t);
}
.link-arrow:hover { gap: 10px; }


/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  vertical-align: middle; margin-left: 4px;
}
.badge--pb { background: #FFF3CD; color: #7D5A00; border: 1px solid #FFD76A; }
.badge--sb { background: #D8EEFF; color: #004F8B; border: 1px solid #92C7F0; }
.badge--nr { background: var(--red); color: white; }


/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--dark);
  padding: calc(var(--nav-h) + 70px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header__bg {
  position: absolute; inset: 0;
  opacity: 0.12;
  background-size: cover; background-position: center;
  filter: grayscale(60%);
}
.page-header__inner { position: relative; z-index: 1; }
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  letter-spacing: 0.05em;
}
.page-header__sub {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 0.6rem;
}
.page-header__rule {
  width: 44px; height: 3px;
  background: var(--red);
  margin: 1.5rem auto 0;
}


/* ============================================================
   RESULTS
   ============================================================ */
.results-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  gap: 0;
}
.results-tab {
  padding: 12px 30px;
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: 0.08em;
  background: none; border: none;
  color: var(--text-muted);
  position: relative;
  transition: color var(--t);
}
.results-tab::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--red);
  transform: scaleX(0);
  transition: transform var(--t);
}
.results-tab.active  { color: var(--text); }
.results-tab.active::after,
.results-tab:hover::after { transform: scaleX(1); }

.results-panel { display: none; }
.results-panel.active { display: block; }

.results-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.results-table {
  width: 100%; border-collapse: collapse;
  min-width: 560px;
}
.results-table thead th {
  text-align: left; padding: 11px 14px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.results-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.results-table tbody tr:hover { background: var(--bg-light); }
.results-table td {
  padding: 13px 14px;
  vertical-align: middle;
}
.results-table .col-place {
  width: 56px; text-align: center;
  font-family: var(--font-display);
  font-size: 1.25rem; color: var(--text-muted);
}
.results-table .col-flag {
  width: 48px; text-align: center;
}
.results-table .col-flag .fi {
  display: inline-block;
  width: 24px; height: 16px;
  border-radius: 2px;
}
.results-table .col-name { font-weight: 600; white-space: nowrap; }
.results-table .col-nat {
  width: 60px;
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.06em;
}
.results-table .col-result {
  width: 110px;
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.04em;
}
.results-table .col-extra { width: 80px; }
.results-table .col-extra.nh {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.place-1 { color: #C8952A !important; }
.place-2 { color: #909090 !important; }
.place-3 { color: #A0522D !important; }

/* Highlights card (home) */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.highlights-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.highlights-card__head {
  background: var(--dark);
  padding: 14px 22px;
  display: flex; align-items: center;
  justify-content: space-between;
}
.highlights-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: 0.08em;
  color: var(--white);
}
.highlights-row {
  display: grid;
  grid-template-columns: 44px 28px 1fr 100px;
  align-items: center; gap: 10px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.highlights-row:last-child { border-bottom: none; }
.highlights-row:hover { background: var(--bg-light); }
.highlights-row__place {
  font-family: var(--font-display);
  font-size: 1.2rem; text-align: center;
  color: var(--text-muted);
}
.highlights-row__flag .fi {
  width: 22px; height: 14px;
  display: inline-block; border-radius: 2px;
}
.highlights-row__info { overflow: hidden; }
.highlights-row__name {
  font-weight: 600; font-size: 0.92rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.highlights-row__nat {
  font-size: 0.72rem; color: var(--text-muted);
}
.highlights-row__result {
  font-family: var(--font-display);
  font-size: 1.35rem; letter-spacing: 0.04em;
  text-align: right;
}


/* ============================================================
   ATHLETE CARDS
   ============================================================ */
.athletes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.4rem;
}
.athlete-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.athlete-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}
.athlete-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark-2);
  position: relative;
}
.athlete-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.athlete-card:hover .athlete-card__photo img {
  transform: scale(1.06);
}
.athlete-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1f1f1f 0%, #2e2e2e 100%);
  font-size: 3rem;
  color: rgba(255,255,255,0.08);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}
.athlete-card__body { padding: 14px 16px; }
.athlete-card__flag {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 6px;
}
.athlete-card__flag .fi {
  width: 20px; height: 13px;
  border-radius: 2px; flex-shrink: 0;
}
.athlete-card__nat {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.08em;
}
.athlete-card__name {
  font-weight: 700; font-size: 0.92rem;
  margin-bottom: 8px; line-height: 1.3;
}
.athlete-card__pb {
  display: flex; align-items: baseline; gap: 6px;
}
.athlete-card__pb-val {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--red);
  letter-spacing: 0.04em;
}
.athlete-card__pb-lbl {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}


/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-wrap { max-width: 720px; margin: 0 auto; }
.schedule-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  padding: 0 0 2rem;
  position: relative;
}
.schedule-item:last-child { padding-bottom: 0; }
.schedule-time {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--red);
  letter-spacing: 0.04em;
  padding-top: 3px;
  padding-right: 20px;
  text-align: right;
  position: relative;
}
.schedule-time::after {
  content: '';
  position: absolute; right: -5px; top: 9px;
  width: 10px; height: 10px;
  background: var(--red); border-radius: 50%;
}
.schedule-body {
  padding-left: 24px;
  border-left: 2px solid var(--border);
  position: relative;
}
.schedule-item:last-child .schedule-body {
  border-left-color: transparent;
}
.schedule-tag {
  display: inline-block;
  background: var(--red); color: white;
  padding: 2px 8px; border-radius: 3px;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.schedule-event {
  font-weight: 700; font-size: 1rem;
  margin-bottom: 3px;
}
.schedule-detail {
  font-size: 0.875rem; color: var(--text-muted);
  line-height: 1.5;
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter {
  display: flex; gap: 10px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 50px;
  background: none;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-muted);
  transition: all var(--t);
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(204,0,0,0.05);
}

.gallery-masonry {
  columns: 3;
  column-gap: 10px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  background: var(--bg-light);
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.4s ease;
}
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--t);
  display: flex; align-items: center; justify-content: center;
}
.gallery-item__icon {
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--t);
  color: white;
  background: rgba(0,0,0,0.5);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(0,0,0,0.25); }
.gallery-item:hover .gallery-item__icon { opacity: 1; transform: scale(1); }
.gallery-item:hover img { transform: scale(1.04); }

/* placeholder tiles */
.gallery-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.06);
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: 0.1em;
}
.gallery-placeholder:nth-child(3n+1) { aspect-ratio: 3/4; }
.gallery-placeholder:nth-child(5n+2) { aspect-ratio: 16/9; }

/* Videos */
.videos-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.video-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card video {
  width: 100%; display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.video-card__info { padding: 14px 16px; }
.video-card__title {
  font-weight: 600; font-size: 0.9rem;
  color: var(--white); margin-bottom: 3px;
}
.video-card__meta {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__img {
  max-width: 92vw; max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
}
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none;
  color: rgba(255,255,255,0.6); font-size: 2.2rem;
  transition: color var(--t); line-height: 1;
}
.lightbox__close:hover { color: white; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t); cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.4); font-size: 0.8rem; letter-spacing: 0.1em;
}


/* ============================================================
   INFO PAGE
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}
.info-block {}
.info-block__icon {
  width: 42px; height: 42px;
  background: rgba(204,0,0,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); margin-bottom: 1rem;
}
.info-block__icon svg { flex-shrink: 0; }
.info-block__title {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.info-block__body {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.8;
}
.info-block__body strong { color: var(--text); }
.info-block__body a { color: var(--red); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  background: var(--bg-light);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img {
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  transform: translate(10px, 10px);
  pointer-events: none;
  z-index: -1;
}
.about-text p {
  color: var(--text-muted); font-size: 0.95rem;
  line-height: 1.85; margin-bottom: 1.2rem;
}


/* ============================================================
   GALLERY PREVIEW (home)
   ============================================================ */
.gallery-preview {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 8px;
}
.gallery-preview__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-light);
  position: relative;
}
.gallery-preview__item:first-child { grid-row: span 2; }
.gallery-preview__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-preview__item:hover img { transform: scale(1.05); }
.preview-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1c1c1c, #2e2e2e);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  border-top: 3px solid var(--red);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo-img {
  height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 1rem;
  display: block;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.7rem; letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.footer__brand em { color: var(--red); font-style: normal; }
.footer__tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7; max-width: 280px;
  margin-bottom: 1.2rem;
}
.footer__social {
  display: flex; gap: 10px;
}
.footer__social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--t);
}
.footer__social a:hover {
  border-color: var(--red);
  color: white; background: var(--red);
}
.footer__col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer__links a:hover { color: white; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  :root { --section-v: 64px; }
  .highlights-grid,
  .about-grid,
  .info-grid { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-v: 52px; --nav-h: 60px; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(14,14,14,0.98);
    flex-direction: column;
    padding: 1.5rem 28px;
    gap: 0.8rem; align-items: flex-start;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    pointer-events: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav__links.open { transform: translateY(0); pointer-events: all; }
  .nav__hamburger { display: flex; }
  .nav__right .lang-btn { margin-right: 10px; }

  .gallery-preview {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 160px);
  }
  .gallery-preview__item:first-child { grid-column: span 2; grid-row: span 1; }

  .athletes-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
  .gallery-masonry { columns: 2; }
  .stats-bar__item { padding: 8px 1.2rem; }
  .footer__grid { grid-template-columns: 1fr; }

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