:root {
  --ink: #151325;
  --muted: #696374;
  --line: #e9e4ee;
  --paper: #fbfafc;
  --aqua: #2a9fc3;
  --violet: #7a2eb8;
  --magenta: #c42ca7;
  --gold: #ad8751;
  --night: #12182b;
  --soft: #f5f2f7;
  --shadow: 0 24px 70px rgba(18, 24, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1720px;
  min-height: 112px;
  padding: 14px clamp(18px, 3vw, 54px);
}

.nav img {
  display: block;
  height: clamp(82px, 6.2vw, 112px);
  width: auto;
}

.nav-links,
.language-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 34px);
}

.nav-links a,
.language-links a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.language-links {
  gap: 18px;
}

.language-links a[aria-current="true"] {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
}

.hero {
  min-height: calc(100vh - 112px);
  overflow: hidden;
  padding: clamp(46px, 6vw, 96px) clamp(18px, 5vw, 96px);
  position: relative;
}

.hero-bg {
  animation: livingHero 18s ease-in-out infinite alternate;
  background: var(--page-bg-image, url("/assets/hero/luxury-wellness-clean-hero.png")) center / cover no-repeat;
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 18, 34, 0.72), rgba(13, 18, 34, 0.36) 42%, rgba(13, 18, 34, 0.06) 78%),
    linear-gradient(0deg, rgba(18, 24, 43, 0.24), rgba(18, 24, 43, 0.10));
  inset: 0;
  position: absolute;
  z-index: 1;
}

@keyframes livingHero {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  margin: 0 auto;
  max-width: 1580px;
  min-height: calc(100vh - 260px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  color: #fff;
  max-width: 820px;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1;
  margin: 18px 0 22px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.04;
  margin: 0 0 14px;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.claim {
  color: inherit;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: none;
}

.hero .claim {
  color: #fff;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 23px);
  max-width: 780px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.normal-case {
  letter-spacing: 0;
  text-transform: none;
}

.glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  border-radius: 8px;
  padding: 28px;
}

.hero-panel p {
  margin: 12px 0;
}

.hero-search-panel {
  align-self: center;
  background: rgba(255, 255, 255, var(--home-panel-opacity, 0.28));
  display: grid;
  min-height: 540px;
  place-content: center;
}

.search-mark {
  background: transparent;
  height: 112px;
  margin-bottom: 18px;
  width: 112px;
}

.hero-search {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 18px;
  padding: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button,
button {
  align-items: center;
  background: linear-gradient(100deg, var(--magenta), var(--aqua));
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  letter-spacing: 0;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  text-transform: none;
}

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

.band {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 88px) clamp(18px, 4vw, 72px);
}

.band-inner {
  margin: 0 auto;
  max-width: 1580px;
}

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

.guide-head {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.65fr) minmax(320px, 1fr);
}

.home-search {
  background: rgba(255, 255, 255, var(--home-panel-opacity, 0.28));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 230px;
  margin: 0;
  padding: 0;
}

.home-search input,
.home-search button {
  border-radius: 0;
  min-height: 64px;
}

.hero-search input,
.hero-search select {
  background: rgba(255, 255, 255, 0.58);
}

.home-search input {
  background: rgba(255, 255, 255, 0.42);
}

.hotel-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  place-items: stretch center;
}

.hotel-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(196, 44, 167, 0.20), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(42, 159, 195, 0.20), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f7f4f9 44%, #ece6f1 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 310px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  box-shadow: 0 18px 40px rgba(18, 24, 43, 0.12);
  width: min(100%, 420px);
}

.hotel-card:nth-child(2n) {
  background:
    radial-gradient(circle at 88% 0%, rgba(42, 159, 195, 0.22), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(173, 135, 81, 0.20), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f5f7fa 48%, #e9edf3 100%);
}

.hotel-card:nth-child(3n) {
  background:
    radial-gradient(circle at 22% 8%, rgba(122, 46, 184, 0.18), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(173, 135, 81, 0.22), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #f8f5f2 48%, #efe8df 100%);
}

.hotel-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  min-height: 270px;
  text-decoration: none;
}

.hotel-card h3,
.hotel-card .muted,
.hotel-card .meta {
  position: relative;
  z-index: 1;
}

.hotel-card .muted,
.hotel-card .meta {
  color: var(--muted);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  margin: 10px 0 0;
}

.pill {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--violet);
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: auto;
  padding: 6px 9px;
  text-transform: none;
  width: fit-content;
}

.wip-watermark::after {
  color: rgba(122, 46, 184, 0.08);
  content: "WORK IN PROGRESS";
  font-size: 30px;
  font-weight: 900;
  inset: auto 12px 10px auto;
  position: absolute;
  transform: rotate(-8deg);
}

.detail {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.fact-list,
form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fact-list {
  padding: 22px;
}

.fact-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}

.fact-list dd {
  margin: 4px 0 16px;
  overflow-wrap: anywhere;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 24px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
}

.contact-form {
  margin-top: 0;
}

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

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 750;
  gap: 6px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid #d9d1e3;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.check {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 20px 1fr;
}

.check input {
  min-height: auto;
}

.notice {
  background: #f8f5fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
}

.owner-page,
.backend-page {
  background: #f6f3ef;
  min-height: 100vh;
}

.owner-landing,
.backend-landing {
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(18px, 3vw, 46px);
  position: relative;
}

.owner-landing::before,
.backend-landing::before {
  background: var(--portal-bg-image, url("/assets/hero/luxury-wellness-clean-hero.png")) 28% center / cover no-repeat;
  content: "";
  inset: 0;
  opacity: var(--portal-bg-opacity, 0.82);
  position: absolute;
}

.owner-landing::after,
.backend-landing::after {
  background:
    linear-gradient(90deg, rgba(246, 243, 239, 0.74), rgba(246, 243, 239, 0.56) 44%, rgba(246, 243, 239, 0.22)),
    linear-gradient(0deg, rgba(18, 24, 43, 0.12), rgba(255, 255, 255, 0.10));
  content: "";
  inset: 0;
  position: absolute;
}

.owner-frame,
.backend-frame {
  display: grid;
  gap: clamp(38px, 6vw, 88px);
  margin: 0 auto;
  max-width: 1480px;
  min-height: calc(100vh - clamp(36px, 6vw, 92px));
  position: relative;
  z-index: 1;
}

.owner-topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.owner-topbar img {
  display: block;
  height: clamp(44px, 5vw, 66px);
  width: auto;
}

.owner-topbar span,
.owner-meta span {
  color: rgba(21, 19, 37, 0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.owner-layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 88px);
  grid-template-columns: minmax(520px, 1fr) minmax(380px, 540px);
  padding-bottom: clamp(18px, 4vw, 64px);
}

.owner-copy {
  max-width: 760px;
}

.owner-copy h1 {
  font-size: clamp(52px, 6.4vw, 108px);
  margin-bottom: 26px;
}

.owner-copy .lead {
  color: rgba(21, 19, 37, 0.78);
  font-size: clamp(19px, 1.6vw, 25px);
}

.owner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.owner-meta span {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 999px;
  padding: 9px 12px;
}

.owner-form,
.design-form {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: 0 30px 90px rgba(18, 24, 43, 0.18);
  margin-top: 0;
  padding: clamp(22px, 3vw, 36px);
}

.owner-form-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.owner-form-head h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 0;
}

.owner-form label,
.design-form label {
  color: rgba(21, 19, 37, 0.72);
}

.owner-form input,
.owner-form textarea,
.owner-form select,
.design-form input,
.design-form select,
.design-form textarea {
  background: rgba(255, 255, 255, 0.86);
}

.owner-form textarea {
  min-height: 240px;
}

.owner-notice {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  margin-top: 24px;
  max-width: 620px;
}

.field-counter {
  color: rgba(21, 19, 37, 0.60);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin: -8px 0 0;
  text-align: right;
  text-transform: none;
}

.field-counter.is-over {
  color: #a80f39;
}

.backend-hero {
  display: block;
  text-align: center;
}

.backend-hero h1 {
  font-size: clamp(56px, 7vw, 104px);
}

.backend-hero .claim {
  font-size: 14px;
}

.backend-help {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: rgba(21, 19, 37, 0.72);
  max-width: 980px;
  padding: 14px;
}

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

.backend-card {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 24, 43, 0.12);
  color: var(--ink);
  padding: 24px;
  text-decoration: none;
}

.backend-card span {
  color: rgba(21, 19, 37, 0.72);
  display: block;
  font-size: 14px;
}

.backend-card strong {
  display: block;
  font-size: clamp(56px, 6vw, 86px);
  line-height: 1;
  margin-top: 10px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -40px 0 0;
}

.tabs a {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 14px;
  text-decoration: none;
}

.tabs a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.backend-table-wrap {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(18, 24, 43, 0.14);
  overflow: auto;
}

.backend-table-wrap table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.backend-table-wrap th,
.backend-table-wrap td {
  border-bottom: 1px solid rgba(21, 19, 37, 0.08);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.backend-table-wrap th {
  color: rgba(21, 19, 37, 0.58);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.source-monitor,
.secondary-links {
  margin-top: 34px;
}

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

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

.link-card a {
  font-weight: 850;
  text-decoration: none;
}

.photo-page {
  background: #f6f3ef;
  min-height: calc(100vh - 96px);
  overflow: hidden;
  position: relative;
}

.photo-page::before {
  background: var(--page-bg-image, var(--portal-bg-image, url("/assets/hero/luxury-wellness-clean-hero.png"))) center / cover fixed;
  content: "";
  inset: 0;
  opacity: var(--page-bg-opacity, var(--portal-bg-opacity, 0.82));
  position: absolute;
}

.photo-page::after {
  background: linear-gradient(90deg, rgba(246, 243, 239, 0.84), rgba(246, 243, 239, 0.58));
  content: "";
  inset: 0;
  position: absolute;
}

.photo-page-inner {
  padding-top: clamp(42px, 6vw, 86px);
  position: relative;
  z-index: 1;
}

.bot-panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px;
}

.bot-status {
  align-items: center;
  display: flex;
  gap: 16px;
}

.bot-status h2 {
  margin-bottom: 0;
}

.bot-light {
  border-radius: 999px;
  display: block;
  height: 22px;
  width: 22px;
}

.bot-light.green {
  animation: pulseGreen 1s ease-in-out infinite;
  background: #16c784;
  box-shadow: 0 0 0 8px rgba(22, 199, 132, 0.16);
}

.bot-light.red {
  background: #d91f45;
  box-shadow: 0 0 0 8px rgba(217, 31, 69, 0.16);
}

.bot-light.idle {
  background: #ad8751;
  box-shadow: 0 0 0 8px rgba(173, 135, 81, 0.12);
}

@keyframes pulseGreen {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.bot-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.bot-metrics span {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: rgba(21, 19, 37, 0.68);
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
  text-transform: none;
}

.bot-metrics strong {
  color: var(--ink);
  margin-left: 5px;
}

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

.inline-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 10px 0 0;
  padding: 0;
}

.inline-form button {
  min-height: 38px;
  padding: 0 14px;
}

.background-controls {
  opacity: 0.88;
}

.prose-page {
  max-width: 980px;
}

.prose-page p:not(.claim):not(.lead) {
  color: rgba(21, 19, 37, 0.78);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.75;
  margin: 0 0 24px;
}

.backend-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.backend-nav a {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 14px;
  text-decoration: none;
}

.backend-nav a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

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

.asset-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  overflow: hidden;
}

.asset-card img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

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

.compact-design-form {
  padding: 18px;
}

.reserved-table {
  margin-top: 18px;
}

.backend-section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.backend-section-head h2 {
  margin-bottom: 0;
}

.search-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 24px;
  padding: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 28px 20px;
  text-align: center;
}

@media (max-width: 1180px) {
  .hotel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .backend-forms-grid,
  .link-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .detail,
  .form-grid,
  .guide-head,
  .home-search,
  .contact-layout,
  .owner-layout,
  .backend-hero {
    grid-template-columns: 1fr;
  }

  .bot-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 720px;
  }

  .hero-grid {
    align-items: center;
    min-height: 560px;
  }

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

  .owner-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-copy h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .backend-hero h1 {
    font-size: clamp(56px, 18vw, 94px);
  }
}
