:root {
  --ink: #17201d;
  --muted: #66716d;
  --brand: #123a32;
  --brand-2: #1c5a4c;
  --gold: #e4a63a;
  --gold-soft: #f7e7bd;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --surface-2: #f1f4ef;
  --line: #dfe5df;
  --danger: #a23d38;
  --danger-soft: #fae9e7;
  --warning: #8a6212;
  --warning-soft: #fff3d7;
  --success: #277356;
  --success-soft: #e4f4eb;
  --shadow: 0 18px 45px rgba(24, 49, 41, .10);
  --radius: 22px;
  --radius-sm: 13px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.internet-test-banner { min-height: 34px; padding: 7px 16px; display: flex; align-items: center; justify-content: center; background: #7a3e17; color: white; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-align: center; }
body, input, select, textarea, button { font: inherit; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { border-radius: 0; }
button { cursor: pointer; }
img { max-width: 100%; }
main { min-height: 68vh; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.narrow-container { width: min(760px, 100%); text-align: center; }
.section { padding: 88px 0; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 6vw, 5.35rem); margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); margin-bottom: 18px; }
h3 { font-size: 1.22rem; }
p { color: var(--muted); }
.lead { font-size: 1.14rem; line-height: 1.7; }
.eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--brand-2);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-light { color: #f4dca8; }
.text-link { color: var(--brand-2); font-weight: 750; }
.text-link:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 780;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 10px 25px rgba(18, 58, 50, .17); }
.btn-primary:hover { background: #0b3029; box-shadow: 0 12px 28px rgba(18, 58, 50, .24); }
.btn-light { background: white; color: var(--brand); }
.btn-light:hover { background: #f9f3e6; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--brand); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-block { width: 100%; }
.btn-small { min-height: 36px; padding: 0 13px; font-size: .85rem; background: var(--brand); color: white; border-radius: 9px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, .94);
  border-bottom: 1px solid rgba(223, 229, 223, .85);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 4px;
  background: var(--brand);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.13);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.03; }
.brand-copy strong { font-size: 1.15rem; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: .93rem; font-weight: 650; }
.main-nav > a:not(.nav-account):hover { color: var(--brand-2); }
.nav-account { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; }
.nav-account:hover { border-color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 11px; font-size: 1.2rem; }
.inline-form { display: inline; margin: 0; }
.link-button, .button-reset { border: 0; padding: 0; background: transparent; color: var(--muted); font-weight: 650; }
.link-button:hover, .button-reset:hover { color: var(--brand); text-decoration: underline; }

/* Flash */
.flash { border-bottom: 1px solid transparent; }
.flash-success { background: var(--success-soft); color: var(--success); border-color: #c1e5cf; }
.flash-warning { background: var(--warning-soft); color: var(--warning); border-color: #ead39b; }
.flash-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 650; }
.flash-inner button { border: 0; background: transparent; color: currentColor; font-size: 1.35rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, #f8f2e6 0%, #fbfaf6 55%, #edf2ec 100%); }
.hero::before { content: ""; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(228,166,58,.25); border-radius: 50%; left: -150px; top: 40px; }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 em { color: var(--brand-2); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-copy > p { max-width: 720px; font-size: 1.16rem; line-height: 1.72; }
.hero-quick-actions { display: none; }
.hero-search {
  margin-top: 32px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-weight: 650; font-size: .9rem; }
label > span { color: #37423e; font-size: .78rem; letter-spacing: .01em; }
input, select, textarea {
  width: 100%;
  border: 1px solid #ccd5cf;
  background: white;
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input, select { min-height: 47px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(28,90,76,.12); }
.hero-search input, .hero-search select { border-color: transparent; background: #f5f7f4; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: #53605b; font-size: .85rem; font-weight: 650; }

.hero-art { position: relative; height: 500px; border-radius: 40px 40px 40px 12px; overflow: hidden; background: linear-gradient(#b9d8d1 0 50%, #9cc6bd 50%); box-shadow: 0 30px 70px rgba(18,58,50,.18); }
.sun { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #f0bf58; top: 52px; right: 66px; box-shadow: 0 0 0 17px rgba(240,191,88,.17); }
.mountain { position: absolute; width: 0; height: 0; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; }
.mountain-back { left: -70px; bottom: 160px; border-left-width: 240px; border-right-width: 250px; border-bottom-width: 290px; border-left-color: transparent; border-right-color: transparent; border-bottom-color: #6c988e; }
.mountain-front { right: -100px; bottom: 120px; border-left-width: 280px; border-right-width: 280px; border-bottom-width: 350px; border-left-color: transparent; border-right-color: transparent; border-bottom-color: #315f54; }
.mountain-back::after, .mountain-front::after { content: ""; position: absolute; width: 0; height: 0; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; }
.mountain-back::after { left: -85px; top: 102px; border-left-width: 85px; border-right-width: 85px; border-bottom-width: 103px; border-left-color: transparent; border-right-color: transparent; border-bottom-color: rgba(238,246,241,.82); transform: rotate(180deg); }
.mountain-front::after { left: -101px; top: 126px; border-left-width: 101px; border-right-width: 101px; border-bottom-width: 128px; border-left-color: transparent; border-right-color: transparent; border-bottom-color: rgba(238,246,241,.84); transform: rotate(180deg); }
.lake { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(180deg, #75b5af, #4e8f8b); }
.lake::after { content: ""; position: absolute; left: 10%; right: 12%; top: 35px; height: 2px; background: rgba(255,255,255,.58); box-shadow: 70px 28px 0 rgba(255,255,255,.34), -15px 55px 0 rgba(255,255,255,.28); }
.yurt { position: absolute; left: 56px; bottom: 78px; width: 136px; height: 112px; z-index: 3; filter: drop-shadow(0 13px 11px rgba(18,58,50,.24)); }
.yurt-roof { width: 126px; height: 47px; margin-left: 5px; border-radius: 100% 100% 0 0; background: #f3e6c6; border: 4px solid #8e5d33; transform: perspective(60px) rotateX(7deg); }
.yurt-body { margin-top: -4px; height: 67px; background: #efe0bb; border: 4px solid #8e5d33; border-radius: 8px 8px 20px 20px; position: relative; }
.yurt-body::before, .yurt-body::after { content: ""; position: absolute; left: 14px; right: 14px; height: 5px; background: #a94737; border-radius: 4px; }
.yurt-body::before { top: 10px; }
.yurt-body::after { top: 25px; }
.yurt-body span { position: absolute; width: 29px; height: 39px; bottom: -1px; left: 50%; transform: translateX(-50%); background: #7a4a2b; border-radius: 13px 13px 0 0; }
.hero-note { position: absolute; z-index: 5; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 12px 28px rgba(18,58,50,.15); font-size: .82rem; font-weight: 750; }
.note-one { left: 28px; top: 40px; }
.note-two { right: 22px; top: 215px; }
.note-three { right: 34px; bottom: 32px; }

/* Sections */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 0; }
.category-section { background: white; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-height: 248px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.category-card-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 18px; font-size: 2rem; background: #f3f4ef; }
.category-card strong { font-size: 1.28rem; }
.category-card p { margin: 8px 0 20px; font-size: .92rem; }
.category-card > span:last-child { margin-top: auto; color: var(--brand-2); font-weight: 760; font-size: .9rem; }
.category-stay .category-card-icon { background: #e1f0e7; }
.category-transfer .category-card-icon { background: #e4edf6; }
.category-tour .category-card-icon { background: #f7e6c7; }
.category-goods .category-card-icon { background: #f3e3e0; }

.offers-section { background: var(--paper); }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: flex; flex-direction: column; min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-visual { min-height: 190px; padding: 21px; display: flex; align-items: end; justify-content: space-between; position: relative; overflow: hidden; }
.offer-visual::before, .detail-visual::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; right: -42px; top: -55px; background: rgba(255,255,255,.3); }
.offer-visual::after, .detail-visual::after { content: ""; position: absolute; width: 95px; height: 95px; border-radius: 50%; left: -20px; bottom: -42px; border: 18px solid rgba(255,255,255,.20); }
.offer-visual.category-stay, .detail-visual.category-stay, .ticket-icon.category-stay { background: linear-gradient(135deg, #7eb49b, #286a55); }
.offer-visual.category-transfer, .detail-visual.category-transfer, .ticket-icon.category-transfer { background: linear-gradient(135deg, #83a9c9, #315a7b); }
.offer-visual.category-tour, .detail-visual.category-tour, .ticket-icon.category-tour { background: linear-gradient(135deg, #e0b462, #986126); }
.offer-visual.category-goods, .detail-visual.category-goods, .ticket-icon.category-goods { background: linear-gradient(135deg, #ca8f80, #854b42); }
.offer-icon { position: relative; z-index: 2; font-size: 4.5rem; filter: drop-shadow(0 8px 9px rgba(0,0,0,.13)); }
.offer-category { position: relative; z-index: 2; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.88); color: var(--ink); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.offer-body { flex: 1; padding: 22px; display: flex; flex-direction: column; }
.offer-meta { min-height: 22px; display: flex; flex-wrap: wrap; gap: 4px; color: var(--muted); font-size: .76rem; }
.offer-card h3 { margin: 11px 0 9px; }
.offer-card h3 a:hover { color: var(--brand-2); }
.offer-card p { margin-bottom: 20px; font-size: .9rem; }
.accommodation-card-amenities { min-height: 30px; margin: -6px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.accommodation-card-amenities span { padding: 5px 8px; border-radius: 7px; background: var(--surface-2); color: #52605b; font-size: .7rem; font-weight: 700; }
.offer-footer { margin-top: auto; padding-top: 17px; border-top: 1px solid #edf0ed; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; }
.price strong { font-size: 1.04rem; }
.price small { color: var(--muted); font-size: .72rem; }
.offer-footer .text-link { font-size: .82rem; white-space: nowrap; }

.how-section { background: white; }
.how-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.steps li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--brand); color: white; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 800; }
.steps strong { font-size: 1.06rem; }
.steps p { margin: 4px 0 0; font-size: .9rem; }
.provider-cta-section { padding-top: 0; background: white; }
.provider-cta { min-height: 270px; padding: 50px 56px; border-radius: 30px 30px 30px 10px; background: linear-gradient(120deg, var(--brand), #246a59); color: white; display: flex; align-items: center; justify-content: space-between; gap: 50px; position: relative; overflow: hidden; }
.provider-cta::after { content: ""; position: absolute; width: 300px; height: 300px; border: 60px solid rgba(255,255,255,.05); border-radius: 50%; right: -100px; top: -140px; }
.provider-cta > * { position: relative; z-index: 1; }
.provider-cta h2 { max-width: 700px; margin-bottom: 12px; }
.provider-cta p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.74); }
.provider-cta .btn { flex: 0 0 auto; }

/* Catalog */
.page-hero { background: #eef3ee; }
.compact-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.compact-hero h1 { font-size: clamp(2.3rem, 4.5vw, 4.2rem); margin-bottom: 14px; }
.compact-hero p { margin: 0; font-size: 1.08rem; }
.catalog-section { padding-top: 42px; }
.filter-bar { margin-bottom: 28px; padding: 16px; display: flex; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 12px 30px rgba(18,58,50,.06); }
.filter-bar label { min-width: 220px; }
.filter-bar .filter-grow { flex: 1; }
.filter-bar .btn { flex: 0 0 auto; }
.stay-type-tabs { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.stay-type-tabs a { min-height: 44px; padding: 9px 14px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: .82rem; font-weight: 750; }
.stay-type-tabs a:hover, .stay-type-tabs a[aria-current="page"] { border-color: var(--brand); background: var(--brand); color: white; }
.stay-filter-toggle { display: none; }
.stay-filter-bar { display: grid; grid-template-columns: minmax(190px, 2fr) repeat(3, minmax(105px, .8fr)) minmax(170px, 1.2fr); align-items: end; }
.stay-filter-bar label { min-width: 0; }
.amenity-filters { grid-column: 1 / -1; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-filters legend { width: 100%; margin-bottom: 3px; font-size: .75rem; font-weight: 760; }
.amenity-filters label { width: auto; min-width: 0; min-height: 44px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; }
.amenity-filters input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.amenity-filters span { font-size: .78rem; font-weight: 680; }
.stay-filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.catalog-summary { margin: 0 0 22px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .88rem; }
.catalog-summary strong { color: var(--ink); }
.empty-state { padding: 75px 25px; border: 1px dashed #cbd5ce; border-radius: var(--radius); background: white; text-align: center; }
.empty-state > span { display: block; margin-bottom: 18px; font-size: 3rem; }
.empty-state h2 { font-size: 1.75rem; margin-bottom: 8px; }
.empty-state p { margin-bottom: 24px; }
.compact-empty { padding: 45px 24px; }

/* Detail */
.detail-section { padding-top: 38px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; color: var(--muted); font-size: .84rem; }
.breadcrumbs a:hover { color: var(--brand); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 42px; align-items: start; }
.detail-visual { min-height: 350px; padding: 42px; border-radius: 28px 28px 28px 10px; color: white; display: flex; align-items: end; justify-content: space-between; position: relative; overflow: hidden; }
.detail-visual > * { position: relative; z-index: 2; }
.detail-icon { font-size: 7.4rem; filter: drop-shadow(0 15px 14px rgba(0,0,0,.17)); }
.detail-visual > div { display: flex; flex-direction: column; align-items: end; }
.detail-visual > div span { font-size: .79rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.detail-visual > div strong { font-size: 1.25rem; }
.detail-title { padding: 34px 0 24px; display: flex; align-items: start; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.detail-title h1 { font-size: clamp(2.15rem, 4.4vw, 3.8rem); margin-bottom: 13px; }
.detail-location { margin: 0; }
.detail-price { flex: 0 0 auto; display: flex; flex-direction: column; align-items: end; padding-top: 22px; }
.detail-price strong { font-size: 1.45rem; }
.detail-price span { color: var(--muted); font-size: .78rem; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 0; }
.detail-chips span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; color: #4e5b56; font-size: .8rem; font-weight: 650; }
.stay-summary { padding: 24px 0; border-top: 1px solid var(--line); }
.stay-summary h2 { font-size: 1.65rem; }
.stay-summary h3 { margin: 25px 0 11px; font-size: 1.15rem; }
.stay-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stay-facts > div { min-height: 78px; padding: 14px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: white; }
.stay-facts span { color: var(--muted); font-size: .72rem; }
.stay-facts strong { margin-top: 3px; font-size: .91rem; }
.stay-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.stay-amenities span { min-height: 44px; padding: 9px 12px; display: inline-flex; align-items: center; border-radius: 10px; background: var(--success-soft); color: var(--success); font-size: .8rem; font-weight: 720; }
.detail-copy { padding: 24px 0; }
.detail-copy h2 { font-size: 1.65rem; }
.detail-copy p { white-space: pre-line; font-size: 1.02rem; line-height: 1.75; }
.provider-card { margin-top: 18px; padding: 22px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 17px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.provider-avatar { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--brand); color: white; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 800; }
.provider-card > div:nth-child(2) { display: flex; flex-direction: column; }
.provider-card > div:nth-child(2) > span { color: var(--muted); font-size: .73rem; }
.provider-card p { margin: 3px 0 0; font-size: .82rem; }
.verified-mark { padding: 7px 10px; border-radius: 8px; background: var(--success-soft); color: var(--success); font-size: .76rem; font-weight: 750; }
.mvp-notice { margin-top: 18px; padding: 22px; border-radius: 17px; background: var(--gold-soft); }
.mvp-notice p { margin: 6px 0 0; color: #6f5a29; font-size: .9rem; }
.booking-card { position: sticky; top: 101px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.booking-heading { margin-bottom: 19px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.booking-heading span { font-size: 1.25rem; font-weight: 800; }
.booking-heading strong { padding: 6px 8px; border-radius: 7px; background: var(--success-soft); color: var(--success); font-size: .7rem; }
.booking-card form, .auth-card form, .panel-form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.three-columns { grid-template-columns: .75fr 1fr 1fr; }
.form-alert { padding: 11px 13px; border: 1px solid #ebc5c2; border-radius: 10px; background: var(--danger-soft); color: var(--danger); font-size: .86rem; font-weight: 650; }
.estimate { padding: 13px 14px; border-radius: 11px; background: var(--surface-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.estimate span { color: var(--muted); font-size: .8rem; }
.estimate strong { font-size: 1.03rem; }
.form-footnote { margin: -3px 0 0; color: #7a8581; font-size: .7rem; text-align: center; }

/* Success */
.success-section { min-height: 720px; display: flex; align-items: center; }
.success-icon { width: 78px; height: 78px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 2.25rem; font-weight: 900; }
.success-section h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); margin-bottom: 14px; }
.order-ticket { margin: 34px 0 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-align: left; overflow: hidden; box-shadow: var(--shadow); }
.ticket-header { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed #cbd4ce; }
.ticket-header > div { display: flex; flex-direction: column; }
.ticket-header span { color: var(--muted); font-size: .72rem; }
.ticket-header strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; letter-spacing: .06em; }
.ticket-offer { padding: 22px; display: grid; grid-template-columns: 62px 1fr; gap: 15px; align-items: center; }
.ticket-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; color: white; font-size: 1.8rem; }
.ticket-offer > div { display: flex; flex-direction: column; }
.ticket-offer small, .ticket-offer span { color: var(--muted); }
.ticket-offer strong { font-size: 1.07rem; }
.ticket-details { margin: 0; padding: 0 22px 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.ticket-details > div { padding: 15px 0; border-top: 1px solid #edf0ed; }
.ticket-details > div:nth-child(odd) { padding-right: 20px; }
.ticket-details dt { color: var(--muted); font-size: .73rem; }
.ticket-details dd { margin: 3px 0 0; }
.success-actions { display: flex; justify-content: center; gap: 10px; }
.save-code { margin: 18px 0 0; font-size: .82rem; }

/* Auth */
.auth-section { background: linear-gradient(135deg, #eef2ec, #fbfaf6); }
.auth-grid { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 1000px; border-radius: 30px 30px 30px 10px; overflow: hidden; box-shadow: var(--shadow); }
.auth-promo { min-height: 570px; padding: 55px 48px; background: linear-gradient(140deg, var(--brand), #245f52); color: white; display: flex; flex-direction: column; justify-content: center; }
.auth-promo h1 { font-size: clamp(2.2rem, 4vw, 3.55rem); }
.auth-promo p { color: rgba(255,255,255,.73); font-size: 1.02rem; }
.auth-card { padding: 52px 48px; background: white; display: flex; flex-direction: column; justify-content: center; }
.auth-card h2 { font-size: 2rem; margin-bottom: 7px; }
.auth-card > p { margin-bottom: 26px; }
.auth-card-wide { padding-top: 38px; padding-bottom: 38px; }
.demo-box { margin-top: 25px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 7px; }
.demo-box code { padding: 5px 8px; border-radius: 7px; background: rgba(0,0,0,.16); font-size: .84rem; }
.demo-box small { margin-top: 4px; color: rgba(255,255,255,.68); }
.auth-divider { margin: 23px 0; display: flex; align-items: center; gap: 12px; color: #9aa29f; font-size: .75rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-bottom { margin: 0; text-align: center; font-size: .88rem; }
.auth-bottom a { color: var(--brand-2); font-weight: 750; }
.check-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; color: rgba(255,255,255,.87); }
.check-list li::before { content: "✓"; margin-right: 10px; color: #f0c873; font-weight: 900; }

/* Dashboard */
.dashboard-hero { padding: 54px 0; background: linear-gradient(125deg, var(--brand), #255f53); color: white; }
.dashboard-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.dashboard-hero h1 { margin-bottom: 8px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.dashboard-hero p { margin: 0; color: rgba(255,255,255,.68); }
.account-status { padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; background: rgba(255,255,255,.08); font-size: .84rem; }
.admin-hero { background: linear-gradient(125deg, #202d3d, #384e68); }
.dashboard-section { padding-top: 36px; }
.moderation-banner { margin-bottom: 25px; padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 5px 10px; border: 1px solid #edd69f; border-radius: 13px; background: var(--warning-soft); color: #6e531a; }
.moderation-banner.danger { border-color: #e8c1be; background: var(--danger-soft); color: var(--danger); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metrics-grid article { min-height: 145px; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: white; display: flex; flex-direction: column; }
.metrics-grid span { color: var(--muted); font-size: .78rem; }
.metrics-grid strong { margin-top: 9px; font-size: 1.85rem; line-height: 1.1; }
.metrics-grid small { margin-top: auto; color: #929a97; }
.dashboard-heading { margin: 55px 0 17px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.dashboard-heading h2 { margin: 0; font-size: 2rem; }
.table-shell { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
table { width: 100%; min-width: 850px; border-collapse: collapse; font-size: .86rem; }
th, td { padding: 14px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid #edf0ed; }
th { background: #f5f7f4; color: #66706c; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcfa; }
td > strong, td > small { display: block; }
td small { margin-top: 2px; color: var(--muted); }
.table-actions { display: flex; gap: 10px; }
.small-link { color: var(--brand-2); font-size: .78rem; font-weight: 720; white-space: nowrap; }
.dot-status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; }
.dot-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.dot-status.on::before { background: #3d9d6f; }
.dot-status.off::before { background: #a4aaa7; }
.status-form { display: flex; align-items: center; gap: 7px; }
.status-form select { min-height: 36px; padding: 6px 9px; min-width: 130px; font-size: .8rem; }
.badge { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 7px; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.badge-approved, .badge-order-confirmed, .badge-order-completed { background: var(--success-soft); color: var(--success); }
.badge-pending, .badge-order-new { background: var(--warning-soft); color: var(--warning); }
.badge-rejected, .badge-order-cancelled { background: var(--danger-soft); color: var(--danger); }

/* Form page */
.form-page-section { padding-top: 45px; }
.form-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.panel-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 35px rgba(18,58,50,.06); }
.accommodation-fields { margin: 4px 0; padding: 22px; border: 1px solid #cedbd4; border-radius: 15px; background: #f8faf7; }
.accommodation-fields legend { padding: 0 8px; color: var(--brand); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 800; }
.field-hint { margin: -4px 0 17px; font-size: .8rem; }
.amenity-check-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check-option { min-height: 44px; padding: 9px 11px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; }
.check-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.check-option span { font-size: .8rem; font-weight: 680; }
.form-actions { margin-top: 9px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.form-help { padding: 25px; border-radius: 18px; background: var(--brand); color: white; position: sticky; top: 103px; }
.form-help strong { font-size: 1.08rem; }
.form-help ul { margin: 16px 0 20px; padding-left: 20px; color: rgba(255,255,255,.83); font-size: .88rem; }
.form-help li { margin-bottom: 8px; }
.form-help p { margin: 0; color: rgba(255,255,255,.64); font-size: .8rem; }

/* Footer */
.site-footer { padding: 58px 0 25px; background: #112620; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 45px; }
.brand-light .brand-mark { background: var(--gold); color: #2d2718; }
.brand-light .brand-copy small { color: rgba(255,255,255,.52); }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.footer-grid p { max-width: 320px; margin: 12px 0 0; color: rgba(255,255,255,.55); font-size: .86rem; }
.footer-grid strong { margin-bottom: 7px; }
.footer-grid a:not(.brand) { color: rgba(255,255,255,.65); font-size: .84rem; }
.footer-grid a:not(.brand):hover { color: white; }
.footer-bottom { margin-top: 43px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: .75rem; }

/* Errors */
.error-section { min-height: 630px; display: grid; place-items: center; }
.error-code { display: block; color: var(--gold); font-family: Georgia, serif; font-size: 7rem; font-weight: 800; line-height: 1; }
.error-section h1 { font-size: 2.4rem; margin: 13px 0; }

@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .main-nav a:nth-child(3), .main-nav a:nth-child(4), .main-nav a:nth-child(5) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-art { height: 430px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 355px; gap: 28px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-grid { grid-template-columns: .85fr 1.15fr; }
  .stay-filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 65px 0; }
  .nav-wrap { min-height: 60px; }
  .brand { min-height: 44px; gap: 9px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px 10px 10px 4px; font-size: 1.15rem; }
  .brand-copy strong { font-size: 1.05rem; }
  .brand-copy small { margin-top: 2px; font-size: .6rem; }
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 58px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav .link-button { min-height: 44px; display: flex !important; align-items: center; width: 100%; padding: 9px 11px; border-radius: 8px; text-align: left; }
  .main-nav a:hover, .main-nav .link-button:hover { background: var(--surface-2); text-decoration: none; }
  .nav-account { border: 0; }
  .hero-grid { min-height: auto; padding-top: 32px; padding-bottom: 36px; }
  .hero-copy > p { max-width: 610px; font-size: 1rem; line-height: 1.55; }
  .hero-quick-actions { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hero-quick-action { min-height: 54px; padding: 7px 8px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.82); color: var(--brand); text-align: center; }
  .hero-quick-action span { flex: 0 0 auto; font-size: 1.15rem; line-height: 1; }
  .hero-quick-action strong { min-width: 0; font-size: .78rem; line-height: 1.15; }
  .hero-quick-action:focus-visible { outline: 3px solid rgba(28,90,76,.22); outline-offset: 2px; }
  .hero-search { margin-top: 16px; padding: 9px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; border-radius: 15px; }
  .hero-search label { min-width: 0; gap: 4px; }
  .hero-search label > span { font-size: .7rem; }
  .hero-search input, .hero-search select { min-height: 44px; padding: 9px 10px; font-size: .88rem; }
  .hero-search .btn { min-height: 44px; width: 100%; grid-column: 1 / -1; }
  .hero-proof { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: .75rem; line-height: 1.3; }
  .hero-art { display: block; height: 180px; margin-top: 22px; border-radius: 26px 26px 26px 9px; box-shadow: 0 20px 45px rgba(18,58,50,.14); }
  .hero-art .hero-note { display: none; }
  .hero-art .sun { width: 54px; height: 54px; top: 22px; right: 38px; box-shadow: 0 0 0 11px rgba(240,191,88,.17); }
  .hero-art .mountain-back { left: -65px; bottom: 30px; transform: scale(.58); transform-origin: left bottom; }
  .hero-art .mountain-front { right: -85px; bottom: 3px; transform: scale(.56); transform-origin: right bottom; }
  .hero-art .lake { height: 65px; }
  .hero-art .yurt { left: 27px; bottom: 17px; transform: scale(.58); transform-origin: left bottom; }
  .section-heading .text-link, .offer-card h3 a, .offer-card .text-link, .footer-grid a:not(.brand) { min-height: 44px; display: inline-flex; align-items: center; }
  .section-heading { align-items: start; flex-direction: column; }
  .offer-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 35px; }
  .provider-cta { padding: 38px 30px; flex-direction: column; align-items: start; }
  .provider-cta .btn { width: 100%; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar label { min-width: 0; width: 100%; }
  .filter-bar .btn { width: 100%; }
  .stay-type-tabs { margin-left: -14px; margin-right: -14px; padding: 0 14px 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .stay-type-tabs a { flex: 0 0 auto; }
  .stay-filter-toggle { width: 100%; margin-bottom: 14px; display: inline-flex; }
  .stay-filter-bar { display: none; grid-template-columns: 1fr; }
  .stay-filter-bar.open { display: grid; }
  .amenity-filters, .stay-filter-actions { grid-column: 1; }
  .amenity-filters label { width: auto; }
  .stay-filter-actions { flex-direction: column; }
  .detail-grid { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .detail-visual { min-height: 280px; }
  .detail-title { flex-direction: column; }
  .detail-price { align-items: start; padding-top: 0; }
  .stay-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-promo { min-height: 390px; padding: 42px 30px; }
  .auth-card { padding: 40px 30px; }
  .dashboard-hero-row { align-items: start; flex-direction: column; }
  .form-page-grid { grid-template-columns: 1fr; }
  .amenity-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-help { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  h1 { font-size: 2.65rem; }
  .hero .eyebrow { margin-bottom: 8px; font-size: .68rem; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(2.15rem, 10.6vw, 2.75rem); line-height: 1.01; }
  .hero-grid { gap: 0; padding-top: 26px; padding-bottom: 30px; }
  .hero-quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-quick-action { justify-content: flex-start; min-height: 50px; padding: 8px 12px; }
  .hero-quick-action strong { font-size: .82rem; }
  .hero-search { margin-top: 14px; }
  .hero-proof { grid-template-columns: 1fr; gap: 6px; }
  .hero-art { height: 150px; margin-top: 20px; border-radius: 22px 22px 22px 8px; }
  .hero-art .sun { width: 48px; height: 48px; right: 28px; top: 18px; }
  .note-one { left: 13px; top: 16px; }
  .note-two { right: 10px; top: 145px; }
  .note-three { right: 14px; bottom: 18px; }
  .hero-note { padding: 8px 10px; font-size: .69rem; }
  .hero-art .yurt { transform: scale(.52); transform-origin: left bottom; left: 22px; bottom: 13px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 210px; }
  .category-card-icon { margin-bottom: 20px; }
  .offer-visual { min-height: 170px; }
  .detail-visual { min-height: 230px; padding: 24px; }
  .detail-icon { font-size: 5rem; }
  .detail-visual > div strong { font-size: 1rem; }
  .provider-card { grid-template-columns: 50px 1fr; }
  .provider-avatar { width: 50px; height: 50px; }
  .verified-mark { grid-column: 2; justify-self: start; }
  .booking-card { padding: 21px 17px; }
  .form-row, .three-columns { grid-template-columns: 1fr; }
  .ticket-details { grid-template-columns: 1fr; }
  .ticket-details > div:nth-child(odd) { padding-right: 0; }
  .success-actions { flex-direction: column; }
  .metrics-grid { grid-template-columns: 1fr; }
  .dashboard-heading { align-items: stretch; flex-direction: column; }
  .dashboard-heading .btn { width: 100%; }
  .panel-form { padding: 22px 16px; }
  .accommodation-fields { padding: 18px 13px; }
  .amenity-check-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .catalog-summary { flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
