/* Home page story and sections */
.arrival-section {
  margin-top: 0;
  padding-top: 58px;
  padding-bottom: 54px;
  background:
    linear-gradient(180deg, rgba(248, 246, 242, 0.98), rgba(245, 242, 236, 0.92)),
    radial-gradient(circle at 50% 0%, rgba(166, 124, 82, 0.12), transparent 42%);
  border-bottom: 1px solid var(--line);
}

.arrival-section::before {
  display: none;
}

.arrival-wrap {
  width: min(100%, 920px);
  margin: 0 auto;
  text-align: center;
}

.arrival-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.arrival-wrap h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.08;
  color: var(--text);
}

.arrival-wrap p {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.arrival-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.arrival-points span {
  padding: 8px 14px;
  border: 1px solid rgba(166, 124, 82, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--accent-hover);
  font-size: 0.9rem;
  font-weight: 600;
}

.story-wrap {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 40px 20px 12px;
}

.story-word {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.08;
  font-weight: 600;
  letter-spacing: 0;
  z-index: 0;
  pointer-events: none;
}

.story-text {
  position: relative;
  z-index: 2;
}

.story-text p {
  font-size: 1.15rem;
  line-height: 2;
  font-weight: 300;
  color: #2f2f2f;
}

.story-text p::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  padding-right: 10px;
  padding-top: 6px;
  color: var(--accent);
}

.home-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.home-section-inner-wide {
  max-width: 1180px;
}

.home-section-intro {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-section-intro-large {
  font-size: 1.1rem;
}

.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px;
}

section.content.owner-booking-section {
  margin-top: 0;
  padding-top: 74px;
  padding-bottom: 54px;
  background:
    linear-gradient(180deg, rgba(248, 246, 242, 0.98), rgba(245, 242, 236, 0.96)),
    var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.owner-booking-section::before {
  display: none;
}

.owner-booking-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(166, 124, 82, 0.26);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow-soft);
}

.owner-booking-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

.owner-booking-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.owner-booking-points {
  display: grid;
  gap: 12px;
}

.owner-booking-points div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.owner-booking-points span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-hover);
  font-weight: 700;
}

.owner-booking-points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.frontend-page-home .explore-cabin-section {
  padding-bottom: 66px !important;
}

.frontend-page-home .perfect-for-section {
  margin-top: 78px;
  padding-top: 0;
  background: transparent;
}

.frontend-page-home .perfect-for-section::before {
  display: none;
}

.frontend-page-home .perfect-for-section .section-title {
  margin-bottom: 30px;
}

.perfect-for-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.perfect-for-item {
  min-height: 190px;
  padding: 24px 22px;
  background: rgba(248, 246, 242, 0.96);
}

.perfect-for-item span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-hover);
  font-size: 1rem;
  font-weight: 700;
}

.perfect-for-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.explore-cabin-section .amenity-box {
  padding: 0;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  height: 100%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.home-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3.6;
  overflow: hidden;
}

.home-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.explore-cabin-section .amenity-box:hover .home-card-media img {
  transform: scale(1.04);
}

.home-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 12px 16px;
}

.explore-cabin-section .amenity-box h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}

.explore-cabin-section .amenity-box h3 a {
  color: inherit;
  text-decoration: none;
}

.explore-cabin-section .amenity-box p {
  font-size: 0.82rem;
  line-height: 1.42;
  margin-bottom: 12px;
  color: var(--muted);
}

.explore-cabin-section .btn {
  font-size: 0.78rem;
  padding: 9px 10px;
  align-self: center;
}

.explore-cabin-section .amenity-box .btn {
  margin-top: auto;
}

.explore-cabin-section .amenity-box h3 a:hover {
  text-decoration: underline;
}

.frontend-page-home section.content.story-section {
  border-top: 24px solid #ffffff;
  padding-bottom: 54px !important;
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.05);
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
  .story-word {
    font-size: 4rem;
    opacity: 0.12;
  }

  .story-text p::first-letter {
    font-size: 2.5rem;
  }
}

@media (max-width: 1020px) {
  .home-explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .owner-booking-wrap {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
}

@media (max-width: 760px) {
  .home-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .frontend-page-home .perfect-for-section {
    margin-top: 46px;
  }

  .perfect-for-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .story-word {
    font-size: min(120px, 28vw) !important;
  }

  .home-explore-grid {
    grid-template-columns: 1fr !important;
  }

  .explore-cabin-section .amenity-box {
    min-height: 0;
  }

  .perfect-for-grid {
    grid-template-columns: 1fr;
  }

  .perfect-for-item {
    min-height: 0;
    padding: 20px 18px;
  }

  .home-card-body {
    padding: 14px;
  }

  .explore-cabin-section .amenity-box h3 {
    font-size: 1rem;
  }

  .explore-cabin-section .amenity-box p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .explore-cabin-section .btn {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .direct-item:last-child {
    margin-left: 27px;
  }
}
