:root {
  --bg: #f6f5ff;
  --surface: #ffffff;
  --surface-soft: #edeaff;
  --text: #17152d;
  --muted: #585674;
  --primary: #693cff;
  --primary-dark: #4922d4;
  --secondary: #06b8db;
  --accent: #c9f538;
  --pink: #ff4e8c;
  --border: #dfdbf5;
  --shadow: 0 18px 46px rgba(61, 32, 159, 0.12);
  --shadow-hover: 0 22px 48px rgba(78, 40, 205, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: 88px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 7px 17px rgba(73, 34, 212, 0.14);
}

.brand-text {
  font-size: 1.12rem;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--surface-soft);
  outline: none;
}

.nav-menu a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(105, 60, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle:focus-visible,
.hero-button:focus-visible,
.contact-box a:focus-visible,
.card-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.menu-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-line:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-line:nth-child(3) {
  opacity: 0;
}

.menu-toggle.is-open .menu-line:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-banner {
  padding: 10px 10px 0;
  background: #17102f;
}

.top-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.hero {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 64px 16px;
  background:
    radial-gradient(circle at 83% 20%, rgba(201, 245, 56, 0.94) 0 7%, transparent 7.3%),
    radial-gradient(circle at 89% 56%, rgba(255, 78, 140, 0.58) 0 14%, transparent 14.3%),
    radial-gradient(circle at 70% 80%, rgba(6, 184, 219, 0.72) 0 19%, transparent 19.3%),
    linear-gradient(122deg, #1b1048 0%, #5225c9 52%, #7a45ff 100%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -70px;
  width: 270px;
  height: 160px;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-radius: 48px;
  transform: rotate(-10deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 7px 16px;
  border-radius: 999px;
  color: #201252;
  background: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: 1.15rem;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 32px;
  padding: 0 28px;
  border-radius: 999px;
  color: #25134f;
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 9px 0 #a4d016;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-button:hover {
  transform: translateY(3px);
  box-shadow: 0 6px 0 #a4d016;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-tags span {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.93rem;
  font-weight: 700;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 30%, rgba(201, 245, 56, 0.88) 0 10%, transparent 10.4%),
    radial-gradient(circle at 75% 88%, rgba(6, 184, 219, 0.45) 0 18%, transparent 18.5%),
    linear-gradient(118deg, #221250 0%, #693cff 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.section {
  padding: 72px 16px;
  background: var(--surface);
}

.section.muted {
  background: #eeecff;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-title-link {
  color: inherit;
  text-decoration: none;
}

.section-title-link:hover,
.section-title-link:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 7px;
  outline: none;
}

.section p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.card {
  position: relative;
  min-height: 174px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card::before {
  content: "";
  display: block;
  width: 42px;
  height: 7px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--primary);
}

.card:nth-child(2)::before {
  background: var(--pink);
}

.card:nth-child(3)::before {
  background: var(--secondary);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-panel-link {
  color: inherit;
  text-decoration: none;
}

.card-panel-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.98rem;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.card-link::after {
  content: "  >";
  margin-left: 6px;
}

.club-group {
  margin-top: 44px;
}

#spolocensko-vedne,
#sportove {
  scroll-margin-top: 112px;
}

.club-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.club-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.club-heading span {
  flex: 0 0 auto;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface-soft);
  font-weight: 700;
}

.club-group.sport .club-heading span {
  color: #00687d;
  background: #d7f8ff;
}

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

.club-card {
  padding: 19px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 9px 24px rgba(61, 32, 159, 0.08);
}

.club-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.club-card h4 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1.02rem;
  line-height: 1.35;
}

.club-group.sport .club-card h4 {
  color: #007894;
}

.club-card p {
  margin: 0;
  font-size: 0.94rem;
}

.age-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  color: #4821c8;
  background: #edeaff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.club-group.sport .age-badge {
  color: #00687d;
  background: #def9ff;
}

.offer-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  padding: 28px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(120deg, #5225c9, #693cff);
}

.offer-contact p {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 700;
}

.offer-contact .hero-button {
  flex: 0 0 auto;
  margin-top: 0;
}

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

.detail-box {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-box h3 {
  margin: 0 0 10px;
}

.detail-box p {
  font-size: 0.98rem;
}

.about-content {
  display: grid;
  gap: 38px;
}

.about-lead {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 94% 18%, rgba(201, 245, 56, 0.65) 0 12%, transparent 12.5%),
    var(--surface-soft);
}

.about-lead h2 {
  color: var(--primary-dark);
}

.about-copy {
  max-width: 850px;
}

.about-copy p + p {
  margin-top: 18px;
}

.vision {
  max-width: 900px;
  margin: 0;
  padding: clamp(26px, 4vw, 38px);
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(118deg, #5225c9, #693cff 62%, #06b8db);
  box-shadow: var(--shadow-hover);
}

.vision p {
  max-width: 780px;
  color: #ffffff;
  font-size: clamp(1.22rem, 3vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}

.vision footer {
  margin-top: 18px;
  color: var(--accent);
  font-weight: 700;
}

.activity-title {
  margin-bottom: -16px;
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.activity-item {
  min-height: 174px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.activity-item h3 {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.activity-item p {
  font-size: 0.94rem;
}

.file-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 9px 24px rgba(61, 32, 159, 0.06);
}

.file-info {
  display: grid;
  gap: 3px;
}

.file-info strong {
  color: var(--text);
}

.file-info span {
  color: var(--muted);
  font-size: 0.9rem;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface-soft);
  font-weight: 700;
  text-decoration: none;
}

.download-link:hover,
.download-link:focus-visible {
  color: #ffffff;
  background: var(--primary);
  outline: none;
}

.document-content {
  display: grid;
  gap: 50px;
}

.document-group .file-list {
  max-width: 900px;
}

.view-link {
  background: #def9ff;
  color: #007894;
}

.view-link:hover,
.view-link:focus-visible {
  background: var(--secondary);
}

.file-status {
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.price-table th {
  color: var(--primary-dark);
  background: var(--surface-soft);
}

.fees-content {
  display: grid;
  gap: 30px;
}

.fee-highlight {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(24px, 4vw, 34px);
  border-radius: 27px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 25%, rgba(201, 245, 56, 0.9) 0 10%, transparent 10.5%),
    linear-gradient(118deg, #5225c9, #693cff 64%, #06b8db);
}

.fee-highlight p {
  color: #ffffff;
}

.fee-label {
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 700;
}

.fee-amount {
  flex: 0 0 auto;
  font-size: clamp(3rem, 7vw, 4.6rem) !important;
  font-weight: 800;
  line-height: 1;
}

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

.payment-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.payment-card h2 {
  margin-bottom: 3px;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.payment-period {
  display: inline-flex;
  align-items: center;
  width: max-content;
  height: 32px;
  margin: 0;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--primary-dark) !important;
  background: var(--surface-soft);
  font-size: 0.84rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-card.secondary .payment-period {
  color: #00687d !important;
  background: #d7f8ff;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 17px;
  background: #f7f5ff;
}

.payment-card.secondary .payment-option {
  background: #edfcff;
}

.payment-option strong {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 1.35rem;
}

.payment-card.secondary .payment-option strong {
  color: #007894;
}

.payment-option span {
  color: var(--muted);
}

.fee-note {
  max-width: 820px;
  padding: 20px 23px;
  border-left: 5px solid var(--accent);
  border-radius: 0 17px 17px 0;
  background: #f7f5ff;
}

.fee-note strong {
  color: var(--primary-dark);
}

.fee-note p {
  margin-top: 7px;
  font-size: 0.98rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.notice,
.contact-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.notice span {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.photo-tile {
  display: grid;
  place-items: end start;
  min-height: 220px;
  padding: 18px;
  border-radius: 23px;
  color: #ffffff;
  font-weight: 800;
  background:
    radial-gradient(circle at 82% 18%, var(--accent) 0 12%, transparent 12.4%),
    linear-gradient(145deg, #693cff, #4222b7);
  transition: transform 0.18s ease;
}

.photo-tile:nth-child(2) {
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.28) 0 13%, transparent 13.4%),
    linear-gradient(145deg, #ff4e8c, #d9276b);
}

.photo-tile:nth-child(3) {
  background:
    radial-gradient(circle at 80% 20%, var(--accent) 0 13%, transparent 13.4%),
    linear-gradient(145deg, #08b8da, #087dca);
}

.photo-tile:hover {
  transform: rotate(-1deg) translateY(-4px);
}

.album-content {
  display: grid;
  gap: 22px;
}

.album-intro {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary-dark) !important;
  background: var(--surface-soft);
  font-weight: 700;
  width: max-content;
}

.album-list {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.album {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.album-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 64px 14px 14px;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.album-header::-webkit-details-marker {
  display: none;
}

.album-header:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.album-header::after {
  content: "+";
  position: absolute;
  right: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--primary-dark);
  background: var(--surface-soft);
  font-size: 1.45rem;
  font-weight: 700;
}

.album[open] .album-header::after {
  content: "-";
}

.album-cover {
  width: 110px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 15px;
  object-fit: cover;
}

.album-heading {
  display: grid;
  gap: 5px;
}

.album-heading strong {
  color: var(--text);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.album-heading small {
  color: var(--primary-dark);
  font-weight: 700;
}

.album-description {
  max-width: 980px !important;
  margin: 0 22px 22px !important;
  padding: 18px 20px;
  border-radius: 17px;
  background: #f7f5ff;
}

.album-images {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0 22px 22px;
}

.album-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.26;
  border-radius: 13px;
  background: var(--surface-soft);
}

.album-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.album-photo:hover img,
.album-photo:focus-visible img {
  transform: scale(1.055);
}

.album-photo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.viewer-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  color: #ffffff;
  background: rgba(14, 10, 29, 0.96);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lightbox-title {
  display: grid;
  gap: 2px;
}

.lightbox-title strong {
  font-size: 1.15rem;
}

.lightbox-title span {
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.viewer-tool,
.viewer-close,
.viewer-nav {
  border: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  cursor: pointer;
}

.viewer-tool,
.viewer-close {
  display: grid;
  place-items: center;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  font-size: 1.45rem;
}

.viewer-tool.zoom-value {
  min-width: 78px;
  padding: 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.viewer-close {
  margin-left: 8px;
  background: rgba(255, 78, 140, 0.32);
  font-size: 1.9rem;
}

.viewer-tool:hover,
.viewer-close:hover,
.viewer-nav:hover,
.viewer-tool:focus-visible,
.viewer-close:focus-visible,
.viewer-nav:focus-visible {
  color: var(--text);
  background: var(--accent);
  outline: none;
}

.viewer-nav {
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 60px;
  height: 76px;
  border-radius: 20px;
  font-size: 3rem;
  line-height: 1;
}

.viewer-prev {
  grid-row: 2;
  grid-column: 1;
}

.viewer-next {
  grid-row: 2;
  grid-column: 3;
}

.lightbox-stage {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  touch-action: none;
}

.lightbox-stage.can-pan {
  cursor: grab;
}

.lightbox-stage.is-panning {
  cursor: grabbing;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  user-select: none;
  transition: transform 0.15s ease;
}

.lightbox-stage.is-panning .lightbox-image {
  transition: none;
}

.lightbox-help {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: none !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.92rem !important;
}

.contact {
  background: #f1edff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(265px, 0.72fr) minmax(370px, 1.28fr);
  gap: 34px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-address {
  margin: 0;
  color: var(--text) !important;
  font-size: 1.13rem !important;
  font-weight: 700;
}

.city-crest {
  display: block;
  flex: 0 0 auto;
  width: min(78px, 100%);
  height: auto;
  padding: 5px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-box a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.map-panel {
  display: grid;
  gap: 17px;
}

.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.map-heading h2 {
  margin-bottom: 0;
}

.map-heading a {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  color: #007894;
  background: #def9ff;
  font-weight: 700;
  text-decoration: none;
}

.map-heading a:hover,
.map-heading a:focus-visible {
  color: #ffffff;
  background: var(--secondary);
  outline: none;
}

.contact-map {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 24px 16px;
  color: #ffffff;
  background: #17102f;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(48, 24, 122, 0.16);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    min-height: 48px;
    padding: 0 14px;
  }

  .cards,
  .photo-grid,
  .two-column,
  .detail-grid,
  .club-list,
  .activity-list,
  .payment-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .offer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .album-images {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lightbox {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 10px;
    padding: 12px;
  }

  .viewer-nav {
    width: 50px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .navbar {
    width: min(100% - 24px, 1120px);
  }

  .brand-logo {
    width: 68px;
    height: 55px;
  }

  .brand-text {
    max-width: 135px;
    white-space: normal;
    line-height: 1.15;
  }

  .hero {
    min-height: 470px;
    padding: 44px 16px;
  }

  .top-banner {
    padding: 6px 6px 0;
  }

  .top-banner img {
    border-radius: 14px;
  }

  .section {
    padding: 54px 16px;
  }

  .club-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .club-card-header {
    flex-direction: column;
  }

  .fee-highlight,
  .payment-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .file-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-map {
    min-height: 330px;
  }

  .album-header {
    gap: 14px;
    padding-right: 54px;
  }

  .album-cover {
    width: 82px;
    height: 62px;
  }

  .album-description {
    margin: 0 14px 14px !important;
    padding: 14px;
  }

  .album-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 0 14px 14px;
  }

  .lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 8px;
  }

  .lightbox-toolbar {
    align-items: flex-start;
    gap: 8px;
  }

  .lightbox-title strong {
    font-size: 1rem;
  }

  .viewer-tool,
  .viewer-close {
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }

  .viewer-tool.zoom-value {
    display: none;
  }

  .viewer-close {
    margin-left: 2px;
  }

  .viewer-nav {
    width: 42px;
    height: 56px;
    border-radius: 14px;
    font-size: 2.5rem;
  }

  .lightbox-help {
    text-align: center;
    font-size: 0.8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition: none;
  }
}
