:root {
  --primary: #0058BF;
  --secondary: #5C83EE;
  --bg: #FFFFFF;
  --text: #000000;
  --muted: #6b6b6b;
  --radius: 24px;
  --font-body: 'Alegreya Sans', sans-serif;
  --font-display: 'Caveat', cursive;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

.page {
  display: none;
  max-width: 630px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  text-align: center;
}
.page.active { display: block; }

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

/* full-width group / scene photos: rounded rectangle */
.photo {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.75rem auto;
}

/* matches the width of the ProvenExpert widget so both line up on the same edges */
.photo-inset {
  max-width: 400px;
}

/* single portrait photos: circular, fixed size like the original profile-photo components */
.portrait {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  margin: 1.75rem auto;
}

.icon-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 1.75rem auto;
}

.review-widget { display: block; margin: 1.5rem auto; max-width: 400px; width: 100%; }
.review-widget img { width: 100%; border-radius: 8px; margin: 0; }

.icon-square {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1.5rem auto;
}

.price-ticket {
  width: 160px;
  margin: 1.25rem auto;
}

.blank-spacer {
  height: 2.5rem;
}

.title {
  color: var(--primary);
  font-weight: 700;
  font-size: 2.75rem;
  text-align: center;
  margin: 0.5rem 0;
  line-height: 1.15;
}

.subtitle {
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  margin: 0.75rem 0;
  line-height: 1.3;
}

.heading-blue {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  margin: 1rem 0;
  line-height: 1.25;
}

.underline-heading {
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: underline;
  text-align: center;
  margin: 0.5rem 0;
}
.underline-heading.small { font-size: 1.2rem; }

.body-text {
  font-size: 1rem;
  text-align: center;
  margin: 0.9rem 0;
  line-height: 1.55;
}
.schedule-text { margin-top: 2rem; }
.body-text.bold { font-weight: 700; }
.summer-offer { color: #C0392B; text-transform: uppercase; letter-spacing: 0.5px; }

.script {
  font-family: var(--font-display);
  font-weight: 700;
}
.script.large { font-size: 1.9rem; margin: 0.75rem 0; }
.script.large.small { font-size: 1.3rem; }

.arrow {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0.4rem 0;
  text-align: center;
}

.muted { color: var(--muted); }
.muted.small { font-size: 0.85rem; text-align: center; }

.sun-emoji { font-size: 1.5rem; text-align: center; margin: 0.5rem 0; }

a { color: var(--primary); text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff !important;
  padding: 1.15rem 2.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.45rem;
  margin: 1.25rem 0;
  transition: opacity 0.2s ease;
  min-width: 200px;
}
.btn:hover { opacity: 0.85; }

.back-link-inline {
  display: inline-block;
  text-align: center;
  color: #1a1a1a;
  background: #e5e5e5;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  margin: 0.75rem auto 1rem;
}

.back-link {
  display: block;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin: 1rem 0;
}
.social-row.top {
  justify-content: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.social-row.stacked {
  flex-direction: column;
  gap: 0.9rem;
}
.social-row a { color: var(--muted); width: 26px; height: 26px; }
.social-row svg { width: 100%; height: 100%; display: block; }
.social-row.top a { width: 22px; height: 22px; }
.social-row a.icon-instagram { color: #C13584; }
.social-row a.icon-telegram { color: #29A9EA; }

/* spaceholder only on the original site — kept as blank spacing, no text content at all */
.teacher-credit {
  height: 2.9rem;
  margin: 1.5rem 0;
  user-select: none;
  pointer-events: none;
}

.goodbye-hello {
  margin: 2rem 0 3.5rem;
}
.goodbye { margin-bottom: 2.5rem; }
.goodbye ul, .hello ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.goodbye li, .hello li {
  margin: 0.4rem 0;
  font-size: 1rem;
  white-space: nowrap;
  text-align: center;
}
.goodbye li:nth-child(1), .hello li:nth-child(1) { padding-left: 0; }
.goodbye li:nth-child(2), .hello li:nth-child(2) { padding-left: 0.6rem; }
.goodbye li:nth-child(3), .hello li:nth-child(3) { padding-left: 1.2rem; }
.goodbye li:nth-child(4), .hello li:nth-child(4) { padding-left: 1.8rem; }
.goodbye li:nth-child(5), .hello li:nth-child(5) { padding-left: 2.4rem; }

.check-list { list-style: none; padding: 0; text-align: center; max-width: 420px; margin: 1rem auto; }
.check-list li { font-size: 0.95rem; margin: 0.4rem 0; }

.slider-wrap {
  max-width: 340px;
  margin: 1.5rem auto;
  text-align: center;
}
.slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.popular-tag {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.popular-tag.hidden { visibility: hidden; }

hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 2rem 0;
}

@media (max-width: 480px) {
  .title { font-size: 2.2rem; }
  .subtitle { font-size: 1.1rem; }
  .heading-blue, .underline-heading { font-size: 1.35rem; }
  .hero-tagline { font-size: 0.85rem; }
  .goodbye li, .hello li { font-size: 0.85rem; white-space: normal; }
  .goodbye li:nth-child(2), .hello li:nth-child(2) { padding-left: 0.3rem; }
  .goodbye li:nth-child(3), .hello li:nth-child(3) { padding-left: 0.6rem; }
  .goodbye li:nth-child(4), .hello li:nth-child(4) { padding-left: 0.9rem; }
  .goodbye li:nth-child(5), .hello li:nth-child(5) { padding-left: 1.2rem; }
}
