:root {
  --ink: #171410;
  --ink-soft: #3a342c;
  --cream: #f4efe6;
  --paper: #fbf8f2;
  --moss: #2f3d32;
  --moss-deep: #1e2a22;
  --mokita: #30415d;
  --clay: #c45c26;
  --clay-deep: #9e4318;
  --mokita-sec: #074178;
  --gold: #c9a56a;
  --line: rgba(23, 20, 16, 0.12);
  --white: #fff;
  --shadow: 0 24px 60px rgba(23, 20, 16, 0.12);
  --radius: 18px;
  --max: 1180px;
  --font-display: "Fraunces", serif;
  --font-sans: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

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

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

button,
input {
  font-family: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mokita-sec);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--mokita-sec);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--mokita-sec);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--clay-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 239, 230, 0.35);
}

.btn-ghost:hover {
  background: rgba(244, 239, 230, 0.1);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: #000;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--mokita-sec);
  transition: width 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  background: var(--mokita);
  color: var(--cream);
}

.hero-copy {
  padding: 72px 7vw 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 9ch;
  color: var(--cream);
}

.hero p.lead {
  max-width: 38ch;
  color: rgba(244, 239, 230, 0.78);
  font-size: 1.08rem;
}

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

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.hero-meta span {
  font-size: 0.82rem;
  color: rgba(244, 239, 230, 0.62);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.hero-badge {
  position: absolute;
  left: -42px;
  bottom: 48px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--mokita-sec);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  rotate: -12deg;
  box-shadow: var(--shadow);
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 110px 0;
}

.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.story-images img:first-child {
  height: 380px;
  margin-top: 40px;
}

.story h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 12px 0 18px;
}

.story p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* Spaces */
.spaces {
  background: var(--cream);
  padding: 96px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.space-card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 20, 16, 0.05);
}

.space-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.space-card div {
  padding: 24px;
}

.space-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.space-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.space-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mokita-sec);
}

/* Menu */
.menu-section {
  padding: 96px 0;
}

.menu-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.menu-list {
  display: grid;
  gap: 18px;
}

.menu-item {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

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

.menu-item h3 {
  font-size: 1.2rem;
}

.menu-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--mokita-sec);
}

/* Gallery */
.gallery {
  padding-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-grid img:first-child {
  grid-row: 1 / 3;
}

/* News */
.news {
  background: var(--mokita);
  color: var(--cream);
  padding: 96px 0;
}

.news .eyebrow {
  color: var(--gold);
}

.news .eyebrow::before {
  background: var(--gold);
}

.news .section-head p,
.news .section-head a {
  color: rgba(244, 239, 230, 0.7);
}

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

.news-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 239, 230, 0.08);
  border-radius: 20px;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-card div {
  padding: 22px;
}

.news-card time {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.news-card h3 {
  margin: 10px 0 8px;
  font-size: 1.35rem;
}

.news-card p {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.92rem;
}

/* Visit */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.visit-map {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(23, 20, 16, 0.2), rgba(23, 20, 16, 0.45)),
    url("../img/mekan.jpg") center/cover;
}

.visit-panel {
  padding: 72px 8vw;
  background: var(--ink);
  color: var(--cream);
}

.visit-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 24px;
}

.hours {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
  padding-bottom: 8px;
  font-size: 0.95rem;
}

/* Newsletter */
.newsletter {
  padding: 72px 0 40px;
}

.newsletter-box {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  background: var(--cream);
  border-radius: 24px;
}

.newsletter h2 {
  font-size: 2rem;
  margin: 6px 0 6px;
}

.newsletter form {
  display: flex;
  gap: 8px;
  width: min(460px, 100%);
}

.newsletter input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 14px 18px;
  outline: none;
}

/* Footer */
.site-footer {
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.site-footer p,
.site-footer a {
  color: var(--ink-soft);
}

.site-footer h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav,
  .header-phone {
    display: none;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .story,
  .space-grid,
  .menu-layout,
  .news-grid,
  .visit,
  .footer-grid,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 48px 24px 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }

  .gallery-grid img:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
    height: 240px;
  }

  .newsletter form,
  .copyright {
    flex-direction: column;
  }

  .hero-badge {
    left: 16px;
    bottom: 16px;
    width: 104px;
    height: 104px;
    font-size: 0.85rem;
  }

  .visit-panel {
    padding: 48px 24px;
  }
}

@media (max-width: 640px) {
  .header-cta .btn {
    display: none;
  }

  .logo {
    font-size: 1.15rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual img {
    min-height: 320px;
  }

  .space-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .menu-item {
    grid-template-columns: 72px 1fr;
  }

  .price {
    grid-column: 2;
  }

  .story-images img,
  .story-images img:first-child {
    height: 220px;
    margin: 0;
  }
}
