:root {
  --bg: #070a10;
  --text: #f2eee8;
  --muted: #b8afa2;
  --line: #303640;
  --gold: #d7aa6b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(215, 170, 107, 0.18), transparent 30%),
    repeating-linear-gradient(90deg, #05080f 0, #05080f 15px, #07101a 15px, #07101a 35px);
}

body.page-fade {
  opacity: 0;
  transition: opacity 260ms ease;
}

body.page-fade.is-ready {
  opacity: 1;
}

body.page-fade.is-leaving {
  opacity: 0;
}

a {
  color: inherit;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.header {
  border-bottom: 1px solid rgba(215, 170, 107, 0.3);
  background: rgba(7, 10, 16, 0.92);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.logo {
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  font-size: 0.87rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: #d2c8ba;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #efe2cf;
  margin: 0.32rem 0;
}

.page,
.block {
  margin-top: 2.2rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 5.4vw, 3.8rem);
}

.hero {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1rem, 3.5vw, 2rem);
  background: rgba(8, 12, 17, 0.85);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #080f18;
}

.hero-media img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero:hover .hero-media img {
  transform: scale(1.04);
}

.hero-chip {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  margin: 0;
  border: 1px solid rgba(215, 170, 107, 0.5);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(4, 7, 12, 0.8);
  color: #dfc6a7;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(215, 170, 107, 0.34);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  color: #d8c1a2;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  margin: 0 0 0.8rem;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.18rem;
  margin: 1rem 0 0;
}

.actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.btn-gold {
  background: linear-gradient(180deg, #dfbc85, #c59358);
  color: #1d150f;
  border-color: #b8864a;
}

.btn-dark {
  background: rgba(255, 255, 255, 0.02);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel,
.card,
.product-card,
.brand-story,
.controls {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 14, 21, 0.86);
}

.panel,
.card {
  padding: 1rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: rgba(215, 170, 107, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.service-card:focus-visible {
  outline: 2px solid rgba(215, 170, 107, 0.7);
  outline-offset: 2px;
}

.price {
  color: var(--gold);
  font-weight: 800;
}

.text-link {
  color: #e4c190;
  text-decoration: none;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.controls {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.booking-panel {
  padding: 1rem;
}

.booking-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-grid label,
.booking-picker {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #c4b9aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-picker {
  grid-column: 1 / -1;
}

.slot-title {
  margin: 0;
}

.calendar-days,
.time-slots {
  display: grid;
  gap: 0.55rem;
}

.calendar-days {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.time-slots {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.date-chip,
.time-chip {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1018;
  color: var(--text);
  padding: 0.55rem 0.35rem;
  text-align: center;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.date-chip span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.date-chip.is-active,
.time-chip.is-active {
  border-color: rgba(215, 170, 107, 0.7);
  background: rgba(215, 170, 107, 0.2);
}

.time-chip.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.controls label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #c4b9aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

select,
input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #080e16;
  color: var(--text);
  padding: 0.62rem 0.7rem;
  font: inherit;
}

.brand-story {
  padding: 1rem;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
}

.brand-story p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.brand-logo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1d140d;
  background: linear-gradient(180deg, #e2c292, #bf8d53);
}

.products-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 14, 21, 0.86);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
}

.product-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(58, 85, 85, 0) 0%, rgba(58, 85, 85, 0.35) 78%, rgba(58, 85, 85, 0.65) 100%);
}

.product-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  background: linear-gradient(180deg, rgba(40, 60, 63, 0) 0%, rgba(40, 60, 63, 0.44) 70%, rgba(40, 60, 63, 0.75) 100%);
}

.product-image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.4s ease;
}

@media (hover: hover) {
  .product-card:hover {
    border-color: rgba(215, 170, 107, 0.5);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
  }

  .product-card:hover .product-image-wrap::before {
    opacity: 1;
  }

  .product-card:hover .product-image-wrap img {
    transform: scale(1.08);
    filter: saturate(1.07);
  }
}

.catalog-card {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  animation: card-in 0.45s ease forwards;
  animation-delay: calc(var(--card-order, 0) * 50ms);
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-content {
  padding: 0.8rem;
}

.product-brand {
  margin: 0;
  color: #d5b583;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.product-content h3 {
  font-size: 1.45rem;
  margin-top: 0.3rem;
}

.product-desc,
.product-meta,
.empty,
.admin-status {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-status {
  margin: 0.6rem 0 0;
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
}

.wide {
  grid-column: 1 / -1;
}

.admin-list {
  display: grid;
  gap: 0.8rem;
}

.admin-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
}

.admin-item img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-item-content h3 {
  font-size: 1.25rem;
}

.booking-item {
  grid-template-columns: 1fr auto;
}

.footer {
  text-align: center;
  color: #cfb89a;
  margin: 3rem 0 1.4rem;
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(215, 170, 107, 0.2);
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.92rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.65rem 0;
  }
}

@media (max-width: 700px) {
  .badge {
    display: none;
  }

  .hero-media img {
    min-height: 300px;
  }

  .section-head .btn {
    width: 100%;
    text-align: center;
  }

  .controls,
  .brand-story,
  .admin-form,
  .admin-item,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .calendar-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .time-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .actions .btn,
  .admin-item .btn {
    width: 100%;
    text-align: center;
  }
}
