/* =========================================================
   FONTS — Nunito (self-hosted variable font, weights 200–1000)
   ========================================================= */
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Variable-latin-ext.woff2') format('woff2-variations');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-Variable-latin.woff2') format('woff2-variations');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --color-primary: #357488;
  --color-primary-light: #DBF6FF;
  --color-bg-light: #F7F8F9;
  --color-ink: #211F1F;
  --color-accent: #2F7A43;
  --color-border: #DEE1E2;

  --fs-h1: clamp(2.25rem, 1.4rem + 3.5vw, 5.5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.5vw, 4rem);
  --fs-label: clamp(1rem, 0.85rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.8vw, 2rem);
  --fs-body: clamp(1rem, 0.92rem + 0.3vw, 1.25rem);
  --fs-btn: clamp(0.95rem, 0.88rem + 0.25vw, 1.1rem);
  --fs-sm: 0.9rem;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1728px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1024px) {
  .container { padding-left: 40px; padding-right: 40px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: var(--fs-btn);
  padding: 16px 32px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
.btn-primary:hover { background: #2b5c6c; border-color: #2b5c6c; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.label-eyebrow {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  font-size: var(--fs-sm);
}

.section-heading {
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--color-ink);
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
#mob-nav { transition: max-height .25s ease; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   TESTIMONIAL / SERVICE CARDS
   ========================================================= */
.card-shadow {
  box-shadow: 0 10px 30px rgba(33, 31, 31, 0.06);
}

/* =========================================================
   HORIZONTAL SLIDER ARROWS (hero videos, recenzie, ...)
   ========================================================= */
.video-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 13px;
  z-index: 5;
}
.video-slider-arrow-prev { left: 4px; }
.video-slider-arrow-next { right: 4px; }
.video-slider-track::-webkit-scrollbar { display:none; }
.video-slider-track { scrollbar-width:none; }

/* =========================================================
   PRÍSTUPNOSŤ A ZOBRAZENIE (posledný feedback)
   ========================================================= */
.md-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--color-ink); padding: 12px 18px; border-radius: 10px;
  font-weight: 800; box-shadow: 0 6px 20px rgba(0,0,0,.2); text-decoration: none;
}
.md-skip:focus { top: 12px; }

/* Obsah v prvom zábere sa zobrazí hneď (bez čakania na JS), animujú sa až sekcie pod ním */
main > section:first-child .reveal,
main > section:first-child.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
/* Poistka pri zlyhaní JS / pomalom načítaní: po 2,5 s sa zobrazí všetko */
.reveal-all .reveal { opacity: 1 !important; transform: none !important; }
