/* Шрифты со своего сервера: Golos Text и Podkova, только кириллица и латиница (OFL) */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/golos-text-cyrillic-721d01.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/golos-text-latin-65c68b.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/golos-text-cyrillic-721d01.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/golos-text-latin-65c68b.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/golos-text-cyrillic-721d01.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/golos-text-latin-65c68b.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/podkova-cyrillic-b6acf0.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/podkova-latin-c06334.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/podkova-cyrillic-b6acf0.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/podkova-latin-c06334.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/podkova-cyrillic-b6acf0.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/podkova-latin-c06334.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Грузинский: у Golos и Podkova его нет, буквы берутся из Noto Sans и Noto Serif Georgian (OFL) под теми же именами.
   Файл качается, только если на странице есть грузинский текст */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/noto-sans-georgian-0178b0.woff2) format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Podkova"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(assets/fonts/noto-serif-georgian-6541de.woff2) format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }

:root {
  /* Седельная ночь и песок: тёплые нейтрали, один ржаво-кожаный акцент */
  --night: #1D1510;
  --night-2: #2A1F17;
  --sand: #F1E7D6;
  --card: #FBF6EE;
  --raised: #E8DCC8;
  --ink: #22180F;
  --ink-2: #5A4A3C;
  --muted: #74645A;
  --line: rgba(34, 24, 15, .1);
  --cream: #F3E9D8;
  --cream-2: rgba(243, 233, 216, .72);
  --cream-line: rgba(243, 233, 216, .12);
  --accent: #A84B26;
  --accent-deep: #8C3B1C;
  --sun: #C9663A;

  --display: "Podkova", Georgia, serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 32px;
  --top-h: 64px;
  --hole: var(--sand);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.015em; }
h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 16px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 112px 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Кнопки и ссылки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: scale(.98); }
.btn--small { height: 36px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--line:hover { background: rgba(127, 110, 95, .14); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; }
.btn--wide { width: 100%; }
.link { color: var(--accent); font-weight: 500; text-decoration: none; }
.link::after { content: " →"; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Бирка с ценой: кожа, дырка, строчка */
.tag {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px 0 18px;
  background: var(--accent); color: var(--cream);
  font: 700 17px/1 var(--display); font-variant-numeric: tabular-nums;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  border-radius: 0 4px 4px 0; white-space: nowrap;
}
.tag::after {
  content: ""; position: absolute; inset: 3px 3px 3px 11px;
  border: 1px dashed rgba(243, 233, 216, .55); border-left: 0; border-radius: 0 2px 2px 0;
  pointer-events: none;
}
.tag__hole { width: 5px; height: 5px; border-radius: 50%; background: var(--hole); flex: none; }
.tag--big { height: 48px; padding: 0 18px 0 24px; font-size: 26px; gap: 12px; clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); }
.tag--big::after { inset: 4px 4px 4px 15px; }
.tag--big .tag__hole { width: 7px; height: 7px; }

/* Верёвка: фирменная деталь, лассо в заголовке и связка шагов */
.rope { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rope--twist { stroke: var(--cream); stroke-width: 1.5; stroke-dasharray: 2 7; opacity: .7; }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(241, 231, 214, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.top--dark { background: rgba(29, 21, 16, .92); border-bottom-color: var(--cream-line); color: var(--cream); }
.top__in { display: flex; align-items: center; gap: 32px; height: var(--top-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); white-space: nowrap; }
.logo__mark { width: 30px; height: 24px; color: var(--accent); flex: none; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { text-decoration: none; font-size: 15px; white-space: nowrap; opacity: .72; transition: opacity .15s var(--ease); }
.top__nav a:hover, .top__nav a[aria-current] { opacity: 1; }
/* Языки: тихо, текущий отмечен рамкой */
.langs { display: flex; gap: 2px; margin-left: -12px; }
.langs a { padding: 4px 8px; border-radius: 6px; font-size: 14px; line-height: 20px; text-decoration: none; opacity: .72; transition: opacity .15s var(--ease); }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; box-shadow: inset 0 0 0 1px var(--line); }
.top--dark .langs a[aria-current] { box-shadow: inset 0 0 0 1px var(--cream-line); }

/* Первый экран — афиша */
.hero { background: var(--night); color: var(--cream); padding: 64px 0 0; overflow: hidden; --hole: var(--night); }
.hero__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; min-height: min(calc(100svh - var(--top-h) - 150px), 720px); }
.hero__place { color: var(--cream-2); font-size: 15px; margin-bottom: 24px; }
.hero h1 { margin-bottom: 28px; }
.hero__big { display: block; font-size: clamp(72px, 9.4vw, 140px); font-weight: 800; line-height: .92; letter-spacing: -.03em; }
/* «დასავლეთი» втрое длиннее «Запада»: грузинский заголовок мельче, чтобы слово целиком влезало в колонку */
:lang(ka) .hero__big { font-size: clamp(40px, 6.6vw, 104px); letter-spacing: -.01em; }
.hero__sub { display: block; margin-top: 12px; font-size: clamp(32px, 3.8vw, 56px); line-height: 1; color: var(--sun); }
.lasso-word { position: relative; display: inline-block; white-space: nowrap; }
.lasso { position: absolute; left: -9%; top: -14%; width: 118%; height: 132%; overflow: visible; pointer-events: none; }
/* Лассо проявляется слева направо один раз при загрузке */
.lasso { clip-path: inset(-20% 100% -20% -20%); animation: throw 1s .3s var(--ease) forwards; }
@keyframes throw { to { clip-path: inset(-20% -20% -20% -20%); } }
.hero__lead { font-size: 19px; line-height: 1.5; color: var(--cream-2); max-width: 30em; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__art { position: relative; justify-self: end; width: min(100%, 440px); padding: 24px 0 0; }
.hero__sun { position: absolute; width: 112%; aspect-ratio: 1; right: -30%; top: -4%; border-radius: 50%; background: var(--sun); }
/* Арка как окно салуна; тонкая рамка держит форму там, где тёмная лошадь сливается с фоном */
.hero__arch { position: relative; width: 100%; aspect-ratio: 900 / 1160; object-fit: cover; border-radius: 999px 999px 16px 16px; outline: 1px solid rgba(243, 233, 216, .4); outline-offset: 10px; }
.tag--pin { position: absolute; left: -32px; bottom: 72px; transform: rotate(-7deg); --hole: var(--night); }

.hero__facts { list-style: none; margin: 56px 0 0; padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px 48px; border-top: 1px solid var(--cream-line); color: var(--cream-2); font-size: 15px; }
.hero__facts b { font: 700 26px/1 var(--display); color: var(--cream); margin-right: 6px; vertical-align: -2px; }

/* Сценарии */
.scen__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.scen__head h2 { margin: 0; }
.scen__head .lead { margin: 0; max-width: 26em; }
.scen__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); --hole: var(--card); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; flex: 1; }
.card h3 { font: 700 32px/1.05 var(--display); }
.card p { margin: 0; color: var(--ink-2); }
.card .btn { margin-top: auto; }
.card .link { margin-top: auto; padding-top: 8px; }
.card--horse { grid-row: span 2; }
.card--horse img { width: 100%; height: 340px; object-fit: cover; object-position: 50% 60%; }
.card--horse .btn { margin-top: 12px; }
.card--party { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1.1fr; background: var(--night); color: var(--cream); box-shadow: none; --hole: var(--night); }
.card--party p { color: var(--cream-2); }
.card--party .ticks li::before { background: var(--sun); }
.card__hats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.card__hats img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.card--party .btn { margin-top: 8px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks li::before { content: ""; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); flex: none; }

/* Квиз */
.quiz { background: var(--night); color: var(--cream); --hole: var(--night-2); }
.quiz__in { display: grid; grid-template-columns: .8fr 1.4fr; gap: 64px; align-items: start; }
.quiz__intro p { color: var(--cream-2); font-size: 17px; max-width: 26em; }
.quiz__progress { margin-top: 32px; font-size: 14px; letter-spacing: .01em; }
.quiz__stage { background: var(--night-2); border-radius: 20px; padding: 32px; min-height: 420px; box-shadow: inset 0 0 0 1px var(--cream-line); }
.quiz__q { font: 700 36px/1.1 var(--display); margin-bottom: 24px; }
.quiz__options { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; }
.opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
  background: rgba(243, 233, 216, .05); box-shadow: inset 0 0 0 1px var(--cream-line);
  transition: background-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.opt:hover { background: rgba(243, 233, 216, .1); box-shadow: inset 0 0 0 1px rgba(243, 233, 216, .3); }
.opt:active { transform: scale(.98); }
.opt img, .opt__empty { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.opt__empty { box-shadow: inset 0 0 0 1px var(--cream-line); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(243, 233, 216, .05) 8px 9px); }
.opt__label { font-size: 18px; font-weight: 500; }
.opt__note { font-size: 14px; color: var(--cream-2); }
.quiz__back { margin-top: 24px; padding: 0; border: 0; background: none; color: var(--cream-2); font-size: 15px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quiz__back:hover { color: var(--cream); }

.result__kicker { margin: 0; color: var(--cream-2); }
.result__title { font: 700 clamp(48px, 5vw, 72px)/1 var(--display); color: var(--sun); margin: 4px 0 12px; }
.result__line { color: var(--cream-2); max-width: 32em; }
.result__items { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.result__items img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.result__items span { font-size: 14px; color: var(--cream-2); font-variant-numeric: tabular-nums; }
.result__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.result__foot .tag { margin-right: 8px; }

/* Гардероб на главной: только разделы */
.wardrobe__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 32px; }
.wardrobe__head h2 { margin: 0; }
.shelves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shelves a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px 8px; text-decoration: none; }
.shelves img { grid-column: 1 / -1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; transition: transform .3s var(--ease); }
.shelves a:hover img { transform: translateY(-4px); }
.shelves span { font-size: 17px; font-weight: 500; }
.shelves b { font: 700 22px/1 var(--display); color: var(--muted); }

/* Как забронировать */
.how { background: var(--card); --hole: var(--card); }
.steps { position: relative; margin-top: 40px; }
.steps__rope { position: absolute; left: 0; right: 0; top: 2px; width: 100%; height: 40px; }
.steps ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--accent); color: var(--cream); font: 700 22px/1 var(--display); box-shadow: 0 0 0 8px var(--card); }
.steps h3 { font: 700 26px/1.1 var(--display); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); max-width: 22em; }

/* О нас */
.about__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; }
.about__img { width: 100%; max-height: 600px; object-fit: cover; object-position: 50% 25%; border-radius: 999px 999px 16px 16px; }
.about__text p { color: var(--ink-2); font-size: 17px; max-width: 34em; }
.about__links a { color: var(--accent); }

/* Подарок */
.gift { background: var(--accent); color: var(--cream); padding: 64px 0; }
.gift__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.gift h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 8px; }
.gift p { margin: 0; color: var(--cream); max-width: 36em; }

/* Бронь */
.book { background: var(--night); color: var(--cream); }
.book__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.book__muted { color: var(--cream-2); }
.book__muted a, .book__edit { color: var(--cream); }
.book__edit { display: inline-block; margin-top: 16px; font-size: 15px; }
.summary { list-style: none; margin: 24px 0 0; padding: 0; }
.summary li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--cream-line); font-size: 15px; }
.summary img { border-radius: 8px; }
.summary__price { font-variant-numeric: tabular-nums; color: var(--cream-2); }
.summary__total { display: flex; justify-content: space-between; margin: 16px 0 0; font: 700 26px/1 var(--display); font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 16px; background: var(--card); color: var(--ink); padding: 32px; border-radius: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.form input:not([type="radio"]), .form textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px;
  background: var(--sand); color: var(--ink); font: 400 16px/1.4 var(--sans);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s var(--ease);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.form [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B42318; }
.form__error { margin: 0; color: #B42318; font-size: 15px; }
.form__kinds { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__kinds legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }
.form__kinds label { display: block; }
.form__kinds input { position: absolute; opacity: 0; pointer-events: none; }
.form__kinds span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(34, 24, 15, .18); color: var(--ink); font-size: 15px; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.form__kinds span:hover { background: var(--raised); }
.form__kinds input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.form__kinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Подвал */
.foot { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.foot--dark { background: var(--night); color: var(--cream); border-top-color: var(--cream-line); }
.foot__in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__muted { margin: 8px 0 0; font-size: 15px; opacity: .7; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; font-size: 15px; }
.foot__links a { text-decoration: none; opacity: .75; }
.foot__links a:hover { opacity: 1; text-decoration: underline; }

/* Страница гардероба */
.wardrobe-head { padding: 48px 0 32px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: inherit; }
.wardrobe-head h1 { font-size: clamp(56px, 7vw, 96px); margin-bottom: 12px; }
.page-catalog .outfit { padding: 0 0 48px; }
.outfit__card { background: var(--card); border-radius: 20px; padding: 32px; box-shadow: inset 0 0 0 1px var(--line); --hole: var(--card); }
.outfit__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.outfit__head h2 { margin: 0; font-size: 36px; }
.presets, .tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.chip, .tab {
  height: 36px; padding: 0 14px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--ink-2); font-size: 15px; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover, .tab:hover { background: var(--raised); color: var(--ink); }
.chip[aria-pressed="true"], .tab[aria-selected="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.tab[aria-selected="true"] .tab__n { color: var(--cream-2); }
.tab__n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 2px; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.slot { position: relative; }
.slot__pick { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.slot__img { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--raised); margin-bottom: 8px; }
.slot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.slot__pick:hover .slot__img img { transform: scale(1.03); }
.slot__label { font-size: 13px; color: var(--muted); }
.slot__name { font-size: 15px; line-height: 1.35; }
.slot--empty .slot__img { box-shadow: inset 0 0 0 1px var(--line); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(34, 24, 15, .04) 8px 9px); }
.slot--empty .slot__name { color: var(--muted); }
.slot__price { position: absolute; top: 12px; left: 0; display: inline-flex; height: 26px; align-items: center; padding: 0 10px; border-radius: 0 6px 6px 0; background: var(--card); font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.slot__x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 6px; border: 0; border-radius: 8px; background: rgba(251, 246, 238, .9); cursor: pointer; transition: background-color .15s var(--ease); }
.slot__x:hover { background: var(--card); }
.slot__x svg { width: 16px; height: 16px; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; }
.outfit__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.outfit__count { margin: 0; }
.outfit__total { display: flex; align-items: center; gap: 16px; }
.catalog { padding-top: 48px; }
.catalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.catalog__head h2 { margin: 0; font-size: 36px; }
.catalog__hint { margin: -16px 0 24px; color: var(--accent); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 24px; }
.item__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--raised); margin-bottom: 12px; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item__name { font-size: 16px; font-weight: 500; line-height: 1.3; min-height: 2.6em; margin-bottom: 12px; }
.item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.item__add { height: 32px; padding: 0 12px; border: 0; border-radius: 8px; cursor: pointer; background: transparent; color: var(--ink); font-size: 14px; box-shadow: inset 0 0 0 1px rgba(34, 24, 15, .2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.item__add:hover { background: var(--raised); }
.item__add[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }

/* Заявка отправлена */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form--sent { align-content: start; justify-items: start; }
.form[hidden] { display: none; }
.form--sent h3 { font: 700 36px/1.05 var(--display); }
.form--sent p { margin: 0; color: var(--ink-2); max-width: 30em; }
.form--sent .quiz__back { margin-top: 0; color: var(--ink-2); }
.form--sent .quiz__back:hover { color: var(--ink); }
.item__size { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--muted); }

/* Блог: карточки статей */
.blog-teaser, .more-posts { background: var(--card); --hole: var(--card); }
.blog-list { padding-top: 16px; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.post-card a { display: grid; gap: 16px; text-decoration: none; }
.post-card__img { display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--raised); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card a:hover .post-card__img img { transform: scale(1.03); }
.post-card__ph { display: block; width: 100%; height: 100%; }
.post-card__body { display: grid; gap: 8px; align-content: start; }
.post-card__meta { font-size: 14px; color: var(--muted); }
.post-card__title { font: 700 24px/1.1 var(--display); }
.post-card a:hover .post-card__title { color: var(--accent); }
.post-card__desc { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card--big { grid-column: 1 / -1; }
.post-card--big a { grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.post-card--big .post-card__title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; }
.post-card--big .post-card__desc { font-size: 18px; -webkit-line-clamp: 4; }
.post-card--big .link { margin-top: 8px; }

/* Блог: статья */
.post__head { padding-top: 48px; padding-bottom: 32px; }
.post__head h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 15em; margin: 8px 0 16px; }
.post__meta { margin: 0; color: var(--muted); font-size: 15px; }
.post__cover { margin-top: 0; margin-bottom: 0; }
.post__cover img { width: 100%; aspect-ratio: 16 / 9; max-height: 640px; object-fit: cover; border-radius: 20px; }
.post__grid { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: 72px; padding-top: 56px; padding-bottom: 112px; }
.post__toc { position: sticky; top: calc(var(--top-h) + 24px); align-self: start; font-size: 15px; }
.post__toc p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.post__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: toc; border-left: 1px solid var(--line); }
.post__toc li { counter-increment: toc; padding-left: 16px; }
.post__toc a { color: var(--ink-2); text-decoration: none; line-height: 1.35; display: block; }
.post__toc a::before { content: counter(toc) ". "; color: var(--muted); font-variant-numeric: tabular-nums; }
.post__toc a:hover { color: var(--accent); }

.prose { font-size: 18px; line-height: 1.7; }
.prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.08; margin: 56px 0 16px; scroll-margin-top: calc(var(--top-h) + 24px); }
.prose h3 { font: 700 24px/1.2 var(--display); margin: 32px 0 8px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 1.3em; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--accent); font-weight: 600; }
.prose strong { font-weight: 600; }
.prose a { color: var(--accent-deep); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose figure { margin: 40px 0; }
.prose figure img { border-radius: 16px; width: 100%; max-height: 640px; object-fit: cover; background: var(--raised); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 20px; color: var(--ink); }
.prose blockquote p { margin: 0; }

.post-cta { margin-top: 64px; padding: 40px; border-radius: 20px; background: var(--night); color: var(--cream); --hole: var(--night); }
.post-cta h2 { color: var(--cream); margin: 20px 0 12px; font-size: clamp(30px, 3vw, 40px); }
.post-cta p { color: var(--cream-2); margin: 0 0 24px; max-width: 30em; }
.post-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.prose .post-cta a.link { color: var(--cream); text-decoration: none; }
.prose .post-cta a.link:hover { text-decoration: underline; }
.prose .post-cta a.btn { color: var(--ink); }

@media (max-width: 1080px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .post-card--big a { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post__grid { grid-template-columns: minmax(0, 720px); gap: 32px; padding-top: 32px; }
  .post__toc { position: static; padding: 20px 24px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .post__toc ol { border-left: 0; }
  .post__toc li { padding-left: 0; }
}
@media (max-width: 760px) {
  .posts { grid-template-columns: 1fr; gap: 32px; }
  .post-card--big a { grid-template-columns: 1fr; gap: 16px; }
  .post-card--big .post-card__title { font-size: 30px; }
  .post-card--big .post-card__desc { font-size: 16px; }
  .post__head { padding-top: 32px; padding-bottom: 24px; }
  .post__cover { padding: 0; }
  .post__cover img { border-radius: 0; }
  .post__grid { padding-bottom: 72px; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 19px; }
  .prose h2 { margin-top: 44px; }
  .post-cta { padding: 28px 20px; margin-top: 48px; }
  .post-cta__actions .btn { width: 100%; }
  .form--sent h3 { font-size: 30px; }
}

/* Меню разделов прячется, когда рядом с языками и кнопкой ему тесно; грузинские пункты длиннее */
@media (max-width: 1180px) {
  .top__nav { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 1279px) {
  :lang(ka) .top__nav { display: none; }
  :lang(ka) .langs { margin-left: auto; }
}

/* Планшет */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr 1fr; }
  .scen__grid { grid-template-columns: 1fr 1fr; }
  .card--horse { grid-row: auto; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .card--horse img { height: 100%; min-height: 360px; }
  .card--party { grid-column: 1 / -1; }
  .quiz__in { grid-template-columns: 1fr; gap: 32px; }
  .slots { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slots::-webkit-scrollbar { display: none; }
  .slot { scroll-snap-align: start; }
  .about__in, .book__in { gap: 40px; }
}

/* Телефон */
@media (max-width: 760px) {
  :root { --gutter: 16px; --top-h: 56px; }
  section { padding: 72px 0; }
  .top .btn--small { padding: 0 12px; font-size: 14px; }
  .top__in { gap: 12px; }
  .langs a { padding: 4px 6px; font-size: 13px; }
  .logo { font-size: 18px; gap: 8px; }
  .hero { padding-top: 32px; }
  .hero__in { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero__big { font-size: clamp(64px, 19vw, 92px); }
  :lang(ka) .hero__big { font-size: clamp(36px, 14vw, 92px); }
  .wardrobe-head h1 { font-size: min(56px, 12vw); }
  .hero__sub { font-size: 30px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { flex: 1; }
  .hero__art { justify-self: center; width: 78%; }
  .hero__sun { right: -24%; }
  .tag--pin { left: -16px; }
  .hero__facts { margin-top: 32px; gap: 8px 24px; }
  .scen__head { margin-bottom: 32px; }
  .scen__grid { grid-template-columns: 1fr; gap: 16px; }
  .card--horse, .card--party { display: flex; flex-direction: column; }
  .card__hats { grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .card--horse img { height: 260px; min-height: 0; }
  .card__body { padding: 24px 20px; }
  .card h3 { font-size: 28px; }
  .quiz__stage { padding: 20px 16px; min-height: 0; }
  .quiz__q { font-size: 30px; }
  .quiz__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt__label, .opt__note { overflow-wrap: anywhere; }
  .result__items { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .result__items span { font-size: 12px; }
  .result__foot .btn { flex: 1; }
  .shelves { grid-template-columns: repeat(5, 40vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .shelves::-webkit-scrollbar { display: none; }
  .shelves li { scroll-snap-align: start; }
  .steps__rope { display: none; }
  .steps ol { grid-template-columns: 1fr; gap: 28px; }
  .about__in, .book__in { grid-template-columns: 1fr; }
  .about__img { max-height: 440px; width: 80%; justify-self: center; }
  .form { padding: 20px 16px; }
  .form__row { grid-template-columns: 1fr; }
  .foot__links { grid-template-columns: 1fr; }
  .outfit__card { padding: 20px 16px; border-radius: 16px; }
  .slots { grid-template-columns: repeat(5, 42vw); gap: 12px; }
  .outfit__total { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .outfit__total .btn { flex: 1 1 auto; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .tab { flex: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .item__name { font-size: 15px; overflow-wrap: break-word; }
  .item__row { flex-wrap: wrap; }
}

/* Узкий телефон: в шапке остаётся знак без названия, чтобы поместились языки и бронь */
@media (max-width: 480px) {
  .top .logo span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .lasso { animation: none; clip-path: none; }
}
