/* =========================================================
   Hop&Fun – napihljiva igrala
   ========================================================= */

:root {
  --navy: #171a45;
  --navy-2: #22266b;
  --navy-3: #10122f;
  --ink: #1d1f3d;
  --muted: #5b5f86;

  --pink: #e8197d;
  --pink-shade: #b30f5e;
  --yellow: #ffc632;
  --yellow-shade: #d99a00;
  --purple: #7a3ff0;
  --cyan: #12b5ea;
  --green: #35b44a;
  --green-shade: #23862f;
  --blue: #1e6fd9;
  --blue-shade: #1450a3;
  --orange: #ff8a1e;

  --cream: #fff8ec;
  --lilac: #f4f0ff;
  --white: #ffffff;

  --radius: 28px;
  --shadow: 0 10px 30px rgba(23, 26, 69, .10);
  --shadow-lg: 0 22px 44px rgba(23, 26, 69, .16);

  --font-display: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
}

.container {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.ico {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.logo:has(.logo-img) .wordmark { display: none; }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.wordmark span {
  display: inline-block;
  text-shadow: 0 3px 0 rgba(23, 26, 69, .14);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.wordmark .l1 { color: var(--purple); transform: rotate(-6deg); }
.wordmark .l2 { color: var(--pink); transform: translateY(-2px); }
.wordmark .l3 { color: var(--cyan); transform: rotate(5deg); }
.wordmark .amp { color: var(--orange); font-size: .72em; margin: 0 .08em; }
.wordmark .l4 { color: #f5a300; transform: rotate(-5deg); }
.wordmark .l5 { color: var(--green); transform: translateY(-2px); }
.wordmark .l6 { color: var(--purple); transform: rotate(6deg); }

.logo:hover .wordmark span { transform: translateY(-4px) rotate(0); }
.logo:hover .wordmark span:nth-child(even) { transform: translateY(2px); }

/* ---------- Buttons ---------- */

.btn {
  --bg: var(--pink);
  --shade: var(--pink-shade);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.2;
  padding: .85em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--shade);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--shade); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--shade); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.btn--sm { font-size: .98rem; padding: .65em 1.15em; box-shadow: 0 4px 0 var(--shade); }
.btn--green { --bg: var(--green); --shade: var(--green-shade); }
.btn--blue { --bg: var(--blue); --shade: var(--blue-shade); }
.btn--white { --bg: #fff; --shade: rgba(0, 0, 0, .18); --fg: var(--navy); }
.btn--block { width: 100%; margin-top: 22px; }

.btn--ghost {
  --bg: transparent;
  --shade: transparent;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 2px #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(23, 26, 69, .08);
  border-color: rgba(23, 26, 69, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  padding: .45em .85em;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.nav a:hover { background: var(--lilac); color: var(--purple); }
.nav .nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 0;
  border-radius: 14px;
  background: var(--lilac);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--navy);
  transition: transform .25s, opacity .2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  padding: 72px 0 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(122, 63, 240, .55), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(232, 25, 125, .40), transparent 40%),
    radial-gradient(circle at 62% 95%, rgba(18, 181, 234, .35), transparent 45%),
    var(--navy);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  color: var(--yellow);
  background: rgba(255, 255, 255, .09);
  padding: .5em 1.1em;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.6vw, 5.4rem);
  margin: .35em 0 .3em;
  letter-spacing: -.01em;
}

.hero h1 span { display: inline-block; }
.hero h1 .w1 { color: var(--pink); }
.hero h1 .w2 { color: var(--yellow); }
.hero h1 .w3 { color: var(--cyan); }

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, .86);
  max-width: 33em;
  margin: 0;
}

.ribbon {
  display: inline-block;
  margin: 1.4em 0 1.8em;
  padding: .5em 1.3em;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 6px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .22);
}
.ribbon span { color: var(--pink); margin: 0 .3em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-call {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .7);
}
.hero-call a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
}

.hero-art { position: relative; }

.hero-castle {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3));
}

.hero-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  border: 8px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.hero-art:has(.hero-photo) .hero-castle { display: none; }

.balloon {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: bob 5s ease-in-out infinite;
}
.balloon.b2 { animation-delay: -1.6s; animation-duration: 6s; }
.balloon.b3 { animation-delay: -3s; animation-duration: 5.5s; }

.badge {
  position: absolute;
  top: -4%;
  right: -2%;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--pink);
  border: 6px solid #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.05;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  animation: wobble 4.5s ease-in-out infinite;
}
.badge .ico { margin: 0 auto 4px; width: 1.5em; height: 1.5em; }
.badge em { font-style: normal; color: var(--yellow); }

.hero-star {
  position: absolute;
  width: 22px;
  height: 22px;
  color: var(--yellow);
  opacity: .8;
  animation: twinkle 3s ease-in-out infinite;
}
.hero .s1 { top: 14%; left: 4%; }
.hero .s2 { top: 8%; left: 48%; width: 14px; height: 14px; color: var(--cyan); animation-delay: -1s; }
.hero .s3 { bottom: 26%; left: 44%; width: 16px; height: 16px; color: var(--pink); animation-delay: -2s; }
.hero .s4 { top: 60%; right: 3%; width: 18px; height: 18px; animation-delay: -.5s; }

.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  color: var(--cream);
  pointer-events: none;
}
.wave--top { top: -1px; bottom: auto; color: var(--white); }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 100px 0;
}

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--lilac { background: var(--lilac); }

.section--dark {
  background:
    radial-gradient(circle at 90% 30%, rgba(122, 63, 240, .4), transparent 40%),
    radial-gradient(circle at 5% 80%, rgba(18, 181, 234, .25), transparent 40%),
    var(--navy);
  color: #fff;
  padding: 150px 0 170px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  color: var(--navy);
}

.section-head p {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0;
}

.section--dark .kicker { color: var(--yellow); }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: rgba(255, 255, 255, .75); }

/* ---------- Igrala ---------- */

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

.ride {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

.ride:hover {
  transform: translateY(-8px) rotate(-.6deg);
  box-shadow: var(--shadow-lg);
}

.ride-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--media-bg);
}

.ride-media svg,
.ride-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ride-media svg { padding: 7% 5% 9%; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.ride:hover .ride-media svg { transform: scale(1.05) translateY(-4px); }
.ride-media img { object-fit: cover; }

.ride-tag {
  position: absolute;
  left: 18px;
  bottom: -15px;
  z-index: 2;
  padding: .4em .95em;
  background: var(--tag, var(--pink));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .15);
}

.ride-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 34px 26px 26px;
}

.ride-body h3 { font-size: 1.55rem; color: var(--navy); margin-bottom: .35em; }
.ride-body p { color: var(--muted); margin: 0 0 18px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .35em .85em;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font-weight: 800;
  font-size: .86rem;
}
.chips .ico { width: 1em; height: 1em; }

.ride-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 2px dashed #ece9f5;
}

.price { font-size: .88rem; color: var(--muted); line-height: 1.3; }
.price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Dogodki ---------- */

.events {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.event {
  flex: 1 1 180px;
  max-width: 240px;
  padding: 30px 20px 28px;
  text-align: center;
  background: var(--cream);
  border-radius: 24px;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
}

.event:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.event-ico {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .12);
}
.event:hover .event-ico { animation: jelly .6s; }
.event-ico .ico { width: 36px; height: 36px; }

.event h3 { font-size: 1.22rem; color: var(--navy); margin-bottom: .35em; }
.event p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Zakaj ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  padding: 32px 26px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  transition: background .3s, transform .3s;
}
.feature:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }

.feature-ico {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--c);
  color: #fff;
  transform: rotate(-6deg);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .2);
}
.feature-ico .ico { width: 30px; height: 30px; }

.feature h3 { font-size: 1.28rem; }
.feature p { margin: 0; font-size: .98rem; color: rgba(255, 255, 255, .75); }

/* ---------- Koraki ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  border-top: 4px dashed rgba(23, 26, 69, .14);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 6px solid var(--cream);
  background: var(--c);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .12);
}

.step h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Galerija ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery-grid:not(:has(figure)) { display: none; }

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--lilac);
}
.gallery-grid figure:first-child { grid-row: span 2; }

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-grid figure:hover img { transform: scale(1.06); }

.fb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 32px;
  padding: 32px 36px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, .18), transparent 30%),
    linear-gradient(120deg, #1877f2, #6a3ff0);
}
.gallery-grid:not(:has(figure)) + .fb-cta { margin-top: 0; }
.fb-cta h3 { font-size: 1.6rem; margin-bottom: .25em; }
.fb-cta p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(23, 26, 69, .06);
  padding: 0 26px;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--purple);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .25s, background .2s, color .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--purple);
  color: #fff;
}

.faq details p { margin: 0 0 22px; color: var(--muted); }
.faq a { color: var(--pink); font-weight: 800; }

/* ---------- Rezervacija ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 44px 40px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 25, 125, .5), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(122, 63, 240, .5), transparent 45%),
    var(--navy);
}
.contact-card .kicker { color: var(--yellow); }
.contact-card h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.contact-card h2 em { font-style: normal; color: var(--yellow); display: block; }
.contact-card > p { color: rgba(255, 255, 255, .8); margin: 0; }
.contact-card .hero-star { top: 28px; right: 32px; width: 28px; height: 28px; }

.big-phone {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  margin: 22px 0 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}
.big-phone .ico { color: var(--yellow); }
.big-phone:hover { color: var(--yellow); }

.contact-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { text-decoration: none; font-weight: 700; }
.contact-list a:hover { text-decoration: underline; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 26px 0 0;
  margin: auto 0 0;
  width: 100%;
  border-top: 1px dashed rgba(255, 255, 255, .2);
}
.contact-list:has(+ .trust) { margin-bottom: 28px; }
.trust li {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .45em .9em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-weight: 700;
  font-size: .88rem;
}
.trust .ico { color: var(--c); width: 1.1em; height: 1.1em; }

.ico-wrap {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  color: var(--yellow);
}

.form-card {
  padding: 40px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: .2em; }
.form-intro { margin: 0 0 26px; color: var(--muted); }

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

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-weight: 800;
  font-size: .9rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: .78em 1em;
  color: var(--ink);
  background: #fbfaff;
  border: 2px solid #e6e2f5;
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(122, 63, 240, .15);
}

.field.is-invalid input,
.field.is-invalid select { border-color: var(--pink); }

.form-note { margin: 14px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--pink); font-weight: 800; }

.form-status {
  margin: 14px 0 0;
  font-weight: 700;
  text-align: center;
  color: var(--green-shade);
}
.form-status:empty { display: none; }
.form-status.is-error { color: var(--pink); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 28px;
  background: var(--navy-3);
  color: rgba(255, 255, 255, .72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
}

.site-footer .wordmark { font-size: 2.3rem; }
.site-footer .wordmark span { text-shadow: none; }
.site-footer .wordmark .l4 { color: var(--yellow); }
.site-footer p { max-width: 30em; margin: 16px 0 0; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; transition: color .2s; }
.site-footer ul a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem;
}

/* ---------- Plavajoči gumb za klic ---------- */

.fab-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 25, 125, .45);
  animation: pulse 2.4s infinite;
}
.fab-call .ico { width: 26px; height: 26px; }

/* ---------- Animacije ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes wobble {
  0%, 100% { transform: rotate(10deg) scale(1); }
  50% { transform: rotate(4deg) scale(1.05); }
}

@keyframes twinkle {
  0%, 100% { opacity: .85; transform: scale(1) rotate(0); }
  50% { opacity: .35; transform: scale(.7) rotate(20deg); }
}

@keyframes jelly {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.18, .85); }
  50% { transform: scale(.9, 1.12); }
  70% { transform: scale(1.06, .95); }
  100% { transform: scale(1, 1); }
}

@keyframes pulse {
  0% { box-shadow: 0 10px 24px rgba(232, 25, 125, .45), 0 0 0 0 rgba(232, 25, 125, .5); }
  70% { box-shadow: 0 10px 24px rgba(232, 25, 125, .45), 0 0 0 16px rgba(232, 25, 125, 0); }
  100% { box-shadow: 0 10px 24px rgba(232, 25, 125, .45), 0 0 0 0 rgba(232, 25, 125, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Odzivnost ---------- */

@media (max-width: 1080px) {
  .nav a { padding: .45em .6em; }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 20px;
    background: #fff;
    box-shadow: 0 20px 30px rgba(23, 26, 69, .12);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: .8em 1em; font-size: 1.15rem; }
  .nav .nav-cta-mobile {
    display: block;
    margin-top: 8px;
    text-align: center;
    background: var(--pink);
    color: #fff;
  }
  .nav .nav-cta-mobile:hover { background: var(--pink-shade); color: #fff; }

  .hero { padding: 48px 0 130px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }

  .rides { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .fab-call { display: grid; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .section { padding: 76px 0; }
  .section--dark { padding: 120px 0 140px; }
  .section-head { margin-bottom: 40px; }

  .wordmark { font-size: 1.7rem; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .hero-lead { font-size: 1.08rem; }
  .ribbon { font-size: .92rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .badge { width: 108px; height: 108px; font-size: .78rem; border-width: 4px; right: 0; }
  .wave { height: 56px; }
  .hero { padding-bottom: 90px; }

  .event { flex-basis: 140px; max-width: calc(50% - 10px); padding: 24px 14px; }
  .event-ico { width: 64px; height: 64px; }
  .event-ico .ico { width: 30px; height: 30px; }
  .event h3 { font-size: 1.08rem; }
  .event p { font-size: .88rem; }

  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }

  .fb-cta { padding: 28px 24px; }
  .fb-cta .btn { width: 100%; white-space: normal; }

  .contact-card, .form-card { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 1.05rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
