:root {
  --sand: #f8f4e9;
  --sand-dark: #eee2c9;
  --brick: #1f8a9e;
  --brick-dark: #146273;
  --ink: #1f2d33;
  --ink-soft: #52666d;
  --sea: #0d3b52;
  --sea-dark: #082738;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(44, 38, 32, 0.12);
  --font-head: "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  color: var(--brick-dark);
}
.section-lead {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 32px;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--brick);
  color: var(--white);
}
.btn-primary:hover { background: var(--brick-dark); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.3); }
.btn-outline {
  background: transparent;
  color: var(--brick-dark);
  border-color: var(--brick);
}
.btn-outline:hover { background: var(--brick); color: var(--white); }
.center-btn { display: block; margin: 36px auto 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(247, 243, 236, 0.95);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 10px 0;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { text-decoration: none; color: var(--white); display: flex; flex-direction: column; line-height: 1.15; }
.site-header.scrolled .brand { color: var(--brick-dark); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: opacity .2s ease;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a:hover { opacity: 0.7; }
.nav-cta {
  background: var(--brick);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 999px;
}
.nav-cta:hover { opacity: 1 !important; background: var(--brick-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: all .25s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,26,20,0.55) 0%, rgba(31,26,20,0.25) 45%, rgba(31,26,20,0.75) 100%);
}
.hero-flex {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content {
  color: var(--white);
  max-width: 560px;
  text-align: left;
  flex: 1 1 420px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 14px;
  opacity: 0.9;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin: 0 0 16px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin: 0 0 32px;
  max-width: 480px;
  opacity: 0.95;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Availability form ---------- */
.hero-form-wrap {
  flex: 0 0 380px;
  max-width: 100%;
}
.availability-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 20px 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  color: var(--white);
}
.availability-form h2 {
  font-size: 1.12rem;
  margin: 0 0 12px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 9px;
  font-size: 0.72rem;
  min-width: 0;
}
.form-field span {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: background .2s ease, border-color .2s ease;
  resize: vertical;
  width: 100%;
  min-width: 0;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.7); }
.form-field input:focus,
.form-field textarea:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}
.form-field input[type="date"] {
  color-scheme: dark;
}
.form-row { display: flex; gap: 10px; }
.form-row .form-field { flex: 1; margin-bottom: 9px; }
.form-submit { width: 100%; text-align: center; border: none; margin-top: 2px; padding: 11px 26px; }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-status {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  min-height: 1em;
}
.form-status-ok { color: #bff0c9; }
.form-status-error { color: #ffc9bd; }
.form-note {
  font-size: 0.78rem;
  opacity: 0.9;
  margin: 12px 0 0;
  text-align: center;
}

/* ---------- Policies bar ---------- */
.policies-bar {
  background: var(--white);
  padding: 22px 0;
  text-align: center;
  border-bottom: 1px solid var(--sand-dark);
}
.policies-bar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.4rem;
  text-decoration: none;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--white);
  padding: 26px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 3;
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--brick-dark); }
.stat span { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-divider { width: 1px; height: 32px; background: var(--sand-dark); }

/* ---------- Gallery ---------- */
.gallery-section { padding: 90px 0 70px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.g-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-big { grid-column: span 2; grid-row: span 2; }
.gallery-extra { margin-top: 12px; }
.gallery-extra[hidden] { display: none; }

/* ---------- About ---------- */
.about-section { padding: 70px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text p { color: var(--ink-soft); line-height: 1.7; font-size: 1.02rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-tags span {
  background: var(--sand);
  color: var(--brick-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Rooms ---------- */
.rooms-section { padding: 70px 0; }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.room-card img { height: 220px; object-fit: cover; }
.room-card h3 { padding: 18px 18px 4px; font-size: 1.15rem; color: var(--brick-dark); }
.room-card p { padding: 0 18px 18px; margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Amenities ---------- */
.amenities-section { padding: 70px 0; background: var(--sea-dark); color: var(--white); }
.amenities-section .section-title { color: var(--white); }
.amenities-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 24px;
}
.amenities-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  background: rgba(255,255,255,0.06);
  padding: 14px 16px;
  border-radius: 10px;
}
.a-icon { font-size: 1.3rem; }

/* ---------- Location ---------- */
.location-section { padding: 70px 0; background: var(--white); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-grid p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 26px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 360px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 40px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner .brand-name { font-family: var(--font-head); font-size: 1.2rem; }
.footer-inner p { margin: 4px 0 0; opacity: 0.7; font-size: 0.88rem; }
.footer-email { color: var(--white); text-decoration: none; }
.footer-email:hover { text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 13, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  z-index: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-auto-rows: 140px; }

  .hero { height: auto; min-height: 0; padding: 0; overflow: visible; }
  .hero-img, .hero-overlay { top: 0; left: 0; right: 0; bottom: auto; height: 100vh; }
  .hero-flex { flex-direction: column; align-items: stretch; gap: 0; padding-top: 140px; padding-bottom: 0; }
  .hero-content {
    text-align: center;
    max-width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
  }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-form-wrap {
    flex: none;
    width: 100%;
    max-width: 440px;
    margin: 28px auto 44px;
    position: relative;
    z-index: 3;
  }
  .form-field input,
  .form-field textarea { font-size: 16px; }
  .availability-form {
    background: var(--white);
    border-color: var(--sand-dark);
    box-shadow: var(--shadow);
    color: var(--ink);
  }
  .availability-form h2 { color: var(--brick-dark); text-shadow: none; }
  .form-field span { color: var(--ink-soft); opacity: 1; text-shadow: none; }
  .form-field input,
  .form-field textarea {
    background: var(--sand);
    border-color: var(--sand-dark);
    color: var(--ink);
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder { color: #9a8f80; }
  .form-field input:focus,
  .form-field textarea:focus {
    background: var(--white);
    border-color: var(--brick);
  }
  .form-status-ok { color: #1f7a3d; }
  .form-status-error { color: #b8402b; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--sand);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--ink); font-size: 1.1rem; }
  .nav-cta { width: 100%; text-align: center; }
  .nav-toggle { display: flex; }

  .stats-inner { gap: 16px 22px; }
  .stat strong { font-size: 1.2rem; }
  .stat span { font-size: 0.68rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .g-big { grid-column: span 2; grid-row: span 2; }

  .rooms-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.2rem; }
  .section-inner { padding: 0 18px; }
}
