/* ===================================================================
   GOAL CAMP PRAGUE — styles
   Dark "cosmic" theme from the logo: deep navy + green & gold accents.
   RTL (Hebrew).
   =================================================================== */

:root {
  --navy-900: #070b1a;
  --navy-800: #0b1228;
  --navy-700: #111a38;
  --navy-600: #16224a;
  --card:     #131d3d;
  --card-2:   #18244c;
  --line:     rgba(255,255,255,.10);
  --green:    #36d34a;
  --green-2:  #21b536;
  --green-hover: #4fdc61;
  --gold:     #ffcf2d;
  --text:     #eef2fb;
  --muted:    #9aa6c4;
  --radius:   12px;
  --radius-sm:10px;
  --shadow:   0 18px 50px rgba(0,0,0,.45);
  --maxw:     1180px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--navy-900);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 820px; }

h1,h2,h3 { line-height: 1.18; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent; transition: background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-primary { background: var(--green); color: #04220a; }
.btn-primary:hover { background: var(--green-hover); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.wa-icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,11,26,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.brand-text { font-weight: 900; font-size: 1.15rem; letter-spacing: .5px; }
.brand-text small { display: block; font-size: .62rem; color: var(--gold); letter-spacing: 3px; font-weight: 700; margin-top: -3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a { padding: 8px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: .96rem; transition: color .15s, background .15s; }
.nav > a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav > a.nav-cta { background: var(--green); color: #04220a; font-weight: 700; margin-right: 6px; border-radius: 10px; }
.nav > a.nav-cta:hover { background: var(--green-hover); color: #04220a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--text); border-radius: 3px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,26,.55) 0%, rgba(7,11,26,.9) 100%);
}
.hero-content { position: relative; padding: 90px 22px; max-width: 760px; }
.hero-eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .5px; margin-bottom: 14px; }
.hero-title { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.5px; }
.hero-title .accent { color: var(--green); }
.hero-sub { color: #d6ddee; font-size: clamp(1.05rem, 1.7vw, 1.28rem); margin: 22px 0 30px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: #c4cde4; font-weight: 500; font-size: .98rem; }
.hero-trust span { white-space: nowrap; }

/* Shared check mark (hero trust, package lists, stay list) */
.tick, .pkg-includes li, .ticks li { position: relative; padding-right: 26px; }
.tick::before, .pkg-includes li::before, .ticks li::before {
  content: ""; position: absolute; right: 0; top: .3em; width: 17px; height: 17px;
  background: var(--green); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}

/* Line icons */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--navy-800); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

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

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* Why us: open grid, thin rules, no boxes */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.feature { background: var(--navy-900); padding: 32px 30px; }
.feature-ico { color: var(--green); margin-bottom: 14px; }
.feature-ico .ico { width: 32px; height: 32px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* Included: checklist beside one large photo */
.included-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.inc-list { display: grid; }
.inc-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.inc-item:first-child { padding-top: 0; }
.inc-item:last-child { border-bottom: 0; padding-bottom: 0; }
.inc-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.inc-ico { color: var(--green); flex: 0 0 auto; padding-top: 2px; }
.inc-ico .ico { width: 28px; height: 28px; }
.inc-item h3 { font-size: 1.12rem; margin-bottom: 4px; }
.inc-item p { color: var(--muted); font-size: .97rem; }

/* Sports: one strip, four names in large type */
.sports-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sport-cell { background: var(--navy-900); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; min-height: 150px; min-width: 0; }
.sport-name { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; overflow-wrap: anywhere; }
.sport-any { color: var(--text); transition: background-color .2s ease; }
.sport-any:hover { background: var(--navy-700); }
.sport-sub { color: var(--green); font-weight: 700; margin-top: 6px; }

/* Gallery strip.
   Default = fallback (no JS, reduced motion): a native sideways row that snaps.
   JS adds #gallery.is-pinned: the pin sticks under the header and vertical scroll moves the strip. */
#gallery .section-head { padding: 0 22px; }
.gs-hint-scroll { display: none; }
.gs-track {
  display: flex; gap: 16px; padding: 4px 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gs-track::-webkit-scrollbar { display: none; }
.gs-item { flex: none; width: min(80vw, 560px); margin: 0; scroll-snap-align: center; }
.gs-ph { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--card); }
.gs-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.gs-item figcaption { color: var(--muted); font-size: .95rem; padding-top: 10px; }
.gs-bar { display: none; margin: 26px 22px 0; height: 3px; background: var(--line); border-radius: 2px; }
.gs-bar i { display: block; height: 100%; background: var(--green); border-radius: 2px; transform-origin: right center; transform: scaleX(var(--p, 0)); }

#gallery.is-pinned { padding: 0; height: calc(100vh + var(--gs-overflow, 0px)); height: calc(100svh + var(--gs-overflow, 0px)); }
/* the menu link #gallery lands exactly on the pinned position: cancel html's scroll-padding-top (80px),
   the pin's own padding-top already clears the header; otherwise phones land with the caption under the buy bar */
#gallery.is-pinned { scroll-margin-top: -80px; }
#gallery.is-pinned .gs-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; padding-top: 71px;
}
#gallery.is-pinned .section-head { margin-bottom: 22px; }
#gallery.is-pinned .gs-track { width: max-content; overflow: visible; will-change: transform; }
#gallery.is-pinned .gs-ph { aspect-ratio: auto; height: min(52vh, 420px); height: min(52svh, 420px, calc(100svh - 260px)); }
#gallery.is-pinned .gs-bar { display: block; }
#gallery.is-pinned .gs-hint-scroll { display: inline; }
#gallery.is-pinned .gs-hint-swipe { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4,7,18,.94); color: var(--text); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lb-img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
.lb-close, .lb-prev, .lb-next { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--line); background: rgba(11,18,40,.85); color: var(--text); cursor: pointer; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--navy-600); }
.lb-close { top: 16px; left: 16px; }
.lb-prev { top: 50%; right: 16px; transform: translateY(-50%); }
.lb-next { top: 50%; left: 16px; transform: translateY(-50%); }

/* Packages */
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.packages { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 880px; margin-inline: auto; }
.pkg.popular { border: 2px solid var(--green); }
.pkg-badge { position: absolute; top: -13px; right: 24px; background: var(--gold); color: #3a2a00; font-weight: 800; font-size: .8rem; padding: 5px 14px; border-radius: 6px; }
.pkg-name { font-size: 1.35rem; font-weight: 800; overflow-wrap: anywhere; }
.pkg-dates { color: var(--gold); font-weight: 600; margin-top: 4px; }
.pkg-duration { color: var(--muted); margin-top: 2px; font-size: .95rem; }
.pkg-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 18px 0 18px; }
.pkg-price { font-size: 3rem; font-weight: 900; line-height: 1.1; color: #fff; }
.pkg-price .cur { font-size: .55em; color: var(--green); margin-inline-end: 2px; }
.pkg-price.is-quote { font-size: 2rem; }
.pkg-price-note { color: var(--muted); font-size: .95rem; }
.pkg-includes { list-style: none; margin: 6px 0 24px; display: grid; gap: 10px; }
.pkg-includes li { color: #d6ddee; font-size: .97rem; }
.pkg .btn { margin-top: auto; }
.packages-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* Accommodation split */
.stay-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stay-text h2 { margin: 8px 0 16px; }
.stay-text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }

.stay-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stay-photos img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: right; background: none; border: 0; color: var(--text); font-family: inherit; font-size: 1.08rem; font-weight: 700; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q .chev { color: var(--green); font-size: 1.4rem; transition: transform .25s; flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }

/* Contact */
.contact { background: var(--navy-800); }
.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 40px; text-align: center; }
.contact-box > p { color: var(--muted); font-size: 1.12rem; margin: 14px auto 30px; max-width: 560px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-meta { margin-top: 28px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; }
.contact-meta .meta-item { display: inline-flex; align-items: center; gap: 7px; }
.contact-meta .ico { width: 19px; height: 19px; color: var(--green); }
.contact-meta a { color: var(--green); overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-logo { width: 48px; height: 48px; }
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-brand span { color: var(--muted); font-size: .9rem; }
.footer-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-contact a { color: var(--muted); transition: color .15s; cursor: pointer; }
.footer-contact a:hover { color: var(--green); }
.footer-copy { color: var(--muted); font-size: .85rem; width: 100%; text-align: center; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 22px; left: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.4); z-index: 60; cursor: pointer; transition: background-color .2s; }
.wa-float:hover { background: #3be07a; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, .gs-item img:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
/* the promo bar is gold and full-width at the top edge: draw its ring inside, in navy */
.promo-bar:focus-visible { outline-color: var(--navy-900); outline-offset: -4px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Promo (config.js → promo) ---------- */
[hidden] { display: none !important; }
.promo-bar { display: block; background: var(--gold); color: var(--navy-900); text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.4; padding: 9px 22px; overflow-wrap: anywhere; }
.promo-bar:hover { text-decoration: underline; }
.promo-block { background: var(--navy-800); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.promo-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.promo-text { flex: 1 1 420px; min-width: 0; }
.promo-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.promo-sub { color: var(--muted); font-size: 1.08rem; margin-top: 8px; }

/* ---------- From-price ---------- */
.hero-price { color: var(--gold); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; margin: -10px 0 26px; }
.hero-price .js-from-price { font-size: 1.35em; font-weight: 900; }
.hero-price-length { color: var(--text); font-weight: 500; font-size: .8em; margin-inline-start: 10px; }
.packages-from { display: block; color: var(--gold); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.js-from-note:empty, .js-from-length:empty { display: none; }

/* ---------- Phone buy bar ---------- */
.buy-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stay-split { grid-template-columns: 1fr; gap: 30px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .included-split { grid-template-columns: 1fr; gap: 30px; }
  .inc-photo { order: -1; }
}
@media (max-width: 720px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy-800); border-bottom: 1px solid var(--line); padding: 14px 18px 22px; gap: 4px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }
  .nav > a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .section { padding: 60px 0; }
  .hero { min-height: 88vh; }
  .grid-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  #gallery.is-pinned .gs-pin { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* short phones: header + heading + caption + bar + buy bar leave less room than 52svh needs */
  #gallery.is-pinned .gs-ph { height: min(52svh, 420px, calc(100svh - 350px - env(safe-area-inset-bottom))); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .feature { padding: 26px 4px; }
  .sports-strip { grid-template-columns: repeat(2, 1fr); }
  .sport-cell { padding: 30px 12px; min-height: 120px; }
  .contact-box { padding: 40px 22px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .promo-bar { font-size: .88rem; padding: 8px 16px; }
  .promo-block { padding: 34px 0; }
  .promo-block .btn { width: 100%; white-space: normal; }
  .hero-price-length { display: block; margin: 4px 0 0; }
  .wa-float { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .buy-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; min-height: 76px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy-800); border-top: 1px solid var(--line); }
  .buy-price { line-height: 1.25; min-width: 0; }
  .buy-price .js-from-price { color: var(--gold); font-size: 1.15rem; font-weight: 900; }
  .buy-price .js-from-note { color: var(--text); font-size: .9rem; }
  .buy-length { display: block; color: var(--muted); font-size: .82rem; }
  .buy-bar .btn { padding: 12px 18px; flex: 0 0 auto; }
  .buy-bar [data-from-price][hidden] + .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
