/* =====================================================
   RENTREL FOOTER.CSS
   Premium compact footer
   Uses actual logo image: assets/images/logo.png

   Sections:
   01. Base
   02. CTA Area
   03. Main Footer
   04. Brand Area
   05. Link Columns
   06. Bottom Bar
   07. Tablet
   08. Mobile
   09. Extra Small Mobile
===================================================== */


/* =====================================================
   01. BASE
===================================================== */

.rentrel-footer {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 0%, rgba(37, 99, 235, 0.2), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(90, 167, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #07142f 0%, #050c1d 100%);
  overflow: hidden;
}

.rentrel-footer,
.rentrel-footer * {
  box-sizing: border-box;
}

.rentrel-footer a {
  color: inherit;
  text-decoration: none;
}

.rentrel-footer button {
  font: inherit;
  cursor: pointer;
}

.rentrel-footer-container {
  width: min(var(--container, 1180px), calc(100% - 40px));
  margin: 0 auto;
}


/* =====================================================
   02. CTA AREA
===================================================== */

.rentrel-footer-cta {
  padding: 46px 0 38px;
}

.rentrel-footer-cta-card {
  position: relative;
  min-height: 210px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.rentrel-footer-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(90, 167, 255, 0.24), transparent 35%),
    radial-gradient(circle at 6% 100%, rgba(37, 99, 235, 0.16), transparent 34%);
  pointer-events: none;
}

.rentrel-footer-cta-copy {
  position: relative;
  z-index: 2;
}

.rentrel-footer-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 850;
}

.rentrel-footer-cta-copy h2 {
  max-width: 590px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.1vw, 3.05rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 850;
}

.rentrel-footer-cta-copy p {
  max-width: 570px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 450;
}

.rentrel-footer-cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.rentrel-footer-primary-btn,
.rentrel-footer-secondary-btn {
  height: 50px;
  min-width: 142px;
  padding: 0 22px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.rentrel-footer-primary-btn {
  border: 0;
  color: var(--brand-dark, #1747b8);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.rentrel-footer-secondary-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rentrel-footer-primary-btn:hover,
.rentrel-footer-secondary-btn:hover {
  transform: translateY(-2px);
}

.rentrel-footer-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.22);
}


/* =====================================================
   03. MAIN FOOTER
===================================================== */

.rentrel-footer-main {
  padding: 38px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.rentrel-footer-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.72fr 0.78fr 1fr;
  gap: 34px;
  align-items: start;
}


/* =====================================================
   04. BRAND AREA
===================================================== */

.rentrel-footer-brand {
  max-width: 340px;
}

.rentrel-footer-logo {
  width: fit-content;
  height: 54px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.rentrel-footer-logo-img {
  display: block;
  width: auto;
  height: 32px;
  max-width: 180px;
  object-fit: contain;
}

.rentrel-footer-brand p {
  max-width: 330px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.93rem;
  line-height: 1.62;
  font-weight: 480;
}

.rentrel-footer-mini-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rentrel-footer-mini-pills span {
  padding: 7px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 780;
}


/* =====================================================
   05. LINK COLUMNS
===================================================== */

.rentrel-footer-col h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.rentrel-footer-links {
  display: grid;
  gap: 9px;
}

.rentrel-footer-links a,
.rentrel-footer-links button,
.rentrel-footer-city-grid button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.87rem;
  line-height: 1.35;
  font-weight: 650;
  text-align: left;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.rentrel-footer-links a:hover,
.rentrel-footer-links button:hover,
.rentrel-footer-city-grid button:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.rentrel-footer-city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
}

.rentrel-footer-note {
  max-width: 220px;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.rentrel-footer-note strong {
  display: block;
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.3;
  font-weight: 850;
}

.rentrel-footer-note span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.42;
  font-weight: 520;
}


/* =====================================================
   06. BOTTOM BAR
===================================================== */

.rentrel-footer-bottom {
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.rentrel-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rentrel-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.8rem;
  line-height: 1.45;
  font-weight: 600;
}

.rentrel-footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  flex-wrap: wrap;
}

.rentrel-footer-legal a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 650;
  transition: color 0.18s ease;
}

.rentrel-footer-legal a:hover {
  color: #ffffff;
}


/* =====================================================
   07. TABLET
===================================================== */

@media (max-width: 980px) {
  .rentrel-footer-cta-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px;
  }

  .rentrel-footer-cta-actions {
    justify-content: flex-start;
  }

  .rentrel-footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px 36px;
  }

  .rentrel-footer-brand {
    max-width: 100%;
  }

  .rentrel-footer-note {
    max-width: 260px;
  }
}


/* =====================================================
   08. MOBILE
===================================================== */

@media (max-width: 640px) {
  .rentrel-footer {
    background:
      radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.2), transparent 36%),
      linear-gradient(180deg, #07142f 0%, #050c1d 100%);
  }

  .rentrel-footer-container {
    width: min(100% - 32px, 560px);
  }

  .rentrel-footer-cta {
    padding: 38px 0 30px;
  }

  .rentrel-footer-cta-card {
    padding: 26px 22px;
    border-radius: 22px;
    gap: 22px;
  }

  .rentrel-footer-eyebrow {
    margin-bottom: 11px;
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  .rentrel-footer-cta-copy h2 {
    font-size: clamp(2rem, 8vw, 2.52rem);
    line-height: 1.05;
  }

  .rentrel-footer-cta-copy p {
    margin-top: 11px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .rentrel-footer-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rentrel-footer-primary-btn,
  .rentrel-footer-secondary-btn {
    width: 100%;
    height: 48px;
    min-width: 0;
    border-radius: 14px;
  }

  .rentrel-footer-main {
    padding: 34px 0 28px;
  }

  .rentrel-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rentrel-footer-logo {
    height: 50px;
    padding: 0 16px;
    border-radius: 16px;
  }

  .rentrel-footer-logo-img {
    height: 29px;
    max-width: 160px;
  }

  .rentrel-footer-brand p {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .rentrel-footer-mini-pills {
    margin-top: 16px;
  }

  .rentrel-footer-col {
    padding-top: 0;
  }

  .rentrel-footer-col h3 {
    margin-bottom: 13px;
    font-size: 0.9rem;
  }

  .rentrel-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
  }

  .rentrel-footer-links a,
  .rentrel-footer-links button,
  .rentrel-footer-city-grid button {
    font-size: 0.86rem;
  }

  .rentrel-footer-city-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
  }

  .rentrel-footer-note {
    max-width: 100%;
    margin-top: 15px;
  }

  .rentrel-footer-bottom {
    padding: 18px 0 22px;
  }

  .rentrel-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .rentrel-footer-legal {
    justify-content: flex-start;
    gap: 12px 16px;
  }
}


/* =====================================================
   09. EXTRA SMALL MOBILE
===================================================== */

@media (max-width: 380px) {
  .rentrel-footer-links,
  .rentrel-footer-city-grid {
    grid-template-columns: 1fr;
  }

  .rentrel-footer-cta-copy h2 {
    font-size: 2rem;
  }

  .rentrel-footer-logo {
    height: 48px;
    padding: 0 14px;
  }

  .rentrel-footer-logo-img {
    height: 27px;
    max-width: 145px;
  }
}