/* =========================================================
   Marija Jaskić Coaching — style.css
   ========================================================= */

:root {
  --bg: #f7f5f1;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1ede6;
  --border: rgba(22, 20, 27, 0.08);
  --border-strong: rgba(22, 20, 27, 0.14);
  --text: #16141b;
  --muted: #6b675f;
  --accent: #ff4d1c;
  --accent-2: #ff8a3d;
  --accent-deep: #d63f10;
  --accent-soft: rgba(255, 77, 28, 0.1);
  --shadow: 0 24px 60px -30px rgba(22, 20, 27, 0.28);
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  pointer-events: auto;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 77, 28, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(255, 77, 28, 0.75), 0 0 0 1px rgba(255, 138, 61, 0.4);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255, 77, 28, 0.06);
}
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--xl { padding: 20px 42px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.98); }

.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 22px;
  transition: padding 0.4s var(--ease-out), background-color 0.4s ease,
              border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  padding-block: 10px;
  background: rgba(247, 245, 241, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.header__logo-mark {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 18px rgba(255, 77, 28, 0.7);
}
.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.nav__list { display: flex; gap: 28px; }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (fotografija čez cel header) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2vh) 0 130px;
  overflow: hidden;
  background: #17161b;
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
/* Slika je širša od okna in poravnana levo: osebi (v sredini fotografije) pristaneta v desni tretjini */
.hero__photo {
  position: absolute;
  left: 0;
  top: -7%;
  width: 140%;
  max-width: none;
  height: 114%;
  object-fit: cover;
  object-position: 50% 40%;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 13, 17, 0.82) 0%, rgba(14, 13, 17, 0.55) 38%, rgba(14, 13, 17, 0.12) 68%, rgba(14, 13, 17, 0.3) 100%),
    linear-gradient(180deg, rgba(14, 13, 17, 0.5) 0%, rgba(14, 13, 17, 0) 28%, rgba(14, 13, 17, 0) 60%, rgba(14, 13, 17, 0.78) 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__canvas.is-ready { opacity: 1; }
.hero__canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}
.hero__canvas canvas:active { cursor: grabbing; }

/* Vsebina nad canvasom: besedilo prepušča dogodke (vlečenje delcev), gumbi ne */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 660px;
  pointer-events: none;
}
.hero__content .btn { pointer-events: auto; }
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__title {
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero__title .word > span { display: inline-block; will-change: transform; }
.hero__title .word--accent > span {
  background: linear-gradient(135deg, #ff6a3a 0%, #ffb27a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero__subtitle {
  max-width: 500px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--primary { box-shadow: 0 16px 40px -14px rgba(255, 77, 28, 0.8); }
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero .btn--ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.6); }
.hero__hint {
  margin-top: 22px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.hero__bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(14, 13, 17, 0.1), rgba(14, 13, 17, 0.35));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-block: 22px;
}
.hero__facts li {
  display: grid;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 138, 61, 0.55);
}
.hero__facts strong { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: -0.01em; color: #fff; }
.hero__facts span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); }

.hero__scroll {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 110px;
  z-index: 3;
  width: 24px; height: 48px;
}
.hero__scroll-line {
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Header nad fotografijo: bela navigacija, ob scrollu temno steklo, pod herojem svetlo */
.header--on-hero .header__logo,
.header--on-hero .nav__link { color: rgba(255, 255, 255, 0.86); }
.header--on-hero .nav__link:hover,
.header--on-hero .header__logo { color: #fff; }
.header--on-hero .nav-toggle { border-color: rgba(255, 255, 255, 0.35); }
.header--on-hero .nav-toggle span { background: #fff; }
.header--on-hero.header--scrolled {
  background: rgba(14, 13, 17, 0.42);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
}
.section__head {
  max-width: 680px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section__eyebrow {
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.section__lead {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- O meni ---------- */
.about { background: rgba(255, 255, 255, 0.72); border-top: 1px solid var(--border); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 50px 100px -45px rgba(22, 20, 27, 0.5), 0 0 0 1px var(--border);
  background: var(--surface-2);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 1.2s var(--ease-out);
}
.about__media:hover .about__photo img { transform: scale(1.04); }
.about__scene {
  position: absolute;
  left: -26px;
  top: 10%;
  width: 176px; height: 176px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(22, 20, 27, 0.45);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
.about__scene.is-3d { opacity: 1; transform: none; }
.about__badge {
  position: absolute;
  right: -18px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 20px 50px -15px rgba(255, 77, 28, 0.6);
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 500;
}
.about__badge strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.about__text .section__title { margin-bottom: 26px; }
.about__text p { color: var(--muted); }
.about__text p:first-of-type { color: var(--text); }
.about__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--surface);
}

/* ---------- V akciji (fotografije) ---------- */
.action { background: transparent; }
.action__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.action__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  background: var(--surface-2);
}
.action__item:nth-child(3) { margin-top: 48px; }
.action__item--video { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.action__item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.action__item img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}
.action__item figcaption {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Ponudba ---------- */
.cards {
  display: grid;
  gap: 22px;
}
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 77, 28, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 138, 61, 0.4);
  box-shadow: 0 30px 60px -22px rgba(255, 77, 28, 0.32), 0 24px 48px -28px rgba(22, 20, 27, 0.3);
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 88px; height: 88px;
  margin-bottom: 24px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 138, 61, 0.3);
}
.card__icon svg { width: 26px; height: 26px; }
.card__title { font-size: 1.35rem; margin-bottom: 12px; }
.card__text { color: var(--muted); margin-bottom: 22px; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-deep);
  font-size: 0.95rem;
}
.card__link::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
}
.card__link:hover::after { transform: translateX(4px); }

/* ---------- Cenik ---------- */
.pricing { background: rgba(255, 255, 255, 0.6); border-block: 1px solid var(--border); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.price-card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 61, 0.3);
  box-shadow: 0 30px 60px -28px rgba(22, 20, 27, 0.35);
}
.price-card--featured {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255, 77, 28, 0.22), transparent 70%),
    var(--surface);
  border-color: rgba(255, 138, 61, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 77, 28, 0.15), 0 30px 70px -30px rgba(255, 77, 28, 0.45);
}
.price-card__flag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card__title { font-size: 1.3rem; margin-bottom: 4px; }
.price-card__sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.price-list { flex: 1; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.price-list li:last-child { border-bottom: 1px solid var(--border); }
.price-list li > span { color: var(--muted); }
.price-list li > strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-list li > strong small,
.price-list li > span small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.price-list--stacked li { align-items: flex-start; }
.price-list--stacked li > span strong { color: var(--text); font-weight: 600; }
.price-list--stacked li > span small { line-height: 1.5; display: inline-block; margin-top: 4px; }
.price-card .btn { margin-top: 22px; }
.pricing__note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Rezervacija ---------- */
.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.booking__intro { position: sticky; top: 110px; }
.booking__perks { margin-top: 26px; display: grid; gap: 12px; }
.booking__perks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.booking__perks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.booking__form-wrap {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 18px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form__field { display: grid; gap: 8px; }
.form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.form__field label span { color: var(--accent-2); }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form__field textarea { resize: vertical; min-height: 120px; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(107, 103, 95, 0.6); }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(255, 77, 28, 0.14);
  background: #fff;
}
.form__field input.is-invalid,
.form__field select.is-invalid {
  border-color: #ff5c5c;
  box-shadow: 0 0 0 4px rgba(255, 92, 92, 0.15);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 42px; cursor: pointer; }
.select-wrap select option,
.select-wrap select optgroup { background: #fff; color: var(--text); }
.form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}
.form__error {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(214, 63, 16, 0.08);
  border: 1px solid rgba(214, 63, 16, 0.3);
  color: #b0321a;
  font-size: 0.92rem;
}
.form__privacy { font-size: 0.8rem; color: var(--muted); text-align: center; }

.form-success {
  text-align: center;
  padding: 24px 8px;
}
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 26px; }
.form-success__icon {
  width: 88px; height: 88px;
  margin: 0 auto 22px;
}
.form-success__circle {
  stroke: var(--accent-2);
  stroke-width: 2;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: dash 0.7s var(--ease-out) forwards;
}
.form-success__check {
  stroke: var(--accent-2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: dash 0.5s 0.5s var(--ease-out) forwards;
}
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ---------- Skool CTA ---------- */
.skool {
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 214, 190, 0.55));
  border-block: 1px solid rgba(255, 138, 61, 0.22);
}
.skool__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(255, 77, 28, 0.28), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(255, 138, 61, 0.16), transparent 70%);
}
.skool__inner { position: relative; max-width: 720px; }
.skool__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 36px;
}
.skool__points li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, 0.35);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  color: var(--text);
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 44px;
  border-top: 1px solid var(--border);
  background: rgba(241, 237, 230, 0.85);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.footer__brand { display: grid; gap: 4px; }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.footer__tag { font-size: 0.85rem; color: var(--muted); }
.social { display: flex; gap: 12px; }
.social__link {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}
.social__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient);
  transform: scale(0);
  transition: transform 0.4s var(--ease-out);
}
.social__link svg { position: relative; width: 20px; height: 20px; transition: transform 0.4s var(--ease-out); }
.social__link:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -10px rgba(255, 77, 28, 0.7);
}
.social__link:hover::before { transform: scale(1); }
.social__link:hover svg { transform: scale(1.1) rotate(-6deg); }
.footer__contact { display: grid; gap: 4px; justify-items: end; text-align: right; }
.footer__mail { font-weight: 600; transition: color 0.25s ease; }
.footer__mail:hover { color: var(--accent-deep); }
.footer__copy { font-size: 0.82rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards--3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-bottom: 190px; }
  .hero__photo { width: 118%; }
  .hero__content { max-width: 640px; }
  .action__grid { grid-template-columns: 1fr; }
  .action__item:nth-child(3) { margin-top: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: rgba(247, 245, 241, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }
  .nav.nav--open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.35s ease, transform 0.45s var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .header--on-hero .nav--open .nav__link { color: var(--text); }
  .header--on-hero .nav-toggle.is-open span { background: var(--text); }
  .nav__link { font-size: 1.4rem; font-family: var(--font-head); font-weight: 500; color: var(--text); }
  .header__cta { padding: 14px 26px; font-size: 1rem; }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__intro { position: static; }
  .pricing__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__contact { justify-items: center; text-align: center; }
  .footer__brand { text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .action__item--video { aspect-ratio: 1 / 1; }
  .action__item video { object-position: 50% 30%; }
  .action__item figcaption { left: 12px; right: 12px; bottom: 12px; padding: 9px 12px; font-size: 0.8rem; border-radius: 11px; }
  .hero { padding-bottom: 200px; }
  .hero__actions .btn { width: 100%; }
  .hero__hint { display: none; }
  .hero__photo { width: 100%; object-position: 42% 45%; }
  .hero__facts { gap: 14px 16px; padding-block: 18px; }
  .hero__facts strong { font-size: 0.95rem; }
  .hero__facts span { font-size: 0.76rem; }
  .hero__scroll { display: none; }
  .about__scene { left: 0; top: auto; bottom: -20px; width: 130px; height: 130px; }
  .about__badge { right: 0; bottom: -18px; }
  .form__row { grid-template-columns: 1fr; }
  .card, .price-card { padding: 28px 22px; }
  .price-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .about__badge { right: 0; bottom: -18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__scroll-line { animation: none; transform: none; }
  .hero__canvas { display: none; }
}

/* =========================================================
   3D plasti (scenes.js) in 3D interakcije
   ========================================================= */

/* Fiksna canvasa: zadnji za vsebino (zvezde, Skool tla), sprednji nad vsebino (ikone) */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  display: block;
}
.fx-canvas--back { z-index: 0; }
.fx-canvas--front { z-index: 5; }
.hero, .section, .footer { position: relative; z-index: 1; }

/* Fallback ikone/placeholderji zbledijo, ko 3D scena teče */
.card__icon svg { transition: opacity 0.7s ease, transform 0.7s ease; }
.card__icon.is-3d svg { opacity: 0; transform: scale(0.8); }
.card__icon.is-3d { background: radial-gradient(60% 60% at 50% 60%, rgba(255, 77, 28, 0.18), rgba(255, 77, 28, 0.03) 70%); border-color: rgba(255, 138, 61, 0.35); }

.booking__scene {
  height: 260px;
  margin-top: 30px;
  border-radius: var(--radius);
  background: radial-gradient(60% 55% at 50% 55%, rgba(255, 77, 28, 0.16), transparent 70%);
}
.booking__scene.is-3d { background: radial-gradient(60% 55% at 50% 55%, rgba(255, 77, 28, 0.1), transparent 70%); }

/* 3D nagib kartic (JS nastavi transform + --gx/--gy za odsev) */
.cards--3, .pricing__grid { perspective: 1200px; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 138, 61, 0.16), rgba(255, 138, 61, 0) 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.tilt.is-tilting::after { opacity: 1; }
.tilt.is-tilting { transition: box-shadow 0.5s var(--ease-out), border-color 0.4s ease; }

/* Magnetni gumbi in lebdenje */
.btn.is-magnetic { will-change: transform; }
.hero__content { will-change: transform; }
.header__logo-mark { animation: pulseMark 2.6s ease-in-out infinite; }
@keyframes pulseMark {
  0%, 100% { box-shadow: 0 0 14px rgba(255, 77, 28, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 26px rgba(255, 138, 61, 0.95); transform: scale(1.18); }
}
.about__badge { animation: floatBadge 4.5s ease-in-out infinite; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}
.skool__points li { animation: floatPill 5s ease-in-out infinite; }
.skool__points li:nth-child(2) { animation-delay: -1.6s; }
.skool__points li:nth-child(3) { animation-delay: -3.2s; }
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-canvas { display: none; }
  .header__logo-mark, .about__badge, .skool__points li { animation: none; }
}
@media (max-width: 900px) {
  .booking__scene { height: 220px; }
}

/* ---------- Cenik: 3D objekt v glavi kartice ---------- */
.price-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.price-card__scene {
  flex: 0 0 84px;
  width: 84px; height: 84px;
  border-radius: 18px;
  border: 1px solid rgba(255, 138, 61, 0.2);
  background: radial-gradient(60% 60% at 50% 60%, rgba(255, 77, 28, 0.18), rgba(255, 77, 28, 0.03) 70%);
}

/* ---------- Fitnes v 3D: neskončen trak ---------- */
.gallery { overflow: hidden; }
.gallery .section__head { margin-bottom: clamp(32px, 4vw, 48px); }
.marquee {
  overflow: hidden;
  padding-block: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  width: 230px;
  margin-right: 22px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}
.marquee__scene {
  width: 230px; height: 230px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 60% at 50% 65%, rgba(255, 77, 28, 0.14), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.marquee__item:hover .marquee__scene {
  border-color: rgba(255, 138, 61, 0.45);
  box-shadow: 0 30px 60px -25px rgba(255, 77, 28, 0.45);
}
.marquee__label { margin-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.marquee__sub { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 640px) {
  .marquee__item { width: 170px; margin-right: 16px; }
  .marquee__scene { width: 170px; height: 170px; }
  .marquee__track { animation-duration: 36s; }
  .price-card__scene { flex-basis: 68px; width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   Jezik in tema (i18n.js)
   ========================================================= */
.header__tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
}
.lang__btn {
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.74rem/1 var(--font-body);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.4s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(-12deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* Nad fotografijo v heroju: bele različice */
.header--on-hero .lang { border-color: rgba(255, 255, 255, 0.35); }
.header--on-hero .lang__btn { color: rgba(255, 255, 255, 0.78); }
.header--on-hero .lang__btn:hover { color: #fff; }
.header--on-hero .lang__btn[aria-pressed="true"] { background: #fff; color: #16141b; }
.header--on-hero .theme-toggle { border-color: rgba(255, 255, 255, 0.35); color: #fff; }

/* Ko je odprt mobilni meni, je ozadje enobarvno: vrnemo običajne barve */
.nav-locked .header--on-hero .header__logo { color: var(--text); }
.nav-locked .header--on-hero .lang { border-color: var(--border-strong); }
.nav-locked .header--on-hero .lang__btn { color: var(--muted); }
.nav-locked .header--on-hero .lang__btn[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.nav-locked .header--on-hero .theme-toggle { border-color: var(--border-strong); color: var(--text); }

/* Pri angleščini skrijemo stran, dokler i18n.js ne zamenja besedil */
.i18n-pending body { opacity: 0; }
/* Mehak prehod med temama (samo med preklopom) */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease !important;
}

@media (max-width: 1240px) {
  .nav { gap: 22px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 0.9rem; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .header__cta { display: none; }
  .nav__list { gap: 14px; }
  .header__inner { gap: 16px; }
}
@media (max-width: 900px) {
  .header__tools { margin-left: auto; }
  .header__inner { gap: 12px; }
}
@media (max-width: 420px) {
  .header__logo { font-size: 1.02rem; gap: 9px; }
  .header__tools { gap: 6px; }
  .lang__btn { min-width: 29px; height: 26px; padding: 0 6px; font-size: 0.7rem; }
  .theme-toggle { width: 32px; height: 32px; }
  .theme-toggle svg { width: 15px; height: 15px; }
  .nav-toggle { width: 40px; height: 40px; padding: 9px; }
}
@media (max-width: 360px) {
  .btn--lg { padding: 15px 20px; }
  .header__logo-mark { display: none; }
  .header__logo { font-size: 0.95rem; }
  .header__inner { gap: 8px; }
}
.header__logo { white-space: nowrap; }

/* =========================================================
   Temna tema
   ========================================================= */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0e12;
  --bg-2: #16151a;
  --surface: #1a191f;
  --surface-2: #232129;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f3f1ed;
  --muted: #a9a49c;
  --accent-deep: #ff8a5c;
  --accent-soft: rgba(255, 77, 28, 0.16);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] .btn--ghost { background: rgba(255, 255, 255, 0.05); }
[data-theme="dark"] .btn--ghost:hover { background: rgba(255, 77, 28, 0.12); }
[data-theme="dark"] .header--scrolled { background: rgba(15, 14, 18, 0.78); }
[data-theme="dark"] .about { background: rgba(22, 21, 26, 0.72); }
[data-theme="dark"] .about__scene {
  background: rgba(32, 30, 37, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
[data-theme="dark"] .action__item figcaption { background: rgba(22, 21, 26, 0.88); }
[data-theme="dark"] .pricing { background: rgba(22, 21, 26, 0.6); }
[data-theme="dark"] .price-card:hover,
[data-theme="dark"] .card:hover { box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 138, 61, 0.25); }
[data-theme="dark"] .form__field input::placeholder,
[data-theme="dark"] .form__field textarea::placeholder { color: rgba(169, 164, 156, 0.6); }
[data-theme="dark"] .form__field input:focus,
[data-theme="dark"] .form__field select:focus,
[data-theme="dark"] .form__field textarea:focus { background: var(--surface-2); }
[data-theme="dark"] .select-wrap select option,
[data-theme="dark"] .select-wrap select optgroup { background: var(--surface-2); color: var(--text); }
[data-theme="dark"] .form__error { color: #ffab99; background: rgba(255, 92, 92, 0.1); border-color: rgba(255, 92, 92, 0.35); }
[data-theme="dark"] .skool {
  background: linear-gradient(180deg, rgba(22, 21, 26, 0.55), rgba(70, 26, 12, 0.5));
  border-block-color: rgba(255, 138, 61, 0.18);
}
[data-theme="dark"] .skool__points li { background: rgba(255, 255, 255, 0.05); }
[data-theme="dark"] .footer { background: rgba(12, 11, 15, 0.92); }
[data-theme="dark"] .marquee__scene {
  background:
    radial-gradient(70% 60% at 50% 65%, rgba(255, 77, 28, 0.22), transparent 70%),
    linear-gradient(180deg, #25232b 0%, #19181d 100%);
}
@media (max-width: 900px) {
  [data-theme="dark"] .nav { background: rgba(15, 14, 18, 0.97); }
}

/* Elementi v mrežah se lahko skrčijo pod širino vsebine (sicer dolg gumb razširi stran) */
.booking__grid > *, .about__grid > *, .pricing__grid > * { min-width: 0; }
.btn--block { white-space: normal; text-align: center; }
