:root {
  --night: #1a0b09;
  --wine: #3a1511;
  --terra: #b8452a;
  --coral: #ff7a4d;
  --amber: #ffb347;
  --sand: #ffe4c4;
  --cream: #fff1de;
  --glass: rgba(255, 228, 196, 0.07);
  --glass-bd: rgba(255, 200, 150, 0.2);
  --text-dim: rgba(255, 233, 210, 0.68);
  --sun: linear-gradient(135deg, #ff7a4d 0%, #ffb347 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--night);
  color: var(--cream);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.serif { font-family: "Cormorant Garamond", serif; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px;
  font-family: inherit; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.btn-sun { background: var(--sun); color: var(--night); font-weight: 600; box-shadow: 0 10px 40px -10px rgba(255, 122, 77, 0.7); }
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 16px 50px -10px rgba(255, 179, 71, 0.8); }
.btn-line { border-color: var(--glass-bd); color: var(--cream); background: rgba(159, 143, 122, 0.3); backdrop-filter: blur(8px); }
.btn-line:hover { background: rgba(255, 228, 196, 0.16); }
.btn-sm { padding: 11px 24px; }

/* ── NAV ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background 0.4s, backdrop-filter 0.4s; }
.nav.scrolled { background: rgba(26, 11, 9, 0.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--glass-bd); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.nav-logo { background: rgba(255, 244, 230, 0.95); border-radius: 18px; padding: 4px 16px; }
.nav-logo img { height: 50px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-menu a:not(.btn) { text-decoration: none; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); transition: color 0.2s; }
.nav-menu a:not(.btn):hover { color: var(--amber); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 140px 0 160px;
  background: linear-gradient(180deg, #1a0b09 0%, #3a1511 38%, #8c2f1c 72%, #e0602d 100%);
}
.sun {
  position: absolute; left: 50%; bottom: -160px; transform: translateX(-50%);
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffe9a8 0%, #ffb347 35%, #ff7a4d 65%, rgba(255, 122, 77, 0) 72%);
  filter: blur(2px);
  animation: rise 9s ease-in-out infinite alternate;
}
.sun::after { content: ""; position: absolute; inset: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 71, 0.3), transparent 65%); }
@keyframes rise { to { transform: translateX(-50%) translateY(-24px) scale(1.04); } }

.stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 22%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 72% 14%, #fff 50%, transparent), radial-gradient(1px 1px at 45% 30%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 88% 36%, #fff 50%, transparent), radial-gradient(1px 1px at 8% 44%, #fff 50%, transparent), radial-gradient(1px 1px at 60% 8%, #fff 50%, transparent); opacity: 0.6; }

.hero-in { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--amber); margin-bottom: 26px; }
.hero h1 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(3.2rem, 8.4vw, 7rem); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 28px; }
.hero h1 em { font-style: italic; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
.hero p.lead { font-size: 1.2rem; color: white; max-width: 560px; margin: 0 auto 42px; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ── SECTION ── */
.section { padding: 120px 0; position: relative; }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.title { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 18px; }
.title em { font-style: italic; color: var(--amber); }
.sub { color: var(--text-dim); max-width: 540px; }
.head.center .sub { margin: 0 auto; }

/* ── PLANNER ── */
.planner { background: linear-gradient(180deg, var(--night), #240e0b); }
.plan-box { display: grid; grid-template-columns: 300px 1fr; gap: 28px; }
.rooms { display: grid; gap: 12px; align-content: start; }
.room {
  text-align: left; font-family: inherit; color: var(--cream);
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-bd);
  cursor: pointer; transition: background 0.3s, border-color 0.3s, transform 0.3s;
  font-size: 1.05rem; font-weight: 400;
}
.room span.e { font-size: 1.6rem; }
.room:hover { transform: translateX(4px); }
.room.active { background: var(--sun); color: var(--night); border-color: transparent; font-weight: 600; }

.plan-out { border-radius: 28px; background: var(--glass); border: 1px solid var(--glass-bd); padding: 40px; backdrop-filter: blur(10px); }
.plan-out h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 2.2rem; margin-bottom: 6px; }
.plan-out .note { color: var(--text-dim); margin-bottom: 26px; }
.plan-list { list-style: none; display: grid; gap: 4px; margin-bottom: 26px; }
.plan-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--glass-bd); }
.plan-list li .e { font-size: 1.4rem; width: 38px; text-align: center; }
.plan-list li .n { flex: 1; }
.plan-list li .p { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; font-weight: 600; color: var(--amber); white-space: nowrap; }
.plan-total { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.plan-total small { color: var(--text-dim); display: block; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; }
.plan-total .sum { font-family: "Cormorant Garamond", serif; font-size: 3rem; font-weight: 600; line-height: 1; background: var(--sun); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── CATALOG CAROUSEL ── */
.catalog { background: #240e0b; }
.cat-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.arrows { display: flex; gap: 12px; margin-bottom: 56px; }
.arrow { width: 54px; height: 54px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-bd); color: var(--cream); font-size: 1.3rem; cursor: pointer; transition: background 0.3s; }
.arrow:hover { background: var(--sun); color: var(--night); }

.track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(32px, calc((100vw - 1200px) / 2 + 32px)) 30px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }

.pc {
  flex: 0 0 330px; scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 228, 196, 0.1), rgba(255, 228, 196, 0.03));
  border: 1px solid var(--glass-bd);
  transition: transform 0.4s, border-color 0.4s;
}
.pc:hover { transform: translateY(-8px); border-color: rgba(255, 179, 71, 0.6); }
.pc .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; background: linear-gradient(145deg, rgba(255, 122, 77, 0.35), rgba(255, 179, 71, 0.15)); margin-bottom: 22px; }
.pc h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.7rem; line-height: 1.1; margin-bottom: 12px; }
.pc p { flex: 1; font-size: 0.92rem; color: var(--text-dim); margin-bottom: 26px; }
.pc .foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--glass-bd); }
.pc .price { font-family: "Cormorant Garamond", serif; font-size: 1.7rem; font-weight: 700; color: var(--amber); }
.pc .tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--glass-bd); padding: 4px 12px; border-radius: 999px; }
.pc.premium { background: var(--sun); color: var(--night); border-color: transparent; }
.pc.premium p, .pc.premium .tag { color: rgba(26, 11, 9, 0.75); }
.pc.premium .price { color: var(--night); }
.pc.premium .ico { background: rgba(26, 11, 9, 0.15); }
.pc.premium .foot, .pc.premium .tag { border-color: rgba(26, 11, 9, 0.3); }

/* ── PROMISE ── */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--glass-bd); border-radius: 28px; overflow: hidden; background: var(--glass); }
.pr { padding: 44px 36px; border-right: 1px solid var(--glass-bd); }
.pr:last-child { border-right: 0; }
.pr .n { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--coral); margin-bottom: 16px; }
.pr h3 { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.7rem; margin-bottom: 8px; }
.pr p { color: var(--text-dim); }

/* ── CTA ── */
.cta { position: relative; overflow: hidden; text-align: center; padding: 140px 0; background: linear-gradient(180deg, #240e0b, #6b2217 60%, #c4501f); }
.cta::before { content: ""; position: absolute; left: 50%; top: 100%; width: 700px; height: 700px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 100, 0.55), transparent 65%); }
.cta .wrap { position: relative; z-index: 1; }
.cta .title { max-width: 760px; margin-inline: auto; }
.cta p { color: rgba(255, 233, 210, 0.85); max-width: 500px; margin: 0 auto 40px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── FOOTER ── */
footer { background: #0e0505; padding: 36px 0; border-top: 1px solid var(--glass-bd); }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot-logo { background: rgba(255, 244, 230, 0.95); border-radius: 16px; padding: 4px 16px; }
.foot-logo img { height: 52px; width: auto; }
footer p { color: var(--text-dim); font-size: 0.9rem; letter-spacing: 0.04em; }
.foot-copy { font-size: 0.78rem !important; opacity: 0.6; }

/* ── ADD-TO-CART BUTTONS ── */
.plan-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-add {
  margin-top: 18px; width: 100%; padding: 13px 20px; border-radius: 999px;
  font-family: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: var(--cream); border: 1px solid var(--amber); cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.pc-add:hover, .pc-add.done { background: var(--sun); color: var(--night); border-color: transparent; }
.pc-add:active { transform: scale(0.98); }
.pc.premium .pc-add { color: var(--night); border-color: var(--night); }
.pc.premium .pc-add:hover, .pc.premium .pc-add.done { background: var(--night); color: var(--amber); }
.btn.done { filter: brightness(1.1); }

/* ── CART ── */
.cart-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 1.7rem; background: var(--sun); color: var(--night);
  box-shadow: 0 12px 40px -8px rgba(255, 122, 77, 0.8); transition: transform 0.3s;
}
.cart-fab:hover { transform: scale(1.07); }
.cart-fab.bump { animation: bump 0.45s; }
@keyframes bump { 40% { transform: scale(1.22); } }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: var(--night); color: var(--amber); border: 2px solid var(--amber);
  font-size: 0.78rem; font-weight: 600; display: grid; place-items: center; line-height: 1;
}
.cart-count[hidden] { display: none; }
.cart-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(10, 4, 3, 0.65); backdrop-filter: blur(3px); }
.cart-overlay[hidden] { display: none; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #2a0f0b, #1a0b09); border-left: 1px solid var(--glass-bd);
  transform: translateX(105%); transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.cart.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--glass-bd); }
.cart-head h3 { font-size: 2rem; font-weight: 500; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-bd); background: var(--glass); color: var(--cream); cursor: pointer; font-size: 1rem; }
.cart-close:hover { background: var(--sun); color: var(--night); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 26px; }
.cart-empty { color: var(--text-dim); text-align: center; padding: 60px 10px; }
.cart-empty[hidden], .cart-form[hidden] { display: none; }
.cart-list { list-style: none; }
.ci { display: flex; align-items: flex-start; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--glass-bd); }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 500; line-height: 1.3; }
.ci-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }
.ci-price { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 600; color: var(--amber); margin-top: 6px; }
.ci-qty { display: flex; align-items: center; gap: 4px; }
.ci-qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--glass-bd); background: var(--glass); color: var(--cream); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.ci-qty button:hover { background: var(--sun); color: var(--night); }
.ci-qty span { min-width: 24px; text-align: center; }
.ci-del { background: none; border: 0; color: var(--text-dim); cursor: pointer; padding: 6px; font-size: 0.9rem; }
.ci-del:hover { color: var(--coral); }
.cart-form { padding: 20px 26px 26px; border-top: 1px solid var(--glass-bd); background: rgba(0, 0, 0, 0.18); display: grid; gap: 14px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; color: var(--text-dim); }
.cart-total b { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 600; color: var(--amber); }
.cart-form label { display: grid; gap: 6px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.cart-form input {
  font-family: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--cream);
  padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-bd); outline: none;
}
.cart-form input:focus { border-color: var(--amber); }
.cart-form input::placeholder { color: rgba(255, 233, 210, 0.35); }
.cart-form .btn:disabled { opacity: 0.6; cursor: wait; }
.cart-msg { min-height: 0; font-size: 0.9rem; }
.cart-msg.err { color: #ff9b7a; }
.cart-hint { font-size: 0.78rem; color: var(--text-dim); text-align: center; }

@media (max-width: 640px) {
  .cart-fab { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .cart-head, .cart-body, .cart-form { padding-left: 18px; padding-right: 18px; }
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s, transform 0.9s; }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .plan-box { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; }
  .pr { border-right: 0; border-bottom: 1px solid var(--glass-bd); }
  .pr:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-row { height: 72px; }
  .nav-logo img { height: 40px; }
  .nav-menu li:not(:last-child) { display: none; }
  .hero { padding: 120px 0 140px; }
  .sun { width: 420px; height: 420px; bottom: -120px; }
  .section { padding: 80px 0; }
  .plan-out { padding: 26px 20px; }
  .plan-total .sum { font-size: 2.3rem; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .room { padding: 14px; gap: 10px; font-size: 0.95rem; }
  .track { padding-inline: 20px; }
  .pc { flex-basis: 280px; }
  .arrows { display: none; }
  .cta { padding: 90px 0; }
  .foot-row { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sun { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
