/* Salsa Spirit – brand colours taken from the weekly schedule flyer */
:root {
  --purple: #3a1683;
  --purple-dark: #2a0f63;
  --purple-ink: #2c1260;
  --lavender: #f2effa;
  --lavender-2: #e6defa;
  --yellow: #f2d14f;
  --yellow-dark: #e0bb22;
  --text: #2c1a52;
  --muted: #6b5d8a;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(58, 22, 131, .10);
  --font-head: "Montserrat Alternates", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { font-family: var(--font-head); color: var(--purple); line-height: 1.15; margin: 0 0 .5em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--purple);
  background: var(--purple); color: var(--white); font-weight: 700; font-family: var(--font-body);
  font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--purple); }
.btn-ghost:hover { background: var(--lavender); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--purple-ink); }
.btn-yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn-small { padding: .5em 1.1em; font-size: .9rem; }
.btn-danger { background: #fff; color: #b3261e; border-color: #e7b4b0; }
.btn-danger:hover { background: #fdecea; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.bar { display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--yellow); margin: .5em auto; }
.bar-lg { width: 90px; height: 5px; margin: .2em 0 1.2em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lavender-2);
}
.nav .container { max-width: 1320px; }  /* the menu needs more room than the page content */
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { margin-right: 28px; }  /* never touches the menu */
.nav-logo img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-logo, .nav-links a { flex: none; white-space: nowrap; }
@media (max-width: 1400px) { .nav-links { gap: 18px; } .nav-links .socials-nav { display: none; } }
.nav-links a:not(.btn) { color: var(--purple); text-decoration: none; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--yellow-dark); }
/* БГ | EN switch */
.nav-links { margin-left: auto; }
.lang-switch { display: flex; flex: none; margin-left: 22px; padding: 3px; border-radius: 999px; background: var(--lavender); }
.lang-switch a { min-width: 36px; padding: 5px 9px; border-radius: 999px; text-align: center; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; color: var(--purple); text-decoration: none; line-height: 1.2; }
.lang-switch a.active { background: var(--purple); color: var(--white); }
.lang-switch a:not(.active):hover { background: var(--lavender-2); }
@media (max-width: 1400px) { .lang-switch { margin-left: 16px; } }
/* Narrower than 1000px the menu collapses into the ☰ button (tablets and phones) */
@media (max-width: 1000px) {
  .nav .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--lavender-2); padding: 8px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--lavender); }
  .nav-links .btn { margin-top: 14px; }
  .nav-links .socials-nav { display: flex; margin-top: 14px; gap: 10px; }
  .nav-links .socials-nav a.social { width: 42px; height: 42px; padding: 0; border: 0; flex: none; }
  .lang-switch { margin-left: auto; margin-right: 4px; }
}
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--purple); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; background: linear-gradient(180deg, #fff 0%, var(--lavender) 100%); }
.hero-swoosh { position: absolute; width: 420px; height: 420px; color: var(--purple); pointer-events: none; }
.hero-swoosh-tl { top: -40px; left: -60px; }
.hero-swoosh-br { bottom: -60px; right: -60px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hl { color: var(--purple); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 90%, transparent 90%); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--white);
  box-shadow: var(--shadow); color: var(--purple); font-weight: 600; text-decoration: none; font-size: .95rem;
}
.pill-new, .badge-new {
  /* Plain Montserrat: the "Alternates" w looks like a Cyrillic ш */
  background: var(--yellow); color: var(--purple-ink); font-weight: 700; font-style: normal;
  font-family: var(--font-body); font-size: .72rem; letter-spacing: .08em; line-height: 1.5;
  padding: 2px 9px; border-radius: 999px;
}
.hero-card { background: var(--purple); color: var(--white); border-radius: 24px; padding: 30px; box-shadow: 0 24px 50px rgba(58, 22, 131, .3); }
.hero-card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.hero-card-title::after { content: ""; display: block; width: 50px; height: 4px; background: var(--yellow); border-radius: 4px; margin-top: 10px; }
.hero-list { list-style: none; margin: 0; padding: 0; }
.hero-list li {
  display: grid; grid-template-columns: 82px 54px 1fr; gap: 10px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.hero-list .day { color: #cdbff0; font-size: .9rem; }
.hero-list .time { color: var(--yellow); font-weight: 700; }
.hero-list .what { font-weight: 600; }
.hero-list small { display: block; font-weight: 400; color: #cdbff0; }
.hero-card-link { display: inline-block; margin-top: 16px; color: var(--yellow); font-weight: 700; text-decoration: none; }

/* Sections */
.section { padding: 90px 0; }
.section-tint { background: var(--lavender); }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.section-title::after { content: ""; display: block; width: 80px; height: 5px; background: var(--yellow); border-radius: 5px; margin: 14px auto 44px; }
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; margin-bottom: 24px; }

/* Class cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--lavender); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--purple); color: var(--yellow); font-size: 1.4rem; margin-bottom: 16px;
}
.card h3 { font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Schedule (mirrors the flyer) */
.schedule {
  display: grid; gap: 12px;
  grid-template-columns: 110px repeat(var(--days, 5), minmax(0, 1fr));
  grid-template-rows: auto repeat(var(--times, 2), minmax(190px, auto));
}
.sch-head {
  grid-column: var(--c); grid-row: 1;
  background: var(--lavender-2); color: var(--purple); font-weight: 700; text-align: center;
  padding: 16px 8px; border-radius: 14px; font-family: var(--font-head);
}
.sch-time {
  grid-column: 1; grid-row: var(--r);
  background: var(--purple); color: var(--white); border-radius: 14px;
  display: grid; place-items: center; font-weight: 700; font-size: 1.35rem;
}
.sch-cell {
  grid-column: var(--c); grid-row: var(--r); position: relative;
  background: var(--white); border-radius: 14px; padding: 26px 14px;
  text-align: center; display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 2px 0 var(--lavender-2);
}
.sch-cell.empty { background: rgba(255, 255, 255, .5); box-shadow: none; }
.sch-cell h3 { font-size: 1.3rem; margin: 0 0 6px; }
.sch-cell p { margin: 0; color: var(--purple-ink); }
.sch-cell .date { font-weight: 600; font-size: .95rem; }
.sch-cell .badge-new { position: absolute; top: 10px; right: 10px; }
.sch-meta { display: none; }
.sch-cell.cancelled { background: #fbf7ff; }
.sch-cell.cancelled h3 { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }
.sch-cell.cancelled > p:not(.cancel-note), .sch-cell.cancelled .bar { opacity: .45; }
.badge-cancel {
  position: absolute; top: 10px; right: 10px; background: #c62828; color: #fff; font-weight: 700;
  font-size: .68rem; letter-spacing: .08em; line-height: 1.5; padding: 2px 9px; border-radius: 999px;
}
.cancel-note { color: #c62828 !important; font-weight: 700; font-size: .9rem; }
.hero-list li.is-cancelled .t { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.6); opacity: .7; }
.hero-list .hero-cancel { color: #ff9b9b !important; text-decoration: none; display: block; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.posts > .muted { grid-column: 1 / -1; }
.post { background: var(--white); border: 1px solid var(--lavender-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lavender); flex-shrink: 0; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.post-img.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--lavender) 0%, var(--lavender-2) 100%); }
.post-img.placeholder img { position: static; width: 72%; height: auto; object-fit: contain; cursor: default; opacity: .9; }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: none; height: 196px; overflow: hidden; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pin { background: var(--yellow); color: var(--purple-ink); font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.post time { font-size: .85rem; color: var(--muted); font-weight: 600; }
.post h3, .post-modal h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.post h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-text { margin: 0; white-space: pre-line; word-wrap: break-word; }
.post .post-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post h3 + .post-text { -webkit-line-clamp: 2; }
.post-more { margin-top: auto; padding: 8px 0 0; align-self: flex-start; background: none; border: 0; color: var(--purple); font: inherit; font-weight: 700; cursor: pointer; }
.post-more:hover { color: var(--yellow-dark); }
.post-modal { background: var(--white); border-radius: var(--radius); max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; cursor: default; }
.post-modal .modal-img { max-height: 60vh; width: 100%; object-fit: contain; background: var(--lavender); border-radius: 0; }
.post-modal .modal-body { padding: 24px 26px 28px; }
.post-modal .modal-close { float: right; background: var(--lavender); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; color: var(--purple); cursor: pointer; }
#more-posts { margin-top: 36px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20, 8, 50, .9); display: grid; place-items: center; z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox > img { max-height: 90vh; max-width: 100%; border-radius: 10px; }

/* Viber */
.viber {
  position: relative; overflow: hidden;
  background: var(--purple); color: var(--white); border-radius: 28px;
  padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.viber::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 3px solid rgba(242, 209, 79, .35); right: -160px; bottom: -220px;
}
.viber h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.viber p { color: #e1d8f7; margin: 0 0 10px; }
.viber .viber-hint { color: var(--yellow); font-weight: 600; margin-bottom: 26px; }
.viber-qr { position: relative; background: var(--white); padding: 18px; border-radius: 22px; }
.viber-qr img { width: 240px; height: 240px; }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 26px; line-height: 1.8; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.map-consent { height: 400px; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at 30% 20%, var(--lavender-2), #fff 70%); }
.map-placeholder { max-width: 360px; color: var(--purple); }
.map-placeholder svg { margin: 0 auto 8px; color: var(--purple); }
.map-placeholder p { margin: 0 0 16px; color: var(--text); }
.map-placeholder .map-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* Footer */
.footer { background: var(--purple-dark); color: #cdbff0; padding: 30px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer p { margin: 0; }
.footer a { color: var(--yellow); text-decoration: none; }


/* Pinned (featured) post: wide card above the grid */
.pinned-posts { display: grid; gap: 26px; margin-bottom: 26px; }
.pinned-posts:empty { display: none; }
.post-featured { flex-direction: row; border: 2px solid var(--yellow); }
.post-featured .post-img { width: 50%; aspect-ratio: auto; min-height: 320px; }
.post-featured .post-body { height: auto; flex: 1; padding: 32px 34px; justify-content: center; }
.post-featured h3 { font-size: 1.6rem; -webkit-line-clamp: 3; }
.post-featured .post-text, .post-featured h3 + .post-text { -webkit-line-clamp: 6; font-size: 1.02rem; }
.post-featured .post-more { margin-top: 18px; }

/* Gallery grid (homepage preview + gallery page) */
.g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: -20px 0 20px; }
.g-head p { margin: 0; }
.g-head-link { font-weight: 700; text-decoration: none; color: var(--purple); }
.g-head-link:hover { color: var(--yellow-dark); }
.g-cta { margin-top: 36px; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.g-grid > .muted { grid-column: 1 / -1; }
.g-tile {
  position: relative; aspect-ratio: 1; overflow: hidden; border: 0; padding: 0; cursor: pointer;
  border-radius: 14px; background: var(--purple); display: block; width: 100%;
}
.g-tile img, .g-tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; pointer-events: none; }
.g-tile:hover img, .g-tile:focus-visible img, .g-tile:hover video { transform: scale(1.05); }
.g-tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.g-noimg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.g-play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(242, 209, 79, .95); box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.g-play::after {
  content: ""; position: absolute; left: 23px; top: 18px;
  border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--purple-ink);
}
.g-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left;
  color: #fff; font-size: .85rem; font-weight: 600; line-height: 1.3;
  background: linear-gradient(transparent, rgba(30, 10, 70, .85));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -16px 0 32px; }
.g-filter {
  border: 2px solid var(--lavender-2); background: #fff; color: var(--purple); font: inherit; font-weight: 700;
  padding: .5em 1.3em; border-radius: 999px; cursor: pointer;
}
.g-filter.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.nav-links a[aria-current="page"] { color: var(--yellow-dark); }

/* Gallery folders */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 20px; }
.album-card { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--lavender-2); transition: transform .2s, box-shadow .2s; }
.album-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(58, 22, 131, .18); }
.album-info { padding: 16px 18px 18px; }
.album-info h3 { font-size: 1.15rem; margin: 0 0 4px; }
.album-info .album-meta { margin: 0; }
.album-meta { color: var(--muted); font-size: .9rem; font-weight: 600; }
.collage { display: grid; gap: 3px; aspect-ratio: 4 / 3; background: var(--lavender); }
.collage.n1 { grid-template-columns: 1fr; }
.collage.n2 { grid-template-columns: 1fr 1fr; }
.collage.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.collage.n3 .collage-cell:first-child { grid-row: span 2; }
.collage.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage.n5 .collage-cell:first-child { grid-row: span 2; }
.collage-cell { position: relative; overflow: hidden; min-height: 0; background: var(--purple); }
.collage-cell img, .collage-cell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage-cell.empty { display: grid; place-items: center; background: var(--lavender); }
.collage-cell.empty img { position: static; width: 60%; height: auto; object-fit: contain; }
.collage-play { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(242, 209, 79, .95); }
.collage-play::after { content: ""; position: absolute; left: 10px; top: 7px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--purple-ink); }
.g-subtitle { font-size: 1.5rem; margin: 40px 0 20px; text-align: center; }
.back-link { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 18px; }
.album-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 0 0 6px; }
.album-desc { max-width: 760px; margin: 10px 0 30px; white-space: pre-line; }
.album-desc:empty { margin: 0 0 24px; }
.album-mode .g-filters { justify-content: flex-start; margin-top: 0; }

/* Gallery viewer */
.lightbox-dark { background: rgba(14, 5, 36, .96); cursor: default; padding: 0; }
.viewer { position: relative; width: 100vw; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.v-stage { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 60px 70px 0; min-height: 0; }
/* Sized from the viewport so tall (portrait) photos and videos always fit on screen */
.v-stage img, .v-stage video {
  display: block; width: auto; height: auto; border-radius: 8px; object-fit: contain; background: #000;
  max-width: calc(100vw - 140px); max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px);
}
.v-stage iframe { width: min(calc(100vw - 140px), 1100px, calc((100dvh - 130px) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
.v-bar { width: 100%; max-width: 1100px; display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px 22px; color: #e1d8f7; }
.v-caption { margin: 0; }
.v-counter { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.v-close, .v-nav {
  position: absolute; z-index: 2; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1;
}
.v-close:hover, .v-nav:hover { background: rgba(255, 255, 255, .25); }
.v-close { top: 14px; right: 14px; }
.v-nav { top: 50%; transform: translateY(-50%); }
.v-prev { left: 14px; }
.v-next { right: 14px; }
.v-nav::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px;
  border: solid #fff; border-width: 0 3px 3px 0;
}
.v-prev::after { transform: translate(-30%, -50%) rotate(135deg); }
.v-next::after { transform: translate(-70%, -50%) rotate(-45deg); }

@media (max-width: 1000px) {
  .g-grid { grid-template-columns: repeat(3, 1fr); }
  .albums { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .post-featured { flex-direction: column; }
  .post-featured .post-img { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .post-featured .post-body { padding: 22px; }
  .v-stage { padding: 64px 0 0; }
  .v-stage img, .v-stage video { max-width: 100vw; max-height: calc(100dvh - 190px); border-radius: 0; }
  .v-stage iframe { width: 100vw; }
  .v-nav { top: auto; bottom: 14px; transform: none; }
  .v-bar { padding: 14px 72px 22px; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-height: 76px; justify-content: center; }
}
@media (max-width: 600px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .albums { grid-template-columns: 1fr; gap: 18px; }
  .post-featured h3 { font-size: 1.3rem; }
}

/* Cookie banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 460px; margin: 0 auto;
  background: #fff; color: var(--text); border-radius: 18px; padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(30, 10, 70, .25); border: 2px solid var(--lavender-2);
  display: flex; align-items: center; gap: 18px;
}
.consent p { margin: 0; font-size: .92rem; flex: 1; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
/* Phones: a slim bar pinned to the bottom edge, so it doesn't cover the hero */
@media (max-width: 600px) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 16px 16px 0 0; border-width: 2px 0 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .consent p { font-size: .82rem; line-height: 1.35; }
  .consent-actions { gap: 6px; }
  .consent .btn-small { padding: 8px 12px; }
}

/* Social icons */
.socials { display: flex; gap: 10px; }
.social { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--yellow); }
.social:hover { background: var(--yellow); color: var(--purple-ink); }
.socials-light { margin: 0 0 22px; }
.footer-inner { align-items: center; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--lavender); box-shadow: var(--shadow); position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo img.about-logo { object-fit: contain; padding: 12%; }
.about-text p { font-size: 1.12rem; margin: 0 0 14px; }
.about-follow { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-weight: 700; color: var(--purple); }
.about-follow:has(.socials[hidden]) { display: none; }
.socials-about .social, .socials-nav .social { background: var(--lavender); color: var(--purple); }
.socials-about .social:hover, .socials-nav .social:hover { background: var(--purple); color: var(--yellow); }
.socials-nav { gap: 6px; }
.socials-nav .social { width: 34px; height: 34px; }
.section-title.left + .about-text { margin-top: -8px; }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 2px solid var(--lavender-2); border-radius: 16px; overflow: hidden; }
.faq-item[open] { border-color: var(--purple); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--purple); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--purple-ink);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; line-height: 1; transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 22px 18px; }
.faq-a p { margin: 0 0 8px; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; max-width: 1000px; margin: 0 auto; }
.price-card {
  position: relative; background: var(--lavender); border: 2px solid transparent; border-radius: var(--radius);
  padding: 30px 22px 26px; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.price-card h3 { font-size: 1.1rem; margin: 0; min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
.price-card .bar { margin: 12px auto 14px; }
.price-value { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--purple); }
.price-note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.price-hl { background: var(--purple); border-color: var(--purple); box-shadow: var(--shadow); }
.price-hl h3, .price-hl .price-value { color: var(--white); }
.price-hl .price-note { color: var(--lavender-2); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--yellow); color: var(--purple-ink); font-weight: 800; font-size: .75rem;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
}
/* MultiSport */
.hero-ms { display: flex; align-items: center; gap: 16px; max-width: 560px; margin: 22px 0 4px; padding: 14px 18px;
  background: var(--white); border: 2px solid var(--yellow); border-radius: 18px; box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hero-ms:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(58, 22, 131, .16); }
.hero-ms-logos { display: flex; align-items: center; gap: 10px; flex: none; }
.hero-ms-logos img { width: 112px; height: auto; }
.hero-ms-logos img.cf { width: 52px; }
.hero-ms-text { flex: 1; font-size: .95rem; line-height: 1.35; }
.hero-ms-text strong { display: block; color: var(--purple); font-size: 1.02rem; }
.hero-ms-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--purple-ink); font-weight: 800; }
#prices + .section-ms { padding-top: 0; }
.ms { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; max-width: 1000px; margin: 0 auto;
  background: var(--lavender); border: 2px solid var(--lavender-2); border-radius: 28px; padding: 44px 52px; }
.ms-cards { position: relative; width: 100%; max-width: 400px; aspect-ratio: 400 / 330; margin: 0 auto; }
.ms-cards img { position: absolute; height: auto; filter: drop-shadow(0 18px 28px rgba(30, 10, 70, .28)); }
.ms-card-a { width: 80%; left: 0; top: 4%; transform: rotate(-8deg); }
.ms-card-b { width: 72%; right: 0; bottom: 4%; transform: rotate(6deg); }
.ms-logos { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.ms-logos img { width: 170px; height: auto; }
.ms-logos img.cf { width: 76px; }
.ms-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.ms-text .bar { margin: 14px 0 18px; }
.ms-text p { margin: 0 0 10px; }
.ms-text .btn { margin-top: 12px; }
@media (max-width: 720px) {
  .ms { grid-template-columns: 1fr; gap: 26px; padding: 32px 22px; text-align: center; justify-items: center; }
  .ms-cards { max-width: 300px; }
  .ms-logos { justify-content: center; }
  .ms-logos img { width: 150px; }
  .ms-logos img.cf { width: 64px; }
  .ms-text .bar { margin: 14px auto 18px; }
  .hero-ms { gap: 12px; padding: 12px 14px; margin-top: 18px; }
  .hero-ms-logos { flex-direction: column; gap: 6px; }
  .hero-ms-logos img { width: 84px; }
  .hero-ms-logos img.cf { width: 44px; }
  .hero-ms-text { font-size: .85rem; }
  .hero-ms-text strong { font-size: .95rem; }
  .hero-ms-arrow { width: 28px; height: 28px; }
}
.prices-note { max-width: 720px; margin: 28px auto 0; text-align: center; font-size: .95rem; }
.prices-note p { margin: 0 0 6px; }
@media (max-width: 600px) {
  .prices { grid-template-columns: 1fr 1fr; gap: 16px; }
  .price-card { padding: 26px 12px 20px; }
  .price-card h3 { font-size: .95rem; }
  .price-value { font-size: 1.9rem; }
}

/* Text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose code { background: var(--lavender); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--lavender-2); padding: 8px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--lavender); }
  .nav-links .btn { margin-top: 14px; }
  .socials-nav { margin-top: 14px; gap: 10px; }
  .nav-links .socials-nav a.social { width: 42px; height: 42px; padding: 0; border: 0; flex: none; }

  /* Schedule collapses into a day-by-day list */
  .schedule { grid-template-columns: 1fr; grid-template-rows: none; }
  .sch-head, .sch-time, .sch-cell.empty { display: none; }
  .sch-cell { grid-column: auto; grid-row: auto; text-align: left; padding: 20px 22px; border-left: 6px solid var(--purple); }
  .sch-cell .bar { margin: 8px 0; }
  .sch-meta { display: block; font-weight: 700; color: var(--yellow-dark); font-size: .9rem; margin-bottom: 4px; }

  .viber { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; text-align: center; justify-items: center; }
  .viber::before { display: none; }
  .viber .bar-lg { margin-left: auto; margin-right: auto; }
  .viber .socials-light { justify-content: center; }
  .viber-qr { justify-self: center; }
  .location { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-swoosh { width: 240px; height: 240px; }
  .cards, .posts { grid-template-columns: 1fr; }
  .nav-logo img { height: 40px; }
  .hero-card { padding: 24px 20px; }
  .hero-list li { grid-template-columns: 70px 48px 1fr; }
  .viber-qr img { width: 200px; height: 200px; }
  .map-consent { height: 400px; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at 30% 20%, var(--lavender-2), #fff 70%); }
.map-placeholder { max-width: 360px; color: var(--purple); }
.map-placeholder svg { margin: 0 auto 8px; color: var(--purple); }
.map-placeholder p { margin: 0 0 16px; color: var(--text); }
.map-placeholder .map-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.map iframe { height: 320px; }
}

/* ---------- Phones: tighter, shorter page ---------- */
.sm-only { display: none; }
@media (max-width: 600px) {
  .sm-only { display: inline; }
  .lg-only { display: none; }
  .section { padding: 48px 0; }
  .section-title::after { margin: 12px auto 28px; }
  .section-title.left::after { margin-bottom: 18px; }

  /* Hero: headline, MultiSport/CoolFit, short intro, two buttons side by side.
     The weekly summary card is hidden – the full schedule is a tap away. */
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: 2.1rem; margin-bottom: .35em; }
  .hero-swoosh { width: 170px; height: 170px; opacity: .55; }
  .hero-swoosh-tl { top: -50px; left: -70px; }
  .lead { font-size: 1rem; line-height: 1.55; margin: 16px 0 0; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .hero-cta .btn { padding: .8em .6em; font-size: .95rem; }
  .hero-card { display: none; }
  .pill { margin-bottom: 14px; font-size: .85rem; }

  /* Styles: compact 2×2 tiles */
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 16px 14px; }
  .card-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 1.05rem; margin-bottom: 10px; }
  .card h3 { font-size: 1.02rem; margin-bottom: .35em; }
  .card p { font-size: .82rem; line-height: 1.45; }

  /* Schedule: one slim row per class */
  .schedule { gap: 8px; }
  .sch-cell { display: block; padding: 10px 14px 10px 16px; border-left-width: 5px; }
  .sch-cell .bar { display: none; }
  .sch-meta { font-size: .8rem; margin-bottom: 1px; }
  .sch-cell h3 { display: inline; font-size: 1.05rem; margin: 0; }
  .sch-cell h3 + p { display: inline; margin-left: 6px; font-size: .88rem; color: var(--muted); }
  .sch-cell .date, .sch-cell .cancel-note { font-size: .8rem; margin-top: 2px; }
  .sch-cell .badge-new, .sch-cell .badge-cancel { top: 10px; right: 10px; }

  /* Prices, About, FAQ, gallery */
  .price-card { padding: 20px 10px 16px; }
  .about { gap: 22px; }
  .about-photo { aspect-ratio: 16 / 10; }
  .faq-list { gap: 10px; }
  .g-head { margin: -10px 0 14px; }

  /* Viber: on a phone the QR code is no use – the button is enough */
  .viber { padding: 32px 20px; gap: 0; }
  .viber-qr, .viber .viber-hint { display: none; }
  .viber p { margin-bottom: 18px; }

  /* Map: smaller placeholder, the address is already written next to it */
  .map-consent { height: 220px; }
  .map-placeholder svg, .map-placeholder > p:first-of-type { display: none; }
  .map iframe { height: 280px; }
  .location { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
