/*
Theme Name: RENTJO Modern Fresh 1.10
Theme URI: https://rentjo.pl/
Author: RENTJO
Description: Motyw blokowy WordPress dla marki RENTJO: operator najmu hybrydowego, edytowalny w edytorze wizualnym.
Version: 1.10
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rentjo-modern
*/

:root {
  --rj-ink: #111820;
  --rj-charcoal: #162b49;
  --rj-deep: #11243d;
  --rj-slate: #52667d;
  --rj-cloud: #f4f7fb;
  --rj-paper: #ffffff;
  --rj-line: #dbe4f0;
  --rj-yellow: #f5b700;
  --rj-copper: #f5b700;
  --rj-gold: #ffd45c;
  --rj-blue: #28599d;
  --rj-green: #49675a;
  --rj-shadow: 0 28px 90px rgba(17, 24, 32, .12);
  --rj-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

:where([id]) {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--rj-cloud);
  color: var(--rj-ink);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.rj-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.rj-section {
  padding: clamp(72px, 8vw, 124px) 0;
}

.rj-hero,
.rj-proof-strip,
.rj-section,
.rj-cta,
.rj-footer,
.rj-card-grid,
.rj-case-grid,
.rj-project-grid,
.rj-metric-grid,
.rj-timeline {
  margin-block-start: 0 !important;
}

.rj-card-grid > *,
.rj-case-grid > *,
.rj-project-grid > *,
.rj-metric-grid > *,
.rj-timeline > * {
  margin-block-start: 0 !important;
}

.rj-section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.rj-kicker,
.rj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--rj-copper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rj-kicker::before,
.rj-eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.rj-section-head h2,
.rj-copy h2,
.rj-contact h2,
.rj-page-title h1 {
  margin: 0 0 16px;
  color: var(--rj-charcoal);
  font-size: clamp(1.8rem, 3vw, 3.05rem);
  line-height: 1.08;
  font-weight: 520;
  text-wrap: balance;
}

.rj-section-head p,
.rj-copy p,
.rj-card p,
.rj-case p,
.rj-step p,
.rj-page-title p,
.rj-info-content p {
  color: var(--rj-slate);
  font-size: 1rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.rj-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(219, 226, 228, .82);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 rgba(17, 24, 32, 0);
  transition: background .24s ease, border-color .24s ease, box-shadow .24s ease;
}

header.wp-block-template-part:has(.rj-header) {
  position: sticky;
  top: 0;
  z-index: 80;
}

header.wp-block-template-part:has(.rj-header) .rj-header {
  position: relative;
}

.rj-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 0;
  transition: min-height .24s ease, padding .24s ease, gap .24s ease;
}

.rj-logo {
  margin: 0;
  flex: 0 0 auto;
}

.rj-logo img {
  display: block;
  width: auto;
  max-width: min(220px, 46vw);
  height: 58px;
  object-fit: contain;
  object-position: left center;
  transition: height .24s ease;
}

.rj-nav {
  flex: 1;
  justify-content: flex-end;
  gap: 7px 18px;
  font-size: .87rem;
  font-weight: 620;
  transition: font-size .24s ease, gap .24s ease;
}

.rj-nav .wp-block-navigation-item__content {
  position: relative;
  padding: 9px 0;
  color: var(--rj-charcoal);
}

.rj-nav .wp-block-navigation__container {
  gap: 18px;
  transition: gap .24s ease;
}

.rj-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--rj-copper);
  transition: right .22s ease;
}

.rj-nav .wp-block-navigation-item__content:hover::after,
.rj-nav .wp-block-navigation-item__content:focus-visible::after {
  right: 0;
}

.rj-nav-cta .wp-block-navigation-item__content::after {
  display: none;
}

.rj-nav .wp-block-navigation__responsive-container-open,
.rj-nav .wp-block-navigation__responsive-container-close {
  color: var(--rj-charcoal);
}

.rj-nav .wp-block-navigation__responsive-container-open svg,
.rj-nav .wp-block-navigation__responsive-container-close svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
}

.rj-btn:not(.wp-block-button),
.rj-nav-cta .wp-block-navigation-item__content,
.wp-block-button.rj-btn .wp-block-button__link,
.wp-block-button .wp-block-button__link.rj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rj-copper);
  color: var(--rj-deep);
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 18px 42px rgba(245, 183, 0, .26);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.rj-header.is-scrolled {
  border-bottom-color: rgba(219, 226, 228, .62);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 44px rgba(17, 24, 32, .12);
}

.rj-header.is-scrolled .rj-header-inner {
  min-height: 60px;
  gap: 16px;
  padding: 4px 0;
}

.rj-header.is-scrolled .rj-logo img {
  height: 44px;
}

.rj-header.is-scrolled .rj-nav {
  gap: 5px 14px;
  font-size: .82rem;
}

.rj-header.is-scrolled .rj-nav .wp-block-navigation__container {
  gap: 14px;
}

.rj-header.is-scrolled .rj-nav-cta .wp-block-navigation-item__content {
  min-height: 42px;
  padding-right: 16px;
  padding-left: 16px;
}

@media (hover: hover) and (min-width: 901px) {
  .rj-header.is-scrolled:hover .rj-header-inner,
  .rj-header.is-scrolled.is-edge-hovered .rj-header-inner,
  .rj-header.is-scrolled:focus-within .rj-header-inner {
    min-height: 76px;
    gap: 22px;
    padding: 8px 0;
  }

  .rj-header.is-scrolled:hover .rj-logo img,
  .rj-header.is-scrolled.is-edge-hovered .rj-logo img,
  .rj-header.is-scrolled:focus-within .rj-logo img {
    height: 56px;
  }

  .rj-header.is-scrolled:hover .rj-nav,
  .rj-header.is-scrolled.is-edge-hovered .rj-nav,
  .rj-header.is-scrolled:focus-within .rj-nav {
    gap: 7px 18px;
    font-size: .87rem;
  }

  .rj-header.is-scrolled:hover .rj-nav .wp-block-navigation__container,
  .rj-header.is-scrolled.is-edge-hovered .rj-nav .wp-block-navigation__container,
  .rj-header.is-scrolled:focus-within .rj-nav .wp-block-navigation__container {
    gap: 18px;
  }

  .rj-header.is-scrolled:hover .rj-nav-cta .wp-block-navigation-item__content,
  .rj-header.is-scrolled.is-edge-hovered .rj-nav-cta .wp-block-navigation-item__content,
  .rj-header.is-scrolled:focus-within .rj-nav-cta .wp-block-navigation-item__content {
    min-height: 50px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

.rj-btn:not(.wp-block-button):hover,
.rj-nav-cta .wp-block-navigation-item__content:hover,
.wp-block-button.rj-btn .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link.rj-btn:hover {
  transform: translateY(-2px);
  background: #ffc52c;
  color: var(--rj-deep);
  box-shadow: 0 24px 56px rgba(245, 183, 0, .34);
}

.rj-btn-light:not(.wp-block-button),
.wp-block-button.rj-btn-light .wp-block-button__link,
.wp-block-button .wp-block-button__link.rj-btn-light {
  background: rgba(255, 255, 255, .94);
  color: var(--rj-charcoal);
  border-color: rgba(255, 255, 255, .34);
  box-shadow: none;
}

.rj-btn-dark:not(.wp-block-button),
.wp-block-button.rj-btn-dark .wp-block-button__link,
.wp-block-button .wp-block-button__link.rj-btn-dark {
  background: var(--rj-blue);
  color: #fff;
  box-shadow: 0 18px 42px rgba(40, 89, 157, .22);
}

.rj-hero {
  position: relative;
  min-height: calc(80vh - 78px);
  display: grid;
  align-items: start;
  overflow: hidden;
  padding: clamp(38px, 5vw, 68px) 0 24px;
  background:
    linear-gradient(90deg, rgba(11, 24, 36, .92) 0%, rgba(11, 24, 36, .72) 46%, rgba(11, 24, 36, .28) 100%),
    linear-gradient(0deg, rgba(11, 24, 36, .54) 0%, rgba(11, 24, 36, .02) 48%),
    url("/wp-content/themes/rentjo-modern-v110/assets/img/torun.jpg") center/cover no-repeat;
  color: #fff;
}

.rj-hero::after {
  content: "rentjo";
  position: absolute;
  right: -3vw;
  bottom: 0;
  color: rgba(255, 255, 255, .055);
  font-size: clamp(5rem, 17vw, 16rem);
  line-height: .76;
  font-weight: 800;
  pointer-events: none;
}

.rj-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 910px;
}

.rj-eyebrow {
  color: #f2d7aa;
}

.rj-hero h1 {
  max-width: 860px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.2rem, 4.7vw, 4.15rem);
  line-height: 1;
  font-weight: 520;
  text-wrap: balance;
}

.rj-hero-lead {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.66;
}

.rj-hero-actions,
.rj-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.rj-path-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1010px;
  margin-top: 18px;
}

.rj-path-card {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rj-path-card strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 650;
}

.rj-path-card span {
  display: block;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.rj-path-card a {
  display: inline-flex;
  margin-top: 16px;
  color: #f2d7aa;
  font-weight: 700;
}

.rj-proof-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.rj-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--rj-line);
  border-radius: var(--rj-radius);
  background: #fff;
  box-shadow: var(--rj-shadow);
}

.rj-proof {
  min-height: 132px;
  padding: 26px;
  border-right: 1px solid var(--rj-line);
}

.rj-proof:last-child {
  border-right: 0;
}

.rj-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rj-charcoal);
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 640;
}

.rj-proof span {
  display: block;
  color: var(--rj-slate);
  line-height: 1.45;
}

.rj-about {
  background: var(--rj-cloud);
}

.rj-split,
.rj-contact-grid,
.rj-page-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.rj-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(22px, 4vw, 36px);
}

.rj-contact-grid > * {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

.rj-image-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--rj-radius);
  background: var(--rj-deep);
  box-shadow: var(--rj-shadow);
}

.rj-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.rj-image-panel--apartment img {
  object-position: 52% 50%;
}

.rj-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 24, 36, .78), rgba(11, 24, 36, .06) 58%);
}

.rj-image-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.rj-image-caption strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.25rem;
}

.rj-image-caption span {
  color: rgba(255, 255, 255, .72);
  line-height: 1.5;
}

.rj-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rj-list li {
  display: flex;
  gap: 12px;
  color: #344653;
  line-height: 1.58;
}

.rj-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--rj-copper);
}

.rj-offer {
  background: #fff;
  border-top: 1px solid var(--rj-line);
  border-bottom: 1px solid var(--rj-line);
}

.rj-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rj-card {
  position: relative;
  min-height: 282px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--rj-line);
  border-radius: var(--rj-radius);
  background: #fff;
  box-shadow: 0 12px 42px rgba(17, 24, 32, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.rj-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 130, 70, .38);
  box-shadow: 0 24px 70px rgba(17, 24, 32, .1);
}

.rj-card h3 {
  margin: 0 0 12px;
  color: var(--rj-charcoal);
  font-size: 1.2rem;
  line-height: 1.22;
  font-weight: 620;
}

.rj-card p {
  margin: 0;
  font-size: .96rem;
}

.rj-card-number {
  position: absolute;
  right: 22px;
  bottom: 16px;
  color: rgba(17, 24, 32, .08);
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 700;
}

.rj-portfolio {
  background:
    linear-gradient(120deg, rgba(17, 36, 61, .97), rgba(40, 89, 157, .86)),
    var(--rj-deep);
  color: #fff;
}

.rj-portfolio .rj-section-head h2,
.rj-portfolio .rj-section-head p {
  color: #fff;
}

.rj-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .15);
}

.rj-case {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
  background: rgba(255, 255, 255, .08);
}

.rj-case-logo {
  display: grid;
  place-items: center;
  min-height: 124px;
  margin: 0 0 22px !important;
  padding: 16px;
  border-radius: calc(var(--rj-radius) - 4px);
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .16);
}

.rj-case-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

.rj-case small {
  display: block;
  margin-bottom: 16px;
  color: var(--rj-yellow);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rj-case h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 620;
  overflow-wrap: anywhere;
}

.rj-case p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .74);
  font-size: .95rem;
}

.rj-case-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--rj-yellow);
  font-size: .9rem;
  font-weight: 800;
}

.rj-case-link::after {
  content: "";
  width: 18px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  transition: width .22s ease;
}

.rj-case-link:hover::after {
  width: 32px;
}

.rj-project-band {
  margin-top: clamp(36px, 5vw, 58px);
  padding-top: clamp(32px, 5vw, 54px);
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.rj-project-head {
  max-width: 790px;
  margin-bottom: 26px;
}

.rj-project-head span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--rj-yellow);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rj-project-head span::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.rj-project-head h3 {
  max-width: 680px;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.1;
  font-weight: 560;
  text-wrap: balance;
}

.rj-project-head p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.72;
}

.rj-project-grid,
.rj-metric-grid {
  display: grid;
  gap: 14px;
}

.rj-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rj-project {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .07);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.rj-project:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 183, 0, .36);
  background: rgba(255, 255, 255, .11);
}

.rj-project small {
  display: block;
  margin-bottom: 46px;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rj-project strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.24rem;
  line-height: 1.2;
}

.rj-project span {
  display: block;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}

.rj-project--accent {
  background: rgba(245, 183, 0, .16);
  border-color: rgba(245, 183, 0, .42);
}

.rj-project--accent small,
.rj-project--accent strong {
  color: var(--rj-yellow);
}

.rj-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.rj-metric {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .92);
  color: var(--rj-charcoal);
}

.rj-metric strong {
  display: block;
  margin-bottom: 7px;
  color: var(--rj-blue);
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1;
}

.rj-metric span {
  display: block;
  color: var(--rj-slate);
  line-height: 1.45;
}

.rj-partnership {
  background: var(--rj-cloud);
}

.rj-partnership-panel {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .82fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--rj-line);
  border-radius: var(--rj-radius);
  background: #fff;
  box-shadow: var(--rj-shadow);
}

.rj-system-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--rj-radius);
  background: var(--rj-charcoal);
  color: #fff;
}

.rj-system-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .06);
}

.rj-system-row span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(215, 170, 98, .18);
  color: #f2d7aa;
  font-weight: 800;
}

.rj-system-row strong {
  display: block;
  color: #fff;
  font-weight: 650;
}

.rj-system-row small {
  display: block;
  color: rgba(255, 255, 255, .68);
  line-height: 1.45;
}

.rj-process {
  background: #fff;
}

.rj-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--rj-line);
  border-radius: var(--rj-radius);
  background: var(--rj-line);
}

.rj-step {
  min-height: 246px;
  padding: 24px;
  background: var(--rj-cloud);
}

.rj-step-num {
  display: block;
  margin-bottom: 56px;
  color: var(--rj-copper);
  font-weight: 800;
}

.rj-step h3 {
  margin: 0 0 10px;
  color: var(--rj-charcoal);
  font-size: 1.08rem;
}

.rj-step p {
  margin: 0;
  font-size: .94rem;
}

.rj-cta {
  padding: clamp(58px, 7vw, 86px) 0;
  background:
    linear-gradient(120deg, rgba(17, 36, 61, .94), rgba(40, 89, 157, .78)),
    url("/wp-content/themes/rentjo-modern-v110/assets/img/torun.jpg") center/cover no-repeat;
  color: #fff;
}

.rj-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.rj-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.rj-cta p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.rj-contact {
  background: var(--rj-deep);
  color: #fff;
}

.rj-contact .rj-section-head h2,
.rj-contact .rj-section-head p {
  color: #fff;
}

.rj-contact-card,
.rj-form-card,
.rj-map-card {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--rj-radius);
  background: rgba(255, 255, 255, .08);
}

.rj-contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: clamp(22px, 4vw, 34px);
}

.rj-contact-line {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.rj-contact-line:last-child {
  border-bottom: 0;
}

.rj-contact-line span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .54);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rj-contact-line strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 620;
  overflow-wrap: anywhere;
}

.rj-contact-line--company strong {
  font-size: .98rem;
  line-height: 1.58;
  font-weight: 560;
}

.rj-form-card {
  min-height: 100%;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  color: var(--rj-ink);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .18);
}

.rj-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rj-field {
  display: grid;
  gap: 7px;
  color: var(--rj-charcoal);
  font-size: .9rem;
  font-weight: 650;
}

.rj-field--full {
  grid-column: 1 / -1;
}

.rj-field input,
.rj-field textarea,
.rj-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rj-line);
  border-radius: 6px;
  padding: 14px;
  color: var(--rj-ink);
  background: #fff;
  font: inherit;
}

.rj-field textarea {
  min-height: 150px;
  resize: vertical;
}

.rj-form-card .rj-btn {
  margin-top: 16px;
}

.rj-form-note,
.rj-form-status {
  margin: 12px 0 0;
  color: var(--rj-slate);
  font-size: .9rem;
}

.rj-form-status--success {
  color: #116149;
}

.rj-form-status--error {
  color: #a13f35;
}

.rj-map-card {
  overflow: hidden;
  min-height: 420px;
  background: #fff;
}

.rj-map-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.rj-page-hero {
  padding: clamp(70px, 9vw, 116px) 0 clamp(48px, 6vw, 78px);
  background:
    linear-gradient(120deg, rgba(17, 36, 61, .94), rgba(40, 89, 157, .78)),
    url("/wp-content/themes/rentjo-modern-v110/assets/img/torun.jpg") center/cover no-repeat;
  color: #fff;
}

.rj-page-title h1,
.rj-page-title p {
  color: #fff;
}

.rj-info-content {
  padding: clamp(52px, 7vw, 96px) 0;
  background: #fff;
}

.rj-info-content .wp-block-post-content {
  max-width: 780px;
}

.rj-info-aside {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--rj-line);
  border-radius: var(--rj-radius);
  background: var(--rj-cloud);
}

.rj-info-aside h2,
.rj-info-aside h3 {
  margin-top: 0;
  font-size: 1.28rem;
}

.rj-footer {
  padding: 28px 0;
  background: #07121d;
  color: rgba(255, 255, 255, .66);
  font-size: .92rem;
}

footer.wp-block-template-part,
footer.wp-block-template-part:has(.rj-footer) {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

.rj-footer .rj-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
}

.rj-footer-logo {
  margin: 0;
  display: inline-grid;
  place-items: center;
  width: max-content;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
}

.rj-footer-logo img {
  display: block;
  width: auto;
  height: 46px;
}

.rj-footer-copy {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 0;
}

.rj-footer p {
  margin: 0;
  text-align: right;
}

.rj-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .58s ease, transform .58s ease;
}

.rj-reveal.is-visible,
.editor-styles-wrapper .rj-reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .rj-card-grid,
  .rj-case-grid,
  .rj-project-grid,
  .rj-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rj-split,
  .rj-contact-grid,
  .rj-page-grid,
  .rj-partnership-panel,
  .rj-cta-inner {
    grid-template-columns: 1fr;
  }

  .rj-cta-inner {
    align-items: start;
  }
}

@keyframes rj-drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

html.has-modal-open,
html.has-modal-open body {
  overflow: hidden;
}

@media (max-width: 900px) {
  .rj-path-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .rj-header:has(.rj-nav .wp-block-navigation__responsive-container.is-menu-open) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .rj-header-inner {
    min-height: 68px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .rj-logo img {
    height: 48px;
    max-width: min(200px, 54vw);
  }

  .rj-nav {
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    gap: 0;
  }

  .rj-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .rj-nav .wp-block-navigation__responsive-container-open {
    position: relative;
    z-index: 90;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--rj-line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 24, 32, .12);
  }

  .rj-nav .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex !important;
    justify-content: flex-end;
    padding: 0;
    overflow: hidden;
    background: rgba(7, 18, 29, .5);
    color: var(--rj-charcoal);
  }

  .rj-nav .wp-block-navigation__responsive-container-close {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--rj-line);
    border-radius: 999px;
    background: var(--rj-cloud);
  }

  .rj-nav .wp-block-navigation__responsive-dialog {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    height: 100dvh;
    min-height: 100%;
    margin: 0 0 0 auto;
    padding: 20px 20px 28px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -22px 0 56px rgba(7, 18, 29, .22);
    animation: rj-drawer-in .24s ease both;
  }

  .rj-nav .wp-block-navigation__responsive-container-content,
  .rj-nav .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .rj-nav .wp-block-navigation__responsive-container-content {
    display: flex;
    margin-top: 34px;
  }

  .rj-nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
    color: var(--rj-charcoal);
    font-size: 1.12rem;
  }

  .rj-nav .wp-block-navigation__responsive-container-content .rj-nav-cta .wp-block-navigation-item__content {
    min-height: 44px;
    padding: 0 18px;
    color: #fff;
  }
}

@media (max-width: 680px) {
  .rj-wrap {
    width: min(100% - 28px, 1180px);
  }

  .rj-hero {
    min-height: auto;
    padding: 62px 0 34px;
  }

  .rj-hero h1 {
    font-size: clamp(1.78rem, 8.2vw, 2.08rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .rj-path-grid,
  .rj-proof-grid,
  .rj-card-grid,
  .rj-case-grid,
  .rj-project-grid,
  .rj-metric-grid,
  .rj-timeline,
  .rj-form-grid {
    grid-template-columns: 1fr !important;
  }

  .rj-proof {
    border-right: 0;
    border-bottom: 1px solid var(--rj-line);
  }

  .rj-proof:last-child {
    border-bottom: 0;
  }

  .rj-case {
    min-height: auto;
  }

  .rj-image-panel,
  .rj-image-panel img {
    min-height: 440px;
  }

  .rj-step-num {
    margin-bottom: 34px;
  }

  .rj-footer .rj-wrap {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .rj-footer-copy {
    justify-items: start;
  }

  .rj-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rj-nav .wp-block-navigation__responsive-dialog {
    animation: none;
  }

  .rj-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
