:root {
  --bg: #f7f8fc;
  --hero-bg: #eef2ff;
  --section-bg: #f5f7ff;
  --accent-rgb: 47, 92, 255;
  --surface: #ffffff;
  --text: #21243d;
  --muted: #535776;
  --brand: #2f5cff;
  --brand-dark: #2242ba;
  --border: #dde2ff;
  --shadow: 0 10px 30px rgba(22, 33, 92, 0.08);
}

body[data-page="home"] {
  --bg: #f7f8fc;
  --hero-bg: #edf2ff;
  --section-bg: #f6f8ff;
  --accent-rgb: 47, 92, 255;
}

body[data-page="tourism"] {
  --bg: #f4fafc;
  --hero-bg: #e7f6fb;
  --section-bg: #f1f9fc;
  --accent-rgb: 40, 142, 170;
}

body[data-page="accommodation"] {
  --bg: #faf8f3;
  --hero-bg: #f6f1e6;
  --section-bg: #faf5ec;
  --accent-rgb: 176, 138, 72;
}

body[data-page="massages"] {
  --bg: #faf6fb;
  --hero-bg: #f4ebf8;
  --section-bg: #faf2fc;
  --accent-rgb: 151, 100, 182;
}

body[data-page="dance"] {
  --bg: #fff8f4;
  --hero-bg: #ffeedd;
  --section-bg: #fff5ec;
  --accent-rgb: 223, 122, 73;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 252, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.7rem;
  border-radius: 0.5rem;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand);
  background: #eef2ff;
}

.nav-link-active {
  background: var(--brand);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--hero-bg) 0%, transparent 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 300px;
  height: 300px;
  top: -90px;
  right: -80px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, rgba(var(--accent-rgb), 0) 70%);
}

.hero::after {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14) 0%, rgba(var(--accent-rgb), 0) 72%);
}

.kicker {
  margin: 0 0 0.5rem;
  color: var(--brand-dark);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.2;
}

.lead {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 70ch;
}

.section {
  position: relative;
  overflow: hidden;
  background: var(--section-bg);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero > .container,
.section > .container {
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(var(--accent-rgb), 0.08), transparent 35%),
    radial-gradient(circle at 88% 78%, rgba(var(--accent-rgb), 0.08), transparent 35%);
  pointer-events: none;
}

.section h2 {
  margin-top: 0;
}

#home-intro {
  color: var(--muted);
  max-width: 75ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(22, 33, 92, 0.12);
}

.card h3,
.feature-card h2 {
  margin-top: 0;
}

.card p,
.feature-card p {
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: underline;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.tourism-rate,
.tourism-support {
  background: #eef2ff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.65rem 0.8rem;
  margin: 0 0 0.8rem;
}

.tourism-rate {
  color: #1f2e8a;
}

.tourism-rate-title {
  margin: 0 0 0.4rem;
}

.tourism-rate-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.tourism-rate-controls label {
  font-weight: 600;
}

.tourism-currency-select {
  border: 1px solid #bfc8ff;
  border-radius: 0.45rem;
  padding: 0.35rem 0.45rem;
  background: #fff;
}

.tourism-rate-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.tourism-rate-note {
  margin: 0.25rem 0 0;
  color: #2b356f;
  font-size: 0.93rem;
}

.tourism-rate-meta {
  margin: 0.25rem 0 0;
  color: #3f4a86;
  font-size: 0.92rem;
}

.tourism-support {
  color: #30375e;
}

.tourism-support a {
  color: var(--brand);
  font-weight: 700;
}

.route-image {
  width: calc(100% + 2.4rem);
  margin: -1.1rem -1.2rem 0.9rem;
  height: 180px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 0.85rem;
  border-top-right-radius: 0.85rem;
}

.route-meta {
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.accommodation-preview {
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.accommodation-overview,
.accommodation-booking {
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.accommodation-booking a {
  color: rgb(var(--accent-rgb));
  font-weight: 700;
}

.route-dropdown {
  margin-top: 0.2rem;
}

.route-summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.route-summary::-webkit-details-marker {
  display: none;
}

.route-summary::after {
  content: " +";
  color: var(--brand);
}

.route-dropdown[open] .route-summary::after {
  content: " -";
}

.route-dropdown-panel {
  margin-top: 0.6rem;
}

details.route-dropdown:hover > *:not(summary) {
  display: block;
}

.route-sights {
  margin: 0;
  padding-left: 1.2rem;
}

.route-sights li + li {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #eef2ff;
  padding: 1.2rem 0;
}

.site-footer p {
  margin: 0.25rem 0;
  color: #373d63;
}

.footer-tagline {
  font-weight: 600;
}

/* Dance categories */
.dance-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(22, 33, 92, 0.12);
}

.dance-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.dance-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.dance-card-body h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.dance-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.dance-list li + li {
  margin-top: 0.3rem;
}

.dance-contact--spaced {
  margin-top: 2rem;
}

.dance-contact {
  margin-top: 3rem;
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dance-contact-header {
  background: rgba(var(--accent-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
  padding: 0.85rem 1.6rem;
}

.dance-contact-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.dance-contact-items {
  display: flex;
  align-items: stretch;
}

.dance-contact-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.3rem 1.6rem;
}

.dance-contact-divider {
  width: 1px;
  background: rgba(var(--accent-rgb), 0.15);
  margin: 0.75rem 0;
}

.dance-contact-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.dance-contact-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgb(var(--accent-rgb));
}

.dance-contact-value {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 500;
}

.dance-contact-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.dance-contact-link:hover {
  color: rgb(var(--accent-rgb));
}

@media (max-width: 700px) {
  .dance-contact-items {
    flex-direction: column;
  }

  .dance-contact-divider {
    width: auto;
    height: 1px;
    margin: 0 1rem;
  }
}

@media (max-width: 700px) {
  .dance-categories {
    grid-template-columns: 1fr;
  }
}

/* Price list */
.pricelist-section {
  background: var(--section-bg);
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
}

.pricelist-heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.pricelist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.pricelist-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricelist-category.pl-wide {
  grid-column: 1 / -1;
}

.pricelist-category-header {
  background: rgba(var(--accent-rgb), 0.1);
  border-bottom: 2px solid rgba(var(--accent-rgb), 0.2);
  padding: 0.8rem 1.25rem;
}

.pricelist-category-header h3 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgb(var(--accent-rgb));
}

.pl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pl-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
}

.pl-row:nth-child(even) {
  background: rgba(var(--accent-rgb), 0.04);
}

.pl-row:not(:last-child) {
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
}

.pl-name {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}

.pl-duration {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(var(--accent-rgb), 0.07);
  border-radius: 0.35rem;
  padding: 0.15rem 0.4rem;
}

.pl-price {
  flex-shrink: 0;
  width: 80px;
  text-align: right;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgb(var(--accent-rgb));
}

@media (max-width: 700px) {
  .pricelist-grid {
    grid-template-columns: 1fr;
  }

  .pricelist-category.pl-wide {
    grid-column: auto;
  }
}

/* Photo gallery */
.gallery-section {
  padding: 2rem 0 2.5rem;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-radius: 1rem;
  overflow: hidden;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--border);
  display: block;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.05);
}

.gallery-thumb:focus-visible {
  outline: 2px solid rgb(var(--accent-rgb));
  outline-offset: 2px;
}

.gallery-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.gallery-view-all {
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 0.6rem;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  color: rgb(var(--accent-rgb));
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.15s ease;
}

.gallery-view-all:hover,
.gallery-view-all:focus-visible {
  background: rgba(var(--accent-rgb), 0.08);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(90vw, 1100px);
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.4rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-prev:focus-visible,
.lightbox-next:hover,
.lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 2rem;
  }
}
