:root {
  --bg: #eef3f5;
  --surface: #fff;
  --ink: #1d2b32;
  --muted: #5f6f77;
  --teal: #5b98a8;
  --teal-dark: #467d8c;
  --sky: #a9d3e0;
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-dark); }
.btn:active { transform: scale(0.97); }

.chip {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
}
.chip-soft { background: #dcebf0; color: var(--teal-dark); margin-bottom: 16px; }

.stars { color: #f3b83c; letter-spacing: 2px; }
.muted { color: var(--muted); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  margin: var(--gutter);
  margin-top: 24px;
  padding: 24px var(--gutter) 40px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  background:
    linear-gradient(90deg, rgba(185, 223, 236, 0.96) 0%, rgba(185, 223, 236, 0.85) 30%, rgba(185, 223, 236, 0.3) 55%, transparent 70%),
    url("images/hero.jpeg") 70% center / cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 14px 10px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}
.brand { font-weight: 700; font-size: 1.05rem; }
.menu { display: flex; gap: 32px; margin: 0 auto; font-size: 0.9rem; font-weight: 500; }
.menu a { opacity: 0.85; }
.menu a:hover { opacity: 1; }

.nav-toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform 0.2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero-copy { max-width: 460px; }
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 18px 0 16px; }
.hero-copy p { color: #3b4d55; margin-bottom: 28px; }

.review-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 10px 22px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.review-pill small { display: block; color: var(--muted); font-size: 0.72rem; }
.avatars { display: flex; }
.avatars span,
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  border: 2px solid #fff;
}
.avatars span + span { margin-left: -10px; background: var(--teal-dark); }
.avatars span:nth-child(3) { background: #7fb2c0; }

/* ---------- sections ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 56px var(--gutter); }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 12px 12px 20px; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: 16px; }
.card h3 { font-size: 1.05rem; padding: 0 6px; }
.card p { font-size: 0.85rem; color: var(--muted); padding: 6px 6px 10px; }
.price { padding: 0 6px; font-size: 0.85rem; font-weight: 600; color: var(--teal-dark); }

.statement { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.statement p { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.8; font-weight: 500; }
.inline-img { display: inline-block; width: 64px; height: 34px; margin: 0 4px; object-fit: cover; border-radius: 10px; vertical-align: middle; }

.amenities { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 14px; }
.amenities img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 14px; }
.amenities-list { padding: 12px 20px; }
.amenities-list h3 { font-size: 0.95rem; color: var(--teal-dark); margin-bottom: 14px; }
.amenities-list li { padding: 10px 0; border-bottom: 1px solid #e3ecef; font-size: 0.92rem; }
.amenities-list li::before { content: "•"; color: var(--teal); margin-right: 10px; }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 24px; }
.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-top strong { font-size: 1.3rem; }
.review blockquote { margin: 0 0 20px; color: var(--muted); font-size: 0.92rem; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; }

.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-bottom: 24px; }
.location-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.media-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px); font-size: 0.8rem; font-weight: 600; }
.location-text h3 { font-size: 1.4rem; margin-bottom: 12px; }
.location-text p { color: var(--muted); font-size: 0.92rem; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
details { background: var(--surface); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 0.92rem; }
details p { margin-top: 10px; color: var(--muted); font-size: 0.88rem; }
.faq-cta { font-size: 1.4rem; margin: 32px 0 8px; }

.booking { background: var(--surface); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.booking h3 { font-size: 1.1rem; }
.booking label { display: grid; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.booking input,
.booking select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d6e2e6;
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #f8fbfc;
}
.booking input:focus-visible,
.booking select:focus-visible,
.btn:focus-visible,
summary:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 2px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.total { font-size: 0.9rem; font-weight: 600; color: var(--teal-dark); min-height: 1.4em; }
.total.error { color: #b3261e; }

/* ---------- footer ---------- */
.footer {
  margin: 24px var(--gutter) var(--gutter);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(185, 223, 236, 0.95) 30%, rgba(185, 223, 236, 0.55)),
    url("images/pool.jpeg") center / cover;
}
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px 48px; padding: 36px clamp(20px, 5vw, 56px) 20px; }
.footer p { font-size: 0.85rem; color: #3b4d55; }
.footer li { padding: 3px 0; font-size: 0.88rem; }
.footer .fine { grid-column: 1 / -1; font-size: 0.75rem; margin-top: 12px; }
.footer .fine a { text-decoration: underline; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cards,
  .reviews,
  .location,
  .two-col,
  .amenities,
  .footer-inner { grid-template-columns: minmax(0, 1fr); }

  .hero {
    background:
      linear-gradient(180deg, rgba(185, 223, 236, 0.96) 0%, rgba(185, 223, 236, 0.85) 55%, transparent 85%),
      url("images/hero.jpeg") 70% center / cover;
  }

  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .menu.open { display: flex; }
  .menu a { display: block; padding: 12px 0; }
}
