:root {
  --navy: #0B1F33;
  --navy-soft: #132D4A;
  --sea: #1E6FA8;
  --sea-light: #7DD3FC;
  --sand: #F7F3EC;
  --sand-dark: #E8E0D2;
  --gold: #C9A962;
  --gold-light: #F5E6C8;
  --white: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(11, 31, 51, 0.18);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Outfit', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: linear-gradient(180deg, rgba(11,31,51,.72) 0%, rgba(11,31,51,0) 100%);
  transition: background .3s;
}
.site-header.scrolled {
  background: rgba(11,31,51,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
.brand-logo {
  display: block;
  height: clamp(56px, 11vw, 80px);
  width: auto;
  max-width: min(340px, 62vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}
.site-header.scrolled .brand-logo {
  height: clamp(50px, 9vw, 68px);
}
.hdr-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--wa);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: transform .2s, background .2s;
}
.hdr-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background: var(--navy) center/cover no-repeat;
  background-image: linear-gradient(135deg, rgba(11,31,51,.55) 0%, rgba(30,111,168,.35) 100%), var(--hero-img);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(125,211,252,.15) 0%, transparent 55%),
              linear-gradient(180deg, rgba(11,31,51,.25) 0%, rgba(11,31,51,.75) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.hero-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--sea-light);
}
.hero-lead {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  font-weight: 300;
}
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 14px;
}
.score-pill strong {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
}

/* Search card */
.search-card {
  max-width: 520px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.6);
}
.search-title {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.search-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.date-pill {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--sand-dark);
  background: var(--sand);
  transition: border-color .2s, box-shadow .2s;
}
.date-pill:hover, .date-pill.active {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(30,111,168,.12);
}
.pill-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.pill-value {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.pill-value.empty { color: var(--muted); font-weight: 500; }
.date-arrow { color: var(--muted); font-size: 18px; text-align: center; }
.search-meta {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}
.guest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.guest-stepper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
}
.guest-stepper > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.child-free {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sea);
}
.guest-stepper .stepper {
  align-self: flex-start;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--sand);
  border-radius: 10px;
  padding: 2px;
  border: 1px solid var(--sand-dark);
}
.stepper button {
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 18px;
  color: var(--navy);
}
.stepper button:hover { background: var(--white); }
.stepper strong { min-width: 24px; text-align: center; font-size: 15px; }
.search-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.btn-primary {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sea) 0%, #1558A0 100%);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(30,111,168,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(30,111,168,.4); }
.btn-primary.sm { width: auto; padding: 10px 20px; }

/* Amenities */
.amenities-strip {
  background: var(--navy);
  padding: 18px 0;
  overflow-x: auto;
}
.amenities-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.amenity-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  white-space: nowrap;
}

/* Rooms */
.rooms-section {
  padding: 72px 0;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sea);
}
.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
}
.section-sub { margin: 0; color: var(--muted); }
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.room-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(11,31,51,.08);
  border: 1px solid var(--sand-dark);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(11,31,51,.14);
}
.room-card.selected {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(30,111,168,.15), 0 20px 48px rgba(11,31,51,.14);
}
.room-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--sand-dark) center/cover no-repeat;
}
.room-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11,31,51,.75);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.room-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.room-body h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}
.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.room-features span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 12px;
  color: var(--muted);
}
.room-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--sand-dark);
}
.room-price .per {
  font-size: 13px;
  color: var(--muted);
}
.room-price strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
}
.room-price .total {
  font-size: 13px;
  color: var(--sea);
  font-weight: 600;
  margin-top: 4px;
}
.btn-wa-room {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: var(--wa);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s, transform .2s;
}
.btn-wa-room:hover { background: var(--wa-dark); transform: translateY(-1px); }

/* CTA */
.cta-section {
  padding: 0 16px 72px;
}
.cta-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta-text h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 600;
}
.cta-text p {
  margin: 0;
  max-width: 420px;
  color: rgba(255,255,255,.75);
  font-size: 15px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  background: var(--wa);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(37,211,102,.35);
  transition: transform .2s, background .2s;
}
.btn-wa:hover { background: var(--wa-dark); transform: scale(1.02); }

/* Gallery */
.gallery-section { padding-bottom: 72px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 8px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.gallery-item {
  margin: 0;
  border-radius: 12px;
  background: var(--sand-dark) center/cover no-repeat;
}
.gallery-item.g1 { grid-row: span 2; }
.gallery-item.g2 { }
.gallery-item.g3 { }
.gallery-item.g4 { grid-column: span 2; }

/* Footer */
.site-footer {
  padding: 40px 24px 100px;
  text-align: center;
  background: var(--navy);
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.footer-logo {
  display: block;
  margin: 0 auto 20px;
  height: clamp(72px, 14vw, 110px);
  width: auto;
  max-width: min(360px, 80vw);
  object-fit: contain;
  opacity: .98;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--sea-light); font-weight: 600; }

/* FAB */
.fab-wa {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(37,211,102,.45);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }

/* Calendar modal */
.cal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11,31,51,.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
}
.cal-backdrop[hidden] { display: none; }
.cal-modal {
  width: min(360px, 100%);
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-head strong { font-size: 17px; color: var(--navy); }
.cal-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
}
.cal-close:hover { background: var(--sand); }
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-nav button {
  width: 36px; height: 36px;
  border-radius: 10px;
  font-size: 22px;
  color: var(--navy);
}
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav button:not(:disabled):hover { background: var(--sand); }
.cal-nav span { font-weight: 600; font-size: 15px; }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.cal-day:hover:not(:disabled):not(.empty) { background: var(--sand); }
.cal-day.empty { pointer-events: none; }
.cal-day.disabled {
  color: #CBD5E1;
  cursor: not-allowed;
}
.cal-day.in-range { background: rgba(30,111,168,.12); }
.cal-day.sel-in, .cal-day.sel-out {
  background: var(--sea);
  color: var(--white);
  font-weight: 700;
}
.cal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 12px;
}
.btn-ghost {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--sea);
  font-weight: 600;
  font-size: 14px;
}
.btn-ghost:hover { background: var(--sand); }

/* Toast */
.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast[hidden] { display: none; }

@media (max-width: 768px) {
  .search-fields { grid-template-columns: 1fr; }
  .date-arrow { display: none; }
  .search-meta { margin-bottom: 10px; }
  .guest-row { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .gallery-item.g1 { grid-row: span 1; grid-column: span 2; }
  .gallery-item.g4 { grid-column: span 2; }
  .cta-card { text-align: center; justify-content: center; }
  .btn-wa { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
