:root {
  --cream: #FBF6F0;
  --cream-2: #F4ECE1;
  --white: #FFFFFF;
  --navy: #0A1D35;
  --navy-soft: #1B3352;
  --muted: #5C6B7E;
  --border: #E8DEC9;
  --gold: #C69749;
  --gold-dark: #AE8135;
  --gold-soft: #F7EEDB;
  --green: #16794F;
  --green-soft: #E7F6EE;
  --red: #B9382C;
  --red-soft: #FDECEB;
  --shadow-sm: 0 2px 10px rgba(10, 29, 53, 0.05);
  --shadow-md: 0 12px 32px rgba(10, 29, 53, 0.08);
  --shadow-lg: 0 22px 50px rgba(10, 29, 53, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.mono {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-dark);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(198, 151, 73, 0.3);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 29, 53, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--white);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

.btn-wa {
  background: #1FA855;
  color: var(--white);
}

.btn-wa:hover {
  background: #188D46;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.28);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-xs {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.btn-danger {
  background: var(--red-soft);
  color: var(--red);
  border-color: #F6CBC7;
}

.btn-danger:hover {
  background: var(--red);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background-color: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
  transform: scale(1.03);
  transition: transform 6s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 29, 53, 0.48) 0%,
    rgba(10, 29, 53, 0.58) 55%,
    rgba(10, 29, 53, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 64px 24px;
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #E3BC76;
  margin-bottom: 18px;
  display: inline-block;
}

.hero-title {
  margin: 0;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-title .accent {
  display: block;
  color: #D7A857;
  margin-top: 6px;
}

.hero-sub {
  margin: 22px auto 34px;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Duration Strip */
.duration-strip {
  margin-top: -42px;
  position: relative;
  z-index: 5;
  margin-bottom: 64px;
}

.duration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.duration-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.duration-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.duration-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.badge-gold {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 500;
}

.duration-note {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Unit Cards */
.units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.unit-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--cream-2);
  overflow: hidden;
}

.unit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.unit-card:hover .unit-media img {
  transform: scale(1.03);
}

.media-pill-left {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(10, 29, 53, 0.72);
  color: var(--white);
  backdrop-filter: blur(6px);
  padding: 5px 11px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.media-pill-right {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 29, 53, 0.72);
  color: var(--white);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.07);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.unit-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.unit-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.chip-muted {
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--border);
}

.unit-name {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}

.unit-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.unit-price-block {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.price-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.price-main span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.price-sub {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 600;
}

.unit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Detail View */
.detail-section {
  padding: 32px 0 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb button {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-dark);
  cursor: pointer;
  font-weight: 600;
}

.detail-gallery-main {
  position: relative;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  max-height: 540px;
  width: 100%;
}

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

.thumb-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0 4px;
}

.thumb-item {
  width: 96px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.2s ease;
  padding: 0;
  background: none;
}

.thumb-item.active, .thumb-item:hover {
  opacity: 1;
  border-color: var(--gold);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.price-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}

.price-tier-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.price-tier-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-tier-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 4px;
}

.facilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Booking Section */
.booking-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.panel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy);
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 151, 73, 0.18);
}

.estimate-box {
  margin-top: 18px;
  background: var(--gold-soft);
  border: 1px solid #E5CFA2;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.format-preview {
  background: var(--navy);
  color: #F7F2EA;
  border-radius: 14px;
  padding: 20px 22px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.paste-box-wrap {
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px dashed var(--gold);
}

.booking-success-card {
  background: var(--green-soft);
  border: 1px solid #B8E2CE;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
}

.booking-code-pill {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  color: var(--green);
  border: 1px solid #B8E2CE;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.feature-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-text {
  font-size: 13px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  padding: 56px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--navy);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: var(--red);
}

.hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 960px) {
  .duration-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid { grid-template-columns: 1fr; }
  .detail-grid, .booking-grid, .location-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .form-grid, .feature-list, .unit-actions { grid-template-columns: 1fr; }
  .duration-grid { grid-template-columns: 1fr; }
  .panel-card, .detail-card { padding: 20px; }
  .header-actions .btn-outline { display: none; }
}
