:root {
  --ink: #18211f;
  --muted: #65706b;
  --paper: #fbfaf6;
  --soft: #eef2ec;
  --line: #dce2da;
  --forest: #24463c;
  --water: #2c6f7f;
  --sun: #d9974a;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(24, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--forest);
}

.nav-cta {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.hero-photo {
  min-height: 520px;
  background: linear-gradient(135deg, rgba(36, 70, 60, 0.28), rgba(44, 111, 127, 0.26)), var(--soft);
  background-position: center;
  background-size: cover;
}

.photo-fallback {
  display: grid;
  height: 100%;
  min-height: inherit;
  place-items: center;
  color: rgba(24, 33, 31, 0.56);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 76px);
  background: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--water);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.full-button {
  width: 100%;
  margin-top: 18px;
}

.primary {
  background: var(--forest);
  color: var(--white);
}

.secondary {
  background: var(--soft);
  color: var(--forest);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: clamp(14px, 2vw, 20px) clamp(18px, 4vw, 56px);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--forest), var(--water));
  color: var(--ink);
}

.quick-facts div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(24, 33, 31, 0.12);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  color: var(--forest);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.05;
}

.quick-facts span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(52px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.page-intro {
  padding: clamp(52px, 9vw, 120px) clamp(18px, 4vw, 56px) clamp(32px, 5vw, 64px);
  background: var(--white);
}

.page-intro h1 {
  max-width: 940px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-intro p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.gallery {
  display: grid;
  gap: 34px;
}

.gallery-group h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(24, 33, 31, 0.08);
}

.gallery-grid .gallery-item:first-child {
  grid-row: span 2;
}

.split,
.calendar-layout,
.request-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.description p {
  color: var(--muted);
  font-size: 1.04rem;
}

.check-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.check-row div,
.info-panel,
.quote-panel,
.booking-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.check-row div {
  padding: 16px;
  box-shadow: none;
}

.check-row span,
dt {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.info-panel,
.quote-panel {
  padding: 24px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--water);
  font-weight: 800;
}

.amenities-section {
  background: var(--soft);
}

.secondary-band {
  background: var(--paper);
}

.beach-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.beach-note {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
  box-shadow: var(--shadow);
}

.amenities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.amenity {
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 750;
}

.calendar-section {
  background: var(--white);
}

.calendar-tools {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-tools h3 {
  margin: 0;
  text-align: center;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.calendar {
  grid-column: 1 / 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(40px, 1fr));
  gap: 6px;
}

.day-name,
.date-cell {
  min-height: 48px;
  border-radius: 6px;
}

.day-name {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.date-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.date-cell small {
  color: var(--muted);
}

.date-cell.blocked {
  color: #8c8c8c;
  background: #ececec;
  text-decoration: line-through;
  cursor: not-allowed;
}

.date-cell.pending {
  background: #f3ead9;
  color: #8a5b20;
}

.date-cell.selected,
.date-cell.in-range {
  border-color: var(--forest);
  background: #dfece4;
}

.date-cell.empty {
  visibility: hidden;
}

.quote-panel {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  position: sticky;
  top: 88px;
}

dl {
  margin: 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.booking-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 12px;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-section {
  background: var(--soft);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(18px, 4vw, 36px);
  align-items: start;
}

.admin-login {
  max-width: 460px;
}

.request-list {
  display: grid;
  gap: 14px;
}

.request-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.request-card h3 {
  margin-bottom: 8px;
}

.request-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .site-header,
  nav {
    align-items: flex-start;
  }

  .site-header {
    position: static;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .calendar-layout,
  .request-section,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 360px;
  }

  .hero-content {
    min-height: auto;
  }

  .quick-facts,
  .amenities,
  .beach-notes {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .quote-panel {
    position: static;
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 3rem;
  }

  .quick-facts,
  .check-row,
  .amenities,
  .beach-notes,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-grid .gallery-item:first-child {
    grid-row: span 1;
  }

  .calendar {
    gap: 3px;
  }

  .date-cell {
    min-height: 58px;
    padding: 6px;
    font-size: 0.85rem;
  }
}
