:root {
  --ink: #0d1825;
  --muted: #5a6777;
  --line: #d8e1ec;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --blue: #0d55b8;
  --blue-dark: #07346f;
  --green: #177c57;
  --gold: #d99b18;
  --red: #c63b35;
  --shadow: 0 18px 48px rgba(13, 24, 37, 0.14);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  font-size: 72px;
  max-width: 900px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 22px;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(var(--container), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #26384c;
  text-decoration: none;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--blue-dark);
  background: #e9f1fb;
}

.primary-nav .language-link {
  color: #fff;
  background: var(--green);
}

.primary-nav .language-link:hover {
  color: #fff;
  background: #126848;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle svg,
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 680px;
  isolation: isolate;
  display: grid;
  align-items: end;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.compact-hero {
  min-height: 470px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 14, 24, 0.84), rgba(4, 14, 24, 0.42), rgba(4, 14, 24, 0.18)),
    linear-gradient(0deg, rgba(4, 14, 24, 0.68), rgba(4, 14, 24, 0));
}

.hero-content {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 42px;
}

.hero-content.single {
  display: block;
  max-width: 900px;
  margin-left: max(20px, calc((100% - var(--container)) / 2));
}

.hero h1,
.hero h2,
.hero .hero-lede {
  color: #fff;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-lede {
  max-width: 720px;
  font-size: 20px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ce0bd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(13, 85, 184, 0.28);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary,
.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.button.ghost {
  color: var(--blue-dark);
  border-color: var(--line);
  background: #fff;
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(5, 16, 30, 0.7);
  box-shadow: var(--shadow);
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-panel .text-link {
  color: #8ce0bd;
}

.stat-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.stat-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  min-height: 120px;
  padding: 24px;
  display: grid;
  align-content: center;
  border-left: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 1px solid var(--line);
}

.stat-item strong {
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.stat-item span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  font-size: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dbe5ef;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.photo-card:hover img {
  transform: scale(1.035);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  overflow: hidden;
  border-radius: 8px;
  background: #dbe5ef;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.split-copy p {
  font-size: 18px;
}

.alt {
  background: #fff;
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  padding-right: max(20px, calc((100% - var(--container)) / 2));
}

.pillar-grid,
.value-grid,
.staff-grid,
.fee-grid,
.facts-grid,
.partner-grid {
  display: grid;
  gap: 16px;
}

.pillar-grid,
.staff-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid,
.fee-grid,
.facts-grid {
  grid-template-columns: repeat(4, 1fr);
}

.partner-grid {
  grid-template-columns: repeat(5, 1fr);
}

.instagram-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  padding-right: max(20px, calc((100% - var(--container)) / 2));
  background: #fff;
}

.instagram-shell {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 24px;
  align-items: stretch;
}

.instagram-copy,
.instagram-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.instagram-copy {
  padding: 30px;
  display: grid;
  align-content: center;
}

.instagram-copy .button {
  justify-self: start;
  margin-top: 8px;
}

.instagram-panel {
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
}

.instagram-panel iframe,
.instagram-panel blockquote {
  width: 100% !important;
  max-width: 100% !important;
}

.instagram-placeholder {
  min-height: 320px;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 85, 184, 0.88), rgba(23, 124, 87, 0.76)),
    url('/public/images/fcleki/fcleki-photo-2.jpg') center / cover;
}

.instagram-placeholder span {
  color: #8ce0bd;
  font-weight: 900;
}

.instagram-placeholder strong {
  font-size: 38px;
  line-height: 1;
}

.instagram-placeholder p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
}

.info-card,
.staff-card,
.fee-card,
.fact-item,
.partner-logo,
.match-widget,
.contact-details,
.contact-form,
.statement-item,
.player-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(13, 24, 37, 0.08);
}

.info-card,
.staff-card,
.fee-card,
.fact-item,
.statement-item,
.player-card {
  padding: 24px;
}

.info-card p,
.staff-card p,
.player-card p {
  margin-bottom: 0;
}

.partner-logo {
  height: 118px;
  padding: 18px;
  display: grid;
  place-items: center;
}

.partner-logo img {
  max-height: 72px;
  object-fit: contain;
}

.motto-band {
  padding: 74px 20px;
  color: #fff;
  text-align: center;
  background: var(--blue-dark);
}

.motto-band h2 {
  margin: 0;
  color: #fff;
}

.match-section {
  width: min(1280px, calc(100% - 40px));
}

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

.match-widget {
  min-height: 320px;
  padding: 22px;
}

.match-widget.featured,
.match-widget.table-wide {
  grid-column: 1 / -1;
}

.widget-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.widget-head h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.torneopal-widget {
  min-height: 160px;
  margin-top: 18px;
  overflow-x: auto;
}

.priority-note {
  margin: 12px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.torneopal-widget:empty + .empty-note {
  display: block;
}

.empty-note {
  display: none;
  margin-top: 14px;
}

.local-table-wrap,
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td,
.torneopal-widget :where(th, td) {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th,
.torneopal-widget :where(th) {
  color: #35475b;
  background: #eef4f9;
  font-size: 13px;
  text-transform: uppercase;
}

.highlight-row td,
.fcleki-priority-row :where(td),
.torneopal-widget :where(tr):has(td):hover td {
  background: #e9f6ef;
}

.fcleki-priority-row :where(td:first-child, th:first-child)::before,
.fcleki-priority-row:not(tr)::before {
  content: "FC LeKi";
  display: inline-flex;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.facts-section {
  padding-bottom: 20px;
}

.fact-item {
  font-weight: 800;
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.fee-card strong {
  color: var(--blue);
  font-size: 28px;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  align-items: start;
  padding: 40px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
}

.contact-strip h2,
.contact-strip p,
.contact-strip .eyebrow,
.contact-strip li {
  color: #fff;
}

.contact-strip .check-list {
  margin-top: 0;
}

.avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.staff-card strong {
  display: block;
  margin: -8px 0 12px;
  color: var(--green);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.player-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.player-card h3 {
  margin: 10px 0 8px;
}

.player-card.is-extra {
  display: none;
}

.roster-grid.is-expanded .player-card.is-extra {
  display: block;
}

.roster-toggle {
  margin-top: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.contact-details,
.contact-form {
  padding: 30px;
}

.contact-details dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-details dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form h2 {
  margin-bottom: 4px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #304256;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-status.success {
  color: #0c5138;
  background: #dff4e9;
}

.form-status.error {
  color: #7d201c;
  background: #fde4e1;
}

.statement-list {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.statement-item {
  border-left: 6px solid var(--blue);
}

.site-footer {
  color: #fff;
  background: #071f43;
}

.footer-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
}

.motto,
.site-footer p,
.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links,
.site-footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #8ce0bd;
}

.footer-copy {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-content,
  .split,
  .contact-layout,
  .contact-strip,
  .instagram-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }

  .split.reverse .split-media {
    order: initial;
  }

  .pillar-grid,
  .staff-grid,
  .value-grid,
  .fee-grid,
  .facts-grid,
  .partner-grid,
  .roster-grid,
  .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 8px;
  }

  .nav-shell {
    justify-content: flex-start;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 18px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .primary-nav {
    display: grid;
  }

  .primary-nav a {
    width: 100%;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .compact-hero {
    min-height: 420px;
  }

  .hero-content,
  .hero-content.single,
  .section,
  .match-section {
    width: min(100% - 28px, var(--container));
  }

  .hero-content,
  .hero-content.single {
    margin: 0 auto;
    padding: 84px 0 52px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .stat-shell,
  .pillar-grid,
  .staff-grid,
  .value-grid,
  .fee-grid,
  .facts-grid,
  .partner-grid,
  .roster-grid,
  .match-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .stat-item,
  .stat-item:last-child {
    border-right: 1px solid var(--line);
  }

  .photo-grid {
    grid-auto-rows: 220px;
  }

  .photo-card.wide {
    grid-column: auto;
  }

  .split-media img {
    height: 340px;
  }

  .contact-strip {
    padding: 28px;
  }

  .match-widget.featured,
  .match-widget.table-wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: calc(100% - 32px);
    gap: 12px;
  }

  .nav-toggle {
    flex: 0 0 44px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero-content,
  .hero-content.single {
    width: min(360px, calc(100% - 28px));
  }

  .hero-copy,
  .hero-lede,
  .hero-panel {
    max-width: 100%;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    flex: none;
    min-width: 0;
  }
}
