:root {
  --sand: #f5edd8;
  --surface: #fafaf5;
  --surface-strong: #fffaf1;
  --forest: #1d3426;
  --forest-deep: #0f1a12;
  --accent: #e07228;
  --accent-soft: #f3a36b;
  --text: #0f1a12;
  --muted: rgba(15, 26, 18, 0.72);
  --line: rgba(15, 26, 18, 0.16);
  --white: #ffffff;
  --shadow: 0 28px 60px rgba(10, 18, 12, 0.18);
  --shadow-soft: 0 18px 38px rgba(10, 18, 12, 0.12);
  --max-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(224, 114, 40, 0.1), transparent 22%),
    linear-gradient(180deg, #f6eedf 0%, #f1e6d1 100%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

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

button {
  font: inherit;
}

.page {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 16px auto 0;
}

.hero {
  min-height: 100vh;
}

.hero-media {
  position: relative;
  min-height: calc(100vh - 32px);
  padding: 30px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 14, 10, 0.1), rgba(8, 14, 10, 0.48)),
    var(--hero-image, linear-gradient(135deg, #405544, #1d3426));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 19, 14, 0.4) 0%, rgba(12, 19, 14, 0.12) 36%, transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%);
  pointer-events: none;
}

.hero-header,
.hero-dots,
.hero-counter,
.hero-card,
.hero-arrows {
  position: relative;
  z-index: 1;
}

.hero-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 158px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.brand-top,
.footer-mark {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-bottom {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.nav {
  display: inline-flex;
  justify-content: center;
  gap: 34px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.nav a,
.book-link {
  position: relative;
}

.nav a::after,
.book-link::after,
.footer-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.book-link:hover::after,
.footer-column a:hover::after {
  transform: scaleX(1);
}

.book-link {
  padding-top: 12px;
  color: var(--white);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 78px;
}

.hero-dot {
  width: 42px;
  height: 4px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--white);
}

.hero-counter {
  position: absolute;
  top: 118px;
  right: 28px;
  display: inline-flex;
  gap: 10px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.hero-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(100%, 460px);
  padding: 28px;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.62);
}

.hero-card h1,
.about h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1;
}

.hero-card h1 {
  font-size: clamp(2.8rem, 4vw, 4.4rem);
}

.hero-location,
.hero-price,
.about p,
.footer-brand p {
  color: var(--muted);
}

.hero-location {
  margin: 14px 0 0;
  font-size: 1rem;
}

.hero-price {
  margin: 8px 0 0;
  font-size: 1.2rem;
}

.hero-summary {
  margin: 18px 0 0;
  color: rgba(15, 26, 18, 0.8);
  line-height: 1.75;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(29, 52, 38, 0.12);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  color: var(--forest);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.hero-assurance {
  margin: 16px 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(15, 26, 18, 0.7);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.button-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(224, 114, 40, 0.24);
}

.button-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(29, 52, 38, 0.22);
}

.hero-arrows {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  gap: 10px;
}

.arrow-button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.thumbnails {
  margin-top: 26px;
}

.thumbnail-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.thumbnail-card {
  cursor: pointer;
  padding: 12px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.thumbnail-media {
  height: 132px;
  border-top: 4px solid transparent;
  background:
    linear-gradient(180deg, rgba(12, 18, 14, 0.02), rgba(12, 18, 14, 0.3)),
    var(--thumb-image, linear-gradient(135deg, #5c735d, #25372a));
  background-size: cover;
  background-position: center;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.thumbnail-card p {
  margin: 10px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}

.thumbnail-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.thumbnail-card.is-active .thumbnail-media {
  opacity: 1;
  border-top-color: var(--accent);
}

.thumbnail-card.is-active {
  transform: translateY(-4px);
}

.thumbnail-card:hover .thumbnail-media {
  transform: translateY(-2px);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.trust-band article,
.experience-card {
  padding: 24px;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(29, 52, 38, 0.1);
  box-shadow: var(--shadow-soft);
}

.trust-band span,
.experience-card span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.54);
}

.trust-band strong {
  display: block;
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.42rem;
  line-height: 1.15;
}

.trust-band p,
.experience-card p,
.booking-note,
.footer-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.property-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 30px;
  margin-top: 56px;
  align-items: start;
}

.detail-copy {
  padding: 34px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: var(--shadow);
}

.section-tag-light {
  background: rgba(29, 52, 38, 0.08);
  color: var(--forest);
}

.detail-copy h2,
.booking-card h3,
.modal-card h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.detail-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.detail-location {
  margin: 12px 0 0;
  font-size: 1.08rem;
  color: var(--accent);
}

.detail-description {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-gallery-item {
  padding: 0;
  border: 1px solid rgba(29, 52, 38, 0.08);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.detail-gallery-item span {
  display: block;
  min-height: 148px;
  background:
    linear-gradient(180deg, rgba(12, 18, 14, 0.02), rgba(12, 18, 14, 0.3)),
    var(--detail-image, linear-gradient(135deg, #5c735d, #25372a));
  background-size: cover;
  background-position: center;
}

.detail-gallery-item.is-active {
  border-color: var(--accent);
}

.detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-features span {
  display: inline-flex;
  padding: 10px 14px;
  background: rgba(29, 52, 38, 0.08);
  color: var(--forest);
  font-size: 0.92rem;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-meta article {
  padding: 18px 16px;
  border-top: 1px solid var(--line);
}

.detail-meta span,
.booking-kicker {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.56);
}

.detail-meta strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.32rem;
}

.booking-card {
  position: sticky;
  top: 24px;
  padding: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.booking-card h3 {
  margin-top: 10px;
  font-size: 2rem;
}

.booking-status,
.booking-reference {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.booking-status a {
  text-decoration: underline;
}

.booking-status.is-live,
.booking-reference {
  color: var(--forest);
}

.booking-note {
  font-size: 0.95rem;
}

.booking-estimate {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
  background: rgba(29, 52, 38, 0.05);
  border: 1px solid rgba(29, 52, 38, 0.1);
}

.booking-estimate article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 26, 18, 0.08);
}

.booking-estimate article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.booking-estimate span {
  color: rgba(15, 26, 18, 0.56);
}

.booking-estimate strong {
  text-align: right;
  font-family: "Playfair Display", serif;
  font-size: 1.02rem;
}

.booking-benefits {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.booking-benefits article {
  padding: 16px 18px;
  border-left: 3px solid rgba(224, 114, 40, 0.4);
  background: rgba(255, 255, 255, 0.6);
}

.booking-benefits strong {
  font-family: "Playfair Display", serif;
  font-size: 1.08rem;
}

.booking-benefits p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.field,
.field-row {
  display: grid;
}

.field {
  gap: 8px;
  margin-top: 16px;
}

.field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.media-manager {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(29, 52, 38, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 240, 228, 0.82)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 60px rgba(15, 26, 18, 0.08);
}

.media-manager-head h3 {
  margin: 6px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
}

.media-manager-copy {
  margin: 12px 0 0;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(224, 114, 40, 0.24);
  border-color: rgba(224, 114, 40, 0.6);
}

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

.form-feedback {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--forest);
  line-height: 1.5;
}

.form-feedback.is-success {
  padding: 12px 14px;
  background: rgba(29, 52, 38, 0.08);
  border-left: 3px solid rgba(29, 52, 38, 0.56);
}

.form-feedback.is-error {
  padding: 12px 14px;
  background: rgba(158, 61, 23, 0.08);
  border-left: 3px solid #9e3d17;
  color: #9e3d17;
}

.modal {
  border: 0;
  padding: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(15, 26, 18, 0.52);
}

.modal-card {
  position: relative;
  width: min(92vw, 560px);
  padding: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(29, 52, 38, 0.08);
  color: var(--forest);
  cursor: pointer;
}

.booking-summary {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 18px;
}

.booking-summary article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  margin-top: 78px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 16px;
  background: var(--forest);
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about h2 {
  font-size: clamp(2.6rem, 4vw, 4.8rem);
}

.about h2 em {
  display: block;
  font-style: italic;
}

.about p {
  max-width: 50ch;
  margin: 22px 0 0;
  line-height: 1.7;
}

.outline-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  font-weight: 700;
}

.about-visual {
  position: relative;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(6, 10, 8, 0.06), rgba(6, 10, 8, 0.18)),
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, #6d8168 0%, #3e5643 38%, #23352a 100%);
  box-shadow: var(--shadow);
}

.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.about-visual::before {
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(17, 28, 21, 0.16) 14% 18%, transparent 18% 34%, rgba(17, 28, 21, 0.12) 34% 38%, transparent 38% 100%);
}

.about-visual::after {
  background:
    linear-gradient(180deg, transparent 0 58%, rgba(255, 255, 255, 0.08) 58% 60%, transparent 60% 100%);
}

.about-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.9);
}

.about-badge span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.about-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.experience-card h3 {
  margin: 12px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  line-height: 1.15;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 68px;
  padding: 26px 18px;
  background: rgba(255, 250, 241, 0.56);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics article {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
}

.metrics article + article {
  border-left: 1px dashed rgba(15, 26, 18, 0.24);
}

.metrics strong {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
}

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

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  margin-top: 74px;
  padding: 42px 30px;
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
}

.footer-mark {
  color: var(--accent);
}

.footer-brand p {
  max-width: 32ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-note {
  color: rgba(255, 255, 255, 0.72);
}

.footer-column h3 {
  margin: 0 0 16px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.social-grid {
  display: flex;
  gap: 10px;
}

.social-grid a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.social-grid a:hover,
.arrow-button:hover,
.button:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5edd8 0%, #efe5d0 100%);
}

.admin-shell {
  width: min(calc(100% - 32px), 1380px);
  margin: 24px auto 48px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.admin-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-header h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 1;
}

.admin-intro {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
}

.admin-list-card,
.admin-form-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.admin-bookings-card {
  margin-top: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.admin-users-card {
  margin-top: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.admin-audit-card {
  margin-top: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.admin-users-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
}

.admin-users-list-card,
.admin-users-form-card {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.audit-log-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.audit-log-item {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.audit-log-head,
.audit-log-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audit-log-head strong {
  font-size: 1rem;
}

.audit-log-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.audit-log-meta {
  margin-top: 14px;
  flex-wrap: wrap;
}

.audit-log-meta span,
.audit-log-head small {
  color: rgba(15, 26, 18, 0.56);
}

.property-summary-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.property-summary-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.property-summary-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.property-summary-head strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.property-summary-head span,
.property-summary-card p,
.property-summary-metrics small {
  color: var(--muted);
}

.property-summary-card p {
  margin: 10px 0 0;
}

.property-summary-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px;
}

.booking-filters {
  display: grid;
  grid-template-columns: 220px 220px minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.admin-list-head,
.admin-form-head,
.admin-actions,
.admin-bookings-head,
.admin-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-list-head h2,
.admin-form-head h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
}

.admin-bookings-head h2 {
  margin: 6px 0 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-list-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
}

.admin-list-item.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(224, 114, 40, 0.35);
}

.admin-list-item strong {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.admin-list-item span,
.admin-list-item small {
  color: var(--muted);
}

.admin-form-head {
  margin-bottom: 8px;
}

.admin-preview {
  margin-top: 22px;
}

.gallery-manager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.gallery-empty-state,
.gallery-manager-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.gallery-empty-state {
  grid-column: 1 / -1;
  padding: 22px;
}

.gallery-empty-state strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.gallery-empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-manager-card {
  overflow: hidden;
}

.gallery-manager-media {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(12, 18, 14, 0.02), rgba(12, 18, 14, 0.18)),
    var(--gallery-preview, linear-gradient(135deg, #efe7db, #d8ccb8));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery-manager-body {
  padding: 16px;
}

.gallery-manager-body strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.gallery-manager-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  word-break: break-word;
}

.gallery-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  align-items: center;
}

.upload-row input[type="file"] {
  flex: 1;
  min-width: 220px;
}

.upload-button {
  white-space: nowrap;
}

.availability-card {
  margin-top: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.availability-head,
.availability-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.availability-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.availability-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.availability-nav strong {
  min-width: 180px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.availability-weekdays,
.availability-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.availability-weekdays {
  margin-top: 18px;
}

.availability-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.56);
}

.availability-grid {
  margin-top: 10px;
}

.calendar-spacer {
  min-height: 86px;
}

.calendar-day {
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  text-align: left;
  cursor: pointer;
}

.calendar-day:disabled {
  cursor: default;
  opacity: 1;
}

.calendar-day strong,
.calendar-day small {
  display: block;
}

.calendar-day strong {
  font-size: 1rem;
}

.calendar-day small {
  margin-top: 22px;
  color: var(--muted);
}

.calendar-day.is-blocked {
  background: rgba(224, 114, 40, 0.14);
  border-color: rgba(224, 114, 40, 0.4);
}

.calendar-day.is-blocked small {
  color: #9e3d17;
}

.calendar-day.is-reserved {
  background: rgba(29, 52, 38, 0.12);
  border-color: rgba(29, 52, 38, 0.36);
}

.calendar-day.is-reserved small {
  color: var(--forest);
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(29, 52, 38, 0.42);
}

.preview-card {
  flex: 1;
  padding: 18px;
  border: 1px solid rgba(29, 52, 38, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.preview-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.preview-swatch {
  min-height: 132px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(12, 18, 14, 0.02), rgba(12, 18, 14, 0.18)),
    var(--preview-image, linear-gradient(135deg, #efe7db, #d8ccb8));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.preview-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.admin-actions {
  justify-content: flex-start;
  margin-top: 22px;
}

.booking-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.booking-metrics article,
.booking-admin-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.booking-metrics article {
  padding: 18px;
}

.booking-metrics span,
.booking-admin-grid span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 26, 18, 0.56);
}

.booking-metrics strong {
  display: block;
  margin-top: 10px;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.booking-board {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.booking-admin-card {
  padding: 20px;
}

.booking-admin-head,
.booking-admin-foot,
.booking-admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.booking-admin-head strong {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
}

.booking-admin-property {
  margin: 0;
  color: var(--muted);
}

.booking-admin-status {
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-admin-status.is-pending {
  background: rgba(224, 114, 40, 0.14);
  color: #9e3d17;
}

.booking-admin-status.is-confirmed {
  background: rgba(29, 52, 38, 0.12);
  color: var(--forest);
}

.booking-admin-status.is-cancelled {
  background: rgba(15, 26, 18, 0.08);
  color: rgba(15, 26, 18, 0.72);
}

.booking-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.booking-admin-grid p,
.booking-admin-message {
  margin: 0;
}

.booking-admin-grid strong {
  display: block;
  margin-top: 8px;
}

.booking-admin-message {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.booking-admin-foot {
  margin-top: 18px;
  align-items: flex-end;
}

.booking-admin-foot small {
  color: var(--muted);
}

.booking-admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(224, 114, 40, 0.18), transparent 24%),
    linear-gradient(180deg, #f5edd8 0%, #efe5d0 100%);
}

.login-shell {
  width: min(calc(100% - 24px), 540px);
}

.login-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.login-copy {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .hero-header,
  .about,
  .property-detail,
  .admin-layout,
  .admin-users-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-counter {
    top: 176px;
  }

  .thumbnail-track,
  .metrics,
  .trust-band,
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-card {
    position: static;
  }

  .admin-header {
    flex-direction: column;
    align-items: start;
  }

  .admin-header-actions {
    flex-wrap: wrap;
  }

  .booking-metrics,
  .booking-admin-grid,
  .availability-grid,
  .property-summary-board,
  .booking-filters,
  .detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-weekdays {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page {
    width: min(calc(100% - 16px), var(--max-width));
    margin-top: 8px;
  }

  .hero-media {
    min-height: 820px;
    padding: 18px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding-top: 0;
  }

  .book-link {
    padding-top: 0;
  }

  .hero-dots {
    justify-content: flex-start;
    margin-top: 30px;
  }

  .hero-counter {
    position: static;
    margin-top: 16px;
  }

  .booking-metrics,
  .booking-admin-grid,
  .property-summary-board,
  .booking-filters,
  .detail-gallery,
  .trust-band,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .availability-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .availability-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .availability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .availability-weekdays {
    display: none;
  }

  .booking-admin-head,
  .booking-admin-foot,
  .audit-log-head,
  .audit-log-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-admin-actions {
    justify-content: flex-start;
  }

  .hero-card,
  .hero-arrows {
    left: 18px;
    right: 18px;
  }

  .hero-card {
    width: auto;
    bottom: 92px;
  }

  .hero-arrows {
    bottom: 18px;
    justify-content: flex-end;
  }

  .hero-actions {
    flex-direction: column;
  }

  .thumbnail-track,
  .metrics,
  .detail-meta,
  .field-row {
    grid-template-columns: 1fr;
  }

  .about {
    margin-top: 54px;
  }

  .about-visual {
    min-height: 420px;
  }

  .footer {
    margin-top: 54px;
    padding: 30px 20px;
  }
}
