/* ============================================================
   RC South — Rent (Арендаторам) Page Styles
   Loaded only on the rent page (template: rent).
   Builds on top of blades.min.css / theme.css / custom.css.
   Shares the visual language of the contacts page.
   ============================================================ */

/* ---------- Hero ---------- */
.rent-hero {
  position: relative;
  background: linear-gradient(160deg, var(--rc-navy) 0%, var(--rc-navy-light) 55%, var(--rc-navy) 100%);
  color: var(--rc-white);
  padding: 4.5rem 0 4rem;
  margin: 1rem clamp(0.5rem, 2vw, 1.5rem) 0;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
}

.rent-hero__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 62, 4, 0.30) 0%, transparent 62%);
  top: -220px;
  right: -120px;
  filter: blur(48px);
  pointer-events: none;
}

.rent-hero__inner {
  position: relative;
  z-index: 1;
}

.rent-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rc-orange);
}

.rent-hero__kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--rc-orange);
}

.rent-hero .rent-hero__title {
  /* (0,2,0) — beats blades' `p + h1 { margin-top: 1.75em }` */
  margin: 0.5em auto 0.9rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--rc-white);
}

.rent-hero__subtitle {
  margin: 0 auto;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
}

.rent-hero__ctas {
  margin-top: 2rem;
}

/* Primary CTA — orange gradient + white text */
.rent-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--q2-radius-md);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-hover));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rent-hero__cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 62, 4, 0.4);
}

/* ---------- Sections ---------- */
.rent-section-title {
  font-size: 1.5rem;
  margin: 0 0 1.2rem;
}

/* ---------- О площадке ---------- */
.rent-features {
  margin-top: 2.5rem;
}

.rent-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.rent-feature {
  background: var(--rc-white);
  border: 1px solid var(--rc-light-grey);
  border-radius: var(--q2-radius-md);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--q2-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rent-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--q2-shadow-raised);
}

.rent-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(253, 62, 4, 0.10);
  color: var(--rc-orange);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.rent-feature__title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.rent-feature__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--rc-dark);
  line-height: 1.55;
}

/* ---------- Условия аренды ---------- */
.rent-terms {
  margin-top: 2.5rem;
}

.rent-terms__card {
  background: var(--rc-white);
  border: 1px solid var(--rc-light-grey);
  border-radius: var(--q2-radius-lg);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--q2-shadow-card);
}

.rent-terms__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.rent-terms__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 6, 85, 0.08);
  color: var(--rc-navy);
  font-size: 1.3rem;
  flex: 0 0 auto;
}

.rent-terms__title {
  margin: 0;
  font-size: 1.2rem;
}

.rent-terms__hint {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--rc-grey);
}

.rent-terms__table {
  margin: 0;
  max-width: 560px;
}

/* ---------- Почему «Южный» ---------- */
.rent-perks {
  margin-top: 2.5rem;
}

.rent-perks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}

.rent-perk {
  display: flex;
  gap: 1rem;
  background: var(--rc-white);
  border: 1px solid var(--rc-light-grey);
  border-radius: var(--q2-radius-md);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--q2-shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rent-perk:hover {
  transform: translateY(-3px);
  box-shadow: var(--q2-shadow-raised);
}

.rent-perk__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 6, 85, 0.08);
  color: var(--rc-navy);
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.rent-perk__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.rent-perk__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--rc-dark);
  line-height: 1.55;
}

/* ---------- Contact CTA ---------- */
.rent-contact {
  margin-top: 2.5rem;
}

.rent-contact__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--rc-navy) 0%, var(--rc-navy-light) 100%);
  border-radius: var(--q2-radius-lg);
  padding: 2rem 2.2rem;
  color: var(--rc-white);
}

.rent-contact__title {
  margin: 0 0 0.4rem;
  font-size: 1.4rem;
  color: var(--rc-white);
}

.rent-contact__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  max-width: 560px;
}

.rent-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.rent-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--q2-radius-md);
  background: linear-gradient(135deg, var(--rc-orange), var(--rc-orange-hover));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.rent-contact__btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 62, 4, 0.4);
}

.rent-contact__btn--ghost {
  background: rgba(255, 255, 255, 0.12);
}
.rent-contact__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

/* ---------- Dark mode ---------- */
:root[data-theme='dark'] .rent-feature,
:root[data-theme='dark'] .rent-terms__card,
:root[data-theme='dark'] .rent-perk {
  background: var(--rc-white);
  border-color: var(--rc-light-grey);
}

:root[data-theme='dark'] .rent-feature__text,
:root[data-theme='dark'] .rent-perk__text {
  color: #d0d0d0;
}

:root[data-theme='dark'] .rent-terms__hint {
  color: #9a9aa0;
}

:root[data-theme='dark'] .rent-terms__icon,
:root[data-theme='dark'] .rent-perk__icon {
  background: rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
}

:root[data-theme='dark'] .rent-contact__banner {
  background: linear-gradient(135deg, #000440 0%, #0a1a7a 100%);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .rent-hero {
    padding: 3.2rem 0 2.8rem;
  }
  .rent-terms__card {
    padding: 1.2rem 1.1rem;
  }
  .rent-contact__banner {
    padding: 1.5rem 1.2rem;
  }
}
