/* ============ Snooze Landing - classic coastal ============ */
:root {
  --shell: #FDFBF5;
  --sand: #F3ECDC;
  --dune: #E4D9C0;
  --navy: #1E3A5C;
  --navy-deep: #162C47;
  --ocean: #3E7192;
  --sunset: #E8A87C;
  --ink: #24313E;
  --drift: #8C7B66;
  --line: rgba(140, 123, 102, 0.28);
  --radius: 12px;
  --shadow: 0 10px 30px rgba(30, 43, 61, 0.10);
  --display: "Quicksand", system-ui, sans-serif;
  --display-hero: "Amatic SC", "Quicksand", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Quicksand", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--ocean); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.12; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; border-radius: 4px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 245, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand {
  font-family: var(--display-hero); font-weight: 700; font-size: 1.9rem;
  color: var(--navy); text-decoration: none; margin-right: auto; letter-spacing: 0.03em;
}
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500;
}
.nav-links a:hover { color: var(--ocean); }

/* ============ Buttons ============ */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

/* ============ Hero ============ */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 32, 48, 0.18) 0%, rgba(22, 32, 48, 0.08) 40%, rgba(22, 32, 48, 0.62) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 72px; padding-top: 140px; }
.hero-eyebrow {
  color: #fff; opacity: 0.92; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 10px;
}
.hero h1 {
  color: #fff; font-family: var(--display-hero); font-weight: 700;
  font-size: clamp(4.2rem, 11vw, 7.5rem); letter-spacing: 0.03em; line-height: 1;
  text-shadow: 0 2px 24px rgba(10, 20, 35, 0.35);
}
.hero-tag {
  color: #fff; opacity: 0.95; font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 560px; margin-top: 10px; text-shadow: 0 1px 12px rgba(10, 20, 35, 0.4);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.rating-chip {
  display: inline-block; margin-top: 22px; text-decoration: none;
  background: rgba(253, 251, 245, 0.92); color: var(--navy); font-weight: 600; font-size: 0.9rem;
  padding: 8px 16px; border-radius: 999px;
}
.rating-chip span { color: var(--sunset); }

/* ============ Facts band ============ */
.facts { background: var(--navy); color: #fff; }
.facts-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding: 16px 24px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em;
}
.facts-row span { padding: 0 22px; border-right: 1px solid rgba(255, 255, 255, 0.25); }
.facts-row span:last-child { border-right: none; }

/* ============ Sections ============ */
.section { padding: 88px 0; }
.section-sand { background: var(--sand); }
.eyebrow {
  color: var(--ocean); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 10px;
}
.eyebrow-light { color: var(--sunset); }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 22px; max-width: 640px; }
.lede { max-width: 640px; margin-bottom: 28px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.col-text p { margin-bottom: 16px; }
.col-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.photo-strip img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }

/* ============ Gallery ============ */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 26px; }
.filter {
  border: 1.5px solid var(--drift); background: transparent; color: var(--ink);
  font: 600 0.88rem "Quicksand", sans-serif; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  transition: all 0.15s ease;
}
.filter:hover { border-color: var(--navy); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.gallery-item { position: relative; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(22, 32, 48, 0.72));
  color: #fff; font-size: 0.85rem; font-weight: 500;
}
.gallery-item.is-hidden { display: none; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12, 18, 28, 0.94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; }
.lb-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-size: 0.95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(253, 251, 245, 0.12); color: #fff; border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(253, 251, 245, 0.28); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ============ Amenities ============ */
.amenity-grid {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; margin-top: 8px;
}
.amenity-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 15px 18px 15px 44px; position: relative; font-weight: 500; font-size: 0.95rem;
}
.amenity-grid li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--sunset);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 7 11l5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============ Around town ============ */
.around-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; }

.map-wrap { margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-note { font-size: 0.88rem; color: var(--drift); margin-top: 10px; }

/* ============ Calendar ============ */
.calendar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.cal-month { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cal-month h3 { font-size: 1.05rem; text-align: center; margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: 0.82rem; text-align: center; }
.cal-grid .dow { font-weight: 600; color: var(--drift); padding: 4px 0; }
.cal-grid .day { padding: 6px 0; border-radius: 6px; background: var(--shell); }
.cal-grid .day.out { visibility: hidden; }
.cal-grid .day.past { color: var(--drift); opacity: 0.45; }
.cal-grid .day.busy { background: var(--dune); color: var(--drift); text-decoration: line-through; }
.cal-legend { margin-top: 16px; font-size: 0.88rem; color: var(--drift); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; }
.dot-open { background: var(--shell); border: 1px solid var(--line); }
.dot-busy { background: var(--dune); }
.cal-fallback {
  background: #fff; border: 1px dashed var(--drift); border-radius: var(--radius);
  padding: 34px; text-align: center;
}
.cal-fallback p { margin-bottom: 16px; }

/* ============ Contact ============ */
.section-navy { background: var(--navy); }
.section-navy h2, .section-navy p, .section-navy label { color: #fff; }
.section-navy a { color: var(--sunset); }
.section-navy .two-col { align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.contact-form .opt { font-weight: 400; opacity: 0.7; }
.contact-form input, .contact-form textarea {
  font: 500 1rem "Quicksand", sans-serif; color: var(--ink);
  background: var(--shell); border: 1.5px solid transparent; border-radius: 9px; padding: 12px 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sunset); }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; background: var(--sunset); color: var(--navy-deep); }
.contact-form .btn:hover { background: #f0bd97; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 500; }
.form-status.ok { color: #A8E6C1; }
.form-status.err { color: #F5B7A8; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; padding: 26px 24px; }
.site-footer a { color: var(--sunset); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav { height: auto; flex-wrap: wrap; padding: 12px 0; row-gap: 8px; }
  .nav-links { order: 3; width: 100%; flex-wrap: wrap; gap: 14px; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .photo-strip { grid-template-columns: 1fr; }
  .around-grid { grid-template-columns: 1fr; }
  .calendar { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-item img, .btn, .filter { transition: none; }
}
