:root{
  --green:#597D49;
  --green-dark:#47663A;
  --green-soft:#EEF3E8;
  --ink:#22301C;
  --muted:#6B7A63;
  --bg:#F6F7F2;
  --card:#FFFFFF;
  --radius:20px;
  --nav-h:74px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*{box-sizing:border-box; -webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
  margin:0;
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);
  background:var(--bg);
  overflow:hidden;
}
#app{height:100dvh; display:flex; flex-direction:column;}

/* ---------- Top bar ---------- */
#topbar{
  flex:0 0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(14px) saturate(1.5);
  -webkit-backdrop-filter:blur(14px) saturate(1.5);
  border-bottom:1px solid rgba(89,125,73,.14);
  z-index:20;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand-logo{width:34px; height:34px; border-radius:9px;}
.brand-name{font-weight:700; font-size:17px; color:var(--green-dark); letter-spacing:.2px;}
.lang-picker{
  display:flex; align-items:center; gap:5px;
  color:var(--green-dark);
  background:var(--green-soft);
  border:1px solid rgba(89,125,73,.25);
  border-radius:999px; padding:5px 9px;
}
.lang-picker .ico{width:16px; height:16px;}
.lang-picker select{
  border:0; background:transparent; font:inherit; font-weight:600; font-size:13px;
  color:var(--green-dark); outline:none; appearance:none; cursor:pointer;
}

/* ---------- Views ---------- */
#views{flex:1 1 auto; position:relative; overflow:hidden;}
.view{
  position:absolute; inset:0;
  overflow-y:auto; overscroll-behavior:contain;
  padding:0 0 calc(var(--nav-h) + 34px + var(--safe-b));
  display:none;
  -webkit-overflow-scrolling:touch;
}
.view.active{display:block;}
.view-inner{max-width:680px; margin:0 auto; padding:0 16px;}

/* ---------- Hero ---------- */
.hero{
  position:relative; margin:0 0 18px; border-radius:0 0 26px 26px; overflow:hidden;
  min-height:300px; display:flex; align-items:flex-end;
  background:#33482A;
}
.hero img.bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.hero::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(24,36,18,.05) 40%, rgba(24,36,18,.72) 100%);}
.hero-text{position:relative; z-index:1; padding:22px 20px 24px; color:#fff; max-width:680px; margin:0 auto; width:100%;}
.hero-text h1{margin:0 0 6px; font-size:27px; line-height:1.16; font-weight:700;}
.hero-text p{margin:0; font-size:14.5px; line-height:1.45; opacity:.94;}
.hero-cta{
  display:inline-block; margin-top:14px; padding:11px 20px; border-radius:999px;
  background:var(--green); color:#fff; font-weight:600; font-size:14px; text-decoration:none;
  box-shadow:0 8px 20px rgba(24,36,18,.35);
}

/* ---------- Sections & cards ---------- */
h2.section-title{font-size:19px; font-weight:700; margin:20px 0 12px; color:var(--ink);}
.card{
  background:var(--card); border-radius:var(--radius); overflow:hidden;
  box-shadow:0 4px 18px rgba(34,48,28,.08);
  border:1px solid rgba(89,125,73,.10);
}
.tour-card{margin-bottom:16px; cursor:pointer;}
.tour-card .photo{position:relative; aspect-ratio: 16/9; background:#DCE5D2;}
.tour-card .photo img{width:100%; height:100%; object-fit:cover; display:block;}
.tour-card .price-chip{
  position:absolute; right:12px; bottom:12px;
  background:rgba(255,255,255,.88); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
  color:var(--green-dark); font-weight:700; font-size:14px;
  padding:6px 12px; border-radius:999px; box-shadow:0 4px 12px rgba(24,36,18,.22);
}
.tour-card .body{padding:14px 16px 16px;}
.tour-card h3{margin:0 0 5px; font-size:16.5px; line-height:1.3; font-weight:600;}
.tour-card p{margin:0 0 12px; font-size:13.5px; line-height:1.5; color:var(--muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.card-actions{display:flex; gap:9px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 18px; border-radius:999px; border:0; cursor:pointer;
  font:inherit; font-weight:600; font-size:14px; text-decoration:none;
  transition:transform .08s ease, box-shadow .2s ease;
}
.btn:active{transform:scale(.97);}
.btn-primary{background:var(--green); color:#fff; box-shadow:0 6px 16px rgba(89,125,73,.35);}
.btn-ghost{background:var(--green-soft); color:var(--green-dark);}
.btn-block{width:100%;}
.btn[disabled]{opacity:.55; pointer-events:none;}

.info-card{padding:18px; margin-bottom:14px;}
.info-card h3{margin:0 0 6px; font-size:16px; font-weight:600;}
.info-card p{margin:0 0 10px; font-size:14px; line-height:1.55; color:#40513A;}
.info-card p:last-child{margin-bottom:0;}

.contact-row{
  display:flex; align-items:center; gap:13px; padding:14px 16px;
  background:var(--card); border-radius:16px; margin-bottom:10px;
  border:1px solid rgba(89,125,73,.12); box-shadow:0 3px 12px rgba(34,48,28,.06);
  text-decoration:none; color:var(--ink);
}
.contact-row .cic{
  flex:0 0 auto; width:42px; height:42px; border-radius:50%;
  background:var(--green-soft); color:var(--green-dark);
  display:flex; align-items:center; justify-content:center;
}
.contact-row .cic .ico{width:21px; height:21px;}
.contact-row .clabel{font-size:12px; color:var(--muted); display:block;}
.contact-row .cvalue{font-size:15px; font-weight:600; display:block; word-break:break-all;}

.includes{list-style:none; margin:8px 0 4px; padding:0;}
.includes li{padding:7px 0; font-size:14px; line-height:1.5; border-bottom:1px dashed rgba(89,125,73,.18);}
.includes li:last-child{border-bottom:0;}

.page-photo{width:100%; aspect-ratio:16/8.5; object-fit:cover; border-radius:0 0 26px 26px; display:block; background:#DCE5D2;}
.page-head{padding:18px 0 4px;}
.page-head h1{font-size:23px; margin:0 0 6px; font-weight:700;}
.page-head .lead{font-size:15px; color:var(--green-dark); font-weight:500; margin:0 0 8px; line-height:1.5;}

/* ---------- Account ---------- */
.user-head{display:flex; align-items:center; gap:14px;}
.user-head img{width:56px; height:56px; border-radius:50%; object-fit:cover; background:#DCE5D2;}
.user-head .uname{font-size:17px; font-weight:700;}
.user-head .uemail{font-size:13px; color:var(--muted); word-break:break-all;}
.btn-google{
  background:#fff; color:#2B2B2B; border:1px solid #D9D9D9;
  box-shadow:0 3px 10px rgba(0,0,0,.08); width:100%;
}
.btn-google .g{width:19px; height:19px;}
.note{font-size:12.5px; color:var(--muted); line-height:1.5; margin-top:10px;}

/* ---------- Liquid Glass tab bar ---------- */
#tabbar{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:calc(12px + var(--safe-b));
  width:min(600px, calc(100% - 20px));
  height:var(--nav-h);
  display:flex; align-items:stretch; gap:2px;
  padding:7px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.38));
  backdrop-filter:blur(20px) saturate(1.7);
  -webkit-backdrop-filter:blur(20px) saturate(1.7);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 14px 34px rgba(24,36,18,.28), inset 0 1px 0 rgba(255,255,255,.7);
  z-index:30;
}
.tab{
  flex:1 1 0; border:0; background:transparent; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px;
  border-radius:999px; color:#54624C; font:inherit;
  transition:background .18s ease, color .18s ease;
  padding:4px 2px;
}
.tab .ico{width:22px; height:22px;}
.tab span{font-size:10.5px; font-weight:600; letter-spacing:.1px; white-space:nowrap;}
.tab.active{
  background:linear-gradient(135deg, rgba(89,125,73,.92), rgba(71,102,58,.92));
  color:#fff;
  box-shadow:0 6px 16px rgba(71,102,58,.4), inset 0 1px 0 rgba(255,255,255,.35);
}

/* ---------- Detail sheet ---------- */
.sheet{position:fixed; inset:0; z-index:50;}
.sheet.hidden{display:none;}
.sheet-backdrop{position:absolute; inset:0; background:rgba(20,30,16,.5); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);}
.sheet-panel{
  position:absolute; left:0; right:0; bottom:0; max-height:92dvh; overflow-y:auto;
  background:#fff; border-radius:26px 26px 0 0; padding:0 0 calc(26px + var(--safe-b));
  max-width:680px; margin:0 auto;
  animation:up .22s ease;
}
@keyframes up{from{transform:translateY(26px); opacity:.6;} to{transform:none; opacity:1;}}
.sheet-close{
  position:absolute; top:12px; right:12px; z-index:2;
  width:36px; height:36px; border-radius:50%; border:0; cursor:pointer;
  background:rgba(255,255,255,.85); backdrop-filter:blur(6px); font-size:15px; color:var(--ink);
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.sheet-panel .photo{width:100%; aspect-ratio:16/9; object-fit:cover; display:block; background:#DCE5D2;}
.sheet-body{padding:18px 20px 0;}
.sheet-body h3{margin:0 0 4px; font-size:20px; line-height:1.3;}
.sheet-body .tagline{color:var(--green-dark); font-weight:500; font-size:14px; margin:0 0 12px; line-height:1.5;}
.sheet-body .price{font-size:19px; font-weight:700; color:var(--green-dark); margin:0 0 14px;}
.sheet-body .desc{font-size:14px; line-height:1.65; color:#33402E;}
.sheet-body .desc p{margin:0 0 10px;}
.sheet-body .divider{border:0; border-top:2px dotted rgba(89,125,73,.4); margin:14px 0;}
.sheet-actions{display:flex; flex-direction:column; gap:9px; margin-top:16px;}

.hidden{display:none !important;}
.center-note{text-align:center; color:var(--muted); font-size:13px; padding:22px 10px 6px;}
