@font-face{font-family:DM;src:url('assets/dm-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url('assets/dm-bold.ttf') format('truetype');font-weight:600 900;font-display:swap}

:root{--navy:#071d32;--ink:#11273b;--blue:#0878cf;--action:#066dbd;--muted:#526577;--line:#dce3e9;--soft:#edf5fb;--paper:#fff;--radius:12px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:DM,Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--paper)}
button,input,select{font:inherit}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit}
button{color:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #69baff;outline-offset:4px}
input:focus-visible,select:focus-visible{outline:2px solid #167fce;outline-offset:3px}
button:disabled{cursor:default;opacity:.5}
button svg,a svg{pointer-events:none}
h1,h2,h3,p{margin:0}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
h2{font-size:31px;line-height:1.2;letter-spacing:-.6px}
h3{font-size:20px}
.wrap{width:min(1200px,calc(100% - 64px));margin:auto}
.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.skip{position:absolute;top:-80px;left:16px;padding:12px;background:white;z-index:50}
.skip:focus{top:12px}
[hidden]{display:none!important}
.masthead{background:var(--navy);color:white}
.header{display:flex;align-items:center;justify-content:space-between;height:92px}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:35px;font-weight:800;text-decoration:none;line-height:1}
.brand img{display:block}
.header nav{display:flex;align-items:center;gap:27px;font-size:14px}
.header nav a{text-decoration:none}
.header nav button{display:flex;align-items:center;gap:8px;background:none;color:inherit;border:0;padding:10px 0;font-weight:600}
.header .locale{font-size:13px;color:#cfdeea}
.header .help{padding:9px 17px;border:1px solid #70808e;border-radius:9px}
.hero{padding:14px 0 36px}
.product-nav{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:29px}
.product-nav button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border-radius:8px;padding:9px 17px;background:transparent;color:white;border:1px solid #74808c;font-size:14px;font-weight:600}
.product-nav button.selected{background:var(--blue);border-color:var(--blue)}
.product-nav button:hover{background:#25445f}
.product-nav button.selected:hover{background:var(--action)}
h1{font-size:52px;line-height:1.08;letter-spacing:-1.7px}
.hero-sub{font-size:18px;color:#c8d7e3;margin-top:12px;margin-bottom:27px}
.trip-row{display:flex;gap:24px;align-items:center;margin:0 0 13px}
.trip-row select,.trip-setting{border:0;color:white;background:transparent;padding:5px 0;font-size:14px}
.trip-row select option{color:var(--ink);background:white}
.trip-setting{display:flex;gap:8px;align-items:center}
.trip-setting .icon{width:17px;height:17px}
.search-bar{display:grid;position:relative;grid-template-columns:1.35fr 1.35fr 1fr 1fr 1.4fr auto;gap:3px}
.search-field{display:flex;flex-direction:column;justify-content:center;gap:4px;text-align:left;background:white;border:0;color:#536272;padding:14px 18px;min-width:0;font-size:12px;font-weight:600;min-height:86px}
.search-field:first-child{border-radius:10px 0 0 10px}
.search-field input{width:100%;padding:0;border:0;background:none;color:var(--ink);font-size:16px;font-weight:700;min-width:0;height:28px}
.search-field input::placeholder{color:#627183;font-weight:400}
.search-field input[type=date]{font-size:14px;font-variant-numeric:tabular-nums}
.travelers-field{border-radius:0 10px 10px 0}
.travelers-field strong{font-size:15px;color:var(--ink);font-weight:700;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.swap{position:absolute;left:21.1%;top:28px;z-index:2;display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:50%;border:1px solid var(--line);background:white;color:#2e536d}
.swap .icon{width:19px;height:19px}
.search-submit{display:flex;align-items:center;justify-content:center;gap:16px;color:white;background:var(--blue);border:0;border-radius:10px;margin-left:7px;padding:15px 23px;font-weight:700;font-size:18px}
.search-submit:hover,.button:hover{background:#055e9f}
.search-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:17px;font-size:13px;color:#d6e3ed}
.search-bottom label{display:flex;align-items:center;gap:9px}
.search-bottom input{width:19px;height:19px;accent-color:var(--blue);margin:0}
.search-bottom p{font-size:12px;color:#b6c8d7}
.search-error{margin-top:16px;padding:12px 16px;background:#fff0ed;color:#942921;border-radius:8px}
.multi-leg{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:5px;margin-top:7px}
.multi-leg label{border-radius:6px!important}
.multi-leg button{border:0;background:#25445f;color:white;border-radius:6px;padding:12px}
.text-button{border:0;background:none;display:inline-flex;align-items:center;gap:12px;padding:10px 0;font-weight:700;font-size:14px;color:var(--action)}
.text-button.light{color:white}
.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;border:0;border-radius:9px;padding:13px 20px;min-height:48px;background:var(--action);color:white;font-weight:700;font-size:15px}
.button.secondary{background:white;color:var(--ink);border:1px solid #aab6c0}
.button.secondary:hover{background:var(--soft)}
.button.white{background:white;color:var(--ink)}
.button.white:hover{background:#e6f1fa}
.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:31px 0}
.quick-links button{display:flex;align-items:center;gap:13px;padding:18px 20px;min-height:72px;background:#eff4f8;border:0;border-radius:10px;text-align:left;font-weight:700;font-size:15px}
.quick-links button:hover{background:#e2edf5}
.quick-links .arrow{margin-left:auto;width:18px}
.discovery-banner{position:relative;height:430px;border-radius:16px;overflow:hidden;background:#144358}
.discovery-banner>img{width:100%;height:100%;object-fit:cover;object-position:50% 44%;position:absolute}
.discovery-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,22,34,.88),rgba(3,22,34,.42) 45%,transparent 78%)}
.banner-content{position:relative;z-index:1;padding:45px 48px;color:white}
.banner-content>span{display:block;font-size:13px;margin-bottom:14px;color:#d8e9f2}
.banner-content h2{font-size:43px;line-height:1.12;letter-spacing:-1.2px}
.banner-content p{margin:15px 0 22px;color:#e0edf5;font-size:16px}
.photo-caption{position:absolute;right:25px;bottom:23px;z-index:1;display:flex;align-items:center;gap:7px;color:white;background:#142d40b8;padding:7px 10px;border-radius:6px;font-size:12px}
.photo-caption .icon{width:15px;height:15px}
.destination-section{padding:53px 0}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}
.section-heading p{margin-top:10px;color:var(--muted)}
.destination-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}
.destination-card{border:1px solid var(--line);border-radius:12px;padding:0;background:white;text-align:left;overflow:hidden}
.destination-card:hover{border-color:#7b9fb9}
.destination-photo{height:218px;position:relative}
.destination-photo img{width:100%;height:100%;object-fit:cover}
.destination-photo span{position:absolute;left:15px;bottom:15px;border-radius:6px;padding:6px 10px;background:white;color:var(--ink);font-size:12px;font-weight:600}
.destination-caption{display:flex;justify-content:space-between;align-items:center;padding:19px 18px 22px;gap:10px}
.destination-caption h3{font-size:20px}
.destination-caption p{margin-top:5px;color:var(--muted);font-size:13px}
.flex-banner{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center;background:#edf5fb;border-radius:16px;padding:39px 72px}
.flex-banner h2{font-size:32px}
.flex-banner p{color:var(--muted);margin:13px 0 5px;max-width:52ch}
.flex-illustration{padding:26px 24px;background:white;border-radius:12px;box-shadow:0 8px 25px #16354d0c;transform:rotate(-4deg);border:1px solid #dae4ed}
.flex-illustration>.icon{width:28px;height:28px;margin-bottom:19px;color:var(--blue)}
.flex-illustration>span{display:block;word-spacing:10px;font-size:11px;color:var(--muted);text-align:center;white-space:nowrap}
.flex-illustration>div{display:flex;justify-content:space-between;margin-top:12px;gap:5px}
.flex-illustration b{font-size:18px;padding:10px 8px;border-radius:8px;font-variant-numeric:tabular-nums}
.flex-illustration .active{background:var(--action);color:white}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:52px;padding:53px 0;border-bottom:1px solid var(--line)}
.trust-row .icon{margin-bottom:12px;color:var(--action);width:26px;height:26px}
.trust-row h3{font-size:18px}
.trust-row p{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.65}
.faq{display:grid;grid-template-columns:1fr 1.65fr;gap:70px;padding:55px 0 65px}
.faq details{border-bottom:1px solid var(--line);padding:17px 0}
.faq details:first-child{padding-top:0}
.faq summary{cursor:pointer;font-weight:600;list-style:none;padding-right:24px;position:relative}
.faq summary:after{content:'+';position:absolute;right:2px;top:-2px;font-size:23px;font-weight:400}
.faq details[open] summary:after{content:'−'}
.faq details p{margin-top:12px;color:var(--muted);font-size:14px;line-height:1.7}
.faq summary::-webkit-details-marker{display:none}
footer{background:var(--navy);color:white}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:34px 0;border-bottom:1px solid #35485a}
.footer-top p{color:#bdcfdc;font-size:14px}
.footer-top>a:last-child{font-size:14px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:23px 0 30px;font-size:12px;color:#bdcfdc}
.footer-bottom>div{display:flex;gap:24px}
.footer-bottom button{background:transparent;border:0;padding:0;color:inherit;font-size:inherit}
.results{padding:34px 0 5px;scroll-margin-top:20px}
.results .eyebrow{font-size:12px;text-transform:uppercase;color:var(--action);font-weight:700;margin-bottom:7px}
.route-result{display:flex;align-items:center;gap:25px;padding:25px;border:1px solid #b5cddd;border-radius:12px;background:#f7fbfe}
.route-result .provider-mark{display:grid;place-items:center;width:55px;height:55px;background:#e1effa;border-radius:11px;color:var(--action)}
.route-result div:nth-child(2){flex:1}
.route-result h3{font-size:21px}
.route-result p{font-size:14px;margin-top:5px;color:var(--muted)}
.fineprint{font-size:12px;color:var(--muted);margin-top:13px}
.dates-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}
.date-option{padding:13px 8px;display:block;text-align:center;text-decoration:none;border:1px solid var(--line);border-radius:8px;font-size:13px;background:white}
.date-option strong{display:block;font-size:15px;margin:6px 0;color:var(--action)}
.date-option:hover{background:var(--soft)}
.date-option.base-date{border-color:var(--blue);background:var(--soft)}
.date-option small{font-size:11px;color:var(--muted)}
.explore-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.explore-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);padding:20px;border-radius:10px;text-decoration:none}
.explore-link:hover{background:var(--soft)}
.explore-link small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
#partner-panel>p{max-width:74ch;color:#d1e0eb;margin-bottom:20px}
#partner-options{display:flex;gap:16px;flex-wrap:wrap}
.partner-tile{display:flex;flex:1;min-width:245px;max-width:470px;flex-direction:column;align-items:flex-start;padding:23px;border-radius:10px;color:var(--ink);background:white;gap:10px}
.partner-tile p{font-size:14px;color:var(--muted)}
.partner-tile .button{margin-top:6px}
dialog{padding:27px;border:0;border-radius:16px;width:min(530px,calc(100vw - 32px));color:var(--ink);box-shadow:0 20px 70px #061c3460;max-height:88dvh;overflow:auto}
dialog::backdrop{background:rgba(3,19,33,.62)}
dialog h2{font-size:25px;letter-spacing:-.4px}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}
.icon-button{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:0;border-radius:50%;background:#eef3f7;color:var(--ink)}
dialog>p{font-size:14px;color:var(--muted);margin-bottom:18px;line-height:1.65}
dialog>.button{width:100%;margin:8px 0}
.date-choices{border:0;margin:0;padding:0}
.date-choices legend{font-size:13px;color:var(--muted);margin-bottom:10px}
.date-choices label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:15px;border-radius:9px;margin-bottom:10px;cursor:pointer}
.date-choices input{accent-color:var(--action);width:18px;height:18px}
.date-choices small{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.passengers label{display:grid;grid-template-columns:1fr auto;gap:3px;padding:14px 0;border-bottom:1px solid var(--line);font-weight:700}
.passengers small{grid-column:1;font-size:12px;font-weight:400;color:var(--muted)}
.passengers input{grid-column:2;grid-row:1/3;width:80px;padding:9px;border:1px solid #b7c4cf;border-radius:8px;text-align:center}
.class-label{display:block;margin:20px 0 8px;font-size:14px}
.class-label select{width:100%;margin-top:8px;padding:12px;border:1px solid #b7c4cf;border-radius:8px;background:white}
.dialog-error{color:#9e261b!important}
.saved-item{padding:15px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px}
.saved-item button{background:white;border:0;font-size:13px;color:var(--action)}
.saved-item small{display:block;color:var(--muted);font-size:12px}
.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:40;padding:13px 22px;background:var(--navy);color:white;border-radius:9px;box-shadow:0 4px 20px #0003;font-size:14px;max-width:90vw}
.no-js{padding:20px;background:#fff3c8;color:var(--ink);text-align:center}

@media(min-width:1450px){.wrap{width:min(1280px,calc(100% - 96px))}
.swap{left:21.5%}
.discovery-banner{height:450px}
}

@media(max-width:1100px){.header .locale{display:none}
.search-bar{grid-template-columns:1.2fr 1.2fr 1fr 1fr}
.origin-field{border-radius:10px 0 0 0!important}
.return-field{border-radius:0 10px 0 0}
.travelers-field{grid-column:1/3;border-radius:0 0 0 10px;min-height:62px}
.search-submit{grid-column:3/5;margin:0;border-radius:0 0 10px 0}
.swap{left:26%;top:28px}
.flex-banner{padding:36px 42px;gap:45px}
.dates-grid{grid-template-columns:repeat(4,1fr)}
}

@media(max-width:760px){.wrap{width:calc(100% - 36px)}
.header{height:77px}
.brand{font-size:29px;gap:8px}
.brand img{width:30px;height:30px}
.header nav{gap:18px}
.header nav>a,.header nav .help{display:none}
.header nav button{font-size:12px;gap:6px}
.header nav .icon{width:18px;height:18px}
.hero{padding:8px 0 27px}
.product-nav{flex-wrap:nowrap;overflow-x:auto;gap:7px;margin-bottom:25px;padding:0 0 5px;scrollbar-width:none}
.product-nav button{white-space:nowrap;flex:0 0 auto;font-size:12px;padding:8px 12px;min-height:39px}
.product-nav .icon{width:18px;height:18px}
h1{font-size:36px;letter-spacing:-1px;max-width:10ch}
.hero-sub{font-size:15px;max-width:28ch;margin-top:12px;margin-bottom:23px}
.trip-row{justify-content:space-between;gap:10px;margin-bottom:12px}
.trip-row select,.trip-setting{font-size:13px}
.search-bar{grid-template-columns:1fr 1fr;gap:3px}
.search-field{min-height:74px;padding:11px 15px}
.origin-field{grid-column:1/3;border-radius:10px 10px 0 0!important}
.destination-field{grid-column:1/3}
.departure-field{grid-column:1}
.return-field{grid-column:2;border-radius:0}
.search-field input{font-size:16px}
.swap{left:auto;right:16px;top:61px;transform:rotate(90deg);width:34px;height:34px}
.travelers-field{grid-column:1/3;border-radius:0 0 10px 10px;min-height:70px}
.search-submit{grid-column:1/3;border-radius:9px;margin-top:10px;min-height:55px;font-size:17px}
.search-bottom{align-items:flex-start;flex-direction:column;gap:12px;margin-top:17px}
.search-bottom p{font-size:11px}
.search-bottom label{font-size:13px}
.multi-leg{grid-template-columns:1fr 1fr}
.multi-leg .search-field:nth-child(3){grid-column:1}
.multi-leg button{grid-column:2;grid-row:2}
.quick-links{gap:8px;padding:21px 0}
.quick-links button{min-height:90px;flex-direction:column;justify-content:center;gap:7px;padding:12px 8px;font-size:11px;text-align:center;line-height:1.35;border-radius:9px}
.quick-links .arrow{display:none}
.quick-links .icon{width:23px;height:23px}
.discovery-banner{height:365px;border-radius:12px}
.discovery-banner>img{object-position:60% 50%}
.discovery-banner:after{background:linear-gradient(90deg,#031622d9,rgba(3,22,34,.25))}
.banner-content{padding:29px 24px}
.banner-content>span{font-size:11px;margin-bottom:13px}
.banner-content h2{font-size:33px;line-height:1.1}
.banner-content p{font-size:14px;max-width:26ch;margin:15px 0 22px}
.photo-caption{font-size:10px;right:13px;bottom:13px;padding:4px 7px}
.photo-caption .icon{width:12px;height:12px}
.destination-section{padding:33px 0}
.section-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:20px}
h2{font-size:27px;letter-spacing:-.5px}
.section-heading p{font-size:14px;margin-top:8px}
.section-heading .text-button{padding-top:0;font-size:12px}
.destination-grid{display:flex;gap:13px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:7px}
.destination-card{flex:0 0 82%;scroll-snap-align:start}
.destination-photo{height:196px}
.destination-caption{padding:16px}
.destination-caption p{font-size:12px}
.flex-banner{grid-template-columns:1fr;padding:27px;gap:27px}
.flex-illustration{max-width:290px;margin:0 auto;width:100%;padding:18px}
.flex-illustration>.icon{margin-bottom:11px}
.flex-banner h2{font-size:28px}
.flex-banner p{font-size:14px}
.trust-row{grid-template-columns:1fr;gap:26px;padding:35px 0}
.trust-row>div{position:relative;padding-left:41px}
.trust-row .icon{position:absolute;left:0;top:2px;width:24px}
.trust-row h3{font-size:17px}
.trust-row p{font-size:13px;margin-top:5px}
.faq{grid-template-columns:1fr;gap:24px;padding:35px 0 43px}
.faq summary{font-size:14px}
.faq details p{font-size:13px}
.footer-top{align-items:flex-start;flex-direction:column;gap:18px;padding:30px 0}
.footer-top p{font-size:13px}
.footer-bottom{flex-direction:column;padding:22px 0 30px;gap:18px}
.footer-bottom>div{gap:20px;flex-wrap:wrap}
.route-result{align-items:flex-start;flex-wrap:wrap;padding:20px;gap:14px}
.route-result .button{width:100%}
.route-result .provider-mark{width:42px;height:42px}
.route-result h3{font-size:18px}
.route-result p{font-size:13px}
.results{padding-top:25px}
.dates-grid{grid-template-columns:repeat(2,1fr)}
.explore-grid{grid-template-columns:1fr 1fr;gap:9px}
.explore-link{padding:15px;font-size:14px}
.explore-link .icon{width:16px}
.partner-tile{max-width:none;min-width:100%}
#partner-panel>p{font-size:14px}
.toast{bottom:max(20px,env(safe-area-inset-bottom));width:max-content;text-align:center}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
}

/* Anchor the swap control to the field boundary at every search width. */
.swap{grid-column:1/2;grid-row:1;left:auto;right:-17px;top:27px}
@media(min-width:761px){.search-bar:has(#return-field[hidden]){grid-template-columns:1.35fr 1.35fr 1fr 1.4fr auto}}
@media(min-width:761px) and (max-width:1100px){.search-bar:has(#return-field[hidden]){grid-template-columns:1fr 1fr 1fr}.search-bar:has(#return-field[hidden]) .travelers-field{grid-column:1/3}.search-bar:has(#return-field[hidden]) .search-submit{grid-column:3/4}.search-bar:has(#return-field[hidden]) .departure-field{border-radius:0 10px 0 0}}
@media(max-width:760px){.swap{grid-column:2/3;right:16px;top:60px}.search-bar:has(#return-field[hidden]) .departure-field{grid-column:1/3}.search-submit{margin-left:0}}
