/* ASMAN Nomad — тёмный кинематографичный стиль: ночные горы, золото, крупная гротескная типографика */
:root {
  --bg: #0B0D10; --bg-2: #12161B; --bg-3: #1A1F26; --text: #EDE7DA; --muted: #9AA1AA; --dim: #6B727C;
  --gold: #E2B45C; --gold-2: #F0C978; --line: rgba(237, 231, 218, .1); --line-2: rgba(237, 231, 218, .22);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px; --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.02em; margin: 0; text-transform: uppercase; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font: 700 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-gold { background: var(--gold); color: #17130A; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--text); background: var(--text); color: var(--bg); }

/* ---------- шапка ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.bar.solid { background: rgba(11, 13, 16, .86); backdrop-filter: blur(14px); border-color: var(--line); }
.bar-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font: 800 20px/1 var(--display); letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
.logo span { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.switch { display: flex; align-items: center; gap: 12px; }
.langs { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.langs a, .langs button { background: none; border: 0; border-radius: 999px; padding: 5px 10px; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; }
.langs [aria-current="true"] { background: var(--text); color: var(--bg); }
.switch select { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.switch select option { background: var(--bg-2); }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 64px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 70% 20%, #1D2A3A, var(--bg) 70%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; animation: drift 30s ease-in-out infinite alternate; }
.hero-bg img[src] { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 13, 16, .55) 0%, rgba(11, 13, 16, .25) 35%, rgba(11, 13, 16, .85) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(11, 13, 16, .7), transparent 60%); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1%, -1%); } }
.hero h1 { font-size: clamp(44px, 8.4vw, 132px); max-width: 12ch; }
.hero-lead { max-width: 54ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(237, 231, 218, .82); margin: 26px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px; margin: 56px 0 0; padding-top: 24px; border-top: 1px solid var(--line-2); }
.stats dt { font: 700 clamp(28px, 3vw, 42px)/1 var(--display); }
.stats dt small { font-size: .45em; color: var(--muted); margin-left: 2px; }
.stats dd { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.scroll-hint { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 64px; width: 26px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: hint 1.8s ease infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- секции ---------- */
.tours, .places, .voices { padding: clamp(64px, 9vw, 128px) 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.head h2 { font-size: clamp(30px, 4.6vw, 64px); }
.found { color: var(--muted); font-size: 14px; margin: 0; }

/* фильтры */
.filters { display: grid; gap: 14px; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #17130A; }
.chips-sm .chip { padding: 7px 14px; font-size: 13px; }
.chips-sm .chip[aria-pressed="true"] { background: transparent; color: var(--gold); border-color: var(--gold); }
.sels { display: flex; flex-wrap: wrap; gap: 12px; }
.sel { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; }
.sel span { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); font-weight: 700; }
.sel select { background: transparent; border: 0; padding: 6px 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.sel select option { background: var(--bg-2); }

/* карточки туров */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; transition: opacity .2s; }
.grid.dim { opacity: .4; }
.card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; border-radius: var(--r); overflow: hidden; text-decoration: none; isolation: isolate; background: var(--bg-3); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 13, 16, .15) 20%, rgba(11, 13, 16, .6) 55%, rgba(11, 13, 16, .96) 100%); }
.card:hover img { transform: scale(1.07); }
.card-top { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.tag { background: rgba(11, 13, 16, .66); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag-gold { background: var(--gold); color: #17130A; border-color: var(--gold); }
.card-body { display: grid; gap: 10px; padding: 24px; }
.card-meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.card-title { font: 700 22px/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.card-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: rgba(237, 231, 218, .75); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.dots i.on { background: var(--gold); }
.card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.price { font: 700 22px/1 var(--display); }
.price small { font: 600 12px var(--sans); color: var(--muted); }
.price s { font: 500 13px var(--sans); color: var(--dim); }
.when { font-size: 13px; color: var(--muted); }
.card-go { font-size: 13px; font-weight: 700; color: var(--gold); max-height: 0; opacity: 0; overflow: hidden; transition: all .35s ease; }
.card-go b { display: inline-block; transition: transform .3s; }
.card:hover .card-go, .card:focus-visible .card-go { max-height: 24px; opacity: 1; }
.card:hover .card-go b { transform: translateX(4px); }
.state { text-align: center; padding: 48px 0; color: var(--muted); }
.state p { margin: 0 0 18px; }
.more { text-align: center; margin-top: 36px; }

/* направления — горизонтальная лента */
.places { background: var(--bg-2); border-block: 1px solid var(--line); }
.strip { width: min(var(--wrap), 100% - 32px); margin-inline: auto; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.place { all: unset; position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; cursor: pointer; scroll-snap-align: start; isolation: isolate; }
.place:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(11, 13, 16, .92)); }
.place:hover img { transform: scale(1.06); }
.place-in { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 6px; }
.place-in b { font: 700 clamp(15px, 1.25vw, 18px)/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.place-in span { color: rgba(237, 231, 218, .8); font-size: 15px; }
.place-in small { color: var(--gold); font-size: 13px; font-weight: 700; }

/* отзывы */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.voice blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex: 1; }
.voice figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.voice img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(.3); }
.voice figcaption span { display: grid; }
.voice small { color: var(--muted); font-size: 13px; }

/* финальный экран */
.final { position: relative; padding: clamp(96px, 14vw, 200px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 13, 16, .72); }
.final h2 { font-size: clamp(40px, 7vw, 104px); margin-bottom: 22px; }
.final p { color: rgba(237, 231, 218, .8); max-width: 52ch; margin: 0 auto 32px; font-size: 17px; }

/* статьи: карточки */
.articles { padding: clamp(64px, 9vw, 128px) 0 0; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding-bottom: 22px; transition: border-color .2s, transform .3s; }
.acard:hover { border-color: var(--gold); transform: translateY(-3px); }
.acard-img { aspect-ratio: 16 / 10; overflow: hidden; }
.acard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.acard:hover .acard-img img { transform: scale(1.05); }
.acard-cat, .acard-title, .acard-desc, .acard-meta { padding: 0 22px; }
.acard-cat { margin-top: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.acard-title { font: 700 19px/1.2 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.acard-desc { color: var(--muted); font-size: 15px; }
.acard-meta { color: var(--dim); font-size: 13px; }

/* страница статьи */
.art { padding-top: 72px; }
.art-wrap { width: min(780px, 100% - 32px); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0 40px; }
.art-crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 24px; }
.art-crumbs a { color: var(--muted); text-decoration: none; }
.art-crumbs a:hover { color: var(--gold); }
.art-cat { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 16px; }
.art h1 { font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 18px; }
.art-meta { color: var(--dim); font-size: 14px; margin: 0 0 30px; }
.art-cover { margin: 0 0 36px; border-radius: var(--r); overflow: hidden; }
.art-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.art-body { font-size: 18px; line-height: 1.75; color: rgba(237, 231, 218, .88); }
.art-body .art-lead { font-size: 21px; color: var(--text); }
.art-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 44px 0 14px; color: var(--text); }
.art-body ul { padding-left: 22px; }
.art-body li { margin: 8px 0; }
.art-body li::marker { color: var(--gold); }
.art-body blockquote { margin: 36px 0; padding: 26px 30px; background: var(--bg-2); border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; }
.art-body blockquote p { margin: 0; font-size: 20px; color: var(--text); }
.art-sec { width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 56px 0; border-top: 1px solid var(--line); }
.art-sec h2 { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 26px; }
.art-all { margin-top: 26px; }
.art-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--gold); color: #17130A; text-decoration: none; font-weight: 700; font-size: 14px; }
.art-btn:hover { background: var(--gold-2); }

/* подвал */
.foot { padding: 44px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.foot p { margin: 10px 0 0; }
.foot .logo { color: var(--text); }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.contacts a { text-decoration: none; transition: color .2s; }
.contacts a:hover { color: var(--gold); }
.copy { grid-column: 1 / -1; font-size: 12px; color: var(--dim); padding-top: 16px; border-top: 1px solid var(--line); }

/* адаптив */
@media (max-width: 1080px) {
  .grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .switch { margin-left: auto; }
}
@media (max-width: 680px) {
  .articles-grid { grid-template-columns: 1fr; }
  .bar-in { gap: 10px; height: 64px; }
  .switch .btn { display: none; }
  .grid, .cards { grid-template-columns: 1fr; }
  .card { min-height: 440px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stats dd { font-size: 12px; }
  .head { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: 1fr; }
  .contacts { justify-content: flex-start; }
  .scroll-hint { display: none; }
  .card-go { max-height: 24px; opacity: 1; }
}
