/* Kostra stránky: beta pás, hlavička, mobilné menu, pätička, sekcie. */

.beta-strip {
  padding: 9px 16px; text-align: center;
  background: var(--dark); color: #d4d7d0;
  border-bottom: 1px solid #2d3130;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
}
.beta-strip strong { margin-right: 6px; color: var(--orange); text-transform: uppercase; }

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(248 247 244 / .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.main-nav { display: flex; align-items: center; gap: 24px; font-size: var(--fs-sm); font-weight: 600; }
.main-nav a { padding-block: 13px; color: #4f514d; transition: color .2s; }
.main-nav a:hover { color: var(--orange-dark); }

.header-cta { min-height: 44px; padding: 9px 16px; gap: 12px; font-size: var(--fs-sm); }
.header-cta .icon { width: 16px; height: 16px; }

/* Mobilné menu (<details>, funguje aj bez JS) */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px;
  list-style: none; cursor: pointer; font-size: var(--fs-sm); font-weight: 600;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu__panel {
  position: absolute; right: 0; top: 55px; width: 250px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 35px rgb(25 28 29 / .1);
}
.mobile-menu__panel a { display: block; padding: 12px 14px; border-radius: 6px; font-size: var(--fs-base); font-weight: 600; }
.mobile-menu__panel a:hover { background: var(--soft-orange); }

/* Sekcie */
.section { padding-block: 90px; }
.section--divided { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 46px; }
.section-heading h2 { max-width: 620px; }
.section-heading > p { max-width: 310px; margin-bottom: 4px; color: var(--muted); font-size: var(--fs-base); line-height: 1.8; }

/* Pätička */
.site-footer { margin-top: auto; width: 100%; padding-top: 58px; padding-bottom: 25px; background: var(--dark); color: var(--on-dark-muted); border-top: 4px solid var(--orange-btn, #ed592f); }
.site-footer .wordmark { color: var(--on-dark); }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 25px; padding-bottom: 27px; }
.site-footer .wordmark { font-size: 1.5625rem; }
.site-footer .wordmark__mark { width: 24px; height: 24px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; color: var(--on-dark-muted); font-size: var(--fs-xs); font-weight: 600; }
.footer-links a { padding-block: 10px; }
.footer-links a:hover, .footer-links__btn:hover { color: #fff; }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-top: 21px; border-top: 1px solid rgb(255 255 255 / .12);
  color: #98a095; font-size: var(--fs-xs);
}
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
  .section { padding-block: 64px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { max-width: 100%; margin-top: 16px; }
}

/* Jednoduché stránky (404 a pod.) */
.page-simple { min-height: 50vh; }
.page-simple h1 { font-size: var(--fs-h2); }
.page-simple p { margin-block: 20px 30px; color: var(--muted); }

/* Sociálne siete + nastavenia cookies v pätičke */
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(255 255 255 / .2); border-radius: 50%; color: var(--on-dark-muted); transition: color .15s, border-color .15s, background .15s; }
.social a:hover, .social a:focus-visible { color: #fff; border-color: #fff; background: rgb(255 255 255 / .08); }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__bottom .ver-badge { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); color: #fff; }
.site-footer__bottom .ver-badge strong { color: #ff8a5c; }
.site-footer__social { padding: 4px 0 22px; }
.footer-links__btn { padding: 10px 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1 0 auto; padding-bottom: 72px; }

/* Oznámenia nad menu */
.ann { position: relative; display: flex; align-items: center; justify-content: center; padding: 10px 52px 10px 20px; color: #fff; font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.ann[hidden] { display: none; }
.ann__text { margin: 0; }
.ann__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .18); color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.ann__close:hover { background: rgb(255 255 255 / .32); }
.ann--info { background: #2563eb; } .ann--success { background: #15803d; } .ann--warning { background: #c2410c; } .ann--danger { background: #b91c1c; }
