:root {
  --primary: #4f8f7b;
  --primary-dark: #2f5f52;
  --primary-soft: #e7f4ee;
  --paper: #f7fbf8;
  --surface: #ffffff;
  --ink: #20332d;
  --muted: #687871;
  --line: #dfeae4;
  --accent: #d98b5f;
  --accent-soft: #fff1e8;
  --shadow: 0 18px 48px rgba(32, 51, 45, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7fbf8 0, #f4faf6 420px, #f7fbf8 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(79, 143, 123, 0.16);
  background: rgba(247, 251, 248, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 900;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  padding: 8px 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero img {
  position: absolute;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 44, 38, 0.76), rgba(20, 44, 38, 0.22) 58%, rgba(20, 44, 38, 0.5)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  padding: 16vh 0 118px clamp(18px, 7vw, 92px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: #d9fff0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.hero-copy p:not(.eyebrow),
.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.72;
}

.lead,
.section-head p,
.room-body p,
.review-card p,
.faq-list p {
  color: var(--muted);
}

.hero-actions,
.room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(79, 143, 123, 0.24);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--primary-dark);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.hero-note {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 38px;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(330px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-note span {
  color: rgba(255, 255, 255, 0.86);
}

.hero-note strong {
  font-size: 26px;
}

.quick-search,
.stats {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: -48px auto 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quick-search {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 100px;
  padding-top: 12px;
  resize: vertical;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  overflow: hidden;
}

.stats div {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

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

.stats strong {
  color: var(--primary-dark);
  font-size: 30px;
}

.stats span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 84px auto 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  line-height: 1.7;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.room-card,
.review-card,
.policy-card,
.booking-form,
.contact-card {
  border: 1px solid rgba(223, 234, 228, 0.82);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.room-card {
  overflow: hidden;
}

.room-card img {
  height: 248px;
  object-fit: cover;
}

.room-body {
  padding: 22px;
}

.room-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.room-title strong {
  white-space: nowrap;
  color: var(--accent);
}

.room-body p {
  min-height: 54px;
  margin: 14px 0;
  line-height: 1.6;
}

.room-body ul,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.room-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.room-body li,
.feature-list span,
.modal-meta span,
.modal-meta strong {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.split,
.booking,
.location,
.policy-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-list span {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 10px 30px rgba(32, 51, 45, 0.06);
}

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

.gallery-item {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
}

.gallery-item img {
  height: 215px;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:first-child,
.gallery-item:last-child {
  grid-column: span 2;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  padding: 24px;
}

.review-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 20px;
}

.review-card p {
  min-height: 76px;
  line-height: 1.7;
}

.review-card span {
  color: var(--accent);
  font-weight: 900;
}

.policy-card {
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--primary);
  content: "";
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(32, 51, 45, 0.05);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--primary-dark);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  line-height: 1.7;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
}

.contact-card strong {
  color: var(--primary-dark);
}

.contact-card span {
  color: var(--muted);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.full {
  grid-column: 1 / -1;
}

.form-summary {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-radius: 8px;
  background: var(--primary-soft);
}

.form-summary strong {
  color: var(--primary-dark);
}

.result {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 900;
}

.map-card {
  display: grid;
  min-height: 190px;
  align-content: center;
  gap: 12px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 95, 82, 0.96), rgba(127, 179, 158, 0.92) 58%, rgba(217, 139, 95, 0.9)),
    url("assets/images/exterior.jpg") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.map-card strong {
  font-size: 28px;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.map-actions a,
.map-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.float-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: grid;
  gap: 10px;
}

.float-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 44px;
  border-radius: 8px;
  background: var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(19, 31, 27, 0.58);
}

.modal.open,
.lightbox.open {
  display: flex;
}

.modal-panel {
  overflow: hidden;
  width: min(880px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.modal-panel img {
  height: 330px;
  object-fit: cover;
}

.modal-content {
  padding: 26px;
}

.modal-content p {
  color: var(--muted);
  line-height: 1.7;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.modal-meta strong {
  background: var(--accent-soft);
  color: var(--accent);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.lightbox img {
  width: min(1120px, 100%);
  max-height: calc(100vh - 72px);
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 36px));
  margin: 82px auto 0;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--primary-dark);
}

@media (max-width: 960px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .quick-search,
  .stats,
  .room-grid,
  .split,
  .booking,
  .location,
  .policy-grid,
  .review-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .quick-search {
    margin-top: -34px;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

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

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

  .gallery-item,
  .gallery-item:first-child,
  .gallery-item:last-child {
    grid-column: auto;
  }

  .gallery-item img {
    height: 174px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 12px 16px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-copy {
    padding-top: 230px;
  }

  .hero-copy p:not(.eyebrow),
  .lead {
    font-size: 17px;
  }

  .hero-note {
    right: 18px;
    bottom: 22px;
  }

  .room-title,
  .form-summary,
  .footer {
    flex-direction: column;
  }

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

  .float-bar {
    right: 12px;
    bottom: 12px;
  }

  .modal-panel img {
    height: 240px;
  }
}
