/* inner pages: the shared component system of /prvi-put, /treninzi, /pitanja ... (redesign of 10. 11. 2026).
   Breakpoints 991 / 767 / 479 as published. Selectors that must beat the kit's one-screen section rules
   (main > section height 100vh) carry extra weight on purpose. */

/* ---------------------------------------------------------------- type shared by the components */
.pg-eyebrow { margin: 0; font: 600 13px/18.2px var(--font-text); letter-spacing: .1px; color: var(--doma-muted); }
:root .pg-h2.pg-h2 { margin: 0; font: 400 32px/40px var(--font-display); letter-spacing: -.6px; color: inherit; }
:root .pg-display.pg-display { margin: 0; font: 400 79px/81px var(--font-display); letter-spacing: -2.4px; color: inherit; }
.pg-link {
  color: var(--doma-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: var(--doma-line); transition: text-decoration-color 150ms var(--ease);
}
.pg-link:hover { text-decoration-color: currentColor; }
@media (max-width: 991px) {
  :root .pg-h2.pg-h2 { font-size: 29px; line-height: 36px; }
  :root .pg-display.pg-display { font-size: 54px; line-height: 56px; letter-spacing: -1.6px; }
}
@media (max-width: 767px) {
  :root .pg-h2.pg-h2 { font-size: 27px; line-height: 34px; }
  :root .pg-display.pg-display { font-size: 42px; line-height: 43px; letter-spacing: -1.3px; }
}
@media (max-width: 479px) {
  :root .pg-h2.pg-h2 { font-size: 24px; line-height: 30px; }
  :root .pg-display.pg-display { font-size: 40px; line-height: 41px; letter-spacing: -1.2px; }
}

/* ---------------------------------------------------------------- section */
body main > section.pg-sec.pg-sec {
  display: block; height: auto; min-height: 0; background: var(--doma-paper); color: var(--doma-ink);
  padding: 120px 0 72px;
}
body main > section.pg-sec.pg-sec > .wrap.wrap { height: auto; display: flex; flex-direction: column; row-gap: 48px; }
body main > section.pg-sec--tinted.pg-sec--tinted { background: var(--doma-panel); }
body main > section.pg-sec--green.pg-sec--green { background: var(--doma-green-band); color: var(--doma-on-green); }
body main > section.pg-sec--tight.pg-sec--tight { padding: 72px 0; }
@media (max-width: 767px) {
  body main > section.pg-sec.pg-sec > .wrap.wrap { row-gap: 32px; }
}
@media (max-width: 479px) {
  body main > section.pg-sec.pg-sec { padding: 56px 0 32px; }
  body main > section.pg-sec--tight.pg-sec--tight { padding: 32px 0; }
}

/* ---------------------------------------------------------------- section heading */
.pg-sh { display: flex; flex-direction: column; row-gap: 16px; max-width: 760px; }
.pg-sh--center { text-align: center; align-items: center; margin-inline: auto; }
.pg-sh--display { max-width: none; }
.pg-sh__intro { margin: 0; font-size: 20px; line-height: 30px; color: var(--doma-muted); }
.pg-sh--dark .pg-eyebrow, .pg-sh--dark .pg-sh__intro, .pg-sh--dark .pg-sh__title { color: var(--doma-on-green); }
@media (max-width: 991px) { .pg-sh__intro { font-size: 18px; line-height: 27px; } }

/* ---------------------------------------------------------------- note */
.pg-note {
  display: flex; flex-wrap: wrap; gap: 4px 12px; padding-left: 16px; border-left: 2px solid var(--doma-ink-50);
  font-size: 16px; line-height: 24.8px; color: var(--doma-muted);
}
.pg-note__text { margin: 0; }
.pg-note--medical { border-left-color: var(--doma-sage); }
.pg-note--medical .pg-note__text { color: var(--doma-ink); font-size: 15px; }
.pg-note--dark { border-left-color: var(--doma-on-green); color: var(--doma-on-green); }
.pg-note--dark .pg-note__text { color: var(--doma-on-green-muted); }
.pg-note--dark .pg-link { color: var(--doma-on-green); text-decoration-color: var(--doma-on-green-muted); }

/* ---------------------------------------------------------------- hero (page and compact) */
/* the top padding follows the header's height (--hdr-h, chrome.css) plus the air the heroes had before the header's
   wordmark grew by half on 22. 11. 2026: 48px on a desktop, 40 / 32 on a tablet and a phone */
body main > section.pg-hero.pg-hero {
  display: block; height: auto; min-height: 0; padding: calc(var(--hdr-h) + 48px) 0 72px; background: var(--doma-paper);
}
.pg-hero.pg-hero > .wrap.wrap { display: block; height: auto; }
.pg-hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px 24px; }
.pg-hero--page .pg-hero__grid { grid-template-columns: 1fr 1fr; align-items: start; }
.pg-hero__content { display: flex; flex-direction: column; row-gap: 24px; min-width: 0; }
.pg-hero--compact .pg-hero__content { max-width: 900px; }
:root .pg-hero__title.pg-hero__title {
  margin: 0; font: 400 72px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--doma-ink);
}
.pg-hero__lead { margin: 0; font-size: 20px; line-height: 30px; color: var(--doma-ink); max-width: 680px; }
/* the words stack from the top (h1, lead, buttons, meta; 24px apart); nothing is pinned to the photo's foot */
.pg-hero--page .pg-hero__lead { margin-top: 0; max-width: 588px; }
.pg-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pg-hero__meta { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
.pg-hero__media { width: 100%; }
.pg-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
/* the photo keeps its ratio but never makes the hero taller than it needs to be */
.pg-hero--page .pg-hero__img { max-height: min(640px, 70svh); }
@media (max-width: 991px) {
  .pg-hero--page .pg-hero__grid { grid-template-columns: 1fr; row-gap: 32px; }
  :root .pg-hero__title.pg-hero__title { font-size: 56px; }
  .pg-hero__lead { font-size: 18px; line-height: 27px; }
  .pg-hero__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  .pg-hero__content { row-gap: 20px; }
  :root .pg-hero__title.pg-hero__title { font-size: 48px; }
}
@media (max-width: 479px) {
  body main > section.pg-hero.pg-hero { padding: calc(var(--hdr-h) + 32px) 0 32px; }
  :root .pg-hero__title.pg-hero__title { font-size: 40px; }
  .pg-hero__img { aspect-ratio: 4 / 5; }
}

/* ---------------------------------------------------------------- grid */
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; width: 100%; }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-grid--list { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
@media (max-width: 991px) {
  .pg-grid--3, .pg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pg-grid--2, .pg-grid--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
  .pg-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- steps */
.pg-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; width: 100%; }
.pg-steps--compact { row-gap: 8px; }
.pg-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 8px 24px; align-items: baseline;
  padding: 24px 0; border-top: 1px solid var(--doma-line);
}
.pg-steps--compact .pg-step { padding: 12px 0; }
.pg-step__num { font: 400 24px/28px var(--font-display); letter-spacing: 0; color: inherit; }
.pg-step__body { display: flex; flex-direction: column; row-gap: 8px; min-width: 0; }
:root .pg-step__title { margin: 0; font: 600 18px/27px var(--font-text); letter-spacing: 0; color: inherit; }
.pg-step__text { margin: 0; max-width: 680px; font-size: 16px; line-height: 24.8px; color: var(--doma-muted); }
.pg-steps--compact .pg-step__text { font-size: 15px; }
.pg-steps--dark .pg-step { border-top-color: rgba(242, 239, 230, .17); }
.pg-steps--dark .pg-step__num, .pg-steps--dark .pg-step__text { color: var(--doma-on-green-muted); }
.pg-steps--dark .pg-step__title { color: var(--doma-on-green); }
@media (max-width: 767px) {
  .pg-step { grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px 0; }
}

/* ---------------------------------------------------------------- pricing card */
.pg-price {
  display: flex; flex-direction: column; row-gap: 12px; height: 100%; padding: 32px;
  background: var(--doma-white); border: 1px solid var(--doma-line); border-radius: 0; color: var(--doma-ink);
}
.pg-price--featured { background: var(--doma-panel); border-color: var(--doma-ink-50); }
.pg-price__head { display: flex; justify-content: space-between; align-items: center; column-gap: 12px; min-height: 26px; }
.pg-price__badge {
  display: inline-flex; align-items: center; margin: 0; padding: 4px 8px; white-space: nowrap;
  font: 600 12px/16px var(--font-text); color: var(--doma-ink); background: var(--doma-white);
  border: 1px solid var(--doma-line); border-radius: 0;
}
:root .pg-price__name { margin: 8px 0 0; font: 600 16px/24.8px var(--font-text); letter-spacing: 0; color: var(--doma-ink); }
.pg-price__price {
  margin: 0; font: 400 40px/44px var(--font-display); letter-spacing: -.8px; font-variant-numeric: tabular-nums;
}
.pg-price__anchor { margin: -8px 0 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
.pg-price__meta {
  margin: 0; padding-top: 12px; border-top: 1px solid var(--doma-line);
  font-size: 14px; line-height: 21.7px; color: var(--doma-muted);
}
.pg-price__details { font-size: 16px; line-height: 24.8px; }
.pg-price__details p { margin: 0 0 10px; }
.pg-price__details p:last-child { margin-bottom: 0; }
.pg-price__foot { display: flex; flex-direction: column; row-gap: 12px; margin-top: auto; padding-top: 16px; }
.pg-price__foot .btn { width: 100%; }
@media (max-width: 767px) { .pg-price { padding: 24px; } }

/* ---------------------------------------------------------------- card (whole-card link) */
.pg-card {
  display: flex; flex-direction: column; row-gap: 12px; height: 100%; padding: 32px;
  background: var(--doma-white); border: 1px solid var(--doma-line); border-radius: 0;
  color: var(--doma-ink); text-decoration: none;
  transition: transform 150ms var(--ease);
}
.pg-card--quiet { background: var(--doma-panel); border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .pg-card:hover { transform: translateY(-2px); } }
.pg-card:focus-visible { outline: 2px solid var(--doma-ink); outline-offset: 2px; }
:root .pg-card__title { margin: 0; font: 400 24px/28px var(--font-display); letter-spacing: -.5px; color: inherit; }
.pg-card__text { margin: 0; font-size: 16px; line-height: 24.8px; color: var(--doma-muted); }
.pg-card__link {
  margin: auto 0 0; padding-top: 8px; font: 600 16px/24.8px var(--font-text); color: var(--doma-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
@media (max-width: 767px) { .pg-card { padding: 24px; } }

/* ---------------------------------------------------------------- faq */
.pg-faq { display: flex; flex-direction: column; width: 100%; border-top: 1px solid var(--doma-line); }
.pg-faq__item { border-bottom: 1px solid var(--doma-line); }
.pg-faq__q {
  display: flex; justify-content: space-between; align-items: center; column-gap: 16px;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; color: var(--doma-ink);
  transition: color 150ms var(--ease);
}
.pg-faq__q::-webkit-details-marker { display: none; }
.pg-faq__q:hover { color: var(--doma-green); }
.pg-faq__q:focus-visible { outline: 2px solid var(--doma-ink); outline-offset: 2px; }
:root .pg-faq__h { margin: 0; font: 600 18px/27px var(--font-text); letter-spacing: 0; color: inherit; text-wrap: pretty; }
.pg-faq__chev {
  flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; transition: transform 150ms var(--ease);
}
.pg-faq__item[open] > .pg-faq__q .pg-faq__chev { transform: rotate(180deg); }
.pg-faq__a { margin: 0; max-width: 680px; padding-bottom: 24px; font-size: 16px; line-height: 24.8px; color: var(--doma-muted); }
@media (max-width: 479px) {
  .pg-faq__q { min-height: 56px; padding: 14px 0; }
  :root .pg-faq__h { font-size: 17px; }
}

/* ---------------------------------------------------------------- prose */
.pg-prose { display: flex; flex-direction: column; row-gap: 16px; width: 100%; max-width: 680px; }
.pg-prose__body { font-size: 16px; line-height: 24.8px; color: var(--doma-ink); }
.pg-prose__body--legal { font-size: 15px; line-height: 1.65; }
.pg-prose__body > p { margin: 0 0 10px; }
.pg-prose__body > :last-child { margin-bottom: 0; }
:root .pg-prose__h.pg-prose__h { margin: 40px 0 12px; font: 400 24px/28px var(--font-display); letter-spacing: -.5px; color: var(--doma-ink); }
.pg-prose__list { margin: 0 0 16px; padding-left: 24px; list-style: decimal; }
.pg-prose__list--ul { list-style: disc; }
.pg-prose__list li { margin-bottom: 8px; padding-left: 4px; }
.pg-prose__updated { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }

/* ---------------------------------------------------------------- photo frame */
.pg-photo { margin: 0; width: 100%; }
.pg-photo__media { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--doma-panel); border-radius: 0; }
.pg-photo__media--square { aspect-ratio: 1; }
.pg-photo__media--landscape { aspect-ratio: 3 / 2; }
.pg-photo__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-photo__caption { display: block; margin-top: 12px; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }

/* ---------------------------------------------------------------- app showcase */
.pg-app {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 32px 48px;
  padding: 48px; background: var(--doma-panel); border-radius: 0;
}
.pg-app--full { background: transparent; padding: 0; column-gap: 24px; }
.pg-app__content, .pg-app__aside { display: flex; flex-direction: column; row-gap: 24px; min-width: 0; }
:root .pg-app--full .pg-app__title { font-size: 40px; }
.pg-app__text { margin: 0; font-size: 18px; line-height: 27px; color: var(--doma-muted); }
.pg-app__store { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pg-app__qr { display: flex; flex-direction: column; align-items: center; row-gap: 6px; }
.pg-app__qr-img {
  display: block; width: 112px; height: 112px; padding: 6px; background: var(--doma-white);
  border: 1px solid var(--doma-line); border-radius: 0;
}
.pg-app__qr-caption { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
@media (max-width: 991px) {
  .pg-app { grid-template-columns: minmax(0, 1fr); }
  .pg-app__qr { display: none; }
  :root .pg-app--full .pg-app__title { font-size: 29px; }
}
@media (max-width: 767px) {
  .pg-app { padding: 32px; }
  .pg-app--full { padding: 0; }
  .pg-app__text { font-size: 16px; line-height: 24.8px; }
  :root .pg-app--full .pg-app__title { font-size: 28px; }
}
@media (max-width: 479px) {
  .pg-app { padding: 24px; }
  .pg-app--full { padding: 0; }
  :root .pg-app--full .pg-app__title { font-size: 24px; }
}

/* ---------------------------------------------------------------- contact block */
.pg-contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto auto 1fr; column-gap: 24px; align-items: stretch;
}
.pg-contact__eyebrow { grid-area: 1 / 1 / 2 / 3; }
.pg-contact__title { grid-area: 2 / 1 / 3 / 3; }
:root .pg-contact .pg-contact__title { margin-top: 12px; }
:root .pg-contact--full .pg-contact__title { font-size: 48px; line-height: 40px; }
.pg-contact__address {
  grid-area: 3 / 1 / 4 / 3; margin: 24px 0 48px; font: 400 79px/81px var(--font-display); letter-spacing: -2.4px;
  color: var(--doma-ink);
}
.pg-contact__hours {
  grid-area: 4 / 1 / 5 / 2; margin: 0; padding: 48px 48px 24px; background: var(--doma-panel);
  font-size: 16px; line-height: 24.8px; color: var(--doma-muted);
}
.pg-contact__list {
  grid-area: 5 / 1 / 6 / 2; display: flex; flex-direction: column; padding: 0 48px; background: var(--doma-panel);
}
.pg-contact__link {
  display: flex; align-items: center; min-height: 48px; border-top: 1px solid var(--doma-line);
  font: 600 16px/24.8px var(--font-text); color: var(--doma-ink); text-decoration: none;
  transition: color 150ms var(--ease);
}
.pg-contact__link:hover { color: var(--doma-muted); }
.pg-contact__note {
  grid-area: 6 / 1 / 7 / 2; margin: 0; padding: 24px 48px 48px; background: var(--doma-panel);
  font-size: 14px; line-height: 21.7px; color: var(--doma-muted);
}
.pg-contact__media { grid-area: 4 / 2 / 8 / 3; align-self: start; display: block; overflow: hidden; border-radius: 0; }
.pg-contact__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pg-contact--full .pg-contact__img { aspect-ratio: 1; }
@media (max-width: 991px) {
  .pg-contact { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .pg-contact > * { grid-area: auto !important; }
  :root .pg-contact--full .pg-contact__title { font-size: 29px; line-height: 36px; }
  .pg-contact__address { margin-bottom: 40px; font-size: 54px; line-height: 56px; letter-spacing: -1.6px; }
  .pg-contact__media { margin-top: 24px; }
  .pg-contact--full .pg-contact__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  :root .pg-contact--full .pg-contact__title { font-size: 32px; line-height: 34px; }
  .pg-contact__address { font-size: 42px; line-height: 43px; letter-spacing: -1.3px; }
}
@media (max-width: 479px) {
  :root .pg-contact--full .pg-contact__title { font-size: 24px; line-height: 30px; }
  .pg-contact__address { margin: 16px 0 32px; font-size: 40px; line-height: 41px; letter-spacing: -1.2px; }
  .pg-contact__hours { padding: 24px 24px 16px; }
  .pg-contact__list { padding: 0 24px; }
  .pg-contact__note { padding: 16px 24px 24px; }
}

/* ---------------------------------------------------------------- cta band */
.pg-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px 24px; color: var(--doma-on-green); }
.pg-cta--tinted { color: var(--doma-ink); }
.pg-cta__content { display: flex; flex-direction: column; row-gap: 16px; max-width: 588px; }
.pg-cta__eyebrow { margin: 0; font: 600 13px/18.2px var(--font-text); letter-spacing: .1px; color: var(--doma-on-green); }
:root .pg-cta .pg-cta__title { color: var(--doma-on-green); }
.pg-cta__text { margin: 0; font-size: 20px; line-height: 30px; color: var(--doma-on-green); }
.pg-cta__note { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-on-green); }
.pg-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pg-cta__link {
  display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/24.8px var(--font-text);
  color: var(--doma-on-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.pg-cta__link:focus-visible { outline: 2px solid var(--doma-on-green); outline-offset: 2px; }
.pg-cta--tinted .pg-cta__eyebrow, .pg-cta--tinted .pg-cta__note { color: var(--doma-muted); }
:root .pg-cta--tinted .pg-cta__title, .pg-cta--tinted .pg-cta__text, .pg-cta--tinted .pg-cta__link { color: var(--doma-ink); }
.pg-cta--tinted .pg-cta__link:focus-visible { outline-color: var(--doma-ink); }
@media (max-width: 991px) {
  .pg-cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .pg-cta__text { font-size: 18px; line-height: 27px; }
}

/* ---------------------------------------------------------------- stat tile */
.pg-stat { display: flex; flex-direction: column; row-gap: 8px; padding-top: 24px; border-top: 1px solid var(--doma-line); }
.pg-stat__value { margin: 0; font: 400 56px/1.05 var(--font-display); letter-spacing: -1.1px; color: inherit; }
.pg-stat__label { margin: 0; font: 600 14px/21.7px var(--font-text); color: var(--doma-muted); }
.pg-stat--dark { border-top-color: rgba(242, 239, 230, .22); }
.pg-stat--dark .pg-stat__value { color: var(--doma-on-green); }
.pg-stat--dark .pg-stat__label { color: var(--doma-on-green-muted); }
@media (max-width: 479px) { .pg-stat__value { font-size: 40px; } }

/* ---------------------------------------------------------------- team card */
.pg-team { display: flex; flex-direction: column; row-gap: 8px; }
.pg-team__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; background: var(--doma-panel); }
:root .pg-team__name { margin: 4px 0 0; font: 600 16px/24.8px var(--font-text); letter-spacing: 0; color: var(--doma-ink); }
.pg-team__role, .pg-team__cred { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
.pg-team__bio { margin: 0; font-size: 16px; line-height: 24.8px; color: var(--doma-ink); }
.pg-team--inline { display: grid; grid-template-columns: 120px 1fr; gap: 4px 24px; align-items: start; }
.pg-team--inline .pg-team__img { grid-area: 1 / 1 / 6 / 2; width: 120px; height: 120px; aspect-ratio: 1; }
@media (max-width: 767px) {
  .pg-team--inline { grid-template-columns: 88px 1fr; column-gap: 16px; }
  .pg-team--inline .pg-team__img { width: 88px; height: 88px; }
}

/* ---------------------------------------------------------------- testimonial */
.pg-quote { display: flex; flex-direction: column; row-gap: 16px; height: 100%; margin: 0; padding: 32px; border: 1px solid var(--doma-line); border-radius: 0; }
.pg-quote--tinted { background: var(--doma-white); }
.pg-quote__text { margin: 0; padding: 0; border: 0; font: 400 18px/27px var(--font-text); color: var(--doma-ink); }
.pg-quote__name { margin-top: auto; font: 600 14px/21.7px var(--font-text); color: var(--doma-ink); }
@media (max-width: 767px) { .pg-quote { padding: 24px; } }

/* ---------------------------------------------------------------- event card */
.pg-event {
  display: grid; grid-template-columns: 120px 1fr; align-items: start; gap: 16px 32px; padding: 32px;
  background: var(--doma-white); border: 1px solid var(--doma-line); border-radius: 0;
}
.pg-event--sold { background: var(--doma-panel); border-color: transparent; }
.pg-event__date { display: flex; flex-direction: column; row-gap: 4px; padding-top: 4px; }
.pg-event__day { margin: 0; font: 400 44px/1 var(--font-display); letter-spacing: -.02em; color: var(--doma-ink); }
.pg-event__month { margin: 0; font: 600 13px/1.4 var(--font-text); letter-spacing: .1px; color: var(--doma-muted); }
.pg-event__body { display: flex; flex-direction: column; row-gap: 10px; min-width: 0; }
:root .pg-event__title { margin: 0; font: 400 24px/28px var(--font-display); letter-spacing: -.5px; color: var(--doma-ink); }
.pg-event__meta { margin: 0; font-size: 14px; line-height: 1.5; color: var(--doma-muted); }
.pg-event__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--doma-ink); }
.pg-event__price { margin: 0; font: 600 20px/1.3 var(--font-text); color: var(--doma-ink); }
.pg-event__anchor { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
.pg-event__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 8px; }
.pg-event__badge {
  display: inline-flex; align-items: center; margin: 0; padding: 4px 10px; border-radius: 0;
  font: 600 12px/1.4 var(--font-text); color: var(--doma-muted); background: var(--doma-tint-2);
}
.pg-event--sold .pg-event__day, :root .pg-event--sold .pg-event__title, .pg-event--sold .pg-event__price { color: var(--doma-muted); }
@media (max-width: 767px) {
  .pg-event { grid-template-columns: 1fr; padding: 24px; }
  .pg-event__date { flex-direction: row; align-items: baseline; column-gap: 12px; }
}

/* ---------------------------------------------------------------- style guide (internal page) */
.sg-ramp { display: flex; flex-direction: column; row-gap: 24px; }
:root .sg-h1 { margin: 0; font: 400 72px/1.1 var(--font-display); letter-spacing: -.02em; }
:root .sg-h3 { margin: 0; font: 400 24px/28px var(--font-display); letter-spacing: -.5px; }
.sg-word { margin: 0; font: 400 120px/1 var(--font-display); letter-spacing: -.03em; }
.sg-large { margin: 0; font-size: 20px; line-height: 30px; }
.sg-regular { margin: 0; font-size: 16px; line-height: 24.8px; }
.sg-small { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
.sg-600 { font-weight: 600; }
.sg-coral { color: var(--doma-coral-text); }
.sg-green { color: var(--doma-green); }
.sg-hairline { height: 1px; background: var(--doma-line); }
.sg-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sg-panel { display: flex; flex-direction: column; row-gap: 12px; padding: 48px; background: var(--doma-panel); }
.sg-panel--green { background: var(--doma-green-band); color: var(--doma-on-green); }
.sg-panel--green .pg-eyebrow { color: var(--doma-on-green-muted); }
.sg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.sg-row--dark { padding: 24px; }
.sg-row--dark .pg-cta__link, .sg-row--dark .link { color: var(--doma-on-green); }
.sg-logos { display: flex; flex-wrap: wrap; gap: 24px; }
.sg-logo { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 24px; border: 1px solid var(--doma-line); color: var(--doma-ink); }
.sg-logo--green { background: var(--doma-green-band); border-color: transparent; color: var(--doma-on-green); }
.sg-logo--black { background: #000; border-color: transparent; color: var(--doma-paper); }
.sg-stack { display: flex; flex-direction: column; row-gap: 24px; }
@media (max-width: 991px) { :root .sg-h1 { font-size: 56px; } .sg-word { font-size: 88px; } }
@media (max-width: 767px) { .sg-panels { grid-template-columns: 1fr; } :root .sg-h1 { font-size: 48px; } }
@media (max-width: 479px) { :root .sg-h1 { font-size: 40px; } .sg-word { font-size: 64px; } .sg-panel { padding: 24px; } }

/* line breaks as published: plain greedy wrapping (the kit balances headings and prettifies paragraphs) */
:is(.pg-sec, .pg-hero) :is(h1, h2, h3, p, li, figcaption) { text-wrap: wrap; }
:is(.pg-sec, .pg-hero) :is(h1, h2, h3) { hyphens: manual; -webkit-hyphens: manual; }
.pg-photo__caption { text-align: center; }
/* a long label (e.g. "Pitanje o podacima? Piši nam") wraps at 320 instead of pushing the page sideways */
@media (max-width: 479px) {
  :is(.pg-sec, .pg-hero) .btn { max-width: 100%; white-space: normal; height: auto; min-height: var(--btn-h); padding-block: 10px; text-align: center; line-height: 1.25; }
}

/* ---------------------------------------------------------------- old-site text carried over (SEO migration, 20. 11. 2026) */
/* hero: a second lead paragraph */
.pg-hero--page .pg-hero__lead--more, .pg-hero__lead--more { margin-top: 0; }
/* pricing card: the one-line description, price lines with their own line and link, the product link */
.pg-price__desc { margin: 0; font-size: 15px; line-height: 23px; color: var(--doma-ink); }
.pg-price__details[hidden] { display: none; }
.pg-price__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pg-price__items > li { display: flex; flex-direction: column; row-gap: 4px; padding: 12px 0; border-top: 1px solid var(--doma-line); }
.pg-price__items > li:first-child { border-top: 0; padding-top: 0; }
.pg-price__item { margin: 0; font: 600 16px/24.8px var(--font-text); }
.pg-price__item-desc { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
.pg-price__more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1.4 var(--font-text); }
.pg-price__items .pg-price__more { min-height: 32px; }
/* a titled text block beside its heading (the posturalna analiza text under the price cards) */
.pg-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 24px; padding-top: 32px; border-top: 1px solid var(--doma-line); }
:root .pg-detail__title { margin: 0; font: 400 24px/28px var(--font-display); letter-spacing: -.5px; color: var(--doma-ink); }
.pg-detail__body, .pg-split__body { max-width: 680px; font-size: 16px; line-height: 24.8px; color: var(--doma-ink); }
.pg-detail__body > *, .pg-split__body > * { margin: 0 0 12px; }
.pg-detail__body > :last-child, .pg-split__body > :last-child { margin-bottom: 0; }
.pg-detail__body ul, .pg-split__body ul { padding-left: 22px; list-style: disc; }
.pg-detail__body li, .pg-split__body li { margin-bottom: 6px; }
/* heading (or a list) left, text right */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; align-items: start; }
.pg-split__body { font-size: 18px; line-height: 28px; }
.pg-split--top .pg-split__body { font-size: 16px; line-height: 24.8px; }
/* a link line after a block */
.pg-more { margin: 0; font-weight: 600; }
.pg-more .pg-link { display: inline-flex; align-items: center; min-height: 44px; }
/* the contact trio: E-mail / Telefon / Studio */
/* a short list of things to bring */
.pg-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.pg-checks > li { padding-top: 16px; border-top: 1px solid var(--doma-line); font: 600 18px/27px var(--font-text); color: var(--doma-ink); }
/* app showcase: a line above the badges, the QR with its lines beside it */
.pg-app__store-note { margin: 0; font-size: 15px; line-height: 23px; color: var(--doma-muted); }
.pg-app__qr--lines { flex-direction: row; align-items: center; column-gap: 16px; }
.pg-app__qr-text { display: flex; flex-direction: column; row-gap: 4px; max-width: 220px; }
.pg-app__qr-title { margin: 0; font: 600 16px/24.8px var(--font-text); color: var(--doma-ink); }
@media (max-width: 991px) {
  .pg-detail, .pg-split { grid-template-columns: minmax(0, 1fr); }
  .pg-split__body { font-size: 16px; line-height: 24.8px; }
}
@media (max-width: 767px) {
}

/* large phones and small tablets: tighter section paddings than the desktop 120/72 (Filip, 22. 11. 2026) */
@media (min-width: 480px) and (max-width: 767px) {
  body main > section.pg-sec.pg-sec { padding: 72px 0 40px; }
  body main > section.pg-sec--tight.pg-sec--tight { padding: 40px 0; }
  body main > section.pg-hero.pg-hero { padding: calc(var(--hdr-h) + 40px) 0 40px; }
}

/* ---------------------------------------------------------------- /upute: the first visit and the app on one page (22. 11. 2026) */
/* the app section is the target of every "Rezerviraj" / "Kupi u aplikaciji": its heading clears the fixed header */
#aplikacija, #doma-download { scroll-margin-top: var(--nav, 72px); }
/* the app panel under a section heading: its title is an h3, one step below the section's h2 */
:root .pg-app--sub .pg-app__title.pg-h2 { font-size: 28px; line-height: 34px; letter-spacing: -.5px; }
.pg-app__intro { display: flex; flex-direction: column; row-gap: 4px; max-width: 520px; }
.pg-app__intro-title { margin: 0; font: 600 16px/24.8px var(--font-text); color: var(--doma-ink); }
.pg-app__intro-text { margin: 0; font-size: 16px; line-height: 24.8px; color: var(--doma-ink); }
.pg-app__store-meta { margin: 0; font-size: 14px; line-height: 21.7px; color: var(--doma-muted); }
/* the install steps under the app panel, and the second question group: a hairline, then the block */
.pg-install, .pg-faq-group { display: flex; flex-direction: column; row-gap: 32px; width: 100%; padding-top: 48px; border-top: 1px solid var(--doma-line); }
.pg-faq-group { row-gap: 48px; margin-top: 24px; border-top: 0; padding-top: 0; }
:root .pg-install__title.pg-h2 { font-size: 28px; line-height: 34px; letter-spacing: -.5px; }
@media (max-width: 767px) {
  :root .pg-app--sub .pg-app__title.pg-h2, :root .pg-install__title.pg-h2 { font-size: 24px; line-height: 30px; }
  .pg-install { padding-top: 32px; row-gap: 24px; }
  .pg-faq-group { row-gap: 32px; margin-top: 16px; }
}

/* ---------------------------------------------------------------- /upute as the app page (22. 11. 2026, evening) */
/* the hero's media column carries the sign-in screen instead of a photograph: the phone's height, rounded like the
   display, at the column's end (the photograph's right edge) */
#koristenje, #pitanja { scroll-margin-top: var(--nav, 72px); }
.pg-hero__media--custom { display: flex; justify-content: flex-end; }
.pg-hero__screen { display: block; width: auto; height: min(640px, 70svh); aspect-ratio: 1170 / 2532; border-radius: clamp(20px, 3.3svh, 36px); background: var(--doma-white); box-shadow: 0 0 0 1px var(--doma-line), 0 40px 72px -36px color-mix(in srgb, var(--doma-ink) 45%, transparent); }
/* a 4:5 window on an app screen, the part that matters in view */
.pg-frame { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--doma-white); border: 1px solid var(--doma-line); }
.pg-frame__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 0; }
.pg-frame__img--center { object-position: 50% 50%; }
.pg-frame__img--bottom { object-position: 50% 100%; }
/* the usage guide: three steps a row, the screen above the number, title and words */
.pg-guide { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; width: 100%; }
.pg-guide__item { display: flex; flex-direction: column; row-gap: 16px; min-width: 0; }
.pg-guide__body { display: flex; flex-direction: column; row-gap: 6px; }
.pg-guide__num { font: 600 13px/18.2px var(--font-text); letter-spacing: .1px; color: var(--doma-muted); }
:root .pg-guide__title { margin: 0; font: 600 18px/27px var(--font-text); color: var(--doma-ink); }
.pg-guide__text { margin: 0; font-size: 15px; line-height: 23px; color: var(--doma-muted); }
.pg-notes { display: flex; flex-direction: column; row-gap: 16px; }
@media (max-width: 991px) {
  .pg-hero__media--custom { justify-content: center; }   /* the app screen centred under the words on phones and tablets (Filip, 23. 11. 2026) */
  .pg-hero__screen { height: min(520px, 60svh); }
  .pg-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}
@media (max-width: 479px) {
  .pg-hero__screen { height: min(440px, 56svh); }
  .pg-guide { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
