/* Royal Services, the subpages: the year sideways ("Rok s Royal"), the clients' page and the privacy page.
   They share styles.css; this adds only what is theirs. */
.podstranka main { padding-top: var(--nav-h); }
/* the home page's menu on every subpage (the owner, 2026-10-08): with no deadline and no button beside it, the eight links
   keep one line down to 1000px; the drawer below */
@media (min-width: 1000px) and (max-width: 1365px) {
  .podstranka .nav-odkazy { display: flex; }
  .podstranka .menu-btn { display: none; }
}
.pod-uvod { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad) clamp(36px, 5vw, 60px); }
.pod-uvod .uvod-cta { margin-top: 28px; }
.pod-zaver { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad) 0; display: grid; gap: 22px; justify-items: start; }

/* Rok s Royal's paper is the warm one the home page reaches at "O firme" (motion.js tweens --svetlo to #ECE3D2 there;
   the owner, 2026-10-08): the sheets of the months stand out on it, and the ink keeps 11:1 */
.teply { --svetlo: #ECE3D2; background: #ECE3D2; }
/* the year arrives slowly (stranky.js): hidden from the first paint, then faded in (rok.html's head sets .intro) */
.intro .pod-uvod > *, .intro .m-panel { opacity: 0; }

/* the year */
.rok { overflow: hidden; }
.rok-pas { position: relative; display: flex; gap: 18px; padding: 8px var(--pad) 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rok-anim .rok-pas { overflow: visible; width: max-content; }
/* pinned on a computer: the strip in the middle of the screen under the nav, and under it a ruler of the twelve months
   whose brass window shows which months are in view */
.rok-anim .rok { height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column;
  justify-content: safe center; gap: clamp(14px, 3vh, 36px); }
@media (max-height: 640px) { .rok-pravitko { display: none; } }   /* a short screen keeps the months whole */
.rok-pravitko { position: relative; margin: 0 var(--pad); padding-top: 14px; border-top: 1px solid var(--linka); }
.rok-pravitko ol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); color: var(--grafit); font: 500 13px/1.2 var(--f-text); }
.rok-pravitko li { padding-left: 2px; }
.rok-teraz { color: var(--atrament); font-weight: 600; }
.rok-okno { position: absolute; left: 0; top: -2px; height: 3px; background: var(--mosadz); }
.m-panel { flex: none; width: min(380px, 82vw); scroll-snap-align: start; padding: 26px 26px 30px; border-radius: 3px; background-color: var(--harok);
  box-shadow: 0 30px 50px -36px rgba(27, 42, 74, .5), 0 1px 3px rgba(27, 42, 74, .1); }
.m-hlava { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: var(--dvoj); }
.m-nazov { font: 430 46px/1 var(--f-display); letter-spacing: -.025em; }
.m-rok { color: var(--grafit); font-variant-numeric: tabular-nums; }
.m-teraz { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--atrament); color: var(--papier); font: 600 12px/1.2 var(--f-text); }
html:not(.anim) .is-teraz { box-shadow: 0 0 0 2px var(--mosadz), 0 30px 50px -36px rgba(27, 42, 74, .5); }
/* while the year moves its sheets lift a little off the desk and settle when it stops (stranky.js tweens --zdvih by the
   speed); the months can be grabbed by the mouse */
.anim .m-panel { transform: translateY(calc(var(--zdvih, 0) * -6px));
  box-shadow: 0 calc(30px + var(--zdvih, 0) * 14px) calc(50px + var(--zdvih, 0) * 18px) -36px rgba(27, 42, 74, calc(.5 + var(--zdvih, 0) * .16)),
    0 1px 3px rgba(27, 42, 74, .1); }
.rok-pas.chyt { cursor: grab; }
.rok-tahanie .rok-pas { cursor: grabbing; }
.m-panel h3 { margin-top: 16px; color: var(--grafit); font: 600 13px/1.3 var(--f-text); }
.m-terminy li, .pk-terminy li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--linka); }
.t-datum { font: 500 19px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.t-co { font-weight: 500; }
.t-kto { color: var(--grafit); font-size: 14px; }
.t-ziadny { color: var(--grafit); }
.m-co { margin-top: 8px; font: 400 16px/1.5 var(--f-display); }   /* above the deadlines, smaller and a little fuller (the client, 2026-10-08) */

/* the clients' page */
.pk-blok { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad) 0; }
.pk-blok .kroky { margin-top: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-hlava { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.pk-terminy { margin-top: 18px; max-width: 760px; border-top: 1px solid var(--atrament); }
.zoznam { margin-top: 18px; max-width: 760px; border-top: 1px solid var(--atrament); }
.zoznam li { border-bottom: 1px solid var(--linka); }
.zoznam label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; cursor: pointer; }
.zoznam input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--atrament); }
.pk-tel { font: 430 clamp(32px, 4vw, 48px)/1.1 var(--f-display); text-decoration: none; color: var(--atrament); }
.pk-kontakt p { margin-top: 12px; }

/* the privacy page */
.text-stranka { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad) 0; }
.podstranka .text-stranka { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 90px)); }
.text-stranka h2 { margin-top: 40px; font: 450 26px/1.2 var(--f-display); }
.text-stranka p, .text-stranka ul { margin-top: 12px; }
.text-stranka ul { list-style: disc; padding-left: 22px; }
.text-stranka li { margin-top: 6px; }
.navrh { margin-top: 18px; padding: 12px 14px; border: 1px solid var(--mosadz-2); border-radius: 3px; color: var(--mosadz-2); font-size: 14px; }

@media (max-width: 860px) {
  .pk-blok .kroky { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {   /* the smallest phones: the mark and the menu button on one line */
  .podstranka .nav { gap: 12px; }
  .podstranka .znak { width: 132px; }
  .podstranka .znak-cinnost { display: none; }   /* under 140 px the mark stands alone (identita/) */
}

@media print {
  .nav, .skip, .pata, .spat-do-studia, [data-tlac], .pod-uvod .lead, .pk-blok:not(:has(.zoznam)), .pod-uvod { display: none !important; }
  body { background: #fff; }
  .podstranka main { padding-top: 0; }
  .pk-blok { padding: 0; }
  .zoznam label { padding: 10px 0; }
}
