:root {
  color-scheme: light;
  --jumps-ink: #0d1f26;
  --jumps-ink-deep: #081a20;
  --jumps-orange: #f08958;
  --jumps-orange-dark: #d96f3f;
  --jumps-cream: #f7f2ee;
  --jumps-white: #ffffff;
  --jumps-muted: #66757b;
  --jumps-line: rgba(13, 31, 38, 0.16);
  --jumps-shadow: 0 18px 44px rgba(13, 31, 38, 0.12);
  font-family: TildaSans, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--jumps-cream);
  color: var(--jumps-ink);
  font-family: TildaSans, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--jumps-orange);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% -30%, rgba(240, 137, 88, 0.26), transparent 36%),
    linear-gradient(118deg, var(--jumps-ink-deep), var(--jumps-ink));
  background-color: var(--jumps-ink);
  color: var(--jumps-white);
  border-bottom: 1px solid rgba(240, 137, 88, 0.35);
}

.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--jumps-orange), transparent 62%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1180px);
  min-height: 112px;
  margin: 0 auto;
  gap: 36px;
}

.site-brand {
  display: grid;
  flex: 0 1 470px;
  gap: 2px;
  min-width: 0;
  text-decoration: none;
}

.site-brand__eyebrow,
.site-footer__eyebrow {
  margin: 0;
  color: var(--jumps-orange);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-brand__name {
  overflow: hidden;
  font-size: clamp(23px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand:hover .site-brand__name {
  color: #ffe6da;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 32px);
}

.site-nav a {
  position: relative;
  color: var(--jumps-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--jumps-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.demo-tabs {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow-x: auto;
  background: rgba(8, 26, 32, 0.97);
  border-bottom: 1px solid rgba(240, 137, 88, 0.28);
  box-shadow: 0 10px 28px rgba(8, 26, 32, 0.18);
  scrollbar-width: thin;
  scrollbar-color: var(--jumps-orange) var(--jumps-ink);
}

.demo-tabs__list {
  display: flex;
  justify-content: center;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 10px 20px;
  gap: 8px;
  list-style: none;
}

.demo-tabs__link {
  display: block;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.demo-tabs__link:hover {
  border-color: rgba(240, 137, 88, 0.5);
  color: var(--jumps-white);
  transform: translateY(-1px);
}

.demo-tabs__link[aria-current="page"] {
  background: var(--jumps-orange);
  color: var(--jumps-ink);
  box-shadow: 0 7px 18px rgba(240, 137, 88, 0.28);
}

.widget-shell {
  width: min(100% - 32px, 1180px);
  min-height: 50vh;
  margin: 0 auto;
  padding: 48px 0 72px;
}

/* Shared Zooza surface. Selectors stay inside widget-shell so vendor state classes remain untouched. */
.widget-shell .zooza,
.widget-shell .zooza_main {
  width: 100%;
  max-width: none;
  color: var(--jumps-ink);
  font-family: TildaSans, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.widget-shell .zooza *,
.widget-shell .zooza_main * {
  font-family: inherit;
}

.widget-shell #zooza_course_registration,
.widget-shell form#zooza_login,
.widget-shell .checkout .zooza_products {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  background: var(--jumps-white);
  border: 1px solid rgba(240, 137, 88, 0.28);
  border-radius: 24px;
  box-shadow: var(--jumps-shadow);
}

.widget-shell .zooza h1,
.widget-shell .zooza h2,
.widget-shell .zooza h3,
.widget-shell .zooza h4,
.widget-shell .zooza_main h1,
.widget-shell .zooza_main h2,
.widget-shell .zooza_main h3,
.widget-shell .zooza_main h4 {
  margin-top: 0;
  color: var(--jumps-ink);
  line-height: 1.15;
}

.widget-shell .zooza_form_step_title {
  margin-bottom: 24px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 650;
}

.widget-shell .zooza label,
.widget-shell .zooza_main label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--jumps-ink);
  font-size: 14px;
  font-weight: 650;
}

.widget-shell .zooza input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.widget-shell .zooza select,
.widget-shell .zooza textarea,
.widget-shell .zooza_main input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.widget-shell .zooza_main select,
.widget-shell .zooza_main textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  background: var(--jumps-white);
  border: 1px solid rgba(13, 31, 38, 0.28);
  border-radius: 14px;
  color: var(--jumps-ink);
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.widget-shell .zooza input:not([type="checkbox"]):not([type="radio"]):focus,
.widget-shell .zooza select:focus,
.widget-shell .zooza textarea:focus,
.widget-shell .zooza_main input:not([type="checkbox"]):not([type="radio"]):focus,
.widget-shell .zooza_main select:focus,
.widget-shell .zooza_main textarea:focus {
  border-color: var(--jumps-orange);
  box-shadow: 0 0 0 4px rgba(240, 137, 88, 0.16);
}

.widget-shell .zooza_button,
.widget-shell .zooza_change_preselected,
.widget-shell .zooza_main button,
.widget-shell .zooza input[type="submit"],
.widget-shell .zooza_main input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  background: var(--jumps-ink);
  border: 1px solid var(--jumps-ink);
  border-radius: 999px;
  color: var(--jumps-white);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.widget-shell .zooza_button:hover,
.widget-shell .zooza_change_preselected:hover,
.widget-shell .zooza_main button:hover,
.widget-shell .zooza input[type="submit"]:hover,
.widget-shell .zooza_main input[type="submit"]:hover {
  background: #173540;
  border-color: #173540;
  transform: translateY(-1px);
}

.widget-shell .zooza_button.primary,
.widget-shell .zooza_button_next {
  background: var(--jumps-orange);
  border-color: var(--jumps-orange);
  color: var(--jumps-ink);
}

.widget-shell #zooza_course_registration a.zooza_button {
  background: var(--jumps-ink) !important;
  border-color: var(--jumps-ink) !important;
  color: var(--jumps-white) !important;
}

.widget-shell #zooza_course_registration a.zooza_button.primary,
.widget-shell #zooza_course_registration a.zooza_button_next {
  background: var(--jumps-orange) !important;
  border-color: var(--jumps-orange) !important;
  color: var(--jumps-ink) !important;
}

.widget-shell #zooza_course_registration a.zooza_button.primary:hover,
.widget-shell #zooza_course_registration a.zooza_button_next:hover {
  background: var(--jumps-orange-dark) !important;
  border-color: var(--jumps-orange-dark) !important;
}

.widget-shell .checkout div.zooza_submit.zooza_form_input {
  display: block;
  margin-top: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.widget-shell .checkout button.zooza_submit {
  background: var(--jumps-orange);
  border-color: var(--jumps-orange);
  color: var(--jumps-ink);
}

.widget-shell .checkout button.zooza_submit:hover {
  background: var(--jumps-orange-dark);
  border-color: var(--jumps-orange-dark);
}

.widget-shell .zooza_form_steps_header_steps {
  display: flex;
  overflow-x: auto;
  margin: 0 0 26px;
  padding: 0 0 8px;
  gap: 8px;
  list-style: none;
  scrollbar-width: thin;
}

.widget-shell .zooza_form_steps_header_steps li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 46px;
  padding: 9px 14px;
  gap: 5px;
  background: var(--jumps-cream);
  border: 1px solid var(--jumps-line);
  border-radius: 14px;
  color: var(--jumps-muted);
}

.widget-shell .zooza_form_steps_header_steps li.active {
  background: var(--jumps-orange);
  border-color: var(--jumps-orange);
  color: var(--jumps-ink);
}

.widget-shell .zooza_form_step_number,
.widget-shell .zooza_form_step_text {
  display: inline;
}

.widget-shell .zooza_form_steps_body hr {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--jumps-line);
}

.widget-shell .zooza_form_steps_actions {
  margin-top: 24px;
}

.widget-shell .zooza_inline_login_affordance {
  display: flex;
  align-items: center;
  margin: 18px 0;
  gap: 8px;
  color: var(--jumps-muted);
}

.widget-shell .zooza_language_selector {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 8px 14px;
}

.widget-shell .zooza_language_selector a,
.widget-shell .zooza_copy a {
  color: var(--jumps-orange-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

.widget-shell .zooza_branding {
  align-items: center;
  margin-top: 28px;
  gap: 7px;
  color: var(--jumps-muted);
  font-size: 12px;
}

.widget-shell .zooza_error,
.widget-shell .zooza_warning,
.widget-shell .zooza_info {
  padding: 12px 14px;
  border-radius: 12px;
}

.widget-shell .zooza_error {
  background: #fff0ed;
  color: #9f2d21;
}

.widget-shell .zooza_warning {
  background: #fff5df;
  color: #765215;
}

.widget-shell .zooza_info {
  background: #edf7f8;
  color: var(--jumps-ink);
}

/* Calendar keeps Zooza layout logic, while cards and controls inherit the Jumps.sk visual language. */
.widget-shell .zooza_main.calendar {
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--jumps-orange) rgba(13, 31, 38, 0.1);
}

.widget-shell .calendar .zooza_widget {
  min-width: 920px;
}

.widget-shell .calendar .zooza_controls {
  margin-bottom: 18px;
}

.widget-shell .calendar .zooza_controls .zooza_button,
.widget-shell .calendar .zooza_controls .button {
  background: var(--jumps-orange);
  border-color: var(--jumps-orange);
  border-radius: 999px;
  color: var(--jumps-ink);
  text-decoration: none;
}

.widget-shell .calendar .zooza_day {
  overflow: hidden;
  background: var(--jumps-white);
  border: 1px solid rgba(240, 137, 88, 0.24);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(13, 31, 38, 0.09);
}

.widget-shell .zooza_main.calendar .zooza_day h2#zooza_title {
  padding: 13px 14px;
  background: var(--jumps-ink);
  color: var(--jumps-white);
}

.widget-shell .calendar .zooza_events > .zooza_event_item.zooza_event {
  margin: 9px;
  padding: 0 !important;
  background: var(--jumps-cream);
  border-left: 3px solid var(--jumps-orange);
  border-radius: 12px;
  color: var(--jumps-ink);
}

.widget-shell .calendar .zooza_events > .zooza_event_item.zooza_event > a.zooza_event_item {
  display: block;
  margin: 0;
  padding: 13px;
  background: transparent;
  border: 0;
  border-radius: inherit;
  color: var(--jumps-ink);
  text-decoration: none;
}

.widget-shell .calendar .zooza_course_name {
  color: var(--jumps-ink);
  font-weight: 700;
}

.widget-shell .calendar .zooza_event.zooza_status_free,
.widget-shell .calendar .zooza_event.zooza_status_free > a {
  color: var(--jumps-ink);
}

.widget-shell .calendar .zooza_capacity,
.widget-shell .calendar .zooza_capacity em {
  color: #16883f;
  font-weight: 650;
}

.widget-shell .calendar .zooza_filter fieldset {
  padding: 18px;
  background: var(--jumps-white);
  border: 1px solid var(--jumps-line);
  border-radius: 18px;
}

.site-footer {
  background:
    radial-gradient(circle at 10% 120%, rgba(240, 137, 88, 0.18), transparent 32%),
    var(--jumps-ink);
  color: rgba(255, 255, 255, 0.72);
  border-top: 3px solid var(--jumps-orange);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) minmax(150px, 0.7fr) minmax(280px, 1fr);
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 54px 0;
  gap: 48px;
}

.site-footer p {
  margin: 5px 0;
}

.site-footer__title {
  margin-bottom: 20px !important;
  color: var(--jumps-white);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.2;
}

.site-footer__brand {
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__brand a,
.site-footer__nav a,
.legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-underline-offset: 4px;
}

.site-footer__brand a:hover,
.site-footer__nav a:hover,
.legal-links a:hover {
  color: var(--jumps-orange);
}

.site-footer__nav,
.legal-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__nav a,
.legal-links a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__heading {
  margin: 0 0 14px !important;
  color: var(--jumps-white);
  font-weight: 650;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
  gap: 8px;
}

.social-links a {
  padding: 7px 11px;
  border: 1px solid rgba(240, 137, 88, 0.68);
  border-radius: 999px;
  color: var(--jumps-orange);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.social-links a:hover {
  background: var(--jumps-orange);
  color: var(--jumps-ink);
}

@media (max-width: 940px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 24px 0;
    gap: 20px;
  }

  .site-brand {
    flex-basis: auto;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .site-footer__links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 28px, 1180px);
  }

  .site-brand__name {
    font-size: 23px;
    white-space: normal;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
  }

  .site-nav a {
    white-space: normal;
  }

  .demo-tabs__list {
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .demo-tabs__link {
    padding: 10px 14px;
  }

  .widget-shell {
    width: min(100% - 24px, 1180px);
    padding: 28px 0 48px;
  }

  .widget-shell .calendar .zooza_widget {
    width: 100%;
    min-width: 0;
  }

  .widget-shell #zooza_course_registration,
  .widget-shell form#zooza_login,
  .widget-shell .checkout .zooza_products {
    padding: 20px;
    border-radius: 18px;
  }

  .widget-shell .zooza_form_step_title {
    font-size: 30px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 42px 0;
    gap: 34px;
  }

  .site-footer__links {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
