:root {
  --white: #ffffff;
  --paper: #f6f5f2;
  --ink: #14181d;
  --ink-2: #4a525c;
  --ink-3: #7b838d;
  --line: #e3e1dc;
  --line-2: #d4d1ca;
  --brand: #0a7f9e;
  --brand-dark: #076a85;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* Type */
h1, .h2, .h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15; }
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; }
.lead { margin: 12px 0 0; max-width: 40em; color: var(--ink-2); font-size: 1.06rem; }
.body-lg { margin: 0; color: var(--ink-2); font-size: 1.1rem; line-height: 1.7; }
.kicker { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; border: 1px solid var(--ink); transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: #2a3038; border-color: #2a3038; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #ecebe8; border-color: #ecebe8; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { background: var(--white); border-color: var(--ink); }
.btn-full { width: 100%; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; color: #fff; }
.header.solid .logo-mark, .logo-light .logo-mark { color: var(--brand); }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang button { font-size: 13px; font-weight: 500; padding: 4px 6px; opacity: .6; transition: opacity .2s; }
.lang button.active { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header .btn-sm { background: #fff; color: var(--ink); border-color: #fff; }
.header.solid .btn-sm { background: var(--ink); color: #fff; border-color: var(--ink); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 92vh; height: 92svh; min-height: 560px; max-height: 900px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,18,.72) 0%, rgba(10,14,18,.35) 50%, rgba(10,14,18,.05) 100%), linear-gradient(0deg, rgba(10,14,18,.45) 0%, rgba(10,14,18,0) 40%), linear-gradient(180deg, rgba(10,14,18,.4) 0%, rgba(10,14,18,0) 20%); }
.hero-content { position: relative; padding-bottom: clamp(64px, 10vh, 110px); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; max-width: 12em; }
.hero-lead { margin: 20px 0 32px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0 auto; text-align: right; font-size: 13px; color: rgba(255,255,255,.7); }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(32px, 4vw, 48px); }

/* Intro */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 7vw, 88px) 0 0; border-top: 1px solid var(--line); }
.figures > div { padding: 24px 24px 0 0; }
.figures > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.figures dt { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.figures dt span { font-size: .55em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.figures dd { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }

/* Tabs */
.tabs { display: flex; gap: 4px; flex-shrink: 0; border: 1px solid var(--line-2); border-radius: 4px; padding: 3px; background: var(--white); }
.tabs button { padding: 7px 14px; border-radius: 2px; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { background: var(--ink); color: #fff; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.dest { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: box-shadow .25s; }
.dest:hover { box-shadow: 0 12px 32px -16px rgba(20,24,29,.25); }
.dest.hidden { display: none; }
.dest-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.dest-img img, .dest-img video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest:hover .dest-img img { transform: scale(1.03); }
.dest-body { padding: 20px 22px 24px; }
.dest-region { font-size: 13px; color: var(--ink-3); }
.dest-name { margin: 4px 0 8px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.dest-desc { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
#destMore { margin-top: 40px; }

/* Landscapes */
.land-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.land-tabs::-webkit-scrollbar { display: none; }
.land-tabs button { padding: 0 0 14px; font-size: 16px; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.land-tabs button:hover { color: var(--ink); }
.land-tabs button.active { color: var(--ink); border-color: var(--brand); }
.land-panel { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.land-img { aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; background: var(--line); }
.land-img img { width: 100%; height: 100%; object-fit: cover; }
.land-copy p { margin: 16px 0 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.land-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.land-thumbs figure { margin: 0; }
.land-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.land-thumbs figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

/* Seasons table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; }
.season-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
.season-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-3); padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.season-table td { padding: 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.season-table tr:last-child td { border-bottom: 0; }
.season-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.season-table td:nth-child(2) { white-space: nowrap; }

/* Map */
.map-panel { position: relative; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #dbe7ec; aspect-ratio: 1140 / 650; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-water { fill: #dbe7ec; }
.map-land { fill: #eeece8; stroke: #d3cfc8; stroke-width: .8; stroke-linejoin: round; }
.kz-fill { fill: #ffffff; }
.map-lakes { fill: #b9d3de; stroke: #9fc0cd; stroke-width: .5; }
.map-rivers { fill: none; stroke: #a9c9d6; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.kz-line { fill: none; stroke: #3a434d; stroke-width: 1.2; stroke-linejoin: round; }
.map-labels text { font-family: var(--font); pointer-events: none; }
.map-labels .country { font-size: 13px; letter-spacing: .12em; fill: #9a968e; text-transform: uppercase; }
.map-labels .sea { font-size: 13px; font-style: italic; fill: #5f8fa3; }
.map-scale path { fill: none; stroke: #6b737c; stroke-width: 1.2; }
.map-scale text { font-family: var(--font); font-size: 12px; fill: #6b737c; }
.pin { cursor: pointer; }
.pin .pin-hit { fill: transparent; }
.pin .pin-dot { fill: var(--ink); stroke: #fff; stroke-width: 2.5; transition: fill .15s; }
.pin .pin-ring { fill: none; stroke: var(--brand); stroke-width: 2; opacity: 0; }
.pin .pin-label { font-family: var(--font); font-weight: 500; font-size: 14px; fill: var(--ink); opacity: 0; pointer-events: none; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.pin.city .pin-label { opacity: .9; }
.pin:hover .pin-dot, .pin.active .pin-dot { fill: var(--brand); }
.pin:hover .pin-label, .pin.active .pin-label, .pin.active .pin-ring { opacity: 1; }
.map-card { position: absolute; left: 16px; top: 16px; width: min(380px, calc(100% - 32px)); height: 140px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 24px -12px rgba(20,24,29,.25); }
.map-card-img { height: 100%; border-radius: 2px; overflow: hidden; background: var(--line); }
.map-card-img img { width: 100%; height: 100%; object-fit: cover; }
.map-card-body { min-width: 0; }
.map-card-region { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-card-name { font-weight: 600; font-size: 1.1rem; line-height: 1.25; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-card-desc { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Culture */
.culture { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.culture-copy .body-lg { margin-top: 20px; }
.culture-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(360px, 40vw, 520px); }
.culture-photos figure { position: relative; margin: 0; border-radius: 4px; overflow: hidden; background: var(--line); }
.culture-photos img { width: 100%; height: 100%; object-fit: cover; }
.culture-photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: 14px; color: #fff; background: linear-gradient(0deg, rgba(10,14,18,.65), rgba(10,14,18,0)); }
.culture-photos .c1 { grid-row: span 2; }

/* Video band */
.band { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.band-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,18,.75) 0%, rgba(10,14,18,.15) 60%); }
.band-content { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 88px); }
.band-content .h2 { max-width: 16em; }
.band-content .body-lg { margin-top: 14px; max-width: 36em; color: rgba(255,255,255,.85); }

/* Practical */
.practical-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.practical-grid > div { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--line); }
.practical-grid > div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.practical-grid h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 600; }
.practical-grid p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy .body-lg { margin-top: 16px; }
.contact-sub { margin: 40px 0 12px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: 16px; transition: color .2s; }
.contact-list a:hover { color: var(--brand); }
.contact-list small { color: var(--ink-3); font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); }
.form .invalid { border-color: #c0392b; }
.form-note { margin: -4px 0 0; font-size: 13px; color: var(--ink-3); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .logo { color: #fff; }
.footer p { margin: 14px 0 0; max-width: 26em; }
.footer h4 { margin: 0 0 14px; font-size: 14px; font-weight: 500; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.lang-footer button { font-size: 13px; color: rgba(255,255,255,.7); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .menu-open .header { background: #fff; color: var(--ink); }
  .menu-open .header .logo-mark { color: var(--brand); }
  .menu-open .nav { display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter); background: #fff; }
  .menu-open .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; opacity: 1; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .practical-grid { grid-template-columns: repeat(2, 1fr); }
  .practical-grid > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .practical-grid > div:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .split, .land-panel, .culture, .contact { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div, .figures > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .figures > div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 60px; }
  .header .btn-sm { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero-caption { text-align: left; }
  .dest-grid { grid-template-columns: 1fr; }
  .practical-grid { grid-template-columns: 1fr; }
  .practical-grid > div, .practical-grid > div:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; max-width: 100%; }
  .map-panel { aspect-ratio: auto; }
  .map-svg { position: relative; height: auto; aspect-ratio: 1140 / 650; }
  .map-card { position: relative; left: auto; top: auto; width: auto; height: 120px; margin: 0 8px 8px; grid-template-columns: 96px 1fr; }
  .culture-photos { height: 420px; }
  .table-wrap { border: 0; overflow: visible; }
  .season-table { min-width: 0; }
  .season-table thead { display: none; }
  .season-table, .season-table tbody, .season-table tr, .season-table td { display: block; width: 100%; }
  .season-table tr { border: 1px solid var(--line); border-radius: 4px; padding: 18px; margin-bottom: 12px; }
  .season-table td { padding: 0; border: 0; white-space: normal !important; }
  .season-table td:first-child { font-size: 1.15rem; }
  .season-table td:nth-child(2) { margin: 2px 0 10px; color: var(--brand); font-size: 14px; }
  .season-table td:nth-child(4) { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
  .band { min-height: 60vh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
