:root {
  --bg: #eef7fe;
  --surface: #ffffff;
  --ink: #102033;
  --muted: #50657a;
  --line: rgba(16, 32, 51, 0.12);
  --brand: #82c7f3;
  --brand-dark: #2d77b8;
  --dark: #0f2740;
  --dark-soft: #153757;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(56, 116, 173, 0.14);
  --radius: 26px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[lang="bg"] body {
  font-size: 15px;
}

html[lang="bg"] .main-nav a,
html[lang="bg"] .button,
html[lang="bg"] .section-label,
html[lang="bg"] .eyebrow {
  letter-spacing: 0.06em;
}

html[lang="bg"] .main-nav a {
  font-size: 0.91rem;
  letter-spacing: 0.02em;
}

html[lang="bg"] .button {
  min-height: 42px;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0 12px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

html[lang="bg"] .hero-actions {
  gap: 8px;
}

html[lang="bg"] .hero-actions .button {
  min-height: 52px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: inherit;
  font-weight: 600;
  padding: 0 24px;
  letter-spacing: 0.08em;
}

html[lang="bg"] .section-label {
  font-size: 1rem;
}

html[lang="bg"] h2,
html[lang="bg"] .gallery-heading {
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.02;
}

html[lang="bg"] h3 {
  font-size: 1.65rem;
  line-height: 1.04;
}

html[lang="bg"] .section-copy,
html[lang="bg"] .section-subcopy,
html[lang="bg"] .schedule-note,
html[lang="bg"] .contact-list,
html[lang="bg"] .coach-content p,
html[lang="bg"] .feature-card p,
html[lang="bg"] .program-card p,
html[lang="bg"] .join-form label,
html[lang="bg"] .join-form input,
html[lang="bg"] .join-form select,
html[lang="bg"] .join-form textarea,
html[lang="bg"] .site-footer p {
  line-height: 1.65;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(130, 199, 243, 0.38), transparent 24%),
    radial-gradient(circle at left 20%, rgba(199, 230, 252, 0.5), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef6fd 48%, #e8f3fc 100%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 35, 58, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: 0.02em;
}

.brand-text strong,
.eyebrow,
.section-label,
.button,
.main-nav a,
h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
}

.brand-text strong {
  font-size: 1.45rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.84);
}

.nav-extras {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-button {
  min-width: 48px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--brand);
  color: var(--dark);
}

.main-nav a,
.nav-cta,
.button {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.main-nav a {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta {
  color: var(--dark);
  background: var(--brand);
}

.button:hover,
.nav-cta:hover,
.main-nav a:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(120deg, rgba(8, 27, 47, 0.16), rgba(14, 53, 89, 0.28)),
    url("assets/images/hero-akim-kids.jpg?v=6")
      center 34%/cover;
  transform: scale(1.03);
  animation: heroFloat 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 29, 52, 0.68) 0%, rgba(13, 57, 94, 0.28) 48%, rgba(15, 76, 127, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 25, 43, 0.5) 0%, rgba(8, 31, 53, 0.04) 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 154px 0 96px;
  max-width: 680px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 1.12rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0.01em;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 8rem);
}

h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

h3 {
  font-size: 1.9rem;
}

.hero-copy {
  margin: 18px 0 12px;
  font-size: clamp(1.16rem, 1.75vw, 1.48rem);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.42;
  max-width: 34rem;
}

.hero-location {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary {
  color: var(--dark);
  background: var(--brand);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.button-secondary-dark {
  color: var(--dark);
  border-color: rgba(16, 32, 51, 0.16);
  background: rgba(130, 199, 243, 0.18);
}

.button-dark {
  color: var(--white);
  background: var(--dark);
}

.section {
  padding: 110px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(13, 37, 60, 0.98), rgba(18, 51, 81, 0.98));
  color: var(--white);
}

.section-accent {
  padding: 70px 0;
}

.section-grid,
.coach-grid,
.schedule-grid,
.join-grid,
.contact-grid {
  display: grid;
  gap: 42px;
}

.section-grid,
.schedule-grid,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.section-copy,
.section-subcopy,
.schedule-note,
.contact-list,
.coach-content p,
.feature-card p,
.program-card p,
.join-form label,
.join-form input,
.join-form select,
.join-form textarea,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.section-dark .feature-card p,
.section-dark .program-card p,
.section-dark .section-subcopy,
.section-dark .site-footer p,
.section-dark .hero-location,
.section-dark .join-grid p,
.section-dark .join-form label {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.gallery-heading {
  font-size: clamp(3rem, 6vw, 5rem);
}

.program-grid,
.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.features-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.program-card,
.feature-card,
.schedule-table,
.join-form,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.section-dark .program-card,
.section-dark .join-form {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.program-card,
.feature-card {
  padding: 28px;
}

.program-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-grid + .program-grid {
  margin-top: 20px;
}

.program-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: calc((100% - 40px) * 3 / 4 + 20px);
  margin-inline: auto;
}

.program-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: calc((100% - 60px) * 2 / 4 + 20px);
  margin-inline: auto;
}

.program-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.features-grid .feature-card {
  min-height: 220px;
}

.coach-grid,
.join-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.coach-photo img {
  min-height: 640px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.coach-belts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 24px 0;
}

.coach-belts li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(130, 199, 243, 0.18);
  color: var(--brand-dark);
  font-weight: 700;
}

.coaches-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.coach-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.coach-card h3 {
  margin-bottom: 14px;
}

.coach-card p {
  color: var(--muted);
}

.reviews-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(130, 199, 243, 0.34), transparent 24%),
    rgba(255, 255, 255, 0.58);
}

.reviews-section[hidden] {
  display: none;
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.reviews-intro {
  max-width: 640px;
  margin: 18px 0 0;
}

.reviews-summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 2px 12px;
  min-width: 190px;
  padding: 18px 22px;
  border: 1px solid rgba(45, 119, 184, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(56, 116, 173, 0.12);
}

.reviews-summary strong {
  grid-row: span 2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.reviews-summary-stars,
.review-stars {
  color: #e5b63c;
  letter-spacing: 0.08em;
}

.reviews-summary > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.reviews-carousel {
  position: relative;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-dark), var(--dark-soft));
  font-weight: 700;
}

.review-author,
.review-time {
  display: block;
}

.review-author {
  line-height: 1.25;
}

.review-time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.review-stars {
  display: flex;
  gap: 3px;
  margin: 22px 0 16px;
  letter-spacing: 0;
}

.review-stars span:not(.is-filled) {
  color: rgba(16, 32, 51, 0.16);
}

.review-copy {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.review-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.review-link:hover {
  text-decoration: underline;
}

.reviews-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--dark);
  box-shadow: 0 12px 28px rgba(15, 39, 64, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
}

.reviews-nav span {
  margin-top: -4px;
  font-size: 2rem;
  line-height: 1;
}

.reviews-nav:disabled {
  opacity: 0.28;
  cursor: default;
}

.reviews-prev {
  left: -24px;
}

.reviews-next {
  right: -24px;
}

.reviews-attribution {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

.reviews-attribution a {
  color: var(--brand-dark);
  font-weight: 700;
}

.gallery-actions {
  margin-top: 22px;
  justify-content: center;
}

.gallery-carousel {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  padding: 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(2, 12, 22, 0.24);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(2, 12, 22, 0.28);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.gallery-nav:disabled {
  cursor: default;
  opacity: 0.25;
}

.gallery-prev {
  left: -24px;
}

.gallery-next {
  right: -24px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: rgba(5, 18, 31, 0.92);
  backdrop-filter: blur(12px);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-stage {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.gallery-lightbox-image {
  width: min(100%, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  width: 54px;
  height: 54px;
  font-size: 2rem;
}

.schedule-table {
  overflow: hidden;
}

#schedule h2[data-i18n="scheduleTitle"] {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.schedule-row strong {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.schedule-row span {
  display: block;
  white-space: normal;
  line-height: 1.55;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #d9f0ff 0%, #a7dcfb 100%);
  box-shadow: var(--shadow);
}

.trial-banner p {
  max-width: 720px;
}

.trial-banner-inline {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}

.trial-banner-inline h2 {
  margin-bottom: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

html[lang="bg"] .trial-banner-inline h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.trial-banner-inline .button {
  align-self: flex-start;
  min-height: 56px;
  padding: 0 28px;
  font-size: 0.9rem;
}

.join-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.join-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.join-form option {
  color: var(--ink);
}

.form-status {
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-success {
  background: rgba(130, 199, 243, 0.18);
  color: #d9f3ff;
  border: 1px solid rgba(130, 199, 243, 0.35);
}

.form-status.is-error {
  background: rgba(255, 129, 129, 0.16);
  color: #ffe1e1;
  border: 1px solid rgba(255, 129, 129, 0.32);
}

.form-help {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

.join-banner-image {
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.join-banner-image img {
  max-height: 220px;
  object-fit: cover;
}

.contact-list strong {
  color: var(--ink);
}

.map-card {
  overflow: hidden;
  min-height: 420px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer {
  padding: 28px 0 40px;
  background: var(--dark);
  color: var(--white);
}

@keyframes heroFloat {
  from {
    transform: scale(1.03) translateY(0);
  }

  to {
    transform: scale(1.08) translateY(-8px);
  }
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-manage-cookies {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-banner,
.cookie-modal {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner {
  padding: 18px;
}

.cookie-banner-card {
  width: min(calc(100% - 24px), 1120px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(16, 32, 51, 0.18);
}

.cookie-banner-copy h2,
.cookie-modal-panel h2 {
  margin: 0 0 10px;
}

.cookie-banner-copy p,
.cookie-modal-copy,
.cookie-pref-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner-actions,
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cookie-modal {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 25, 41, 0.54);
}

.cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(9, 25, 41, 0.24);
}

.cookie-modal-actions {
  position: sticky;
  bottom: 0;
  padding-top: 16px;
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 24%);
}

.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.08);
  color: var(--dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-pref-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(238, 247, 254, 0.55);
}

.cookie-pref-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.cookie-pref-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(45, 119, 184, 0.12);
  color: var(--brand-dark);
  font-weight: 700;
  white-space: nowrap;
}

.cookie-pref-toggle {
  cursor: pointer;
}

.cookie-switch {
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch-ui {
  position: relative;
  width: 58px;
  height: 34px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.18);
  transition: background 180ms ease;
}

.cookie-switch-ui::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 32, 51, 0.18);
  transition: transform 180ms ease;
}

.cookie-switch input:checked + .cookie-switch-ui {
  background: var(--brand-dark);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
  transform: translateX(24px);
}

@media (max-width: 1120px) {
  .program-grid,
  .features-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

  .program-grid--three,
  .program-grid--two {
    max-width: none;
    margin-inline: 0;
  }

  .section-grid,
  .coach-grid,
  .schedule-grid,
  .join-grid,
  .contact-grid {
      grid-template-columns: 1fr;
    }

  .coaches-list {
    grid-template-columns: 1fr;
  }

  .reviews-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .gallery-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .coach-photo img {
    min-height: 520px;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gallery-lightbox-nav {
    position: fixed;
    bottom: 24px;
  }

  .gallery-lightbox-prev {
    left: calc(50% - 72px);
  }

  .gallery-lightbox-next {
    right: calc(50% - 72px);
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: block;
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .site-header.menu-open .nav-wrap {
    flex-wrap: wrap;
    padding: 18px 0;
  }

  .site-header.menu-open .main-nav {
    display: grid;
    width: 100%;
    gap: 14px;
    padding: 20px 0 8px;
  }

  .site-header.menu-open .nav-cta {
    display: inline-flex;
    margin-top: 8px;
  }

  .site-header.menu-open .nav-extras {
    width: 100%;
    justify-content: space-between;
  }

  .hero-content {
      padding-top: 164px;
      padding-bottom: 52px;
      max-width: 100%;
    }

  .hero-copy {
      font-size: clamp(1.02rem, 3.7vw, 1.22rem);
      line-height: 1.46;
      max-width: 24rem;
    }

  .hero-location {
      margin-bottom: 28px;
      font-size: 0.98rem;
    }

  .hero-actions {
      gap: 10px;
    }

  .hero-media {
      background:
        linear-gradient(120deg, rgba(8, 27, 47, 0.16), rgba(14, 53, 89, 0.28)),
        url("assets/images/hero-akim-kids.jpg?v=6")
          56% 12%/cover;
    }

  .trial-banner,
  .footer-wrap {
      flex-direction: column;
      align-items: flex-start;
  }

  .gallery-lightbox-image {
    max-height: 70vh;
  }

  .schedule-row {
      gap: 8px;
    }

  .cookie-banner-card,
  .cookie-pref-item,
  .cookie-modal-actions {
      align-items: flex-start;
      justify-content: flex-start;
    }

  .cookie-banner-card,
  .cookie-pref-item {
      flex-direction: column;
    }

  .cookie-modal-panel {
      padding: 28px 22px;
      max-height: calc(100vh - 24px);
    }

  .cookie-modal {
      place-items: start center;
      padding: 12px;
    }

  .cookie-modal-close {
      top: 14px;
      right: 14px;
    }

  .cookie-modal-actions .button {
      width: 100%;
    }

}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 84px 0;
  }

  .program-grid,
  .features-grid {
      grid-template-columns: 1fr;
    }

  .reviews-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-summary {
    min-width: 0;
  }

  .reviews-track {
    grid-auto-columns: 88%;
  }

  .reviews-nav {
    display: none;
  }

  .gallery-track {
    grid-auto-columns: 88%;
  }

  .gallery-nav {
    display: none;
  }

  .review-card {
    min-height: 340px;
    padding: 24px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .trial-banner {
    padding: 30px 24px;
  }

}
