/* A comfortable, zoom-like scale without CSS zoom or disabling browser zoom. */
:root {
  --primary: #124474;
  --primary-hover: #0d355d;
  --primary-muted: #edf3f9;
  --hero-orange: #ff8a1c;
  --forest: var(--primary);
  --ink: #1c3043;
  --muted: #637383;
  --bg: #f7f9fb;
  --line: #dce4ec;
  --read-body: 18px;
  --read-text: 16px;
  --read-small: 14px;
  --read-label: 13px;
  --read-heading: clamp(38px, 3.8vw, 54px);
  --read-control: 58px;
  --read-gap: 28px;
}

/* Blue is primary; orange highlights the hero action and decorative accents. */
.button-dark, .button-orange { background: var(--primary); color: var(--white); }
.button-dark:hover, .button-orange:hover { background: var(--primary-hover); }
.hero .button-orange { background: var(--accent); color: var(--ink); }
.hero .button-orange:hover { background: var(--accent-hover); }
.hero .button-orange:focus-visible { outline-color: var(--accent); }
.header nav a:hover, .text-link:hover, .tour-detail:hover { color: var(--primary); }
.filter:not(.active):hover, .language-switch button:hover:not([aria-pressed="true"]) { background: var(--primary-muted); border-color: #b6c9da; }
.address-icon, .review-avatar { background: var(--primary-muted); color: var(--primary); }
.proof-strip .icon { color: var(--muted); }
.review-expand, .review-original, .gis-logo { color: var(--primary); }
.review blockquote { color: var(--muted); }
.map-pin-dot { background: var(--primary); box-shadow: 0 0 0 5px #12447433; }
.footer { background: #edf2f7; }
.footer-bottom { border-color: var(--line); }
.back-to-top { border-color: #b6c9da; }
.cta-band .eyebrow { color: #c6d9ec; }
.cta-band p:not(.eyebrow) { color: #e0eaf5; }
.cta-band .button { border: 1px solid #ffffffa6; }
.cta-band .button:focus-visible { outline-color: var(--white); }
.photo-caption { background: #124474b3; }
.club-visual::after { background: linear-gradient(0deg, #102942c4, transparent 60%); }
.moment::after { background: linear-gradient(0deg, #102942d4, transparent 55%); }
.departure { background: #12447440; }
.hero-shade { background: linear-gradient(90deg, #102942d9, #102942b3 70%, #10294233), linear-gradient(0deg, #10294275, transparent 65%); }
.hero h1 span { color: var(--hero-orange); }
.hero-description { color: #f3f7fb; }
.hero-content > .eyebrow, .hero-bottom { color: #e2ebf4; }
.tour-dialog::backdrop { background: #102942bb; }
:focus-visible { outline-color: var(--primary); }

html { scroll-padding-top: 116px; }
body { font-size: var(--read-body); line-height: 1.7; }
.container { max-width: 1240px; width: calc(100% - 96px); }
.nav-shell { height: 104px; gap: 20px; }
.brand img { width: 52px; height: 52px; }
.brand > span { font-size: 29px; }
.brand-club { font-size: 12px; letter-spacing: 5px; }
.header nav { gap: 24px; font-size: var(--read-text); }
.header nav a { padding-block: 14px; }
.nav-cta { font-size: var(--read-small); padding: 14px 20px; }
.icon { width: 24px; height: 24px; }
.button { min-height: var(--read-control); font-size: var(--read-text); padding: 16px 24px; }
.language-switch button { font-size: 13px; min-height: 46px; min-width: 44px; }
.menu-button { min-width: 48px; min-height: 48px; }

h2 { font-size: var(--read-heading); letter-spacing: -1.7px; line-height: 1.17; }
.eyebrow { font-size: var(--read-label); letter-spacing: 1.3px; }
.hero { height: 730px; }
.hero-content { top: 166px; right: 48px; }
.hero h1,
html[lang="kk"] .hero h1,
html[lang="en"] .hero h1 { font-size: clamp(60px, 6.1vw, 88px); line-height: 1.05; }
.hero-content > .eyebrow { font-size: var(--read-label); }
.hero-description { font-size: 20px; line-height: 1.75; margin-bottom: 32px; }
.hero-label, .departure { font-size: var(--read-small); }
.hero-top { align-items: flex-start; }
.hero-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 100%; }
.hero-license { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; max-width: 100%; border: 1px solid #ffffff66; border-radius: 8px; background: #124474d9; font-size: var(--read-small); line-height: 1.6; color: var(--white); }
.hero-license .icon { width: 20px; height: 20px; }
.hero-license > span:last-child { min-width: 0; }
.departure { padding: 10px 16px; }
.departure .icon { width: 18px; height: 18px; }
.hero-bottom { font-size: var(--read-small); }
.hero-bottom > a { width: 48px; height: 48px; }
.hero .button { min-height: 62px; padding-inline: 28px; }
.adventure-stamp { right: 70px; bottom: 130px; }
.adventure-stamp > span,
html:not([lang="ru"]) .adventure-stamp > span { font-size: 8px; }
.proof-strip { font-size: var(--read-small); gap: 24px; padding-block: 32px; }
.proof-strip .icon { width: 22px; height: 22px; }
.proof-strip b { font-size: 20px; }
.rating-star { font-size: 28px; }

.section { padding-top: 100px; }
.section-heading { gap: 32px; margin-bottom: 36px; }
.section-intro { font-size: var(--read-text); line-height: 1.8; max-width: 410px; }
.tour-toolbar { margin-bottom: 30px; align-items: flex-start; }
.filters { gap: 10px; }
.filter { min-height: 50px; font-size: var(--read-small); padding: 12px 16px; }
.filter .icon { width: 19px; height: 19px; }
.filter > span:not([data-icon]) { font-size: 12px; padding: 1px 6px; }
.toolbar-note { font-size: var(--read-small); padding-top: 12px; }
.tour-grid { gap: var(--read-gap); }
.tour-image-button { height: 290px; }
.tour-tag { font-size: var(--read-small); padding: 8px 12px; }
.tour-tag .icon { width: 17px; height: 17px; }
.tour-open { width: 46px; height: 46px; }
.tour-body { padding: 26px; }
.tour-region { font-size: var(--read-small); margin-bottom: 12px; gap: 7px; line-height: 1.6; }
.tour-region .icon { width: 17px; height: 17px; }
.tour-body h3,
html:not([lang="ru"]) .tour-body h3 { font-size: 30px; line-height: 1.2; margin-bottom: 12px; }
.tour-subtitle { font-size: var(--read-text); line-height: 1.75; margin-bottom: 20px; }
.tour-meta { gap: 12px; font-size: var(--read-small); padding-top: 20px; }
.tour-meta > span { align-items: flex-start; }
.tour-meta .icon { width: 18px; height: 18px; }
.tour-meta > span .icon { margin-top: 3px; }
.tour-detail { font-size: var(--read-small); min-height: 44px; white-space: nowrap; }
.tour-note { font-size: var(--read-small); margin-top: 28px; align-items: flex-start; }
.tour-note > span { align-items: flex-start; max-width: 800px; }
.tour-note .icon { width: 20px; height: 20px; margin-top: 3px; }
.tour-note a { min-height: 44px; font-size: var(--read-small); }

.club-section { gap: 64px; padding-top: 120px; }
.club-visual { height: 630px; }
.photo-caption { font-size: var(--read-small); padding: 10px 14px; max-width: calc(100% - 44px); }
.photo-caption .icon { width: 20px; height: 20px; }
.photo-label { font-size: 36px; }
.club-copy h2 { font-size: 44px; line-height: 1.2; }
.club-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-block: 24px 28px; }
.club-name { font-size: 20px; font-weight: 600; line-height: 1.5; }
.club-license { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 8px; background: var(--primary-muted); color: var(--primary); font-size: var(--read-small); font-weight: 550; line-height: 1.6; }
.club-license .icon { width: 20px; height: 20px; }
.club-copy > p:not(.eyebrow) { font-size: var(--read-body); line-height: 1.85; }
.club-features > div { gap: 18px; margin-block: 24px; }
.club-features > div > span { width: 48px; height: 48px; }
.club-features h3 { font-size: var(--read-body); line-height: 1.5; }
.club-features p { font-size: var(--read-text); line-height: 1.8; }
.text-link { font-size: var(--read-text); min-height: 44px; gap: 10px; }
.text-link .icon { width: 21px; height: 21px; }
.moments-section { padding-top: 110px; }
.moments-grid { gap: 22px; }
.moment { height: 330px; }
.moment > span { font-size: var(--read-text); line-height: 1.6; }
.moment > span .icon { width: 22px; height: 22px; margin-top: 3px; }
.source-note { font-size: var(--read-small); margin-top: 18px; line-height: 1.8; }
.cta-band { min-height: 290px; padding: 48px; gap: 32px; }
.cta-band h2 { font-size: 44px; line-height: 1.2; }
.cta-band p:not(.eyebrow) { font-size: var(--read-body); line-height: 1.8; }
.cta-band .eyebrow { font-size: var(--read-label); }

.contact-phone { font-size: 27px; }
.contact-layout { gap: var(--read-gap); }
.contact-layout > * { min-width: 0; }
.address-block > div, .reviews-heading > div { min-width: 0; }
.address-block { padding: 26px; gap: 16px; }
.address-block h3 { font-size: var(--read-body); line-height: 1.5; }
.address-block p { font-size: var(--read-text); }
.address-icon { width: 48px; height: 48px; }
.map-embed { height: 480px; }
.map-controls .button { font-size: var(--read-small); min-height: 48px; padding: 12px 16px; }
.map-controls > a { font-size: var(--read-small); }
.map-location { font-size: var(--read-small); padding: 13px 20px; }
.map-location b { font-size: 20px; }
.map-status { font-size: var(--read-small); padding: 18px 24px 0; line-height: 1.8; }
.map-footer { font-size: var(--read-small); padding: 20px 24px; flex-wrap: wrap; }
.map-footer .text-link { font-size: var(--read-small); }
.reviews-panel { padding: 28px; }
.reviews-heading { align-items: flex-start; }
.reviews-heading h3 { font-size: 24px; line-height: 1.4; }
.reviews-heading p { font-size: var(--read-small); line-height: 1.8; margin-top: 8px; }
.gis-logo { font-size: 18px; margin-top: 5px; }
.gis-logo .icon { width: 18px; height: 18px; }
.review-rating { gap: 18px; padding-bottom: 26px; margin-top: 26px; }
.review-rating > strong { font-size: 52px; }
.stars { font-size: 21px; letter-spacing: 3px; }
.review-rating p { font-size: var(--read-small); }
.rating-label { display: none; }
.review { padding-block: 26px; }
.review-person { gap: 13px; margin-bottom: 16px; }
.review-avatar { width: 42px; height: 42px; font-size: var(--read-small); }
.review h4 { font-size: var(--read-text); line-height: 1.5; }
.review time { font-size: var(--read-small); margin-top: 4px; }
.review-platform { font-size: var(--read-small); }
.review blockquote { font-size: var(--read-text); line-height: 1.85; }
.review-expand, .review-original { font-size: var(--read-small); min-height: 44px; }
.review-translation { font-size: var(--read-small); }
.review-actions { gap: 8px 14px; margin-top: 4px; }
.reviews-footer { align-items: flex-start; flex-wrap: wrap; padding-top: 20px; }
.reviews-footer small, .reviews-footer .text-link { font-size: var(--read-small); }
.faq { padding-block: 110px; }
.faq h2 { font-size: 44px; line-height: 1.2; }
.faq summary { font-size: var(--read-body); padding-block: 24px; gap: 24px; }
.faq summary .icon { width: 24px; height: 24px; }
.faq details p { font-size: var(--read-text); line-height: 1.85; }
.footer-top { padding-block: 44px; gap: 36px; }
.footer-top > p { font-size: var(--read-text); }
.footer-socials { gap: 24px; }
.footer-socials a { font-size: var(--read-text); min-height: 44px; }
.footer-socials .icon { width: 20px; height: 20px; }
.back-to-top { width: 48px; height: 48px; }
.footer-bottom { font-size: var(--read-small); padding-block: 24px; }

.tour-dialog { max-width: 760px; }
.dialog-image { height: 290px; }
.dialog-body { padding: 34px; }
.dialog-body h2 { font-size: 44px; line-height: 1.2; }
.dialog-body > p:not(.eyebrow), .dialog-body li { font-size: var(--read-body); line-height: 1.8; }
.dialog-body li .icon { width: 20px; height: 20px; margin-top: 5px; }
.dialog-notice { font-size: var(--read-text); padding: 18px; line-height: 1.8; }
.dialog-source { font-size: var(--read-text); line-height: 1.6; min-height: 44px; text-align: center; }
.dialog-source .icon { width: 20px; height: 20px; }
.dialog-body > small { font-size: var(--read-small); line-height: 1.85; text-align: left; }
.footer-bottom { align-items: center; }

@media (max-width: 1280px) {
  .nav-cta { display: none; }
  .header nav { display: none; position: absolute; top: 104px; left: 0; right: 0; background: var(--bg); padding: 20px 28px 28px; border-bottom: 1px solid var(--line); }
  .header nav.open { display: flex; flex-direction: column; gap: 6px; }
  .menu-button { display: grid; place-items: center; }
  .language-switch { margin-left: auto; }
  .proof-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .toolbar-note { display: none; }
  .club-section { gap: 40px; }
  .club-copy h2 { font-size: 40px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-top > p { display: none; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1, html[lang="kk"] .hero h1, html[lang="en"] .hero h1 { font-size: 72px; }
  .adventure-stamp { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .club-section { grid-template-columns: 1fr; gap: 40px; }
  .club-visual { height: 460px; }
  .club-copy { max-width: 800px; }
  .club-copy h2 { font-size: 44px; }
  .moments-grid { grid-template-columns: 1.3fr 1fr; }
  .moment:last-child { display: none; }
}

@media (max-width: 800px) {
  .nav-shell { height: 86px; width: calc(100% - 40px); gap: 12px; }
  .header nav { top: 86px; }
  .brand img { width: 44px; height: 44px; }
  .brand > span { font-size: 26px; }
  .brand-club { font-size: 11px; }
  .container { width: calc(100% - 48px); }
  .hero { height: 750px; }
  .hero-content { top: 178px; left: 34px; right: 30px; }
  .hero h1, html[lang="kk"] .hero h1, html[lang="en"] .hero h1 { font-size: 60px; letter-spacing: -2.5px; }
  .hero-description { font-size: var(--read-body); }
  .hero-top { inset: 28px 30px auto; }
  .hero-label, .departure { font-size: var(--read-label); }
  .hero-bottom { font-size: var(--read-small); left: 30px; right: 30px; gap: 20px; }
  .section { padding-top: 76px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-intro { max-width: 600px; }
  .tour-note { flex-direction: column; gap: 10px; }
  .club-section { padding-top: 80px; }
  .club-features h3 { font-size: var(--read-body); }
  .photo-label { font-size: 32px; }
  .moments-section { padding-top: 80px; }
  .contact-phone { font-size: 25px; }
  .cta-band h2, .club-copy h2, .faq h2 { font-size: 40px; }
  .faq { padding-block: 80px; }
  .faq summary { font-size: var(--read-body); }
  .footer-top { flex-wrap: wrap; }
  .footer-socials { margin-left: 0; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  :root { --read-body: 17px; --read-text: 16px; --read-small: 14px; --read-heading: 38px; }
  .nav-shell { width: calc(100% - 28px); height: 82px; gap: 6px; }
  .header nav { top: 82px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand > span { font-size: 23px; }
  .brand-club { font-size: 10px; letter-spacing: 4px; }
  .language-switch { gap: 0; padding: 2px; }
  .language-switch button { font-size: 12px; min-width: 44px; min-height: 44px; }
  .menu-button { min-width: 44px; }
  .container { width: calc(100% - 40px); }
  .page-wide { width: calc(100% - 24px); }
  .hero { height: auto; min-height: 740px; }
  .hero-top { inset: 25px 24px auto; gap: 14px; }
  .hero-content { position: relative; top: auto; left: auto; right: auto; padding: 212px 24px 150px; }
  .hero h1, html[lang="kk"] .hero h1, html[lang="en"] .hero h1 { font-size: clamp(39px, 11.8vw, 54px); letter-spacing: -1.8px; line-height: 1.08; }
  .hero-content > .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .hero-description { font-size: var(--read-text); line-height: 1.85; margin-bottom: 28px; }
  .hero .button { font-size: var(--read-text); padding-inline: 20px; gap: 8px; width: 100%; }
  .hero-label, .departure { font-size: 12px; }
  .hero-bottom { left: 24px; right: 24px; bottom: 25px; font-size: 13px; align-items: flex-end; }
  .hero-bottom > span { max-width: none; }
  .proof-strip { font-size: var(--read-small); gap: 22px 16px; align-items: start; }
  .proof-strip > span, .proof-strip > a { align-items: flex-start; gap: 8px; }
  .proof-strip .icon { margin-top: 3px; }
  .proof-strip a { flex-wrap: wrap; }
  .proof-strip b { font-size: 19px; }
  .section-heading h2 { font-size: var(--read-heading); }
  .section-heading .eyebrow { font-size: var(--read-label); }
  .section-intro { font-size: var(--read-text); margin-top: 0; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 9px; }
  .filter { font-size: 13px; padding: 10px; gap: 7px; text-align: center; min-height: 56px; }
  .filter .icon { width: 17px; height: 17px; }
  .tour-grid { grid-template-columns: 1fr; gap: 28px; }
  .tour-image-button { height: 280px; }
  .tour-body { padding: 24px; }
  .tour-body h3, html:not([lang="ru"]) .tour-body h3 { font-size: 30px; }
  .tour-tag { font-size: 13px; }
  .tour-subtitle { font-size: var(--read-text); }
  .tour-meta { font-size: var(--read-small); gap: 10px; }
  .tour-detail { font-size: var(--read-small); }
  .tour-note, .tour-note a { font-size: var(--read-small); }
  .club-visual { height: 420px; }
  .photo-caption { left: 18px; right: 18px; width: auto; font-size: var(--read-small); }
  .photo-label { font-size: 30px; left: 24px; }
  .club-copy > .eyebrow, .cta-band .eyebrow, .faq .eyebrow { font-size: var(--read-label); }
  .club-copy h2, .cta-band h2, .faq h2 { font-size: 36px; }
  .club-copy > p:not(.eyebrow) { font-size: var(--read-body); }
  .moments-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .moment { height: 250px; }
  .moment.landscape { height: 290px; grid-column: span 2; }
  .moment:last-child { display: block; }
  .moment > span { font-size: var(--read-small); left: 16px; right: 16px; }
  .source-note { font-size: var(--read-small); }
  .cta-band { padding: 30px 24px; gap: 26px; }
  .cta-band .button { font-size: var(--read-text); width: 100%; }
  .cta-band p:not(.eyebrow) { font-size: var(--read-body); }
  .contact-phone { font-size: 25px; flex-wrap: wrap; gap: 10px; }
  .address-block { padding: 20px 16px; gap: 10px; }
  .address-block h3 { font-size: var(--read-text); }
  .address-block p { font-size: var(--read-small); }
  .address-icon { width: 40px; height: 44px; }
  .map-embed { height: 380px; }
  .map-footer { padding: 18px; font-size: var(--read-small); gap: 10px; }
  .map-controls .button { font-size: 13px; padding-inline: 12px; }
  .map-controls { flex-wrap: wrap; }
  .map-controls .button { max-width: 100%; text-align: left; }
  .map-controls > a { margin-left: auto; }
  .map-controls > a { font-size: 12px; }
  .map-status { padding: 16px 18px 0; font-size: var(--read-small); }
  .reviews-panel { padding: 24px 20px; }
  .reviews-heading h3 { font-size: 22px; }
  .reviews-heading p { font-size: var(--read-small); }
  .gis-logo { font-size: 16px; }
  .review-rating { gap: 14px; }
  .review-rating > strong { font-size: 48px; }
  .review-rating p { font-size: var(--read-small); }
  .review h4 { font-size: var(--read-text); }
  .review time, .review-platform { font-size: 13px; }
  .review blockquote { font-size: var(--read-text); }
  .reviews-footer small, .reviews-footer .text-link { font-size: var(--read-small); }
  .faq summary { font-size: var(--read-body); line-height: 1.7; min-height: 80px; }
  .faq details p { font-size: var(--read-text); }
  .footer-top { gap: 24px; }
  .footer-socials { gap: 14px; }
  .footer-socials a { font-size: var(--read-text); }
  .footer-bottom { font-size: var(--read-small); gap: 12px; line-height: 1.8; }
  .dialog-image { height: 240px; }
  .dialog-body { padding: 24px; }
  .dialog-body h2 { font-size: 36px; }
  .dialog-body > p:not(.eyebrow), .dialog-body li { font-size: var(--read-text); }
  .dialog-notice, .dialog-source { font-size: var(--read-small); }
  .dialog-body > small { font-size: var(--read-small); }
}

@media (max-width: 380px) {
  .nav-shell > .brand > span { display: none; }
  .tour-meta { flex-wrap: wrap; }
  .review-platform { display: none; }
  .review-rating { flex-wrap: wrap; }
}

/* Only the content pane scrolls. Both actions remain visible from the start. */
#tour-dialog {
  width: min(760px, calc(100% - 32px));
  height: min(850px, calc(100dvh - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}
#dialog-content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.dialog-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.dialog-scroll .dialog-body { padding-bottom: 28px; }
.dialog-actions { flex: 0 0 auto; padding: 20px 34px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-top: 1px solid var(--line); }
.dialog-actions .button { width: 100%; }
.dialog-actions .dialog-source { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 12px 18px; min-height: 54px; line-height: 1.5; border: 1px solid var(--primary); border-radius: 8px; color: var(--primary); font-weight: 550; transition: background-color .2s; }
.dialog-actions .dialog-source:hover { background: var(--primary-muted); }
.dialog-close { border: 1px solid var(--line); }

@media (max-width: 600px) {
  .hero-shade { background: linear-gradient(90deg, #102942b8, #10294266), linear-gradient(0deg, #102942c9, transparent 90%); }
  .dialog-actions { padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); gap: 10px; }
  .dialog-actions .button { min-height: 56px; padding: 14px 16px; }
  .dialog-actions .dialog-source { font-size: 14px; padding: 10px 12px; min-height: 48px; }
}
@media (max-height: 650px) {
  .dialog-scroll .dialog-image { height: 180px; }
  .dialog-scroll .dialog-body { padding-top: 24px; }
  .dialog-actions { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
}
