*{box-sizing:border-box}
body{margin:0;background:#f5f6f8;color:#17233b;font:15px Arial,sans-serif}
main{max-width:1440px;margin:auto;padding:16px 24px}
.hero{position:relative;min-height:510px;border-radius:25px;color:white}
nav{display:flex;align-items:center;justify-content:space-between;padding:24px 32px;gap:20px}
.brand{font-size:27px;font-weight:800;letter-spacing:2px}
nav a{color:white;text-decoration:none;margin:0 12px}
button,input,select{font:inherit}
button{cursor:pointer;border:0;border-radius:30px;padding:13px 20px;background:#172b56;color:white;font-weight:600}
nav button{background:white;color:#17233b}
.headline{text-align:center;padding:28px 12px 100px}
.eyebrow{letter-spacing:5px;font-size:12px}
.headline h1{font-size:clamp(70px,13vw,165px);letter-spacing:-6px;line-height:.9;margin:20px 0 10px}
.headline p{font-size:18px}
.booking{position:relative;margin:-78px 4% 0;background:white;border-radius:24px;padding:20px 24px;box-shadow:0 15px 40px #12213b24}
.tabs{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:18px}
.tab{background:none;color:#17233b;border-radius:0;padding:10px 8px;border-bottom:2px solid transparent}
.tab.active{border-color:#182d57}
.trip{margin-left:auto;background:#172b56;color:white;border-radius:20px;padding:8px;border:0}
.fields{display:grid;grid-template-columns:1fr 1fr 1fr 1fr .9fr auto;gap:8px;align-items:stretch}
.field{border:1px solid #e3e6eb;border-radius:12px;padding:12px;min-width:0}
.field label{display:block;font-size:12px;color:#566073;margin-bottom:8px}
.field input,.field select{width:100%;border:0;background:white;color:#17233b;outline:none;min-width:0}
.search{align-self:center;white-space:nowrap}
.benefits{display:flex;justify-content:space-around;gap:15px;flex-wrap:wrap;padding:28px 4%;font-size:13px}
.benefits span{display:block;color:#626c7c;margin-top:5px}
.offers{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin:0 4%}
.offer{min-height:200px;border-radius:18px;overflow:hidden;color:white;padding:23px;background:#20385b;display:flex;flex-direction:column;justify-content:flex-end}
.dubai{background:linear-gradient(90deg,#10243bc9,#10243b22),url(images/dubai-skyline.jpg) center/cover}
.tokyo{background:linear-gradient(90deg,#10243bc9,#10243b22),url(images/chureito-fuji.jpg) center/cover}
.offer h2{margin:0 0 8px}
.offer button{align-self:flex-start;background:white;color:#17233b;margin-top:12px;padding:9px 15px}
.newsletter input{padding:12px;border:1px solid #ffffff70;background:#ffffff15;border-radius:8px;color:white;width:100%}
.newsletter input::placeholder{color:#dce2ed}
.airlines{display:flex;justify-content:space-around;flex-wrap:wrap;gap:20px;padding:30px;color:#657084;font-weight:700}
.notice{margin-top:12px;color:#43536d;font-size:13px}
.hidden{display:none!important}
footer{text-align:center;color:#687384;padding:12px;font-size:12px}
@media(max-width:850px){nav a{display:none}
.fields{grid-template-columns:1fr 1fr}
.offers{grid-template-columns:1fr}
.hero{min-height:430px}
.headline{padding-top:50px}
.booking{margin:-60px 0 0}
.trip{margin-left:0}
.benefits{justify-content:flex-start}
.search{width:100%}
}
@media(max-width:420px){main{padding:8px}
.booking{padding:14px}
.tabs{gap:4px}
.tab{font-size:13px}
.headline h1{letter-spacing:-3px}
nav{padding:20px}
.eyebrow{letter-spacing:2px}
}

.flow{margin:28px 4%;padding:26px;border-radius:22px;background:white;box-shadow:0 12px 35px #12213b12}
.flow h2{margin:8px 0 18px}
.flowform{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.flowform label{display:grid;gap:6px;font-size:13px}
.flowform input,.flowform select{border:1px solid #dfe4ea;border-radius:10px;padding:13px;width:100%}
.flowactions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.back{background:#eef2f8;color:#172b56}
@media(max-width:650px){.flow{margin:20px 0;padding:18px}
.flowform{grid-template-columns:1fr}
}

dialog{border:0;border-radius:20px;padding:26px;width:min(520px,calc(100% - 32px));color:#17233b}
dialog::backdrop{background:#101f39b3}
dialog .flowform{grid-template-columns:1fr}
#closeaccount{margin-top:8px}
.trap{position:absolute!important;left:-9999px;width:1px!important;height:1px}
.policy{max-width:760px;line-height:1.7}
.policy a{color:#172b56}
/* Hero: Dubai skyline, headline on the left, search card overlapping below. */
.hero{min-height:500px;overflow:hidden;background:linear-gradient(90deg,#0b172bd9 0%,#0b172b80 38%,#0b172b00 68%),url(images/dubai-skyline.jpg) center 60%/cover #1b1a22}
.headline{text-align:left;padding:52px 32px 150px;max-width:620px}
.eyebrow{letter-spacing:4px;font-weight:700;color:#ffd9a8}
.headline h1{font-size:clamp(40px,5.4vw,70px);letter-spacing:-.02em;line-height:1.05;margin:14px 0 16px;text-shadow:0 2px 18px #0006}
.headline p{margin:0;max-width:420px;line-height:1.5;text-shadow:0 1px 10px #0008}
@media(max-width:850px){.hero{min-height:440px;background-position:center,52% 60%}.headline{padding:26px 20px 110px}}
/* The two travel team photos, back to back on the right of the hero. */
.hero{min-height:560px}
.hero::after{content:"";position:absolute;right:3%;bottom:60px;height:min(430px,34vw);aspect-ratio:1318/1100;background:url(images/hero-team.webp) bottom/contain no-repeat;filter:drop-shadow(0 0 24px #0b172b99);pointer-events:none}
.headline{position:relative;z-index:1}
@media(max-width:850px){.hero{min-height:0}.headline{padding-bottom:0}.hero::after{position:static;display:block;width:min(100%,440px);height:auto;margin:14px auto 0}.hero{padding-bottom:56px}}
/* Flight results */
.results{display:grid;gap:10px;margin-top:12px}
.result{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #e3e6eb;border-radius:12px;padding:14px}
.result p{margin:8px 0 2px;font-size:14px}
.result small{color:#626c7c}
.result .price{display:grid;gap:8px;justify-items:end;margin-left:auto}
.search:disabled{opacity:.6}
.field{position:relative}
.suggest{position:absolute;z-index:20;top:100%;left:0;min-width:100%;width:max-content;max-width:min(340px,80vw);max-height:260px;overflow:auto;margin:4px 0 0;padding:4px;list-style:none;background:white;border:1px solid #dfe4ea;border-radius:12px;box-shadow:0 12px 35px #12213b26}
.suggest button{width:100%;text-align:left;background:white;color:#17233b;padding:10px;border-radius:8px;font-weight:400}
.suggest button:hover,.suggest button:focus{background:#eef2f8}
.quote{justify-self:start;background:#eef2f8;color:#172b56;padding:9px 15px}
.visafields{border:0;border-top:1px solid #e3e6eb;margin:18px 0 0;padding:14px 0 0;min-width:0}
.visafields legend{font-weight:700;padding:0 8px 0 0}
