/* ===========================================================================
   eTravelKit: design system
   Built on the Airbnb visual vocabulary: off-white canvas, white photo-first
   cards with no borders and no shadows, near-black ink. The accent is the
   eTravelKit logo lime, used only on the search submit, the "Our pick" badge
   and active hearts. Primary actions are the inverse black button; lime is
   never a CTA colour and never a text colour (it fails contrast on white).
   Ink and off-white are taken straight from the logo files.
   =========================================================================== */

:root{
  /* colour */
  --lime:#7aa000;         /* logo lime: fills only, 3.1:1 on white */
  --lime-600:#688a00;     /* hover */
  --lime-bright:#a3d200;  /* logo lime for dark backgrounds only */
  --hof:#141414;          /* logo ink */
  --foggy:#6a6a6a;
  --grey-500:#c1c1c1;
  --bebe:#ebebeb;
  --deco:#dddddd;
  --faint:#f7f6f3;        /* canvas: logo off-white, held at Airbnb lightness */
  --bone:#fbfaf7;         /* logo off-white, flat fills */
  --white:#ffffff;

  /* surfaces */
  --canvas:var(--faint);
  --card:var(--white);
  --inverse:var(--hof);

  /* type */
  --font:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;

  --text-caption:11px;
  --text-meta:12px;
  --text-body:14px;
  --text-ui:16px;
  --text-subheading:20px;
  --text-heading-sm:22px;
  --text-heading:28px;

  /* spacing */
  --s4:4px; --s8:8px; --s12:12px; --s16:16px; --s20:20px;
  --s24:24px; --s28:28px; --s32:32px; --s40:40px; --s48:48px;

  /* shape */
  --r-card:12px;
  --r-input:8px;
  --r-pill:9999px;

  /* elevation, overlays only, never cards */
  --shadow-search:0 0 0 1px rgba(0,0,0,.02),0 2px 6px rgba(0,0,0,.04),0 4px 8px rgba(0,0,0,.10);
  --shadow-pop:0 6px 20px rgba(0,0,0,.2);
  --shadow-modal:0 8px 28px rgba(0,0,0,.28);

  --page:1200px;
  --pad:40px;
  --gap:var(--s48);
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}

body{
  margin:0;
  background:var(--canvas);
  color:var(--hof);
  font-family:var(--font);
  font-size:var(--text-body);
  font-weight:400;
  line-height:1.43;
  font-feature-settings:"salt" 1;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}

h1,h2,h3{margin:0;font-weight:600;text-wrap:balance}
h1{font-size:var(--text-heading);font-weight:700;line-height:1.18;letter-spacing:-.02em}
h2{font-size:var(--text-heading-sm);font-weight:500;line-height:1.18;letter-spacing:-.02em}
h3{font-size:var(--text-subheading);font-weight:600;line-height:1.2;letter-spacing:-.009em}
p{margin:0 0 var(--s16);text-wrap:pretty}

.wrap{width:100%;max-width:var(--page);margin-inline:auto;padding-inline:var(--pad)}
/* A narrow measure for prose, kept flush with the page's left edge rather than
   centred, so every section shares one left edge. */
.wrap.narrow > *{max-width:72ch}
.section{padding-block:var(--gap)}
.tabsec{padding-top:var(--s24)}
[hidden]{display:none !important}
.muted{color:var(--foggy)}
.center{text-align:center}

@media(max-width:760px){
  :root{--pad:20px;--gap:36px}
}

/* ---- top navigation ------------------------------------------------- */
.topnav{
  position:sticky;top:0;z-index:60;
  background:var(--white);border-bottom:1px solid var(--bebe);
}
/* 1fr auto 1fr puts the tab row on the page's true centre line. A flex row
   with margin-inline:auto only centres the tabs in the space left over by the
   logo and the right hand block, which are different widths. */
.topnav-in{
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
  gap:var(--s24);height:80px;
  max-width:var(--page);margin-inline:auto;padding-inline:var(--pad);
}
.logo{display:inline-flex;align-items:center;flex:none}
.logo img{display:block;height:26px;width:auto}

.navtabs{display:flex;gap:var(--s8)}
.navtab{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  padding:4px var(--s12) 8px;color:var(--foggy);
  font-size:var(--text-meta);font-weight:400;
  border-bottom:2px solid transparent;white-space:nowrap;
}
.navtab img{width:32px;height:32px;flex:none;object-fit:contain}
@media(hover:hover){.navtab:hover{color:var(--hof)}}
.navtab[aria-current="page"]{color:var(--hof);border-bottom-color:var(--hof);font-weight:500}

.navright{display:flex;align-items:center;gap:var(--s8);justify-self:end}
.navlink{font-size:var(--text-body);font-weight:500;padding:10px var(--s12);border-radius:var(--r-pill)}
.navlink:hover{background:var(--faint)}

/* Below the desktop breakpoint the tabs move to their own scrollable row
   rather than disappearing, which previously left the mobile header with no
   navigation at all. */
@media(max-width:1000px){
  .topnav-in{
    grid-template-columns:auto 1fr;height:auto;
    row-gap:var(--s4);column-gap:var(--s12);padding-block:var(--s12) 0;
  }
  /* explicit placement: without it the tab row lands between the logo and the
     link, because it comes first in the DOM */
  .logo{grid-row:1;grid-column:1}
  .navright{grid-row:1;grid-column:2;justify-self:end}
  .navtabs{
    grid-row:2;grid-column:1 / -1;
    overflow-x:auto;scrollbar-width:none;gap:0;
    margin-inline:calc(var(--pad) * -1);padding-inline:var(--pad);
    scroll-snap-type:x proximity;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 var(--pad),#000 calc(100% - var(--pad)),transparent 100%);
            mask-image:linear-gradient(90deg,transparent 0,#000 var(--pad),#000 calc(100% - var(--pad)),transparent 100%);
  }
  .navtabs::-webkit-scrollbar{display:none}
  .navtab{padding:2px var(--s12) 8px;scroll-snap-align:center}
  .navtab img{width:26px;height:26px}
  .logo img{height:22px}
  .navlink{font-size:var(--text-meta);font-weight:500;padding:6px 0;color:var(--foggy)}
  .navlink:hover{background:transparent;color:var(--hof)}
}

/* ---- search capsule (the hero) -------------------------------------- */
.hero{background:var(--white);padding-block:var(--s48) var(--s40);border-bottom:1px solid var(--bebe)}
.hero h1{max-width:20ch;margin-inline:auto;text-align:center}
.hero .sub{
  max-width:60ch;margin:var(--s16) auto 0;text-align:center;
  color:var(--foggy);font-size:var(--text-ui);line-height:1.5;
}

.searchbar{
  display:flex;align-items:center;gap:0;
  max-width:880px;margin:var(--s32) auto 0;
  background:var(--white);border-radius:var(--r-pill);
  box-shadow:var(--shadow-search);padding:8px 8px 8px var(--s8);
}
.sfield{
  flex:1;padding:10px var(--s20);border-right:1px solid var(--bebe);
  min-width:0;
}
.sfield:last-of-type{border-right:0}
.sfield label{display:block;font-size:var(--text-ui);font-weight:500;line-height:1.25}
.sfield .ph{
  display:block;font-size:var(--text-body);font-weight:400;color:var(--foggy);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ssubmit{
  width:48px;height:48px;flex:none;border:0;border-radius:var(--r-pill);
  background:var(--lime);display:grid;place-items:center;cursor:pointer;
}
.ssubmit svg{width:18px;height:18px;stroke:var(--hof);fill:none;stroke-width:2.6}
.ssubmit:hover{background:var(--lime-600)}

@media(max-width:760px){
  .searchbar{flex-wrap:wrap;border-radius:24px;padding:var(--s12);gap:var(--s4)}
  .sfield{flex:1 1 100%;border-right:0;border-bottom:1px solid var(--bebe);padding:10px var(--s12)}
  .sfield:last-of-type{border-bottom:0}
  .ssubmit{width:100%;border-radius:var(--r-input);height:48px;margin-top:var(--s8)}
}

/* ---- page hero (category pages) -------------------------------------- */
.pagehero{display:grid;grid-template-columns:1.15fr .85fr;gap:var(--s48);align-items:center}
.pagehero h1{text-align:left;max-width:18ch;margin-inline:0}
.pagehero .sub{text-align:left;margin:var(--s16) 0 0;max-width:52ch}
.pagehero .acts{display:flex;gap:var(--s12);margin-top:var(--s24);flex-wrap:wrap}
.pagehero .figure{aspect-ratio:1/1;border-radius:var(--r-card);overflow:hidden;background:var(--deco)}
.pagehero .figure img{width:100%;height:100%;object-fit:cover}
@media(max-width:860px){
  .pagehero{grid-template-columns:1fr;gap:var(--s24)}
  .pagehero .figure{order:-1;aspect-ratio:16/10}
}

/* ---- category chips -------------------------------------------------- */
/* Category tabs: a full colour 3D icon beside the label, with the active
   tab underlined across the whole tab. The icon stays full colour when the
   tab is inactive; only the label greys out. */
.chips{display:flex;gap:var(--s40);overflow-x:auto;padding-block:var(--s16) 0;scrollbar-width:none}
/* Centre the row when it fits, and scroll normally from the left when it does
   not. Auto margins on the end tabs collapse to zero once the row overflows;
   justify-content:center would instead push the first tab out of reach in a
   scrolling container. */
.chips > .chip:first-child{margin-inline-start:auto}
.chips > .chip:last-child{margin-inline-end:auto}
.chips::-webkit-scrollbar{display:none}
.chip{
  display:flex;align-items:center;gap:var(--s12);
  color:var(--foggy);font-size:var(--text-ui);font-weight:500;white-space:nowrap;
  padding-bottom:var(--s12);border-bottom:3px solid transparent;flex:none;
}
.chip img{width:44px;height:44px;flex:none;object-fit:contain}
@media(hover:hover){.chip:hover{color:var(--hof)}}
.chip.on,.chip[aria-selected="true"]{color:var(--hof);font-weight:600;border-bottom-color:var(--hof)}
.chip:focus-visible{outline:2px solid var(--hof);outline-offset:3px;border-radius:var(--r-input)}
.navtab:focus-visible{outline:2px solid var(--hof);outline-offset:-2px;border-radius:var(--r-input)}
@media(max-width:760px){
  .chips{gap:var(--s24)}
  .chip{font-size:var(--text-body);gap:var(--s8)}
  .chip img{width:34px;height:34px}
}

/* ---- section head with arrow ---------------------------------------- */
.sechead{display:flex;align-items:center;gap:var(--s12);margin-bottom:var(--s20)}
.sechead h2{display:inline-flex;align-items:center;gap:var(--s8)}
.sechead h2 svg{width:17px;height:17px;stroke:var(--hof);fill:none;stroke-width:2}
.sechead .arrows{display:flex;gap:var(--s8);margin-left:auto}
.arrowbtn{
  width:32px;height:32px;border-radius:var(--r-pill);border:1px solid var(--bebe);
  background:var(--white);display:grid;place-items:center;cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
}
.arrowbtn svg{width:13px;height:13px;stroke:var(--hof);fill:none;stroke-width:2.4}
.arrowbtn:disabled{cursor:default}
.arrowbtn:disabled svg{stroke:var(--grey-500)}
@media(max-width:760px){.sechead .arrows{display:none}}

/* ---- scroller of listing cards -------------------------------------- */
.scroller{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  gap:var(--s20);overflow-x:auto;scroll-behavior:smooth;
  scroll-snap-type:x mandatory;scrollbar-width:none;
  padding-bottom:var(--s4);
}
.scroller::-webkit-scrollbar{display:none}
.scroller > *{scroll-snap-align:start}
/* One column count for every row on desktop, so a card is the same size in
   every section and the grid lines up down the page. */
@media(min-width:1100px){
  .scroller{grid-auto-flow:row;grid-template-columns:repeat(3,1fr);overflow:visible}
}
@media(max-width:1099px){.scroller{grid-auto-columns:minmax(210px,1fr)}}
@media(max-width:600px){.scroller{grid-auto-columns:minmax(165px,1fr);gap:var(--s12)}}

/* ---- listing card ---------------------------------------------------- */
/* No border, no shadow, separation comes from white card on #f7f7f7. */
.lcard{display:block;background:transparent;border:0;position:relative}
.lcard .shot{
  position:relative;aspect-ratio:4/3;border-radius:var(--r-card);
  overflow:hidden;background:var(--deco);
}
.lcard .shot img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
@media(hover:hover){.lcard:hover .shot img{transform:scale(1.04)}}

.badge{
  position:absolute;top:var(--s12);left:var(--s12);
  background:var(--white);border-radius:var(--r-pill);
  font-size:var(--text-meta);font-weight:600;color:var(--hof);
  padding:6px var(--s12);box-shadow:0 2px 4px rgba(0,0,0,.18);
}

.lcard .ttl{
  margin-top:var(--s12);font-size:var(--text-body);font-weight:500;color:var(--hof);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lcard .meta{font-size:var(--text-body);font-weight:400;color:var(--foggy)}
.lcard .price{font-size:var(--text-body);font-weight:400;color:var(--hof);margin-top:var(--s4)}
.lcard .price b{font-weight:600}

/* ---- buttons --------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:var(--s8);
  font-size:var(--text-body);font-weight:500;line-height:1;
  padding:13px var(--s16);border-radius:var(--r-input);
  border:1px solid transparent;cursor:pointer;white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.btn-inverse{background:var(--hof);color:var(--white)}
.btn-inverse:hover{background:#000}
.btn-ghost{background:transparent;color:var(--hof);border-color:var(--hof)}
.btn-ghost:hover{background:var(--faint)}
.btn-quiet{background:var(--white);color:var(--hof);border-color:var(--bebe)}
.btn-quiet:hover{border-color:var(--hof)}
.btn-lg{padding:15px var(--s24);font-size:var(--text-ui)}
.btn-block{width:100%}

/* ---- comparison table (money component) ------------------------------ */
.compare{
  background:var(--white);border-radius:var(--r-card);overflow:hidden;
}
.row{
  display:grid;grid-template-columns:1fr .9fr 1.3fr 170px;
  gap:var(--s20);align-items:center;
  padding:var(--s20) var(--s24);border-bottom:1px solid var(--bebe);
}
.row:last-child{border-bottom:0}
.row.head{
  font-size:var(--text-meta);font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--foggy);padding-block:var(--s12);
  background:var(--faint);
}
.row:not(.head):hover{background:var(--faint)}
.m-name{font-size:var(--text-ui);font-weight:600;display:flex;align-items:center;gap:var(--s8);flex-wrap:wrap}
.m-note{font-size:var(--text-body);color:var(--foggy);margin-top:var(--s4);line-height:1.43}
.m-rate{font-size:var(--text-ui);font-weight:600;font-variant-numeric:tabular-nums}
.m-cookie{font-size:var(--text-body);color:var(--foggy);font-variant-numeric:tabular-nums}
.tag-best{
  font-size:var(--text-caption);font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--hof);background:var(--lime);border:1px solid var(--lime);
  padding:4px var(--s8);border-radius:var(--r-pill);
}
@media(max-width:860px){
  .row{grid-template-columns:1fr;gap:var(--s12);padding:var(--s20)}
  .row.head{display:none}
  .m-rate::before{content:"Best for · ";font-weight:400;color:var(--foggy);font-size:var(--text-body)}
}

/* ---- steps ----------------------------------------------------------- */
.steps{counter-reset:s;display:grid;gap:var(--s24);grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.step{position:relative;padding-top:var(--s48)}
.step::before{
  counter-increment:s;content:counter(s);
  position:absolute;top:0;left:0;width:32px;height:32px;border-radius:var(--r-pill);
  display:grid;place-items:center;font-size:var(--text-body);font-weight:600;
  color:var(--white);background:var(--hof);
}
.step h3{font-size:var(--text-ui);font-weight:600;margin-bottom:var(--s4)}
.step p{color:var(--foggy);margin:0}

/* ---- panel ----------------------------------------------------------- */
.panel{background:var(--white);border-radius:var(--r-card);padding:var(--s32)}
.grid-3{display:grid;gap:var(--s20);grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}

/* ---- FAQ ------------------------------------------------------------- */
.faq details{border-bottom:1px solid var(--bebe)}
.faq summary{
  cursor:pointer;list-style:none;padding:var(--s20) var(--s32) var(--s20) 0;
  position:relative;font-size:var(--text-ui);font-weight:500;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:var(--s8);top:26px;width:9px;height:9px;
  border-right:1.8px solid var(--hof);border-bottom:1.8px solid var(--hof);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq details p{color:var(--foggy);padding-right:var(--s32);margin:0 0 var(--s20)}

/* ---- disclosure ------------------------------------------------------ */
.disclosure{
  background:var(--white);border-radius:var(--r-input);
  padding:var(--s16) var(--s20);font-size:var(--text-body);color:var(--foggy);
}
.disclosure b{color:var(--hof);font-weight:600}

/* ---- footer ---------------------------------------------------------- */
.site-foot{background:var(--faint);border-top:1px solid var(--bebe);margin-top:var(--gap)}
.foot-in{max-width:var(--page);margin-inline:auto;padding:var(--s48) var(--pad) var(--s32)}
.foot-grid{display:grid;gap:var(--s32);grid-template-columns:repeat(3,1fr)}
@media(max-width:760px){.foot-grid{grid-template-columns:1fr 1fr;gap:var(--s24)}}
.foot-grid h4{font-size:var(--text-body);font-weight:600;color:var(--hof);margin:0 0 var(--s12)}
.foot-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:var(--s12)}
.foot-grid a{font-size:var(--text-body);color:var(--foggy)}
.foot-grid a:hover{color:var(--hof)}
.foot-base{
  margin-top:var(--s32);padding-top:var(--s24);border-top:1px solid var(--bebe);
  display:flex;flex-wrap:wrap;gap:var(--s16);justify-content:space-between;align-items:center;
  font-size:var(--text-body);color:var(--foggy);
}
.foot-base .locale{display:inline-flex;align-items:center;gap:var(--s8);font-weight:500;color:var(--hof)}
.foot-base .locale svg{width:16px;height:16px;stroke:var(--hof);fill:none;stroke-width:1.8}
.socials{display:flex;gap:var(--s4)}
.socials a{width:32px;height:32px;border-radius:var(--r-pill);display:grid;place-items:center}
.socials a:hover{background:var(--bebe)}
.socials svg{width:17px;height:17px;stroke:var(--hof);fill:none;stroke-width:1.8}

/* ---- sticky mobile CTA ----------------------------------------------- */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:70;display:none;
  padding:var(--s12) var(--s16) calc(var(--s12) + env(safe-area-inset-bottom));
  background:var(--white);border-top:1px solid var(--bebe);
}
@media(max-width:760px){
  .sticky-cta{display:block}
  body.has-sticky{padding-bottom:84px}
}

/* ---- consent --------------------------------------------------------- */
.consent{
  position:fixed;left:var(--s16);bottom:var(--s16);z-index:90;
  background:var(--white);border-radius:var(--r-card);padding:var(--s20);
  box-shadow:var(--shadow-modal);max-width:430px;
}
.consent[hidden]{display:none}
.consent p{color:var(--foggy);margin:0 0 var(--s16)}
.consent .row-btn{display:flex;gap:var(--s8)}
@media(max-width:760px){.consent{right:var(--s16);bottom:92px}}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
