/* Baraqa — ქუთაისი, 1994 წლიდან
   ერთი სტილის ფაილი ორივე ენისთვის. ფერები იცვლება მხოლოდ ქვემოთ, :root-ში. */

:root {
  --bg: #ffffff;
  --ink: #151413;
  --muted: #716d67;
  --line: #e7e4df;
  --accent: #c8322c;

  --serif: "Marcellus", "Noto Serif Georgian", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: 6px;
  --header-h: 76px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --ink: #f3f1ed;
  --muted: #9d9993;
  --line: #262523;
  --accent: #e2493f;

  color-scheme: dark;
}

/* ---------- საფუძველი ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
p,
figure,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--pad);
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
}

/* ---------- ტიპოგრაფია ---------- */

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.8rem);
  line-height: 1.15;
}

:lang(ka) h1 {
  font-size: clamp(2rem, 4.5vw, 3.9rem);
  line-height: 1.22;
  letter-spacing: 0;
}

:lang(ka) h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.5rem);
  line-height: 1.28;
}

.label {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 0.95rem/1.3 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

:lang(ka) h2.label,
h2.label {
  font-size: 0.95rem;
  line-height: 1.3;
}

.label::before {
  content: "";
  flex: none;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 50px;
  padding: 0 1.6em;
  border: 1px solid var(--ink);
  font: 500 0.76rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-solid {
  background: var(--ink);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn svg,
.link-arrow svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font: 500 0.76rem/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- თავი ---------- */

/* თავი ყოველთვის მუქი ზოლია — გვერდისგან გამოსაყოფად.
   ფერები აქვე იცვლება და მემკვიდრეობით გადადის მენიუზე, ენაზე და ღილაკზე. */
.site-header {
  --bg: #151413;
  --ink: #f3f1ed;
  --muted: #a39f98;
  --line: #2e2c29;
  --accent: #e2493f;

  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* მუქ რეჟიმში გვერდიც შავია, ამიტომ ზოლი ოდნავ ღიაა და ხაზით გამოიყოფა */
:root[data-theme="dark"] .site-header {
  --bg: #171615;
  border-bottom-color: var(--line);
}

.site-header.is-scrolled,
.menu-open .site-header {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 36px);
  height: var(--header-h);
}

.brand {
  flex: none;
  display: block;
}

.brand img {
  width: 50px;
  height: 50px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin-left: auto;
}

.nav a {
  position: relative;
  font: 500 0.74rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.nav .nav-cta {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 0.74rem/1 var(--sans);
  letter-spacing: 0.1em;
  color: var(--muted);
}

.lang a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.lang a:hover,
.lang a[aria-current] {
  color: var(--ink);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.icon-btn:hover {
  color: var(--accent);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .sun,
:root[data-theme="dark"] .theme-toggle .moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .sun {
  display: block;
}

.header-cta {
  min-height: 44px;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- პირველი ეკრანი ---------- */

.hero {
  padding-top: clamp(28px, 5vw, 72px);
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 60px);
}

.hero h1 .label {
  margin-bottom: clamp(18px, 2vw, 28px);
}

.hero-side p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}

.strips {
  display: flex;
  gap: var(--gap);
  height: clamp(380px, 62vh, 640px);
}

.strip {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--line);
  transition: flex-grow 0.75s cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

.strip figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.strips:not(:hover) .strip.is-wide,
.strip:hover {
  flex-grow: 3.4;
}

.strips:not(:hover) .strip.is-wide figcaption,
.strip:hover figcaption {
  opacity: 1;
}

/* ---------- სექციები ---------- */

.section {
  padding-block: clamp(56px, 6.5vw, 92px);
}

.section .label + h2 {
  margin-top: 20px;
}

/* ჩვენ შესახებ */

.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.about h2 {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.about-text p:not(.label) {
  max-width: 58ch;
  font-size: 1.06rem;
  text-align: justify;
  hyphens: auto;
}

.about-text p + p {
  margin-top: 1.1em;
}

.about-text .link-arrow {
  margin-top: 32px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* ტრადიცია / გემო */

.duo-head {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.duo figure {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 86vh;
  width: 100%;
  overflow: hidden;
  background: #111;
}

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

.duo figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.26);
}

.duo figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
  font: 400 clamp(1.9rem, 5vw, 4.4rem)/1 var(--serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.duo figcaption span {
  padding-bottom: 0.16em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

/* გალერეა */

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.gallery-grid {
  columns: 3;
  column-gap: var(--gap);
}

.gallery-grid a {
  display: block;
  margin-bottom: var(--gap);
  overflow: hidden;
  break-inside: avoid;
  background: var(--line);
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  transition: transform 0.9s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.gallery-grid a:hover img {
  transform: scale(1.035);
}

/* ჯავშანი */

.reserve {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.reserve-photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.reserve-main p:not(.label) {
  max-width: 34ch;
  margin-top: 18px;
  color: var(--muted);
}

.reserve-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 320px;
  margin-top: 32px;
}

.hours {
  margin-top: 20px;
}

.hours dt {
  color: var(--muted);
}

.hours dd {
  margin-top: 4px;
  font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--serif);
  white-space: nowrap;
}

/* მისამართი და კონტაქტი */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.visit > div {
  padding-block: clamp(8px, 2vw, 24px);
}

.visit > div:first-child {
  padding-right: clamp(28px, 6vw, 88px);
}

.visit > div:last-child {
  padding-left: clamp(28px, 6vw, 88px);
  border-left: 1px solid var(--line);
}

.visit address {
  font-style: normal;
}

.visit p:not(.label) {
  margin-top: 16px;
  color: var(--muted);
}

.visit .btn {
  margin-top: 32px;
}

.contact-list {
  margin-top: 16px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 22px auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-list svg {
  width: 20px;
  height: 20px;
}

.contact-list .k {
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list .v {
  text-align: right;
  font-size: 1.04rem;
}

/* ---------- ბოლო ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 44px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
}

.site-footer a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- ფოტოს გადიდება ---------- */

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(6, 6, 6, 0.95);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox button:hover {
  opacity: 1;
}

.lightbox svg {
  width: 26px;
  height: 26px;
}

.lightbox .lb-close {
  top: 14px;
  right: 14px;
}

.lightbox .lb-prev {
  left: 10px;
  top: 50%;
  margin-top: -26px;
}

.lightbox .lb-next {
  right: 10px;
  top: 50%;
  margin-top: -26px;
}

/* ---------- პატარა ეკრანები ---------- */

@media (max-width: 1040px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--pad) 40px;
    overflow-y: auto;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a,
  .nav .nav-cta {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font: 400 1.75rem/1.25 var(--serif);
    letter-spacing: 0;
    text-transform: none;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-cta {
    color: var(--accent);
  }

  .header-tools {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-content: center;
  }
}

@media (max-width: 900px) {
  .hero-head,
  .about {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 440px;
  }

  .gallery-grid {
    columns: 2;
  }

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

  .reserve-photo {
    grid-row: span 2;
  }

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

  .visit > div:first-child {
    padding-right: 0;
    padding-bottom: clamp(48px, 9vw, 72px);
  }

  .visit > div:last-child {
    padding-left: 0;
    padding-top: clamp(48px, 9vw, 72px);
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    display: none;
  }

  .strips {
    flex-direction: column;
    height: auto;
  }

  .strip,
  .strips:not(:hover) .strip.is-wide,
  .strip:hover {
    flex: none;
    height: 21vh;
    min-height: 132px;
  }

  .strip figcaption {
    opacity: 1;
  }

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

  .duo figure {
    aspect-ratio: 1 / 1;
  }

  .gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .reserve-photo {
    grid-row: auto;
  }

  .reserve-actions {
    max-width: none;
  }

  .contact-list .v {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ქართულში დიდი სათაურები მხედრულით რჩება — ყველა ბრაუზერში ერთნაირად */
:lang(ka) .duo figcaption {
  text-transform: none;
  letter-spacing: 0.03em;
}

/* ---------- პრესა (ჩვენ შესახებ სექციის ბოლოს) ---------- */

.about {
  row-gap: clamp(48px, 6vw, 84px);
}

.press {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 28px clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.press-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px clamp(28px, 5vw, 72px);
}

.press-list a {
  display: block;
}

.press-source {
  display: block;
  font: 400 1.4rem/1.2 var(--serif);
  transition: color 0.2s ease;
}

.press-source::after {
  content: " ↗";
  font: 400 0.75em var(--sans);
  color: var(--muted);
}

.press-title {
  display: block;
  max-width: 44ch;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.press-list a:hover .press-source {
  color: var(--accent);
}

@media (max-width: 900px) {
  .press {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .press-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- ტელეფონი: შეხების ზონები, ქვედა ზოლი, უსაფრთხო კიდეები ---------- */

a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.icon-btn {
  width: 44px;
  height: 44px;
}

.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
}

.site-header,
.site-footer {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.lightbox {
  height: 100dvh;
}

.lightbox img {
  max-height: 86dvh;
  touch-action: pan-y;
}

.mobile-bar {
  display: none;
}

/* წვრილი ბმულები: ხილული ზომა იგივე რჩება, შეხების ზონა იზრდება */
.link-arrow,
.site-footer a {
  position: relative;
}

.link-arrow::before,
.site-footer a::before {
  content: "";
  position: absolute;
  inset: -12px -6px;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 8px;
  }

  .header-tools {
    gap: 4px;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s, background-color 0.3s ease;
  }

  .mobile-bar.is-visible {
    transform: none;
    visibility: visible;
  }

  .menu-open .mobile-bar {
    transform: translateY(105%);
    visibility: hidden;
  }

  .mobile-bar .btn {
    min-height: 48px;
    padding: 0 0.8em;
  }

  /* ბოლო ტექსტი ზოლის ქვეშ რომ არ დაიმალოს */
  .site-footer {
    padding-bottom: calc(44px + 70px + env(safe-area-inset-bottom));
  }
}

/* ---------- ისტორიის ტექსტი ტელეფონზე: შეკეცილი, ღილაკით იშლება ---------- */

.story-toggle {
  display: none;
}

@media (max-width: 640px) {
  .js .story:not(.is-open) {
    max-height: calc(1.06rem * 1.7 * 6);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 45%, transparent);
    mask-image: linear-gradient(#000 45%, transparent);
  }

  .js .about-text .story-toggle {
    display: flex;
    width: fit-content;
    margin-top: 16px;
  }

  .js .about-text .story-toggle + .link-arrow {
    margin-top: 22px;
  }
}

/* ---------- გალერეა ტელეფონზე: ერთი რიგი, თითის გასმით ---------- */

@media (max-width: 640px) {
  .gallery-grid {
    columns: auto;
    display: flex;
    gap: var(--gap);
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid a {
    flex: 0 0 78%;
    margin-bottom: 0;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }

  .gallery-grid img {
    height: 100%;
    object-fit: cover;
  }
}

/* ---------- სექციების ახალი რიგი: გემოები ზემოთ, ისტორია ბოლოში ---------- */

section[aria-labelledby="flavours"] {
  padding-top: clamp(56px, 8vw, 110px);
}

.about {
  border-top: 1px solid var(--line);
}

/* ---------- Instagram / Facebook მობილურ მენიუში ---------- */

.nav-social {
  display: none;
}

@media (max-width: 1040px) {
  .nav .nav-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 40px;
  }

  .nav .nav-social a {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: 50%;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .nav .nav-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
  }

  .nav .nav-social svg {
    width: 22px;
    height: 22px;
  }
}

/* ---------- ქვედა ზოლი ტელეფონზე: მუდამ ჩანს — „დაჯავშნე“ + Instagram + Facebook ---------- */

@media (max-width: 640px) {
  .mobile-bar {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    transform: none;
    visibility: visible;
  }

  .mobile-bar .round {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ink);
    border-radius: 50%;
  }

  .mobile-bar .round svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- კონტაქტი: კომპაქტური სია — ხატულა და ერთი ტექსტი, გაწელვის გარეშე ---------- */

.contact-list {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin-top: 20px;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 0;
  border-bottom: 0;
}

.contact-list .v {
  text-align: left;
  font-size: 1.04rem;
}

/* ---------- პირველი ეკრანი: მისამართი და საათები ერთ ჩარჩოში ---------- */

.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 440px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
}

.hero-facts div {
  padding: 15px 18px 16px;
}

.hero-facts div + div {
  border-left: 1px solid var(--line);
  border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
}

.hero-facts dt {
  font: 500 0.68rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-facts dd {
  margin-top: 7px;
  font: 400 1.12rem/1.3 var(--serif);
  white-space: nowrap;
}

@media (max-width: 380px) {
  .hero-facts div {
    padding-inline: 13px;
  }

  .hero-facts dd {
    font-size: 1rem;
  }
}

/* ---------- პირველი ეკრანი ტელეფონზე: მჭიდროდ, ცარიელი ადგილის გარეშე ---------- */

@media (max-width: 640px) {
  .hero {
    padding-top: 14px;
  }

  .hero-head {
    gap: 16px;
    margin-bottom: 22px;
  }

  .hero h1 .label {
    margin-bottom: 10px;
  }

  .hero-facts {
    max-width: none;
    margin-top: 14px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 14px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-actions .link-arrow {
    margin-top: 2px;
  }
}

/* მისამართის უჯრა მთლიანად ბმულია — ხსნის Google Maps-ს */
.hero-facts div {
  position: relative;
  transition: background-color 0.2s ease;
}

.hero-facts a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-facts a span {
  font: 400 0.8em var(--sans);
  color: var(--muted);
  transition: color 0.2s ease;
}

.hero-facts div:has(a):hover dd,
.hero-facts div:has(a):hover a span {
  color: var(--accent);
}

/* ---------- პირველი ეკრანის ფოტოები ტელეფონზე: კოლაჟი, რომელიც გვერდზე იფურცლება ---------- */
/* პირველ ეკრანზე: ერთი დიდი + ორი პატარა; გასმით ჩნდება დანარჩენი ორი. */

@media (max-width: 640px) {
  .strips {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
    justify-content: start;
    height: clamp(240px, 74vw, 320px);
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .strips::-webkit-scrollbar {
    display: none;
  }

  .strip,
  .strips:not(:hover) .strip.is-wide,
  .strip:hover {
    height: auto;
    min-height: 0;
  }

  .strip.is-wide {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 53vw;
    scroll-snap-align: start;
  }

  .strip:nth-child(1),
  .strip:nth-child(3) {
    grid-column: 2;
    width: 30vw;
  }

  .strip:nth-child(1) {
    grid-row: 1;
  }

  .strip:nth-child(3) {
    grid-row: 2;
  }

  .strip:nth-child(4),
  .strip:nth-child(5) {
    grid-row: 1 / span 2;
    width: 53vw;
    scroll-snap-align: start;
  }

  .strip:nth-child(4) {
    grid-column: 3;
  }

  .strip:nth-child(5) {
    grid-column: 4;
    scroll-snap-align: end;
  }

  .strip figcaption {
    left: 12px;
    bottom: 11px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
}

/* პატარა ფილებზე წარწერა არ ეტევა — ტელეფონზე მხოლოდ დიდ ფოტოებს აქვს */
@media (max-width: 640px) {
  .strip:nth-child(1) figcaption,
  .strip:nth-child(3) figcaption {
    display: none;
  }
}

/* ---------- ჯავშანი + საათები + მისამართი + კონტაქტი: ერთი ბლოკი ---------- */

.book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.book-photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.book-info {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.book .reserve-actions {
  flex-direction: row;
  flex-wrap: wrap;
  max-width: none;
  margin-top: 24px;
}

.book-facts {
  border-top: 1px solid var(--line);
}

.book-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.book-facts dt {
  font: 500 0.68rem/1.3 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.book-facts dd {
  font: 400 1.14rem/1.35 var(--serif);
}

.book-facts dd a {
  transition: color 0.2s ease;
}

.book-facts dd a:hover {
  color: var(--accent);
}

.book-facts dd a span {
  font: 400 0.8em var(--sans);
  color: var(--muted);
}

.book-social {
  display: flex;
  gap: 10px;
}

.book-social .round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.book-social .round:hover {
  border-color: var(--accent);
}

.book-social svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 900px) {
  .book {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }
}

/* ტელეფონზე: ყველაფერი ერთ სვეტად, პირდაპირ ფოტოზე */
@media (max-width: 640px) {
  .book {
    --ink: #ffffff;
    --bg: #141210;
    --muted: rgba(255, 255, 255, 0.74);
    --line: rgba(255, 255, 255, 0.26);

    display: block;
    width: auto;
    margin-inline: 0;
    padding: 0;
    border-top: 0;
    color: #fff;
    overflow: hidden;
  }

  .book-photo {
    position: absolute;
    inset: 0;
  }

  .book-photo img {
    height: 100%;
    aspect-ratio: auto;
  }

  .book-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 9, 7, 0.68);
  }

  .book-info {
    position: relative;
    gap: 24px;
    padding: 40px var(--pad) 36px;
  }

  .book .reserve-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .book .reserve-actions .btn {
    flex: 1 1 auto;
  }

  .book-facts > div {
    grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
    gap: 12px;
    min-height: 56px;
  }

  .book-facts dd {
    font-size: 1.04rem;
  }
}

/* ---------- პირველი ეკრანი ლეპტოპზე: სათაური მთელ სიგანეზე, ქვემოთ ერთ რიგში ტექსტი · ჩარჩო · ღილაკები ---------- */

@media (min-width: 901px) {
  .hero-head {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 2.6vw, 36px);
    margin-bottom: clamp(32px, 3.6vw, 48px);
  }

  .hero h1 {
    text-wrap: wrap;
  }

  .hero-side {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    gap: 20px clamp(24px, 3vw, 44px);
  }

  .hero-side p {
    grid-column: 1 / -1;
    max-width: 46ch;
  }

  .hero-facts {
    width: 420px;
    max-width: none;
    margin-top: 0;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 0;
  }
}

@media (min-width: 1160px) {
  .hero-side {
    grid-template-columns: minmax(0, 1fr) auto auto;
    justify-content: stretch;
  }

  .hero-side p {
    grid-column: auto;
    max-width: 34ch;
  }
}

/* ---------- ფოტოების წარწერები ტელეფონზე: გრძელი წარწერა იტეხება, პატარა ფილებზეც ჩანს ---------- */

@media (max-width: 640px) {
  .strip figcaption {
    right: 12px;
    white-space: normal;
    line-height: 1.55;
  }

  .strip:nth-child(1) figcaption,
  .strip:nth-child(3) figcaption {
    display: block;
    left: 9px;
    right: 6px;
    bottom: 9px;
    font-size: 0.6rem;
    letter-spacing: 0.07em;
  }
}

/* ---------- ჯავშნის ბლოკი ლეპტოპზე: ფოტო უფრო დაბალი, რომ ტექსტს არ აჭარბებდეს ---------- */

@media (min-width: 641px) {
  .book {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }

  .book-photo img {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 640px) {
  .book-facts > div {
    grid-template-columns: minmax(0, 100px) minmax(0, 1fr);
  }

  .book-facts dd {
    font-size: 0.97rem;
  }
}

/* ---------- პირველი ეკრანი ტელეფონზე: ფოტო მთელ ეკრანზე, ბოლისფერი (არა შავი) ბინდით ---------- */

@media (max-width: 640px) {
  .hero {
    --ink: #ffffff;
    --bg: #1b1815;
    --muted: rgba(255, 255, 255, 0.86);
    --line: rgba(255, 255, 255, 0.42);

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: auto;
    min-height: max(500px, calc(100svh - var(--header-h) - 69px));
    margin-inline: 0;
    padding: 0;
    color: #fff;
    overflow: hidden;
  }

  /* ხუთი ფოტოდან ფონად რჩება ხინკლის ფოტო; დანარჩენი გალერეაშია */
  .hero .strips {
    position: absolute;
    inset: 0;
    display: block;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .hero .strip {
    display: none;
  }

  .hero .strip.is-wide {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    height: auto;
  }

  .hero .strip.is-wide img {
    object-position: 30% 50%;
    filter: saturate(0.9);
  }

  .hero .strip figcaption {
    display: none;
  }

  .hero .strips::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(74, 68, 63, 0.34) 0%, rgba(74, 68, 63, 0.2) 34%, rgba(46, 41, 37, 0.5) 62%, rgba(34, 30, 27, 0.72) 100%);
  }

  .hero-head {
    position: relative;
    z-index: 1;
    gap: 14px;
    margin: 0;
    padding: 32px var(--pad) 26px;
  }

  .hero h1 {
    text-shadow: 0 1px 22px rgba(20, 16, 13, 0.45);
  }

  .hero-side p {
    max-width: none;
    text-shadow: 0 1px 14px rgba(20, 16, 13, 0.5);
  }

  .hero-facts {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  /* ჯავშნის ბლოკის ფოტოც იმავე ბოლისფერი ბინდით */
  .book-photo::after {
    background: linear-gradient(180deg, rgba(60, 54, 49, 0.5) 0%, rgba(44, 39, 35, 0.62) 100%);
  }
}

/* ---------- თავის ზოლი: შავის ნაცვლად ბოლისფერი, ოდნავ გამჭვირვალე ---------- */

.site-header {
  --bg: #47433f;
  --muted: #c4bfb8;
  --line: #5f5a55;

  background: rgba(71, 67, 63, 0.88);
}

/* ბუნდოვანება ცალკე ფენაზეა, რომ მობილური მენიუს გადაფარვა არ შეიზღუდოს */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .site-header {
  background: rgba(34, 32, 30, 0.9);
}

/* ბოლისფერ ზოლზე წითელი ლოგო ცუდად იკითხება — აქ თეთრად ჩანს */
.site-header .brand img {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

/* ---------- პირველი ეკრანი ტელეფონზე: სამი ფოტო რბილად ენაცვლება ერთმანეთს ---------- */
/* ხინკალი ყოველთვის ქვედა ფენაა; მეორე და მესამე ფოტო მასზე ჩნდება და ქრება. ერთი წრე 18 წამია. */

@keyframes hero-photo-2 {
  0%, 30% { opacity: 0; }
  36%, 94% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hero-photo-3 {
  0%, 63% { opacity: 0; }
  69%, 94% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 640px) {
  .hero .strip:nth-child(1),
  .hero .strip:nth-child(3) {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    height: auto;
    opacity: 0;
    animation: hero-photo-2 18s ease-in-out infinite;
  }

  .hero .strip:nth-child(1) {
    z-index: 1;
  }

  .hero .strip:nth-child(3) {
    z-index: 2;
    animation-name: hero-photo-3;
  }

  .hero .strip img {
    filter: saturate(0.9);
  }

  .hero .strips::after {
    z-index: 3;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .hero .strip:nth-child(1),
  .hero .strip:nth-child(3) {
    animation: none;
  }
}

/* ფოტოების ფენები ტექსტის ქვემოთ რჩება */
@media (max-width: 640px) {
  .hero .strips {
    z-index: 0;
  }
}

/* ჯავშნის ბლოკში წარწერა აღარ არის — სათაური პირდაპირ იწყება */
.book-info h2 {
  margin-top: 0;
}

/* ---------- ქვედა ზოლი ტელეფონზე: იგივე ბოლისფერი, რაც ზედა ზოლს აქვს ---------- */

@media (max-width: 640px) {
  .mobile-bar {
    --bg: #47433f;
    --ink: #f3f1ed;
    --line: #5f5a55;
    --accent: #e2493f;

    background: rgba(71, 67, 63, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top-color: transparent;
    color: var(--ink);
  }

  :root[data-theme="dark"] .mobile-bar {
    background: rgba(34, 32, 30, 0.9);
    border-top-color: var(--line);
  }
}

/* ---------- პირველი ეკრანი ტელეფონზე: შავი გრადიენტი — ზემოთ გამჭვირვალე, ტექსტის უკან მუქი ---------- */

@media (max-width: 640px) {
  .hero .strips::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.1) 26%,
      rgba(0, 0, 0, 0.5) 46%,
      rgba(0, 0, 0, 0.78) 66%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }

  .hero h1,
  .hero-side p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 26px rgba(0, 0, 0, 0.6);
  }

  .hero-facts {
    background: rgba(0, 0, 0, 0.28);
  }
}

/* ---------- ზედა და ქვედა ზოლი: შავი, რომელიც გამჭვირვალისკენ გადადის (ორივეს ერთი ფერი) ---------- */

.site-header {
  --bg: #121110;
  --muted: #b3aea7;
  --line: #34312e;

  background: linear-gradient(180deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.66) 100%);
}

:root[data-theme="dark"] .site-header {
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.66) 100%);
}

@media (max-width: 640px) {
  .mobile-bar {
    --bg: #121110;
    --line: #34312e;

    background: linear-gradient(0deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.66) 100%);
  }

  :root[data-theme="dark"] .mobile-bar {
    background: linear-gradient(0deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.66) 100%);
    border-top-color: transparent;
  }
}

/* „ჩვენ შესახებ“ ახლა ფოტოების ფილების შემდეგ მოდის — ზედა ხაზი აღარ სჭირდება; გალერეა მისგან ხაზით გამოიყოფა */
.about {
  border-top: 0;
}

#gallery {
  border-top: 1px solid var(--line);
}

/* ---------- ზედა და ქვედა ზოლი: მუქი ბურგუნდისფერი (ლოგოს წითლის მუქი ტონი), ოდნავ გამჭვირვალე გრადიენტი ---------- */

.site-header,
.mobile-bar {
  --bg: #4a0c11;
  --ink: #f7efe8;
  --muted: #dcbfb8;
  --line: rgba(255, 255, 255, 0.2);
  --accent: #f6d9c8;
}

.site-header,
:root[data-theme="dark"] .site-header {
  background: linear-gradient(180deg, rgba(62, 9, 14, 0.96) 0%, rgba(112, 21, 26, 0.8) 100%);
}

@media (max-width: 640px) {
  .mobile-bar,
  :root[data-theme="dark"] .mobile-bar {
    background: linear-gradient(0deg, rgba(62, 9, 14, 0.96) 0%, rgba(112, 21, 26, 0.8) 100%);
    border-top-color: transparent;
  }
}

/* ბურგუნდისფერზე ღილაკი მიტანისას თეთრდება (წითელი აქ არ გამოჩნდებოდა) */
.site-header .btn-solid:hover,
.mobile-bar .btn-solid:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--bg);
}

/* ---------- „ჩვენ შესახებ“ ტელეფონზე: ტექსტი პირდაპირ ბუხრის ფოტოზე ---------- */

@media (max-width: 640px) {
  .about {
    --ink: #ffffff;
    --bg: #15110e;
    --muted: rgba(255, 255, 255, 0.8);
    --line: rgba(255, 255, 255, 0.28);
    --accent: #ef6a5e;

    position: relative;
    display: block;
    width: auto;
    margin-inline: 0;
    padding: 44px var(--pad) 40px;
    border-top: 0;
    color: #fff;
    overflow: hidden;
  }

  .about-photo {
    position: absolute;
    inset: 0;
    max-width: none;
  }

  .about-photo img {
    height: 100%;
    aspect-ratio: auto;
  }

  .about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.84) 100%);
  }

  .about-text,
  .about .press {
    position: relative;
    z-index: 1;
  }

  .about .press {
    margin-top: 36px;
  }

  #gallery {
    border-top: 0;
  }
}

/* ---------- „ჩვენ შესახებ“ ტელეფონზე: ფოტოზე მხოლოდ ისტორიაა; პრესის ბლოკი ისევ თეთრ ფონზეა ---------- */

@media (max-width: 640px) {
  .about {
    --ink: inherit;
    --bg: inherit;
    --muted: inherit;
    --line: inherit;
    --accent: inherit;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    padding: 0;
    color: inherit;
  }

  .about-photo {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
  }

  .about-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .about-text {
    --ink: #ffffff;
    --bg: #15110e;
    --muted: rgba(255, 255, 255, 0.8);
    --line: rgba(255, 255, 255, 0.28);
    --accent: #ef6a5e;

    grid-area: 1 / 1;
    padding: 44px var(--pad) 40px;
    color: #fff;
  }

  .about .press {
    grid-area: 2 / 1;
    margin-top: 0;
    padding: 36px var(--pad) 44px;
    border-top: 0;
  }

  #gallery {
    border-top: 1px solid var(--line);
  }
}

/* ---------- გალერეა: სამი მკაფიო სვეტი (ტელეფონზე — ერთი გასმადი რიგი) ---------- */

.gallery-grid {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}

.gallery-grid a {
  margin-bottom: 0;
}

/* მეათე ფოტო მხოლოდ ლეპტოპზეა საჭირო — შუა სვეტს აგრძელებს */
.gallery-extra {
  display: none;
}

@media (max-width: 640px) {
  .gallery-grid {
    display: flex;
  }

  .gallery-col {
    display: contents;
  }
}

/* ---------- ლეპტოპი: ჯავშნის ბლოკი გალერეის სვეტებში ჩადის ----------
   მარცხენა და მარჯვენა სვეტი შუაზე ზუსტად ერთი კვადრატით მოკლეა. იმ ადგილს
   მარცხნივ ჯავშნის ფოტო იკავებს, მარჯვნივ — ჯავშნის ტექსტი; შუა სვეტის ფოტოები მათ შორის ჩამოდის. */

@media (min-width: 641px) {
  .gallery-grid a.gallery-extra {
    display: block;
  }

  #gallery {
    padding-bottom: 0;
  }

  .book {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    align-items: start;
    padding-top: 0;
    border-top: 0;
  }

  .book-photo {
    grid-column: 1;
    margin-top: -100%;
  }

  .book-photo img {
    aspect-ratio: 1 / 1;
  }

  .book-info {
    grid-column: 3;
    gap: 22px;
    margin-top: -100%;
    padding: 20px 0 0 clamp(18px, 2.2vw, 34px);
  }

  .book .reserve-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .book .reserve-actions .btn {
    flex: 1 1 auto;
    padding: 0 1em;
  }

  .book-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    min-height: 0;
    padding: 11px 0;
  }
}

/* პირველი ეკრანი ლეპტოპზე: მოკლე ტექსტი თავის სვეტს ბოლომდე ავსებს, ჩარჩომდე ცარიელი ადგილი არ რჩება */
@media (min-width: 1160px) {
  .hero-side p {
    max-width: none;
    font-size: clamp(1.08rem, 1.45vw, 1.3rem);
    line-height: 1.55;
  }
}

/* პლანშეტის სიგანეზე ჯავშნის სვეტი ვიწროა — სათაური ოდნავ პატარა */
@media (min-width: 641px) and (max-width: 1040px) {
  .book-info {
    padding-top: 14px;
    padding-left: 16px;
  }

  .book-info h2 {
    font-size: 1.45rem;
  }

  .book .reserve-actions .btn {
    min-height: 44px;
    font-size: 0.7rem;
  }
}

/* ტელეფონზე ისტორიის ფოტო ტექსტის მთელ სიმაღლეზე იჭიმება */
@media (max-width: 640px) {
  .about-photo {
    align-self: stretch;
    justify-self: stretch;
    min-height: 100%;
  }
}

/* ---------- „ჩვენ შესახებ“ ტელეფონზე, ვარიანტი 1: ზემოთ ფოტო ღიად ჩანს, ტექსტი ქვემოთაა ---------- */
/* ფოტო ბლოკის ზედა ნაწილს იკავებს (ქვაბი და ცეცხლი), ქვემოთ რბილად გადადის თბილ მუქ ყავისფერში. */

@media (max-width: 640px) {
  .about {
    background: #160e0a;
  }

  .about-photo {
    align-self: start;
    min-height: 0;
    height: 340px;
  }

  .about-photo img {
    object-position: 50% 58%;
  }

  .about-photo::after {
    background: linear-gradient(
      180deg,
      rgba(22, 14, 10, 0) 0%,
      rgba(22, 14, 10, 0.04) 34%,
      rgba(22, 14, 10, 0.6) 58%,
      rgba(22, 14, 10, 0.9) 78%,
      #160e0a 100%
    );
  }

  .about-text {
    padding-top: 212px;
  }

  .about .press {
    background: var(--bg);
  }
}

/* ---------- მობილური მენიუ: თეთრი ფონი (ზედა ზოლი ბურგუნდისფერი რჩება) ---------- */

@media (max-width: 1040px) {
  .nav {
    --bg: #ffffff;
    --ink: #151413;
    --muted: #716d67;
    --line: #e7e4df;
    --accent: #c8322c;

    background: var(--bg);
    color: var(--ink);
  }

  :root[data-theme="dark"] .nav {
    --bg: #0a0a0a;
    --ink: #f3f1ed;
    --muted: #9d9993;
    --line: #262523;
    --accent: #e2493f;
  }
}

/* ---------- მისამართის უჯრა: რუკის პინი და ხაზგასმა — ჩანს, რომ ბმულია ---------- */

.hero-facts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-facts a svg {
  flex: none;
  width: 17px;
  height: 17px;
}

.hero-facts a .u {
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-facts div:has(a):hover .u {
  color: var(--accent);
}

@media (max-width: 640px) {
  .hero-facts a {
    gap: 5px;
  }

  .hero-facts a svg {
    width: 15px;
    height: 15px;
  }

  .hero-facts dd {
    font-size: 1.04rem;
  }
}

@media (max-width: 380px) {
  .hero-facts dd {
    font-size: 0.95rem;
  }
}

/* ---------- მისამართი: ცალკე სექცია გვერდის ბოლოს, Google-ის რუკით (ფართო, დაბალი) ---------- */

.book {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.find {
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.find-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.find address {
  font-style: normal;
}

.find-map {
  height: clamp(250px, 28vw, 360px);
  overflow: hidden;
  background: var(--line);
}

.find-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .book {
    padding-bottom: 0;
  }

  .find {
    border-top: 0;
  }

  .find-head .btn {
    width: 100%;
  }

  .find-map {
    height: 270px;
    margin-inline: calc(-1 * var(--pad));
  }
}

/* ---------- მისამართის სექცია: ქუთაისის ხაზოვანი ნახატი ფონად (ძალიან მკრთალი) ---------- */
/* ნახატი რუკის ზედა კიდეზე „დგას“; ფერი თემას მიჰყვება, რადგან ნიღბად გამოიყენება. */

.find-head {
  position: relative;
  align-items: flex-end;
  min-height: clamp(130px, 15vw, 196px);
}

.find-head::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * clamp(20px, 3vw, 32px));
  height: clamp(120px, 18.4vw, 228px);
  background: var(--ink);
  opacity: 0.13;
  -webkit-mask: url("../img/kutaisi-lines.svg") center bottom / 100% auto no-repeat;
  mask: url("../img/kutaisi-lines.svg") center bottom / 100% auto no-repeat;
  pointer-events: none;
}

.find-head > * {
  position: relative;
}

.find-head .btn {
  background: var(--bg);
}

.find-head .btn:hover {
  background: var(--ink);
}

@media (max-width: 640px) {
  .find-head {
    min-height: 0;
    padding-bottom: 112px;
  }

  .find-head::before {
    height: 124px;
    opacity: 0.16;
    -webkit-mask-size: auto 124px;
    mask-size: auto 124px;
    -webkit-mask-position: 66% bottom;
    mask-position: 66% bottom;
  }
}

/* ელფოსტა ჯავშნის ბლოკში: გრძელი მისამართი ვიწრო სვეტშიც ეტევა */
.book-facts dd a[href^="mailto:"] {
  font-size: 0.94em;
  overflow-wrap: anywhere;
}

/* ელფოსტა უსერიფო შრიფტით: სერიფულში ციფრი 1 ასო l-ს ჰგავს */
.book-facts dd a[href^="mailto:"] {
  font-family: var(--sans);
  font-size: 0.9em;
}

/* ---------- ტელეფონი: ქუთაისის ნახატი რუკის ქვემოთ, ბოლო ხაზზე „დგას“; ღილაკსა და რუკას შორის ცარიელი ადგილი აღარ არის ---------- */

@media (max-width: 640px) {
  .find-head {
    padding-bottom: 0;
  }

  .find-head::before {
    display: none;
  }

  .find {
    padding-bottom: 0;
  }

  .find::after {
    content: "";
    display: block;
    height: 118px;
    margin: 10px calc(-1 * var(--pad)) 0;
    background: var(--ink);
    opacity: 0.16;
    -webkit-mask: url("../img/kutaisi-lines.svg") 62% bottom / auto 118px no-repeat;
    mask: url("../img/kutaisi-lines.svg") 62% bottom / auto 118px no-repeat;
    pointer-events: none;
  }
}

/* ---------- ტელეფონი: ქუთაისის ნახატი ცალკე ზოლად აღარ არის — ბოლო ბლოკის თეთრ ფონშია ჩასმული, ტექსტის უკან ---------- */

@media (max-width: 640px) {
  .find::after {
    display: none;
  }

  .find {
    padding-bottom: 36px;
  }

  .site-footer {
    position: relative;
    overflow: hidden;
  }

  .site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(69px + env(safe-area-inset-bottom));
    height: 150px;
    background: var(--ink);
    opacity: 0.1;
    -webkit-mask: url("../img/kutaisi-lines.svg") 62% bottom / auto 150px no-repeat;
    mask: url("../img/kutaisi-lines.svg") 62% bottom / auto 150px no-repeat;
    pointer-events: none;
  }

  .footer-inner {
    position: relative;
  }
}

/* ---------- კონტაქტის სტრიქონი: ელფოსტა და სოციალური ქსელების რგოლები ერთად ---------- */

.book-social {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.book-social .book-mail {
  flex: 1 1 auto;
  font: 400 1rem/1.4 var(--sans);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.book-social .book-mail:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .book-social .book-mail {
    flex-basis: 100%;
    font-size: 0.97rem;
  }
}

/* ---------- პირველი ეკრანი ტელეფონზე: ოთხი ფოტო რიგრიგობით ---------- */
/* რიგი: ხინკალი → ღვინის თაროები → ჩურჩხელა → ჭიქები ბუხართან.
   ხინკალი ქვედა ფენაა; ყოველი შემდეგი მასზე ჩნდება და ქრება მაშინვე, როცა მომდევნო დაფარავს. ერთი წრე 24 წამია.
   ორი ფოტო (.strip-m) მხოლოდ ტელეფონზე ჩანს — ლეპტოპის ზოლებში ისევ ძველი ხუთეულია. */

.strip-m {
  display: none;
}

@keyframes hero-fade-2 {
  0%, 21% { opacity: 0; }
  25%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@keyframes hero-fade-3 {
  0%, 46% { opacity: 0; }
  50%, 75% { opacity: 1; }
  75.01%, 100% { opacity: 0; }
}

@keyframes hero-fade-4 {
  0%, 71% { opacity: 0; }
  75%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 640px) {
  .hero .strips .strip {
    display: none;
  }

  .hero .strips .strip[class*="hp-"] {
    position: absolute;
    inset: 0;
    display: block;
    width: auto;
    height: auto;
    opacity: 0;
    animation: hero-fade-2 24s ease-in-out infinite;
  }

  .hero .strips .strip.hp-1 {
    z-index: 0;
    opacity: 1;
    animation: none;
  }

  .hero .strips .strip.hp-2 { z-index: 1; }
  .hero .strips .strip.hp-3 { z-index: 2; animation-name: hero-fade-3; }
  .hero .strips .strip.hp-4 { z-index: 3; animation-name: hero-fade-4; }

  .hero .strips::after {
    z-index: 4;
  }

  /* ხინკალი ფოტოს ქვედა ნაწილშია — ფოტო ზემოთ აწეულია, რომ ტექსტის უკან არ დაიკარგოს */
  .hero .strips .strip.hp-1 img {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 128%;
    object-position: 62% 50%;
  }

  /* ჭიქები ფოტოს შუაშია — გადიდებით ზემოთ ადის, ტექსტის ზემოთ */
  .hero .strips .strip.hp-4 img {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 150%;
    object-position: 56% 50%;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .hero .strips .strip[class*="hp-"] {
    animation: none;
  }
}

/* ---------- გალერეა: 21 ფოტო სამ გვერდად ---------- */
/* ლეპტოპზე ერთ ჯერზე ერთი გვერდი (7 ფოტო) ჩანს, ისრებით იცვლება; ტელეფონზე ყველა ერთ გასმად რიგშია.
   ფილების პროპორციები ფიქსირებულია: მარცხენა და მარჯვენა სვეტი შუაზე ზუსტად ერთი კვადრატით + შუალედით მოკლეა,
   ამიტომ ჯავშნის ბლოკი ყველა გვერდზე ერთნაირად ჩადის. */

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.gallery-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.gallery-nav button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.gallery-nav button:hover {
  background: var(--ink);
  color: var(--bg);
}

.gallery-nav svg {
  width: 18px;
  height: 18px;
}

.gallery-count {
  min-width: 3.4em;
  color: var(--muted);
  font: 500 0.8rem/1 var(--sans);
  letter-spacing: 0.1em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
}

/* კვადრატულ ფილებში კერძი კადრში რომ დარჩეს */
.gallery-grid img[src$="gallery/khinkali.jpg"] { object-position: 50% 85%; }
.gallery-grid img[src$="gallery/cheese-board.jpg"] { object-position: 50% 68%; }
.gallery-grid img[src$="gallery/salad.jpg"] { object-position: 50% 62%; }
.gallery-grid img[src$="gallery/soup-bowl.jpg"] { object-position: 50% 55%; }
.gallery-grid img[src$="gallery/wine-table.jpg"] { object-position: 50% 76%; }
.gallery-grid img[src$="gallery/glasses.jpg"] { object-position: 50% 38%; }
.gallery-grid img[src$="gallery/veal-stew.jpg"] { object-position: 50% 72%; }
.gallery-grid img[src$="gallery/fruit-garden.jpg"] { object-position: 50% 74%; }
.gallery-grid img[src$="gallery/vegetable-stew.jpg"] { object-position: 50% 62%; }
.gallery-grid img[src$="gallery/coffee.jpg"] { object-position: 50% 68%; }

@keyframes gallery-in {
  from { opacity: 0; }
}

@media (min-width: 641px) {
  .js .gallery-nav {
    display: flex;
  }

  .js .gallery-pages .gallery-grid:not(.is-active) {
    display: none;
  }

  .js .gallery-pages .gallery-grid.is-active {
    animation: gallery-in 0.5s ease;
  }

  .gallery-col a { aspect-ratio: 10 / 9; }
  .gallery-col:nth-child(1) a:nth-child(1),
  .gallery-col:nth-child(2) a:nth-child(1),
  .gallery-col:nth-child(3) a:nth-child(2) { aspect-ratio: 10 / 13; }
  .gallery-col:nth-child(2) a:nth-child(2) { aspect-ratio: 1 / 1; }
}

@media (max-width: 640px) {
  .gallery-pages {
    display: flex;
    gap: var(--gap);
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-pages::-webkit-scrollbar {
    display: none;
  }

  .gallery-pages .gallery-grid {
    display: contents;
  }
}

/* ---------- „ჩვენ შესახებ“: ორი ფოტო რბილად ენაცვლება ერთმანეთს (ქვაბი ცეცხლზე ↔ ქვის ბუხარი) ---------- */

@keyframes about-swap {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

.about-photo {
  position: relative;
  overflow: hidden;
}

.about-photo .about-alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0;
  animation: about-swap 14s ease-in-out infinite;
}

@media (max-width: 640px) {
  .about-photo .about-alt {
    object-position: 50% 80%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo .about-alt {
    animation: none;
  }
}
