:root {
  --wine: #641e34;
  --wine-deep: #36121e;
  --rose: #ad5d72;
  --blush: #f7eeeb;
  --cream: #fffaf5;
  --gold: #c69b57;
  --ink: #272126;
  --muted: #71666b;
  --line: #eadbd6;
  --white: #fff;
  --shadow: 0 20px 50px rgba(54, 18, 30, 0.1);
  --radius: 28px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--wine-deep);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.8rem;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eyebrow.rose {
  color: var(--rose);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: relative;
}

.nav {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  color: var(--white);
  transform: translateX(-50%);
}

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

.brand-mark {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--white);
  font-family: var(--serif);
  font-size: 2.25rem;
}

.brand strong {
  display: block;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand small {
  display: block;
  opacity: 0.74;
  font-size: 0.68rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.admin-open {
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle {
  display: none;
  border: 0;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 27px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(33, 13, 20, 0.8) 0%, rgba(45, 15, 25, 0.56) 42%, rgba(45, 15, 25, 0.28) 100%),
    linear-gradient(0deg, rgba(34, 13, 20, 0.36), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 92px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(3.3rem, 7.5vw, 6.5rem);
}

.hero h1 em {
  color: #e8c39b;
  font-style: normal;
}

.hero-text {
  max-width: 510px;
  margin-bottom: 39px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 13px 28px rgba(74, 22, 41, 0.22);
}

.hero .btn-primary {
  background: var(--rose);
}

.btn-glass {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

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

.btn.small {
  min-height: 46px;
  padding: 9px 19px;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 55px;
  z-index: 1;
  width: 280px;
  padding: 27px 30px;
  border-left: 2px solid var(--gold);
  color: var(--white);
  background: rgba(42, 14, 23, 0.46);
  backdrop-filter: blur(10px);
}

.hero-card p {
  margin: 0 0 5px;
  color: #dac2ae;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 600;
}

.hero-card span {
  font-size: 0.83rem;
  opacity: 0.8;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 0.84fr;
  gap: clamp(38px, 7vw, 92px);
  align-items: end;
}

.intro-copy h2 {
  margin-bottom: 0;
}

.lead {
  margin: 0;
  padding-left: 30px;
  border-left: 1px solid var(--gold);
  color: var(--muted);
  font-size: 1.02rem;
}

.services {
  background: var(--blush);
}

.section-title {
  margin-bottom: 45px;
}

.section-title.centered {
  text-align: center;
}

.section-title p:last-child {
  max-width: 500px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 266px;
  padding: 32px 27px;
  border: 1px solid #eee1dc;
  border-radius: var(--radius);
  background: rgba(255, 250, 245, 0.72);
}

.service-number {
  display: block;
  margin-bottom: 34px;
  color: var(--rose);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.85rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(320px, 51%) 1fr;
  padding: 0;
  background: var(--white);
}

.feature-image {
  min-height: 640px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 550px;
  padding: clamp(54px, 8vw, 86px);
}

.check-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 22px;
  left: 3px;
  width: 16px;
  height: 9px;
  content: "";
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.menus {
  background: #faf4f0;
}

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

.menu-card {
  min-height: 249px;
  padding: 31px 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.menu-card.featured {
  color: var(--white);
  border-color: var(--wine);
  background: var(--wine);
}

.menu-card.featured h3,
.menu-card.featured strong {
  color: var(--white);
}

.menu-card.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.menu-head h3 {
  margin: 0;
  font-size: 2.05rem;
}

.menu-head strong {
  color: var(--wine);
  font-size: 1.18rem;
}

.menu-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.gallery {
  background: var(--white);
}

.gallery-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.gallery-header .section-title {
  margin-bottom: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-button {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--cream);
  font-size: 0.83rem;
  font-weight: 600;
}

.filter-button.active {
  border-color: var(--wine);
  color: var(--white);
  background: var(--wine);
}

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

.gallery-item {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--blush);
}

.gallery-item:first-child {
  grid-row: span 2;
  min-height: 556px;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 36px 17px 16px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(25, 9, 14, 0.7));
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.remove-media {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  background: rgba(54, 18, 30, 0.6);
  font-size: 0.68rem;
}

.empty-gallery {
  grid-column: 1 / -1;
  padding: 46px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.contact {
  color: var(--white);
  background: var(--wine-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(35px, 7vw, 90px);
  align-items: center;
}

.contact-copy h2 {
  max-width: 610px;
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
}

.contact .btn-primary {
  color: var(--wine-deep);
  background: #e7c197;
}

.contact .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.contact-card {
  padding: clamp(29px, 5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.contact-detail {
  margin-bottom: 26px;
}

.contact-detail span {
  display: block;
  margin-bottom: 7px;
  color: #d7ad82;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.contact-detail a {
  color: rgba(255, 255, 255, 0.87);
}

.social-links {
  display: flex;
  gap: 23px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #e7c197;
  font-weight: 600;
}

.qr-wrap {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-top: 27px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
}

.qr-wrap img {
  width: 152px;
  height: 152px;
  border-radius: 10px;
  object-fit: contain;
  background: white;
}

.is-hidden {
  display: none !important;
}

.footer {
  color: rgba(255, 255, 255, 0.7);
  background: #251018;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}

.footer-brand .brand-mark {
  width: 43px;
  height: 43px;
  font-size: 1.85rem;
}

.footer-brand strong {
  font-size: 1.42rem;
}

.footer p {
  margin: 0;
  font-size: 0.82rem;
}

.text-button {
  border: 0;
  color: #d7ad82;
  background: transparent;
  font-size: 0.84rem;
}

dialog {
  border: 0;
}

dialog::backdrop {
  background: rgba(27, 11, 17, 0.72);
  backdrop-filter: blur(3px);
}

.admin-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100vh - 34px);
  padding: clamp(25px, 5vw, 40px);
  overflow-y: auto;
  border-radius: 27px;
  color: var(--ink);
  background: var(--cream);
}

.admin-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.admin-head h2 {
  margin-bottom: 10px;
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.close-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  background: var(--white);
  font-size: 1.65rem;
  line-height: 1;
}

.admin-note {
  margin-bottom: 30px;
  padding: 17px 20px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: #f5eae5;
  font-size: 0.87rem;
}

.admin-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--white);
}

.admin-panel:nth-child(2) {
  grid-row: span 2;
}

.admin-panel h3 {
  margin-bottom: 21px;
  font-size: 1.7rem;
}

.admin-panel label {
  display: block;
  margin: 14px 0 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-panel input:not([type="file"]),
.admin-panel select {
  width: 100%;
  min-height: 47px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--cream);
}

.inline-form {
  display: flex;
  gap: 9px;
}

.upload-area {
  display: grid !important;
  gap: 4px;
  margin: 17px 0 19px !important;
  padding: 28px 15px;
  border: 1px dashed #d6bbae;
  border-radius: 14px;
  color: var(--wine) !important;
  background: var(--cream);
  text-align: center;
}

.upload-area span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.upload-area input {
  margin: 14px auto 0;
  max-width: 100%;
  font-size: 0.77rem;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--rose);
  font-size: 0.82rem;
}

.lightbox {
  width: min(1040px, calc(100% - 30px));
  padding: 0;
  overflow: visible;
  background: transparent;
}

.lightbox .close-button {
  position: absolute;
  top: -18px;
  right: -12px;
  z-index: 1;
}

#lightbox-content img,
#lightbox-content video {
  width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  object-fit: contain;
  background: #110a0d;
}

@media (max-width: 960px) {
  .nav {
    align-items: start;
  }

  .nav-toggle {
    display: block;
    padding: 10px 0 10px 20px;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 0;
    display: none;
    width: min(295px, calc(100vw - 48px));
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 25px;
    border-radius: 18px;
    color: var(--wine-deep);
    background: var(--cream);
    box-shadow: var(--shadow);
  }

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

  .nav-links .admin-open {
    border-color: var(--wine);
  }

  .hero {
    min-height: 720px;
  }

  .hero-card {
    display: none;
  }

  .intro,
  .feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lead {
    padding-left: 20px;
  }

  .service-grid,
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-image {
    min-height: 430px;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 34px, 1200px);
  }

  .nav {
    padding-top: 18px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1.45rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding-top: 82px;
  }

  .service-grid,
  .menu-grid,
  .gallery-grid,
  .admin-panels {
    grid-template-columns: 1fr;
  }

  .gallery-header,
  .footer-inner {
    align-items: start;
    flex-direction: column;
  }

  .gallery-item:first-child {
    grid-row: auto;
    min-height: 350px;
  }

  .gallery-item {
    min-height: 320px;
  }

  .contact-card {
    padding: 27px 22px;
  }

  .admin-panel:nth-child(2) {
    grid-row: auto;
  }

  .inline-form {
    flex-direction: column;
  }
}
