:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #1b3026;
  --muted: #4e6357;
  --line: #d8dcd0;
  --forest: #173d30;
  --forest-deep: #103226;
  --gold: #efc581;
  --green-white: #f8f7ed;
  --serif: Georgia, "Times New Roman", serif;
  --hero-image: url("images/hero.jpg");
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a45423; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.7vw, 4.4rem); letter-spacing: -.058em; line-height: 1.02; }
h3 { font-size: clamp(1.6rem, 2.45vw, 2.14rem); letter-spacing: -.045em; line-height: 1.14; }

.wrap { width: min(100% - 112px, 1248px); margin-inline: auto; }
.section, #main { scroll-margin-top: 100px; }
.overline {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1.3;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  z-index: 25;
  top: .75rem;
  left: .75rem;
  transform: translateY(-160%);
  background: var(--paper);
  padding: .55rem 1rem;
}
.skip-link:focus { transform: translateY(0); }

.header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid #d8dcd077; }
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  gap: .58rem;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  font: 700 1.64rem/1 var(--serif);
  letter-spacing: -.07em;
  text-decoration: none;
  white-space: nowrap;
}
.sun {
  position: relative;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: #edb86b;
  display: inline-block;
  flex: 0 0 auto;
}
.sun::before, .sun::after {
  position: absolute;
  content: "";
  inline-size: 35px;
  block-size: 12px;
  background: var(--forest);
  border-radius: 50%;
  transform: rotate(-27deg);
}
.sun::before { bottom: -3px; left: -12px; }
.sun::after { bottom: -2px; right: -13px; transform: rotate(26deg); }
.nav { display: flex; gap: clamp(.9rem, 2.65vw, 2.3rem); align-items: center; }
.nav a { color: #3c5145; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.button {
  min-height: 48px;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  gap: .4em;
  padding: .68rem 1.27rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  font-size: .95rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, border-color 150ms;
}
.button-header { justify-self: end; min-height: 42px; padding-inline: .95rem; }
.button-header, .button-outline { color: var(--forest); background: transparent; border-color: #90a398; }
.button-header:hover, .button-outline:hover { background: #e6ebe0; border-color: var(--forest); }
.button-gold { background: var(--gold); color: #253927; }
.button-gold:hover { background: #fbdb9c; }
.button-light { color: #fffdf3; border-color: #f7f3e8a8; background: #15352945; }
.button-light:hover { background: #f7f3e829; }
.hero .button:focus-visible { outline-color: #fff8df; }
.button-dark { background: var(--forest); color: var(--green-white); }
.button-dark:hover { background: #265744; }

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(560px, 53vw, 730px);
  color: #fff9ec;
  background-color: #244137;
  background-image: linear-gradient(90deg, #0b251ee6 0%, #102a21bf 29%, #112b2260 57%, #102a2110 100%), var(--hero-image);
  background-size: cover;
  background-position: center 51%;
}
.hero-inner { padding-block: clamp(4rem, 8vw, 8rem); }
.hero-overline { display: flex; align-items: center; gap: .63rem; color: #fff3dc; margin-bottom: 1.55rem; }
.hero-overline span { width: 22px; height: 1px; background: var(--gold); }
.hero h1 {
  max-width: 850px;
  font-size: clamp(4rem, 8.5vw, 8.7rem);
  line-height: .84;
  letter-spacing: -.083em;
  text-wrap: balance;
}
.hero h1 em { color: #f3d096; display: block; font-weight: 400; }
.hero-copy { max-width: 29rem; color: #f6f3e6; margin-top: 1.9rem; font-size: clamp(1.06rem, 1.55vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-actions .button { min-height: 49px; }

.routes { padding-block: clamp(4rem, 7.5vw, 7.7rem); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr .57fr;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-heading .overline { margin-bottom: .8rem; }
.section-intro { color: var(--muted); max-width: 24rem; padding-bottom: .12rem; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.1vw, 1.75rem); }
.route-card {
  display: flex;
  flex-direction: column;
  background: #fffdf7;
  border-radius: 14px;
  border: 1px solid #e2e4d8;
  overflow: hidden;
}
.route-card img { aspect-ratio: 1.56; height: auto; object-fit: cover; transition: transform 480ms ease; }
.route-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: clamp(1.05rem, 2.05vw, 1.65rem);
}
.route-body > p { margin-top: .68rem; margin-bottom: 1.25rem; color: var(--muted); }
.route-body .button { margin-top: auto; min-height: 43px; }

.builder {
  background: var(--forest-deep);
  color: var(--green-white);
  padding-block: clamp(3.5rem, 7.3vw, 7.3rem);
}
.builder-grid {
  display: grid;
  grid-template-columns: minmax(14.5rem, .8fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}
.builder-intro { margin-top: .7rem; }
.builder-intro .overline { color: #edc88d; margin-bottom: 1rem; }
.builder-intro h2 { font-size: clamp(3rem, 6.3vw, 6.4rem); }
.builder-intro h2:focus { outline: none; }
.builder-intro > p:not(.overline) { color: #d9e4d7; max-width: 25rem; margin-top: 1.5rem; font-size: 1.06rem; }
.trip-form {
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  border-radius: 16px;
  padding: clamp(1.2rem, 3.3vw, 2.65rem);
}
.form-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.4rem; }
#route-label { font: 400 clamp(1.55rem, 2.65vw, 2.15rem)/1.08 var(--serif); letter-spacing: -.045em; }
.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--forest);
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.stops-fieldset { border: 0; margin: 0; min-width: 0; padding: 0 0 1.15rem; }
.stops-fieldset legend, .form-fields label, .note-field, .result label { font-weight: 650; }
.stops-fieldset legend { padding: 0; }
.stop-group { margin-top: .78rem; }
.stop-region { color: var(--muted); font-size: .875rem; margin-bottom: .3rem; }
.stop-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.stop {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  max-width: 100%;
}
.stop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.stop span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 37px;
  padding: .29rem .62rem;
  border: 1px solid #b9c5b7;
  border-radius: 6px;
  color: var(--ink);
  font-size: .875rem;
  line-height: 1.35;
}
.stop span::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 1px solid #647e6e;
  border-radius: 2px;
}
.stop:hover span { border-color: #577563; background: #edf0e7; }
.stop input:checked + span { background: #dce9d9; border-color: #6c8f75; }
.stop input:checked + span::before { background: #245c46; border-color: #245c46; box-shadow: inset 0 0 0 2px #dce9d9; }
.stop input:focus-visible + span { outline: 3px solid #a45423; outline-offset: 3px; }
.form-hint { color: var(--muted); font-size: .875rem; line-height: 1.4; }
#stop-count { margin-top: .65rem; }
.form-fields { display: grid; grid-template-columns: 1fr .74fr 1.12fr; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1.15rem; }
.form-fields label { min-width: 0; display: block; }
.form-fields input, .note-field textarea, .transfer-fields input, .dialog textarea, .dialog input {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #aebcad;
  border-radius: 7px;
  margin-top: .35rem;
  background: #fffdf8;
  padding: .52rem .65rem;
  color: var(--ink);
  font-weight: 400;
}
.form-fields input { min-height: 44px; }
textarea { resize: vertical; }
.note-field { display: block; margin-top: .85rem; }
.optional { margin-left: .35em; color: var(--muted); font-weight: 400; font-size: .875rem; }
.form-bottom, .dialog-actions { display: flex; flex-wrap: wrap; gap: .6rem .9rem; align-items: center; margin-top: 1rem; }
.form-error { color: #8c2d21; margin-top: .7rem; }
.form-error:empty { margin: 0; }

.how { padding-block: clamp(3.6rem, 7vw, 7rem); background: #e8ede0; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3.5rem);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: booking;
}
.steps li { counter-increment: booking; border-top: 1px solid #91a596; padding-top: 1.3rem; }
.steps li::before { content: counter(booking); font: 1.35rem/1 var(--serif); color: #4c765f; display: block; margin-bottom: .65rem; }
.steps li h3 { font-size: clamp(1.45rem, 2.23vw, 2.05rem); }
.steps li p { color: var(--muted); margin-top: .55rem; max-width: 25rem; }

.faq { padding-block: clamp(3.2rem, 6.5vw, 6rem); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); gap: 2.4rem; }
.questions { border-top: 1px solid #a8b7a6; }
.questions details { border-bottom: 1px solid #a8b7a6; }
.questions summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1rem 2.4rem 1rem 0;
  font-size: 1.02rem;
  font-weight: 650;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: "+";
  position: absolute;
  right: .16rem;
  top: 50%;
  transform: translateY(-54%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--forest);
}
.questions details[open] summary::after { content: "−"; }
.questions details p { color: var(--muted); padding: 0 2.3rem 1rem 0; max-width: 40rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.6rem; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .builder-grid { gap: 2.4rem; }
  .form-fields { grid-template-columns: 1fr 1fr; }
  .form-fields label:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { display: flex; justify-content: space-between; min-height: 67px; gap: .7rem; }
  .nav { display: none; }
  .wordmark { font-size: 1.46rem; }
  .sun { inline-size: 27px; block-size: 27px; }
  .button-header { min-height: 39px; padding-inline: .64rem; font-size: .875rem; }
  .hero {
    min-height: 560px;
    background-position: 66% center;
    background-image: linear-gradient(90deg, #0b251ee0 0%, #102a219e 63%, #102a214d 100%), var(--hero-image);
  }
  .hero h1 { text-wrap: initial; }
  .section-heading, .builder-grid, .faq-grid { grid-template-columns: 1fr; }
  .section-heading { gap: .9rem; margin-bottom: 1.5rem; }
  .route-grid { gap: .8rem; }
  .route-body { padding: .85rem; }
  .route-body p, .route-body button { font-size: .875rem; }
  .route-body h3 { font-size: 1.58rem; }
  .builder-grid { gap: 1.6rem; }
  .builder-intro { margin-top: 0; }
  .builder-intro h2 br { display: none; }
  .builder-intro > p:not(.overline) { margin-top: .9rem; }
  .faq-grid { gap: 1.3rem; }
}

@media (max-width: 590px) {
  .route-grid, .steps { grid-template-columns: 1fr; gap: 1.15rem; }
  .route-body { padding: 1.2rem; }
  .route-body p:not(.overline) { font-size: 1rem; }
  .route-body h3 { font-size: 1.85rem; }
  .hero { min-height: 510px; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.7rem); }
  .hero-actions .button { padding-inline: .86rem; font-size: .875rem; }
  .hero-copy { margin-top: 1.28rem; }
  .form-bottom .button { width: 100%; }
  .footer-inner { align-items: start; flex-direction: column; gap: .85rem; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 30px); }
  .trip-form { padding: 1rem; }
  .form-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero-inner { animation: enter 560ms ease-out both; }
@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; margin-top: 1.5rem; color: #f0efdf; font-size: .875rem; }
.hero-note span { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.section-intro a { color: var(--forest); text-underline-offset: .2em; }
.route-card { transition: box-shadow 220ms ease, border-color 220ms ease; }
.route-card:hover { border-color: #b9c9b7; box-shadow: 0 12px 25px #23332613; }
.route-card:hover img, .route-card:focus-within img { transform: scale(1.035); }
.route-image { position: relative; overflow: hidden; }
.route-region {
  position: absolute;
  left: 1rem;
  bottom: .9rem;
  padding: .28rem .58rem;
  background: #fffdf4;
  color: var(--forest-deep);
  border-radius: 4px;
  font-size: .875rem;
  font-weight: 660;
}
.stop span { min-height: 42px; }
.selected-plan {
  max-width: 26rem;
  margin-top: 1.65rem;
  padding: 1rem 1.2rem;
  border: 1px solid #ffffff48;
  border-radius: 12px;
  background: #fff1d909;
}
.selected-plan p { color: #f5cd90; font-weight: 650; }
.selected-plan ol { margin: .5rem 0 0; padding-inline-start: 1.28rem; }
.selected-plan li + li { margin-top: .25rem; }
.selected-plan a { text-underline-offset: .2em; }
.selected-plan a:focus-visible { outline-color: var(--gold); }

.transfer { padding-block: clamp(3.6rem, 7vw, 7rem); }
.transfer-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
.transfer-visual {
  position: relative;
  isolation: isolate;
  min-height: 450px;
  min-width: 0;
  display: grid;
  align-content: end;
  overflow: hidden;
  margin: 0;
  padding: clamp(1rem, 2.8vw, 2rem);
  border-radius: 16px;
  background: var(--forest);
  color: #fffdf5;
}
.transfer-visual img, .transfer-visual::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.transfer-visual img { z-index: -2; object-fit: cover; object-position: center; }
.transfer-visual::before { z-index: -1; content: ""; background: linear-gradient(transparent 52%, #102d23e8 100%); }
.transfer-visual figcaption { display: flex; flex-wrap: nowrap; align-items: center; gap: clamp(.55rem, 1.5vw, 1.1rem); font: clamp(1.18rem, 2.36vw, 2.05rem)/1.1 var(--serif); }
.transfer-line { flex: 1; min-width: 1rem; border-top: 1px dashed #fff4cbbf; }
.transfer-form {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.45rem);
  border: 1px solid #dce3d8;
  border-radius: 16px;
  background: #fffdf7;
}
.direction-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.direction-fieldset legend { font-weight: 650; padding: 0; margin-bottom: .55rem; }
.direction-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem;
  padding: .25rem;
  border: 1px solid #d4dfd2;
  border-radius: 9px;
  background: #e8ede2;
}
.direction-options label { position: relative; cursor: pointer; min-width: 0; }
.direction-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.direction-options span { display: grid; place-items: center; min-height: 42px; padding: .35rem; color: var(--forest); font-size: .95rem; text-align: center; border-radius: 6px; }
.direction-options input:checked + span { color: #fffdf5; background: var(--forest); font-weight: 650; }
.direction-options input:focus-visible + span { outline: 3px solid #a45423; outline-offset: 2px; }
.transfer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; margin-top: 1rem; }
.transfer-fields label { display: block; min-width: 0; font-weight: 650; }
.transfer-fields input { min-height: 44px; }
.transfer-fields .wide { grid-column: 1 / -1; }
.transfer-form .form-hint { max-width: 16rem; }
.transfer-form .form-bottom { margin-top: 1.2rem; }

.contact { padding-block: clamp(1rem, 3vw, 3rem) clamp(3.25rem, 7.5vw, 7.5rem); }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 4vw, 4rem);
  padding: clamp(1.4rem, 5vw, 4rem);
  border-radius: 18px;
  border: 1px solid #e4d3b5;
  background: radial-gradient(ellipse at 95% 8%, #f8d89e, transparent 57%), #f3e5cb;
}
.contact-main > p:not(.contact-flag) { color: #44584a; max-width: 27rem; margin-top: .8rem; }
.contact-flag {
  display: inline-flex;
  align-items: center;
  gap: .54rem;
  color: #4a3d25;
  background: #f8efdc;
  border: 1px solid #dfcba7;
  border-radius: 6px;
  padding: .47rem .65rem;
  margin-bottom: .92rem;
}
.contact-flag::before {
  content: "";
  width: .85rem;
  height: .8rem;
  background: #a05429;
  clip-path: polygon(0 0, 100% 0, 72% 38%, 100% 76%, 17% 76%, 17% 100%, 0 100%);
}
.contact-phone { display: inline-block; margin-top: .85rem; font-size: clamp(1.15rem, 2.6vw, 1.8rem); font-weight: 700; text-underline-offset: .2em; white-space: nowrap; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.contact-actions .button { min-height: 44px; padding-inline: .85rem; background-clip: padding-box; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.qr-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .7rem .65rem .8rem;
  color: var(--ink);
  border: 1px solid #fff9;
  border-radius: 12px;
  cursor: zoom-in;
  font-weight: 710;
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.qr-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #443f251c; }
.qr-telegram { background: #f3e8f1; }
.qr-whatsapp { background: #e0efdf; }
.qr-card img { width: min(100%, 190px); height: auto; aspect-ratio: 1; background: #fff; border-radius: 8px; }
.qr-card small { color: #4a5b50; font-size: .875rem; font-weight: 450; text-align: center; }
.footer { border-top: 1px solid var(--line); padding-bottom: 3rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; }
.footer nav a, .footer-phone { font-size: .94rem; text-underline-offset: .2em; }
.footer nav a { text-decoration: none; color: #3c5145; }
.footer nav a:hover { text-decoration: underline; }
.footer-phone { white-space: nowrap; padding-right: 1rem; }

.help-widget {
  position: fixed;
  z-index: 20;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: .65rem;
}
.help-toggle {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .69rem 1rem;
  min-height: 47px;
  border-radius: 999px;
  border: 1px solid #efd098;
  background: var(--forest-deep);
  color: #fffaf0;
  box-shadow: 0 6px 24px #0f281d40;
  font-size: .94rem;
  font-weight: 680;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.help-toggle:hover { background: #225541; transform: translateY(-2px); }
.chat-icon { position: relative; width: 17px; height: 14px; border: 1.5px solid var(--gold); border-radius: 5px; }
.chat-icon::after { position: absolute; content: ""; left: 3px; bottom: -4px; width: 5px; height: 5px; border-left: 1.5px solid var(--gold); transform: skewY(-34deg); }
.help-panel {
  width: min(360px, calc(100vw - 2rem));
  max-height: calc(100dvh - 85px);
  overflow: auto;
  padding: 1.15rem;
  background: #fffdf7;
  color: var(--ink);
  border: 1px solid #d6ddcf;
  border-radius: 16px;
  box-shadow: 0 12px 45px #1335283f;
  animation: enter 190ms ease-out both;
}
.help-heading { display: flex; align-items: flex-start; gap: .5rem; justify-content: space-between; }
.help-heading .overline { margin-bottom: .4rem; }
.help-heading h2 { font-size: 1.9rem; }
.help-panel > p { margin-top: .6rem; color: var(--muted); }
.help-actions { display: grid; gap: .45rem; margin-top: .85rem; }
.help-actions .button { width: 100%; min-height: 43px; }
.help-links { display: flex; flex-wrap: wrap; gap: .35rem .8rem; margin-top: .8rem; }
.help-links a { font-size: .9rem; color: var(--forest); text-underline-offset: .2em; }

html:has(dialog[open]) { overflow: hidden; }
.dialog {
  width: min(565px, calc(100% - 1.6rem));
  max-height: calc(100dvh - 1.6rem);
  padding: 0;
  border: 1px solid #dce2d4;
  border-radius: 16px;
  background: #fffdf7;
  color: var(--ink);
  box-shadow: 0 23px 75px #0e221d66;
}
.dialog[open] { animation: enter 220ms ease-out both; }
.dialog::backdrop { background: #122820b8; }
.dialog-inner { padding: clamp(1.2rem, 4vw, 2.1rem); }
.dialog h2 { font-size: clamp(2.05rem, 5vw, 3.25rem); padding-right: 2.2rem; }
.dialog-inner > p:not(.overline) { margin-top: .58rem; color: var(--muted); }
.dialog .overline { margin-bottom: .55rem; }
.dialog h2:focus, .help-heading h2:focus { outline: none; }
.dialog .button { min-height: 44px; }
.close-button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #ccd8cc;
  border-radius: 50%;
  background: #fffdf7;
  color: var(--forest);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.close-button:hover { background: #e6ece0; }
.dialog-close { position: absolute; z-index: 1; right: .8rem; top: .8rem; }
.route-dialog { width: min(650px, calc(100% - 1.6rem)); }
.route-dialog > img { height: clamp(125px, 25vw, 225px); object-fit: cover; }
.route-dialog-stops { display: grid; gap: .62rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.route-dialog-stops li { border-top: 1px solid var(--line); padding-top: .6rem; }
.route-dialog-stops a { font-weight: 700; text-underline-offset: .19em; }
.route-dialog-stops p { color: var(--muted); font-size: .94rem; }
.request-label { display: block; font-weight: 650; margin-top: .85rem; }
.dialog textarea { min-height: 10rem; }
.dialog input { min-height: 44px; }
.dialog textarea, .dialog input { background: white; }
.dialog .form-hint:empty { display: none; }
.qr-dialog { width: min(420px, calc(100% - 1.6rem)); }
.qr-dialog .dialog-inner > img { width: min(100%, 300px); height: auto; aspect-ratio: 1; margin-block: .75rem; border-radius: 10px; border: 1px solid #e9e4dd; }

@media (max-width: 900px) {
  .header-inner { gap: .8rem; }
  .nav { gap: .85rem; }
  .contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 1rem; }
}
@media (max-width: 760px) {
  .section, #main { scroll-margin-top: 84px; }
  .hero-note { align-items: baseline; }
  .transfer-grid, .contact-card { grid-template-columns: minmax(0, 1fr); }
  .transfer-visual { min-height: clamp(225px, 62vw, 420px); }
  .transfer-visual figcaption { font-size: 1.5rem; }
  .selected-plan { margin-top: 1rem; }
  .qr-grid { max-width: 430px; }
  .footer { padding-bottom: 4.4rem; }
  .footer-phone { padding-right: 0; }
}
@media (max-width: 590px) {
  .hero-note { font-size: .875rem; }
  .hero-note span { align-self: center; }
  .dialog-actions .button { padding-inline: .8rem; }
  .trip-form .form-bottom .text-button { margin: .23rem auto; }
  .transfer-form .form-hint { max-width: none; }
  .help-widget { right: max(.7rem, env(safe-area-inset-right)); bottom: max(.7rem, env(safe-area-inset-bottom)); }
  .help-toggle { min-height: 43px; padding: .55rem .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.hero-guides-link { color: #ffe2ad; text-underline-offset: .23em; }
.hero-guides-link:focus-visible { outline-color: var(--gold); }

.guides { padding-block: clamp(3.7rem, 7.3vw, 7.25rem); background: #e9ede0; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.guide-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fffdf7; border: 1px solid #d4dfd0; border-radius: 16px; }
.guide-cover { overflow: hidden; }
.guide-cover img { aspect-ratio: 1.8; height: auto; object-fit: cover; transition: transform 500ms ease; }
.guide-card:hover .guide-cover img, .guide-card:focus-within .guide-cover img { transform: scale(1.033); }
.guide-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(1.15rem, 3vw, 2rem); }
.guide-card-body h3 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
.guide-card-body p { color: var(--muted); margin-block: .6rem 1.2rem; max-width: 31rem; }
.guide-card-body .button { margin-top: auto; }

.gallery { padding-block: clamp(3.7rem, 7.3vw, 7.25rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem) clamp(.75rem, 2.1vw, 1.65rem); list-style: none; margin: 0; padding: 0; }
.gallery-photo { margin: 0; min-width: 0; }
.gallery-thumb { display: block; width: 100%; overflow: hidden; background: #dce7d7; border: 0; border-radius: 12px; padding: 0; color: inherit; cursor: zoom-in; }
.gallery-thumb img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform 500ms ease; }
.gallery-thumb:hover img, .gallery-thumb:focus-visible img { transform: scale(1.052); }
.gallery-photo figcaption { padding: .55rem .1rem 0; }
.gallery-place { display: block; color: var(--ink); font-weight: 680; overflow-wrap: anywhere; }
.photo-credit { color: var(--muted); font-size: .875rem; }
.photo-credit a { text-underline-offset: .19em; }
.photo-credit a:hover { color: var(--ink); }
.footer-credit-link { align-self: center; color: #3c5145; text-align: left; font-size: .94rem; }
.photo-credits-dialog { width: min(745px, calc(100% - 1.6rem)); }
.photo-credit-list { display: grid; gap: .65rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.photo-credit-list li { border-top: 1px solid var(--line); padding-top: .65rem; overflow-wrap: anywhere; }
.photo-credit-place { display: block; }

.photo-dialog { width: min(960px, calc(100% - 1.6rem)); }
.photo-view { background: #162c20; }
.photo-view img { width: 100%; max-height: min(65dvh, 650px); height: auto; object-fit: contain; }
.photo-dialog-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; padding: 1rem clamp(1.1rem, 3vw, 1.75rem); }
.photo-dialog-info h2 { font-size: clamp(1.6rem, 4vw, 2.55rem); padding: 0; }
.photo-dialog-controls { display: flex; flex-wrap: wrap; gap: .45rem; }
.photo-dialog-controls button { padding-inline: .85rem; }

.guide-dialog { width: min(850px, calc(100% - 1.6rem)); max-height: calc(100dvh - 1.6rem); }
.guide-toolbar { position: sticky; z-index: 2; top: 0; display: flex; gap: .75rem; justify-content: flex-end; align-items: center; padding: .7rem clamp(1rem, 4vw, 2.5rem); background: #f7f5ed; border-bottom: 1px solid var(--line); }
.guide-toolbar .text-button { min-height: 42px; padding-inline: .45rem; }
.guide-document { padding: 1.65rem clamp(1.15rem, 5vw, 3.7rem) 2.1rem; }
.guide-document h2 { padding-right: 0; font-size: clamp(2.3rem, 5vw, 3.85rem); }
.guide-document h3 { margin-top: 1.55rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.guide-document h4 { margin: 1rem 0 .3rem; line-height: 1.3; }
.guide-document figure { margin: 1.2rem 0 0; }
.guide-document figure img { aspect-ratio: 2; height: auto; object-fit: cover; border-radius: 10px; background: #e8eee2; }
.guide-document figcaption { margin-top: .35rem; color: var(--muted); font-size: .875rem; }
.guide-text { max-width: 66ch; margin-inline: auto; }
.guide-text p, .guide-text ol, .guide-text ul { margin: .8rem 0 0; }
.guide-text ol, .guide-text ul { padding-left: 1.3rem; }
.guide-text li + li { margin-top: .42rem; }
.guide-text a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: .21em; overflow-wrap: anywhere; }
.guide-tip { padding: .85rem 1rem; background: #e8eedf; border-left: 3px solid #4f785e; border-radius: 4px 6px 6px 4px; }
.guide-text .guide-sources { margin-top: 1.3rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.guide-bottom { margin-top: 1.35rem; }
.guide-photo-credits { max-width: 66ch; margin: 1.25rem auto 0; color: var(--muted); }
.guide-photo-credits h3 { font: 650 1rem/1.3 var(--sans); letter-spacing: normal; }

.faq-intro > p { max-width: 19rem; color: var(--muted); margin-top: .8rem; }
.faq-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.faq-filters button {
  padding: .42rem .7rem;
  min-height: 41px;
  color: var(--forest);
  border: 1px solid #bac9b9;
  border-radius: 999px;
  background: #fffdf7;
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}
.faq-filters button:hover { border-color: var(--forest); }
.faq-filters button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: #fffdf7; }
.questions details p a { color: var(--forest); text-underline-offset: .2em; }

@media (max-width: 920px) {
  .header-inner { display: flex; justify-content: space-between; }
  .header .nav { display: none; }
}
@media (max-width: 760px) {
  .guide-document { padding-top: 1.2rem; }
  .guide-document figure img { aspect-ratio: 1.6; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-intro > p { max-width: none; }
}
@media (max-width: 530px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .button-header { max-width: 10.75rem; }
}
@media (max-width: 360px) {
  .button-header { max-width: 8.2rem; padding-inline: .5rem; }
}
@media print {
  html:has(.guide-dialog[open]), body:has(.guide-dialog[open]) { overflow: visible !important; background: white; color: #14291d; }
  body:has(.guide-dialog[open]) > :not(.guide-dialog[open]), .guide-toolbar, .guide-bottom { display: none !important; }
  .guide-dialog[open] {
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: white;
    box-shadow: none;
    animation: none;
  }
  .guide-dialog::backdrop { background: transparent; }
  .guide-document { padding: 0; }
  .guide-document h3 { break-after: avoid; }
  .guide-document figure { break-inside: avoid; }
  .guide-document figure img { max-height: 180px; }
  .guide-text { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-card img, .gallery-thumb img { transition: none; }
}
