:root { --planner-height: 76px; --planner-offset: var(--planner-height); }
body { padding-bottom: var(--planner-offset); }
.mobile-booking { display: none !important; }
.hostel-chat { bottom: calc(var(--planner-offset) + 18px) !important; }

.stay-planner-bar { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; min-height: var(--planner-height); color: #fff; background: rgba(7,29,23,.96); border-top: 1px solid rgba(255,255,255,.16); box-shadow: 0 -14px 45px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.stay-planner-bar__inner { min-height: var(--planner-height); display: grid; grid-template-columns: minmax(180px,.9fr) minmax(560px,2fr) auto; gap: 18px; align-items: center; }
.stay-planner-bar__title { display: grid; }
.stay-planner-bar__title strong { color: var(--sun); font-size: 1.02rem; }
.stay-planner-bar__title small { color: #a9c0b7; }
.stay-planner-bar__fields { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 8px; }
.stay-planner-bar label { display: grid; gap: 3px; color: #afc3bb; font-size: .7rem; font-weight: 750; }
.stay-planner-bar input, .stay-planner-bar select { width: 100%; min-height: 42px; padding: 8px 10px; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.08); font: inherit; color-scheme: dark; }
.stay-planner-bar .button { min-height: 46px; color: #10261f; background: var(--sun); }

.planner-dialog { width: min(980px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; overflow: hidden; color: #10261f; border: 0; border-radius: 26px; background: #f7f4eb; box-shadow: 0 35px 90px rgba(0,0,0,.34); }
.planner-dialog::backdrop { background: rgba(4,18,14,.78); backdrop-filter: blur(8px); }
.planner-dialog__layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); max-height: calc(100dvh - 28px); }
.planner-dialog__aside { padding: clamp(25px,4vw,48px); color: #fff; background: radial-gradient(circle at 70% 10%, rgba(244,208,111,.2), transparent 30%), #0b2a21; }
.planner-dialog__aside .eyebrow { color: var(--sun); }
.planner-dialog__aside h2 { max-width: 100%; color: #fff; font-size: clamp(2rem,3.5vw,3.4rem); line-height: 1.05; overflow-wrap: anywhere; }
.planner-dialog__aside p { color: #c8d7d1; }
.planner-trust { display: grid; gap: 12px; margin-top: 35px; }
.planner-trust span { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); color: #d7e1dd; font-size: .84rem; }
.planner-dialog__body { min-width: 0; min-height: 0; position: relative; padding: clamp(25px,4vw,48px); overflow-y: auto; }
.planner-close { width: 40px; height: 40px; position: absolute; top: 16px; right: 16px; color: #173d32; border: 1px solid #ced7d2; border-radius: 50%; background: #fff; font-size: 1.35rem; cursor: pointer; }
.planner-form { display: grid; gap: 20px; }
.planner-step { display: grid; gap: 12px; }
.planner-step > strong { color: #173d32; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.duration-pills { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.duration-pills button { min-height: 54px; padding: 8px; color: #173d32; border: 1px solid #cbd5d0; border-radius: 12px; background: #fff; font-weight: 850; cursor: pointer; }
.duration-pills button[aria-pressed="true"] { color: #10261f; border-color: var(--sun); background: var(--sun); }
.planner-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.planner-field { display: grid; gap: 6px; color: #53665e; font-size: .75rem; font-weight: 750; }
.planner-field.full { grid-column: 1 / -1; }
.planner-tariff-hint { margin: -12px 0 0; color: #53665e; font-size: .76rem; line-height: 1.5; }
.planner-field { min-width: 0; }
.planner-field input, .planner-field select, .planner-field textarea { min-width: 0; }
.planner-estimate strong { overflow-wrap: anywhere; }
body:has(.hostel-chat[data-open="true"]) .install-app-banner { display: none; }
.planner-field input, .planner-field select, .planner-field textarea { width: 100%; min-height: 48px; padding: 11px 12px; color: #10261f; border: 1px solid #cbd5d0; border-radius: 11px; background: #fff; font: inherit; }
.planner-field textarea { min-height: 78px; resize: vertical; }
.planner-estimate { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 15px; background: #e7eee9; }
.planner-estimate span, .planner-estimate small { display: block; color: #5b6d65; }
.planner-estimate strong { color: #173d32; font-size: clamp(1.7rem,4vw,2.6rem); }
.planner-estimate small { grid-column: 1 / -1; font-size: .73rem; }
.planner-consent { display: grid; grid-template-columns: 20px 1fr; gap: 9px; color: #64746d; font-size: .76rem; }
.planner-consent input { margin-top: 3px; }
.planner-submit { width: 100%; min-height: 54px; border: 0; border-radius: 12px; color: #10261f; background: var(--sun); font-weight: 900; cursor: pointer; }
.planner-submit[disabled] { cursor: wait; opacity: .65; }
.planner-status { min-height: 22px; margin: 0; color: #2e5d4c; font-weight: 750; }
.planner-status.error { color: #9a332d; }
.planner-mail-fallback { color: #245c4a; font-weight: 800; }

.segment-hero { min-height: 770px; position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: #071d17; }
.segment-hero > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.segment-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,21,16,.94) 0%,rgba(5,21,16,.68) 52%,rgba(5,21,16,.2)), linear-gradient(0deg,rgba(5,21,16,.75),transparent 45%); }
.segment-hero-copy { position: relative; z-index: 2; padding-top: 145px; padding-bottom: 170px; }
.segment-hero-copy .breadcrumbs a, .segment-hero-copy .breadcrumbs span { color: #d6e1dc; }
.segment-hero-copy .eyebrow { margin-top: 70px; color: var(--sun); }
.segment-hero-copy h1 { max-width: 1080px; color: #fff; font-size: clamp(3.6rem,7.8vw,7.8rem); line-height: .86; }
.segment-hero-copy .lead { max-width: 680px; color: #e0e7e3; }
.segment-proof { width: min(1180px,calc(100% - 40px)); position: absolute; z-index: 3; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); color: #fff; background: rgba(7,29,23,.92); backdrop-filter: blur(12px); }
.segment-proof div { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 20px 34px; border-left: 1px solid rgba(255,255,255,.14); }
.segment-proof strong { color: var(--sun); font-size: clamp(1.8rem,4vw,3.5rem); line-height: 1; }
.segment-proof span { margin-top: 7px; color: #bcd0c8; }
.audience-links { color: #fff; background: #0b2720; }
.audience-link-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 30px; border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.audience-link-grid a { min-height: 220px; display: flex; flex-direction: column; padding: 25px; color: #fff; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); text-decoration: none; }
.audience-link-grid span { color: var(--sun); }
.audience-link-grid strong { margin-top: auto; font-size: 1.5rem; }
.audience-link-grid small { margin-top: 8px; color: #a9c0b7; }
.audience-hero { color: #fff; background: radial-gradient(circle at 75% 20%,rgba(244,208,111,.24),transparent 30%),#071d17; }
.audience-hero h1 { max-width: 1000px; color: #fff; }
.audience-hero .eyebrow { color: var(--sun); }
.audience-hero .lead { color: #c8d7d1; }
.segment-index-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.segment-index-card { min-height: 320px; display: flex; flex-direction: column; padding: 32px; color: #10261f; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-decoration: none; transition: transform .25s ease,box-shadow .25s ease; }
.segment-index-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.segment-index-card > span { color: #173d32; font-size: 2.5rem; font-weight: 900; opacity: .28; }
.segment-index-card h2 { margin-top: auto; color: #173d32; font-size: clamp(2rem,4vw,3.8rem); }
.segment-index-card p { color: #5d6d66; }
.segment-index-card b { color: #245c4a; }
.home-audience-section { color: #fff; background: #0c241e; }
.home-audience-section h2 { color: #fff; }
.home-audience-section .section-head > p { color: #afc3bb; }
.home-audience-grid { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.home-audience-grid a { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; color: #fff; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); text-decoration: none; transition: background .25s ease; }
.home-audience-grid a:hover { background: rgba(244,208,111,.1); }
.home-audience-grid span { color: var(--sun); }
.home-audience-grid strong { font-size: clamp(1.2rem,2.2vw,2rem); }

.route-card { position: relative; overflow: hidden; }
.route-card::after { content: ""; width: 3px; height: 0; position: absolute; left: 0; top: 0; background: var(--sun); transition: height 7s cubic-bezier(.2,.8,.2,1); }
.route-card.is-visible::after { height: 100%; }
[data-count-text] { display: inline-block; }

.install-app-banner { position: fixed; z-index: 75; right: 22px; bottom: calc(var(--planner-offset) + var(--chat-launcher-height, 60px) + 34px); width: min(350px,calc(100vw - 44px)); max-height: calc(100dvh - var(--planner-offset) - var(--chat-launcher-height, 60px) - 50px); overflow-y: auto; padding: 18px; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: #173d32; box-shadow: 0 20px 55px rgba(0,0,0,.25); }
.install-app-banner strong { display: block; color: var(--sun); }
.install-app-banner p { margin: 5px 0 13px; color: #c8d7d1; font-size: .82rem; }
.install-app-banner__actions { display: flex; gap: 8px; }
.install-app-banner button { padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: #fff; background: transparent; cursor: pointer; }
.install-app-banner button:first-child { color: #10261f; border-color: var(--sun); background: var(--sun); font-weight: 850; }

@media (max-width: 1080px) {
  :root { --planner-height: 68px; }
  .stay-planner-bar__inner { grid-template-columns: 1fr auto; }
  .stay-planner-bar__fields { display: none; }
  .home-audience-grid { grid-template-columns: repeat(3,1fr); }
  .audience-link-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: var(--planner-offset); }
  .hostel-chat { bottom: calc(var(--planner-offset) + 14px) !important; }
  .stay-planner-bar__inner { gap: 8px; padding-inline: 14px; }
  .stay-planner-bar__title strong { font-size: .9rem; }
  .stay-planner-bar__title small { font-size: .68rem; }
  .stay-planner-bar .button { min-height: 42px; padding-inline: 14px; font-size: .76rem; }
  .planner-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; border-radius: 0; }
  .planner-dialog__layout { grid-template-columns: 1fr; max-height: 100dvh; overflow-y: auto; }
  .planner-dialog__aside { padding: 25px 22px; }
  .planner-dialog__aside h2 { max-width: 280px; font-size: 2.7rem; }
  .planner-dialog__aside p, .planner-trust { display: none; }
  .planner-dialog__body { overflow: visible; padding: 25px 22px 45px; }
  .duration-pills { grid-template-columns: repeat(2,1fr); }
  .planner-fields { grid-template-columns: 1fr; }
  .planner-field.full { grid-column: auto; }
  .segment-hero { min-height: 720px; }
  .segment-hero-copy { padding-top: 95px; padding-bottom: 230px; }
  .segment-hero-copy .eyebrow { margin-top: 45px; }
  .segment-hero-copy h1 { font-size: clamp(3rem,14vw,4.8rem); }
  .segment-proof { width: 100%; grid-template-columns: 1fr 1fr 1fr; }
  .segment-proof div { min-height: 130px; padding: 14px; }
  .segment-proof strong { font-size: 1.5rem; }
  .segment-proof span { font-size: .68rem; }
  .segment-index-grid, .audience-link-grid, .home-audience-grid { grid-template-columns: 1fr; }
  .home-audience-grid a { min-height: 110px; }
  .audience-link-grid a { min-height: 155px; }
  .install-app-banner { right: 12px; width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .route-card::after { height: 100%; }
}

/* Native guest dropdown contrast. */
.stay-planner-bar select { color-scheme: light; }
.stay-planner-bar select option { color: #10261f; background-color: #f7f4eb; }

.price-hero h1.price-hero__title { max-width: 900px; font-size: clamp(2.35rem,5.2vw,5.1rem); line-height: 1.05; }
