/* ============================================================
   X Bali Tours — private drivers & day tours
   Brand: ocean teal, warm sand, sunset coral, jungle green
   Type: Fraunces (display serif) + Manrope (body)
   ============================================================ */

:root{
  --teal:#0f6d6b;
  --teal-d:#0b5250;
  --teal-dd:#083e3c;
  --coral:#e8704a;
  --coral-d:#cf5734;
  --leaf:#3f8f5b;
  --sand:#f6f0e4;
  --sand-2:#efe6d4;
  --paper:#fcf9f2;
  --white:#ffffff;
  --ink:#1f2c2a;
  --ink-soft:#33433f;
  --muted:#6c7b76;
  --line:rgba(31,44,42,.10);
  --shadow-sm:0 2px 10px rgba(8,62,60,.07);
  --shadow:0 16px 44px rgba(8,62,60,.12);
  --shadow-lg:0 30px 76px rgba(8,62,60,.2);
  --r-sm:12px;
  --r:18px;
  --r-lg:28px;
  --maxw:1180px;
  --font-d:'Fraunces',Georgia,serif;
  --font-b:'Manrope',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:var(--font-b);
  color:var(--ink);
  background:var(--paper);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4{font-family:var(--font-d);font-weight:600;line-height:1.08;margin:0;letter-spacing:-.012em;color:var(--ink);}
p{margin:0;}

.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.ico{width:16px;height:16px;flex:none;}
.ico--wa{width:19px;height:19px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  font-family:var(--font-b);font-weight:700;font-size:16px;
  padding:13px 24px;border-radius:999px;border:2px solid transparent;
  cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
  white-space:nowrap;line-height:1;
}
.btn--lg{padding:16px 30px;font-size:17px;}
.btn--primary{background:var(--coral);color:#fff;box-shadow:0 10px 24px rgba(232,112,74,.34);}
.btn--primary:hover{background:var(--coral-d);transform:translateY(-2px);box-shadow:0 14px 30px rgba(232,112,74,.42);}
.btn--white{background:#fff;color:var(--teal-d);box-shadow:0 10px 24px rgba(0,0,0,.14);}
.btn--white:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.2);}
.btn--glass{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.55);backdrop-filter:blur(4px);}
.btn--glass:hover{background:rgba(255,255,255,.24);border-color:#fff;transform:translateY(-2px);}
.btn--ghost-light{background:transparent;color:var(--teal-d);border-color:rgba(15,109,107,.4);}
.btn--ghost-light:hover{background:rgba(15,109,107,.08);border-color:var(--teal);transform:translateY(-2px);}

.kicker{
  display:inline-block;font-family:var(--font-b);font-weight:700;font-size:13px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--coral-d);margin-bottom:14px;
}
.kicker--light{color:#ffd9c4;}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;font-family:var(--font-b);font-weight:700;font-size:13px;
  letter-spacing:.14em;text-transform:uppercase;color:#fff;margin-bottom:20px;opacity:.95;
}
.eyebrow::before{content:"";width:30px;height:2px;border-radius:2px;background:var(--coral);flex:none;}

/* ---------- Utility bar ---------- */
.utilbar{background:var(--teal-dd);color:#cfe6e3;font-size:14px;}
.utilbar__inner{display:flex;align-items:center;gap:28px;padding:9px 24px;min-height:42px;}
.utilbar__item{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:#cfe6e3;}
.utilbar__item .ico{color:var(--coral);}
.utilbar__social{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#fff;}
.utilbar__social:hover{color:var(--coral);}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(252,249,242,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);}
.site-header__inner{display:flex;align-items:center;gap:24px;min-height:78px;}
.brand{display:inline-flex;align-items:center;gap:13px;}
.brand__mark{
  width:48px;height:48px;flex:none;border-radius:50%;background:#fff;border:2px solid var(--teal);
  display:inline-flex;align-items:center;justify-content:center;overflow:hidden;
}
.brand__mark img{width:74%;height:74%;object-fit:contain;display:block;}
.brand__text{display:flex;flex-direction:column;line-height:1;}
.brand__name{font-family:var(--font-d);font-weight:700;font-size:23px;color:var(--teal-d);letter-spacing:-.01em;}
.brand__tag{font-family:var(--font-b);font-weight:600;font-size:11.5px;color:var(--coral-d);letter-spacing:.04em;text-transform:uppercase;margin-top:4px;}

.nav{margin-left:auto;display:flex;align-items:center;gap:30px;}
.nav a{font-family:var(--font-b);font-weight:600;font-size:16px;color:var(--ink-soft);position:relative;padding:4px 0;}
.nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:2.5px;background:var(--coral);border-radius:2px;transition:right .25s ease;}
.nav a:hover{color:var(--teal-d);}
.nav a:hover::after{right:0;}
.site-header__cta{margin-left:6px;}

.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;border:0;background:transparent;cursor:pointer;padding:10px;margin-left:auto;}
.nav-toggle span{height:3px;border-radius:3px;background:var(--teal-d);transition:transform .3s ease,opacity .2s ease;}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* ---------- Hero ---------- */
.hero{position:relative;min-height:640px;display:flex;align-items:flex-end;overflow:hidden;color:#fff;}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero__scrim{position:absolute;inset:0;background:
   linear-gradient(180deg,rgba(8,40,39,.28) 0%,rgba(8,40,39,.12) 40%,rgba(8,40,39,.78) 100%),
   linear-gradient(90deg,rgba(8,40,39,.5) 0%,rgba(8,40,39,0) 60%);}
.hero__inner{position:relative;z-index:2;padding:80px 24px 72px;max-width:780px;}
.hero h1{font-size:clamp(40px,5.6vw,68px);font-weight:600;margin-bottom:22px;color:#fff;text-shadow:0 2px 30px rgba(0,0,0,.25);}
.hero__lead{font-size:19px;color:rgba(255,255,255,.94);max-width:36em;margin-bottom:32px;text-shadow:0 1px 16px rgba(0,0,0,.3);}
.hero__cta{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:26px;}
.hero__proof{font-size:15px;color:rgba(255,255,255,.88);}
.hero__proof strong{color:#fff;}

/* ---------- Generic section ---------- */
.section{padding:96px 0;}
.section__head{max-width:680px;margin:0 auto 56px;text-align:center;}
.section__head h2{font-size:clamp(31px,3.8vw,46px);margin-bottom:16px;}
.section__head p{font-size:18px;color:var(--muted);}

/* ---------- Tours grid ---------- */
.tour-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.tour-card{background:var(--white);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .22s ease,box-shadow .22s ease;display:flex;flex-direction:column;}
.tour-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.tour-card__media{aspect-ratio:4/3;overflow:hidden;}
.tour-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.tour-card:hover .tour-card__media img{transform:scale(1.07);}
.tour-card__body{padding:22px 22px 26px;}
.tour-card__body h3{font-size:21px;margin-bottom:9px;color:var(--teal-d);}
.tour-card__body p{font-size:15.5px;color:var(--muted);line-height:1.58;}

/* ---------- Where we go ---------- */
.places{padding:100px 0;background:
   radial-gradient(120% 130% at 100% 0%,var(--teal) 0%,var(--teal-d) 52%,var(--teal-dd) 100%);
   color:#fff;position:relative;overflow:hidden;}
.places__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center;position:relative;z-index:1;}
.places__copy h2{color:#fff;font-size:clamp(30px,3.8vw,44px);margin-bottom:18px;}
.places__copy>p{font-size:18px;color:#d7ece9;margin-bottom:24px;max-width:34em;}
.places__list{list-style:none;margin:0 0 30px;padding:0;display:grid;gap:12px;}
.places__list li{position:relative;padding-left:30px;font-weight:600;color:#eaf6f4;font-size:16px;}
.places__list li::before{content:"";position:absolute;left:0;top:7px;width:14px;height:14px;border-radius:50%;background:var(--coral);box-shadow:0 0 0 4px rgba(232,112,74,.22);}
.places__gallery{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:18px;}
.places__img{width:100%;border-radius:var(--r);object-fit:cover;box-shadow:var(--shadow);height:300px;}
.places__img--tall{grid-row:span 2;height:100%;min-height:480px;}

/* ---------- Why ---------- */
.section--why{background:var(--sand);}
.why__grid{display:grid;grid-template-columns:1fr 1.05fr;gap:60px;align-items:center;}
.why__media{position:relative;}
.why__media img{width:100%;height:500px;object-fit:cover;border-radius:var(--r-lg);box-shadow:var(--shadow);}
.why__tag{
  position:absolute;right:-14px;bottom:-22px;background:var(--coral);color:#fff;
  border-radius:22px;padding:18px 26px;text-align:center;box-shadow:var(--shadow);
  display:flex;flex-direction:column;line-height:1;border:5px solid var(--sand);
}
.why__tag-big{font-family:var(--font-d);font-weight:700;font-size:34px;}
.why__tag-sub{font-weight:700;font-size:12.5px;margin-top:5px;text-transform:uppercase;letter-spacing:.06em;opacity:.95;}
.why__copy h2{font-size:clamp(28px,3.5vw,42px);margin-bottom:26px;}
.why__list{list-style:none;margin:0;padding:0;display:grid;gap:20px;}
.why__list li{display:flex;gap:16px;align-items:flex-start;}
.why__ico{width:38px;height:38px;border-radius:50%;background:rgba(15,109,107,.12);color:var(--teal);display:inline-flex;align-items:center;justify-content:center;flex:none;}
.why__ico svg{width:20px;height:20px;}
.why__list strong{display:block;font-family:var(--font-d);font-weight:600;font-size:18px;margin-bottom:3px;color:var(--ink);}
.why__list span{color:var(--muted);font-size:15.5px;line-height:1.55;}

/* ---------- Steps ---------- */
.steps{padding:96px 0;background:var(--paper);}
.steps__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.step{background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:34px 30px;box-shadow:var(--shadow-sm);position:relative;}
.step__num{
  display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;
  background:var(--teal);color:#fff;font-family:var(--font-d);font-weight:700;font-size:21px;margin-bottom:18px;
}
.step h3{font-size:21px;margin-bottom:9px;color:var(--teal-d);}
.step p{font-size:15.5px;color:var(--muted);line-height:1.58;}

/* ---------- Book / contact ---------- */
.book{position:relative;padding:110px 0;color:#fff;overflow:hidden;}
.book__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.book__scrim{position:absolute;inset:0;background:linear-gradient(120deg,rgba(8,62,60,.92) 0%,rgba(8,62,60,.66) 60%,rgba(8,62,60,.5) 100%);}
.book__inner{position:relative;z-index:2;}
.book__card{max-width:620px;}
.book__card h2{color:#fff;font-size:clamp(30px,3.8vw,46px);margin-bottom:16px;}
.book__card>p{font-size:19px;color:rgba(255,255,255,.92);margin-bottom:30px;max-width:32em;}
.book__btns{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:24px;}
.book__btns .btn--ghost-light{color:#fff;border-color:rgba(255,255,255,.6);}
.book__btns .btn--ghost-light:hover{background:rgba(255,255,255,.14);border-color:#fff;}
.book__handles{display:flex;flex-wrap:wrap;gap:24px;}
.book__handles a{font-weight:700;color:#ffd9c4;font-size:15px;}
.book__handles a:hover{color:#fff;}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#cdd6d2;padding:64px 0 0;}
.site-footer__inner{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:48px;}
.brand--footer .brand__mark{background:#fff;border-color:#fff;color:var(--teal-d);}
.brand--footer .brand__name{color:#fff;}
.brand--footer .brand__tag{color:#9ad1cc;}
.site-footer__blurb{margin-top:18px;color:#9aa8a3;font-size:15px;max-width:30em;line-height:1.6;}
.site-footer__col h4{font-family:var(--font-d);font-weight:600;font-size:17px;color:#fff;margin-bottom:16px;}
.site-footer__col a{display:block;color:#c2ccc8;font-size:15px;padding:5px 0;transition:color .2s ease;}
.site-footer__col a:hover{color:#ffd9c4;}
.site-footer__base{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);padding:24px 0 28px;}
.site-footer__base p{color:#8a948f;font-size:14px;}
.site-footer__by a{color:#9ad1cc;font-weight:700;}

/* ---------- Pitch flyer modal (demo only) ---------- */
.flyer-overlay{
  position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(8,40,39,.6);backdrop-filter:blur(3px);
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.flyer-overlay.show{opacity:1;pointer-events:auto;}
.flyer-card{
  position:relative;width:min(540px,40vw);min-width:380px;max-width:calc(100vw - 32px);
  background:var(--paper);border-radius:24px;border-top:6px solid var(--coral);
  box-shadow:0 40px 90px rgba(8,40,39,.5);padding:40px 36px 32px;text-align:center;
  transform:translateY(18px) scale(.94);transition:transform .35s cubic-bezier(.2,.85,.25,1);
}
.flyer-overlay.show .flyer-card{transform:none;}
.flyer__close{
  position:absolute;top:12px;right:14px;width:36px;height:36px;border:0;background:transparent;
  font-size:27px;line-height:1;color:var(--muted);cursor:pointer;border-radius:50%;transition:background .2s,color .2s;
}
.flyer__close:hover{background:rgba(31,44,42,.08);color:var(--ink);}
.flyer__from{font-family:var(--font-b);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--coral-d);}
.flyer__title{font-size:29px;margin:10px 0 12px;color:var(--teal-d);}
.flyer__text{font-size:16.5px;color:var(--ink-soft);line-height:1.62;margin:0 auto 24px;max-width:30em;}
.flyer__text strong{color:var(--teal-d);}
.flyer__cta{
  display:flex;align-items:center;justify-content:center;width:100%;
  background:var(--coral);color:#fff;font-family:var(--font-b);font-weight:700;font-size:17px;
  padding:16px 22px;border-radius:999px;box-shadow:0 10px 24px rgba(232,112,74,.34);
  transition:background .2s ease,transform .2s ease;
}
.flyer__cta:hover{background:var(--coral-d);transform:translateY(-2px);}
.flyer__alt{font-size:14px;color:var(--muted);margin-top:14px;}
.flyer__alt a{color:var(--teal-d);font-weight:700;}
.flyer__later{
  display:block;margin:12px auto 0;border:0;background:transparent;cursor:pointer;
  font-family:var(--font-b);font-weight:600;font-size:14.5px;color:var(--muted);padding:6px 10px;
}
.flyer__later:hover{color:var(--ink);text-decoration:underline;}
@media (max-width:600px){
  .flyer-card{width:auto;min-width:0;padding:34px 24px 28px;}
  .flyer__title{font-size:25px;}
  .flyer__text{font-size:15.5px;}
}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
.reveal.in{opacity:1;transform:none;}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none;}html{scroll-behavior:auto;}}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero{min-height:560px;}
  .tour-grid{grid-template-columns:repeat(2,1fr);}
  .places__grid,.why__grid{grid-template-columns:1fr;gap:44px;}
  .why__media{order:-1;}
  .steps__grid{grid-template-columns:1fr;gap:18px;}
}

@media (max-width:760px){
  .nav,.site-header__cta{display:none;}
  .nav-toggle{display:flex;}
  .nav.open{
    display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;
    gap:0;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:8px 0;
  }
  .nav.open a{padding:15px 24px;font-size:18px;border-bottom:1px solid var(--line);}
  .nav.open a::after{display:none;}
  .utilbar__item--hide{display:none;}
  .utilbar__inner{gap:14px;}
}

@media (max-width:600px){
  body{font-size:16px;}
  .wrap{padding:0 18px;}
  .section,.places,.section--why,.steps{padding:64px 0;}
  .book{padding:80px 0;}
  .hero__inner{padding:64px 18px 56px;}
  .hero__cta .btn{flex:1;}
  .section__head{margin-bottom:40px;}
  .tour-grid{grid-template-columns:1fr;gap:18px;}
  .tour-card{flex-direction:row;}
  .tour-card__media{width:42%;aspect-ratio:auto;}
  .tour-card__body{padding:18px;flex:1;}
  .places__gallery{grid-template-columns:1fr 1fr;}
  .places__img--tall{grid-column:span 2;min-height:0;height:260px;}
  .why__tag{right:14px;bottom:-18px;padding:14px 20px;}
  .why__tag-big{font-size:28px;}
  .book__btns .btn{flex:1;}
  .site-footer__inner{grid-template-columns:1fr 1fr;gap:28px;}
  .site-footer__base{flex-direction:column;align-items:flex-start;gap:6px;}
}

@media (max-width:420px){
  .site-footer__inner{grid-template-columns:1fr;}
  .brand__name{font-size:21px;}
}
