/* ============================================================
   pages/home.css — Homepage v3.0.4
   Modern · cinematic · luxury · Airbnb vibe
   ============================================================ */

.page-home {
  background:
    radial-gradient(circle at top right, rgba(200,137,42,.06), transparent 24%),
    linear-gradient(180deg, #fcfaf6 0%, #f5f1e8 100%);
}

.page-home .section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.page-home .section-title--left {
  text-align: left;
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.page-home .section-subtext {
  color: var(--stone);
  max-width: 720px;
  margin-top: .95rem;
}

/* ── Hero cinematic ─────────────────────────────────────────── */
.hero--cinematic {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10181a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero--cinematic::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,12,15,.75) 0%, rgba(9,12,15,.38) 38%, rgba(9,12,15,.14) 62%, rgba(9,12,15,.35) 100%),
    linear-gradient(180deg, rgba(231,168,79,.12) 0%, rgba(17,26,30,.02) 30%, rgba(12,14,16,.6) 100%);
  z-index: 1;
}

.hero__glow {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: min(36vw, 440px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,188,84,.22) 0%, rgba(255,188,84,.08) 34%, transparent 72%);
  filter: blur(10px);
  z-index: 1;
}

.hero__shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: 2.5rem;
  align-items: end;
  width: 100%;
  padding-top: 4.5rem;
  padding-bottom: 7.5rem;
}

.hero__content--luxury {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.25rem;
  padding: .52rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  color: var(--amber-pale);
  font-family: var(--font-label);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0 0 1.15rem;
  text-shadow: 0 8px 35px rgba(0,0,0,.22);
}

.hero__subtitle--wide {
  max-width: 620px;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.8;
  color: rgba(253,250,244,.84);
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero__chips {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .58rem .9rem;
  border-radius: 999px;
  background: rgba(247,242,232,.12);
  border: 1px solid rgba(247,242,232,.12);
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  letter-spacing: .04em;
}

.hero__floating-card {
  background: rgba(253,250,244,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 28px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 24px 55px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
  justify-self: end;
  max-width: 390px;
}

.hero__floating-label {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .38rem .72rem;
  border-radius: 999px;
  background: rgba(200,137,42,.12);
  color: #9c6820;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__floating-card h2 {
  margin: 0 0 .8rem;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--forest-deep);
}

.hero__floating-card p {
  color: #53625c;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.hero__floating-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}

.hero__floating-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  border: 1px solid #ece3d5;
}

.hero__floating-meta strong {
  color: var(--forest-deep);
  font-size: .88rem;
}

.hero__floating-meta span {
  color: #6d756d;
  font-size: .82rem;
  text-align: right;
}

.hero__bottom-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(16,21,24,.18), rgba(16,21,24,.5));
  backdrop-filter: blur(12px);
}

.hero__bottom-band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  color: rgba(255,255,255,.84);
}

.hero-stat strong {
  color: var(--amber-pale);
  font-family: var(--font-display);
  font-size: 1.04rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hero-stat span {
  font-size: .82rem;
  color: rgba(247,242,232,.7);
}

/* ── Intro ──────────────────────────────────────────────────── */
.home-intro__grid {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.5vw, 4.75rem);
  align-items: center;
}

.home-intro__media {
  position: relative;
}

.home-intro__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(27,46,26,.12);
}

.home-intro__badge {
  position: absolute;
  right: -18px;
  bottom: 24px;
  width: min(220px, 55%);
  padding: 1rem 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 18px 40px rgba(0,0,0,.11);
}

.home-intro__badge-value {
  display: block;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.home-intro__badge-text {
  display: block;
  margin-top: .3rem;
  color: #6b726b;
  font-size: .8rem;
  line-height: 1.5;
}

.home-intro__content h2 {
  margin-bottom: 1.2rem;
}

.home-intro__content p {
  color: var(--stone);
  margin-bottom: 1.2rem;
}

.intro__features--luxury {
  margin: 1.7rem 0 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem .8rem;
}

.feature-item {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .8rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid #ede4d8;
  box-shadow: 0 12px 26px rgba(27,46,26,.05);
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.55;
  color: var(--stone);
}

.feature-item .dot {
  width: 10px;
  height: 10px;
  margin-top: .35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  flex-shrink: 0;
}

.home-intro__cta-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.text-link {
  color: var(--forest-deep);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ── Category cards ─────────────────────────────────────────── */
.home-categories {
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.65) 100%);
}

.home-category-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 1rem;
}

.home-category-card {
  position: relative;
  min-height: 510px;
  border-radius: 28px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 26px 58px rgba(23,32,27,.15);
  isolation: isolate;
}

.home-category-card--large {
  min-height: 590px;
}

.home-category-card__image,
.home-category-card__overlay {
  position: absolute;
  inset: 0;
}

.home-category-card__image {
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform .55s ease;
}

.home-category-card__overlay {
  background:
    linear-gradient(180deg, rgba(11,14,16,.04) 0%, rgba(11,14,16,.18) 30%, rgba(11,14,16,.78) 100%),
    linear-gradient(0deg, rgba(200,137,42,.18), transparent 38%);
}

.home-category-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.35rem 1.35rem 1.5rem;
}

.home-category-card__kicker {
  display: inline-flex;
  margin-bottom: .85rem;
  padding: .38rem .68rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-category-card h3 {
  color: #fff;
  margin-bottom: .65rem;
  font-size: 1.7rem;
}

.home-category-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  margin-bottom: .95rem;
}

.home-category-card__meta {
  display: inline-block;
  font-size: .78rem;
  color: var(--amber-pale);
  letter-spacing: .04em;
}

.home-category-card:hover .home-category-card__image {
  transform: scale(1.06);
}

/* ── Emotion section ────────────────────────────────────────── */
.home-emotion__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: 1.25rem;
  align-items: stretch;
}

.home-emotion__scenic {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 620px;
  box-shadow: 0 25px 56px rgba(18,29,24,.14);
}

.home-emotion__scenic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-emotion__scenic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,15,17,.04) 0%, rgba(12,15,17,.2) 36%, rgba(12,15,17,.82) 100%);
}

.home-emotion__scenic-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.6rem 1.5rem 1.8rem;
}

.home-emotion__scenic-caption h2 {
  color: #fff;
  margin: .6rem 0 .75rem;
}

.home-emotion__scenic-caption p {
  color: rgba(255,255,255,.84);
  max-width: 640px;
}

.home-emotion__story {
  display: grid;
  gap: 1rem;
}

.home-story-card {
  background: rgba(255,255,255,.88);
  border: 1px solid #eee4d7;
  border-radius: 28px;
  padding: 1.45rem 1.35rem;
  box-shadow: 0 18px 42px rgba(18,29,24,.07);
}

.home-story-card--warm {
  background: linear-gradient(180deg, rgba(255,248,236,.96) 0%, rgba(249,240,223,.96) 100%);
}

.home-story-card__eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  color: #9b6821;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-story-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .7rem;
}

.home-story-card__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--forest-deep);
  line-height: 1.6;
}

.home-story-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  font-size: 1.2rem;
  line-height: 1;
}

.home-story-card__facts {
  display: grid;
  gap: .8rem;
}

.home-story-card__facts div {
  display: grid;
  gap: .2rem;
  padding: .85rem .95rem;
  border-radius: 16px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(200,137,42,.14);
}

.home-story-card__facts strong {
  color: var(--forest-deep);
  font-size: .9rem;
}

.home-story-card__facts span {
  color: var(--stone);
  line-height: 1.6;
  font-size: .88rem;
}

/* ── CTA luxury ─────────────────────────────────────────────── */
.home-cta-luxury {
  padding: 1rem 0 6.5rem;
}

.home-cta-luxury__card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(27,46,26,.96) 0%, rgba(44,71,53,.96) 58%, rgba(71,95,66,.96) 100%),
    url('/assets/images/texture-wood.webp') center/cover;
  box-shadow: 0 28px 64px rgba(18,29,24,.18);
}

.home-cta-luxury__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right center, rgba(255,195,102,.18), transparent 35%);
  pointer-events: none;
}

.home-cta-luxury__card > * {
  position: relative;
  z-index: 1;
}

.home-cta-luxury__card h2 {
  color: #fff;
  max-width: 780px;
  margin: .75rem 0 .9rem;
}

.home-cta-luxury__card p {
  max-width: 720px;
  color: rgba(247,242,232,.84);
  margin-bottom: 1.5rem;
}

.home-cta-luxury__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__shell,
  .home-intro__grid,
  .home-emotion__grid {
    grid-template-columns: 1fr;
  }

  .hero__floating-card {
    justify-self: start;
    max-width: 460px;
  }

  .home-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-category-card--large {
    grid-column: 1 / -1;
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .hero--cinematic {
    min-height: auto;
  }

  .hero__shell {
    padding-top: 3.5rem;
    padding-bottom: 7rem;
  }

  .hero__bottom-band-inner {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .intro__features--luxury,
  .home-category-grid {
    grid-template-columns: 1fr;
  }

  .home-category-card,
  .home-category-card--large {
    min-height: 420px;
  }

  .home-emotion__scenic {
    min-height: 470px;
  }
}

@media (max-width: 580px) {
  .hero__title {
    font-size: 2.35rem;
  }

  .hero__subtitle--wide {
    font-size: .98rem;
  }

  .hero__chips span {
    font-size: .72rem;
  }

  .hero__actions,
  .home-intro__cta-row,
  .home-cta-luxury__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-intro__badge {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .home-story-card,
  .home-cta-luxury__card,
  .home-category-card,
  .home-emotion__scenic,
  .home-intro__media img {
    border-radius: 22px;
  }
}
