:root {
  --ink: #f4faff;
  --muted: #9fb7c9;
  --navy: #050b18;
  --navy-soft: #071b33;
  --panel: rgba(8, 31, 52, 0.72);
  --panel-solid: #091b2c;
  --line: rgba(143, 212, 232, 0.18);
  --blue: #168cff;
  --cyan: #35e7f2;
  --sage: #9fc7a9;
  --teal: #0e7c7b;
  --ambient: rgba(14, 124, 123, 0.12);
  --accent-end: #76d9b9;
  --accent-shadow: rgba(53, 231, 242, 0.3);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --radius: 28px;
  --page: min(1240px, calc(100vw - 48px));
}

/* Finální fotografie lokací: originální poměr stran bez natahování a ořezů. */
.location-route__stop {
  padding-block: 22px;
}

.location-map-card,
.location-route__stop:nth-child(even) .location-map-card {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
}

.location-map-card__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #06131e;
}

.location-map-card__photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.02) contrast(1.025);
}

.location-map-card__body {
  min-height: 290px;
  padding: 26px 28px 28px;
}

.location-detail__photo-frame {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: #020912;
}

.location-detail__photo-backdrop,
.location-detail__photo-main {
  position: absolute;
  width: 100%;
  height: 100%;
}

.location-detail__photo-backdrop {
  object-fit: cover;
  filter: blur(24px) saturate(.82) brightness(.56);
  opacity: .72;
  transform: scale(1.1);
}

.location-detail__photo-main {
  z-index: 1;
  object-fit: contain;
  filter: saturate(1.03) contrast(1.025);
}

.location-detail-gallery__grid {
  height: auto;
  grid-template-columns: 1fr;
  grid-template-rows: none;
}

.location-detail-gallery__item--single,
.location-detail-gallery__item:first-child {
  display: grid;
  min-height: 0;
  grid-row: auto;
  place-items: center;
}

.location-detail-gallery__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 400ms ease;
}

.location-detail-gallery__item:hover .location-detail-gallery__photo {
  filter: saturate(1.08) contrast(1.02);
}

/* Přehlednější kontaktní stránka. */
.contact-options {
  align-items: stretch;
}

.contact-option {
  display: flex;
  min-height: 285px;
  flex-direction: column;
}

.contact-option h3 {
  overflow-wrap: anywhere;
}

.contact-option p {
  line-height: 1.65;
}

.contact-option__action {
  margin-top: auto;
  padding-top: 22px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-option--help {
  background: linear-gradient(145deg, rgba(53, 231, 242, .09), rgba(255, 179, 106, .045));
}

.contact-guide {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-guide li {
  display: grid;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.contact-guide li > span {
  color: var(--cyan);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.contact-guide strong,
.contact-guide small {
  display: block;
}

.contact-guide strong {
  margin-bottom: 5px;
  color: #f4fbfd;
}

.contact-guide small {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 620px) {
  .location-route__stop {
    min-height: 0;
    padding-block: 0;
  }

  .location-map-card,
  .location-route__stop:nth-child(even) .location-map-card {
    min-height: 0;
  }

  .location-map-card__photo {
    min-height: 0;
    height: auto;
  }

  .location-map-card__body {
    min-height: 0;
  }

  .contact-option {
    min-height: 235px;
  }
}

html[data-site-theme="yoga"] {
  --ink: #f7fff5;
  --muted: #b2cbb5;
  --navy: #07120e;
  --navy-soft: #0b2a1b;
  --panel: rgba(12, 45, 29, 0.74);
  --panel-solid: #102c1e;
  --line: rgba(168, 224, 99, 0.22);
  --blue: #69bf68;
  --cyan: #a8e063;
  --sage: #d8f2b5;
  --teal: #317a50;
  --ambient: rgba(104, 190, 104, 0.16);
  --accent-end: #d8f2b5;
  --accent-shadow: rgba(168, 224, 99, 0.32);
}

html[data-site-theme="kiteboarding"] {
  --ink: #f5fdff;
  --muted: #acd0d8;
  --navy: #03111c;
  --navy-soft: #082b3a;
  --panel: rgba(6, 42, 58, 0.74);
  --panel-solid: #092b3a;
  --line: rgba(78, 223, 238, 0.22);
  --blue: #13a6d9;
  --cyan: #4edfee;
  --sage: #ffbf69;
  --teal: #168ecb;
  --ambient: rgba(19, 166, 217, 0.17);
  --accent-end: #ffbf69;
  --accent-shadow: rgba(78, 223, 238, 0.34);
}

html[data-site-theme="travel"] {
  --ink: #fffaf5;
  --muted: #d5b9a5;
  --navy: #180d08;
  --navy-soft: #3b1d12;
  --panel: rgba(61, 29, 17, 0.76);
  --panel-solid: #3a1e14;
  --line: rgba(255, 176, 90, 0.24);
  --blue: #df6f3d;
  --cyan: #ffb05a;
  --sage: #ffd89a;
  --teal: #a84f2c;
  --ambient: rgba(223, 111, 61, 0.18);
  --accent-end: #ffd89a;
  --accent-shadow: rgba(255, 176, 90, 0.34);
}

html[data-site-theme="speed"] {
  --ink: #fff8f4;
  --muted: #d8b7a9;
  --navy: #170806;
  --navy-soft: #35120c;
  --panel: rgba(53, 18, 12, 0.78);
  --panel-solid: #35150e;
  --line: rgba(255, 120, 71, 0.24);
  --blue: #dd3c20;
  --cyan: #ff6846;
  --sage: #ffb05a;
  --teal: #9d2b1b;
  --ambient: rgba(223, 62, 32, 0.18);
  --accent-end: #ffc06d;
  --accent-shadow: rgba(255, 91, 55, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 16%, var(--ambient), transparent 28rem),
    var(--navy);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  transition: background-color 650ms ease, color 650ms ease;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 520ms;
  animation-timing-function: ease-in-out;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

html.is-launch-arrival body::after {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 46%, rgba(24, 137, 153, 0.18), transparent 32%),
    #02080d;
  animation: launch-home-reveal 2600ms cubic-bezier(.16,.82,.2,1) both;
}

/* Scrollový ponor na hlavní stránce */
.home-page {
  --journey-depth: 0;
  --journey-light-alpha: 0.22;
  --journey-top-alpha: 0.16;
  --journey-mid-alpha: 0.12;
  --journey-deep-alpha: 0.18;
  --journey-surface-opacity: 1;
  --journey-rail-opacity: 0.68;
}

.home-page main,
.home-page .footer {
  position: relative;
  z-index: 1;
}

.depth-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 50% -8%,
      rgb(147 224 246 / var(--journey-light-alpha)),
      transparent 38%
    ),
    linear-gradient(
      180deg,
      rgb(27 151 190 / var(--journey-top-alpha)) 0%,
      rgb(5 54 83 / var(--journey-mid-alpha)) 42%,
      rgb(1 5 17 / var(--journey-deep-alpha)) 100%
    );
  pointer-events: none;
  contain: strict;
}

.depth-journey {
  position: fixed;
  top: 0;
  right: clamp(10px, 2.6vw, 48px);
  bottom: 0;
  z-index: 12;
  width: 132px;
  opacity: var(--journey-rail-opacity);
  pointer-events: none;
  contain: layout paint style;
}

.depth-journey__surface {
  position: absolute;
  top: 78px;
  right: 0;
  left: 0;
  height: 36px;
  opacity: var(--journey-surface-opacity);
  filter: drop-shadow(0 0 18px rgba(119, 230, 255, 0.42));
}

.depth-journey__surface::before,
.depth-journey__surface i {
  position: absolute;
  right: 5px;
  left: 5px;
  height: 14px;
  border-top: 1px solid rgba(173, 241, 255, 0.76);
  border-radius: 50%;
  content: "";
}

.depth-journey__surface::before {
  top: 4px;
}

.depth-journey__surface i:first-child {
  top: 11px;
  right: 20px;
  left: -3px;
  opacity: 0.52;
}

.depth-journey__surface i:last-child {
  top: 18px;
  right: -2px;
  left: 28px;
  opacity: 0.28;
}

.depth-journey__rope {
  position: absolute;
  top: 94px;
  right: 23px;
  bottom: -16px;
  width: 2px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 92px, rgba(83, 225, 241, 0.54) 93px 96px, transparent 97px 104px),
    linear-gradient(to bottom, rgba(208, 250, 255, 0.82), rgba(55, 181, 211, 0.4) 48%, rgba(22, 83, 115, 0.22));
  box-shadow: 0 0 14px rgba(53, 231, 242, 0.22);
}

.depth-journey__plate {
  position: absolute;
  right: -8px;
  bottom: 25px;
  width: 66px;
  height: 34px;
  transform: perspective(90px) rotateX(58deg);
  transform-origin: center;
  transition: filter 500ms ease, transform 500ms ease;
}

.depth-journey__plate::before {
  position: absolute;
  top: -26px;
  left: 32px;
  width: 2px;
  height: 31px;
  content: "";
  background: linear-gradient(rgba(91, 216, 237, 0.18), rgba(220, 252, 255, 0.9));
}

.depth-journey__plate-disc {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(227, 252, 255, 0.94);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 12%, transparent 14%),
    radial-gradient(circle, #0a9ac7 0 34%, #f3fdff 36% 57%, #092d52 59% 100%);
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.42),
    0 0 12px rgba(77, 218, 241, 0.35);
}

.depth-journey__plate-tag {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 11px;
  height: 17px;
  border: 2px solid #ffad4f;
  border-radius: 3px 3px 6px 6px;
  background: #08243e;
  box-shadow: 0 0 8px rgba(255, 173, 79, 0.58);
  transform: translateX(-50%);
}

.depth-journey.is-at-plate .depth-journey__plate {
  filter: drop-shadow(0 0 14px rgba(86, 229, 248, 0.86));
  transform: perspective(90px) rotateX(58deg) scale(1.08);
}

.depth-journey.is-at-plate .depth-journey__plate-tag {
  animation: plate-tag-pulse 900ms ease-in-out infinite alternate;
}

.depth-journey__readout {
  position: absolute;
  top: 116px;
  right: 32px;
  display: flex;
  min-width: 52px;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  color: rgba(196, 237, 246, 0.62);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.depth-journey__readout strong {
  color: var(--cyan);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.depth-journey__diver {
  --diver-y: 116px;
  position: absolute;
  top: 0;
  left: -2px;
  width: 110px;
  height: 205px;
  transform: translate3d(0, var(--diver-y), 0);
  transform-origin: 50% 50%;
  filter:
    drop-shadow(0 0 7px rgba(34, 166, 218, 0.58))
    drop-shadow(0 0 2px rgba(240, 254, 255, 0.72))
    drop-shadow(0 9px 16px rgba(0, 0, 0, 0.36));
  will-change: transform;
  transition: transform 460ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.depth-journey__sprite {
  position: absolute;
  inset: 0;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition:
    transform 620ms cubic-bezier(0.2, 0.72, 0.22, 1),
    filter 700ms ease,
    opacity 700ms ease;
}

.depth-journey.is-ascending .depth-journey__sprite {
  transform: rotate(180deg);
}

.depth-journey.is-ascending.is-blackout .depth-journey__sprite {
  opacity: 0.84;
  filter: saturate(0.62) brightness(0.86);
  transform: rotate(168deg) translate3d(-4px, 2px, 0);
}

.freediver-static {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(1);
  transform-origin: 50% 50%;
  transition: transform 620ms cubic-bezier(0.2, 0.72, 0.22, 1);
  will-change: transform;
}

.depth-journey.is-ascending .freediver-static {
  transform: scaleX(-1);
}

.depth-journey__bubble {
  position: absolute;
  z-index: -1;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(175, 240, 250, 0.76);
  border-radius: 50%;
  opacity: 0;
}

.depth-journey.is-releasing-bubbles .depth-journey__bubble {
  animation: diver-bubble 1.8s ease-out 2;
}

.depth-journey__bubble--one {
  top: 84%;
  left: 45px;
}

.depth-journey__bubble--two {
  top: 88%;
  left: 57px;
  width: 3px;
  height: 3px;
  animation-delay: -0.65s !important;
}

.depth-journey__bubble--three {
  top: 81%;
  left: 62px;
  width: 7px;
  height: 7px;
  animation-delay: -1.2s !important;
}

.depth-journey.is-ascending .depth-journey__bubble--one {
  top: 7%;
}

.depth-journey.is-ascending .depth-journey__bubble--two {
  top: 11%;
}

.depth-journey.is-ascending .depth-journey__bubble--three {
  top: 4%;
}

@keyframes diver-bubble {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.7); }
  18% { opacity: 0.72; }
  100% { opacity: 0; transform: translate3d(9px, -58px, 0) scale(1.2); }
}

@keyframes plate-tag-pulse {
  from { box-shadow: 0 0 6px rgba(255, 173, 79, 0.46); transform: translateX(-50%) scale(0.96); }
  to { box-shadow: 0 0 18px rgba(255, 173, 79, 0.96); transform: translateX(-50%) scale(1.08); }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: var(--page);
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(2, 12, 24, 0.3);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition:
    background 200ms ease,
    top 200ms ease,
    box-shadow 200ms ease;
}

.is-scrolled .site-header {
  top: 10px;
  background: rgba(2, 12, 24, 0.86);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-content: center;
  gap: 3px;
  border: 1px solid rgba(53, 231, 242, 0.75);
  border-radius: 50%;
  box-shadow:
    inset 0 0 15px rgba(53, 231, 242, 0.1),
    0 0 24px rgba(53, 231, 242, 0.18);
}

.brand-mark i,
.mini-mark i {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 100%;
  background: var(--cyan);
  transform: skewX(-24deg);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 34px);
}

.main-nav a {
  position: relative;
  color: rgba(244, 250, 255, 0.82);
  font-size: 0.88rem;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 100%;
  bottom: -11px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--sage));
  transition: right 180ms ease;
}

.main-nav a:hover {
  color: white;
}

.main-nav a:hover::after {
  right: 0;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 138px max(24px, calc((100vw - 1240px) / 2)) 90px;
  background: #020a15;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  content: "";
  background: linear-gradient(transparent, var(--navy));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(
      ellipse at center,
      rgba(2, 8, 18, 0.88) 0%,
      rgba(2, 10, 22, 0.64) 32%,
      rgba(3, 16, 29, 0.14) 67%,
      rgba(3, 13, 22, 0.04) 100%
    ),
    linear-gradient(180deg, rgba(2, 8, 18, 0.28), transparent 28%),
    url("../assets/hero-four-worlds.webp") center / cover no-repeat;
  transform: scale(1.02);
  transform-origin: center;
  animation: hero-arrive 1.2s ease-out both;
  will-change: transform;
}

.hero-backdrop.is-settled {
  will-change: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-sector-glows {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-sector-dim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(1, 6, 14, 0.62);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 2200ms ease-in-out,
    visibility 0s linear 2200ms;
}

.hero-sector-dim--depth {
  -webkit-mask-image: radial-gradient(
    ellipse 50% 42% at 0% 10%,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.65) 70%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 42% at 0% 10%,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.65) 70%,
    #000 100%
  );
}

.hero-sector-dim--kiteboarding {
  -webkit-mask-image: radial-gradient(
    ellipse 48% 53% at 100% 16%,
    transparent 0%,
    transparent 44%,
    rgba(0, 0, 0, 0.65) 68%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 48% 53% at 100% 16%,
    transparent 0%,
    transparent 44%,
    rgba(0, 0, 0, 0.65) 68%,
    #000 100%
  );
}

.hero-sector-dim--travel {
  -webkit-mask-image: radial-gradient(
    ellipse 58% 54% at 4% 100%,
    transparent 0%,
    transparent 46%,
    rgba(0, 0, 0, 0.65) 70%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 54% at 4% 100%,
    transparent 0%,
    transparent 46%,
    rgba(0, 0, 0, 0.65) 70%,
    #000 100%
  );
}

.hero-sector-dim--yoga {
  -webkit-mask-image: radial-gradient(
    ellipse 58% 54% at 96% 100%,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.65) 70%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 54% at 96% 100%,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.65) 70%,
    #000 100%
  );
}

.hero[data-hero-theme="depth"] .hero-sector-dim--depth,
.hero[data-hero-theme="kiteboarding"] .hero-sector-dim--kiteboarding,
.hero[data-hero-theme="travel"] .hero-sector-dim--travel,
.hero[data-hero-theme="yoga"] .hero-sector-dim--yoga {
  opacity: 0.62;
  visibility: visible;
  transition:
    opacity 2200ms ease-in-out,
    visibility 0s linear 0s;
}

.hero-sector-glow {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-four-worlds.webp") center / cover no-repeat;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  filter: brightness(1.38) saturate(1.32) contrast(1.06);
  mix-blend-mode: screen;
  transform: scale(1.02);
  transform-origin: center;
  transition:
    opacity 2200ms ease-in-out,
    visibility 0s linear 2200ms;
}

.hero.is-theme-hovered .hero-sector-glow,
.hero.is-theme-hovered .hero-sector-dim {
  transition-duration: 1200ms;
}

.hero.is-theme-hovered .theme-logo img,
.hero.is-theme-hovered .theme-logo span {
  transition-duration: 1200ms;
}

.hero-sector-glow--depth {
  -webkit-mask-image: radial-gradient(
    ellipse 50% 42% at 0% 10%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.62) 68%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 42% at 0% 10%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.62) 68%,
    transparent 100%
  );
}

.hero-sector-glow--kiteboarding {
  -webkit-mask-image: radial-gradient(
    ellipse 48% 53% at 100% 16%,
    #000 0%,
    #000 44%,
    rgba(0, 0, 0, 0.58) 67%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 48% 53% at 100% 16%,
    #000 0%,
    #000 44%,
    rgba(0, 0, 0, 0.58) 67%,
    transparent 100%
  );
}

.hero-sector-glow--travel {
  -webkit-mask-image: radial-gradient(
    ellipse 58% 54% at 4% 100%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 54% at 4% 100%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
}

.hero-sector-glow--yoga {
  -webkit-mask-image: radial-gradient(
    ellipse 58% 54% at 96% 100%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 54% at 96% 100%,
    #000 0%,
    #000 48%,
    rgba(0, 0, 0, 0.6) 70%,
    transparent 100%
  );
}

.hero[data-hero-theme="depth"] .hero-sector-glow--depth,
.hero[data-hero-theme="kiteboarding"] .hero-sector-glow--kiteboarding,
.hero[data-hero-theme="travel"] .hero-sector-glow--travel,
.hero[data-hero-theme="yoga"] .hero-sector-glow--yoga {
  opacity: 0.88;
  visibility: visible;
  animation: none;
  transition:
    opacity 2200ms ease-in-out,
    visibility 0s linear 0s;
}

.hero-orb {
  position: absolute;
  z-index: -2;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow:
    0 -80px 0 4px rgba(255, 255, 255, 0.1),
    20px -160px 0 1px rgba(255, 255, 255, 0.18),
    -15px -230px 0 7px rgba(255, 255, 255, 0.06),
    34px -305px 0 3px rgba(255, 255, 255, 0.1);
  opacity: 0.45;
  animation: bubble-rise 10s linear infinite;
}

.hero-orb--one {
  right: 40%;
  bottom: 11%;
}

.hero-orb--two {
  right: 21%;
  bottom: -8%;
  animation-delay: -4s;
  animation-duration: 14s;
}

.hero-content {
  width: min(1320px, 94vw);
  margin-inline: auto;
  text-align: center;
}

.theme-selector {
  display: grid;
  max-width: 1280px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin: 0 auto 6px;
}

.theme-logo {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  place-items: center;
  text-decoration: none;
}

.theme-logo img {
  display: block;
  width: 100%;
  max-width: 235px;
  aspect-ratio: 1;
  border-radius: 50%;
  clip-path: circle(49% at 50% 50%);
  opacity: 0.58;
  filter: grayscale(0.22) brightness(0.72);
  transform: none;
  transition:
    opacity 1400ms ease-in-out,
    filter 1400ms ease-in-out;
}

.theme-logo span {
  margin-top: 10px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 1400ms ease-in-out;
}

.theme-logo:hover img,
.theme-logo:focus-visible img {
  opacity: 0.86;
  filter: grayscale(0) brightness(0.94);
}

.theme-logo.is-active img {
  opacity: 1;
  filter: grayscale(0) brightness(1.05) drop-shadow(0 0 24px var(--accent-shadow));
  animation: none;
}

.theme-logo.is-active span {
  color: var(--cyan);
  transform: none;
}

.theme-logo--speed img {
  opacity: 0.7;
  filter: grayscale(0.08) brightness(0.82);
}

.theme-logo--speed:hover img,
.theme-logo--speed:focus-visible img {
  opacity: 1;
  filter: grayscale(0) brightness(1.05) drop-shadow(0 0 24px rgba(255, 113, 78, 0.48));
}

.theme-logo--speed:hover span,
.theme-logo--speed:focus-visible span {
  color: #ffbd67;
}

.hero .hero-theme-title {
  max-width: 850px;
  margin-top: 18px;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem);
  line-height: 0.92;
}

.hero-theme-title > span {
  color: white;
}

.hero-theme-title,
.hero-copy,
.hero-actions {
  transition:
    opacity 720ms cubic-bezier(.16,.82,.2,1),
    transform 820ms cubic-bezier(.16,.82,.2,1),
    filter 720ms ease;
}

.hero.is-theme-copy-fading .hero-theme-title,
.hero.is-theme-copy-fading .hero-copy,
.hero.is-theme-copy-fading .hero-actions {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(8px);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px;
  border-radius: 50%;
  background: var(--sage);
}

.hero h1,
.section-heading h2,
.about-content h2,
.app-copy h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 690px;
  margin-inline: auto;
  font-size: clamp(4rem, 6.6vw, 6.6rem);
  line-height: 0.96;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  color: var(--sage);
  font-style: normal;
}

.hero-word {
  display: inline-block;
  color: white;
  transform-origin: left center;
  transition:
    opacity 320ms ease,
    filter 320ms ease,
    transform 320ms ease;
}

.hero-word.is-changing {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(0.18em);
}

.hero-word.is-long {
  font-size: 0.66em;
  vertical-align: 0.08em;
}

.hero-copy {
  max-width: 590px;
  margin: 30px auto 0;
  color: #bdd0dd;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 26px;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 650;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button b {
  font-size: 1.35rem;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover b {
  transform: translateX(4px);
}

.button--primary {
  background: linear-gradient(120deg, var(--cyan), var(--accent-end));
  box-shadow: 0 12px 34px color-mix(in srgb, var(--cyan) 28%, transparent);
  color: #03131d;
}

.button--primary:hover {
  box-shadow: 0 15px 42px color-mix(in srgb, var(--cyan) 42%, transparent);
}

.button--outline {
  border: 1px solid rgba(53, 231, 242, 0.45);
  background: rgba(53, 231, 242, 0.06);
  color: white;
}

.text-link {
  color: #dcebf3;
  font-weight: 550;
}

.text-link::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 5px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.trust-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.trust-row div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 10px;
}

.trust-row div + div {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-row strong {
  grid-row: 1 / 3;
  color: var(--cyan);
  font-size: 1.65rem;
}

.trust-row span {
  color: #aac0ce;
  font-size: 0.8rem;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: grid;
  width: 40px;
  height: 40px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  font-style: normal;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 118px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading h2,
.about-content h2,
.app-copy h2,
.contact-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.section-heading--row .eyebrow {
  margin-bottom: 18px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.discipline-grid {
  display: grid;
  min-height: 720px;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.discipline {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: end;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.discipline::before,
.course-art::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.discipline::after {
  position: absolute;
  inset: 20% 0 0;
  z-index: -1;
  content: "";
  background: linear-gradient(transparent, rgba(2, 10, 18, 0.97));
}

.discipline-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.04) brightness(.78);
  transition: transform 850ms cubic-bezier(.2,.75,.2,1), filter 650ms ease;
}

.discipline:hover .discipline-photo {
  filter: saturate(1.02) contrast(1.04) brightness(.88);
  transform: scale(1.035);
}

.discipline--freediving .discipline-photo { object-position: center 48%; }
.discipline--yoga .discipline-photo { object-position: center 62%; }
.discipline--kiteboarding .discipline-photo { object-position: center 48%; }
.discipline--travel .discipline-photo { object-position: center 43%; }

.discipline--freediving {
  grid-row: auto;
}

.discipline--freediving::before {
  background:
    radial-gradient(circle at 55% 32%, transparent 0 5%, rgba(46, 152, 191, 0.16) 5.2%, transparent 6%),
    linear-gradient(155deg, rgba(53, 231, 242, 0.26), transparent 42%),
    repeating-radial-gradient(ellipse at 50% 0%, #0b4e71 0 8%, #05253b 9% 15%);
}

.discipline--yoga::before {
  background:
    radial-gradient(circle at 70% 22%, rgba(159, 199, 169, 0.48), transparent 10%),
    linear-gradient(135deg, #0e6d6b, #132c31 58%);
}

.discipline--kiteboarding::before {
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 191, 105, 0.55), transparent 12%),
    linear-gradient(145deg, #149fc4, #08213a 70%);
}

.discipline--travel::before {
  background:
    linear-gradient(165deg, transparent 45%, rgba(34, 14, 8, 0.74) 46%),
    linear-gradient(135deg, #c46b39, #37180f 72%);
}

.discipline-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
}

.discipline > div {
  max-width: 500px;
}

.discipline > div > p:first-child {
  color: var(--sage);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.discipline h3 {
  margin: 6px 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
}

.discipline > div > p:not(:first-child) {
  max-width: 430px;
  margin: 0 0 22px;
  color: #b8cbd7;
  line-height: 1.65;
}

.discipline a {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 600;
}

.course-cinema {
  position: relative;
  overflow: hidden;
  min-height: 1060px;
  background: #020813;
  isolation: isolate;
}

.course-cinema::before,
.course-cinema::after {
  position: absolute;
  right: 0;
  left: 0;
  z-index: -1;
  height: 180px;
  content: "";
  pointer-events: none;
}

.course-cinema::before {
  top: 0;
  background: linear-gradient(to bottom, var(--navy), transparent);
}

.course-cinema::after {
  bottom: 0;
  background: linear-gradient(to top, var(--navy), transparent);
}

.course-cinema-media,
.course-cinema-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.course-cinema-media {
  overflow: hidden;
  background: #03101c;
}

.course-cinema-media__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(.94) contrast(1.04);
  transform: scale(1.045);
  transition: opacity 1200ms ease-in-out, transform 8s ease-out;
}

.course-cinema-media__photo--depth {
  background-image: url("../assets/courses/cave-swim-hero.webp");
  background-position: center 42%;
}

.course-cinema-media__photo--kiteboarding {
  background-image: url("../assets/courses/bali-surf.webp");
  background-position: center 42%;
}

.course-cinema-media__photo--yoga {
  background-image: url("../assets/courses/bali-yoga.webp");
  background-position: center 43%;
}

.course-cinema-media__photo--travel {
  background-image: url("../assets/courses/bali-sunset.webp");
  background-position: center 52%;
}

.course-cinema[data-course-theme="depth"] .course-cinema-media__photo--depth,
.course-cinema[data-course-theme="kiteboarding"] .course-cinema-media__photo--kiteboarding,
.course-cinema[data-course-theme="yoga"] .course-cinema-media__photo--yoga,
.course-cinema[data-course-theme="travel"] .course-cinema-media__photo--travel {
  opacity: 1;
  transform: scale(1);
}

.course-cinema-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 20%, rgba(7, 27, 43, 0.12), rgba(2, 8, 18, 0.72) 76%),
    linear-gradient(90deg, rgba(2, 8, 18, 0.79), rgba(2, 10, 20, 0.3) 54%, rgba(2, 8, 18, 0.68)),
    linear-gradient(to bottom, rgba(2, 7, 16, 0.25), rgba(2, 8, 18, 0.68));
  backdrop-filter: blur(1px);
}

.course-cinema-shell {
  position: relative;
  z-index: 1;
  padding-top: 132px;
  padding-bottom: 132px;
}

.course-cinema-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: clamp(44px, 8vw, 120px);
}

.course-cinema-heading .eyebrow {
  margin-bottom: 20px;
}

.course-cinema-heading h2 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
  text-wrap: balance;
}

.course-cinema-heading > p {
  max-width: 500px;
  margin: 0 0 8px;
  color: #c4d5df;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.72;
}

.course-cinema-heading h2,
.course-cinema-heading > p,
.course-cinema-heading .eyebrow {
  transition: opacity 420ms ease-in-out;
}

.course-cinema.is-copy-fading .course-cinema-heading h2,
.course-cinema.is-copy-fading .course-cinema-heading > p,
.course-cinema.is-copy-fading .course-cinema-heading .eyebrow {
  opacity: 0;
}

.course-cinema-switcher {
  display: grid;
  overflow: hidden;
  margin: 64px 0 78px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(3, 14, 26, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.course-cinema-switcher button {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #a9bbc7;
  cursor: pointer;
  text-align: left;
  transition:
    background 900ms ease,
    color 900ms ease,
    box-shadow 900ms ease;
}

.course-cinema-switcher button:last-child {
  border-right: 0;
}

.course-cinema-switcher button span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.course-cinema-switcher button strong {
  font-size: clamp(0.75rem, 1.1vw, 0.92rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-cinema-switcher button.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), var(--accent-shadow));
  color: white;
  box-shadow: inset 0 -3px 0 var(--cyan);
}

.course-cinema-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.course-cinema-list-heading p {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-cinema-list-heading h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.course-cinema .course-card {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(3, 16, 29, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.course-cinema .course-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), 0 0 32px var(--accent-shadow);
}

.course-cinema .course-art {
  height: 168px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(7, 27, 45, 0.88);
  box-shadow: var(--shadow);
  transition:
    transform 240ms ease,
    border-color 240ms ease;
}

.course-card:hover {
  border-color: rgba(53, 231, 242, 0.44);
  transform: translateY(-7px);
}

.course-art {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-art:has(> img) span {
  display: none;
}

.course-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 55% -10%, rgba(255, 255, 255, 0.28), transparent 36%),
    linear-gradient(transparent 45%, rgba(4, 15, 25, 0.85));
}

.course-art span {
  position: absolute;
  z-index: 2;
  top: 25%;
  left: 50%;
  width: 3px;
  height: 80%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
}

.course-card--ocean .course-art::before {
  background:
    radial-gradient(circle at 53% 52%, rgba(2, 8, 12, 0.85) 0 4%, transparent 4.3%),
    linear-gradient(152deg, #1787a8, #041827 65%);
}

.course-card--deep .course-art::before {
  background:
    linear-gradient(86deg, rgba(24, 130, 158, 0.35), transparent 42%),
    linear-gradient(#05182c, #020714);
}

.course-card--sunset .course-art::before {
  background:
    linear-gradient(172deg, transparent 58%, rgba(6, 26, 34, 0.88) 59%),
    linear-gradient(150deg, #d58d68, #196377 46%, #041c29 75%);
}

.course-body {
  padding: 24px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.course-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c8d9e2;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.course-meta span:last-child {
  color: var(--sage);
}

.course-body > p {
  margin: 26px 0 8px;
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-body h3 {
  min-height: 64px;
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.course-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
}

.course-body dl div {
  padding: 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.course-body dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.course-body dd {
  margin: 0;
  font-size: 0.86rem;
}

.course-body > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #dcecf4;
  font-weight: 550;
}

.locations {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(10, 64, 76, 0.14),
    transparent
  );
}

.location-stage {
  display: grid;
  grid-template-columns: 1.22fr 0.88fr 0.88fr;
  gap: 16px;
}

.location {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a2a39;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.location::before,
.location::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.location::after {
  z-index: -1;
  background: linear-gradient(10deg, rgba(2, 9, 16, 0.94), transparent 68%);
}

.location--vir::before {
  background:
    radial-gradient(ellipse at 65% 80%, #7aa897 0 5%, transparent 5.4%),
    linear-gradient(160deg, #65b0be 0 34%, #1d6476 35% 54%, #153b3d 55%);
}

.location--bali::before {
  background:
    radial-gradient(ellipse at 80% 10%, #d9c37f 0 5%, transparent 5.5%),
    linear-gradient(150deg, #527e72 0 32%, #173e42 33% 56%, #072433 57%);
}

.location--czech::before {
  background:
    radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.32), transparent 10%),
    linear-gradient(145deg, #4d6573, #162f40 58%, #071726);
}

.location p {
  margin: 260px 0 4px;
  color: var(--sage);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location h3 {
  margin: 0 0 9px;
  font-size: 2.1rem;
}

.location span {
  color: #bdd0da;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Filmový slider lokací */
.location-cinema {
  padding: 32px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(27, 161, 176, 0.13), transparent 34%),
    #030914;
}

.location-cinema__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding-top: 0;
  padding-bottom: 44px;
}

.location-cinema__heading h2 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(3.1rem, 5.6vw, 5.9rem);
  line-height: 0.91;
}

.location-cinema__heading h2 em {
  display: inline-block;
  color: var(--cyan);
  font-family: Georgia, serif;
  font-weight: 400;
  white-space: nowrap;
}

.location-cinema__heading > p {
  position: relative;
  max-width: 520px;
  margin: 28px 0 0;
  padding-top: 25px;
  color: #aec3ce;
  font-size: 1.02rem;
  line-height: 1.8;
}

.location-cinema__heading > p::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.location-slider {
  position: relative;
  width: min(100% - 36px, 1500px);
  height: clamp(640px, 74vh, 780px);
  min-height: 640px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 38px 38px 0 0;
  background: #06101b;
  box-shadow: 0 -30px 100px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.location-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 1800ms ease-in-out,
    transform 2600ms cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s linear 1800ms;
}

.location-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition-delay: 0s;
}

.location-slide__media,
.location-slide__veil {
  position: absolute;
  inset: 0;
}

.location-slide__media {
  z-index: -3;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: transform 11s ease-out;
}

.location-slide.is-active .location-slide__media {
  transform: scale(1);
}

.location-slide__media--bali {
  background:
    linear-gradient(rgba(3, 12, 18, 0.15), rgba(3, 12, 18, 0.15)),
    url("../assets/hero-adventure.png") center / cover no-repeat;
}

.location-slide__media--croatia {
  background:
    linear-gradient(105deg, rgba(4, 16, 26, 0.08), rgba(2, 9, 15, 0.22)),
    url("../assets/hero-four-worlds.png") left 47% / cover no-repeat;
}

.location-slide__media--czechia {
  background:
    linear-gradient(115deg, rgba(4, 13, 17, 0.18), rgba(2, 9, 15, 0.3)),
    url("../assets/hero-production.png") center / cover no-repeat;
}

.location-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.location-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  border: 0;
  transform: translate(-50%, -50%) scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.location-video__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.14), rgba(2, 9, 18, 0.03)),
    url("../assets/hero-adventure.png") center / cover no-repeat;
  pointer-events: none;
  animation: location-video-cover 3.4s ease-in-out forwards;
}

@keyframes location-video-cover {
  0%, 68% {
    visibility: visible;
    opacity: 1;
  }
  99% {
    visibility: visible;
    opacity: 0;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

.location-slide__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.94) 0%, rgba(2, 9, 18, 0.65) 38%, rgba(2, 9, 18, 0.12) 72%),
    linear-gradient(0deg, rgba(2, 8, 16, 0.98) 0%, transparent 42%),
    radial-gradient(circle at 72% 28%, transparent 0%, rgba(1, 7, 13, 0.2) 52%, rgba(1, 7, 13, 0.5) 100%);
}

.location-slide__content {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 330px;
  align-items: center;
  gap: 80px;
  padding-top: 76px;
  padding-bottom: 150px;
}

.location-slide__copy {
  max-width: 740px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease 380ms, transform 1000ms ease 380ms;
}

.location-slide.is-active .location-slide__copy {
  opacity: 1;
  transform: translateY(0);
}

.location-slide__number {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.location-slide__copy h2 {
  margin: 0;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.38);
}

.location-slide__lead {
  max-width: 650px;
  margin: 30px 0 24px;
  color: #e1edf2;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.location-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.location-slide__tags span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 17, 26, 0.32);
  color: #d6e6ec;
  font-size: 0.72rem;
  backdrop-filter: blur(12px);
}

.location-slide__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.location-slide__facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(4, 14, 22, 0.28);
  opacity: 0;
  transform: translateX(24px);
  backdrop-filter: blur(18px);
  transition: opacity 900ms ease 650ms, transform 1100ms ease 650ms;
}

.location-slide.is-active .location-slide__facts {
  opacity: 1;
  transform: translateX(0);
}

.location-slide__facts div {
  display: grid;
  gap: 5px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.035);
}

.location-slide__facts small {
  color: #91aeb9;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-slide__facts strong {
  color: white;
  font-size: 1rem;
}

.location-slider__controls {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
}

.location-slider__arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(2, 10, 18, 0.4);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.location-slider__arrow:hover {
  border-color: var(--cyan);
  background: rgba(53, 231, 242, 0.12);
  transform: scale(1.06);
}

.location-slider__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 10, 18, 0.45);
  backdrop-filter: blur(18px);
}

.location-slider__tabs button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 13px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #9eb3be;
  cursor: pointer;
  text-align: left;
  transition: background 450ms ease, color 450ms ease;
}

.location-slider__tabs button:last-child {
  border-right: 0;
}

.location-slider__tabs span {
  color: #76909c;
  font-size: 0.64rem;
}

.location-slider__tabs button.is-active {
  background: linear-gradient(100deg, rgba(53, 231, 242, 0.18), rgba(53, 231, 242, 0.04));
  color: white;
}

.location-slider__tabs button.is-active span {
  color: var(--cyan);
}

.location-slider__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.09);
}

.location-slider__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #159cc3, var(--cyan));
  box-shadow: 0 0 14px rgba(53, 231, 242, 0.7);
}

@keyframes location-progress {
  to { width: 100%; }
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 9vw;
}

.about-visual {
  position: relative;
  display: flex;
  min-height: 610px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 45% 45% 28px 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(53, 231, 242, 0.21), transparent 23%),
    linear-gradient(#092b44, #020a14);
  box-shadow: var(--shadow);
}

.about-visual::before {
  position: absolute;
  top: 0;
  width: 70%;
  height: 34%;
  content: "";
  background: repeating-linear-gradient(
    105deg,
    transparent 0 12%,
    rgba(255, 255, 255, 0.07) 13% 14%
  );
  filter: blur(5px);
}

.depth-line {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 1px;
  height: 66%;
  background: linear-gradient(var(--cyan), transparent);
}

.depth-line::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, 50%);
}

.about-visual strong,
.about-visual small {
  position: relative;
  z-index: 2;
  padding: 0 18px;
  background: #051626;
}

.about-visual strong {
  color: var(--cyan);
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.about-visual small {
  padding-top: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page .about-visual--photo {
  display: block;
  min-height: 620px;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: #071521;
  isolation: isolate;
}

.home-page .about-visual--photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  content: "";
  background:
    linear-gradient(180deg, transparent 50%, rgba(2, 8, 14, 0.18) 68%, rgba(2, 8, 14, 0.9) 100%),
    linear-gradient(90deg, rgba(2, 8, 14, 0.12), transparent 60%);
  filter: none;
  pointer-events: none;
}

.home-page .about-visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: filter 500ms ease, transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.home-page .about-visual--photo:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.025);
}

.home-page .about-visual--photo figcaption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  display: grid;
  gap: 7px;
}

.home-page .about-visual--photo figcaption strong {
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-page .about-visual--photo figcaption span {
  color: #b9cbd3;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .home-page .about-visual--photo {
    min-height: 500px;
    border-radius: 26px;
  }

  .home-page .about-visual--photo img {
    object-position: center 34%;
  }

  .home-page .about-visual--photo figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }
}

/* Stabilní přepínání motivů bez změn rozměrů a poskakování layoutu */
.home-page .theme-logo {
  contain: layout;
}

.home-page .theme-logo img {
  width: min(214px, 100%);
  height: auto;
}

.home-page .hero-theme-title {
  min-height: 1.84em;
}

.home-page .hero-theme-title > span {
  white-space: nowrap;
}

.home-page .hero-copy {
  min-height: 4.2rem;
}

.home-page .hero-actions {
  min-height: 56px;
}

.home-page [data-theme-action] {
  min-width: 230px;
  justify-content: center;
}

.home-page .course-cinema-heading h2 {
  min-height: 1.96em;
}

.home-page .course-cinema-heading > p {
  min-height: 6rem;
}

/* Výraznější a pohodlnější filtry kurzů */
.course-toolbar input {
  min-height: 58px;
  padding-inline: 20px;
  font-size: 1rem;
}

.course-filters {
  gap: 11px;
}

.course-filters button {
  min-height: 54px;
  padding: 0 22px;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.015em;
}

/* Sociální sítě na úvodní stránce */
.social-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  margin: 0 auto;
  padding-top: 82px;
  padding-bottom: 100px;
}

.social-section__copy h2 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 5.3vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.social-section__copy > p:last-child {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.social-links {
  display: grid;
  gap: 14px;
}

.social-links > a {
  display: grid;
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease;
}

.social-links > a:hover {
  border-color: color-mix(in srgb, var(--cyan) 58%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 12%, transparent), rgba(255,255,255,.025));
}

.social-links > a > span {
  display: grid;
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--cyan) 48%, transparent);
  border-radius: 50%;
  place-items: center;
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 850;
}

.social-links small,
.social-links strong {
  display: block;
}

.social-links small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.social-links strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.social-links > a > b {
  font-size: 1.4rem;
}

/* Fotografie v mapě lokací */
.location-route__stop {
  min-height: 360px;
}

.location-map-card {
  display: grid;
  overflow: hidden;
  min-height: 310px;
  padding: 0;
  grid-template-columns: minmax(150px, 42%) minmax(0, 58%);
}

.location-map-card__photo {
  position: relative;
  z-index: 1;
  min-height: 310px;
  overflow: hidden;
  background: #0a1823;
}

.location-map-card__photo svg {
  display: block;
  width: 100%;
  height: 100%;
}

.location-map-card__photo image {
  filter: saturate(.96) contrast(1.04);
}

.location-map-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: 26px 28px 28px;
  flex-direction: column;
}

.location-map-card__body > p {
  margin: 0;
  color: #a9bbc5;
  font-size: .86rem;
  line-height: 1.62;
}

.location-map-card__body .location-map-card__footer {
  margin-top: auto;
  padding-top: 20px;
}

/* Rozšířené představení Martina */
.inner-hero__portrait {
  position: relative;
  overflow: hidden;
  width: min(330px, 28vw);
  height: 410px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  justify-self: end;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}

.inner-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.inner-hero__portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 22px 20px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(transparent, rgba(2,9,18,.94));
}

.inner-hero__portrait small {
  display: block;
  margin-top: 4px;
  color: #b7cbd6;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.about-story__photo {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel-solid);
}

.about-story__photo img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center 32%;
}

.about-story__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 100px 30px 28px;
  background: linear-gradient(transparent, rgba(2,10,18,.96));
}

.about-story__photo strong,
.about-story__photo span {
  display: block;
}

.about-story__photo strong {
  color: #fff;
  font-size: 1.4rem;
}

.about-story__photo span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
}

.about-story__content h2,
.about-timeline h2 {
  margin: 0 0 26px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.about-story__content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.about-story__content blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--cyan);
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.35;
}

.about-timeline {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr);
  gap: clamp(50px, 8vw, 110px);
}

.about-timeline ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline li {
  display: grid;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 145px 1fr;
  gap: 24px;
}

.about-timeline li strong {
  color: var(--cyan);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-timeline li span {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .social-section,
  .about-story,
  .about-timeline {
    grid-template-columns: 1fr;
  }

  .social-section {
    gap: 34px;
  }

  .inner-hero__portrait {
    width: 220px;
    height: 280px;
    justify-self: start;
  }

  .about-story__photo,
  .about-story__photo img {
    min-height: 620px;
  }
}

@media (max-width: 620px) {
  .home-page .hero-theme-title > span {
    white-space: normal;
  }

  .home-page .hero-theme-title {
    min-height: 2.76em;
  }

  .home-page .hero-copy {
    min-height: 6.2rem;
  }

  .course-filters button {
    min-height: 50px;
    padding-inline: 18px;
    font-size: .82rem;
  }

  .social-section {
    padding-top: 62px;
    padding-bottom: 72px;
  }

  .social-links > a {
    min-height: 96px;
    padding: 18px;
    grid-template-columns: 48px 1fr auto;
    gap: 13px;
  }

  .social-links > a > span {
    width: 48px;
    height: 48px;
  }

  .location-route__stop {
    min-height: 520px;
  }

  .location-map-card {
    min-height: 470px;
    grid-template-columns: 1fr;
  }

  .location-map-card__photo {
    min-height: 190px;
    height: 190px;
  }

  .location-map-card__body {
    min-height: 280px;
    padding: 24px;
  }

  .about-story__photo,
  .about-story__photo img {
    min-height: 540px;
  }

  .about-timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.about-content h2 {
  margin-bottom: 32px;
}

.about-content .button {
  margin-top: 20px;
}

.app-promo {
  position: relative;
  display: grid;
  min-height: 700px;
  overflow: hidden;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 78px clamp(28px, 6vw, 90px);
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    radial-gradient(circle at 78% 30%, rgba(53, 231, 242, 0.18), transparent 23%),
    radial-gradient(circle at 20% 100%, rgba(14, 124, 123, 0.18), transparent 33%),
    linear-gradient(135deg, #071b33, #03101e);
  box-shadow: var(--shadow);
}

.app-promo::before {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid rgba(53, 231, 242, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 90px rgba(53, 231, 242, 0.025),
    0 0 0 180px rgba(53, 231, 242, 0.018);
}

.app-copy {
  position: relative;
  z-index: 2;
}

.app-copy > p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.app-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.app-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4e5ed;
}

.app-copy li::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-content: center;
  border: 1px solid rgba(53, 231, 242, 0.4);
  border-radius: 50%;
  content: "✓";
  color: var(--cyan);
  font-size: 0.75rem;
}

.coming-soon {
  display: inline-block;
  padding: 12px 16px;
  border: 1px solid rgba(159, 199, 169, 0.34);
  border-radius: 999px;
  color: var(--sage);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(350px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 44px;
  background: #01060c;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(53, 231, 242, 0.08);
  transform: rotate(4deg);
}

.phone-screen {
  min-height: 620px;
  padding: 30px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 35px;
  background:
    radial-gradient(circle at 50% 33%, rgba(34, 138, 179, 0.28), transparent 27%),
    linear-gradient(#071b33, #030b15);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
  color: var(--muted);
}

.mini-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(53, 231, 242, 0.45);
  border-radius: 50%;
}

.mini-mark i {
  width: 17px;
  height: 2px;
}

.phone-screen > p {
  margin: 0;
  color: #d7e6ed;
  font-size: 1.6rem;
}

.phone-screen > h3 {
  margin: 0;
  color: var(--cyan);
  font-size: 2.25rem;
  letter-spacing: -0.05em;
}

.breath-ring {
  display: grid;
  width: 210px;
  height: 210px;
  margin: 40px auto;
  place-content: center;
  border: 1px solid rgba(53, 231, 242, 0.3);
  border-radius: 50%;
  box-shadow:
    inset 0 0 55px rgba(53, 231, 242, 0.1),
    0 0 45px rgba(53, 231, 242, 0.11),
    0 0 0 13px rgba(53, 231, 242, 0.025);
  text-align: center;
  animation: breathe 5.5s ease-in-out infinite;
}

.breath-ring span {
  color: var(--sage);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breath-ring strong {
  margin-top: 4px;
  font-size: 2.4rem;
}

.phone-card {
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.phone-card small {
  color: var(--cyan);
}

.phone-card p {
  margin: 8px 0 0;
  color: #b9ccd7;
  font-size: 0.78rem;
  line-height: 1.5;
}

.phone-screen > button {
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 700;
}

.reviews {
  text-align: center;
}

.review-shell {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 28px;
}

.review-shell > button {
  display: grid;
  width: 50px;
  height: 50px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  cursor: pointer;
}

.review-shell blockquote {
  min-height: 330px;
  margin: 0;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0, rgba(53, 231, 242, 0.09), transparent 48%),
    var(--panel);
  box-shadow: var(--shadow);
}

.review-shell blockquote > span {
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
}

.review-shell blockquote > p {
  max-width: 720px;
  margin: 24px auto;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.45;
}

.review-shell footer strong,
.review-shell footer small {
  display: block;
}

.review-shell footer small {
  margin-top: 7px;
  color: var(--muted);
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #385263;
  cursor: pointer;
}

.review-dots button.is-active {
  width: 28px;
  border-radius: 4px;
  background: var(--cyan);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.contact-details a {
  color: var(--cyan);
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  color: #bdd0dc;
  font-size: 0.78rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  outline: 0;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form input {
  min-height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 140px;
  padding: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(53, 231, 242, 0.65);
  box-shadow: 0 0 0 3px rgba(53, 231, 242, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #637d8d;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .button {
  width: 100%;
}

.contact-form > small {
  color: #718a9a;
  text-align: center;
}

.footer {
  display: grid;
  width: var(--page);
  margin: 0 auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.terms-page{padding:clamp(8rem,14vw,12rem) max(5vw,24px) 6rem;max-width:1320px;margin:0 auto}.terms-hero{max-width:850px;margin-bottom:clamp(3rem,7vw,6rem)}.terms-hero h1{margin:.7rem 0 1.5rem;font-size:clamp(3.8rem,9vw,8rem);line-height:.84;letter-spacing:-.065em}.terms-hero h1 em{color:var(--coral);font-family:Georgia,serif;font-weight:400}.terms-hero>p:last-child{max-width:650px;color:#a9bfcc;font-size:clamp(1rem,1.5vw,1.2rem);line-height:1.7}.terms-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,760px);gap:clamp(2rem,7vw,7rem);align-items:start}.terms-summary{position:sticky;top:110px;display:grid;gap:.55rem;padding:1.6rem;border:1px solid rgba(57,213,223,.24);border-radius:22px;background:rgba(8,32,50,.72)}.terms-summary>span{color:var(--cyan);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.terms-summary strong{font-size:1.35rem}.terms-summary p{margin:.4rem 0;color:#a9bfcc;line-height:1.65}.terms-summary a{color:#fff;overflow-wrap:anywhere}.terms-content{display:grid;gap:0}.terms-content section{display:grid;grid-template-columns:44px 1fr;gap:1.2rem;padding:0 0 2.2rem;margin-bottom:2.2rem;border-bottom:1px solid rgba(255,255,255,.1)}.terms-content section>span{color:var(--coral);font-size:.8rem;font-weight:900;letter-spacing:.1em}.terms-content h2{margin:0 0 .8rem;font-size:clamp(1.45rem,2.4vw,2rem)}.terms-content p{margin:0;color:#b5c8d3;line-height:1.75}.terms-content a{color:var(--cyan);text-decoration:underline;text-underline-offset:3px}@media(max-width:760px){.terms-layout{grid-template-columns:1fr}.terms-summary{position:static}.terms-content section{grid-template-columns:34px 1fr}.terms-page{padding-top:7rem}}

.footer > p {
  color: var(--muted);
  text-align: center;
}

.footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
  color: var(--muted);
  font-size: 0.74rem;
}

.footer > div a {
  color: #d7e7ee;
}

.site-header.is-inner {
  background: rgba(2, 12, 24, 0.86);
  box-shadow: var(--shadow);
}

.main-nav a[aria-current="page"] {
  color: white;
}

.main-nav a[aria-current="page"]::after {
  right: 0;
}

.course-loading,
.admin-loading {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.inner-hero {
  position: relative;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
  overflow: hidden;
  padding: 190px max(24px, calc((100vw - 1240px) / 2)) 90px;
  background:
    linear-gradient(90deg, rgba(2, 9, 18, 0.98), rgba(2, 12, 24, 0.52)),
    url("../assets/hero-production.png") center 42% / cover no-repeat;
}

.inner-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  content: "";
  background: linear-gradient(transparent, var(--navy));
}

.inner-hero > div:not(.inner-hero__glow),
.inner-hero aside {
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.inner-hero h1 em {
  color: var(--sage);
  font-style: normal;
}

.inner-hero > div > p:last-child {
  max-width: 690px;
  margin: 30px 0 0;
  color: #bdd0dd;
  font-size: 1.1rem;
  line-height: 1.7;
}

.inner-hero aside {
  display: grid;
  min-width: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(4, 22, 34, 0.58);
  backdrop-filter: blur(14px);
  text-align: center;
}

.inner-hero aside strong {
  color: var(--cyan);
  font-size: 3.5rem;
  font-weight: 500;
}

.inner-hero aside span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.inner-hero__glow {
  position: absolute;
  top: -20%;
  left: 35%;
  width: 30%;
  height: 110%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(53, 231, 242, 0.1),
    transparent
  );
  filter: blur(18px);
  transform: rotate(12deg);
}

.inner-hero--locations {
  min-height: 570px;
  padding-top: 165px;
  padding-bottom: 72px;
  background:
    linear-gradient(90deg, rgba(7, 8, 14, 0.96), rgba(20, 10, 5, 0.42)),
    url("../assets/hero-adventure.png") center 66% / cover no-repeat;
}

.inner-hero--locations h1 {
  font-size: clamp(4rem, 6.4vw, 6.4rem);
}

.inner-hero--locations > div > p:last-child {
  max-width: 760px;
  margin-top: 24px;
}

.inner-hero--about {
  background:
    linear-gradient(90deg, rgba(2, 9, 18, 0.98), rgba(2, 12, 24, 0.48)),
    url("../assets/hero-four-worlds.png") left 38% / cover no-repeat;
}

.inner-hero--reviews {
  background:
    linear-gradient(90deg, rgba(2, 9, 18, 0.96), rgba(2, 12, 24, 0.54)),
    url("../assets/hero-production.png") center 65% / cover no-repeat;
}

.inner-hero--app {
  background:
    radial-gradient(circle at 76% 48%, rgba(53, 231, 242, 0.2), transparent 25%),
    linear-gradient(90deg, rgba(2, 9, 18, 0.99), rgba(4, 31, 43, 0.62)),
    url("../assets/hero-four-worlds.png") center / cover no-repeat;
}

.inner-hero--contact {
  background:
    radial-gradient(circle at 72% 30%, rgba(151, 224, 142, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(2, 9, 18, 0.99), rgba(3, 18, 28, 0.62)),
    url("../assets/hero-adventure.png") center / cover no-repeat;
}

.inner-hero--speed {
  min-height: 760px;
  align-items: center;
  padding-top: 165px;
  padding-bottom: 105px;
  background:
    radial-gradient(circle at 79% 43%, rgba(255, 89, 45, 0.28), transparent 25%),
    linear-gradient(90deg, rgba(15, 4, 3, 0.98) 0%, rgba(26, 8, 5, 0.84) 48%, rgba(21, 7, 4, 0.46) 100%),
    url("../assets/speed-yaris-hero.webp") center 56% / cover no-repeat;
}

.inner-hero--speed::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 174, 94, 0.08) 58.2% 58.35%, transparent 58.5%),
    linear-gradient(115deg, transparent 0 65%, rgba(255, 255, 255, 0.05) 65.1% 65.2%, transparent 65.35%);
  opacity: 0.7;
}

.speed-hero-copy {
  max-width: 770px;
}

.inner-hero--speed h1 {
  font-size: clamp(4rem, 6.4vw, 6.8rem);
}

.inner-hero--speed h1 em {
  color: var(--sage);
}

.inner-hero--speed > .speed-hero-copy > p:last-of-type {
  color: #dfc4b8;
}

.speed-hero-actions {
  justify-content: flex-start;
  margin-top: 34px;
}

.speed-hero-badge {
  display: grid !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none;
  place-items: center;
  backdrop-filter: none !important;
}

.speed-hero-badge img {
  display: block;
  width: min(420px, 31vw);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 28px rgba(255, 90, 48, 0.2));
}

.speed-hero-badge span {
  margin-top: 18px;
  color: #f3c7b5 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.18em;
}

.speed-road-lines {
  position: absolute;
  right: -8%;
  bottom: -25%;
  width: 64%;
  height: 64%;
  z-index: 1;
  opacity: 0.18;
  transform: rotate(-11deg);
}

.speed-road-lines i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 176, 90, 0.62);
  border-radius: 50%;
}

.speed-road-lines i:nth-child(2) { inset: 12% 8%; }
.speed-road-lines i:nth-child(3) { inset: 24% 16%; }

.speed-metrics > div {
  background: rgba(39, 12, 8, 0.96);
}

.speed-editorial-photo {
  display: flex;
  min-height: 370px;
  align-items: flex-end;
  justify-content: flex-start;
  isolation: isolate;
}

.speed-editorial-photo::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(90deg, rgba(20, 5, 3, 0.96), rgba(63, 17, 9, 0.34));
}

.speed-editorial-photo img {
  position: absolute;
  top: 50%;
  right: -4%;
  width: min(430px, 60%);
  z-index: -3;
  opacity: 0.82;
  transform: translateY(-50%) rotate(4deg);
}

.speed-editorial-photo h3 {
  max-width: 430px;
}

.speed-roadmap {
  padding-top: 110px;
  padding-bottom: 110px;
}

.speed-roadmap .section-heading h2 em {
  color: var(--sage);
  font-family: Georgia, serif;
  font-weight: 400;
}

.speed-roadmap__steps {
  display: grid;
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.speed-roadmap__steps article {
  display: grid;
  min-height: 175px;
  padding: 32px 10px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 30px;
}

.speed-roadmap__steps article > span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.speed-roadmap__steps h3 {
  margin: 0 0 11px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.speed-roadmap__steps p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.speed-cta {
  margin-bottom: 110px;
  background:
    radial-gradient(circle at 82% 15%, rgba(255, 104, 70, 0.2), transparent 33%),
    linear-gradient(135deg, rgba(65, 20, 13, 0.94), rgba(30, 9, 6, 0.94));
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: -42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric-strip > div {
  min-height: 150px;
  padding: 30px;
  background: rgba(4, 20, 34, 0.96);
}

.metric-strip strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-grid,
.info-grid,
.review-wall,
.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.editorial-card,
.info-card,
.review-card,
.app-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, var(--accent-shadow), transparent 38%),
    var(--panel);
  box-shadow: var(--shadow);
}

.editorial-card > span,
.info-card > span,
.app-feature-card > span {
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.editorial-card h2,
.editorial-card h3,
.info-card h3,
.app-feature-card h3 {
  margin: 18px 0 16px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.editorial-card p,
.info-card p,
.app-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.editorial-card--wide {
  grid-column: span 2;
}

.review-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-card {
  min-height: 260px;
}

.review-card::before {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  content: "“";
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.7;
}

.review-card p {
  margin: 0;
  color: #d7e6ed;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.review-card footer {
  display: grid;
  gap: 5px;
  margin-top: 28px;
}

.review-card footer small {
  color: var(--muted);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(50px, 9vw, 130px);
}

.page-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.page-intro__copy {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-intro__copy p {
  margin: 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.contact-page-note {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  line-height: 1.65;
}

.course-page {
  padding-top: 70px;
}

.course-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 27, 45, 0.6);
}

.course-toolbar > div:first-child {
  display: grid;
  width: min(380px, 100%);
  gap: 8px;
}

.course-toolbar label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.course-toolbar input {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  outline: 0;
}

.course-toolbar input:focus {
  border-color: var(--cyan);
}

.course-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.course-filters button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #c4d5df;
  cursor: pointer;
}

.course-filters button.is-active,
.course-filters button:hover {
  border-color: rgba(53, 231, 242, 0.5);
  background: rgba(53, 231, 242, 0.1);
  color: var(--cyan);
}

.course-grid--catalog {
  align-items: stretch;
}

.course-card--catalog {
  scroll-margin-top: 120px;
}

.course-card--catalog .course-body h3 {
  min-height: 0;
}

.course-location {
  margin-top: 15px;
  color: var(--sage);
  font-size: 0.85rem;
}

.course-description {
  min-height: 118px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.course-meta .status-cancelled {
  color: #ff9c9c;
}

.empty-state {
  padding: 70px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: white;
  font-size: 1.5rem;
}

.course-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 0%, rgba(53, 231, 242, 0.12), transparent 35%),
    var(--panel);
}

.course-cta h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.course-cta > div > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes bubble-rise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-600px);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.035);
  }
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.79rem;
  }

  .hero-content {
    width: min(980px, 92vw);
  }

  .discipline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-card:last-child {
    grid-column: 1 / -1;
  }

  .course-cinema-heading {
    gap: 48px;
  }

  .course-cinema-switcher button {
    padding: 0 16px;
  }

  .location-stage {
    grid-template-columns: 1fr 1fr;
  }

  .location:last-child {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .location:last-child p {
    margin-top: 170px;
  }
}

@media (max-width: 860px) {
  :root {
    --page: min(100% - 32px, 700px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .menu-button {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    overflow: hidden;
    max-height: 0;
    gap: 0;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: rgba(2, 12, 24, 0.96);
    opacity: 0;
    backdrop-filter: blur(20px);
    transition:
      max-height 250ms ease,
      padding 250ms ease,
      opacity 200ms ease,
      border-color 200ms ease;
  }

  .main-nav.is-open {
    max-height: 520px;
    padding: 12px 18px;
    border-color: var(--line);
    opacity: 1;
  }

  .main-nav a {
    padding: 15px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding-top: 160px;
    background: #020b14;
  }

  .hero-backdrop {
    background:
      linear-gradient(
        to bottom,
        rgba(2, 8, 17, 0.6) 0%,
        rgba(2, 9, 18, 0.72) 40%,
        rgba(2, 9, 18, 0.98) 77%
      ),
      url("../assets/hero-four-worlds.png") center / cover no-repeat;
  }

  .hero-content {
    width: 100%;
  }

  .course-cinema {
    min-height: 1180px;
  }

  .course-cinema-shell {
    padding-top: 98px;
    padding-bottom: 98px;
  }

  .course-cinema-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .course-cinema-heading > p {
    max-width: 620px;
  }

  .course-cinema-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 48px 0 64px;
  }

  .course-cinema-switcher button:nth-child(2) {
    border-right: 0;
  }

  .course-cinema-switcher button:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .course-cinema-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .editorial-grid,
  .info-grid,
  .app-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-card--wide {
    grid-column: 1 / -1;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(3.4rem, 13vw, 5.8rem);
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .discipline-grid,
  .about,
  .app-promo,
  .contact {
    grid-template-columns: 1fr;
  }

  .discipline-grid {
    min-height: auto;
  }

  .discipline {
    min-height: 430px;
  }

  .discipline--freediving {
    grid-row: auto;
  }

  .about {
    gap: 56px;
  }

  .about-visual {
    min-height: 500px;
  }

  .app-promo {
    min-height: 0;
    gap: 65px;
    padding: 60px 32px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer > div {
    justify-content: center;
  }

  .inner-hero {
    min-height: 700px;
    grid-template-columns: 1fr;
    align-content: end;
    padding-top: 150px;
  }

  .inner-hero aside {
    width: 180px;
  }

  .course-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .course-toolbar > div:first-child {
    width: 100%;
  }

  .course-filters {
    justify-content: flex-start;
  }

  .course-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 32px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100% - 24px);
    --radius: 22px;
  }

  .site-header {
    top: 8px;
    padding: 10px 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand strong {
    font-size: 0.76rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .hero {
    min-height: 1040px;
    padding: 140px 18px 80px;
  }

  .theme-selector {
    max-width: 390px;
    grid-template-columns: repeat(2, minmax(0, 176px));
    gap: 6px 16px;
  }

  .theme-logo--speed {
    width: min(176px, 46vw);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .theme-logo img {
    max-width: 180px;
  }

  .theme-logo span {
    margin-top: 8px;
    font-size: 0.6rem;
  }

  .course-cinema {
    min-height: 1480px;
  }

  .course-cinema-heading h2 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .course-cinema-switcher {
    border-radius: 18px;
  }

  .course-cinema-switcher button {
    min-height: 78px;
    gap: 10px;
    padding: 0 13px;
  }

  .course-cinema-switcher button strong {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .metric-strip,
  .editorial-grid,
  .info-grid,
  .review-wall,
  .app-feature-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-top: -24px;
  }

  .metric-strip > div {
    min-height: 115px;
  }

  .editorial-card,
  .info-card,
  .review-card,
  .app-feature-card {
    min-height: 0;
    padding: 26px;
  }

  .hero .hero-theme-title {
    margin-top: 24px;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .hero-word.is-long {
    font-size: 0.5em;
    vertical-align: 0.16em;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .trust-row {
    gap: 14px;
  }

  .trust-row div {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
  }

  .trust-row div + div {
    padding-left: 14px;
  }

  .trust-row div:last-child {
    display: none;
  }

  .section-heading--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .discipline {
    min-height: 410px;
    padding: 24px;
  }

  .course-grid,
  .location-stage {
    grid-template-columns: 1fr;
  }

  .course-card:last-child,
  .location:last-child {
    grid-column: auto;
  }

  .location,
  .location:last-child {
    min-height: 360px;
  }

  .location p,
  .location:last-child p {
    margin-top: 190px;
  }

  .about-visual {
    min-height: 420px;
  }

  .app-promo {
    width: calc(100% - 24px);
    padding: 48px 20px;
    border-radius: 26px;
  }

  .phone {
    transform: none;
  }

  .phone-screen {
    min-height: 570px;
  }

  .review-shell {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .review-shell blockquote {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 370px;
    padding: 38px 22px;
  }

  .review-shell > button {
    justify-self: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .inner-hero {
    min-height: 680px;
    padding: 145px 18px 70px;
  }

  .inner-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .inner-hero aside {
    display: flex;
    width: auto;
    min-width: 0;
    align-items: baseline;
    gap: 12px;
    justify-self: start;
    padding: 14px 18px;
  }

  .inner-hero aside strong {
    font-size: 2rem;
  }

  .course-toolbar {
    padding: 16px;
  }

  .course-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .course-filters button {
    padding: 0 10px;
  }

  .course-description {
    min-height: 0;
  }

  .course-cta {
    width: calc(100% - 24px);
    padding: 34px 22px;
  }
}

/* Domovská sekce lokací – fotografické karty */
.home-page .locations.section {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
}

.home-page .location-stage {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-page .location {
  display: block;
  min-height: 470px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: #071521;
  text-decoration: none;
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.home-page .location::before,
.home-page .location::after {
  display: none;
}

.home-page .location:hover {
  border-color: rgba(53, 231, 242, 0.5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(53, 231, 242, 0.08);
  transform: translateY(-8px);
}

.location__photo,
.location__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.location__photo {
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.location:hover .location__photo {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.065);
}

.location__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 8, 14, 0.02) 22%, rgba(2, 8, 14, 0.26) 51%, rgba(2, 8, 14, 0.96) 100%),
    linear-gradient(90deg, rgba(2, 9, 16, 0.28), transparent 65%);
}

.location__content {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  display: grid;
  color: #fff;
}

.location__content small {
  margin-bottom: 10px;
  color: #77e2d1;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location__content strong {
  max-width: 85%;
  color: #fff;
  font-size: clamp(2.1rem, 3.2vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.location__content em {
  max-width: 310px;
  margin-top: 14px;
  color: #c1d1d8;
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.55;
}

.location__arrow {
  position: absolute;
  right: 26px;
  bottom: 28px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  place-items: center;
  color: #041018;
  background: var(--cyan);
  font-size: 1rem;
  transition: transform 250ms ease;
}

.location:hover .location__arrow {
  transform: translate(3px, -3px);
}

/* Detail lokace */
.location-detail-page {
  background: #030812;
}

.location-detail-page main {
  overflow: clip;
}

.location-detail-hero {
  position: relative;
  width: 100%;
  min-height: min(860px, 92vh);
  overflow: hidden;
  background: #071521;
  isolation: isolate;
}

.location-detail-hero__media,
.location-detail-hero__shade {
  position: absolute;
  inset: 0;
}

.location-detail-hero__media {
  z-index: -3;
}

.location-detail__photo-svg {
  width: 100%;
  height: 100%;
  filter: saturate(1.03) contrast(1.04);
  transform: scale(1.025);
}

.location-detail-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 8, 15, 0.96) 0%, rgba(2, 8, 15, 0.72) 41%, rgba(2, 8, 15, 0.12) 78%),
    linear-gradient(0deg, #030812 0%, rgba(3, 8, 18, 0.7) 17%, transparent 48%),
    radial-gradient(circle at 75% 30%, transparent, rgba(1, 6, 12, 0.25) 74%);
}

.location-detail-hero__content {
  position: relative;
  display: flex;
  min-height: min(860px, 92vh);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding-top: 145px;
  padding-bottom: 90px;
}

.location-breadcrumb {
  position: absolute;
  top: 120px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a9bbc4;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.location-breadcrumb strong {
  color: var(--cyan);
}

.location-detail-hero__copy {
  max-width: 760px;
}

.location-detail-hero__copy h1 {
  margin: 14px 0 28px;
  color: #fff;
  font-size: clamp(5.3rem, 10vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.location-detail-hero__copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #dbe8ed;
  font-size: clamp(1.08rem, 1.7vw, 1.4rem);
  line-height: 1.62;
}

.location-detail-hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.location-detail-hero__back {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #d7e6ea;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.location-detail-hero__back span {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  place-items: center;
}

.location-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: clamp(60px, 9vw, 130px);
}

.location-detail-intro__copy h2 {
  max-width: 780px;
  margin: 12px 0 34px;
  font-size: clamp(3.3rem, 5.6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.location-detail-intro__copy h2 em {
  display: block;
  color: var(--cyan);
  font-family: Georgia, serif;
  font-weight: 400;
}

.location-detail-body {
  max-width: 760px;
  padding-left: 28px;
  border-left: 1px solid rgba(53, 231, 242, 0.32);
}

.location-detail-body p {
  margin: 0 0 22px;
  color: #aebfc8;
  font-size: 1rem;
  line-height: 1.82;
}

.location-detail-facts {
  align-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 34, 47, 0.9), rgba(5, 15, 24, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.location-detail-facts div {
  display: grid;
  gap: 7px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.location-detail-facts div:last-child {
  border-bottom: 0;
}

.location-detail-facts small {
  color: #77919e;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location-detail-facts strong {
  color: #f5fbfd;
  font-size: 1rem;
}

.location-detail-highlights.section {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 15% 50%, rgba(53, 231, 242, 0.1), transparent 27%),
    rgba(255, 255, 255, 0.018);
}

.location-detail-highlights header {
  max-width: 720px;
  margin-bottom: 42px;
}

.location-detail-highlights h2 {
  margin: 12px 0 0;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.055em;
}

.location-detail-highlights ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.location-detail-highlights li {
  display: grid;
  min-height: 180px;
  padding: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  align-content: space-between;
  color: #edf7f9;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.location-detail-highlights li:last-child {
  border-right: 0;
}

.location-detail-highlights li span {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.location-detail-gallery__grid {
  display: grid;
  height: 680px;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.location-detail-gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: #071521;
}

.location-detail-gallery__item:first-child {
  grid-row: 1 / 3;
}

.location-detail-gallery__item svg {
  width: 100%;
  height: 100%;
  transition: transform 800ms ease, filter 500ms ease;
}

.location-detail-gallery__item--2 svg {
  transform: scale(1.28) translate(-3%, 2%);
}

.location-detail-gallery__item--3 svg {
  transform: scale(1.42) translate(5%, -3%);
}

.location-detail-gallery__item:hover svg {
  filter: saturate(1.12);
  transform: scale(1.06);
}

.location-detail-gallery__item--2:hover svg {
  transform: scale(1.34) translate(-3%, 2%);
}

.location-detail-gallery__item--3:hover svg {
  transform: scale(1.48) translate(5%, -3%);
}

.location-detail-gallery__item::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(transparent, rgba(2, 8, 14, 0.75));
  pointer-events: none;
}

.location-detail-gallery figcaption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-detail-pagination {
  display: grid;
  padding-top: 0;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.location-detail-pagination a {
  display: grid;
  min-height: 140px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  align-content: space-between;
  color: #fff;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 250ms ease, background 250ms ease, transform 250ms ease;
}

.location-detail-pagination a:last-child {
  text-align: right;
}

.location-detail-pagination a:hover {
  border-color: rgba(53, 231, 242, 0.42);
  background: rgba(53, 231, 242, 0.055);
  transform: translateY(-4px);
}

.location-detail-pagination span {
  color: #79919d;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-detail-pagination strong {
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  letter-spacing: -0.04em;
}

@media (max-width: 1000px) {
  .home-page .location-stage {
    grid-template-columns: 1fr 1fr;
  }

  .home-page .location:last-child {
    grid-column: 1 / -1;
  }

  .location-detail-intro {
    grid-template-columns: 1fr;
  }

  .location-detail-facts {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .location-detail-facts div:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  .home-page .locations.section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-page .location-stage {
    grid-template-columns: 1fr;
  }

  .home-page .location,
  .home-page .location:last-child {
    min-height: 390px;
    grid-column: auto;
  }

  .location-detail-hero,
  .location-detail-hero__content {
    min-height: 760px;
  }

  .location-detail-hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 8, 15, 0.78), rgba(2, 8, 15, 0.25)),
      linear-gradient(0deg, #030812 0%, rgba(3, 8, 18, 0.9) 48%, rgba(3, 8, 18, 0.2) 100%);
  }

  .location-detail-hero__content {
    justify-content: flex-end;
    padding-top: 125px;
    padding-bottom: 92px;
  }

  .location-breadcrumb {
    top: 104px;
  }

  .location-detail-hero__copy h1 {
    font-size: clamp(4.2rem, 20vw, 6.3rem);
  }

  .location-detail-hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .location-detail-hero__back {
    display: none;
  }

  .location-detail-intro__copy h2 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .location-detail-body {
    padding-left: 20px;
  }

  .location-detail-facts {
    grid-template-columns: 1fr;
  }

  .location-detail-facts div:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .location-detail-highlights ol {
    grid-template-columns: 1fr;
  }

  .location-detail-highlights li {
    min-height: 130px;
    border-right: 0;
  }

  .location-detail-gallery__grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .location-detail-gallery__item,
  .location-detail-gallery__item:first-child {
    min-height: 300px;
    grid-row: auto;
  }

  .location-detail-pagination {
    grid-template-columns: 1fr;
  }

  .location-detail-pagination a:last-child {
    text-align: left;
  }
}

.course-detail-loading,
.course-detail-error {
  display: grid;
  min-height: 78svh;
  place-content: center;
  text-align: center;
}

[hidden] {
  display: none !important;
}

.course-detail-error h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
}

.course-detail-error .button {
  justify-self: center;
  margin-top: 20px;
}

.course-detail-hero {
  position: relative;
  display: grid;
  min-height: 790px;
  overflow: hidden;
  align-items: end;
}

.course-detail-hero__image,
.course-detail-hero__shade {
  position: absolute;
  inset: 0;
}

.course-detail-hero__image {
  background: url("../assets/hero-production.png") center 42% / cover no-repeat;
  transform: scale(1.02);
}

.course-detail-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-detail-hero__shade {
  background:
    radial-gradient(circle at 70% 38%, rgba(24, 190, 216, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(1, 8, 17, 0.97) 0%, rgba(1, 8, 17, 0.66) 48%, rgba(1, 8, 17, 0.25) 100%),
    linear-gradient(0deg, #050b18 0%, transparent 48%);
}

.course-detail-hero__content {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  padding-top: 190px;
  padding-bottom: 95px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.course-detail-hero h1 {
  max-width: 1000px;
  margin: 18px 0 26px;
  font-size: clamp(4rem, 8.5vw, 8.8rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.course-detail-lead {
  max-width: 720px;
  margin: 0;
  color: #c5d8e2;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.course-facts {
  display: grid;
  width: min(1280px, calc(100% - 48px));
  margin-top: -34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(7, 22, 36, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  grid-template-columns: repeat(4, 1fr);
}

.course-gallery {
  display: grid;
  width: min(1280px, calc(100% - 48px));
  margin-top: -34px;
  margin-bottom: 60px;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.course-gallery[hidden] {
  display: none;
}

.course-gallery button {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: #071522;
  cursor: pointer;
}

.course-gallery button:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.course-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.course-gallery button:hover img {
  filter: brightness(1.12);
  transform: scale(1.035);
}

.course-gallery:not([hidden]) + .course-facts {
  margin-top: 0;
}

.course-facts div {
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 10px;
  padding: 25px 30px;
}

.course-facts div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.course-facts span {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-facts strong {
  color: #eef8fb;
  font-size: clamp(0.95rem, 1.5vw, 1.18rem);
  line-height: 1.4;
}

.course-detail-layout {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  padding-top: 110px;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 90px;
}

.course-detail-copy {
  min-width: 0;
}

.course-copy-section {
  padding: 0 0 80px;
}

.course-copy-section + .course-copy-section {
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-copy-section h2 {
  margin: 14px 0 28px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.course-copy-section p:not(.eyebrow) {
  margin: 0 0 20px;
  color: #b8cbd6;
  font-size: 1.02rem;
  line-height: 1.85;
}

.course-copy-section .text-link {
  display: inline-block;
  margin-top: 14px;
}

.course-copy-section--visual {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(230px, 0.78fr);
  gap: clamp(28px, 4vw, 52px);
}

.course-copy-section--visual .course-copy-text {
  min-width: 0;
}

.course-copy-section--reverse {
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.08fr);
}

.course-copy-section--reverse .course-copy-text {
  order: 2;
}

.course-copy-section--reverse .course-copy-photo {
  order: 1;
}

.course-copy-photo {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: #061522;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  aspect-ratio: 4 / 5;
}

.course-copy-photo[hidden] {
  display: none;
}

.course-copy-photo::after {
  position: absolute;
  inset: 42% 0 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(1, 8, 15, 0.88));
}

.course-copy-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.course-copy-photo:hover img {
  filter: brightness(1.08);
  transform: scale(1.025);
}

.course-copy-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: rgba(239, 249, 252, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.course-detail-list {
  display: grid;
  gap: 12px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.course-detail-list li {
  position: relative;
  min-height: 52px;
  padding: 15px 18px 15px 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: #d6e5eb;
  line-height: 1.55;
}

.course-detail-list li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--cyan);
  content: "✓";
  font-weight: 800;
}

.course-copy-section--warning {
  margin-bottom: 30px;
  padding: 35px !important;
  border: 1px solid rgba(255, 193, 97, 0.18) !important;
  border-radius: 22px;
  background: rgba(255, 193, 97, 0.045);
}

.course-contact-card {
  position: sticky;
  top: 115px;
  display: grid;
  height: max-content;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(53, 231, 242, 0.18);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(10, 40, 58, 0.96), rgba(5, 17, 29, 0.98));
  box-shadow: var(--shadow);
}

.course-contact-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(53, 231, 242, 0.07);
}

.course-contact-card h2 {
  margin: 0;
  font-size: 1.8rem;
}

.course-contact-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.course-contact-card > a:not(.button) {
  color: #d8edf4;
  font-size: 0.86rem;
}

.course-contact-card .button {
  margin-top: 16px;
}

.course-application {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin-bottom: 110px;
  padding: clamp(35px, 6vw, 75px);
  border: 1px solid rgba(53, 231, 242, 0.15);
  border-radius: 32px;
  background:
    radial-gradient(circle at 15% 15%, rgba(53, 231, 242, 0.12), transparent 35%),
    #071725;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 90px);
}

.course-application h2 {
  margin: 15px 0 20px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.course-application > div > p:not(.eyebrow) {
  color: #d9edf4;
  font-size: 1.2rem;
}

.course-application > div > small {
  display: block;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .course-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .course-facts {
    grid-template-columns: 1fr 1fr;
  }

  .course-facts div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .course-facts div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .course-detail-layout,
  .course-application {
    grid-template-columns: 1fr;
  }

  .course-detail-layout {
    gap: 35px;
  }

  .course-contact-card {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .course-detail-hero {
    min-height: 720px;
  }

  .course-detail-hero__content,
  .course-gallery,
  .course-facts,
  .course-detail-layout,
  .course-application {
    width: calc(100% - 24px);
  }

  .course-detail-hero__content {
    padding: 150px 6px 80px;
  }

  .breadcrumbs {
    margin-bottom: 36px;
  }

  .course-gallery {
    margin-top: -24px;
    margin-bottom: 35px;
    grid-template-columns: 1fr 1fr;
  }

  .course-gallery button,
  .course-gallery button:first-child {
    min-height: 130px;
    grid-column: auto;
    grid-row: auto;
  }

  .course-detail-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .course-facts {
    grid-template-columns: 1fr;
  }

  .course-facts div {
    min-height: 100px;
  }

  .course-facts div + div,
  .course-facts div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 0;
  }

  .course-detail-layout {
    padding-top: 70px;
  }

  .course-copy-section {
    padding-bottom: 55px;
  }

  .course-copy-section + .course-copy-section {
    padding-top: 50px;
  }

  .course-copy-section--visual,
  .course-copy-section--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .course-copy-section--visual .course-copy-text,
  .course-copy-section--reverse .course-copy-text {
    order: 1;
  }

  .course-copy-section--visual .course-copy-photo,
  .course-copy-section--reverse .course-copy-photo {
    order: 2;
    min-height: 0;
    border-radius: 22px;
  }

  .course-copy-section--warning,
  .course-contact-card,
  .course-application {
    padding: 25px;
  }

  .course-application {
    margin-bottom: 70px;
  }
}

@media (max-width: 1080px) {
  .location-slide__content {
    grid-template-columns: 1fr 280px;
    gap: 34px;
  }

  .location-slide__copy h2 {
    font-size: clamp(5rem, 12vw, 8rem);
  }
}

@media (max-width: 860px) {
  .location-cinema {
    padding-top: 24px;
  }

  .location-cinema__heading {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 38px;
  }

  .location-slider {
    width: calc(100% - 20px);
    height: 760px;
    min-height: 760px;
    border-radius: 26px 26px 0 0;
  }

  .location-slide__content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding-top: 72px;
    padding-bottom: 162px;
  }

  .location-slide__facts {
    width: min(100%, 520px);
    grid-template-columns: repeat(3, 1fr);
  }

  .location-slide__facts div {
    padding: 16px;
  }

  .location-slide__facts strong {
    font-size: 0.82rem;
  }

  .location-slider__controls {
    grid-template-columns: 46px 1fr 46px;
    gap: 9px;
  }

  .location-slider__arrow {
    width: 46px;
    height: 46px;
  }

  .location-slider__tabs button {
    justify-content: center;
    padding: 0 10px;
  }

  .location-slider__tabs button span {
    display: none;
  }
}

@media (max-width: 560px) {
  .location-cinema__heading h2 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    line-height: 0.9;
  }

  .location-slider {
    height: 790px;
    min-height: 790px;
  }

  .location-slide__veil {
    background:
      linear-gradient(90deg, rgba(2, 8, 16, 0.88), rgba(2, 9, 18, 0.35)),
      linear-gradient(0deg, rgba(2, 8, 16, 0.99) 0%, rgba(2, 8, 16, 0.52) 58%, transparent 100%);
  }

  .location-slide__content {
    justify-content: flex-end;
    gap: 18px;
    padding-bottom: 158px;
  }

  .location-slide__copy h2 {
    font-size: clamp(4.4rem, 22vw, 6.3rem);
  }

  .location-slide__lead {
    margin: 20px 0 18px;
    font-size: 1rem;
  }

  .location-slide__tags span:nth-child(3) {
    display: none;
  }

  .location-slide__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }

  .location-slide__actions .button {
    width: 100%;
    justify-content: space-between;
  }

  .location-slide__facts {
    display: none;
  }

  .location-slider__controls {
    bottom: 28px;
    grid-template-columns: 42px 1fr 42px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .location-slider__arrow {
    width: 42px;
    height: 42px;
  }

  .location-slider__tabs button {
    min-height: 52px;
    font-size: 0.72rem;
  }
}

/* Lokace 2026 – lokální video a cestovatelská mapa */
.locations-page {
  --route-red: #ff553d;
  --route-red-soft: rgba(255, 85, 61, 0.2);
  background: #030812;
}

.locations-page main {
  overflow: clip;
}

.location-cinema--local {
  padding: 0;
  background: #030812;
}

.location-slider--local {
  width: 100%;
  height: min(880px, 92vh);
  min-height: 700px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.location-slider--local::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 150px;
  content: "";
  background: linear-gradient(transparent, #030812);
  pointer-events: none;
}

.location-slider--local .location-slide__content {
  padding-top: 126px;
}

.location-slider--local .location-slide__copy h1 {
  max-width: 970px;
  margin: 0;
  color: #fff;
  font-size: clamp(5.2rem, 10vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.42);
}

.location-local-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.035);
  transition: transform 11s ease-out;
}

.location-slide.is-active .location-local-video {
  transform: scale(1);
}

.location-slide__media--bali .location-local-video {
  object-position: center 54%;
}

.location-slide__media--croatia .location-local-video {
  object-position: center 48%;
}

.location-slider__tabs--two {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.location-slider--local .location-slider__controls,
.location-slider--local .location-slider__progress {
  z-index: 4;
}

.location-map {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 112px max(24px, calc((100vw - 1240px) / 2)) 140px;
  background:
    radial-gradient(circle at 12% 8%, rgba(25, 157, 175, 0.13), transparent 24%),
    radial-gradient(circle at 90% 42%, rgba(255, 85, 61, 0.08), transparent 23%),
    linear-gradient(180deg, #030812, #07101c 48%, #030812);
}

.location-map::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(transparent, black 10%, black 88%, transparent);
  pointer-events: none;
}

.location-map__heading {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1240px;
  margin: 0 auto 92px;
  grid-template-columns: minmax(0, 650px) minmax(320px, 440px);
  align-items: end;
  justify-content: space-between;
  gap: 64px;
}

.location-map__heading h2 {
  margin: 12px 0 0;
  color: #fff;
  max-width: 650px;
  font-size: clamp(3.4rem, 5.3vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.location-map__heading h2 em {
  display: inline-block;
  color: var(--route-red);
  font-family: Georgia, serif;
  font-weight: 400;
}

.location-map__intro {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.location-map__intro p {
  margin: 0 0 24px;
  color: #a9bcc7;
  line-height: 1.75;
}

.location-map__intro > span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #d9e5e9;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-map__intro b {
  color: #fff;
  font-size: 2.1rem;
  letter-spacing: -0.04em;
}

.location-route {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 0 10px;
}

.location-route::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  content: "";
  background: repeating-linear-gradient(to bottom, var(--route-red) 0 11px, transparent 11px 23px);
  filter: drop-shadow(0 0 7px rgba(255, 85, 61, 0.4));
  transform: translateX(-50%);
}

.location-route__stop {
  position: relative;
  display: grid;
  min-height: 270px;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
}

.location-route__stop::after {
  position: absolute;
  top: 50%;
  right: 50%;
  width: 48px;
  border-top: 2px dashed var(--route-red);
  content: "";
  opacity: 0.8;
}

.location-route__stop:nth-child(even)::after {
  right: auto;
  left: 50%;
}

.location-route__node {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  border: 2px solid var(--route-red);
  border-radius: 50%;
  grid-column: 2;
  grid-row: 1;
  place-self: center;
  place-items: center;
  color: #fff;
  background: #07101c;
  box-shadow: 0 0 0 8px #07101c, 0 0 0 9px rgba(255, 85, 61, 0.18), 0 0 30px rgba(255, 85, 61, 0.22);
}

.location-route__node span {
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.location-map-card {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(145deg, rgba(17, 33, 46, 0.96), rgba(7, 18, 29, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateX(-34px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 250ms ease, box-shadow 250ms ease;
}

.location-route__stop:nth-child(even) .location-map-card {
  grid-column: 3;
  transform: translateX(34px);
}

.location-route__stop.is-visible .location-map-card {
  opacity: 1;
  transform: translateX(0);
}

.location-map-card::before {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.018), 0 0 0 58px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.location-map-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent 72%);
}

.location-route__stop[data-region="czechia"] .location-map-card::after {
  background: linear-gradient(90deg, #9ec7b5, transparent 72%);
}

.location-route__stop[data-region="mediterranean"] .location-map-card::after,
.location-route__stop[data-region="africa"] .location-map-card::after {
  background: linear-gradient(90deg, #ffb56b, var(--route-red), transparent 78%);
}

.location-route__stop[data-region="asia"] .location-map-card::after,
.location-route__stop[data-region="america"] .location-map-card::after {
  background: linear-gradient(90deg, #45dfc2, #31a6e4, transparent 78%);
}

.location-map-card:hover {
  border-color: rgba(255, 85, 61, 0.42);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 85, 61, 0.08);
}

.location-map-card__topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.location-map-card__topline > span {
  color: var(--route-red);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location-map-card__topline small {
  color: #7f99a6;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.location-map-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.location-map-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #a9bbc5;
  font-size: 0.9rem;
  line-height: 1.67;
}

.location-map-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.location-map-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.location-map-card__tags span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #bdd0d8;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.62rem;
  white-space: nowrap;
}

.location-map-card__footer a {
  flex: 0 0 auto;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.location-map-card__footer a b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--route-red);
  transition: transform 200ms ease;
}

.location-map-card__footer a:hover b {
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .location-slider--local {
    height: 790px;
    min-height: 790px;
  }

  .location-map__heading {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 70px;
  }

  .location-map__intro {
    max-width: 680px;
  }

  .location-route::before {
    left: 25px;
  }

  .location-route__stop {
    min-height: 0;
    margin-bottom: 36px;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .location-route__stop::after,
  .location-route__stop:nth-child(even)::after {
    top: 50%;
    right: auto;
    left: 25px;
    width: 27px;
  }

  .location-route__node {
    width: 40px;
    height: 40px;
    grid-column: 1;
    place-self: center start;
    box-shadow: 0 0 0 5px #07101c, 0 0 0 6px rgba(255, 85, 61, 0.18);
  }

  .location-map-card,
  .location-route__stop:nth-child(even) .location-map-card {
    grid-column: 2;
    transform: translateY(24px);
  }

  .location-route__stop.is-visible .location-map-card,
  .location-route__stop:nth-child(even).is-visible .location-map-card {
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .location-slider--local .location-slide__content {
    padding-top: 110px;
  }

  .location-slider--local .location-slide__copy h1 {
    font-size: clamp(4.5rem, 22vw, 6.5rem);
  }

  .location-slider__tabs--two button span {
    display: none;
  }

  .location-map {
    padding-top: 82px;
    padding-right: 16px;
    padding-bottom: 100px;
    padding-left: 16px;
  }

  .location-map__heading h2 {
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .location-map__intro {
    padding-left: 20px;
  }

  .location-route::before {
    left: 20px;
  }

  .location-route__stop {
    margin-bottom: 28px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .location-route__stop::after,
  .location-route__stop:nth-child(even)::after {
    left: 20px;
    width: 22px;
  }

  .location-route__node {
    width: 34px;
    height: 34px;
  }

  .location-route__node span {
    font-size: 0.59rem;
  }

  .location-map-card {
    min-height: 0;
    padding: 23px 20px;
    border-radius: 17px;
  }

  .location-map-card__topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .location-map-card__topline small {
    text-align: left;
  }

  .location-map-card h3 {
    font-size: 1.75rem;
  }

  .location-map-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .location-local-video {
    transform: none;
    transition: none;
  }

  .location-map-card {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 900px) {
  .depth-journey {
    right: 2px;
    width: 92px;
    opacity: min(0.68, var(--journey-rail-opacity));
  }

  .depth-journey__rope {
    right: 12px;
  }

  .depth-journey__surface {
    right: -8px;
    left: 8px;
  }

  .depth-journey__diver {
    left: 2px;
    width: 62px;
    height: 132px;
  }

  .depth-journey__readout {
    display: none;
  }

  .depth-journey__plate {
    right: -18px;
    transform: perspective(90px) rotateX(58deg) scale(0.82);
  }

  .depth-journey.is-at-plate .depth-journey__plate {
    transform: perspective(90px) rotateX(58deg) scale(0.9);
  }
}

@media (max-width: 620px) {
  .depth-journey {
    width: 62px;
    opacity: 0.48;
  }

  .depth-journey__surface {
    display: none;
  }

  .depth-journey__rope {
    top: 70px;
    right: 6px;
  }

  .depth-journey__diver {
    left: 0;
    width: 56px;
    height: 102px;
  }

  .depth-journey__plate {
    right: -23px;
    bottom: 18px;
    transform: perspective(90px) rotateX(58deg) scale(0.68);
  }

  .depth-journey.is-at-plate .depth-journey__plate {
    transform: perspective(90px) rotateX(58deg) scale(0.76);
  }

}

@media (max-width: 900px) {
  .inner-hero--speed {
    min-height: 980px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 34px;
    padding-bottom: 90px;
  }

  .speed-hero-badge {
    width: 100% !important;
    order: -1;
  }

  .speed-hero-badge img {
    width: min(300px, 62vw);
  }

  .speed-hero-badge span {
    margin-top: 8px;
  }

  .speed-editorial-photo img {
    width: min(340px, 72%);
    opacity: 0.62;
  }
}

@media (max-width: 620px) {
  .inner-hero--speed {
    min-height: 940px;
    padding-top: 125px;
    padding-bottom: 70px;
    text-align: center;
  }

  .inner-hero--speed h1 {
    font-size: clamp(3.2rem, 14vw, 4.6rem);
  }

  .speed-hero-badge img {
    width: min(245px, 68vw);
  }

  .speed-hero-actions {
    align-items: stretch;
    justify-content: center;
  }

  .speed-roadmap {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .speed-roadmap__steps article {
    min-height: 0;
    padding: 30px 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .speed-editorial-photo {
    min-height: 330px;
  }

  .speed-editorial-photo img {
    right: -18%;
    width: 100%;
    opacity: 0.48;
  }

  .speed-cta {
    margin-bottom: 70px;
  }
}

/* --------------------------------------------------------------------------
   Profesionální sjednocení layoutu
   -------------------------------------------------------------------------- */

:root {
  --page: min(1180px, calc(100vw - 56px));
  --section-space: clamp(72px, 8vw, 104px);
  --content-radius: 26px;
}

body:not(.home-page) main {
  background:
    radial-gradient(circle at 12% 24%, var(--ambient), transparent 32rem),
    linear-gradient(180deg, color-mix(in srgb, var(--navy) 96%, black), var(--navy));
}

.site-header {
  min-height: 70px;
  padding: 10px 16px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--navy) 76%, transparent);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.15);
}

.site-header.is-inner {
  background: color-mix(in srgb, var(--navy) 90%, transparent);
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.brand strong {
  font-size: 0.82rem;
  letter-spacing: 0.17em;
}

.brand small {
  margin-top: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.main-nav {
  gap: clamp(17px, 2vw, 28px);
}

.main-nav a {
  font-size: 0.78rem;
}

.section {
  width: var(--page);
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-content h2,
.app-copy h2,
.contact-copy h2 {
  font-size: clamp(2.55rem, 4.6vw, 4.6rem);
  line-height: 1;
  text-wrap: balance;
}

.section-heading > p:last-child,
.page-intro__copy,
.about-content > p:not(.eyebrow),
.app-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  color: color-mix(in srgb, var(--muted) 92%, white);
  line-height: 1.72;
}

.inner-hero {
  min-height: 590px;
  padding: 164px max(28px, calc((100vw - 1180px) / 2)) 80px;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: end;
  gap: clamp(48px, 8vw, 100px);
}

.inner-hero h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 6.2vw, 6.2rem);
  line-height: 0.94;
  text-wrap: balance;
}

.inner-hero > div > p:last-child,
.inner-hero > .speed-hero-copy > p:last-of-type {
  max-width: 640px;
  margin-top: 24px;
  color: color-mix(in srgb, var(--muted) 82%, white);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.68;
}

.inner-hero aside {
  min-width: 0;
  padding: 24px 18px;
  border-radius: 20px;
}

.inner-hero aside strong {
  font-size: 3rem;
}

.metric-strip.section {
  margin-top: -30px;
  margin-bottom: var(--section-space);
  padding: 0;
  border-radius: 22px;
}

.metric-strip > div {
  min-height: 126px;
  padding: 26px;
}

.editorial-grid.section,
.info-grid.section,
.app-feature-grid.section,
.review-wall.section {
  padding-top: 0;
}

.editorial-card,
.info-card,
.review-card,
.app-feature-card {
  min-height: 250px;
  padding: 32px;
  border-radius: var(--content-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.editorial-card h2,
.editorial-card h3,
.info-card h3,
.app-feature-card h3 {
  margin-top: 16px;
}

.course-cta.section {
  margin-top: 12px;
  margin-bottom: 96px;
  padding: clamp(38px, 5vw, 54px);
  border-radius: var(--content-radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.23);
}

.course-cta h2 {
  max-width: 760px;
  font-size: clamp(2.5rem, 4.5vw, 4.35rem);
  line-height: 0.98;
  text-wrap: balance;
}

.footer {
  min-height: 125px;
  padding: 34px 0;
}

/* Domovská stránka: kratší a jasnější rytmus mezi bloky. */
.home-page .hero {
  min-height: max(820px, 100svh);
  padding-top: 122px;
  padding-bottom: 72px;
}

.home-page .hero-content {
  width: min(1280px, 94vw);
}

.home-page .theme-selector {
  max-width: 1210px;
  gap: clamp(8px, 1.2vw, 16px);
}

.home-page .theme-logo img {
  max-width: 214px;
}

.home-page .hero .hero-theme-title {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(2.9rem, 4.4vw, 4.45rem);
}

.home-page .hero-copy {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.home-page .hero-actions {
  margin-top: 26px;
}

.home-page .trust-row {
  margin-top: 30px;
}

.course-cinema {
  min-height: 0;
}

.course-cinema-shell {
  padding-top: 104px;
  padding-bottom: 104px;
}

.course-cinema-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(42px, 7vw, 86px);
}

.course-cinema-heading h2 {
  max-width: 760px;
  font-size: clamp(2.9rem, 5vw, 5.15rem);
  line-height: 0.97;
}

.course-cinema-switcher {
  margin: 48px 0 58px;
  border-radius: 20px;
}

.course-cinema-switcher button {
  min-height: 78px;
}

.discipline-grid {
  min-height: 610px;
}

.about {
  gap: clamp(58px, 8vw, 100px);
}

.about-visual {
  min-height: 520px;
}

.app-promo {
  min-height: 610px;
  padding: clamp(48px, 6vw, 72px);
  border-radius: 32px;
}

.review-shell blockquote {
  min-height: 280px;
}

/* Kurzy */
.course-page.section {
  padding-top: 72px;
}

.course-toolbar {
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 18px;
}

.course-grid--catalog {
  row-gap: 24px;
}

.course-card--catalog {
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

/* Lokace */
.inner-hero--locations {
  min-height: 540px;
  padding-top: 155px;
  padding-bottom: 72px;
}

.location-cinema {
  padding-top: 70px;
  padding-bottom: 38px;
}

.location-slider {
  width: var(--page);
  height: min(720px, 76vh);
  min-height: 620px;
  border-radius: 30px;
}

.location-slide__content {
  grid-template-columns: 1fr 290px;
  gap: 64px;
  padding-top: 68px;
  padding-bottom: 132px;
}

.location-slide__copy h2 {
  font-size: clamp(4.8rem, 8vw, 8rem);
}

.location-slider__controls {
  bottom: 28px;
}

/* Kontakt */
.contact.section {
  padding-top: 38px;
  gap: clamp(52px, 8vw, 96px);
}

.contact-form {
  padding: clamp(26px, 4vw, 38px);
  border-radius: 24px;
}

.contact-page-note {
  padding: 20px;
}

/* Automobilové výlety */
.inner-hero--speed {
  min-height: 650px;
  padding-top: 145px;
  padding-bottom: 74px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
}

.inner-hero--speed h1 {
  font-size: clamp(3.7rem, 5.7vw, 5.8rem);
}

.speed-hero-badge img {
  width: min(350px, 29vw);
}

.speed-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(54px, 9vw, 120px);
}

.speed-story h2 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(3rem, 5.2vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.speed-story__copy {
  display: grid;
  gap: 20px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.speed-story__copy p {
  margin: 0;
}

.speed-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.speed-principles article {
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--content-radius);
  background: linear-gradient(145deg, rgba(69, 22, 14, 0.82), rgba(31, 9, 6, 0.9));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
}

.speed-principles span,
.speed-roadmap__steps article > span {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.speed-principles h3 {
  margin: 58px 0 16px;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.speed-principles p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.speed-photo {
  position: relative;
  display: flex;
  min-height: 560px;
  overflow: hidden;
  align-items: flex-end;
  margin-top: 0;
  margin-bottom: 24px;
  padding: clamp(36px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(17, 5, 3, 0.92) 0%, rgba(20, 6, 4, 0.46) 52%, rgba(12, 4, 3, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 4, 3, 0.88), transparent 62%),
    url("../assets/speed-yaris.webp") center 52% / cover no-repeat;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.speed-photo__copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.speed-photo h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.speed-photo p:last-child {
  max-width: 520px;
  margin: 22px 0 0;
  color: #e2c9bd;
  line-height: 1.7;
}

.speed-roadmap {
  padding-top: 80px;
  padding-bottom: 88px;
}

.speed-roadmap__steps {
  margin-top: 38px;
}

.speed-roadmap__steps article {
  min-height: 145px;
  padding: 26px 8px;
}

@media (max-width: 900px) {
  :root {
    --page: min(700px, calc(100vw - 36px));
    --section-space: 76px;
  }

  .inner-hero,
  .inner-hero--speed {
    min-height: 720px;
    padding-top: 145px;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 36px;
  }

  .inner-hero aside:not(.speed-hero-badge) {
    width: 170px;
  }

  .speed-hero-badge {
    position: absolute !important;
    top: 125px;
    right: 32px;
    width: auto !important;
    opacity: 0.28;
  }

  .speed-hero-badge img {
    width: 260px;
  }

  .speed-hero-badge span {
    display: none;
  }

  .speed-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .speed-story__copy {
    padding-top: 26px;
  }

  .speed-principles {
    grid-template-columns: 1fr;
  }

  .speed-principles article {
    min-height: 0;
  }

  .speed-principles h3 {
    margin-top: 30px;
  }

  .speed-photo {
    min-height: 500px;
    background-position: 44% 50%;
  }

  .location-slider {
    width: calc(100vw - 28px);
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100vw - 24px);
    --section-space: 62px;
  }

  .site-header {
    min-height: 62px;
  }

  .inner-hero,
  .inner-hero--speed {
    min-height: 650px;
    padding: 128px 18px 66px;
  }

  .inner-hero h1,
  .inner-hero--speed h1 {
    font-size: clamp(3.1rem, 14vw, 4.3rem);
  }

  .inner-hero aside:not(.speed-hero-badge) {
    display: none;
  }

  .speed-hero-badge {
    top: 105px;
    right: -28px;
  }

  .speed-hero-badge img {
    width: 220px;
  }

  .metric-strip.section {
    margin-top: -20px;
    margin-bottom: 62px;
  }

  .course-cta.section {
    margin-bottom: 68px;
    padding: 34px 26px;
  }

  .home-page .hero {
    min-height: 1050px;
    padding-top: 132px;
  }

  .home-page .theme-logo img {
    max-width: 164px;
  }

  .location-cinema {
    padding-top: 42px;
  }

  .location-slider {
    width: calc(100vw - 20px);
    border-radius: 22px;
  }

  .speed-roadmap__steps article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .speed-photo {
    min-height: 480px;
    padding: 28px;
    border-radius: 24px;
    background-position: 43% 50%;
  }
}

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

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

/* Finální priorita stránky lokací vůči obecným pravidlům šablony */
.locations-page .location-cinema--local {
  padding: 0;
}

.locations-page .location-map.section {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 112px max(24px, calc((100vw - 1240px) / 2)) 140px;
}

.locations-page .location-slider--local {
  width: 100%;
  height: min(880px, 92vh);
  min-height: 700px;
  border-radius: 0;
}

.locations-page .location-slider--local .location-slide__content {
  padding-top: 126px;
  padding-bottom: 150px;
}

@media (max-width: 900px) {
  .locations-page .location-map.section {
    padding: 88px 24px 110px;
  }

  .locations-page .location-slider--local {
    width: 100%;
    height: 790px;
    min-height: 790px;
  }
}

@media (max-width: 620px) {
  .locations-page .location-map.section {
    padding: 82px 16px 100px;
  }

  .locations-page .location-slider--local {
    width: 100%;
    border-radius: 0;
  }

  .locations-page .location-slider--local .location-slide__content {
    padding-top: 110px;
    padding-bottom: 158px;
  }
}

/* Finální priorita: motiv mění pouze barvy a obsah, nikdy rozměry rozložení. */
.home-page .theme-selector {
  grid-auto-rows: 1fr;
}

.home-page .theme-logo {
  min-width: 0;
  min-height: 132px;
  contain: layout;
}

.home-page .theme-logo img {
  width: min(214px, 100%);
  max-width: 214px;
  height: auto;
}

.home-page .hero-theme-title {
  min-height: 1.84em;
}

.home-page .hero-theme-title > span {
  white-space: nowrap;
}

.home-page .hero-copy {
  min-height: 4.2rem;
}

.home-page .hero-actions {
  min-height: 56px;
}

.home-page [data-theme-action] {
  min-width: 230px;
  justify-content: center;
}

.home-page .course-cinema-heading h2 {
  min-height: 1.96em;
}

.home-page .course-cinema-heading > p {
  min-height: 6rem;
}

/* Větší volby katalogu kurzů — finální priorita vůči starším pravidlům. */
.course-toolbar input {
  min-height: 58px;
  padding-inline: 20px;
  font-size: 1rem;
}

.course-filters {
  gap: 11px;
}

.course-filters button {
  min-height: 54px;
  padding-inline: 22px;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.015em;
}

.inner-hero--about {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
}

@media (max-width: 900px) {
  .inner-hero--about {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

@media (max-width: 620px) {
  .home-page .theme-logo {
    min-height: 104px;
  }

  .home-page .theme-logo img {
    width: min(164px, 100%);
    max-width: 164px;
  }

  .home-page .hero-theme-title {
    min-height: 2.76em;
  }

  .home-page .hero-theme-title > span {
    white-space: normal;
  }

  .home-page .hero-copy {
    min-height: 6.2rem;
  }

  .course-filters button {
    min-height: 50px;
    padding-inline: 18px;
    font-size: 0.82rem;
  }

  .inner-hero--about {
    grid-template-columns: 1fr;
  }
}

/* Konečné přepisy pro fotografie lokací a kontakt. */
.location-route__stop { padding-block: 22px; }
.location-map-card,
.location-route__stop:nth-child(even) .location-map-card {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
}
.location-map-card__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #06131e;
}
.location-map-card__photo img { display: block; width: 100%; height: auto; filter: saturate(1.02) contrast(1.025); }
.location-map-card__body { min-height: 290px; padding: 26px 28px 28px; }
.location-detail__photo-frame { position: absolute; inset: 0; display: grid; overflow: hidden; place-items: center; background: #020912; }
.location-detail__photo-backdrop,
.location-detail__photo-main { position: absolute; width: 100%; height: 100%; }
.location-detail__photo-backdrop { object-fit: cover; filter: blur(24px) saturate(.82) brightness(.56); opacity: .72; transform: scale(1.1); }
.location-detail__photo-main { z-index: 1; object-fit: contain; filter: saturate(1.03) contrast(1.025); }
.location-detail-gallery__grid { height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
.location-detail-gallery__item--single,
.location-detail-gallery__item:first-child { display: grid; min-height: 0; grid-row: auto; place-items: center; }
.location-detail-gallery__photo { display: block; width: 100%; height: auto; object-fit: contain; transition: filter 400ms ease; }
.location-detail-gallery__item:hover .location-detail-gallery__photo { filter: saturate(1.08) contrast(1.02); }
.contact-options { align-items: stretch; }
.contact-option { display: flex; min-height: 285px; flex-direction: column; }
.contact-option h3 { overflow-wrap: anywhere; }
.contact-option p { line-height: 1.65; }
.contact-option__action { margin-top: auto; padding-top: 22px; color: var(--cyan); font-size: .78rem; font-weight: 800; text-decoration: none; }
.contact-option--help { background: linear-gradient(145deg, rgba(53,231,242,.09), rgba(255,179,106,.045)); }
.contact-guide { display: grid; margin: 34px 0 0; padding: 0; list-style: none; }
.contact-guide li { display: grid; padding: 17px 0; border-top: 1px solid var(--line); grid-template-columns: 42px 1fr; gap: 14px; }
.contact-guide li > span { color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.contact-guide strong,
.contact-guide small { display: block; }
.contact-guide strong { margin-bottom: 5px; color: #f4fbfd; }
.contact-guide small { color: var(--muted); line-height: 1.5; }
@media (max-width: 620px) {
  .location-route__stop { min-height: 0; padding-block: 0; }
  .location-map-card,
  .location-route__stop:nth-child(even) .location-map-card { min-height: 0; }
  .location-map-card__photo { min-height: 0; height: auto; }
  .location-map-card__body { min-height: 0; }
  .contact-option { min-height: 235px; }
}

.course-application__choices {
  align-content: center;
}
.course-application__choices .button {
  width: 100%;
  justify-content: space-between;
}
.course-account-link {
  display: inline-flex;
  margin-top: 15px;
  color: #b9d7e3;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.course-account-link:hover { color: var(--cyan); }
