:root {
  --brown: #5b4032;
  --brown-deep: #3f2c22;
  --tan: #c8ab92;
  --tan-soft: #e8d8c8;
  --cream: #f7f1ea;
  --paper: #fffdfb;
  --ink: #2a1f1a;
  --muted: #7a6a60;
  --line: rgba(91, 64, 50, 0.14);
  --radius: 22px;
  --shadow: 0 18px 40px rgba(63, 44, 34, 0.1);
  --font: "Vazirmatn", Tahoma, sans-serif;
  --display: "Cormorant Garamond", "Vazirmatn", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(200, 171, 146, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(247, 241, 234, 0.9), transparent 50%),
    linear-gradient(180deg, #faf6f1 0%, var(--cream) 40%, #f3ebe3 100%);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.brown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--brown);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(91, 64, 50, 0.22);
}
.brown-btn:hover {
  background: var(--brown-deep);
  transform: translateY(-2px);
}
.brown-btn--block { width: 100%; }
.brown-btn i { font-size: 1.05rem; }

.white-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brown);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(63, 44, 34, 0.12);
  transition: transform 0.25s ease;
}
.white-btn:hover { transform: translateY(-2px); }

.ghost-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--brown);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.sec-center { text-align: center; margin-bottom: 2rem; }
.sec-center h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  color: var(--brown);
  font-weight: 800;
}
.sec-center p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.glow {
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(63, 44, 34, 0.14);
}

/* Header — dark bar */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #2c211c;
  border-bottom: 0;
}
.head__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: #fff;
}
.brand img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.brand span { display: grid; line-height: 1.1; }
.brand b {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
}
.brand small {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,.65);
}
.nav { display: flex; gap: 0.35rem; align-items: center; flex: 1; justify-content: center; }
.nav a {
  font-size: 0.86rem;
  color: rgba(255,255,255,.72);
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}
.nav a.is-on,
.nav a:hover { color: #2c211c; background: #f3e6d8; }
.nav a.is-on::after { display: none; }
.head .brown-btn {
  background: #f3e6d8;
  color: #2c211c;
  box-shadow: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}
.head .brown-btn:hover { background: #fff; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 68px));
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(20,12,8,.84) 8%, rgba(20,12,8,.35) 55%, rgba(20,12,8,.12) 100%);
}
.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 4.5rem 0 5.5rem;
}
.eyebrow {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: #e7c9a8;
  margin-bottom: 0.7rem;
}
.hero__brand {
  margin: 0 0 0.4rem;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  color: #fff;
  font-weight: 800;
}
.hero__tag {
  margin: 0 0 1.4rem;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  max-width: 18ch;
}
.hero__index {
  position: absolute;
  z-index: 1;
  inset-inline-end: max(16px, calc((100% - 1180px) / 2));
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 0.35rem;
}
.hero__index a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  width: max-content;
}
.hero__index small {
  font-family: var(--display);
  color: #e7c9a8;
  letter-spacing: 0.04em;
}
.hero__index a:hover { background: #fff; color: #2c211c; }

/* Services — bento */
.services { padding: clamp(48px, 7vh, 80px) 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--brown);
}
.sec-head p { margin: 0; color: var(--muted); }
.svc-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.svc {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 0;
  background: #1c1410;
}
.svc--lead { grid-row: 1 / span 2; }
.svc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  max-height: none;
  opacity: 0.88;
  transition: transform .45s ease, opacity .45s ease;
}
.svc:hover img { transform: scale(1.05); opacity: 1; }
.svc div {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.05rem;
  background: linear-gradient(transparent, rgba(20,12,8,.75));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.svc h3 { margin: 0; color: #fff; font-size: 1.25rem; }
.svc button {
  margin: 0;
  border: 0;
  background: #fff;
  color: var(--brown);
  font-weight: 700;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border-bottom: 0;
}

/* Booking — split */
.booking { padding: clamp(48px, 7vh, 84px) 0; background: #f6efe8; }
.booking__split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.booking__intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brown);
}
.booking__intro > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 28ch;
}
.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  max-width: none;
}
.steps__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps__line { display: none; }
.steps__num {
  width: 36px;
  height: 36px;
  margin: 0;
}
.steps__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.steps__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  transition: 0.3s ease;
}
.steps__item.is-on .steps__num,
.steps__item.is-done .steps__num {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}
.steps__item.is-on small,
.steps__item.is-done small { color: var(--brown); font-weight: 700; }
.steps__line {
  display: none;
}

.book-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.wizard-pane { display: none; }
.wizard-pane.is-on { display: grid; gap: 0.85rem; animation: paneIn 0.35s ease; }
@keyframes paneIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #faf6f2;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 0.95rem;
  min-height: 52px;
}
.field i { color: var(--brown); font-size: 1.15rem; flex-shrink: 0; }
.field input,
.field select {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  min-width: 0;
  padding: 0.7rem 0;
}
.field select { cursor: pointer; }
.wizard-nav {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.wizard-nav .brown-btn { flex: 1; }
.wizard-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.field--date { position: relative; }
.field--date input[type="date"] {
  color: transparent;
  position: relative;
  z-index: 1;
}
.field--date.is-filled input[type="date"],
.field--date input[type="date"]:focus {
  color: var(--ink);
}
.field--date .field__ph {
  position: absolute;
  inset-inline-start: 2.75rem;
  color: #757575;
  pointer-events: none;
  z-index: 0;
}
.field--date.is-filled .field__ph,
.field--date:focus-within .field__ph { opacity: 0; }

/* Reviews — three up */
.reviews { padding: clamp(48px, 6vh, 80px) 0; }
.reviews__inner { max-width: none; }
.rev-slider {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.rev-card {
  position: relative;
  inset: auto;
  top: auto;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  padding: 1.4rem 1.2rem 1.3rem;
  text-align: right;
}
.rev-card.is-on { box-shadow: 0 18px 40px rgba(63, 44, 34, 0.16); }
.rev-card img {
  position: static;
  transform: none;
  width: 56px;
  height: 56px;
  margin-bottom: 0.7rem;
}
.rev-controls { display: none; }
.rev-card {
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  text-align: right;
}
.stars {
  display: block;
  color: #c9a227;
  letter-spacing: 0.12em;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}
.rev-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.rev-card b { color: var(--brown); }

.rev-controls { display: none; }
.rev-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brown);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.25s ease;
}
.rev-controls button:hover {
  background: var(--brown);
  color: #fff;
  border-color: var(--brown);
}
.rev-dots { display: flex; gap: 0.4rem; }
.rev-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tan-soft);
  display: block;
}
.rev-dots i.is-on { background: var(--brown); }

/* Gift — edge band */
.gift { padding: 0 0 clamp(48px, 7vh, 80px); }
.gift .wrap { width: min(1280px, calc(100% - 32px)); }
.gift-banner {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  gap: 0;
  background: #2c211c;
  border-radius: 0 80px 0 80px;
  padding: 0;
  overflow: hidden;
  min-height: 240px;
  color: #fff;
}
.gift-banner__copy {
  padding: 2rem 2.2rem;
  color: #fff;
  display: grid;
  align-content: center;
}
.gift-banner__copy h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: #fff;
}
.gift-banner__copy p {
  margin: 0 0 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 32ch;
}
.gift-banner__img {
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100%;
}
.gift-banner__img img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-radius: 0;
  object-fit: cover;
  aspect-ratio: auto;
  max-height: none;
}

/* Contact */
.contact { padding: clamp(40px, 6vh, 72px) 0; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
.contact h2 {
  margin: 0 0 0.5rem;
  color: var(--brown);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}
.contact > .wrap > div > p,
.contact__grid > div > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.contact__list i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(200, 171, 146, 0.25);
  color: var(--brown);
  display: grid;
  place-items: center;
}
.contact__map {
  border-radius: 22px;
  overflow: hidden;
  min-height: 280px;
  height: 100%;
  box-shadow: var(--shadow);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.foot {
  padding: 1.4rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

/* Modals */
.mroot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mroot.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mroot__veil {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 26, 0.45);
  backdrop-filter: blur(4px);
}
.mbox {
  position: relative;
  width: min(440px, 100%);
  background: var(--paper);
  border-radius: 24px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(16px);
  transition: transform 0.35s ease;
  max-height: min(90vh, 720px);
  overflow: auto;
}
.mroot.is-open .mbox { transform: translateY(0); }
.mbox h2 {
  margin: 0 0 0.25rem;
  color: var(--brown);
  font-size: 1.35rem;
}
.mbox > form > p,
.mbox__body > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.mbox form { display: grid; gap: 0.7rem; }
.mclose {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3ebe3;
  color: var(--brown);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}
.mbox--svc {
  width: min(720px, 100%);
  padding: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}
.mbox__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.mbox__body { padding: 1.5rem 1.35rem 1.35rem; }
.price-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.8rem;
  background: #faf6f2;
  border-radius: 12px;
  font-size: 0.92rem;
}
.price-list b { color: var(--brown); white-space: nowrap; }

body.is-locked { overflow: hidden; }

@media (max-width: 1100px) {
  .nav a { font-size: 0.8rem; padding: 0.35rem 0.5rem; }
  .svc-bento { grid-template-rows: 180px 180px; }
  .hero__index { display: none; }
}

@media (max-width: 960px) {
  .booking__split,
  .contact__grid,
  .gift-banner,
  .rev-slider,
  .mbox--svc { grid-template-columns: 1fr; }
  .svc-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 180px 180px;
  }
  .svc--lead { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
  .hero { min-height: 520px; align-items: end; }
  .hero__copy { margin-inline: 0; padding: 3rem 0 2.5rem; max-width: none; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(20,12,8,.15), rgba(20,12,8,.78));
  }
  .gift-banner { border-radius: 28px; }
  .gift-banner__img img { min-height: 200px; }
  .mbox__media img { min-height: 200px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 68px 1rem auto;
    background: #2c211c;
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    gap: 0.2rem;
    display: none;
    flex: none;
  }
  .nav.is-open { display: flex; }
  .nav a { color: #fff; }
  .nav a.is-on { background: #f3e6d8; color: #2c211c; }
  .burger { display: flex; margin-inline-start: auto; }
  .head .brown-btn { display: none; }
  .svc-bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .svc { min-height: 200px; }
  .steps { display: flex; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .wizard-nav { flex-direction: column-reverse; }
  .hero__brand { font-size: 3.4rem; }
}
