:root {
  --ink: #171614;
  --muted: #6d675e;
  --line: #ded5c6;
  --paper: #f8f4ec;
  --cream: #efe7d8;
  --stone: #c9bca8;
  --white: #fffdf8;
  --dark: #25221d;
  --sage: #697165;
  --success: #315d42;
  --danger: #8c342e;
  --shadow: 0 18px 60px rgba(31, 28, 23, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(23, 22, 20, 0.08);
  background: rgba(248, 244, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #f7f3ee;
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, 42px);
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--white);
}

.language-switch button {
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button.active {
  background: var(--dark);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 72svh;
  max-height: 820px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.hero-media.is-video {
  overflow: hidden;
  transform: none;
  animation: none;
}

.hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78svh);
  height: max(56.25vw, 100svh);
  border: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 14, 11, 0.88) 0%, rgba(16, 14, 11, 0.58) 50%, rgba(16, 14, 11, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 14, 11, 0.62) 0%, rgba(16, 14, 11, 0.12) 54%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 22px;
  width: min(720px, calc(100% - 36px));
  min-height: 72svh;
  margin-left: clamp(18px, 7vw, 96px);
  padding: 64px 0;
}

.kicker {
  margin: 0;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #e9ddc8;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.48);
}

.hero p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: #f7efe2;
  font-size: 1.08rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
}

.hero-actions,
.form-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button.light {
  border-color: rgba(255, 253, 248, 0.8);
  color: var(--white);
}

.hero-sound-toggle {
  gap: 10px;
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.58);
  backdrop-filter: blur(12px);
}

.hero-sound-toggle[hidden] {
  display: none;
}

.hero-sound-icon {
  position: relative;
  width: 18px;
  height: 16px;
  border-left: 6px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.hero-sound-icon::before,
.hero-sound-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  border: 1.5px solid currentColor;
  border-left: 0;
  border-top-color: transparent;
  border-bottom-color: transparent;
  transform: translateY(-50%);
}

.hero-sound-icon::before {
  left: 5px;
  width: 7px;
  height: 9px;
  border-radius: 0 12px 12px 0;
}

.hero-sound-icon::after {
  left: 10px;
  width: 11px;
  height: 14px;
  border-radius: 0 16px 16px 0;
}

.hero-sound-toggle[aria-pressed="false"] .hero-sound-icon::after {
  left: 7px;
  width: 14px;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.button.dark {
  background: var(--dark);
  color: var(--white);
}

.button.ghost {
  border-color: var(--line);
  color: var(--muted);
}

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

.booking-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1px;
  max-width: min(1180px, calc(100% - 36px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.booking-strip > * {
  display: grid;
  align-content: center;
  min-height: 86px;
  padding: 18px;
  background: var(--white);
}

.booking-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-strip strong {
  font-size: 1.02rem;
}

.booking-strip .button {
  height: 100%;
  min-width: 170px;
}

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

.section.tone {
  width: 100%;
  padding: 92px max(18px, calc((100% - 1180px) / 2));
  background: var(--cream);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.about-copy h2,
.admin-topbar h1 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.about-copy h2 {
  font-size: 2.25rem;
  line-height: 1.08;
}

.section-heading p:not(.kicker),
.about-copy p,
.about-body li {
  color: var(--muted);
  margin: 0;
}

.about-body {
  display: grid;
  gap: 14px;
}

.about-body h3 {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.2;
}

.about-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.resort-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.resort-card {
  position: relative;
  display: block;
  min-height: 560px;
  overflow: hidden;
  border: 0;
  background: var(--dark);
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.resort-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.16) 0%, rgba(12, 11, 9, 0.54) 52%, rgba(12, 11, 9, 0.82) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, 0.54) 0%, rgba(12, 11, 9, 0.16) 100%);
  transition: opacity 180ms ease;
}

.resort-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.02) saturate(0.98) contrast(1) brightness(0.78);
  transform: scale(1.02);
  transition: filter 220ms ease, transform 220ms ease;
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resort-card:hover img,
.resort-card:focus-visible img {
  filter: grayscale(0) saturate(1.28) contrast(1.06) brightness(1);
  transform: scale(1.06);
}

.resort-card:hover::after,
.resort-card:focus-visible::after {
  opacity: 0.58;
}

.offer-card:hover img {
  filter: saturate(0.82) contrast(1.04);
}

.resort-card-body {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: inherit;
  gap: 14px;
  padding: 22px;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.offer-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.resort-card h3,
.offer-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.resort-title-status {
  display: block;
  margin-top: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resort-card p,
.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.resort-card p {
  color: rgba(255, 253, 248, 0.86);
}

.resort-location {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resort-card .pill {
  min-height: 0;
  padding: 0;
  border: 0;
  color: rgba(255, 253, 248, 0.9);
  font-weight: 700;
}

.resort-card .meta-row:last-child {
  margin-top: 4px;
}

.resort-card .meta-row:last-child .pill {
  color: rgba(255, 253, 248, 0.9);
  font-weight: 700;
}

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

.offer-card {
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.split,
.payment-section,
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(31, 28, 23, 0.08);
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

textarea {
  resize: vertical;
}

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

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--success);
  font-size: 0.9rem;
}

.form-status.error {
  color: var(--danger);
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
}

.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photos img:first-child {
  grid-row: 1 / 3;
}

.about-copy {
  align-self: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--ink);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--dark);
}

.footer span:first-child,
.footer a {
  color: var(--white);
}

.resort-dialog {
  width: min(1080px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.resort-dialog::backdrop {
  background: rgba(23, 22, 20, 0.72);
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(23, 22, 20, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.detail-hero {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: 32px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  position: relative;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(23, 22, 20, 0.9) 0%, rgba(23, 22, 20, 0.62) 48%, rgba(23, 22, 20, 0.34) 100%),
    linear-gradient(90deg, rgba(23, 22, 20, 0.72) 0%, rgba(23, 22, 20, 0.32) 58%, rgba(23, 22, 20, 0.08) 100%);
}

.detail-hero > * {
  position: relative;
  z-index: 1;
}

.detail-hero h2 {
  max-width: 720px;
  margin: 8px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.52);
}

.detail-hero .kicker,
.detail-hero p {
  color: #f3e7d6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
}

.detail-body {
  display: grid;
  gap: 28px;
  padding: 28px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 24px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
}

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

.room-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  min-height: 150px;
  border: 1px solid var(--line);
  background: var(--white);
}

.room-card img {
  width: 120px;
  height: 100%;
  object-fit: cover;
}

.room-card div {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px 12px 12px 0;
}

.room-card h4,
.admin-card h3,
.metric strong {
  margin: 0;
}

.video-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-links a {
  border-bottom: 1px solid var(--ink);
  font-weight: 700;
}

.text-link {
  width: max-content;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking-body {
  background: var(--paper);
}

.booking-page {
  display: grid;
  gap: 0;
}

.booking-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 6vw, 84px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 42px;
  align-items: end;
}

.booking-hero-panel h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.booking-hero-panel p:not(.kicker),
.booking-hero-card p {
  margin: 0;
  color: var(--muted);
}

.booking-hero-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.booking-hero-card span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.booking-engine-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 56px;
  align-items: start;
}

.booking-controls {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 18px;
}

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

.quote-card {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.quote-card p,
.quote-card span {
  margin: 0;
  color: var(--muted);
}

.quote-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.booking-results-panel {
  display: grid;
  gap: 18px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.booking-room-grid {
  display: grid;
  gap: 14px;
}

.booking-room-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 190px;
  gap: 18px;
  min-height: 210px;
  border: 1px solid var(--line);
  background: var(--white);
}

.booking-room-card.selected {
  border-color: var(--ink);
  box-shadow: 0 10px 34px rgba(31, 28, 23, 0.1);
}

.booking-room-card img {
  width: 230px;
  height: 100%;
  object-fit: cover;
}

.booking-room-copy,
.booking-room-price {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px 0;
}

.booking-room-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 400;
}

.booking-room-copy p,
.booking-room-price span {
  margin: 0;
  color: var(--muted);
}

.booking-room-price {
  justify-items: start;
  padding-right: 18px;
}

.booking-room-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 400;
}

.selected-package {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.selected-package span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selected-package strong {
  font-size: 1rem;
}

.selected-package p {
  margin: 0;
  color: var(--muted);
}

.villa-detail-body {
  background: var(--paper);
}

.villa-page {
  display: grid;
  gap: 0;
}

.villa-hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.villa-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02) brightness(0.82);
}

.villa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 14, 0.84) 0%, rgba(18, 17, 14, 0.48) 48%, rgba(18, 17, 14, 0.12) 100%),
    linear-gradient(0deg, rgba(18, 17, 14, 0.64) 0%, rgba(18, 17, 14, 0.08) 62%);
}

.villa-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 20px;
  width: min(720px, calc(100% - 36px));
  min-height: 78svh;
  margin-left: clamp(18px, 7vw, 96px);
  padding: 76px 0;
}

.villa-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);
}

.villa-hero p:not(.kicker) {
  max-width: 620px;
  margin: 0;
  color: #f7efe2;
  font-size: 1.12rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
}

.villa-quick-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.villa-quick-strip > * {
  display: grid;
  align-content: center;
  min-height: 94px;
  padding: 18px;
  background: var(--white);
}

.villa-quick-strip span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.villa-quick-strip strong {
  font-size: 1rem;
}

.villa-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.villa-intro h2,
.villa-media-copy h2,
.villa-room-section h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.villa-intro-copy {
  display: grid;
  gap: 14px;
}

.villa-intro-copy p,
.villa-media-copy p,
.villa-room-tile p,
.villa-feature-grid p {
  margin: 0;
  color: var(--muted);
}

.villa-media-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  min-height: 620px;
  background: var(--cream);
}

.villa-media-band-flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
}

.villa-media-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(42px, 7vw, 96px);
}

.villa-media-band > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.villa-media-band-flip > img {
  grid-column: 1;
  grid-row: 1;
}

.villa-media-band-flip .villa-media-copy {
  grid-column: 2;
}

.accommodation-section {
  display: grid;
  gap: 34px;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.accommodation-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
  min-height: 270px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.accommodation-card.selected,
.accommodation-card:hover {
  border-color: var(--ink);
  box-shadow: 0 18px 42px rgba(31, 28, 23, 0.12);
  transform: translateY(-2px);
}

.accommodation-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.accommodation-card-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(20px, 2.3vw, 30px);
  background: var(--white);
}

.accommodation-card h3,
.accommodation-detail-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.accommodation-card h3 {
  font-size: 2rem;
  line-height: 1;
}

.accommodation-card p,
.accommodation-detail-copy p {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

.accommodation-card .form-actions {
  margin-top: 4px;
}

.accommodation-detail {
  width: 100%;
  padding-left: max(18px, calc((100% - 1180px) / 2));
  padding-right: max(18px, calc((100% - 1180px) / 2));
  background: var(--cream);
}

.accommodation-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.accommodation-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.accommodation-detail-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.accommodation-detail-gallery img:first-child {
  grid-column: 1 / -1;
  height: 460px;
}

.accommodation-detail-copy {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(31, 28, 23, 0.1);
}

.accommodation-detail-copy h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.9rem);
  line-height: 0.96;
}

.accommodation-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.accommodation-spec-grid span {
  display: grid;
  gap: 7px;
  min-height: 94px;
  align-content: center;
  padding: 16px;
  background: var(--paper);
}

.accommodation-spec-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accommodation-spec-grid strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.villa-room-section {
  display: grid;
  gap: 26px;
}

.villa-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.villa-room-tile,
.villa-feature-grid article {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}

.villa-room-tile img,
.villa-feature-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.villa-room-tile div,
.villa-feature-grid article div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.villa-room-tile h3,
.villa-feature-grid h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

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

.booking-request-section,
.booking-payment-section {
  border-top: 1px solid var(--line);
}

.admin-body {
  background: var(--cream);
}

.admin-shell {
  min-height: 100svh;
}

.hidden {
  display: none !important;
}

.photo-enlarge {
  cursor: zoom-in;
}

.photo-enlarge:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 42px);
  background: rgba(18, 17, 14, 0.94);
}

.photo-lightbox[hidden] {
  display: none !important;
}

.photo-lightbox-open {
  overflow: hidden;
}

.photo-lightbox-frame {
  display: grid;
  max-width: min(96vw, 1680px);
  max-height: calc(100svh - 84px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

.photo-lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 84px);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.photo-lightbox-close {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 253, 248, 0.48);
  background: rgba(23, 22, 20, 0.82);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.login-view {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(440px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-panel .login-logo {
  width: min(260px, 78%);
  height: auto;
  justify-self: center;
  object-fit: contain;
}

.login-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.login-panel p,
.login-panel small {
  margin: 0;
  color: var(--muted);
}

.login-panel form {
  display: grid;
  gap: 14px;
}

.admin-view {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--dark);
  color: var(--white);
}

.admin-brand img {
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-brand small,
.admin-sidebar .button {
  color: #d7cdbd;
}

.admin-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-tabs button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #d7cdbd;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.admin-tabs button.active,
.admin-tabs button:hover {
  background: var(--white);
  color: var(--ink);
}

.admin-main {
  padding: 30px;
}

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

.admin-topbar h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.admin-panel {
  display: grid;
  gap: 18px;
}

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

.admin-card,
.editor-block {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
}

.metric {
  display: grid;
  gap: 8px;
  min-height: 118px;
}

.metric span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.progress {
  height: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.progress i {
  display: block;
  height: 100%;
  background: var(--sage);
}

.editor-block {
  display: grid;
  gap: 14px;
}

.editor-block h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

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

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

.mini-list {
  display: grid;
  gap: 10px;
}

.row-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.row-item > .button {
  justify-self: start;
}

.row-item p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td input,
td select,
td textarea {
  min-width: 180px;
}

@keyframes slowDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-18px, -10px, 0);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .resort-card {
    min-height: 470px;
  }

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

  .booking-engine-layout,
  .booking-room-card {
    grid-template-columns: 1fr;
  }

  .booking-controls {
    position: static;
  }

  .booking-room-card img {
    width: 100%;
    height: 260px;
  }

  .villa-quick-strip,
  .villa-intro,
  .villa-media-band,
  .villa-media-band-flip {
    grid-template-columns: 1fr 1fr;
  }

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

  .booking-room-copy,
  .booking-room-price {
    padding: 0 18px 18px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    gap: 12px;
  }

  .brand small {
    white-space: normal;
  }

  .hero,
  .hero-overlay {
    min-height: 68svh;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .booking-strip,
  .booking-hero-panel,
  .villa-quick-strip,
  .villa-intro,
  .accommodation-detail-shell,
  .villa-media-band,
  .villa-media-band-flip,
  .split,
  .payment-section,
  .about-section,
  .detail-grid,
  .admin-view,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .booking-strip {
    margin-top: 0;
  }

  .booking-strip .button {
    min-width: 0;
  }

  .villa-media-band-flip > img,
  .villa-media-band-flip .villa-media-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .offer-grid,
  .room-grid,
  .villa-room-grid,
  .accommodation-grid,
  .villa-feature-grid,
  .form-row,
  .form-row.two,
  .gallery-grid,
  .about-photos,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .accommodation-card {
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  }

  .about-photos {
    grid-template-rows: repeat(3, 220px);
  }

  .about-photos img:first-child {
    grid-row: auto;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-topbar {
    display: grid;
  }

  .accommodation-detail-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1rem;
  }

  .language-switch {
    grid-template-columns: repeat(3, 36px);
  }

  .nav-links {
    gap: 14px;
    font-size: 0.76rem;
  }

  .hero-overlay {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .villa-hero,
  .villa-hero-copy {
    min-height: 68svh;
  }

  .villa-hero-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .villa-hero h1 {
    font-size: 4rem;
  }

  .section,
  .section.tone,
  .booking-hero-panel,
  .villa-intro {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .villa-media-copy {
    padding: 42px 18px;
  }

  .booking-engine-layout {
    width: min(100% - 28px, 1180px);
  }

  .booking-hero-panel h1 {
    font-size: 3rem;
  }

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

  .accommodation-card {
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
    min-height: 0;
  }

  .accommodation-card img {
    min-height: 240px;
  }

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

  .accommodation-detail-gallery img,
  .accommodation-detail-gallery img:first-child {
    grid-column: auto;
    height: 240px;
  }

  .accommodation-spec-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    grid-template-columns: 1fr;
  }

  .room-card img {
    width: 100%;
    height: 180px;
  }

  .room-card div {
    padding: 12px;
  }
}
