/* Apartmandžija Preporuke — page-specific styles.
   Hero, criteria, category nav and the myRent card. Partner cards and the
   submit CTA live in preporuke-partner-cards.css. */

/* ==========================================================================
   Preserved header/nav scoping — do not change. This is the page's current
   header appearance (active-link color, underline, button colors) and must
   stay pixel-identical; it is not part of the redesigned content sections.
   ========================================================================== */
.recommendations-page {
  background: var(--bg);
  overflow-x: hidden;
}
.recommendations-page [hidden] { display: none !important; }
.recommendations-page .nav-desktop { gap: 26px; }

.recommendations-page,
.recommendations-reference-page {
  font-family: "Inter", var(--font-sans), sans-serif;
}

.recommendations-page strong { font-weight: 700; }

.recommendations-page h1,
.recommendations-page h2,
.recommendations-page h3,
.recommendations-page p,
.recommendations-page li,
.recommendations-page a,
.recommendations-page span,
.recommendations-page strong {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

.recommendations-reference-page h1,
.recommendations-reference-page h2,
.recommendations-reference-page h3,
.recommendations-reference-page h4,
.recommendations-reference-page p,
.recommendations-reference-page li,
.recommendations-reference-page a,
.recommendations-reference-page span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.recommendations-reference-page h1,
.recommendations-reference-page h2,
.recommendations-reference-page h3,
.recommendations-reference-page h4 {
  text-wrap: balance;
}

.recommendations-reference-page p {
  text-wrap: pretty;
}

@media (max-width: 600px) {
  .recommendations-reference-page {
    overflow-x: clip;
  }
}

.recommendations-reference-page {
  background: var(--bg);
}

.recommendations-reference-page .site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e3e5e9;
  box-shadow: none;
}

.recommendations-reference-page .nav-desktop a[aria-current="page"] {
  position: relative;
  color: var(--rec-navy-dark, #0d1c3e);
}

.recommendations-reference-page .nav-desktop a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -25px;
  left: 0;
  height: 2px;
  background: var(--rec-navy-dark, #0d1c3e);
}

@media (min-width: 901px) {
  .recommendations-reference-page .nav-desktop a[aria-current="page"]::after {
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: currentColor;
    pointer-events: none;
  }
}

.recommendations-reference-page .nav-cta .btn {
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  font: 600 13.5px/1 Inter, sans-serif;
}

.recommendations-reference-page .nav-cta .btn-primary,
.recommendations-reference-page .nav-mobile .btn-primary {
  border-color: var(--rec-navy-dark, #0d1c3e);
  background: var(--rec-navy-dark, #0d1c3e);
  color: #ffffff;
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.recommendations-reference-page) {
    scroll-behavior: smooth;
  }
}

/* Reusable eyebrow (dash + uppercase label) used by hero, category nav and CTA. */
.recommendations-reference-page .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--rec-navy-muted, #63708a);
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.recommendations-reference-page .section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: 0 0 24px;
  border-radius: 999px;
  background: var(--coral);
  position: relative;
  top: -1px;
  transform: scaleX(0);
  transform-origin: left center;
}

.recommendations-reference-page .section-eyebrow > span {
  opacity: 0;
  transform: translateY(4px);
}

.recommendations-reference-page .section-eyebrow.reveal,
.recommendations-reference-page .section-eyebrow.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.recommendations-reference-page .section-eyebrow.is-visible::before {
  transform: scaleX(1);
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.recommendations-reference-page .section-eyebrow.is-visible > span {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 450ms cubic-bezier(0.22, 1, 0.36, 1) 80ms,
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

@media (max-width: 600px) {
  .recommendations-reference-page .section-eyebrow {
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }
  .recommendations-reference-page .section-eyebrow::before {
    width: 19px;
    flex-basis: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recommendations-reference-page .section-eyebrow::before,
  .recommendations-reference-page .section-eyebrow > span {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Universal scroll-reveal — a section fades/slides in once as it first
   enters the viewport (same IntersectionObserver as the eyebrow/hero
   reveal, just a different target class). Used on the myRent card, the
   three partner cards and the closing CTA card. */
.pr-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .pr-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Design tokens — literal values from the sent Preporuke Redesign reference.
   ========================================================================== */
.recommendations-reference-page {
  --pr-navy: #0c2555;
  --pr-navy-2: #071a43;
  --pr-navy-3: #061936;
  --pr-coral: #fa5757;
  --pr-ink: #1f1f22;
  --pr-muted: #6e6a63;
  --pr-hairline: #e5e0d8;
  --pr-bg: #f4f3ec;
}

.recommendations-reference-page * {
  box-sizing: border-box;
}

.recommendations-reference-page :is(img, svg) {
  max-width: 100%;
}

/* ==========================================================================
   Hero intro + criteria
   ========================================================================== */
.pr-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 24px 56px;
}

.pr-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
  margin-top: 22px;
}

.pr-hero-title {
  font-size: clamp(52px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 22px;
  color: var(--pr-ink);
}

.pr-hero-title em {
  font-style: italic;
  color: inherit;
}

/* Break structure: desktop (≥1024px) breaks once, after "koje"; tablet and
   mobile (≤1023px) break twice — after "servisi" and after "vredi". See the
   max-width:1023px block below for the mobile/tablet variant. */
.pr-hero-title-br-1,
.pr-hero-title-br-3 {
  display: none;
}

.pr-hero-lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--pr-muted);
  margin: 0;
  line-height: 1.65;
}

.pr-hero-lead strong {
  font-weight: 500;
  color: var(--pr-ink);
}

/* Criteria — desktop 2x2 grid */
.pr-criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--pr-hairline);
  border: 1px solid var(--pr-hairline);
  border-radius: 16px;
  overflow: hidden;
}

.pr-criteria-cell {
  background: #ffffff;
  padding: 22px 20px;
  transition: background 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pr-criteria-cell:hover {
    background: var(--pr-bg);
    transform: translateY(-3px);
  }
  .pr-criteria-cell:hover .pr-criteria-icon {
    transform: scale(1.15);
  }
}

.pr-criteria-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--pr-navy);
  margin-bottom: 12px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pr-criteria-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-criteria-cell h2 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--pr-ink);
}

.pr-criteria-cell p {
  font-size: 12.5px;
  color: var(--pr-muted);
  margin: 0;
  line-height: 1.5;
}

.pr-criteria-cell p strong,
.pr-criteria-row p strong {
  font-weight: 600;
  color: var(--pr-ink);
}

/* Criteria — mobile vertical list */
.pr-criteria-list {
  display: none;
}

.pr-criteria-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 2px;
}

.pr-criteria-row + .pr-criteria-row {
  border-top: 1px solid var(--pr-hairline);
}

.pr-criteria-row-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pr-criteria-row-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--pr-navy);
}

.pr-criteria-row-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-criteria-row h2 {
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  color: var(--pr-ink);
}

.pr-criteria-row p {
  font-size: 12.5px;
  color: var(--pr-muted);
  margin: 0;
  line-height: 1.5;
}

.pr-criteria-num {
  flex: 0 0 auto;
  font-size: 12px;
  color: #b9b4aa;
  font-weight: 600;
}

.pr-hero-lead-mobile {
  display: none;
}

/* Title break + size switch to the mobile/tablet composition below
   1024px — kept separate from the 900px block below (which handles the
   rest of the hero: lead paragraph swap, criteria list, etc.) so the
   title's own breakpoint can match its typographic needs exactly. */
@media (max-width: 1023px) {
  .pr-hero-title-br-1,
  .pr-hero-title-br-3 {
    display: inline;
  }

  .pr-hero-title-br-2 {
    display: none;
  }

  .pr-hero-title {
    font-size: clamp(38px, 10.5vw, 42px);
    line-height: 0.98;
    margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .pr-criteria-grid { display: none; }
  .pr-criteria-list { display: flex; flex-direction: column; }

  .pr-hero-title-br-mobile {
    display: inline;
  }

  .pr-hero-title-br-desktop {
    display: none;
  }

  .pr-hero-lead {
    display: none;
  }

  .pr-hero-lead-mobile {
    display: block;
    font-size: 16px;
    line-height: 1.52;
    font-weight: 400;
    color: var(--pr-muted);
    margin: 0;
    max-width: 100%;
  }

  .pr-hero-inner {
    margin-top: 22px;
    gap: 32px;
  }

  /* Benefit rows — icon / text / number on one aligned grid axis. */
  .pr-criteria-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    column-gap: 14px;
    align-items: center;
    padding: 17px 2px;
  }

  .pr-criteria-row-main {
    display: contents;
  }

  .pr-criteria-row-icon.icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .pr-criteria-row-icon.icon-badge svg {
    width: 21px;
    height: 21px;
  }

  .pr-criteria-row h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 3px;
  }

  .pr-criteria-row p {
    font-size: 13px;
    line-height: 1.45;
  }

  .pr-criteria-num {
    text-align: right;
  }

  /* Subtle one-time entrance animation for the mobile hero block. */
  .pr-m-reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 450ms cubic-bezier(0.22, 1, 0.36, 1), transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .pr-hero-title.pr-m-reveal {
    transition-duration: 450ms;
  }

  .pr-hero-lead-mobile.pr-m-reveal {
    transition-delay: 90ms;
  }

  .pr-criteria-row.pr-m-reveal {
    transition-duration: 400ms;
  }

  .pr-criteria-row.pr-m-reveal:nth-child(1) { transition-delay: 160ms; }
  .pr-criteria-row.pr-m-reveal:nth-child(2) { transition-delay: 230ms; }
  .pr-criteria-row.pr-m-reveal:nth-child(3) { transition-delay: 300ms; }
  .pr-criteria-row.pr-m-reveal:nth-child(4) { transition-delay: 370ms; }

  .pr-m-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .pr-criteria-row .pr-criteria-row-icon {
    transform: scale(0.94);
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .pr-criteria-row.pr-m-reveal:nth-child(1) .pr-criteria-row-icon { transition-delay: 160ms; }
  .pr-criteria-row.pr-m-reveal:nth-child(2) .pr-criteria-row-icon { transition-delay: 230ms; }
  .pr-criteria-row.pr-m-reveal:nth-child(3) .pr-criteria-row-icon { transition-delay: 300ms; }
  .pr-criteria-row.pr-m-reveal:nth-child(4) .pr-criteria-row-icon { transition-delay: 370ms; }

  .pr-criteria-row.pr-m-reveal.is-visible .pr-criteria-row-icon {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-m-reveal,
  .pr-criteria-row .pr-criteria-row-icon {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pr-myrent-panel {
    transition: none;
  }
}

/* ==========================================================================
   Category nav
   ========================================================================== */
.pr-categories {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

.pr-categories .section-eyebrow {
  margin-bottom: 22px;
}

.pr-categories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pr-categories-scroll {
  display: none;
}

.pr-category-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 1 1 220px;
  max-width: 280px;
  height: 54px;
  padding: 0 19px;
  border-radius: 14px;
  border: 1.5px solid #e4e4e0;
  background: #ffffff;
  text-decoration: none;
  color: var(--pr-ink);
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(20, 20, 25, 0.04);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.pr-category-item:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .pr-category-item:hover {
    background: #fff7f5;
    border-color: var(--pr-coral);
    box-shadow: 0 8px 22px rgba(16, 42, 82, 0.07);
    transform: translateY(-2px);
  }

  .pr-category-item:hover .pr-category-icon {
    color: var(--pr-coral);
  }
}

.pr-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--pr-navy);
  flex: 0 0 auto;
  transition: color 200ms ease;
}

.pr-category-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Optical size correction — Administracija and Operativa i servisi carry
   more empty space inside their own viewBox than the others, so at equal
   pixel size they read visually smaller. Same container, slightly larger
   svg for those two; Oprema za gosta gets a touch more too. */
.pr-categories-row .pr-category-item:nth-child(2) .pr-category-icon svg {
  width: 26px;
  height: 26px;
}

.pr-categories-row .pr-category-item:nth-child(3) .pr-category-icon svg {
  width: 27px;
  height: 27px;
}

.pr-categories-row .pr-category-item:nth-child(4) .pr-category-icon svg {
  width: 25px;
  height: 25px;
}

@media (max-width: 900px) {
  .pr-categories-row { display: none; }

  .pr-categories-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -24px;
    padding: 0 24px 4px;
    scrollbar-width: none;
  }
  .pr-categories-scroll::-webkit-scrollbar { display: none; }

  .pr-categories-scroll .pr-category-item {
    flex: 0 0 auto;
    width: 104px;
    height: 88px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 0 6px;
    font-size: 10.5px;
    line-height: 1.25;
    text-align: center;
  }

  .pr-categories-scroll .pr-category-icon {
    width: 28px;
    height: 28px;
  }

  .pr-categories-scroll .pr-category-item:nth-child(2) .pr-category-icon svg {
    width: 31px;
    height: 31px;
  }

  .pr-categories-scroll .pr-category-item:nth-child(3) .pr-category-icon svg {
    width: 32px;
    height: 32px;
  }

  .pr-categories-scroll .pr-category-item:nth-child(4) .pr-category-icon svg {
    width: 29px;
    height: 29px;
  }
}

/* ==========================================================================
   myRent featured card
   ========================================================================== */
.pr-myrent {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

@keyframes pr-myrent-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pr-myrent-hero {
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 60%, rgba(37, 106, 221, 0.28), transparent 32%),
    linear-gradient(118deg, var(--pr-navy-2) 0%, var(--pr-navy) 58%, var(--pr-navy-3) 100%);
  box-shadow: 0 18px 40px rgba(11, 31, 67, 0.16);
  color: #ffffff;
  padding: clamp(32px, 4vw, 54px) clamp(24px, 4vw, 60px);
  position: relative;
}

.pr-myrent-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pr-myrent-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6768, #f45b5d);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.pr-myrent-badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-myrent-eyebrow {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.pr-myrent-title {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: #ffffff;
}

.pr-myrent-lead {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.pr-myrent-channel {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.pr-myrent-channel svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: #ff6568;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-myrent-media {
  display: flex;
  justify-content: center;
}

.pr-myrent-media img {
  width: 100%;
  max-width: 608px;
  height: auto;
  flex: 0 1 auto;
  animation: pr-myrent-float 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pr-myrent-media img { animation: none; }
}

.pr-myrent-channel-mobile {
  display: none;
}

/* Mobile myRent card — description, then a bigger visual, then the
   channel-proof row moved below it. Desktop (≥641px, still 2-col grid) is
   untouched. */
@media (max-width: 640px) {
  .pr-myrent-hero-inner {
    gap: 0;
  }

  .pr-myrent-channel:not(.pr-myrent-channel-mobile) {
    display: none;
  }

  .pr-myrent-media {
    margin: 20px -24px 0;
  }

  .pr-myrent-channel-mobile {
    display: flex;
    margin-top: 15px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .pr-myrent-channel-mobile svg {
    width: 16px;
    height: 16px;
  }
}

.pr-myrent-toggle {
  position: absolute;
  left: 50%;
  bottom: -19px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--pr-navy);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.pr-myrent-toggle:active {
  transform: translateX(-50%) scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .pr-myrent-toggle:hover { background: var(--pr-coral); }
}

.pr-myrent-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-flex;
  transition: transform 0.2s ease;
}

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

/* myRent expanded panel — animated disclosure (grid-template-rows 0fr → 1fr)
   instead of the old hidden-attribute instant show/hide. margin-top animates
   alongside the row so the panel (and the gap above it) both grow from
   nothing rather than leaving a stray gap when collapsed. */
.pr-myrent-panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  transition: grid-template-rows 380ms cubic-bezier(0.22, 1, 0.36, 1), margin-top 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-myrent-panel.is-open {
  grid-template-rows: 1fr;
  margin-top: 20px;
}

.pr-myrent-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.pr-myrent-panel-content {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(11, 31, 67, 0.26);
  padding: clamp(28px, 4vw, 44px);
}

.pr-myrent-panel-intro {
  max-width: 680px;
  margin-bottom: 28px;
}

.pr-myrent-panel-intro > span {
  color: #3b5bb0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pr-myrent-panel-intro h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 12px;
  color: #10182b;
}

.pr-myrent-panel-intro p {
  color: #4a5670;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

.pr-myrent-tabs-nav {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #e5eaf2;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pr-myrent-tab {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #7c879c;
  font: 600 13.5px/1.2 Inter, sans-serif;
  cursor: pointer;
}

.pr-myrent-tab.is-active {
  border-bottom-color: var(--pr-navy);
  color: var(--pr-navy);
}

/* Keep all 4 tab labels on one line at narrow mobile widths instead of
   letting the 4th ("Izveštaji") wrap to its own row. */
@media (max-width: 640px) {
  .pr-myrent-tabs-nav {
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
  }

  .pr-myrent-tab {
    flex: 0 1 auto;
    font-size: 12px;
    white-space: nowrap;
  }
}

.pr-myrent-tabs-content {
  margin-bottom: 32px;
}

.pr-myrent-tab-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.pr-myrent-tab-frame {
  border: 1px solid #e5eaf2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 44, 85, 0.12);
}

.pr-myrent-tab-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.pr-myrent-tab-info > span {
  color: #3b5bb0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pr-myrent-tab-info h4 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  color: #10182b;
}

.pr-myrent-tab-info p {
  color: #56637c;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.pr-myrent-tab-dots {
  display: flex;
  gap: 6px;
}

.pr-myrent-tab-dots i {
  display: inline-block;
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f2;
  transition: width 0.2s ease, background 0.2s ease;
}

.pr-myrent-tab-dots i.is-active {
  width: 26px;
  background: var(--pr-navy);
}

.pr-myrent-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.pr-myrent-feature {
  padding: 18px 16px;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fafcff);
}

.pr-myrent-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef2fb;
  color: var(--pr-navy);
  margin-bottom: 12px;
}

.pr-myrent-feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-myrent-feature h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #10182b;
  line-height: 1.3;
}

.pr-myrent-feature p {
  font-size: 13px;
  color: #56637c;
  margin: 0;
  line-height: 1.5;
}

.pr-myrent-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid #e5eaf2;
}

.pr-myrent-footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pr-myrent-demo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px 0 26px;
  border-radius: 12px;
  background: var(--pr-navy);
  color: #ffffff;
  font: 600 14.5px/1 Inter, sans-serif;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.pr-myrent-demo:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .pr-myrent-demo:hover { background: var(--pr-coral); }
}

.pr-myrent-demo svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pr-myrent-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4a5670;
  font-size: 12px;
  margin: 0;
}

.pr-myrent-trust svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #4a5670;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Unified icon badge — light-blue square with a navy line icon, used for
   every criteria/feature/benefit icon across the page. */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eaf1ff;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 20px;
  height: 20px;
  stroke: #1b3a8a;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
