/* Villa Luna Mara — homepage */
section { padding: clamp(4.5rem, 10vw, 8.5rem) clamp(1rem, 4vw, 3rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: .7rem 0 1.2rem; }
.stars { color: var(--terracotta); letter-spacing: .12em; }

.section-head { max-width: 1200px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; max-width: 680px; }
.section-head__note { max-width: 380px; color: var(--ink-60); font-size: .95rem; }

/* ─── Hero ─── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 clamp(1rem, 5vw, 4rem) clamp(7.5rem, 14vh, 10rem); overflow: hidden; color: var(--eggshell); background: #2a2620; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.45) 0%, rgba(20,18,15,0) 28%, rgba(20,18,15,.05) 50%, rgba(20,18,15,.62) 100%); }
@media (max-width: 767px) {
  /* Phone photo: the shade is measured in px from the bottom, not in percent of the
     screen. The text block has a fixed height, so on a short phone it sits higher up,
     where a percentage gradient is still clear and the title becomes hard to read
     (seen at 375 x 667). This keeps the villa and the pool above the text visible
     (Willem, 13 Nov 2026: the phone photo was too dark after the new crop). */
  .hero__shade { background: linear-gradient(to bottom, rgba(20,18,15,.5) 0, rgba(20,18,15,0) 150px), linear-gradient(to top, rgba(20,18,15,.88) 0, rgba(20,18,15,.8) 320px, rgba(20,18,15,.32) 395px, rgba(20,18,15,0) 455px); }
}
.hero__content { position: relative; max-width: 760px; animation: rise 1.2s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__place { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--eggshell); margin-bottom: 1.1rem; text-shadow: 0 0 2px rgba(20,18,15,.55), 0 1px 14px rgba(20,18,15,.75); }
.hero__title { font-size: clamp(3.4rem, 10vw, 7.6rem); color: var(--eggshell); line-height: .92; letter-spacing: -.025em; }
.hero__line { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.1rem); margin-top: 1rem; color: var(--eggshell); }
.hero__sub { margin-top: .5rem; font-size: 1rem; color: rgba(241,236,226,.82); }
.hero__rating { position: absolute; right: clamp(1rem, 5vw, 4rem); bottom: clamp(7.5rem, 14vh, 10rem); font-size: .8rem; color: rgba(241,236,226,.9); background: rgba(20,18,15,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .55rem .9rem; border-radius: 99px; animation: rise 1.2s var(--ease) .5s both; }
.hero__offer { position: absolute; right: clamp(1rem, 5vw, 4rem); bottom: calc(clamp(7.5rem, 14vh, 10rem) + 2.9rem); font-size: .8rem; color: rgba(241,236,226,.9); background: rgba(20,18,15,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .55rem .9rem; border-radius: 99px; animation: rise 1.2s var(--ease) .5s both; }
.hero__offer strong { color: #E8C9A8; font-weight: 600; }
.hero__offer-line { display: none; margin-top: .5rem; font-size: .9rem; color: rgba(241,236,226,.82); }
.hero__offer-line strong { color: #E8C9A8; font-weight: 600; }
.hero__rating .stars { color: #E8C9A8; }

/* ─── Booking bar ─── */
.bookbar {
  position: relative; z-index: 5; max-width: 1080px; margin: -4.2rem auto 0; padding: .7rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .2rem;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  scroll-margin-top: 90px;
}
.bookbar__field { display: flex; flex-direction: column; gap: .15rem; padding: .7rem 1.1rem; border-radius: 10px; transition: background .2s; cursor: pointer; }
.bookbar__field:hover, .bookbar__field:focus-within { background: var(--paper); }
.bookbar__field + .bookbar__field { border-left: 1px solid var(--line); }
.bookbar__label { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--ink-60); }
.bookbar__input { border: 0; background: transparent; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); padding: .1rem 0; outline: none; width: 100%; min-height: 28px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.bookbar__cta { min-height: 64px; border-radius: 10px; }
/* Empty date: transparent native text with an "Add date" label on top (an empty date input is blank on iOS). */
.bookbar__date { position: relative; display: block; }
.bookbar__ph { display: none; position: absolute; left: 0; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 1rem; font-weight: 500; color: var(--ink-45); white-space: nowrap; }
.bookbar__input.is-empty:not(:focus) { color: transparent; }
.bookbar__input.is-empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
.bookbar__input.is-empty:not(:focus) + .bookbar__ph { display: block; }
.bookbar__input[type="date"] { text-align: left; }
.bookbar__input::-webkit-date-and-time-value { text-align: left; }
/* Next free dates under the bar; height reserved up front so nothing jumps when they load. */
.freedates { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; max-width: 1080px; margin: 0 auto; padding: 1.1rem 1rem 0; min-height: calc(1.1rem + 36px); font-size: .86rem; color: var(--ink-60); }
.freedates__label { color: var(--ink); font-weight: 600; margin-right: .2rem; }
.freedates .link { margin-left: .3rem; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 600; font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; transition: border-color .2s; }
.chip:hover { border-color: var(--ink); }
.bookbar__offer { text-align: center; font-size: 1rem; font-weight: 500; color: var(--ink); padding: 1.1rem 1rem 0; }
.bookbar__offer strong { color: var(--terracotta); font-weight: 600; }
.bookbar__note { text-align: center; font-size: .84rem; color: var(--ink-60); padding: 1.2rem 1rem 0; }

/* ─── About + facts ─── */
.about { padding-inline: max(clamp(1rem, 4vw, 3rem), calc((100% - 1200px) / 2)); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.about__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 520px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); }
.facts div { padding: 1.2rem .4rem 0; }
.facts dt { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.facts dd { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-60); margin-top: .5rem; font-weight: 600; }

/* ─── Gallery bento ─── */
.gallery { padding-top: 0; }
.bento { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 26vw, 355px)); gap: .6rem; } /* rows capped: on wide screens 26vw made the grid taller than its 720px max-height and the photos overflowed into the next section */
.bento__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); padding: 0; }
.bento__item--big { grid-row: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.04); }

/* ─── Split ─── */
.split { background: var(--paper); }
.split__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__text p { margin-bottom: 1rem; max-width: 500px; }
.split__image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.split__image img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Rooms ─── */
.rooms__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.room__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; background: var(--mist); }
.room__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room:hover .room__img img { transform: scale(1.04); }
.room h3 { font-size: 1.6rem; margin-bottom: .25rem; }
.room p { font-size: .92rem; color: var(--ink-60); }

/* ─── Amenities ─── */
.amenities { background: var(--ink); color: var(--eggshell); }
.amenities__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); }
.amenities h2 { color: var(--eggshell); }
.amenities .eyebrow { color: #D9A584; }
.amenities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(241,236,226,.14); }
.amenity { display: flex; align-items: center; gap: .9rem; padding: 1.1rem .4rem; border-bottom: 1px solid rgba(241,236,226,.14); font-size: .92rem; color: rgba(241,236,226,.88); }
.amenity__icon { width: 22px; height: 22px; flex: none; color: #D9A584; }

/* ─── Reviews ─── */
.reviews__head { max-width: 1200px; margin: 0 auto 2.6rem; }
.reviews__score { display: flex; align-items: center; gap: 1.2rem; margin: .8rem 0 .6rem; font-size: .9rem; color: var(--ink-60); line-height: 1.5; }
.reviews__num { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 5.4rem); line-height: .9; color: var(--ink); }
.reviews__also { font-size: .88rem; color: var(--ink-60); }
.reviews__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.review { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; box-shadow: var(--shadow); }
.review blockquote { font-family: var(--serif); font-size: 1.28rem; line-height: 1.32; color: var(--ink); }
.review blockquote::before { content: '“'; display: block; font-size: 2.6rem; line-height: .6; color: var(--terracotta); margin-bottom: .4rem; }
.review figcaption { font-size: .78rem; letter-spacing: .06em; color: var(--ink-60); font-weight: 600; }
.reviews__more { max-width: 1200px; margin: 2rem auto 0; font-size: .9rem; }

/* ─── Location ─── */
.location { background: var(--paper); }
.location__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: stretch; }
.distances { list-style: none; margin-top: 1.8rem; border-top: 1px solid var(--line-strong); }
.distances li { display: flex; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.distances li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.location__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--mist); }
.location__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) contrast(1.02); }

/* ─── Island ─── */
.island__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mood { padding: 1.8rem 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: transparent; transition: background .3s var(--ease), border-color .3s; }
.mood:hover { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.mood__icon { width: 28px; height: 28px; color: var(--terracotta); margin-bottom: 1.1rem; }
.mood h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.mood p { font-size: .9rem; color: var(--ink-60); }

/* ─── FAQ ─── */
.faq { background: var(--mist); }
.faq__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); }
.faq__head p:last-child { font-size: .92rem; color: var(--ink-60); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { padding: 0 0 1.3rem; max-width: 620px; font-size: .95rem; }

/* ─── Info ─── */
.info__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); }
.info__list { border-top: 1px solid var(--line-strong); }
.info__list div { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info__list dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ink-60); padding-top: .2rem; }
.info__list dd { font-size: .95rem; color: var(--ink-80); }

/* ─── Final CTA ─── */
.final { background: var(--terracotta) url('/photos/03-pool-hero.webp') center / cover; position: relative; text-align: center; color: var(--eggshell); }
.final::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(130,78,48,.82), rgba(110,64,38,.9)); }
.final__inner { position: relative; max-width: 640px; margin: 0 auto; }
.final h2 { color: var(--eggshell); }
.final .eyebrow { color: rgba(241,236,226,.8); }
.final p { color: rgba(241,236,226,.88); margin-bottom: 2rem; font-size: 1.05rem; }

/* ─── Mobile bar ─── */
.mbar { display: none; }

/* ─── Lightbox ─── */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15,13,11,.94); display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; color: var(--eggshell); font-size: 1.8rem; line-height: 1; display: grid; place-items: center; background: rgba(241,236,226,.08); }
.lightbox__btn:hover { background: rgba(241,236,226,.18); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(241,236,226,.7); font-size: .8rem; letter-spacing: .1em; }

/* ─── Responsive ─── */
@media (max-width: 980px) {
  .about, .split__inner, .amenities__inner, .location__inner, .faq__inner, .info__inner { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(5, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .island__grid { grid-template-columns: 1fr 1fr; }
  .split__image { aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  .bookbar { grid-template-columns: 1fr 1fr; margin: -3rem 1rem 0; }
  .bookbar__field:nth-child(3) { grid-column: span 2; border-left: 0; border-top: 1px solid var(--line); }
  .bookbar__cta { grid-column: span 2; min-height: 56px; }
  .hero__rating, .hero__offer { display: none; }
  .hero__offer-line { display: block; }
  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    align-items: center; justify-content: space-between; gap: 1rem;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(248,245,239,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar__info { display: flex; flex-direction: column; line-height: 1.3; }
  .mbar__info strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
  .mbar__info span { font-size: .74rem; color: var(--ink-60); }
  .mbar .btn { min-height: 46px; padding: 0 1.3rem; }
  .footer { padding-bottom: 6rem; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 62vw 36vw 36vw; max-height: none; }
  .bento__item--big { grid-column: span 2; grid-row: auto; }
  .rooms__grid, .reviews__grid, .island__grid, .amenities__grid { grid-template-columns: 1fr; }
  .amenities__grid { grid-template-columns: 1fr 1fr; }
  .info__list div { grid-template-columns: 1fr; gap: .2rem; }
  .hero { padding-bottom: 6.5rem; }
}
.bookbar__field, .bookbar__input { min-width: 0; }
@media (max-width: 860px) {
  .bookbar { width: auto; }
  .bookbar__field { padding: .6rem .8rem; }
  .bookbar__input, .bookbar__ph { font-size: .95rem; }
  .freedates { min-height: calc(1.1rem + 1.4rem + 2 * 44px + 1rem); }
  .freedates__label { flex-basis: 100%; text-align: center; margin-right: 0; }
  .chip { min-height: 44px; }
  .freedates .link { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
}

.distances__by { margin-top: 1.6rem; font-size: .8rem; color: var(--ink-60); }
.distances__by + .distances { margin-top: .6rem; }

a.reviews__score { color: inherit; width: fit-content; }
a.reviews__score:hover .link { color: var(--terracotta); border-color: var(--terracotta); }
a.hero__rating:hover { background: rgba(20,18,15,.55); }

/* Content round 9 Nov 2026: WhatsApp line under the final button, cookie settings in the footer */
.final p.final__alt { margin: 1.4rem 0 0; font-size: .95rem; }
.final__alt .link { color: inherit; border-color: rgba(241,236,226,.6); }
.final__alt .link:hover { color: var(--eggshell); border-color: var(--eggshell); }
.final :focus-visible { outline-color: var(--eggshell); }
.footer__cookies { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__cookies:hover { color: var(--eggshell); }
.footer__cookies { position: relative; }
.footer__cookies::after { content: ''; position: absolute; inset: -14px -10px; } /* 44 px touch target, same look */
