/* Horizontal journey form, matching the OSAKALIMO booking layout. */
.hero{grid-template-columns:minmax(0,1fr);gap:48px;padding:64px 5vw 46px;align-content:center;min-height:660px}.hero>div:first-child{max-width:760px}.hero .booking{width:100%;max-width:1440px;background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;color:#20211f;scroll-margin-top:24px}.booking form{display:block}.booking .modes{display:inline-flex;gap:4px;width:auto;margin:0 0 12px;padding:4px;background:#fff;border:0;border-radius:11px}.booking .modes button{flex:none;border:0;border-radius:7px;padding:10px 19px;min-height:36px;color:#30322e;background:#fff;font:600 13px Archivo,Arial,sans-serif;line-height:1.2}.booking .modes button[aria-pressed=true]{background:#252722;color:white;border:0}.booking .modes button:focus-visible,.journey-search:focus-visible{outline:3px solid #b58d48;outline-offset:3px}.journey-fields{display:grid;grid-template-columns:minmax(160px,1.65fr) minmax(160px,1.65fr) minmax(142px,1fr) minmax(108px,.75fr) minmax(86px,.55fr) minmax(128px,.85fr);gap:0;background:#fff;padding:10px;border-radius:13px;align-items:stretch}.booking .journey-fields>label{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;padding:6px 13px;border-right:1px solid #e7e7e7;font-size:12px;font-weight:400;line-height:1.3}.booking .journey-fields>label[hidden]{display:none!important}.booking .journey-fields input,.booking .journey-fields select{width:100%;min-width:0;min-height:42px;padding:8px 0;border:0;background:#fff;font-size:14px;color:#252722;border-radius:0}.booking .journey-fields input:focus-visible,.booking .journey-fields select:focus-visible{outline:2px solid #b58d48;outline-offset:1px}.booking .journey-fields #route{grid-column:auto}.booking .journey-fields .journey-search{grid-column:auto;margin:0 0 0 9px;padding:15px 12px;border-radius:9px;background:#e7bf70;color:#20211f;font-size:14px;font-weight:600;white-space:nowrap;min-height:68px}.booking .journey-search:hover{background:#dbb269}.booking .quotation-currency{margin:0;padding:10px 15px;background:#fff;border-radius:0 0 11px 11px;border-top:1px solid #eee;font-size:12px}.booking .quotation-currency p{max-width:none;margin:0}.booking .quotation-currency small{display:none}.booking .journey-fields:has(~.quotation-currency){border-bottom-left-radius:0;border-bottom-right-radius:0}.booking form>output:not([hidden]){display:block;padding:12px 15px;background:#fff4ed;color:#7b2824;font-size:14px}.journey-place>div{width:100%}.journey-place iframe{border-radius:0}
@media(max-width:1100px){.journey-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}.booking .journey-fields>label{padding:8px 12px}.booking .journey-fields>label:nth-of-type(4){border-right:0}.booking .journey-fields .journey-search{margin:4px 0 0 8px;min-height:58px}.hero{min-height:700px;gap:34px}}
@media(max-width:640px){.hero{padding:40px 5vw 32px;gap:30px;min-height:0}.hero .booking{padding:0}.booking .modes{display:flex;width:100%;margin-bottom:10px}.booking .modes button{flex:1;padding:12px 6px}.journey-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px}.booking .journey-fields>.journey-place{grid-column:1/-1;border-right:0;border-bottom:1px solid #e7e7e7;padding:10px 8px}.booking .journey-fields>label{padding:10px 8px}.booking .journey-fields #route{grid-column:1/-1}.booking .journey-fields>.journey-passengers{border-right:0}.booking .journey-fields .journey-search{grid-column:1/-1;margin:9px 0 0;min-height:52px}.booking .quotation-currency{padding:10px 15px}.hero h1{font-size:34px}.hero .journey-fields input{font-size:16px}}
/* Compact left-hand booking area keeps the car on the right visible. */
.hero{min-height:600px;padding:42px 5vw 36px;gap:26px}.hero>div:first-child{max-width:650px}.hero h1{font-size:clamp(30px,3.2vw,46px);max-width:650px}.hero>div:first-child p{margin:16px 0;font-size:15px}.hero>div:first-child>.button{padding:10px 16px;font-size:14px}.hero .booking{max-width:680px;width:64%;margin:0}.booking .modes{padding:3px;margin-bottom:8px;border-radius:8px}.booking .modes button{min-height:30px;padding:8px 15px;font-size:12px;border-radius:5px}.journey-fields{grid-template-columns:minmax(0,1.35fr) minmax(0,1.35fr) minmax(132px,1fr);padding:7px;border-radius:10px}.booking .journey-fields>label{padding:4px 10px;gap:2px;font-size:11px}.booking .journey-fields>label:nth-of-type(4){border-right:0}.booking .journey-fields input,.booking .journey-fields select{min-height:34px;padding:5px 0;font-size:13px}.booking .journey-fields .journey-search{min-height:46px;padding:10px;margin:4px 0 0 7px;font-size:13px;border-radius:7px}.booking .quotation-currency{padding:6px 13px;font-size:11px;line-height:1.4}.booking .quotation-currency p{font-size:11px;margin:0}
@media(max-width:900px){.hero .booking{width:76%;max-width:640px}.hero h1{max-width:600px}.journey-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1.3fr) minmax(122px,1fr)}}
@media(max-width:640px){.hero{padding:30px 5vw 26px;gap:22px;min-height:0}.hero h1{font-size:30px}.hero .booking{width:100%;max-width:none}.booking .modes{width:auto;display:inline-flex}.booking .modes button{flex:none;padding:8px 14px}.journey-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:7px}.booking .journey-fields>label{padding:7px}.booking .journey-fields>.journey-place{padding:7px;border-right:0}.booking .journey-fields input{font-size:16px}.booking .journey-fields .journey-search{margin:6px 0 0;min-height:44px}.booking .quotation-currency{padding:7px 13px}}
/* Extend the hero image downward and lower the existing compact form. */
@media(min-width:641px){.hero{min-height:760px;padding-top:72px;padding-bottom:52px;align-content:space-between;gap:80px}}
@media(max-width:640px){.hero{gap:52px;padding-bottom:38px}}

/* Keep OSAKALIMO's full-width horizontal format at the lower hero position. */
.hero .booking{width:100%;max-width:1440px}
@media(min-width:1101px){
 .journey-fields{grid-template-columns:minmax(160px,1.65fr) minmax(160px,1.65fr) minmax(142px,1fr) minmax(108px,.75fr) minmax(86px,.55fr) minmax(128px,.85fr);padding:10px;border-radius:13px}
 .booking .journey-fields>label{padding:6px 13px;gap:5px;font-size:12px}
 .booking .journey-fields>label:nth-of-type(4){border-right:1px solid #e7e7e7}
 .booking .journey-fields input,.booking .journey-fields select{min-height:42px;padding:8px 0;font-size:14px}
 .booking .journey-fields .journey-search{min-height:68px;margin:0 0 0 9px;padding:15px 12px;font-size:14px;border-radius:9px}
 .booking .modes{padding:4px;margin-bottom:12px;border-radius:11px}
 .booking .modes button{min-height:36px;padding:10px 19px;font-size:13px;border-radius:7px}
}

/* Leave a dark edge below the booking bar at each screen size. */
.hero {
  --booking-bottom-gap: clamp(18px, 2.2vw, 32px);
  padding-bottom: var(--booking-bottom-gap);
  box-shadow: inset 0 calc(-1 * var(--booking-bottom-gap)) #101010;
}

/* Homepage navigation and reassurance stay within the hero image. */
header.hero-header{position:absolute;inset:0 0 auto;z-index:10;background:linear-gradient(#0009,#0000);color:white;padding:20px 5vw}
header.hero-header img{filter:invert(1) grayscale(1);mix-blend-mode:screen}
header.hero-header:not(.is-scrolled) .site-preferences select{color:white}
.hero-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
header.hero-header .header-request{flex:0 1 auto;max-width:none;padding:10px 14px;font-size:13px;font-weight:600;line-height:1.2;border-radius:999px}
@media(max-width:1090px){
  header.hero-header{gap:12px}
  .hero-header-actions{margin-left:auto}
  header.hero-header nav{order:1;width:100%;justify-content:flex-end;gap:12px}
  header.hero-header nav>a{display:block!important;font-size:clamp(11px,2.8vw,14px)}
  html{scroll-padding-top:130px}
}
@media(min-width:1091px){header.hero-header nav{margin-left:auto;justify-content:flex-end;gap:24px}}
@media(max-width:640px){
  header.hero-header>a img{width:min(25vw,130px)}
  .hero-header-actions{min-width:0;max-width:calc(100% - min(25vw,130px) - 12px);gap:6px}
  header.hero-header .header-request{font-size:11px;padding:8px;overflow-wrap:anywhere}
}
header.hero-header nav a{color:#fff}
.hero{padding-top:150px;min-height:844px}
.hero .booking .journey-fields .journey-search{background:#a92922;color:white}
.hero .booking .journey-fields .journey-search:hover{background:#8e211b}
.hero .booking .benefits{display:flex;justify-content:center;gap:16px 46px;padding:15px 12px;background:transparent;color:#fff;font-size:13px;font-weight:500}
@media(max-width:640px){header.hero-header{padding:15px 5vw;flex-wrap:wrap;gap:12px}header.hero-header nav{width:100%;justify-content:flex-end;gap:12px}header.hero-header nav a{display:block!important;font-size:12px}.hero{padding-top:150px;min-height:0}.hero .booking .benefits{font-size:11px;gap:8px 16px}}

/* Switch from light overlay branding to the original logo on scroll. */
header.hero-header{position:fixed;z-index:100;transition:background .2s ease,box-shadow .2s ease}
header.hero-header.is-scrolled{background:#fff;box-shadow:0 2px 14px #00000014;color:#171715}
header.hero-header.is-scrolled img{filter:none;mix-blend-mode:normal}
header.hero-header.is-scrolled nav a{color:#171715}
html{scroll-padding-top:100px}
@media(max-width:640px){html{scroll-padding-top:130px}}
@media(prefers-reduced-motion:reduce){header.hero-header{transition:none}}

/* Refined OSAKALIMO-style booking strip. */
:root{--journey-icon-pin:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%206-8%2012-8%2012S4%2016%204%2010a8%208%200%201%201%2016%200Z%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22/%3E%3C/svg%3E")}
:root{--journey-icon-search:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2210.5%22%20cy%3D%2210.5%22%20r%3D%226.5%22/%3E%3Cpath%20d%3D%22m16%2016%205%205%22/%3E%3C/svg%3E")}
:root{--journey-icon-person:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M5%2022v-3a7%207%200%200%201%2014%200v3%22/%3E%3C/svg%3E")}
:root{--journey-icon-car:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2010%202-6h12l2%206M3%2010h18v9H3zM5%2019v3m14-3v3M6%2014h2m8%200h2%22/%3E%3C/svg%3E")}
:root{--journey-icon-headset:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2014v-3a8%208%200%200%201%2016%200v3M4%2012H2v7h4v-7H4Zm16%200h2v7h-4v-7h2Zm0%207v2h-8%22/%3E%3C/svg%3E")}

.hero .booking{filter:drop-shadow(0 8px 20px #00000012)}
.booking .modes{padding:4px;border-radius:11px;gap:3px;margin-bottom:12px}
.booking .modes button{padding:10px 20px;border-radius:7px;min-height:34px;font-size:13px}
.booking .journey-fields{padding:10px;background:#fff;border-radius:13px 13px 0 0;align-items:stretch}
.booking .journey-fields>label{position:relative;padding:5px 14px;gap:4px;font-size:12px;font-weight:400;color:#555;border-right:1px solid #e4e4e4}
.booking .journey-fields input,.booking .journey-fields select{border:0!important;box-shadow:none;background:#fff;border-radius:0;font-size:14px;color:#252722;min-height:42px}
.booking .journey-fields>.journey-place{padding-left:14px}
.booking .journey-place>div{padding-left:20px}
.booking .journey-place>div::before{content:"";position:absolute;left:0;top:15px;width:15px;height:17px;background:#292b28;mask:var(--journey-icon-pin) center/contain no-repeat;-webkit-mask:var(--journey-icon-pin) center/contain no-repeat;pointer-events:none}
.booking .journey-place iframe{left:20px!important;width:calc(100% - 20px)!important}
.booking .journey-fields .journey-search{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;min-height:70px;margin:0 0 0 10px;font-size:14px}
.booking .journey-search::before{content:"";width:17px;height:17px;flex:none;background:currentColor;mask:var(--journey-icon-search) center/contain no-repeat;-webkit-mask:var(--journey-icon-search) center/contain no-repeat}
.hero .booking .quotation-currency{display:none}
.hero .booking .benefits{border-top:1px solid #dedede;border-radius:0 0 11px 11px;padding:8px 14px;gap:12px 30px;justify-content:flex-start;background:#fff;color:#353833;font-size:11px;line-height:1.5}
.hero .booking .benefits span{display:inline-flex;align-items:center;gap:7px}
.hero .booking .benefits span::before{content:"";width:16px;height:16px;flex:none;background:#9a7b42;mask:var(--journey-icon-person) center/contain no-repeat;-webkit-mask:var(--journey-icon-person) center/contain no-repeat}
.hero .booking .benefits span:nth-child(2)::before{mask-image:var(--journey-icon-car);-webkit-mask-image:var(--journey-icon-car)}
.hero .booking .benefits span:nth-child(3)::before{mask-image:var(--journey-icon-headset);-webkit-mask-image:var(--journey-icon-headset)}
@media(max-width:1100px){.booking .journey-fields .journey-search{min-height:52px;margin-top:5px}}
@media(max-width:640px){.booking .journey-fields>label{padding:8px}.booking .journey-fields>.journey-place{padding-left:8px}.booking .journey-fields .journey-search{margin:8px 0 0;min-height:50px}.booking .journey-fields input{font-size:16px}.hero .booking .benefits{gap:8px 16px;font-size:10px;padding:10px 12px}}

.booking .journey-place>div{padding-left:0}.booking .journey-place>div::before{display:none}.booking .journey-place iframe{left:0!important;width:100%!important}

/* Center the capped booking strip at the bottom of wide-screen heroes. */
.hero .booking{margin-inline:auto;justify-self:center;align-self:end}
@media(min-width:1101px){.hero{min-height:max(844px,100svh);grid-template-rows:auto auto;align-content:space-between}}

/* Keep the hero heading and its supporting line together, clear of the car. */
.hero > div:first-child {
  margin-inline-start: clamp(28px, 5vw, 84px);
  padding-block-start: clamp(20px, 3vh, 36px);
}
@media (max-width: 640px) {
  .hero > div:first-child { margin-inline-start: 4px; padding-block-start: 10px; }
}

/* Native date/time inputs do not display placeholders on iOS Safari. */
.journey-picker {
  display: grid;
  min-width: 0;
  align-items: center;
}
.journey-picker input,
.journey-picker-icon {
  grid-area: 1 / 1;
}
.journey-picker-icon {
  display: none;
  pointer-events: none;
  color: #292b28;
}
.journey-picker input:invalid:not(:focus) {
  opacity: 0;
}
.journey-picker input:invalid:not(:focus) + .journey-picker-icon {
  display: block;
}

/* Fit the current language code instead of the longest dropdown option. */
header.hero-header .site-preferences #site-language {
  width: 42px;
}
html[lang="zh-TW"] header.hero-header .site-preferences #site-language {
  width: 66px;
}
