:root {
  --ink: #0b1b33;
  --ink-soft: #4a5d73;
  --paper: #f2f7fc;
  --paper-2: #e6eef7;
  --sky: #0088f8;
  --navy: #002078;
  --sun: #0088f8;
  --leaf: #002078;
  --leaf-deep: #00185c;
  --ok: #0070d2;
  --danger: #c0392b;
  --radius: 14px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(0, 32, 120, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  line-height: 1.5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 8% -8%, rgba(0, 136, 248, 0.18), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(0, 32, 120, 0.08), transparent 52%),
    linear-gradient(165deg, #eaf4ff 0%, var(--paper) 45%, #edf2f8 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  pointer-events: none;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 40px) 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  padding-top: 6px;
}
.brand-logo {
  width: clamp(120px, 26vw, 160px);
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
}

.explore {
  display: grid;
  gap: 36px;
  animation: rise 0.55s ease both;
}

/* ---- Landing page ---- */
body.is-landing {
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(0, 136, 248, 0.22), transparent 60%),
    radial-gradient(800px 480px at 92% 72%, rgba(0, 88, 200, 0.2), transparent 58%),
    linear-gradient(180deg, #071528 0%, #0b1b33 38%, #0e2748 72%, #0a1a32 100%);
}
body.is-landing .atmosphere {
  display: none;
}
body.is-landing .top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 22px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(11, 27, 51, 0.55), transparent);
}
body.is-landing .brand-logo {
  filter: none !important;
  background: transparent;
  opacity: 1;
}
body.is-landing .top-nav a,
body.is-landing .top-nav button {
  color: rgba(255, 255, 255, 0.9);
}
body.is-landing .top-nav .nav-profile {
  color: #fff;
}
body.is-landing .top-nav .ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
body.is-landing .app {
  width: 100%;
  margin: 0;
  max-width: none;
}
body.is-landing .foot {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.is-landing .site-foot img {
  filter: none !important;
  opacity: 1;
}

.landing {
  display: block;
}
.landing-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.landing-hero-media,
.landing-hero-shade {
  position: absolute;
  inset: 0;
}
.landing-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  animation: landing- ken 18s ease-in-out alternate infinite;
}
.landing-hero-shade {
  background:
    linear-gradient(180deg, rgba(11, 27, 51, 0.35) 0%, rgba(11, 27, 51, 0.2) 35%, rgba(11, 27, 51, 0.78) 100%),
    linear-gradient(90deg, rgba(11, 27, 51, 0.45), transparent 55%);
  pointer-events: none;
}
.landing-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 40px;
  animation: rise 0.7s ease both;
}
.landing-brand {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 0.95;
  color: #fff;
}
.landing-brand-logo {
  display: block;
  width: min(380px, 72vw);
  height: auto;
  margin: 0 0 36px;
  border-radius: 0;
  background: transparent;
  filter: none !important;
  opacity: 1;
}
.landing-hero h1 {
  margin: 0 0 12px;
  max-width: 16ch;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}
.landing-lead {
  margin: 0 0 28px;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}
.landing-search {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr auto;
  gap: 10px;
  align-items: end;
  width: min(920px, 100%);
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  animation: rise 0.85s ease both;
}
.landing-search-field {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}
.landing-search-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  color-scheme: dark;
}
.landing-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.landing-search-field input:focus {
  outline: 2px solid rgba(0, 136, 248, 0.45);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.22);
}
.landing-search .btn {
  height: 44px;
  white-space: nowrap;
}
.landing-scroll {
  display: inline-flex;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.landing-scroll:hover {
  color: #fff;
}

.landing-section {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 8px;
  color: var(--ink);
}
.landing-section:last-child {
  padding-bottom: 72px;
}
.landing-section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #fff;
}
.landing-section-lead {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 42ch;
}
.landing-section .section-head h2 { color: #fff; }
.landing-section .section-count { color: rgba(255, 255, 255, 0.55); }
.landing-section .property-card .muted {
  color: var(--ink-soft);
}
.landing-section .empty-block .muted {
  color: rgba(255, 255, 255, 0.58);
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: how;
}
.how-steps > li {
  counter-increment: how;
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: none;
  box-shadow: none;
}
.how-steps > li::before {
  content: counter(how, decimal-leading-zero);
  color: var(--sky);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.how-steps strong {
  color: #fff;
  font-size: 1.05rem;
}
.how-steps span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.landing-section .area-chips .chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
}
.landing-section .area-chips .chip.is-active,
.landing-section .area-chips .chip:hover {
  background: rgba(0, 136, 248, 0.18);
  border-color: var(--sky);
  color: #fff;
}
.landing-section .property-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: transparent;
}
.landing-section .empty-block {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}
.landing-section .empty-block strong { color: #fff; }

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.trust-list li {
  display: grid;
  gap: 6px;
}
.trust-list strong {
  color: #fff;
  font-size: 1.05rem;
}
.trust-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

@keyframes landing-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@media (max-width: 860px) {
  .landing-search {
    grid-template-columns: 1fr 1fr;
  }
  .landing-search-field:first-child {
    grid-column: 1 / -1;
  }
  .landing-search .btn {
    grid-column: 1 / -1;
  }
  .how-steps,
  .trust-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .landing-hero-inner {
    padding: 88px 0 32px;
  }
}

.explore-hero-rich {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 32, 120, 0.92), rgba(0, 136, 248, 0.78)),
    url('/book/stay-hero.jpg') center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}
.explore-hero-copy .eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}
.explore-hero-rich h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: #fff;
}
.explore-hero-rich p {
  margin: 0;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.88);
}
.search-bar {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}
.search-bar label { margin: 0; }
.search-bar .btn {
  height: 44px;
  white-space: nowrap;
}
.explore-section h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.section-head h2 { margin: 0; }
.section-count { margin: 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.how-card {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 32, 120, 0.1);
  background: rgba(255, 255, 255, 0.9);
}
.how-num {
  display: block;
  margin-bottom: 10px;
  color: var(--sky);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.how-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}
.how-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  border: 1px solid rgba(0, 32, 120, 0.14);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}
.chip.is-active,
.chip:hover {
  border-color: var(--sky);
  color: var(--navy);
  background: rgba(0, 136, 248, 0.08);
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.property-grid.is-solo {
  grid-template-columns: 1fr;
}
.property-card {
  display: grid;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 32, 120, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(0, 32, 120, 0.08);
}
.property-card.is-solo-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 280px;
}
.property-card.is-solo-card .property-card-media {
  min-height: 100%;
  min-height: 280px;
}
.property-card.is-solo-card .property-card-body {
  padding: 28px 28px 30px;
  gap: 10px;
  align-content: center;
}
.property-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0088f8;
}
.property-solo-note {
  margin: 2px 0 4px;
  max-width: 36ch;
  line-height: 1.45;
}
.property-card.is-solo-card .btn-card {
  margin-top: 8px;
  padding: 12px 18px;
  font-size: 0.95rem;
}
.property-card.is-solo-card h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}
@media (max-width: 720px) {
  .property-card.is-solo-card {
    grid-template-columns: 1fr;
  }
  .property-card.is-solo-card .property-card-media {
    min-height: 200px;
  }
  .property-card.is-solo-card .property-card-body {
    padding: 18px 18px 20px;
  }
}
.property-card-media {
  display: block;
  position: relative;
  min-height: 160px;
  background-size: cover;
  background-position: center;
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.property-card.is-featured {
  border-color: rgba(0, 136, 248, 0.35);
  box-shadow: 0 14px 34px rgba(0, 136, 248, 0.16);
}
.property-card-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}
.property-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}
.property-card-body h3 a {
  color: var(--navy);
  text-decoration: none;
}
.property-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.property-card-meta strong {
  color: var(--navy);
  font-weight: 600;
}
.btn-card {
  justify-self: start;
  margin-top: 4px;
  padding: 9px 14px;
  font-size: 0.88rem;
}
.empty-block {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 32, 120, 0.2);
  background: rgba(255, 255, 255, 0.7);
}
.empty-block strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 32, 120, 0.1);
}
.trust-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}
.trust-strip p { margin: 0; }
@media (max-width: 860px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .btn { grid-column: 1 / -1; }
  .how-grid,
  .trust-strip { grid-template-columns: 1fr; }
}
.auth-panel {
  width: min(440px, 100%);
  margin: 24px auto;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top-nav button, .top-nav a {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  padding: 8px 10px;
}
.top-nav .ghost {
  border: 1px solid rgba(0, 32, 120, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.7);
}
.top-nav .nav-profile {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.top-nav .nav-profile:hover {
  opacity: 0.8;
  text-decoration: none;
}
.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 400;
}
.file-preview {
  margin-top: 8px;
}
.file-preview img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(0, 32, 120, 0.12);
  background: #fff;
}
.form-sep {
  border: 0;
  border-top: 1px solid rgba(0, 32, 120, 0.1);
  margin: 8px 0 4px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.app {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 48px;
}
body.is-flow .app {
  width: min(1120px, calc(100% - 24px));
  margin-bottom: 32px;
}

.stage {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(300px, 0.95fr);
  min-height: min(72vh, 640px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 32, 120, 0.1);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.94);
  animation: rise 0.55s ease both;
}
.stage-visual {
  position: relative;
  min-height: 280px;
  background: #0b1a3a;
  overflow: hidden;
}
.stage-gallery {
  position: absolute;
  inset: 0;
}
.stage-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.stage-gallery-img.is-active {
  opacity: 1;
}
.stage-gallery-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.12), rgba(17, 17, 17, 0.55));
  pointer-events: none;
}
.stage-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0b1a3a;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.stage-gallery-nav:hover {
  background: #fff;
}
.stage-gallery-nav.prev { left: 12px; }
.stage-gallery-nav.next { right: 12px; }
.stage-gallery-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stage-gallery-cap {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 26, 58, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}
.stage-gallery-dots {
  display: flex;
  gap: 6px;
}
.stage-gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.stage-gallery-dots button.is-active {
  width: 18px;
  background: #fff;
}
.stage-visual-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 28px 24px;
  color: #f7f2e8;
  pointer-events: none;
}
.stage-visual-copy .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.78);
}
.stage-visual-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  max-width: 14ch;
}
.stage-visual-copy p {
  margin: 10px 0 0;
  max-width: 28ch;
  color: rgba(247, 242, 232, 0.82);
  font-size: 0.92rem;
}
.stage-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, #ffffff, #f3f8fd);
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 36, 32, 0.35);
}
.steps li.is-active { color: var(--sun); }
.steps li.is-done { color: var(--ink-soft); }
.stage-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
}
.stage-panel .lead {
  margin: -6px 0 0;
  color: var(--ink-soft);
}
.place-line {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.place-line strong { color: var(--ink); font-weight: 600; }

@media (max-width: 820px) {
  .stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .stage-visual {
    min-height: 200px;
  }
}

.hero {
  min-height: min(72vh, 620px);
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 28px 0 36px;
  animation: rise 0.7s ease both;
}
.hero-main {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 3.5vw, 36px);
}
.hero-logo-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  line-height: 0;
}
.hero-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(46vw, 460px);
  object-fit: contain;
  object-position: left top;
  filter: drop-shadow(0 12px 24px rgba(26, 36, 32, 0.1));
}
.hero-copy {
  display: grid;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
  align-content: start;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.hero p {
  margin: 0;
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 560px) {
  .hero-main {
    flex-direction: column;
    justify-items: start;
  }
  .hero-logo-wrap {
    width: min(280px, 72vw);
    height: auto;
  }
  .hero-logo {
    width: 100%;
    height: auto !important;
  }
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 32, 120, 0.1);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
  animation: rise 0.55s ease both;
  backdrop-filter: blur(8px);
}
.panel h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}
.panel .lead {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.stack { display: grid; gap: 14px; }
.row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(0, 32, 120, 0.14);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #ffffff;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 84px;
}
input:focus, textarea:focus {
  outline: 2px solid rgba(0, 136, 248, 0.28);
  border-color: var(--sky);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-primary {
  background: var(--navy);
  color: #ffffff;
}
.btn-primary:hover { background: #00185c; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(0, 32, 120, 0.22);
}
.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(192, 57, 43, 0.35);
}
.btn-danger:hover {
  background: rgba(192, 57, 43, 0.08);
}

.rooms { display: grid; gap: 12px; margin-top: 8px; }
.room {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 32, 120, 0.1);
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(230,238,247,0.7));
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.room:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}
.room strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.room .meta { color: var(--ink-soft); font-size: 0.9rem; }
.room .price {
  font-weight: 600;
  color: var(--leaf-deep);
  text-align: right;
}
.room .price small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.pay-box {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: 12px 0;
}
.pay-box img {
  width: min(260px, 70vw);
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  border: 1px solid rgba(26, 36, 32, 0.08);
}
.success-box {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 28px 16px 12px;
}
.success-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.success-line {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.success-meta {
  margin: 0;
  font-size: 0.92rem;
}
.success-box .success-meta:first-of-type {
  margin-top: 10px;
}
.bank-card {
  width: min(100%, 420px);
  text-align: left;
  background: #fff;
  border: 1px solid rgba(26, 36, 32, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(11, 27, 51, 0.06);
}
.bank-row { display: grid; gap: 4px; }
.bank-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bank-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.bank-number, .bank-amount { font-size: 1.15rem; }
.bank-card code {
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px 8px;
  border-radius: 6px;
}
.bank-hint {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.proof-box {
  width: min(100%, 420px);
  text-align: left;
  display: grid;
  gap: 12px;
}
.proof-preview {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(26, 36, 32, 0.1);
  background: #fff;
}
.proof-actions {
  display: grid;
  gap: 10px;
}
.proof-actions input[type="file"] {
  font-size: 0.85rem;
}
.proof-reject {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(238, 0, 0, 0.06);
  color: #b91c1c;
  font-size: 0.9rem;
  line-height: 1.4;
}
.btn-sm {
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
}
.muted { color: var(--ink-soft); font-size: 0.92rem; }
.error {
  color: var(--danger);
  background: rgba(163, 59, 45, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
}
.ok-msg {
  color: #166534;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
}
.ok {
  color: var(--ok);
  font-weight: 600;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 136, 248, 0.12);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-list { display: grid; gap: 10px; }
.booking-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 32, 120, 0.1);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  color: inherit;
}
.booking-card:hover { border-color: var(--sky); }

a { color: var(--sky); }
.muted a { color: var(--sky); font-weight: 600; }

.foot {
  text-align: center;
  padding: 18px 16px 22px;
  color: rgba(26, 36, 32, 0.45);
  font-size: 0.8rem;
}
.site-foot img {
  display: block;
  margin: 0 auto;
  width: min(128px, 40vw);
  height: auto;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .room { grid-template-columns: 1fr; }
  .room .price { text-align: left; }
}
