@font-face {
  font-family: 'ParMaju Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  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: 'ParMaju Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.pj-front {
  margin: 0;
  background: #FFFFFF;
}

:root {
  --pj-night: #0B0F17;
  --pj-panel: #161C26;
  --pj-ink: #141A23;
  --pj-soft: #F2F4F8;
  --pj-menu: #F8F9FB;
  --pj-line: #D6DBE3;
  --pj-muted: #5E6774;
  --pj-muted-dark: #9CA6B4;
  --pj-accent: #2F5BEA;
  --pj-accent-hover: #2450D4;
  --pj-link: #2450D4;
  --pj-link-dark: #8FB0FF;
  --pj-glow: var(--pj-link-dark);
  --pj-font: 'ParMaju Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --pj-shadow: 0 1px 2px rgba(11, 15, 23, .06), 0 12px 32px rgba(11, 15, 23, .10);
}

/* Vienots zilo pogu kontrasts abos jaunā dizaina veidņu ceļos.
   Reālais kalkulatora ID nodrošina prioritāti arī pret vēlajiem MU !important stiliem.
   Kontūrpogas, teksta pogas un izvēļņu vadīklas šajā grupā neietilpst. */
html body:is(.pj-site, .pj-front) :is(
  .pj-pill--solid, .pm-btn--primary, .pm-button.pm-primary, .pm-button.pm-dark,
  .pm .pm-card.is-selected .pm-button, .pm .pm-card-btn.is-active, .wpcf7-submit, input[type="submit"],
  .wp-block-button__link:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)),
  .wp-element-button:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)), .woocommerce .button,
  #pm-lead .pm-button.pm-primary
) {
  background: var(--pj-accent) !important;
  border-color: var(--pj-accent) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

html body:is(.pj-site, .pj-front) :is(
  .pj-pill--solid, .pm-btn--primary, .pm-button.pm-primary, .pm-button.pm-dark,
  .pm .pm-card.is-selected .pm-button, .pm .pm-card-btn.is-active, .wpcf7-submit, input[type="submit"],
  .wp-block-button__link:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)),
  .wp-element-button:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)), .woocommerce .button,
  #pm-lead .pm-button.pm-primary
):is(:hover, :focus, :focus-visible, :active) {
  background: var(--pj-accent-hover) !important;
  border-color: var(--pj-accent-hover) !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

html body:is(.pj-site, .pj-front) :is(
  .pj-pill--solid, .pm-btn--primary, .pm-button.pm-primary, .pm-button.pm-dark,
  .pm .pm-card.is-selected .pm-button, .pm .pm-card-btn.is-active, .wpcf7-submit, input[type="submit"],
  .wp-block-button__link:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)),
  .wp-element-button:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)), .woocommerce .button,
  #pm-lead .pm-button.pm-primary
) :is(span, strong, b, em, small, svg) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

html body:is(.pj-site, .pj-front) :is(
  .pj-pill--solid, .pm-btn--primary, .pm-button.pm-primary, .pm-button.pm-dark,
  .pm .pm-card.is-selected .pm-button, .pm .pm-card-btn.is-active, .wpcf7-submit, input[type="submit"],
  .wp-block-button__link:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)),
  .wp-element-button:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)), .woocommerce .button,
  #pm-lead .pm-button.pm-primary
):focus-visible {
  outline: 2px solid var(--pj-link-dark) !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--pj-night) !important;
}

/* Disabled paliek īsts stāvoklis, nevis aktīvas pogas imitācija. */
html body:is(.pj-site, .pj-front) :is(
  .pj-pill--solid, .pm-btn--primary, .pm-button.pm-primary, .pm-button.pm-dark,
  .pm .pm-card.is-selected .pm-button, .pm .pm-card-btn.is-active, .wpcf7-submit, input[type="submit"],
  .wp-block-button__link:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)),
  .wp-element-button:where(:not(.is-style-link *, .is-style-outline *, .parmaju-card-grid .parmaju-card *)), .woocommerce .button,
  #pm-lead .pm-button.pm-primary
):is(:disabled, [aria-disabled="true"]) {
  background: var(--pj-accent) !important;
  border-color: var(--pj-accent) !important;
  opacity: .6 !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* Piekrišanas saskarne abos jaunā dizaina veidņu ceļos, nemainot consent loģiku. */
body:is(.pj-site, .pj-front) {
  --cmplz_text_color: var(--pj-ink);
  --cmplz_hyperlink_color: var(--pj-link);
  --cmplz_button_accept_background_color: var(--pj-accent);
  --cmplz_button_accept_border_color: var(--pj-accent);
  --cmplz_button_accept_text_color: #FFFFFF;
  --cmplz_button_deny_text_color: var(--pj-ink);
  --cmplz_button_settings_text_color: var(--pj-ink);
  --cmplz_slider_active_color: var(--pj-accent);
}
html body:is(.pj-site, .pj-front) :is(.cmplz-cookiebanner, #cmplz-manage-consent) {
  --cmplz_banner_background_color: var(--pj-night);
  --cmplz_banner_border_color: var(--pj-panel);
  --cmplz_banner_border_radius: 16px;
  --cmplz_text_color: #FFFFFF;
  --cmplz_hyperlink_color: var(--pj-link-dark);
  --cmplz_text_font_size: 14px;
  --cmplz_link_font_size: 14px;
  --cmplz_title_font_size: 16px;
  --cmplz_category_body_font_size: 13px;
  --cmplz_button_accept_background_color: var(--pj-accent);
  --cmplz_button_accept_border_color: var(--pj-accent);
  --cmplz_button_accept_text_color: #FFFFFF;
  --cmplz_button_deny_background_color: var(--pj-accent);
  --cmplz_button_deny_border_color: var(--pj-accent);
  --cmplz_button_deny_text_color: #FFFFFF;
  --cmplz_button_settings_background_color: transparent;
  --cmplz_button_settings_border_color: var(--pj-link-dark);
  --cmplz_button_settings_text_color: #FFFFFF;
  --cmplz_button_border_radius: 12px;
  --cmplz_category_header_always_active_color: var(--pj-link-dark);
  --cmplz_slider_active_color: var(--pj-accent);
  --cmplz_slider_inactive_color: var(--pj-muted);
}

html body:is(.pj-site, .pj-front) .cmplz-cookiebanner {
  font-family: var(--pj-font);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 12px 40px rgba(11, 15, 23, .3);
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner .cmplz-btn {
  min-height: 44px;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
/* Accept and reject have equal prominence; consent configuration is unchanged. */
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner :is(.cmplz-accept, .cmplz-deny, .cmplz-save-preferences) {
  background: var(--pj-accent) !important;
  border-color: var(--pj-accent) !important;
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner :is(.cmplz-accept, .cmplz-deny, .cmplz-save-preferences):is(:hover, :focus, :focus-visible, :active) {
  background: var(--pj-accent-hover) !important;
  border-color: var(--pj-accent-hover) !important;
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner .cmplz-view-preferences:is(:hover, :focus, :focus-visible, :active) {
  background: var(--pj-panel) !important;
  border-color: var(--pj-link-dark) !important;
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner :is(.cmplz-btn, .cmplz-close):focus-visible {
  outline: 2px solid var(--pj-link-dark) !important;
  outline-offset: 3px;
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner .cmplz-category {
  background: var(--pj-panel);
  color: #FFFFFF;
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner :is(.cmplz-description, .cmplz-category-toggle) {
  color: #FFFFFF !important;
}
html body:is(.pj-site, .pj-front) .cmplz-cookiebanner .cmplz-category-toggle svg {
  fill: currentColor;
}
html body:is(.pj-site, .pj-front) #cmplz-manage-consent .cmplz-manage-consent {
  background: var(--pj-night) !important;
  color: #FFFFFF !important;
  border-color: var(--pj-link-dark) !important;
}
html body:is(.pj-site, .pj-front) #cmplz-manage-consent .cmplz-manage-consent:is(:hover, :focus-visible) {
  background: var(--pj-panel) !important;
  outline: 2px solid var(--pj-link-dark);
}

.pj-home {
  font-family: var(--pj-font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--pj-ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;}

.pj-home *,
.pj-home *::before,
.pj-home *::after {
  box-sizing: border-box;
}

.pj-home a {
  color: inherit;
  text-decoration: none;
}

.pj-home a:hover {
  text-decoration: underline;
}

.pj-home h1,
.pj-home h2,
.pj-home h3,
.pj-home p {
  margin: 0;
  font-family: inherit;
  letter-spacing: inherit;
}

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

.pj-home button,
.pj-home input,
.pj-home select,
.pj-home textarea {
  font: inherit;
  letter-spacing: inherit;
}

/* Arī bez tēmas CSS: paziņojumi paliek palīgtehnoloģijām. */
.pj-home .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.pj-home :focus-visible {
  outline: 2px solid var(--pj-accent);
  outline-offset: 2px;
}

.pj-home [id] {
  scroll-margin-top: 44px;
}

/* Pogas un saites */
.pj-home .pj-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.pj-home .pj-pill:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.pj-home .pj-pill:active {
  transform: translateY(0);
}

.pj-home .pj-pill--solid {
  background: var(--pj-accent);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(47, 91, 234, .32);
}

.pj-home .pj-pill--solid:hover {
  background: var(--pj-accent-hover);
  box-shadow: 0 12px 28px rgba(47, 91, 234, .38);
}

.pj-home .pj-pill--line {
  min-height: 42px;
  border: 1px solid var(--pj-link-dark);
  color: var(--pj-link-dark);
}

.pj-home .pj-link {
  margin-top: 8px;
  font-size: 19px;
  color: var(--pj-link);
}

.pj-home .pj-link--winter {
  margin-top: 6px;
  color: #FFFFFF;
  font-weight: 500;
}

/* Virsraksti */
.pj-home .pj-title {
  font-weight: 600;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.pj-home .pj-lead {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pj-home .pj-lead--narrow {
  max-width: 26em;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.22;
}

.pj-home .pj-lead--small {
  max-width: 30em;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.25;
}

.pj-intro {
  padding: clamp(56px, 6vw, 80px) 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pj-intro--flush {
  padding: 0;
  text-align: center;
}

/* Galvene */
.pj-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 249, 251, .82);
  color: rgba(20, 26, 35, .82);
  border-bottom: 1px solid rgba(20, 26, 35, .06);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.pj-nav.is-open {
  background: var(--pj-menu);
}

body.admin-bar .pj-nav {
  top: 32px;
}

html.pj-menu-open {
  overflow: hidden;
}

.pj-nav__inner {
  max-width: 1120px;
  height: 44px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
}

.pj-home .pj-nav__logo img {
  width: 26px;
  height: 26px;
}

.pj-home .pj-nav__logo {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pj-ink);
}

.pj-nav__list,
.pj-flyout ul,
.pj-footer__social {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pj-nav__list {
  height: 44px;
  display: flex;
  gap: 22px;
}

.pj-nav__item {
  display: flex;
  align-items: center;
}

.pj-home .pj-nav__link:hover {
  color: var(--pj-accent);
  text-decoration: none;
}

.pj-home .pj-nav__link[aria-current] {
  color: var(--pj-accent);
  font-weight: 600;
}

.pj-nav__tools {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pj-home .pj-nav__toggle,
.pj-home .pj-nav__burger {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.pj-home .pj-nav__toggle {
  width: 24px;
  min-width: 24px;
  height: 44px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pj-nav__toggle svg {
  transition: transform .2s ease;
}

.pj-nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.pj-home .pj-nav__icon {
  width: 32px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pj-home .pj-nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  position: relative;
}

.pj-nav__burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease;
}

.pj-nav__burger span:first-child {
  top: 18px;
}

.pj-nav__burger span:last-child {
  top: 25px;
}

.pj-nav.is-open .pj-nav__burger span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.pj-nav.is-open .pj-nav__burger span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.pj-flyout {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--pj-menu);
  border-bottom: 1px solid var(--pj-line);
  box-shadow: 0 24px 40px rgba(11, 15, 23, .10);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.pj-nav__item.is-open .pj-flyout {
  opacity: 1;
  visibility: visible;
}

.pj-flyout__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 16px 44px;
}

.pj-home .pj-flyout__title {
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--pj-muted);
}

.pj-flyout ul {
  columns: 3;
  column-gap: 32px;
}

.pj-flyout li {
  padding: 5px 0;
  break-inside: avoid;
}

.pj-home .pj-flyout a {
  font-size: 14px;
  font-weight: 600;
  color: var(--pj-ink);
}

.pj-home .pj-flyout a:hover {
  color: var(--pj-accent);
  text-decoration: none;
}

@media (max-width: 960px) {
  .pj-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 44px);
    height: calc(100dvh - 44px);
    padding: 12px 16px 48px;
    overflow-y: auto;
    background: var(--pj-menu);
  }

  .pj-nav.is-open .pj-nav__menu {
    display: block;
  }

  .pj-nav__list {
    display: block;
    height: auto;
  }

  .pj-nav__item {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--pj-line);
  }

  .pj-home .pj-nav__link {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 0;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--pj-ink);
  }

  .pj-home .pj-nav__toggle {
    width: 44px;
    margin-right: -12px;
    justify-content: center;
  }

  .pj-nav__toggle svg {
    width: 14px;
    height: 14px;
  }

  .pj-flyout {
    display: none;
    position: static;
    flex: 0 0 100%;
    box-shadow: none;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  .pj-nav__item.is-open .pj-flyout {
    display: block;
  }

  .pj-flyout__inner {
    padding: 0 0 14px;
  }

  .pj-home .pj-flyout__title {
    display: none;
  }

  .pj-flyout ul {
    columns: 1;
  }

  .pj-home .pj-flyout a {
    display: block;
    padding: 6px 0;
    font-size: 17px;
    font-weight: 400;
  }

  .pj-flyout li {
    padding: 0;
  }

  .pj-home .pj-nav__burger {
    display: block;
  }
}

/* Kājene */
.pj-footer {
  background: var(--pj-soft);
  color: var(--pj-muted);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.pj-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pj-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.pj-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pj-home .pj-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pj-ink);
}

.pj-home .pj-footer__logo img {
  width: 30px;
  height: 30px;
}

.pj-footer__place {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pj-home .pj-footer__title {
  font-weight: 600;
  color: var(--pj-ink);
}

.pj-footer__social {
  display: flex;
  gap: 16px;
}

.pj-home .pj-footer__social a {
  display: flex;
  color: var(--pj-muted);
}

.pj-home .pj-footer__social a:hover {
  color: var(--pj-ink);
}

.pj-footer__legal {
  padding-top: 14px;
  border-top: 1px solid var(--pj-line);
  font-size: 12px;
}

/* Dziļums */
.pj-depth {
  transform: perspective(1200px) rotateX(calc(var(--pj-rev, 0deg) + var(--pj-rx, 0deg))) rotateY(var(--pj-ry, 0deg)) translateY(var(--pj-revy, 0));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .6s ease, box-shadow .3s ease;
}

.pj-js .pj-reveal {
  --pj-rev: 7deg;
  --pj-revy: 28px;
  opacity: 0;
  transform-origin: 50% 100%;
}

.pj-js .pj-reveal.is-in {
  --pj-rev: 0deg;
  --pj-revy: 0;
  opacity: 1;
}

.pj-tilt {
  position: relative;
  transform-style: preserve-3d;
}

.pj-tilt.is-tilting {
  box-shadow: var(--pj-shadow);
  transition: transform .1s linear, opacity .6s ease, box-shadow .3s ease;
}

.pj-tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--pj-gx, 50%) var(--pj-gy, 0%), rgba(255, 255, 255, .22), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.pj-tilt.is-tilting::after {
  opacity: 1;
}
@media (max-width: 782px) {
  body.admin-bar .pj-nav {
    top: 46px;
  }
}

@media (max-width: 600px) {
  body.admin-bar .pj-nav {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pj-home *,
  .pj-depth,
  .pj-tilt {
    transition: none !important;
    animation: none !important;
  }

  .pj-js .pj-reveal {
    --pj-rev: 0deg;
    --pj-revy: 0;
    opacity: 1;
  }
}
