:root {
  --black: #0f0f0f;
  --text: #171717;
  --muted: #6b6b6b;
  --gold: #d4af37;
  --gold-dark: #a98216;
  --paper: #ffffff;
  --soft: #f7f4ec;
  --line: #e8e0cf;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 15, 15, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Vazirmatn, Tahoma, Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.8;
  letter-spacing: 0;
}

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

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

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

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand, .nav-actions, .nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  color: var(--black);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--black);
  border-radius: var(--radius);
}

.brand-mark svg { width: 28px; height: 28px; }

.nav-links { gap: 24px; color: var(--muted); font-weight: 700; }

.nav-actions { gap: 8px; }

.nav-actions,
.mobile-socials {
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--black);
  cursor: pointer;
}

.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  gap: 8px;
  padding-bottom: 14px;
  justify-items: stretch;
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
  text-align: right;
}

.mobile-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
}
.mobile-socials .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-socials .icon-link:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.mobile-socials .icon-link svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: #D4AF37;
    fill: none;
    flex-shrink: 0;
}

/* برای آیکون اینستاگرام که fill داره */
.mobile-socials .icon-link svg rect,
.mobile-socials .icon-link svg circle {
    stroke: #D4AF37;
}

/* center کردن دقیق‌تر با line-height صفر */
.mobile-socials .icon-link {
    line-height: 0;
}
.icon-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-dark);
  background: #fff;
}

.nav-actions .icon-link,
.mobile-socials .icon-link {
  justify-self: center;
}

.icon-link svg { width: 20px; height: 20px; }

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: #f5f5f5;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.26) 0%, rgba(15,15,15,.78) 45%, rgba(15,15,15,.35) 100%),
    url("./hero.jpg") center/cover;
  
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: end;
  padding: 86px 0 58px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(52px, 9vw, 118px);
  line-height: .95;
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(245,245,245,.84);
  font-size: 18px;
}

.eyebrow {
  color: var(--gold) !important;
  font-size: 14px !important;
  font-weight: 900;
  margin-bottom: 12px !important;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}

.btn.primary { background: var(--gold); color: #080808; }
.btn.primary:hover { background: #e5c95f; transform: translateY(-1px); }
.btn.ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn.full { width: 100%; }

.hero-panel {
  border: 1px solid rgba(212,175,55,.38);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(15,15,15,.62);
  backdrop-filter: blur(16px);
}

.hero-panel span { color: var(--gold); font-weight: 900; }
.hero-panel strong { display: block; font-size: 34px; line-height: 1.4; }
.hero-panel p { margin: 8px 0 0; color: rgba(245,245,245,.72); }

.section { padding: 88px 0; }

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.25;
  color: var(--black);
}

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

.feature-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(15,15,15,.05);
}

.feature-grid span { color: var(--gold-dark); font-weight: 900; }
.feature-grid h3 { margin: 10px 0 6px; font-size: 22px; }
.feature-grid p { margin: 0; color: var(--muted); }

.reserve-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--soft), #fff);
}

.reserve-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.reserve-copy p { color: var(--muted); }

.payment-box {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--black);
  color: #f5f5f5;
  border: 1px solid rgba(212,175,55,.5);
}

.payment-box span, .payment-box small { display: block; color: rgba(245,245,245,.72); }
.payment-box strong { display: block; direction: ltr; font-size: 26px; margin: 8px 0; color: var(--gold); }

.payment-box.muted-box strong {
  direction: rtl;
  font-size: 22px;
}

.booking-form {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--black);
  font-weight: 800;
}

input, select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

input[type="file"] {
  padding: 12px;
}

.file-picker {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  border: 1px dashed var(--gold-dark);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--black);
  cursor: pointer;
  text-align: center;
}

.file-picker input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-picker span {
  color: var(--gold-dark);
  font-weight: 900;
}

input:focus, select:focus {
  outline: 2px solid rgba(212,175,55,.3);
  border-color: var(--gold);
}

.slot-area {
  margin: 18px 0;
}

.slot-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 900;
}

.slot-head small { color: var(--muted); font-weight: 500; }

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 54px;
}

.slot-btn {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  align-content: center;
  text-align: center;
}

.slot-btn.is-selected {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

.slot-btn:disabled {
  background: #f2f2f2;
  color: #9d9d9d;
  border-color: #e1e1e1;
  cursor: not-allowed;
}

.slot-time {
  display: block;
}

.slot-badge {
  display: inline-flex;
  justify-self: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  background: #efe9d5;
  color: #8f6a00;
}

.slot-passed .slot-badge {
  background: #e7e7e7;
  color: #777;
}

.slot-full .slot-badge {
  background: #e7e7e7;
  color: #777;
}

.slot-passed .slot-time,
.slot-full .slot-time {
  color: #9c9c9c;
}

.slot-passed,
.slot-full {
  background: #fafafa;
}

.empty-slot {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.price-preview {
  display: grid;
  gap: 6px;
  margin: 12px 0 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fbf7e9;
  border: 1px solid #ead690;
}

.messages p {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.messages .success { background: #edf8ef; color: #176b2c; }
.messages .error { background: #fff0ef; color: #a11d16; }

.footer {
  padding: 32px 0;
  background: var(--black);
  color: #f5f5f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(150px, auto));
  gap: 18px;
  align-items: center;
}

.footer p { margin: 4px 0 0; color: rgba(245,245,245,.62); }
.footer a { color: var(--gold); font-weight: 800; }

.footer-link {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;
}

.footer-link svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.footer-link small {
  grid-column: 2;
  color: rgba(245,245,245,.66);
  font-weight: 500;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu.is-open { display: grid; }
  .hero { min-height: auto; }
  .hero-grid, .reserve-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 64px 0 34px; }
  .hero-panel { max-width: 100%; }
  .section, .reserve-section { padding: 58px 0; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { text-align: right; }
  .nav-actions { margin-inline-start: auto; }
  .mobile-menu { width: 100%; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 22px, 1120px); }
  .nav { min-height: 66px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy p { font-size: 16px; }
  .field-row, .slots { grid-template-columns: 1fr; }
  .booking-form { padding: 18px; }
  .btn { width: 100%; }
  .nav-actions { display: none; }
  .footer-link { grid-template-columns: 22px 1fr; }
  .mobile-socials { grid-template-columns: repeat(4, 40px); }
}
