:root {
  --sand: #f7f1e7;
  --shell: #fffaf2;
  --ink: #182323;
  --muted: #657373;
  --teal: #0d9488;
  --deep: #063a3a;
  --gold: #d7a84f;
  --line: rgba(24, 35, 35, 0.12);
  --shadow: 0 24px 70px rgba(6, 58, 58, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--shell);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 40, 39, 0.28);
  backdrop-filter: blur(18px);
  transition: background 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 14px 40px rgba(24, 35, 35, 0.12);
}

.brand,
.nav-links,
.hero-actions,
.stats,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--deep);
  border-radius: 50%;
  background: #fff;
  font-family: "Playfair Display", serif;
}

.nav-links {
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta {
  color: #fff;
  background: var(--teal);
}

.floating-email {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(6, 58, 58, 0.28);
  transition: transform 250ms ease, background 250ms ease;
}

.floating-email:hover {
  background: var(--deep);
  transform: translateY(-4px);
}

.floating-email svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px max(22px, calc((100vw - 1120px) / 2)) 76px;
  color: #fff;
}

.hero-slider,
.slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  background-image: var(--image);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: opacity 1200ms ease, transform 5000ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(2, 28, 28, 0.82), rgba(2, 28, 28, 0.28) 55%, rgba(2, 28, 28, 0.58)), linear-gradient(0deg, rgba(2, 28, 28, 0.72), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 9rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

p {
  line-height: 1.7;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 18px 36px rgba(13, 148, 136, 0.28);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.hero-card {
  position: absolute;
  right: max(22px, calc((100vw - 1120px) / 2));
  bottom: 76px;
  z-index: 3;
  display: grid;
  gap: 6px;
  width: min(360px, calc(100% - 44px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
}

.hero-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-card strong {
  overflow-wrap: anywhere;
}

.section {
  padding: 92px max(22px, calc((100vw - 1120px) / 2));
}

.intro {
  background: var(--sand);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: end;
}

.intro-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.stats {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.stats div {
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: rgba(255, 255, 255, 0.7);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 1.55rem;
}

.stats span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  background: var(--deep);
  color: #fff;
}

.feature-image {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.feature-text {
  align-self: center;
  max-width: 620px;
  padding: 80px max(22px, 8vw);
}

.feature-text p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #d9e5e3;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.1);
  transform: scale(1.06);
}

.amenities {
  background: var(--sand);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.amenity {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.amenity:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.amenity span {
  display: block;
  margin-bottom: 62px;
  color: var(--teal);
  font-weight: 900;
}

.amenity p {
  color: var(--muted);
}

.inquiry {
  background: linear-gradient(135deg, #fffaf2, #e8faf7);
}

.inquiry-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 40px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.inquiry-panel p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfbf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(22px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: var(--deep);
}

.footer a {
  color: #a7f3d0;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(3, 20, 20, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1080px, 100%);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    border-radius: 8px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 32px;
  }

  .intro-grid,
  .feature-band,
  .inquiry-panel {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 0 14px;
  }

  .hero {
    padding-bottom: 42px;
  }

  h1 {
    font-size: 4rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

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

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

  .floating-email {
    right: 16px;
    bottom: 16px;
  }
}
