.crimea-guide { --guide-bottom: 20px; font-family: inherit; }
.crimea-guide [hidden] { display: none !important; }
.crimea-guide__launch { position: fixed; right: 20px; bottom: calc(var(--guide-bottom) + env(safe-area-inset-bottom, 0px)); z-index: 180; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 40px); padding: 12px 16px 12px 12px; border: 1px solid var(--yellow); border-radius: var(--radius-xl); background: var(--yellow); color: var(--black); box-shadow: var(--shadow-sm); cursor: pointer; font: inherit; text-align: left; }
.crimea-guide__icon { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; background: transparent; color: var(--black); }
.crimea-guide__icon svg { width: 34px; height: 28px; }
.crimea-guide__label { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.crimea-guide__subtitle { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--gray-700); }
.crimea-guide__overlay { position: fixed; inset: 0; z-index: 950; pointer-events: none; }
.crimea-guide__panel { pointer-events: auto; position: absolute; right: 20px; bottom: calc(var(--guide-bottom) + env(safe-area-inset-bottom, 0px)); width: min(460px, calc(100vw - 40px)); max-height: calc(100dvh - var(--guide-bottom) - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; border: 1px solid #e5e5e5; border-radius: var(--radius-xl); background: var(--white); color: var(--dark); box-shadow: var(--shadow-xl); }
.crimea-guide__title { margin: 0 32px 18px 0; font-size: 25px; line-height: 1.25; }
.crimea-guide__close { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--gray-700); cursor: pointer; font: inherit; font-size: 28px; }
.crimea-guide__panel p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.crimea-guide__routes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.crimea-guide__routes li { font-size: 15px; line-height: 1.5; }
.crimea-guide__routes strong { font-weight: 700; }
.crimea-guide__price { display: inline-block; margin: 16px 0 12px; padding: 7px 12px; border-radius: var(--radius-md); background: var(--yellow-light); font-size: 17px; font-weight: 700; }
.crimea-guide__contact { display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px 12px; border-radius: var(--radius-md); background: var(--yellow); color: var(--black); font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.crimea-guide__contact:hover { background: var(--yellow-hover); }
.crimea-guide button:focus-visible, .crimea-guide a:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }
@media (max-width: 768px) {
  .crimea-guide__launch { right: 12px; max-width: calc(100vw - 24px); gap: 10px; height: 48px; padding: 6px 12px; border-radius: var(--radius-lg); }
  .crimea-guide__label { font-size: 15px; }
  .crimea-guide__subtitle { display: none; }
  .crimea-guide__icon { flex-basis: 30px; width: 30px; height: 30px; }
  .crimea-guide__icon svg { width: 29px; height: 25px; }
  .crimea-guide__overlay { background: rgba(0,0,0,.32); }
  .crimea-guide__panel { right: 0; bottom: 0; width: 100%; max-height: calc(100dvh - 24px); padding: 28px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; border-bottom: 0; }
  .crimea-guide__panel::before { content: ''; position: absolute; top: 9px; left: calc(50% - 22px); width: 44px; height: 4px; background: var(--gray-300); border-radius: 3px; }
  .crimea-guide__title { font-size: 22px; }
  .crimea-guide__close { top: 20px; right: 12px; }
  .crimea-guide__panel p, .crimea-guide__routes li { font-size: 14px; }
}
@media (prefers-reduced-motion: no-preference) { .crimea-guide__launch { transition: box-shadow .2s; } .crimea-guide__launch:hover { box-shadow: var(--shadow-lg); } }
.crimea-guide__contact { border: 0; cursor: pointer; font-family: inherit; }
.crimea-guide__contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.crimea-guide__choice { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 8px; border: 1px solid var(--gray-300); border-radius: var(--radius-md); background: var(--white); color: var(--dark); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; }
.crimea-guide__choice--wide { grid-column: 1 / -1; }
.crimea-guide__choice:hover { background: var(--gray-100); }
.crimea-guide__callback { background: var(--yellow-light); border-color: var(--yellow-light); }
@media (max-width: 360px) {
  .geography__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geography__city { overflow-wrap: anywhere; }
  .conditions__card { min-width: 0; padding: 20px; }
  .conditions__label { flex-shrink: 1; min-width: 0; }
  .conditions__value { flex-shrink: 0; }
}

.crimea-guide__copy { flex: 1; min-width: 0; text-align: left; }
.crimea-guide__chevron { flex: 0 0 16px; margin-left: 4px; font-size: 30px; line-height: 1; text-align: center; color: var(--black); }
.crimea-guide__subtitle { color: var(--dark); }
.crimea-guide__section-title { margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.crimea-guide__section { margin-top: 6px; padding-top: 18px; border-top: 1px solid #e5e5e5; }
.crimea-guide__panel .crimea-guide__closing { padding-top: 18px; border-top: 1px solid #e5e5e5; }

.crimea-guide__panel:focus { outline: none; }
.crimea-guide .crimea-guide__close { border-radius: 4px; }
.crimea-guide .crimea-guide__close:focus:not(:focus-visible) { outline: none; box-shadow: none; }
@media (max-width: 768px) {
  .crimea-guide__launch { width: max-content; }
  .crimea-guide__copy { flex: 0 1 auto; width: max-content; }
  .crimea-guide__chevron { margin-left: 0; }
  .crimea-guide.is-open .crimea-guide__overlay { pointer-events: auto; }
}

/* Stable two-line mobile label: no runtime width measurements. */
@media (max-width: 768px) {
  .crimea-guide__launch { display: grid; grid-template-columns: 30px max-content 16px; column-gap: 10px; width: max-content; height: auto; min-height: 48px; padding: 6px 12px; }
  .crimea-guide__copy { width: auto; min-width: 0; }
  .crimea-guide__label { font-size: 15px; line-height: 18px; }
  .crimea-guide__label > span { display: block; white-space: nowrap; }
  .crimea-guide__chevron { margin-left: 0; }
}
