/* ============================================================
   LEVAL — homepage
   ============================================================ */

/* ─────────── Hero ─────────── */

.hero {
  position: relative;
  min-height: 880px;
  color: var(--ivory);
  background: var(--sage-deep) url("/assets/brand/hero.jpg") center 54% / cover no-repeat;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(21, 35, 29, 0.06) 0%, rgba(22, 37, 31, 0.48) 53%, rgba(19, 32, 27, 0.88) 100%),
    linear-gradient(180deg, rgba(16, 28, 23, 0.58), transparent 35%, rgba(16, 28, 23, 0.3));
}

html[dir="ltr"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(21, 35, 29, 0.06) 0%, rgba(22, 37, 31, 0.48) 53%, rgba(19, 32, 27, 0.88) 100%),
    linear-gradient(180deg, rgba(16, 28, 23, 0.58), transparent 35%, rgba(16, 28, 23, 0.3));
}

.hero > .site-header {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 80px;
  padding-bottom: 70px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.2vw, 6.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 625px;
  margin: 2rem 0 0;
  font-size: 1.12rem;
  line-height: 2;
  color: rgba(244, 240, 231, 0.86);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.hero-signature {
  align-self: end;
  margin-bottom: 120px;
  text-align: center;
}

.hero-signature span {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--sand);
}

.hero-signature div {
  width: 1px;
  height: 95px;
  margin: 17px auto;
  background: rgba(244, 240, 231, 0.45);
}

.hero-signature p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.8;
  color: rgba(244, 240, 231, 0.8);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  inset-inline-end: 36px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ivory);
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

.hero-scroll span {
  width: 50px;
  height: 1px;
  background: var(--sand);
}

/* ─────────── Quick booking bar ─────────── */

.booking-wrap {
  position: relative;
  z-index: 4;
  margin-top: -70px;
}

.booking-card {
  min-height: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 240px;
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(25, 40, 33, 0.14);
}

.booking-card label {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 2.3rem 2.1rem;
  border-inline-start: 1px solid var(--hairline);
}

.booking-card label:first-child {
  border-inline-start: 0;
}

.booking-card label > span {
  color: var(--muted);
  font-size: 0.75rem;
}

.booking-card input,
.booking-card select {
  width: 100%;
  color: var(--sage-deep);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 0.95rem;
  padding: 0;
}

html[dir="rtl"] .booking-card select {
  padding-inline-end: 1.4rem;
  background-position: right 0 center;
}

.booking-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  border: 0;
  background: var(--sage);
  color: var(--ivory);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.booking-submit:hover {
  background: var(--sage-deep);
}

.booking-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

html[dir="rtl"] .booking-submit svg {
  transform: scaleX(-1);
}

/* ─────────── Quick-access cards ─────────── */

.explore {
  padding-block: clamp(4rem, 9vh, 6.5rem) 0;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-inline-start: 1px solid var(--hairline);
}

.explore-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 2.2rem 1.8rem;
  border-inline-end: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.explore-card:hover {
  background: var(--sage-deep);
  transform: translateY(-4px);
}

.explore-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--hairline-strong);
  color: var(--sage);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.explore-card__icon svg {
  width: 28px;
  height: 28px;
}

.explore-card:hover .explore-card__icon {
  border-color: rgba(198, 185, 164, 0.55);
  color: var(--sand);
}

.explore-card h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--sage-deep);
  transition: color 0.25s ease;
}

.explore-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--muted);
  transition: color 0.25s ease;
}

.explore-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--sage);
  transition: color 0.25s ease, gap 0.2s ease;
}

.explore-card__cta svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

html[dir="rtl"] .explore-card__cta svg {
  transform: scaleX(-1);
}

.explore-card:hover h2 {
  color: var(--ivory);
}

.explore-card:hover p {
  color: rgba(244, 240, 231, 0.6);
}

.explore-card:hover .explore-card__cta {
  color: var(--sand);
  gap: 1.2rem;
}

/* ─────────── Intro ─────────── */

.intro {
  display: grid;
  grid-template-columns: 110px 1.2fr 0.8fr;
  gap: 65px;
  align-items: end;
  padding-block: clamp(6rem, 13vh, 10.5rem) clamp(5rem, 11vh, 9.4rem);
}

.section-index {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--sage-soft-text);
  font-family: Georgia, serif;
  font-size: 0.85rem;
}

.section-index div {
  width: 1px;
  flex: 1;
  background: var(--sand-light);
}

.intro h2,
.section-heading h2,
.story-copy h2,
.home-cta h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.intro h2 span,
.section-heading h2 span,
.story-copy h2 span,
.home-cta h2 span {
  display: block;
}

.intro-text {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.15;
}

/* ─────────── Stays ─────────── */

.stays-section {
  padding-block: clamp(5rem, 11vh, 8.1rem) clamp(5rem, 12vh, 9.4rem);
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.stay-grid {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 22px;
  align-items: end;
  margin-top: 70px;
}

.stay-card {
  position: relative;
  height: 520px;
  overflow: hidden;
  color: var(--ivory);
}

.stay-card:nth-child(2) {
  height: 590px;
}

.stay-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.stay-card:hover > img {
  transform: scale(1.045);
}

.stay-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 31, 26, 0.06) 20%, rgba(18, 31, 26, 0.82));
}

.stay-number {
  position: absolute;
  top: 25px;
  inset-inline-start: 26px;
  font-family: Georgia, serif;
  font-size: 0.8rem;
  color: var(--sand-light);
}

.stay-info {
  position: absolute;
  inset-inline-start: 30px;
  bottom: 35px;
}

.stay-info p {
  margin: 0 0 10px;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  color: var(--sand-light);
}

.stay-info h3 {
  margin: 0 0 9px;
  font-size: 1.5rem;
  font-weight: 500;
}

.stay-info span {
  font-size: 0.75rem;
  color: rgba(244, 240, 231, 0.76);
}

.stay-card > a {
  position: absolute;
  inset-inline-end: 26px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 231, 0.55);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.stay-card > a:hover {
  background: var(--ivory);
  color: var(--sage-deep);
}

.stay-card > a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

html[dir="rtl"] .stay-card > a svg {
  transform: scaleX(-1);
}

/* ─────────── Story ─────────── */

.story {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 100px;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 10rem);
}

.story-image {
  position: relative;
  min-height: 690px;
}

.story-image > img {
  width: 100%;
  height: 690px;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  inset-inline-end: -45px;
  bottom: -35px;
  width: 150px;
  height: 170px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--sage-deep);
}

.story-badge .leval-logo__mark {
  height: 75px;
}

.story-badge .leval-logo__accent {
  fill: var(--ivory);
}

.story-copy > p:not(.eyebrow) {
  margin: 2.2rem 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.1;
}

.story-copy dl {
  margin: 2.8rem 0 0;
  border-top: 1px solid var(--sand-light);
}

.story-copy dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sand-light);
}

.story-copy dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.story-copy dd {
  margin: 0;
  font-size: 0.9rem;
}

/* ─────────── Services strip ─────────── */

.services-section {
  padding-block: clamp(5rem, 11vh, 8.4rem);
  color: var(--ivory);
  background: var(--sage-deep);
}

.services-heading > p {
  width: 350px;
  margin: 0 0 9px;
  color: rgba(244, 240, 231, 0.65);
  font-size: 0.95rem;
  line-height: 2;
}

.services-heading h2 {
  color: var(--ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 75px;
  border-top: 1px solid rgba(244, 240, 231, 0.18);
  border-inline-start: 1px solid rgba(244, 240, 231, 0.18);
}

.services-grid article {
  min-height: 275px;
  padding: 35px 28px;
  border-inline-end: 1px solid rgba(244, 240, 231, 0.18);
  border-bottom: 1px solid rgba(244, 240, 231, 0.18);
}

.services-grid article > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(198, 185, 164, 0.55);
  color: var(--sand);
}

.services-grid article > span svg {
  width: 28px;
  height: 28px;
}

.services-grid h3 {
  margin: 68px 0 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

.services-grid p {
  margin: 0;
  color: rgba(244, 240, 231, 0.58);
  font-size: 0.78rem;
}

/* the dark strip needs the sand accent lightened for contrast */
.services-section {
  --leval-sand: #c6b9a4;
}

/* ─────────── Closing CTA ─────────── */

.home-cta {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 100px;
  padding-block: clamp(4.5rem, 9vh, 6.9rem);
}

.contact-card {
  display: grid;
  gap: 13px;
  padding: 3rem 3.4rem;
  border: 1px solid var(--sand);
}

.contact-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-card a {
  width: fit-content;
  color: var(--sage);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--sage-deep);
}

.contact-card .phone {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  direction: ltr;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 1180px) {
  .story {
    gap: 60px;
  }

  .home-cta {
    gap: 60px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 780px;
  }

  .hero-content {
    min-height: 560px;
    grid-template-columns: 1fr;
  }

  .hero-signature {
    display: none;
  }

  .booking-card {
    grid-template-columns: 1fr 1fr;
  }

  .booking-submit {
    min-height: 80px;
  }

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

  .intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .section-index {
    display: none;
  }

  .stay-grid {
    grid-template-columns: 1fr;
  }

  .stay-card,
  .stay-card:nth-child(2) {
    height: 520px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 90px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-cta {
    grid-template-columns: 1fr;
    gap: 55px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 720px;
    background-position: 38% center;
  }

  .hero-content {
    min-height: 540px;
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .hero-scroll {
    display: none;
  }

  .booking-wrap {
    margin-top: 0;
  }

  .booking-card {
    grid-template-columns: 1fr;
  }

  .booking-card label {
    padding: 1.5rem 1.6rem;
    border-inline-start: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .explore {
    padding-top: 3.5rem;
  }

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

  .explore-card {
    min-height: 0;
  }

  .intro h2,
  .section-heading h2,
  .story-copy h2,
  .home-cta h2 {
    font-size: 2.4rem;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .stay-card,
  .stay-card:nth-child(2) {
    height: 480px;
  }

  .story-image,
  .story-image > img {
    min-height: 520px;
    height: 520px;
  }

  .story-badge {
    inset-inline-end: -5px;
    width: 120px;
    height: 140px;
  }

  .services-heading > p {
    width: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid h3 {
    margin-top: 40px;
  }

  .contact-card {
    padding: 2.2rem 1.6rem;
  }

  .contact-card .phone {
    font-size: 1.9rem;
  }
}
