/* RANTAU — travel & itinerary booking demo · Website by ZNO AI */
:root{
  --bg:#f6f4ef; --surface:#ffffff; --panel:#efece4; --sand:#f0e7d6;
  --ink:#15302f; --ink-2:#3f5a58; --muted:#6d827f;
  --teal:#0e6b62; --teal-deep:#0a4f48; --teal-soft:#dcefe9;
  --coral:#f0663f; --coral-deep:#d94e28; --gold:#e7a53c;
  --line:#e2ddd2; --dark:#0d201f; --dark-2:#12302c;
  --display:'Bricolage Grotesque',system-ui,sans-serif;
  --sans:'Inter',system-ui,sans-serif;
  --maxw:1240px; --r:18px; --r-sm:12px;
  --shadow:0 18px 44px -22px rgba(13,32,31,.5);
  --shadow-lg:0 40px 90px -40px rgba(13,32,31,.6);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--display);line-height:1.05;margin:0;font-weight:700;letter-spacing:-.02em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.eyebrow{font-family:var(--sans);font-weight:700;font-size:.74rem;letter-spacing:.22em;
  text-transform:uppercase;color:var(--teal)}
.btn{display:inline-flex;align-items:center;gap:.5rem;border:0;cursor:pointer;font-family:var(--sans);
  font-weight:600;font-size:.95rem;padding:.85rem 1.4rem;border-radius:999px;transition:.2s;white-space:nowrap}
.btn-primary{background:var(--coral);color:#fff}
.btn-primary:hover{background:var(--coral-deep);transform:translateY(-2px)}
.btn-dark{background:var(--teal);color:#fff}
.btn-dark:hover{background:var(--teal-deep);transform:translateY(-2px)}
.btn-ghost{background:transparent;border:1.5px solid var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--teal);color:var(--teal)}

/* header */
.hdr{position:sticky;top:0;z-index:60;background:rgba(246,244,239,.82);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;justify-content:space-between;height:70px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--display);font-weight:700;
  font-size:1.32rem;letter-spacing:.02em}
.brand svg{width:30px;height:30px;color:var(--teal)}
.brand b{color:var(--coral)}
.nav{display:flex;gap:2rem;align-items:center}
.nav a{font-size:.94rem;font-weight:500;color:var(--ink-2)}
.nav a:hover{color:var(--teal)}
.hdr-cta{display:flex;align-items:center;gap:.9rem}
.trip-btn{position:relative;display:inline-flex;align-items:center;gap:.5rem;background:var(--surface);
  border:1.5px solid var(--line);padding:.55rem 1rem;border-radius:999px;font-weight:600;font-size:.9rem;cursor:pointer}
.trip-btn:hover{border-color:var(--teal)}
.trip-btn svg{width:18px;height:18px;color:var(--teal)}
.trip-count{background:var(--coral);color:#fff;font-size:.72rem;font-weight:700;min-width:20px;height:20px;
  border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.burger span{width:24px;height:2px;background:var(--ink);border-radius:2px}
.mobile{display:none;flex-direction:column;gap:.4rem;padding:1rem 24px 1.4rem;background:var(--surface);border-bottom:1px solid var(--line)}
.mobile.open{display:flex}
.mobile a{padding:.6rem 0;font-weight:500;border-bottom:1px solid var(--line)}

/* hero */
.hero{position:relative;min-height:640px;display:flex;align-items:flex-end;
  background:linear-gradient(180deg,rgba(10,32,31,.15),rgba(10,32,31,.72)),
    url(../assets/hero.jpg) center/cover no-repeat;color:#fff;padding:3rem 0 2.4rem}
.hero-in{width:100%}
.hero h1{font-size:clamp(2.6rem,6.4vw,5rem);color:#fff;max-width:16ch;text-shadow:0 2px 30px rgba(0,0,0,.3)}
.hero p{max-width:52ch;color:rgba(255,255,255,.92);font-size:1.12rem;margin:1.1rem 0 0}
.hero .eyebrow{color:#ffd9a8}
/* search card */
.search{margin-top:2rem;background:var(--surface);border-radius:var(--r);padding:1rem;box-shadow:var(--shadow-lg);
  display:grid;grid-template-columns:1.5fr 1.2fr 1.1fr auto;gap:.7rem;align-items:end}
.sf{display:flex;flex-direction:column;gap:.35rem;padding:.3rem .5rem}
.sf label{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.sf select,.sf input{border:0;background:transparent;font-family:var(--sans);font-size:1rem;font-weight:600;
  color:var(--ink);padding:.15rem 0;outline:none;width:100%}
.sf select{cursor:pointer}
.sf+.sf{border-left:1px solid var(--line)}
.stepper{display:flex;align-items:center;gap:.7rem}
.stepper button{width:30px;height:30px;border-radius:999px;border:1.5px solid var(--line);background:var(--surface);
  font-size:1.1rem;line-height:1;cursor:pointer;color:var(--teal);font-weight:700}
.stepper button:hover{border-color:var(--teal)}
.stepper b{min-width:1.4ch;text-align:center;font-size:1.05rem}
.search .btn{height:56px;justify-content:center}

/* sections */
section{padding:5rem 0}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:2.2rem;flex-wrap:wrap}
.sec-head h2{font-size:clamp(1.9rem,3.6vw,2.9rem)}
.sec-head p{color:var(--muted);max-width:46ch;margin:.6rem 0 0}

/* filter bar */
.filters{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:1.8rem}
.tabs{display:flex;gap:.5rem;flex-wrap:wrap}
.tab{border:1.5px solid var(--line);background:var(--surface);border-radius:999px;padding:.55rem 1.1rem;
  font-weight:600;font-size:.9rem;cursor:pointer;color:var(--ink-2);transition:.18s}
.tab:hover{border-color:var(--teal);color:var(--teal)}
.tab.active{background:var(--teal);border-color:var(--teal);color:#fff}
.dur{display:flex;align-items:center;gap:.7rem;background:var(--surface);border:1.5px solid var(--line);
  border-radius:999px;padding:.5rem 1.1rem;font-weight:600;font-size:.88rem;color:var(--ink-2)}
.dur input[type=range]{-webkit-appearance:none;appearance:none;width:140px;height:5px;border-radius:999px;
  background:var(--sand);outline:none}
.dur input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:999px;
  background:var(--coral);cursor:pointer;border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.dur input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:999px;background:var(--coral);
  cursor:pointer;border:3px solid #fff}
.dur b{color:var(--teal)}

/* tour grid */
.tours{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.tour{background:var(--surface);border-radius:var(--r);overflow:hidden;border:1px solid var(--line);
  box-shadow:var(--shadow);display:flex;flex-direction:column;transition:.25s}
.tour:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.tour-fig{position:relative;aspect-ratio:3/2;overflow:hidden}
.tour-fig img{width:100%;height:100%;object-fit:cover;transition:.5s}
.tour:hover .tour-fig img{transform:scale(1.06)}
.tour-badge{position:absolute;top:.8rem;left:.8rem;background:rgba(255,255,255,.94);color:var(--teal-deep);
  font-weight:700;font-size:.72rem;letter-spacing:.05em;padding:.32rem .7rem;border-radius:999px;text-transform:uppercase}
.tour-rate{position:absolute;top:.8rem;right:.8rem;background:rgba(13,32,31,.72);color:#fff;
  font-weight:700;font-size:.8rem;padding:.32rem .6rem;border-radius:999px;display:flex;align-items:center;gap:.25rem}
.tour-rate svg{width:13px;height:13px;color:var(--gold)}
.tour-body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;flex:1}
.tour-meta{display:flex;gap:1rem;color:var(--muted);font-size:.82rem;font-weight:600;margin-bottom:.5rem}
.tour-meta span{display:flex;align-items:center;gap:.3rem}
.tour-meta svg{width:14px;height:14px}
.tour h3{font-size:1.25rem;margin-bottom:.4rem}
.tour p{color:var(--ink-2);font-size:.92rem;margin:0 0 1rem}
.tour-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.8rem;
  padding-top:1rem;border-top:1px solid var(--line)}
.price b{font-family:var(--display);font-size:1.5rem;color:var(--ink)}
.price span{color:var(--muted);font-size:.82rem}
.tour-actions{display:flex;gap:.5rem}
.itin-toggle{background:var(--panel);border:0;border-radius:999px;padding:.6rem .9rem;font-weight:600;
  font-size:.85rem;cursor:pointer;color:var(--ink);display:flex;align-items:center;gap:.35rem}
.itin-toggle:hover{background:var(--teal-soft);color:var(--teal-deep)}
.itin-toggle svg{width:14px;height:14px;transition:.25s}
.tour.open .itin-toggle svg{transform:rotate(180deg)}
.add-btn{background:var(--coral);border:0;border-radius:999px;padding:.6rem 1rem;font-weight:700;
  font-size:.85rem;cursor:pointer;color:#fff;transition:.18s}
.add-btn:hover{background:var(--coral-deep)}
.add-btn.added{background:var(--teal)}
/* itinerary drawer inside card */
.itin{max-height:0;overflow:hidden;transition:max-height .4s ease}
.tour.open .itin{max-height:520px}
.itin-inner{padding:0 1.3rem 1.3rem}
.day{display:flex;gap:.85rem;padding:.7rem 0;border-top:1px dashed var(--line)}
.day-n{flex:none;width:34px;height:34px;border-radius:999px;background:var(--teal-soft);color:var(--teal-deep);
  font-family:var(--display);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.85rem}
.day h4{margin:0 0 .15rem;font-family:var(--sans);font-size:.94rem;font-weight:700}
.day p{margin:0;font-size:.85rem;color:var(--muted)}
.nomatch{grid-column:1/-1;text-align:center;padding:3rem;color:var(--muted);background:var(--surface);
  border:1px dashed var(--line);border-radius:var(--r)}

/* why band */
.why{background:var(--dark);color:#fff}
.why h2{color:#fff}
.why .sec-head p{color:rgba(255,255,255,.7)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.why-card{background:var(--dark-2);border:1px solid rgba(255,255,255,.08);border-radius:var(--r);padding:1.6rem}
.why-card .ic{width:46px;height:46px;border-radius:12px;background:rgba(240,102,63,.16);color:var(--coral);
  display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.why-card .ic svg{width:24px;height:24px}
.why-card h3{font-size:1.15rem;color:#fff;margin-bottom:.4rem}
.why-card p{color:rgba(255,255,255,.66);font-size:.9rem;margin:0}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.4rem}
.stat{text-align:center}
.stat b{display:block;font-family:var(--display);font-size:2.4rem;color:var(--coral)}
.stat span{color:rgba(255,255,255,.6);font-size:.85rem;font-weight:600}

/* cta */
.cta{background:linear-gradient(135deg,var(--teal),var(--teal-deep));color:#fff;text-align:center}
.cta h2{color:#fff;font-size:clamp(2rem,4vw,3rem);max-width:18ch;margin:0 auto}
.cta p{color:rgba(255,255,255,.85);max-width:44ch;margin:1rem auto 1.8rem}
.cta .btn-primary{background:#fff;color:var(--teal-deep)}
.cta .btn-primary:hover{background:var(--sand)}

/* footer */
.foot{background:var(--dark);color:rgba(255,255,255,.62);padding:3.4rem 0 2rem}
.foot-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2rem;padding-bottom:2.4rem;
  border-bottom:1px solid rgba(255,255,255,.1)}
.foot .brand{color:#fff;margin-bottom:.8rem}
.foot h5{color:#fff;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1rem}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.foot a:hover{color:var(--coral)}
.foot-bot{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:1.5rem;
  font-size:.85rem;flex-wrap:wrap}
.credit{color:#fff;font-weight:600}
.credit a{color:var(--coral)}

/* trip drawer */
.drawer-bg{position:fixed;inset:0;background:rgba(13,32,31,.5);opacity:0;pointer-events:none;
  transition:.3s;z-index:80;backdrop-filter:blur(3px)}
.drawer-bg.show{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,92vw);background:var(--bg);z-index:90;
  transform:translateX(100%);transition:transform .35s cubic-bezier(.2,.7,.2,1);display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}
.drawer.show{transform:none}
.drawer-hd{display:flex;align-items:center;justify-content:space-between;padding:1.3rem 1.4rem;border-bottom:1px solid var(--line)}
.drawer-hd h3{font-size:1.3rem}
.drawer-close{background:none;border:0;cursor:pointer;font-size:1.6rem;line-height:1;color:var(--muted)}
.drawer-body{flex:1;overflow-y:auto;padding:1.2rem 1.4rem;display:flex;flex-direction:column;gap:.9rem}
.trip-item{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);padding:.9rem;
  display:flex;gap:.9rem;align-items:center}
.trip-item img{width:64px;height:56px;border-radius:10px;object-fit:cover;flex:none}
.trip-item .ti-main{flex:1;min-width:0}
.trip-item h4{margin:0 0 .15rem;font-family:var(--sans);font-size:.95rem;font-weight:700}
.trip-item small{color:var(--muted);font-size:.8rem}
.trip-item .ti-price{font-family:var(--display);font-weight:700;color:var(--teal-deep)}
.ti-rm{background:none;border:0;cursor:pointer;color:var(--muted);font-size:1.2rem;line-height:1}
.ti-rm:hover{color:var(--coral)}
.drawer-empty{text-align:center;color:var(--muted);padding:3rem 1rem}
.drawer-empty svg{width:54px;height:54px;color:var(--line);margin:0 auto 1rem}
.drawer-foot{border-top:1px solid var(--line);padding:1.2rem 1.4rem;background:var(--surface)}
.trav-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.9rem}
.trav-row span{font-weight:600;color:var(--ink-2);font-size:.92rem}
.tot-row{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1rem}
.tot-row span{color:var(--muted);font-size:.9rem}
.tot-row b{font-family:var(--display);font-size:1.9rem;color:var(--ink)}
.drawer-foot .btn{width:100%;justify-content:center}

/* toast */
.toast{position:fixed;left:50%;bottom:2rem;transform:translate(-50%,140%);background:var(--dark);color:#fff;
  padding:.85rem 1.4rem;border-radius:999px;font-weight:600;font-size:.9rem;z-index:120;box-shadow:var(--shadow-lg);
  transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.toast.show{transform:translate(-50%,0)}
.toast b{color:#ffd9a8}

@media(max-width:960px){
  .tours,.why-grid{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(2,1fr);gap:1.6rem}
  .search{grid-template-columns:1fr 1fr;gap:.4rem}
  .sf+.sf{border-left:0}
  .search .btn{grid-column:1/-1}
  .foot-top{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .nav{display:none}
  .burger{display:flex}
  .hdr-cta .trip-btn span.lbl{display:none}
  section{padding:3.4rem 0}
  .tours,.why-grid{grid-template-columns:1fr}
  .hero{min-height:560px}
  .search{grid-template-columns:1fr}
  .sf{border-bottom:1px solid var(--line);padding-bottom:.7rem}
  .filters{flex-direction:column;align-items:stretch}
  .foot-top{grid-template-columns:1fr 1fr}
  .stepper button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
  .toast{max-width:min(92vw,360px)}
}


/* ==== responsive-100 (audit fixes) ==== */
@media(max-width:640px){.tour-foot{flex-wrap:wrap;gap:.6rem}.price{width:100%}.tour-actions{width:100%;justify-content:space-between}.itin-toggle,.add-btn{flex:1;justify-content:center}.trip-btn,.tab,.add-btn,.itin-toggle{min-height:44px}.tour-meta{flex-wrap:wrap;gap:.5rem 1rem}}
.tour.open .itin{max-height:1400px}
.foot ul{overflow-wrap:anywhere}
@media(max-width:480px){.foot-top{grid-template-columns:1fr}}
@media(max-width:860px){.nav{display:none}.burger{display:flex;width:44px;height:44px;align-items:center;justify-content:center}}
