/* DP2 TripSearcher in the Chase browser.
   Browser chrome + taskbar: screen pixels (1920 x 1080, drawn at Windows' 125% scaling, the Inspiron default).
   Website: authored at the mockup's 1440 px width, then zoomed by app.js to fill the browser viewport. */

@font-face{ font-family:"Source Sans 3"; src:url("fonts/source-sans-3.woff2") format("woff2"); font-weight:200 900; font-style:normal; font-display:block; }

:root{
  --frame:#E8EAF0; --ink:#1F2329; --ink2:#5C6370; --line:#D9DCE3;
  --teal:#176B78; --dark:#253A45; --orange:#F3AE64; --light:#DCEDEF; --card:#F3F6F6;
}
#stage{ background:#fff; font-family:"Inter",system-ui,sans-serif; color:var(--ink); }
.win{ position:absolute; inset:0; display:flex; flex-direction:column; }
svg{ display:block; }

/* ================= Chase: tab strip ================= */
.tabstrip{ position:relative; height:50px; flex:none; background:var(--frame); }
.chase-btn{ position:absolute; left:9px; top:8px; width:36px; height:36px; border-radius:9px; display:grid; place-items:center; }
.chase-btn:hover{ background:rgba(0,0,0,.06); }
.chase-logo{ width:24px; height:24px; }
.tab{ position:absolute; left:54px; top:8px; height:42px; width:318px; display:flex; align-items:center; padding:0 10px 0 14px; gap:10px; }
.tab.active{ background:#fff; border-radius:11px 11px 0 0; box-shadow:0 0 0 .5px rgba(0,0,0,.06); }
.tab.active::before, .tab.active::after{ content:""; position:absolute; bottom:0; width:11px; height:11px; }
.tab.active::before{ left:-11px; background:radial-gradient(circle at 0 0, transparent 10.5px, #fff 11px); }
.tab.active::after{ right:-11px; background:radial-gradient(circle at 100% 0, transparent 10.5px, #fff 11px); }
.fav{ width:20px; height:20px; flex:none; }
.tab-title{ flex:1; font-size:15px; white-space:nowrap; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,#000 85%,transparent); mask-image:linear-gradient(90deg,#000 85%,transparent); color:var(--ink); }
.tab-x{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; flex:none; }
.tab-x:hover{ background:rgba(0,0,0,.07); }
.tab-x svg{ width:18px; height:18px; fill:none; stroke:#3c4048; stroke-width:1.6; stroke-linecap:round; }
.newtab{ position:absolute; left:384px; top:12px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; }
.newtab:hover{ background:rgba(0,0,0,.06); }
.newtab svg{ width:22px; height:22px; fill:none; stroke:#3c4048; stroke-width:1.6; stroke-linecap:round; }
.caption{ position:absolute; right:0; top:0; display:flex; }
.cb{ width:58px; height:42px; display:grid; place-items:center; }
.cb:hover{ background:rgba(0,0,0,.06); }
.cb.close:hover{ background:#C42B1C; }
.cb.close:hover svg{ stroke:#fff; }
.cb svg{ width:20px; height:20px; fill:none; stroke:#22252b; stroke-width:1.1; stroke-linecap:round; }

/* ================= Chase: toolbar ================= */
.toolbar{ height:54px; flex:none; background:#fff; display:flex; align-items:center; padding:0 10px; gap:4px; border-bottom:1px solid var(--line); position:relative; z-index:2; }
.tb{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; flex:none; }
.tb:hover{ background:rgba(0,0,0,.06); }
.tb svg{ width:22px; height:22px; fill:none; stroke:#3c4048; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.tb svg.fill{ fill:#3c4048; stroke:none; }
.tb.off svg{ stroke:#b6bac2; }
.tb.off:hover{ background:none; }
.tb-sep{ width:1px; height:24px; background:var(--line); margin:0 6px; }
.avatar{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; margin:0 1px; }
.avatar:hover{ background:rgba(0,0,0,.06); }
.avatar svg{ width:24px; height:24px; fill:none; stroke:#3c4048; stroke-width:1.7; stroke-linecap:round; }
.omni{ flex:1; height:42px; margin:0 8px; border-radius:21px; background:#EEF0F4; display:flex; align-items:center; padding:0 8px 0 6px; }
.omni:hover{ background:#E6E9EE; }
.site-info{ width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:#fff; }
.site-info svg{ width:18px; height:18px; fill:none; stroke:#3c4048; stroke-width:1.7; stroke-linecap:round; }
.omni-text{ flex:1; min-width:0; height:100%; border:0; outline:0; background:transparent; padding:0 0 0 12px; font:400 17px "Inter",system-ui,sans-serif; color:var(--ink); letter-spacing:.1px; cursor:text; -webkit-user-select:text; user-select:text; }
.omni-text::selection{ background:#c9dcfb; }
.omni:focus-within{ background:#fff; box-shadow:0 0 0 2px #7a4dff inset; }
.omni-r svg{ width:22px; height:22px; fill:none; stroke:#3c4048; stroke-width:1.6; stroke-linejoin:round; margin-right:6px; }

/* ================= Viewport ================= */
.viewport{ flex:1; min-height:0; position:relative; background:#fff; }
.page{ position:absolute; inset:0; overflow-y:auto; overflow-x:hidden; }
.page::-webkit-scrollbar{ width:15px; }
.page::-webkit-scrollbar-track{ background:#fff; }
.page::-webkit-scrollbar-thumb{ background:#c3c7ce; border-radius:8px; border:4px solid #fff; min-height:60px; }
.page::-webkit-scrollbar-thumb:hover{ background:#a4a9b1; }
.loadbar{ position:absolute; left:0; top:0; height:3px; width:0; background:#ff5a5f; background:linear-gradient(90deg,#ff8a3d,#ff3d7f,#7a4dff); z-index:5; opacity:0; }
.loadbar.go{ opacity:1; width:100%; transition:width .55s ease-out; }
.page.fade .site{ opacity:.0; }

/* ================= Taskbar (fictional, Windows-11-like) ================= */
.taskbar{ display:none; height:48px; flex:none; position:relative; background:rgba(238,240,245,.96); border-top:1px solid rgba(0,0,0,.09); }
html.show-taskbar .taskbar{ display:block; }
.tk-center{ position:absolute; left:50%; top:0; height:48px; transform:translateX(-50%); display:flex; align-items:center; gap:4px; }
.tk{ width:40px; height:40px; border-radius:5px; display:grid; place-items:center; position:relative; }
.tk:hover{ background:rgba(255,255,255,.75); }
.tk svg{ width:24px; height:24px; }
.tk.on{ background:rgba(255,255,255,.7); }
.tk.on::after{ content:""; position:absolute; bottom:1px; left:50%; width:16px; margin-left:-8px; height:3px; border-radius:2px; background:#3478d9; }
.tk-search{ height:32px; width:200px; margin:0 4px; border-radius:16px; background:#fff; border:1px solid rgba(0,0,0,.08); display:flex; align-items:center; gap:8px; padding:0 12px; font-size:13px; color:#5c6370; }
.tk-search svg{ width:16px; height:16px; fill:none; stroke:#3c4048; stroke-width:1.8; stroke-linecap:round; }
.tk-right{ position:absolute; right:0; top:0; height:48px; display:flex; align-items:center; gap:4px; }
.tray{ height:36px; min-width:30px; padding:0 6px; border-radius:6px; display:flex; align-items:center; gap:12px; }
.tray:hover{ background:rgba(255,255,255,.75); }
.tray svg{ width:18px; height:18px; fill:none; stroke:#22252b; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.tray svg .dot{ fill:#22252b; stroke:none; }
.tray.grp{ padding:0 12px; }
.peek{ width:10px; height:48px; border-left:1px solid rgba(0,0,0,.12); margin-left:6px; }

/* ================= Secret buttons (look like normal parts of the screen) =================
   #zonePadding = restore/maximise button, #zoneTaskbar = minimise button, #zoneSticky = TripSearcher logo in the site header */
#zoneSticky{ cursor:pointer; }
html.debug-zones .secret-el{ outline:3px solid #ff0050; outline-offset:-3px; background-color:rgba(255,0,80,.3); }

/* =====================================================================
   WEBSITE (TripSearcher). 1440 px design, measurements from the mockup.
   ===================================================================== */
.site{ position:relative; width:1440px; background:#fff; color:var(--dark); font-family:"Inter",system-ui,sans-serif; transition:opacity .2s; }
.wrap{ width:var(--cw,1125px); margin-left:auto; margin-right:auto; position:relative; }
.link{ cursor:pointer; }
.link:hover{ text-decoration:underline; text-underline-offset:3px; }

/* header band */
.band{ height:96px; background:var(--light); position:relative; z-index:10; }
html.sticky-header .band{ position:sticky; top:0; box-shadow:0 2px 10px rgba(23,107,120,.12); }
.band .wrap{ height:96px; }
.band .logo{ position:absolute; left:0; top:37.5px; width:215.5px; height:32.5px; }
.nav{ position:absolute; right:0; top:0; height:96px; pointer-events:none; }
.nav span{ pointer-events:auto; }
.nav span{ position:absolute; top:44.3px; font-size:19px; line-height:1; color:var(--teal); white-space:nowrap; letter-spacing:-.55px; }
.nav .user{ top:37.5px; width:26px; height:26px; }
.nav .user svg{ width:26px; height:26px; }
.burger{ display:none; position:absolute; right:0; top:34px; width:32px; height:28px; flex-direction:column; justify-content:space-between; padding:4px 2px; cursor:pointer; }
.burger i{ display:block; height:3px; border-radius:2px; background:var(--teal); }

/* tabs */
.tabs{ height:39px; }
.tabs::after{ content:""; position:absolute; left:0; right:0; top:36.5px; height:2.5px; background:var(--light); }
.tabs span{ position:absolute; top:16px; font-size:18.5px; line-height:1; color:var(--teal); cursor:pointer; white-space:nowrap; letter-spacing:-.35px; }
.tabs span.on::after{ content:""; position:absolute; left:-14.5px; right:-14.5px; top:20px; height:3px; background:var(--teal); z-index:1; border-radius:1px; }
.tabs span:nth-child(1){ left:14.5px; } .tabs span:nth-child(2){ left:140.5px; } .tabs span:nth-child(3){ left:273.5px; } .tabs span:nth-child(4){ left:407px; }

/* hero + banner */
.hero{ margin-top:19px; }
.hero-img{ position:relative; height:591px; border-radius:20px; overflow:hidden; background-size:cover; background-position:center; }
.hero-copy{ position:absolute; left:188px; top:221px; right:40px; color:#F3F6F6; font-family:"Source Sans 3","Inter",sans-serif; }
.hero-copy h1{ margin:0; font-size:50px; line-height:1; font-weight:700; letter-spacing:-.85px; }
.hero-copy p{ margin:0; position:absolute; top:48.5px; font-size:42px; line-height:1; font-weight:400; letter-spacing:-.75px; white-space:nowrap; }
.search{ position:absolute; left:190px; top:371px; width:745px; height:47px; border-radius:24px; background:var(--card); display:flex; align-items:center; padding:0 22px 0 42px; cursor:text; }
.search input{ flex:1; border:0; outline:0; background:transparent; font:400 16.5px "Inter",sans-serif; color:var(--dark); padding:0; height:100%; -webkit-user-select:text; user-select:text; }
.search input::placeholder{ color:var(--teal); opacity:1; }
.search svg{ width:24px; height:24px; fill:none; stroke:var(--teal); stroke-width:1.8; stroke-linecap:round; }
.banner{ margin-top:29.8px; }
.banner .hero-copy{ top:198px; }
.banner .hero-copy p{ top:49px; }

/* section titles */
.sec-title{ margin-top:38.2px; margin-bottom:0; font-size:24px; line-height:1; font-weight:700; color:var(--teal); letter-spacing:-.75px; }
.sec-title.beyond{ margin-top:-2.3px; }

/* cards */
.cards{ margin-top:33.3px; display:grid; grid-template-columns:repeat(3, 358.5px); column-gap:24.5px; row-gap:29px; }
.card{ position:relative; width:358.5px; height:729px; border-radius:20px; overflow:hidden; background:var(--card); cursor:pointer; transition:box-shadow .2s, transform .2s; }
.card:hover{ box-shadow:0 10px 28px rgba(37,58,69,.16); transform:translateY(-2px); }
.card .ph{ position:absolute; left:0; top:0; width:100%; height:350.5px; background-size:cover; background-position:center; }
.badge{ position:absolute; top:11px; height:22.5px; width:84.5px; border-radius:12px; font-size:11.5px; line-height:22.5px; text-align:center; white-space:nowrap; }
.badge.l{ left:16.5px; background:var(--orange); color:#FDF6EE; }
.badge.r{ right:16px; background:var(--light); color:var(--teal); }
.card h3{ position:absolute; left:22px; top:373px; margin:0; font-size:21px; line-height:1; font-weight:600; color:var(--dark); letter-spacing:-.55px; white-space:nowrap; }
.dots{ position:absolute; left:20.5px; top:406.5px; display:flex; gap:5.7px; }
.dots i{ width:13px; height:13px; border-radius:50%; background:var(--orange); }
.loc{ position:absolute; left:21px; top:429px; display:flex; align-items:center; gap:8px; font-size:14px; font-weight:600; color:var(--dark); letter-spacing:-.55px; }
.loc svg{ width:14px; height:18px; fill:none; stroke:var(--dark); stroke-width:1.3; }
.rule{ position:absolute; left:21.5px; width:312px; height:1px; background:var(--teal); }
.rule.a{ top:460.5px; } .rule.b{ top:613px; }
.card ul{ position:absolute; left:21.5px; top:477px; margin:0; padding:0; list-style:none; }
.card li{ position:relative; height:36px; padding-left:17.5px; font-size:14.3px; line-height:1; color:var(--dark); white-space:nowrap; letter-spacing:-.55px; }
.card li::before{ content:""; position:absolute; left:3px; top:6px; width:4px; height:4px; border-radius:50%; background:var(--dark); }
.fine{ position:absolute; left:21.5px; top:623.8px; width:172px; font-size:11px; line-height:13px; color:var(--teal); letter-spacing:-.3px; }
.save{ position:absolute; left:20.5px; top:656.5px; height:23px; padding:0 12px; min-width:85px; border-radius:12px; background:var(--orange); color:#F8F4EE; font-size:12.5px; line-height:23px; text-align:center; letter-spacing:-.3px; }
.rating{ position:absolute; left:22px; top:688.5px; height:23px; min-width:93px; padding:0 10px; border-radius:12px; background:var(--light); color:var(--teal); font-size:12.5px; line-height:23px; text-align:center; letter-spacing:-.3px; }
.pkg, .price, .avg{ position:absolute; right:25px; line-height:1; white-space:nowrap; }
.pkg{ top:625.6px; font-size:16.4px; color:var(--teal); letter-spacing:-.5px; }
.price{ top:651px; font-size:36.6px; font-weight:400; color:var(--dark); letter-spacing:-1.2px; }
.avg{ top:695px; font-size:16.4px; color:var(--teal); letter-spacing:-.6px; }

/* see more */
.more-row{ height:38.5px; margin-top:18.5px; }
.see-more{ position:absolute; right:0; top:0; height:38.5px; width:192px; border-radius:20px; background:var(--card); color:var(--teal); font-size:17px; line-height:38.5px; text-align:center; letter-spacing:-.15px; }
.see-more:hover{ text-decoration:none; background:var(--light); }

/* footer */
.foot{ margin-top:31px; margin-bottom:3px; height:289.5px; background:var(--light); }
.foot .wrap{ height:289.5px; }
.foot .logo{ position:absolute; left:-25px; top:15px; width:215.5px; height:32.5px; }
.fcols{ position:absolute; left:0; right:0; top:0; }
.fcol{ position:absolute; top:52px; }
.fcol:nth-child(1){ left:154px; } .fcol:nth-child(2){ left:485.5px; } .fcol:nth-child(3){ left:850px; }
.fcol b{ display:block; height:35.5px; font-size:14.6px; line-height:1; font-weight:700; color:var(--teal); letter-spacing:-.85px; }
.fcol span{ display:block; height:35.5px; font-size:15px; line-height:1; color:var(--teal); letter-spacing:-.95px; white-space:nowrap; }

/* ================= Responsive: narrower browser windows =================
   app.js adds .m2 (two card columns) or .m1 (one column, phone-like) when the page area is narrow. */
.site.m2 .cards{ grid-template-columns:repeat(2, 358.5px); justify-content:center; }
.site.m2 .nav span:not(.user){ display:none; }
.site.m2 .tabs span:nth-child(2){ left:118px; } .site.m2 .tabs span:nth-child(3){ left:222px; } .site.m2 .tabs span:nth-child(4){ left:330px; }
.site.m2 .hero-copy{ left:48px; }
.site.m2 .hero-copy p{ white-space:normal; font-size:34px; }
.site.m2 .search{ left:48px; width:calc(100% - 96px); }
.site.m2 .fcol:nth-child(1){ left:0; } .site.m2 .fcol:nth-child(2){ left:34%; } .site.m2 .fcol:nth-child(3){ left:68%; }
.site.m2 .foot .logo{ left:0; }
.site.m1 .cards{ grid-template-columns:358.5px; justify-content:center; }
.site.m1 .nav{ display:none; }
.site.m1 .burger{ display:flex; }
.site.m1 .hero-copy{ left:28px; top:120px; }
.site.m1 .hero-copy h1{ font-size:40px; } .site.m2 .hero-copy p, .site.m1 .hero-copy p{ letter-spacing:-.4px; }
.site.m1 .hero-copy p{ top:46px; font-size:28px; }
.site.m1 .search{ left:28px; width:calc(100% - 56px); }
.site.m1 .foot{ height:auto; } .site.m1 .foot .wrap{ height:auto; padding:70px 0 20px; }
.site.m1 .fcols{ position:static; } .site.m1 .fcol{ position:static; margin-bottom:16px; }
