/*
 * Phoenix Furnished Rentals — Detroit-inspired editorial refinement
 * Loaded after style.css so the intended layout wins over legacy rules.
 * Phoenix colors, logo, images, video and the existing mobile booking form
 * positioning remain unchanged.
 */

/* Header */
.home .site-header {
  padding: 24px 0;
}

.home .site-header__inner {
  gap: 30px;
}

.home .site-header__logo img {
  height: 82px;
}

.home .primary-nav {
  justify-content: center;
  gap: 2px;
}

.home .primary-nav__item > a,
.home .primary-nav__item > span {
  padding: 9px 10px;
  font-size: .72rem;
  letter-spacing: .08em;
}

.home .header-cta .btn-primary {
  min-width: 180px;
  background: var(--phoenix-cream);
  border-color: var(--phoenix-cream);
  color: var(--phoenix-dark);
}

.home .header-cta .btn-primary:hover {
  background: var(--phoenix-amber);
  border-color: var(--phoenix-amber);
  color: var(--phoenix-dark);
}

/* Site-wide floating call action, matching the Detroit interface. */
.pfr-floating-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 26px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: #050505;
  box-shadow: 0 12px 34px rgba(0,0,0,.3);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
}

.pfr-floating-call:hover,
.pfr-floating-call:focus-visible {
  background: var(--phoenix-primary);
  color: #fff;
  transform: translateY(-2px);
}

.pfr-floating-call:focus-visible {
  outline: 3px solid var(--phoenix-amber);
  outline-offset: 3px;
}

.pfr-floating-call__icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Accommodations */
.home .properties-section {
  padding: 115px 0 125px;
  background: #fff;
}

.home .properties-section .section-head h2,
.home .blog-section .section-head h2 {
  margin-top: 12px;
  font-size: clamp(2.7rem, 4.5vw, 3.8rem);
}

.home .properties-grid {
  gap: 36px;
}

.home .property-card,
.properties-grid .property-card {
  overflow: visible;
  border: 0;
  background: transparent;
}

.home .property-card:hover,
.properties-grid .property-card:hover {
  box-shadow: none;
  transform: none;
}

.home .property-card__image,
.properties-grid .property-card__image {
  height: auto;
  aspect-ratio: 4 / 3;
}

.home .property-card__badge,
.properties-grid .property-card__badge {
  top: 20px;
  right: 20px;
  left: auto;
}

.home .property-card__price,
.properties-grid .property-card__price {
  top: 20px;
  right: auto;
  bottom: auto;
  left: 20px;
  background: rgba(255,253,248,.96);
  color: var(--phoenix-dark);
  box-shadow: 0 5px 18px rgba(42,15,0,.12);
}

.home .property-card__body,
.properties-grid .property-card__body {
  padding: 26px 0 0;
}

.home .property-card__meta,
.properties-grid .property-card__meta {
  gap: 18px;
  margin-bottom: 14px;
  color: var(--phoenix-muted);
  font-size: .69rem;
}

.home .property-card__title,
.properties-grid .property-card__title {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 400;
}

.home .property-card__excerpt,
.properties-grid .property-card__excerpt {
  min-height: 4.8em;
  margin-bottom: 22px;
  font-size: .92rem;
  line-height: 1.7;
}

.home .property-card__footer,
.properties-grid .property-card__footer {
  justify-content: flex-start;
  border-top: 0;
  padding-top: 0;
}

.home .property-card__footer .btn,
.properties-grid .property-card__footer .btn {
  display: none;
}

.home .property-card__link,
.properties-grid .property-card__link {
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
}

/* Area guide */
.home .area-guide-section {
  padding: 115px 0 105px;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    var(--phoenix-dark) 0,
    var(--phoenix-dark) 56%,
    var(--phoenix-cream) 56%,
    var(--phoenix-cream) 100%
  );
}

.home .area-guide-section::before {
  display: none;
}

.home .area-guide-head {
  max-width: 820px;
  margin: 0 auto 78px;
  text-align: center;
}

.home .area-guide-section h2 {
  margin: 16px auto 20px;
  font-size: clamp(3.1rem, 5.8vw, 4.7rem);
  line-height: 1.05;
}

.home .area-guide-head > p:not(.eyebrow) {
  max-width: 650px !important;
  margin: 0 auto 30px !important;
  font-size: 1rem;
  line-height: 1.8;
}

.home .area-guide-cards {
  gap: 42px;
  align-items: start;
}

.home .area-guide-card {
  height: auto;
  overflow: visible;
  background: transparent;
  color: var(--phoenix-dark);
  cursor: default;
}

.home .area-guide-card__image {
  position: relative;
  display: block;
  height: 350px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 45px rgba(42,15,0,.16);
}

.home .area-guide-card:nth-child(2) .area-guide-card__image {
  margin-top: 48px;
}

.home .area-guide-card__image img,
.home .area-guide-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .3s ease;
}

.home .area-guide-card__placeholder {
  background: linear-gradient(135deg,#D4500C,#8B1500);
}

.home .area-guide-card:hover .area-guide-card__image img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.home .area-guide-card__content {
  padding: 30px 18px 0;
  text-align: center;
}

.home .area-guide-card__content h3 {
  margin-bottom: 16px;
  color: var(--phoenix-dark);
  font-size: 2rem;
  font-weight: 400;
}

.home .area-guide-card__content p {
  min-height: 5.1em;
  color: var(--phoenix-muted);
  font-size: .92rem;
  line-height: 1.7;
}

.home .area-guide-card__link {
  display: inline-block;
  opacity: 1;
  transform: none;
  color: var(--phoenix-primary);
}

/* Reviews, journal and company story */
.home .reviews-strip {
  padding: 92px 0;
  border: 0;
  background: var(--phoenix-sand);
}

.home .reviews-strip__inner {
  padding: 0;
}

.home .reviews-strip__stars {
  gap: 28px;
}

.home .reviews-strip__stars .stars {
  font-size: 1.45rem;
  white-space: nowrap;
}

.home .reviews-strip__stars .eyebrow {
  margin-bottom: 8px;
}

.home .reviews-strip h2 {
  max-width: 700px;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.home .blog-section {
  padding: 115px 0 125px;
  background: #fff;
}

.home .blog-grid {
  gap: 36px;
}

.home .blog-card {
  border-bottom: 0;
  padding-bottom: 0;
}

.home .blog-card__image {
  position: relative;
  height: 270px;
  margin-bottom: 22px;
  overflow: hidden;
}

.home .blog-card__date-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 66px;
  height: 72px;
  padding: 8px;
  background: rgba(255,253,248,.96);
  color: var(--phoenix-dark);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.home .blog-card__date-badge span {
  font-family: var(--display);
  font-size: .65rem;
  letter-spacing: .12em;
}

.home .blog-card__date-badge strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.home .blog-card__title {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 400;
}

.home .blog-card__excerpt {
  font-size: .92rem;
  line-height: 1.7;
}

.home .about-section {
  padding: 120px 0;
  background: var(--phoenix-cream);
}

.home .about-section__inner {
  gap: 100px;
}

.home .about-section__images {
  height: 560px;
}

.home .about-section__img-main {
  width: 74%;
  height: 82%;
  box-shadow: none;
}

.home .about-section__img-accent {
  width: 58%;
  height: 56%;
  border: 14px solid var(--phoenix-cream);
}

.home .about-section__text h2 {
  margin: 14px 0 26px;
  font-size: clamp(2.8rem, 4.8vw, 4rem);
  font-weight: 400;
}

.home .about-section__text p {
  font-size: 1rem;
  line-height: 1.85;
}

.home .cta-section {
  display: grid;
  min-height: 580px;
  place-items: center;
  padding: 110px 24px;
}

.home .cta-section__bg {
  background-image:
    linear-gradient(135deg, rgba(42,15,0,.72) 0%, rgba(62,21,8,.58) 100%),
    var(--cta-bg, linear-gradient(135deg,#D4500C,#8B1500)) !important;
}

.home .cta-section__content {
  max-width: 920px;
}

.home .cta-section h2 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.08;
}

.home .site-footer {
  padding-top: 82px;
}

.home .footer-grid {
  gap: 56px;
  padding-bottom: 60px;
}

.site-footer .widget_archive,
.site-footer .widget_categories {
  display: none;
}

/* Property detail pages */
.single-property .single-property__hero {
  min-height: 72vh;
}

.single-property .property-details {
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, .8fr);
  gap: 76px;
  padding: 90px 0 110px;
}

.single-property .entry-content {
  max-width: none;
}

.single-property .booking-widget {
  padding: 32px;
  background: var(--phoenix-white);
  box-shadow: 0 18px 45px rgba(42,15,0,.12);
}

.single-property .photo-gallery {
  gap: 14px;
}

.single-property .photo-gallery img {
  height: 250px;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .home .site-header__logo img { height: 68px; }
  .home .primary-nav__item > a,
  .home .primary-nav__item > span { padding-inline: 7px; font-size: .66rem; }
  .home .header-cta .btn-primary { min-width: 150px; padding-inline: 18px; }
}

@media (max-width: 960px) {
  .home .site-header { padding: 15px 0; }
  .home .site-header__logo img { height: 62px; }

  .home .properties-grid,
  .home .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .area-guide-cards {
    gap: 24px;
  }

  .home .area-guide-card__image {
    height: 280px;
  }

  .home .about-section__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .single-property .property-details {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .home .site-header__logo img { height: 54px; }

  .pfr-floating-call {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 12px 18px;
    font-size: .9rem;
  }

  .pfr-floating-call__icon {
    width: 21px;
    height: 21px;
  }

  .home .properties-section .section-head h2,
  .home .blog-section .section-head h2 {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

  .home .properties-section,
  .home .blog-section,
  .home .about-section {
    padding: 78px 0;
  }

  .home .properties-grid,
  .home .blog-grid,
  .home .area-guide-cards {
    grid-template-columns: 1fr;
  }

  .home .property-card__excerpt {
    min-height: 0;
  }

  .home .area-guide-section {
    padding: 82px 0 72px;
    background: linear-gradient(
      to bottom,
      var(--phoenix-dark) 0,
      var(--phoenix-dark) 30%,
      var(--phoenix-cream) 30%,
      var(--phoenix-cream) 100%
    );
  }

  .home .area-guide-head {
    margin-bottom: 50px;
  }

  .home .area-guide-section h2 {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }

  .home .area-guide-card:nth-child(2) .area-guide-card__image {
    margin-top: 0;
  }

  .home .area-guide-card__image {
    height: 280px;
  }

  .home .area-guide-card__content p {
    min-height: 0;
  }

  .home .reviews-strip {
    padding: 70px 0;
  }

  .home .reviews-strip__inner,
  .home .reviews-strip__stars {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .home .reviews-strip__inner .btn {
    width: 100%;
  }

  .home .blog-card__image {
    height: 245px;
  }

  .home .about-section__images {
    height: 380px;
  }

  .home .about-section__text h2 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }

  .home .cta-section {
    min-height: 510px;
    padding: 82px 20px;
  }

  .home .cta-section h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .property-card__image img,
  .home .area-guide-card__image img,
  .home .blog-card__image img { transition: none; }
}
