/* Final EcoTrip-inspired UI polish for HANOITOUR.TOURS */
:root{
  --forest:#003b25;
  --forest-2:#002b1b;
  --forest-3:#075a38;
  --leaf:#20b85a;
  --leaf-2:#51d36d;
  --lime:#a8ff18;
  --lime-soft:#efffd2;
  --cream:#f5edd6;
  --paper:#fffdf3;
  --paper-2:#fbf7ea;
  --sand:#e8ddbf;
  --ink:#09261a;
  --muted:#53665d;
  --line:rgba(0,59,37,.13);
  --line-strong:rgba(0,59,37,.22);
  --shadow-sm:0 12px 30px rgba(0,43,27,.08);
  --shadow-md:0 22px 56px rgba(0,43,27,.14);
  --shadow-lg:0 32px 90px rgba(0,43,27,.22);
  --container:1180px;
}
body{background:linear-gradient(180deg,#f8f2de 0%,#f4ecd5 44%,#f3ead0 100%);color:var(--ink);}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 10% 0,rgba(168,255,24,.12),transparent 26rem),radial-gradient(circle at 90% 14%,rgba(32,184,90,.08),transparent 32rem)}
img{background:transparent!important;}
.cv-container,.hct-wrap,.section-head,.faq-block,.hub-compare,.tour-matchmaker,.page-hero,.td-hero,.td-section,.td-quickfacts,.td-decision-block,.td-mini-nav,.cat-hero,.cat-trustbar,.cat-section,.cat-story-banner,.footer-inner,.footer-bottom{max-width:var(--container);margin-left:auto;margin-right:auto;}
.cv-section,.section,.cat-section,.td-section{padding-top:72px;padding-bottom:72px;}
.cv-section-head,.cat-section-head,.td-head,.section-head{margin-bottom:28px;}
.cv-kicker,.cat-kicker,.td-kicker,.script{color:#0f9b4f;letter-spacing:.18em;font-size:12px;font-weight:900;text-transform:uppercase;}
h1,h2,h3{letter-spacing:-.055em;text-wrap:balance;}
.cv-section h2,.cat-section h2,.td-section h2,.section h2{font-size:clamp(34px,4vw,56px);line-height:.96;color:var(--ink);}
p,.cv-section p,.cv-section-head p,.cat-hero-copy p,.td-hero-copy p,.cat-section p,.section p{color:var(--muted);line-height:1.75;letter-spacing:-0.008em;text-wrap:pretty;max-width:72ch;}
small,.cv-kicker,.cat-kicker,.td-kicker{letter-spacing:.12em;font-weight:900;text-transform:uppercase;}.cv-btn,.cat-btn,.td-btn,.nav-cta,.footer-cta,.explore-btn,.finder-submit,.booking-actions button,.matchmaker-panel button{border-radius:999px;font-weight:900;letter-spacing:-.02em;min-height:48px;display:inline-flex;align-items:center;justify-content:center;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
.cv-btn:hover,.cat-btn:hover,.td-btn:hover,.nav-cta:hover,.footer-cta:hover,.explore-btn:hover,.finder-submit:hover,.booking-actions button:hover,.matchmaker-panel button:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(32,184,90,.2);}
.cv-btn-primary,.cat-btn-primary,.td-btn-primary,.booking-actions button,.matchmaker-panel button,.finder-submit,.footer-cta{color:#062615;background:linear-gradient(135deg,var(--lime),var(--leaf-2));}
.cv-btn-secondary,.cat-btn-ghost,.td-btn-ghost{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.14);}
.text-link,.cv-text-link,.cat-inline-link{color:var(--forest);font-weight:900;}
.topbar{display:none!important;}
.navbar{min-height:64px!important;max-width:1240px;margin:0 auto;margin-top:10px;border-radius:0 0 22px 22px;padding:0 clamp(16px,4vw,34px)!important;background:rgba(255,253,244,.92)!important;box-shadow:0 14px 44px rgba(0,43,27,.12)!important;}
.navlinks>a,.nav-item>a{min-height:64px!important;font-size:12px!important;}
.logo-mark{background:linear-gradient(135deg,var(--lime),var(--leaf))!important;color:#063522!important;box-shadow:0 12px 24px rgba(32,184,90,.22)!important;}
.logo-text span{color:#0aa24b!important;}
.nav-cta{background:linear-gradient(135deg,var(--lime),var(--leaf-2))!important;color:#052315!important;}
/* Home */
.cv-hero{margin:18px auto 0;padding:56px 0 76px;background:linear-gradient(180deg,rgba(0,43,27,.04),transparent);}
.cv-hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.68fr);gap:34px;align-items:center;padding:clamp(28px,5vw,64px);border-radius:44px;overflow:hidden;background:linear-gradient(115deg,rgba(0,43,27,.96),rgba(0,59,37,.88)),var(--cv-hero-img) center/cover;box-shadow:var(--shadow-lg);position:relative;}
.cv-hero-grid::after{content:"";position:absolute;inset:auto 0 0;height:36%;background:linear-gradient(0deg,rgba(0,43,27,.45),transparent);pointer-events:none;}
.cv-hero-copy,.cv-feature-card{position:relative;z-index:1;}
.cv-hero-copy h1{color:#fffaf0;text-shadow:0 3px 24px rgba(0,0,0,.25);font-size:clamp(48px,7vw,86px);line-height:.88;max-width:760px;}
.cv-hero-copy p{color:rgba(255,255,255,.88);max-width:640px;font-size:clamp(17px,2vw,20px);line-height:1.55;}
.cv-hero-trust span{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.2);}
.cv-hero-mini article{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff;}
.cv-hero-mini small{color:rgba(255,255,255,.76);}
.cv-feature-card{background:rgba(255,253,244,.96);border:1px solid rgba(255,255,255,.56);border-radius:34px;padding:14px;box-shadow:0 28px 70px rgba(0,0,0,.22);}
.cv-feature-media{border-radius:26px;overflow:hidden;}
.cv-feature-media img{aspect-ratio:4/3;object-fit:cover;}
.cv-feature-body{padding:22px;}
.cv-feature-body h2{font-size:clamp(26px,3vw,34px);line-height:.98;margin-bottom:12px;}
.cv-feature-body p{color:#10251b;opacity:0.9;font-weight:600;line-height:1.65;max-width:440px;margin-bottom:20px;}
.cv-feature-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.cv-feature-actions a{border-radius:999px;min-height:46px;font-weight:900;}
.cv-feature-actions a:last-child{background:linear-gradient(135deg,var(--lime),var(--leaf-2));color:#062315;}
.cv-trustbar{margin-top:-28px;position:relative;z-index:5;background:rgba(255,253,244,.98);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-sm);}
.cv-tour-grid-primary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.cv-tour-card{display:flex!important;flex-direction:column!important;height:100%!important;background:#fff;border-radius:28px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s var(--ease);}
.cv-tour-media{aspect-ratio:4/3!important;background:#e7ead5;position:relative;display:block;overflow:hidden;}
.cv-tour-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease);}
.cv-tour-body{padding:24px!important;display:flex!important;flex-direction:column!important;flex:1!important;}
.cv-tour-proof{margin-bottom:12px!important;display:flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;color:#e6b51a!important;white-space:nowrap!important;overflow:hidden!important;height:22px!important;min-height:22px!important;}
.cv-tour-proof b{color:var(--ink)!important;margin-right:2px!important;display:inline!important;}
.cv-tour-proof small{color:var(--muted)!important;font-weight:600!important;font-size:12px!important;text-overflow:ellipsis!important;overflow:hidden!important;display:inline!important;}
.cv-tour-body h3{font-size:21px!important;line-height:1.2!important;margin:0 0 10px!important;height:52px!important;min-height:52px!important;display:-webkit-box!important; -webkit-line-clamp:2!important; -webkit-box-orient:vertical!important; overflow:hidden!important;}
.cv-tour-body h3 a{color:var(--ink)!important;text-decoration:none!important;}
.cv-tour-body p, .cv-tour-desc, .cv-tour-content p {
  line-height: 1.75 !important;
  font-size: 15.5px !important;
  color: #53635b !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 82px !important;
  min-height: 82px !important;
  margin: 0 0 16px !important;
}
@media (max-width: 768px) {
    font-size: 15px !important;
    height: 78px !important;
    min-height: 78px !important;
  }
}
.cv-tour-includes{display:none!important;}
.cv-tour-bottom{margin-top:auto!important;padding-top:16px!important;border-top:1px solid var(--line)!important;display:block!important;}
.cv-price{margin-bottom:14px;}
.cv-price small{font-size:11px;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:2px;}
.cv-price strong{font-size:28px;color:var(--forest);letter-spacing:-.02em;}
.cv-price del{font-size:16px;color:var(--muted);margin-right:8px;font-weight:500;}
.cv-price span{font-size:13px;color:var(--muted);margin-left:4px;}
.cv-tour-ctas{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;}
.cv-mini-link,.cv-mini-btn{min-height:44px!important;border-radius:999px!important;font-weight:900!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;}
.cv-mini-link{background:#f5f7e8;color:var(--forest);border:1px solid var(--line);}
.cv-mini-btn{background:linear-gradient(135deg,var(--lime),var(--leaf-2));color:#052315;border:0;}
.cv-why{background:#fffdf4;padding:clamp(60px, 8vw, 100px) 0;}
.cv-why-grid{display:grid!important;grid-template-columns:minmax(360px, 35%) 1fr!important;gap:clamp(40px, 6vw, 90px)!important;align-items:center!important;max-width:var(--container);margin:0 auto;}
.cv-why-copy h2{font-size:clamp(38px, 4.5vw, 62px)!important;line-height:0.96!important;margin-bottom:24px!important;letter-spacing:-.04em!important;color:#073522!important;}
.cv-why-copy p{font-size:18px!important;line-height:1.6!important;color:#4a5c53!important;margin-bottom:34px!important;max-width:440px;}
.cv-why-copy .cv-btn{margin-top:0!important;min-height:54px!important;padding:0 36px!important;font-size:15px!important;}
.cv-benefit-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:24px!important;}
.cv-benefit-grid article{height:auto!important;min-height:0!important;padding:32px!important;border-radius:32px!important;background:#fff!important;border:1px solid rgba(6,53,40,.06)!important;box-shadow:0 12px 34px rgba(0,0,0,.03)!important;transition:transform .3s var(--ease),box-shadow .3s var(--ease)!important;}
.cv-benefit-grid article:hover{transform:translateY(-2px)!important;box-shadow:0 20px 48px rgba(7,53,34,.08)!important;}
.cv-benefit-grid span{width:40px!important;height:40px!important;border-radius:14px!important;background:linear-gradient(135deg,var(--lime),#40d16c)!important;color:#062315!important;display:grid!important;place-items:center!important;font-weight:900!important;font-size:16px!important;margin-bottom:20px!important;}
.cv-benefit-grid h3{font-size:23px!important;line-height:1.1!important;margin:0 0 12px!important;letter-spacing:-.02em!important;color:#073522!important;}
.cv-benefit-grid p{font-size:15px!important;line-height:1.55!important;color:#51645b!important;margin:0!important;grid-column:auto!important;}
.cv-experience-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.cv-experience-card{min-height:220px;border-radius:28px;overflow:hidden;}
.cv-mood-panel,.cv-weather-grid,.cv-story-banner{border-radius:30px;}
.cv-weather-strip,.cv-reviews-section{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:max(24px,calc((100vw - var(--container))/2));padding-right:max(24px,calc((100vw - var(--container))/2));}
.cv-reviews-section{background:var(--forest-2);}
.cv-reviews-section .cv-section-head-light p{color:rgba(255,255,255,.82)!important;}
.cv-reviews-section .cv-section-head-light a{color:#6eff94!important;font-weight:700!important;}
.cv-reviews-section .cv-section-head-light .cv-btn{color:#06351f!important;background:linear-gradient(135deg,#d7ff36,#a8e600)!important;font-weight:800!important;border:0!important;}
.cv-review-card{border-radius:24px;}
/* Category pages */
.cat-hero{margin-top:18px;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:34px;padding:clamp(30px,5vw,58px);border-radius:42px;overflow:hidden;background:linear-gradient(115deg,rgba(0,43,27,.97),rgba(0,59,37,.86)),var(--cat-hero-img) center/cover;box-shadow:var(--shadow-lg);}
.cat-hero-copy h1{color:#fffaf0;font-size:clamp(46px,6vw,78px);line-height:.9;text-shadow:0 3px 24px rgba(0,0,0,.22);}
.cat-hero-copy p{color:rgba(255,255,255,.88);font-size:18px;line-height:1.55;max-width:680px;}
.cat-hero-highlights span{background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.18);}
.cat-hero-rating{background:rgba(255,253,244,.96);border-color:rgba(255,255,255,.4);color:var(--ink);}
.cat-hero-media img{aspect-ratio:4/5;border-radius:28px;object-fit:cover;box-shadow:0 24px 70px rgba(0,0,0,.24);}
.cat-trustbar{margin-top:-22px;border-radius:20px;background:var(--paper);box-shadow:var(--shadow-sm);border:1px solid var(--line);}
.cat-section-head{align-items:flex-end;}
.cat-tour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.cat-why-section{display:grid;grid-template-columns:330px minmax(0,1fr);gap:38px;align-items:center;}
.cat-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.cat-benefit-grid article{min-height:0;padding:24px;border-radius:26px;}
.cat-benefit-grid h3{font-size:24px;margin:16px 0 8px;}
.cat-benefit-grid p{font-size:15px;line-height:1.55;}
.cat-expect-section{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;}
.cat-story-banner{min-height:300px;border-radius:32px;background-image:linear-gradient(90deg,rgba(0,43,27,.92),rgba(0,43,27,.45)),var(--cat-story-img);}
.cat-compare-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.cat-practical-section{display:grid;grid-template-columns:1fr 360px;gap:34px;}
.cat-final-cta{border-radius:30px;}
/* All tours hub */
.page-hero.hanoi-tours-hero{margin-top:18px!important;padding:clamp(34px,6vw,70px)!important;border-radius:40px!important;background:linear-gradient(120deg,var(--forest-2),var(--forest-3))!important;color:#fff!important;box-shadow:var(--shadow-lg)!important;}
.page-hero.hanoi-tours-hero h1{font-size:clamp(46px,6vw,76px)!important;color:#fffaf0!important;line-height:.9!important;}
.page-hero.hanoi-tours-hero p{color:rgba(255,255,255,.85)!important;max-width:680px!important;}
.hub-hero-proof span{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;}
.tour-matchmaker{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;align-items:stretch;margin-top:28px;}
.matchmaker-copy,.matchmaker-panel{border-radius:28px!important;}
.matchmaker-copy{background:linear-gradient(145deg,var(--forest),var(--forest-3))!important;color:#fff!important;}
.matchmaker-copy h2{color:#fffaf0!important;}
.matchmaker-copy p{color:rgba(255,255,255,.82)!important;}
.matchmaker-panel{background:var(--paper)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow-sm)!important;}
.hct-section{padding-top:58px;}
.hct-wrap{padding:0;}
.hct-filters,.hct-tools,.hct-result-bar{border-radius:22px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.hct-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.tour-image{aspect-ratio:4/3;background:#dfe7d2;}
.tour-image img{width:100%;height:100%;object-fit:cover;}
.tour-body{padding:18px;}
.tour-body h3{font-size:23px;line-height:1.04;}
.tour-card-desc{line-height:1.45;}
.tour-mini{display:flex;flex-wrap:wrap;gap:6px;}
.tour-mini span{font-size:11px;}
.tour-proof-row{gap:6px;}
.tour-price-grid{gap:8px;}
.tour-price-grid span{border-radius:14px;}
.explore-btn{min-height:42px!important;width:100%;background:linear-gradient(135deg,var(--lime),var(--leaf-2))!important;color:#062315!important;}
.compare-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
.faq-block{padding-left:0!important;padding-right:0!important;}
/* Tour detail */
.tour-detail-page{padding-top:18px;}
.td-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:42px;align-items:center;min-height:620px;padding:clamp(36px,6vw,70px);border-radius:46px;background:linear-gradient(112deg,rgba(0,34,22,.96),rgba(0,59,37,.74)),var(--td-img) center/cover;box-shadow:var(--shadow-lg);overflow:hidden;}
.td-hero-copy h1{color:#fffaf0;font-size:clamp(56px,8vw,112px);line-height:.84;text-shadow:0 5px 30px rgba(0,0,0,.32);}
.td-hero-copy p{color:rgba(255,255,255,.86);max-width:690px;font-size:20px;line-height:1.55;}
.td-back{color:rgba(255,255,255,.68);}
.td-hero .td-kicker{color:var(--lime);}
.td-proof{background:rgba(255,253,244,.98);color:var(--ink);border-radius:999px;border:1px solid rgba(255,255,255,.34);}
.td-actions{gap:12px;}
.td-quickfacts{margin-top:22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.td-quickfacts div{border-radius:22px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.td-decision-block{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;}
.td-decision-block article{border-radius:22px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
html, body, main, #main-content, .tour-detail-page {
  overflow: visible !important;
  height: auto !important;
}
.td-mini-nav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 10px !important;
  z-index: 9999 !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 245, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(231, 234, 213, 1) !important;
  box-shadow: 0 15px 45px rgba(0, 34, 22, 0.15) !important;
  display: flex !important;
  gap: 12px !important;
  padding: 12px 24px !important;
  width: fit-content !important;
  max-width: calc(100vw - 24px) !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  margin: 40px auto !important;
}
.td-mini-nav a {
  padding: 14px 32px !important;
  border-radius: 999px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #002216 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}
.td-mini-nav a:hover {
  background: #0f9b4f !important;
  color: #fff !important;
}
@media (max-width: 1023px) {
  html, body, main, #main-content, .tour-detail-page, .site-wrapper {
    overflow: visible !important;
    overflow-x: visible !important;
  }
}
.td-section, #price, #route, #video, #reviews, #faq, .td-gallery-section {
  scroll-margin-top: 130px !important;
}
.td-split{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:52px;align-items:start;}
.td-checks li{line-height:1.45;}
.td-price-panel,.td-list-card{border-radius:28px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.td-itinerary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.td-itinerary article{border-radius:24px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.td-included-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.td-gallery-section .td-head,.td-video-section .td-head{text-align:left;}
.td-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;overflow:visible;}
.td-gallery img{width:100%;height:260px;object-fit:cover;border-radius:24px;border:1px solid var(--line);box-shadow:var(--shadow-sm);background:#fff;}
.td-gallery img:first-child{height:360px;grid-row:span 2;}
.td-gallery-count-1{grid-template-columns:1fr;max-width:760px;}
.td-gallery-count-1 img:first-child{height:auto;aspect-ratio:16/10;grid-row:auto;}
.td-gallery-count-2{grid-template-columns:repeat(2,1fr);}
.td-gallery-count-2 img:first-child{height:300px;grid-row:auto;}
.td-video-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:34px;align-items:center;padding:34px;border-radius:34px;background:linear-gradient(135deg,#f1ffe5,var(--paper));border:1px solid rgba(32,184,90,.18);box-shadow:var(--shadow-md);}
.td-video-phone{width:min(100%,300px);justify-self:center;border-radius:34px;overflow:hidden;box-shadow:0 22px 60px rgba(0,43,27,.22);background:#0a321f;}
.td-video-phone img,.td-video-phone video,.td-video-phone iframe{width:100%;aspect-ratio:9/16;height:auto;object-fit:cover;border:0;}
.td-video-copy{text-align:left;max-width:560px;}
.td-video-copy h3{font-size:clamp(34px,4vw,58px);color:var(--ink);line-height:.94;}
.td-video-copy p{font-size:16px;line-height:1.65;}
.td-video-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.td-video-actions .td-btn{padding:0 22px;}
.td-video-wa{color:var(--forest);background:rgba(0,59,37,.08);border-color:rgba(0,59,37,.13);}
.td-tour-reviews .td-review-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;overflow:visible;}
.td-review-card,.td-faq-grid details{border-radius:24px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.td-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.td-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.td-final-cta{border-radius:32px;background:linear-gradient(135deg,var(--forest),var(--forest-3));}
/* Booking drawer */
.booking-panel{border-radius:34px!important;background:var(--paper)!important;}
.booking-form input,.booking-form select,.booking-form textarea,.matchmaker-panel input,.matchmaker-panel select,.hct-tools input,.hct-tools select{border-radius:18px;border:1px solid var(--line-strong);background:#fff;}
.booking-status{font-size:15px!important;font-weight:900!important;}
/* Hide desktop floating clutter when not needed */
.finder-fab,.float-whatsapp{box-shadow:0 16px 34px rgba(0,43,27,.22)!important;}
/* Footer */
.footer{margin-top:80px!important;background:var(--forest-2)!important;color:#fff!important;}
.footer-inner{gap:56px!important;}
.footer p,.footer a,.footer span{color:rgba(255,255,255,.76)!important;}
.footer h4,.footer-logo{color:#fff!important;}
.footer-booking{border-radius:26px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.1)!important;}
/* Responsive */
@media (min-width:1180px){
  .cv-tour-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;overflow:visible;}
}
@media (max-width:1024px){
  .cv-hero-grid,.cat-hero,.td-hero{grid-template-columns:1fr;}
  .cat-hero-media{display:none;}
  .td-book-card{max-width:520px;width:100%;}
  .cv-why-grid,.cat-why-section,.cat-expect-section,.cat-practical-section,.tour-matchmaker,.td-split,.td-video-grid{grid-template-columns:1fr;}
  .cv-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cat-tour-grid,.hct-grid,.td-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .td-decision-block{grid-template-columns:repeat(2,minmax(0,1fr));}
  .td-tour-reviews .td-review-row{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  body{font-size:15px!important;padding-bottom:74px;}
  .navbar{min-height:56px!important;margin-top:0!important;border-radius:0 0 18px 18px!important;}
  .logo-mark{width:34px!important;height:34px!important;border-radius:12px!important;}
  .logo-text{font-size:16px!important;}
  .cv-container,.hct-wrap,.section-head,.faq-block,.hub-compare,.tour-matchmaker,.page-hero,.td-hero,.td-section,.td-quickfacts,.td-decision-block,.td-mini-nav,.cat-hero,.cat-trustbar,.cat-section,.cat-story-banner{max-width:calc(100vw - 24px);}
  .cv-section,.section,.cat-section,.td-section{padding-top:44px;padding-bottom:44px;}
  .cv-hero{padding:12px 0 34px;margin-top:0;}
  .cv-hero-grid{padding:26px 18px;border-radius:28px;gap:22px;}
  .cv-hero-copy h1,.cat-hero-copy h1,.page-hero.hanoi-tours-hero h1{font-size:clamp(34px,11vw,48px);line-height:.94;}
  .td-hero-copy h1{font-size:clamp(38px,15vw,58px);line-height:.88;}
  .cv-hero-copy p,.cat-hero-copy p,.td-hero-copy p,.page-hero.hanoi-tours-hero p{font-size:15px;line-height:1.48;}
  .cv-hero-actions,.td-actions,.cat-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;}
  .cv-hero-mini{grid-template-columns:1fr;gap:8px;}
  .cv-feature-card{border-radius:26px;}
  .cv-trustbar{display:grid;grid-template-columns:repeat(2,1fr);margin-top:8px;max-width:calc(100vw - 24px);}
  .cv-tour-grid-primary,.cv-tour-rail,.cat-tour-grid,.hct-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding:4px 20px 18px;-webkit-overflow-scrolling:touch;}
  .cv-tour-card,.tour-card,.cat-tour-grid .tour-card,.hct-grid .tour-card{min-width:80vw;max-width:80vw;scroll-snap-align:start;}
  .cv-tours .cv-container { max-width: 100vw !important; padding: 0 !important; width: 100% !important; margin: 0 !important; }
  .cv-tours .cv-section-head { padding: 0 20px !important; margin-bottom: 24px !important; }
  .cv-tours .cv-tour-grid-primary { padding: 4px 20px 24px !important; scroll-padding-left: 20px !important; gap: 16px !important; }
  .cv-benefit-grid,.cat-benefit-grid{grid-template-columns:1fr;gap:12px;}
  .cv-benefit-grid article,.cat-benefit-grid article{display:grid;grid-template-columns:42px 1fr;column-gap:14px;padding:16px;align-items:start;}
  .cv-benefit-grid h3,.cat-benefit-grid h3{margin:0 0 5px;font-size:22px;}
  .cv-benefit-grid p,.cat-benefit-grid p{grid-column:2;font-size:14px;}
  .cv-experience-grid,.cv-mood-list,.compare-grid,.cat-compare-grid,.td-faq-grid{grid-template-columns:1fr;}
  .cv-weather-strip,.cv-reviews-section{padding-left:12px;padding-right:12px;}
  .cv-weather-grid{grid-template-columns:1fr;}
  .cv-review-grid{display:flex;overflow-x:auto;gap:14px;}
  .cv-review-card{min-width:82vw;}
  .cat-hero,.page-hero.hanoi-tours-hero,.td-hero{margin-top:8px;border-radius:28px;padding:26px 18px;min-height:0;}
  .cat-hero-highlights,.hub-hero-proof{gap:8px;}
  .cat-hero-rating,.td-proof{border-radius:18px;align-items:flex-start;white-space:normal;}
  .cat-trustbar,.td-quickfacts{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px;}
  .td-book-card{padding:20px;border-radius:26px;}
  .td-book-card strong{font-size:54px;}
  .td-decision-block{grid-template-columns:1fr;}
  .td-mini-nav{
    margin: 0 !important;
    top: 1px !important; /* Avoid 0px collision with system bar */
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
    background: #fffdf5 !important;
    padding: 10px 8px !important;
    gap: 4px !important;
    justify-content: center !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    border-bottom: 2px solid #0f9b4f !important;
    /* Hardware Acceleration to fix 'show on scroll up only' bug */
    transform: translate3d(0,0,0) !important;
    -webkit-transform: translate3d(0,0,0) !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    z-index: 2147483647 !important;
  }
  .td-mini-nav a {
    padding: 8px 10px !important;
    font-size: 12px !important;
    color: #0f3d2a !important;
    background: transparent !important;
  }
  .td-split,.td-included-grid,.td-itinerary,.td-tour-reviews .td-review-row,.td-related-grid{grid-template-columns:1fr;}
  .td-gallery{display:flex;overflow-x:auto;gap:12px;padding-bottom:14px;}
  .td-gallery img,.td-gallery img:first-child{min-width:82vw;height:230px;grid-row:auto;}
  .td-video-grid{padding:18px;border-radius:28px;gap:20px;}
  .td-video-phone{width:min(100%,250px);}
  .td-video-copy{text-align:center;}
  .td-video-copy h3{font-size:32px;}
  .td-video-actions{justify-content:center;}
  .tour-matchmaker{margin-top:14px;}
  .matchmaker-fields{grid-template-columns:1fr!important;}
  .hct-tools{grid-template-columns:1fr;}
  .footer{margin-top:52px!important;padding-bottom:110px!important;}
  .footer-inner{grid-template-columns:1fr!important;gap:26px!important;}
  .finder-fab,.float-whatsapp{display:none!important;}
  .mobile-book-bar{display:flex!important;flex-direction:column!important;gap:0;padding:0 0 calc(env(safe-area-inset-bottom,0) + 10px)!important;background:none!important;background-color:transparent!important;box-shadow:none!important;border:none!important;pointer-events:none;align-items:center!important;position:fixed!important;left:0!important;right:0!important;width:100vw!important;z-index:9999!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
  .mobile-book-buttons{display:grid;grid-template-columns:1fr 2.6fr 1fr;gap:6px;padding:7px!important;background:rgba(0,43,27,.99)!important;border-radius:999px!important;box-shadow:0 8px 30px rgba(0,0,0,0.25)!important;pointer-events:auto;width:94vw;max-width:500px;margin:0 auto!important;}
  .mobile-book-bar a,.mobile-book-bar button{border-radius:999px;display:grid;place-items:center;font-size:12.5px;font-weight:800;min-height:48px;border:0;cursor:pointer;text-decoration:none;white-space:nowrap;overflow:hidden;padding:0 8px;}
  .mobile-book-finder{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.12)!important;}
  .mobile-book-primary{background:linear-gradient(135deg,#d7ff36,#a8e600)!important;color:#06351f!important;font-weight:900!important;font-size:13px!important;padding:0 12px!important;}
  .mobile-book-whatsapp{background:#17a85a!important;color:#fff!important;}
}
@media (max-width:420px){
  .cv-tour-card,.tour-card,.cat-tour-grid .tour-card,.hct-grid .tour-card,.cv-review-card{min-width:calc(100vw - 40px);max-width:calc(100vw - 40px);}
  .td-gallery img,.td-gallery img:first-child{min-width:88vw;}
  .cv-section h2,.cat-section h2,.td-section h2,.section h2{font-size:32px;}
  .mobile-book-buttons{grid-template-columns:1fr 2.8fr 1fr;gap:4px;padding:4px!important;width:95vw;}
  .mobile-book-primary{font-size:11.5px!important;padding:0 6px!important;}
}

/* 20260512e - homepage rail/UI + conversion hotfix */
.cv-story-banner{display:block!important;position:relative!important;background:#032316!important;padding:0!important;min-height:460px!important;text-decoration:none!important;border-radius:42px!important;box-shadow:0 32px 80px rgba(0,24,14,0.18)!important;overflow:hidden!important;}
.cv-story-banner::before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg, #032316 0%, #032316 35%, rgba(3,35,22,0.4) 70%, transparent 100%)!important;z-index:2!important;}
.cv-story-content{position:relative!important;z-index:3!important;width:58%!important;padding:clamp(50px, 8vw, 100px) clamp(30px, 6vw, 80px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-height:460px!important;}
.cv-story-visual{position:absolute!important;inset:0!important;z-index:1!important;width:100%!important;height:100%!important;}
.cv-story-visual img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform 1.2s var(--ease)!important;display:block!important;}
.cv-story-banner:hover .cv-story-visual img{transform:scale(1.05)!important;}
.cv-story-banner h2{font-size:clamp(34px, 4.2vw, 54px)!important;line-height:0.98!important;margin-bottom:24px!important;color:#fffdf4!important;text-shadow:0 2px 30px rgba(0,0,0,0.3)!important;max-width:620px!important;}
.cv-story-banner p{font-size:18.5px!important;line-height:1.6!important;color:rgba(255,253,244,0.85)!important;margin-bottom:34px!important;max-width:520px!important;}
.cv-mood{padding:clamp(16px, 3vw, 32px) 0;background:#fffdf4;}
.cv-mood .cv-container.cv-mood-panel{max-width:1290px!important;padding:clamp(38px, 5vw, 68px) clamp(24px, 5vw, 64px)!important;border-radius:38px!important;background:radial-gradient(circle at 75% 20%, rgba(46, 232, 120, 0.05), transparent 50%), linear-gradient(135deg, #032316 0%, #053322 100%)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.05), 0 24px 60px rgba(0,24,14,0.18)!important;display:grid!important;grid-template-columns:0.38fr 0.62fr!important;gap:clamp(30px, 5vw, 70px)!important;align-items:center!important;}
.cv-mood-copy h2{font-size:clamp(36px, 4.2vw, 56px)!important;line-height:0.98!important;margin-bottom:20px!important;color:#fffdf4!important;text-shadow:0 2px 20px rgba(0,0,0,0.25)!important;letter-spacing:-.04em!important;max-width:380px;}
.cv-mood-copy p{font-size:17px!important;line-height:1.6!important;color:rgba(255,253,244,0.78)!important;max-width:360px;}
.cv-mood-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;}
.cv-mood-card{display:grid!important;grid-template-columns:100px 1fr!important;gap:18px!important;padding:14px!important;background:rgba(255,255,255,0.09)!important;border:1px solid rgba(255,255,255,0.08)!important;border-radius:22px!important;transition:transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease)!important;text-decoration:none!important;align-items:center!important;min-height:130px;}
.cv-mood-card:hover{transform:translateY(-2px)!important;background:rgba(255,255,255,0.13)!important;border-color:rgba(255,255,255,0.18)!important;}
.cv-mood-card img{width:100px!important;height:84px!important;border-radius:14px!important;object-fit:cover!important;transition:transform .6s var(--ease)!important;}
.cv-mood-card:hover img{transform:scale(1.015);}
.cv-mood-card small{display:inline-flex!important;margin-bottom:4px!important;color:#35e67c!important;font-size:10.5px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:0.08em!important;}
.cv-mood-card h3{font-size:19px!important;margin:0 0 5px!important;color:#fffdf4!important;letter-spacing:-.02em!important;line-height:1.1!important;}
.cv-mood-card p{font-size:13.5px!important;line-height:1.55!important;color:rgba(255,253,244,0.72)!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:280px;}
.cv-mood-panel .cv-kicker{color:#2ee878!important;margin-bottom:14px!important;}
.cv-tour-card .cv-tour-bottom{margin-top:auto;gap:12px;}
.cv-tour-card .cv-tour-ctas{display:flex;align-items:center;gap:10px;}
.cv-tour-rail.h-scroll{align-items:stretch;}
.cv-tour-rail.h-scroll .cv-tour-card{height:100%;}
.cv-more-tours .cv-section-head{margin-bottom:26px;}
.cv-more-tours .cv-tour-rail{padding-bottom:24px;}
@media (min-width:1180px){
  .cv-more-tours .cv-tour-rail{grid-template-columns:repeat(4,minmax(0,1fr));}
  .cv-more-tours .cv-tour-card:nth-child(n+5){display:none;}
}
@media (max-width:760px){
  .cv-tour-card .cv-tour-body{min-height:280px;}
  .cv-tour-card .cv-tour-ctas{display:grid;grid-template-columns:1fr 1.35fr;width:100%;}
  .cv-tour-card .cv-mini-link,.cv-tour-card .cv-mini-btn{width:100%;min-height:46px!important;font-size:13px!important;}
  .cv-story-banner{min-height:380px!important;border-radius:28px!important;}
  .cv-story-banner::before{background:linear-gradient(180deg, rgba(3,35,22,0.85) 0%, rgba(3,35,22,0.45) 50%, rgba(3,35,22,0.85) 100%)!important;}
  .cv-story-content{width:100%!important;padding:44px 22px!important;min-height:380px!important;align-items:center!important;text-align:center!important;}
  .cv-story-visual{position:absolute!important;inset:0!important;z-index:1!important;width:100%!important;height:100%!important;}
  .cv-story-banner h2{font-size:28px!important;line-height:1.08!important;margin-bottom:16px!important;}
  .cv-story-banner p{font-size:15px!important;margin-bottom:24px!important;}
  .cv-mood .cv-container.cv-mood-panel{grid-template-columns:1fr!important;gap:28px!important;padding:32px 20px!important;border-radius:28px!important;max-width:calc(100vw - 24px)!important;}
  .cv-mood-copy h2{font-size:30px!important;max-width:none;}
  .cv-mood-copy p{max-width:none;}
  .cv-mood-list{grid-template-columns:1fr!important;gap:12px!important;}
  .cv-mood-card{grid-template-columns:80px 1fr!important;gap:14px!important;padding:12px!important;min-height:auto;}
  .cv-mood-card img{width:80px!important;height:68px!important;border-radius:12px!important;}
  .cv-mood-card h3{font-size:17px!important;}
  .cv-mood-card p{font-size:13px!important;}
  .cv-why-grid{grid-template-columns:1fr!important;gap:30px!important;}
  .cv-why-copy h2{font-size:32px!important;}
  .cv-why-benefits{grid-template-columns:1fr!important;gap:14px!important;}
  .cv-why-benefits article{padding:20px!important;}
}


/* 20260512g: hard UI fixes from production QA */
.cv-more-tours .cv-tour-card{cursor:pointer;}
.cv-more-tours .js-hard-tour-link,.cv-more-tours .cv-force-tour-link,.cv-more-tours .cv-mini-link{cursor:pointer;pointer-events:auto;position:relative;z-index:30;}
.cv-more-tours .cv-tour-ctas{position:relative;z-index:40;}
.cv-more-tours .cv-tour-card::before,.cv-more-tours .cv-tour-card::after{pointer-events:none;}
@media(max-width:900px){
  .tour-card .tour-card-desc,.cat-tour-grid.mobile-swipe-ready .tour-card-desc,.hct-grid.mobile-swipe-ready .tour-card-desc,.cat-tour-grid .tour-card-desc,.hct-grid .tour-card-desc,.tour-slider .tour-card-desc,.td-related .tour-card-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:54px;color:rgba(255,255,255,.84);font-size:13px;line-height:1.38;margin:0 0 4px;}
  .cv-tour-card .cv-tour-body>p,.cv-tour-grid-primary .cv-tour-card .cv-tour-body>p,.cv-tour-rail .cv-tour-card .cv-tour-body>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:58px;font-size:14px;line-height:1.42;color:#51645b;margin:0;}
  .cv-tour-card .cv-tour-body{min-height:360px;}.tour-body{gap:9px;}
}
@media(max-width:520px){.tour-card .tour-card-desc,.cat-tour-grid.mobile-swipe-ready .tour-card-desc,.hct-grid.mobile-swipe-ready .tour-card-desc{min-height:50px;font-size:12.5px;-webkit-line-clamp:3;}.cv-tour-card .cv-tour-body>p{min-height:54px;font-size:13.5px;}}
.db-status-panel.db-ok{border-color:rgba(18,181,91,.28)!important;background:#f1fff1!important;}.db-status-panel.db-warn{border-color:rgba(226,149,0,.28)!important;background:#fff9e8!important;}


/* 20260512h: routing/UI/CRO QA hotfixes */

.site-header { width: 100%; }
.navbar{
  width:min(1320px,calc(100% - 24px))!important;
  max-width:none!important;
  margin:8px auto 0!important;
  border-radius:0 0 24px 24px!important;
}
.navlinks{gap:clamp(10px,1.45vw,22px)!important;white-space:nowrap!important;min-width:0!important;}
.navlinks>a,.nav-item>a{white-space:nowrap!important;letter-spacing:.045em!important;}
.nav-finder,.nav-whatsapp,.nav-cta{min-height:48px!important;padding:0 18px!important;border-radius:999px!important;font-weight:900!important;display:inline-flex;align-items:center;justify-content:center;}
.nav-finder{background:#f1ffd8!important;border:1px solid rgba(0,59,37,.12)!important;}
.nav-whatsapp{background:#edf8df!important;}
.nav-mobile-actions { display: contents; } /* Pass-through for desktop flexbox */

@media (max-width:1180px){.nav-whatsapp{display:none!important}.navlinks{gap:12px!important}.nav-finder,.nav-cta{padding:0 15px!important}}
@media (max-width:980px){.nav-finder{display:none!important}}

/* Mobile Menu Pill UI */
@media (max-width: 900px) {
  .nav-mobile-actions {
    display: grid !important;
    grid-template-columns: 1fr 2.6fr 1fr !important;
    gap: 6px !important;
    padding: 7px !important;
    background: rgba(0,43,27,.99) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25) !important;
    margin-top: 16px !important;
    width: 100% !important;
  }
  .nav-mobile-actions .nav-finder,
  .nav-mobile-actions .nav-cta,
  .nav-mobile-actions .nav-whatsapp {
    display: flex !important; /* Force visible inside the menu */
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 0 4px !important;
    margin: 0 !important;
  }
  .nav-mobile-actions .nav-finder { background: #5ceb5c !important; color: #032e18 !important; }
  .nav-mobile-actions .nav-cta { background: #c5ff00 !important; color: #022011 !important; }
  .nav-mobile-actions .nav-whatsapp { background: #1eb961 !important; color: #fff !important; }
}

/* Home hero: make image/background full viewport width instead of trapped inside a small rounded panel */
.cv-hero{
  margin:0 calc(50% - 50vw)!important;
  width:100vw!important;
  min-height:min(820px,calc(100svh - 70px))!important;
  padding:0 0 clamp(86px,7vw,132px)!important;
  display:grid!important;
  align-items:center!important;
  background-image:
    radial-gradient(circle at 18% 18%,rgba(168,255,24,.18),transparent 26rem),
    linear-gradient(105deg,rgba(0,35,23,.96) 0%,rgba(0,55,35,.82) 44%,rgba(0,65,42,.38) 100%),
    var(--cv-hero-img)!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:none!important;
}
.cv-hero::before{display:none;}
.cv-hero::after{height:118px;bottom:-56px;background:#f4ecd7;z-index:0;}
.cv-hero-grid{
  width:min(1320px,calc(100vw - 72px))!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:clamp(72px,7vw,118px) 0 clamp(66px,6vw,104px)!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  overflow:visible!important;
  position:relative!important;
  z-index:2!important;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,430px)!important;
}
.cv-hero-grid::after{display:none;}
.cv-hero-copy h1{font-size:clamp(58px,7.5vw,108px);max-width:780px;}
.cv-feature-card{max-width:430px;justify-self:end;}
.cv-trustbar strong{white-space:nowrap;}
@media(max-width:900px){
  .cv-hero{margin:0;width:100%;min-height:auto;padding:0 0 34px;}
  .cv-hero-grid{width:calc(100% - 28px);display:block;padding:38px 0 48px;}
  .cv-hero-copy h1{font-size:clamp(42px,14vw,60px);}
}

/* Popular choices rail: unified sizes + desktop drag/scroll */
.cv-more-tours .cv-section-head h2 { font-size: clamp(28px, 3.5vw, 42px) !important; }
.cv-more-tours .cv-tour-rail.h-scroll{
  display:flex!important;
  grid-template-columns:none!important;
  gap:22px!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  scroll-padding-inline:0!important;
  padding:4px 4px 28px!important;
  margin:0!important;
  cursor:grab!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:none!important;
}
@media (max-width: 900px) {
  .cv-more-tours .cv-tour-rail.h-scroll { scroll-snap-type:x mandatory!important; }
}
.cv-more-tours .cv-tour-rail.h-scroll::-webkit-scrollbar{display:none;}
.cv-more-tours .cv-tour-rail.h-scroll.dragging{cursor:grabbing; scroll-snap-type:none!important;}
.cv-more-tours .cv-tour-rail.h-scroll>.cv-tour-card{
  flex:0 0 calc((100% - 44px)/3)!important;
  min-width:320px!important;
  max-width:380px!important;
  scroll-snap-align:start!important;
}
.cv-more-tours .cv-tour-card:nth-child(n+5){display:flex;}
.cv-more-tours + .slider-controls,
.cv-more-tours .slider-controls,
.cv-tour-rail.h-scroll + .slider-controls{display:flex;justify-content:flex-end;gap:8px;width:min(1180px,calc(100% - 48px));margin:-12px auto 0;}
.cv-tour-rail.h-scroll + .slider-controls button{width:34px;height:34px;border-radius:50%;background:#fffdf3;color:#073322;border:1px solid rgba(0,59,37,.1);box-shadow:0 10px 24px rgba(0,43,27,.10);}
.cv-more-tours .cv-tour-card,
.cv-more-tours .cv-tour-card *{pointer-events:auto;}
.cv-more-tours .cv-tour-card::before,
.cv-more-tours .cv-tour-card::after{pointer-events:none;}
.cv-more-tours .cv-tour-ctas,.cv-more-tours .js-hard-tour-link,.cv-more-tours .cv-force-tour-link,.cv-more-tours .cv-mini-link,.cv-more-tours .cv-mini-btn{position:relative;z-index:99;pointer-events:auto;}
@media(max-width:760px){
  .cv-more-tours .cv-container { max-width: 100vw !important; padding: 0 !important; width: 100% !important; margin: 0 !important; }
  .cv-more-tours .cv-section-head { padding: 0 20px !important; }
  .cv-more-tours .cv-tour-rail.h-scroll { padding: 4px 20px 28px !important; scroll-padding-left: 20px !important; gap: 16px !important; }
  .cv-more-tours .cv-tour-rail.h-scroll>.cv-tour-card{flex:0 0 80vw!important;min-width:80vw!important;max-width:80vw!important;}
}

/* Category hero contrast fix: stop overlay from sitting above copy/media */
.cat-hero{isolation:isolate;position:relative;}
.cat-hero::before{z-index:0;pointer-events:none;}
.cat-hero::after{z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(0,38,24,.28),rgba(0,38,24,.06));}
.cat-hero>*{position:relative;z-index:2;opacity:1;filter:none;}
.cat-hero-copy h1,.cat-hero-copy p,.cat-hero .cat-kicker,.cat-hero-highlights span,.cat-hero-actions .cat-btn{opacity:1;filter:none;}
.cat-hero-copy h1{color:#fffdf2;text-shadow:0 4px 28px rgba(0,0,0,.35);}
.cat-hero-copy>p{color:rgba(255,255,255,.92);}
.cat-hero-media{z-index:3;}

/* What-to-expect block: improve readability and spacing */
.cat-expect-section{align-items:stretch;}
.cat-expect-card{background:linear-gradient(160deg,#05331f,#075235);border:1px solid rgba(255,255,255,.1);border-radius:34px;padding:34px;box-shadow:var(--shadow-md);}
.cat-expect-card h2,.cat-expect-card p{color:#fffdf2;}
.cat-expect-card p{opacity:.88;}
.cat-expect-card .cat-inline-link{color:#d7ff36;}
.cat-timeline article{background:#fffdf3;border:1px solid rgba(0,59,37,.10);box-shadow:0 14px 34px rgba(0,43,27,.07);}
.cat-timeline article h3{color:#082c1e;}
.cat-timeline article p{color:#53665d;}
.cat-timeline article>span{background:#e2ffd0;color:#09261a;}

/* Footer socials: no more FA/IN/TI oversized blobs */
.footer-socials{display:flex!important;gap:10px!important;align-items:center!important;margin-top:14px!important;}
.footer-socials a{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.10)!important;color:#fff!important;font-size:12px!important;line-height:1!important;font-weight:900!important;letter-spacing:.02em!important;text-transform:uppercase!important;transform:none!important;}
.footer-socials a:hover{background:rgba(168,255,24,.18)!important;color:#d7ff36!important;transform:translateY(-2px)!important;}

/* Dedicated About page */
.about-hero{padding:36px 0 28px!important;}
.about-hero-inner{width:min(1180px,calc(100% - 48px));margin:0 auto;min-height:560px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;padding:clamp(38px,6vw,76px);border-radius:42px;overflow:hidden;background:linear-gradient(92deg,rgba(0,35,23,.90),rgba(0,35,23,.44)),var(--about-img) center/cover no-repeat;box-shadow:var(--shadow-lg);}
.about-hero-inner h1{max-width:820px;margin:0;color:#fffdf2;font-size:clamp(48px,7vw,104px);line-height:.88;letter-spacing:-.075em;text-shadow:0 16px 46px rgba(0,0,0,.32);}
.about-hero-inner p{max-width:760px;margin:0;color:rgba(255,253,242,.9);font-size:clamp(17px,1.7vw,22px);line-height:1.5;font-weight:800;}
.about-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;}
.about-section{padding:72px 0!important;}
.about-intro-grid,.about-values-panel{display:grid;grid-template-columns:1.08fr .72fr;gap:42px;align-items:center;}
.about-intro h2,.about-guides h2,.about-values h2,.about-cta h2{font-size:clamp(38px,5vw,72px)!important;line-height:.92!important;color:#09261a!important;}
.about-intro p{font-size:17px;line-height:1.68;color:#53665d;}
.about-proof-card{display:grid;gap:13px;padding:30px;border-radius:30px;background:linear-gradient(145deg,#073322,#0c5939);color:#fffdf2;box-shadow:var(--shadow-md);}
.about-proof-card strong{color:#d7ff36;font-size:34px;line-height:.96;}
.about-proof-card span{padding:13px 15px;border-radius:16px;background:rgba(255,255,255,.10);font-weight:900;color:#eef9e5;}
.about-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.about-guide-grid article{padding:26px;border-radius:26px;background:#fffdf3;border:1px solid rgba(0,59,37,.10);box-shadow:0 14px 34px rgba(0,43,27,.07);}
.about-guide-grid h3{font-size:25px;line-height:1;color:#09261a;}
.about-guide-grid p{font-size:15px;line-height:1.55;}
.about-values-panel{padding:42px;border-radius:34px;background:#fffdf3;border:1px solid rgba(0,59,37,.10);box-shadow:var(--shadow-sm);}
.about-value-list{display:grid;gap:14px;}
.about-value-list article{display:grid;grid-template-columns:42px 1fr;gap:15px;padding:17px;border-radius:22px;background:#eff8df;}
.about-value-list span{width:42px;height:42px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#d7ff36,#51d36d);color:#09261a;font-weight:900;}
.about-value-list h3{margin:0 0 4px;color:#09261a;font-size:22px;}
.about-value-list p{margin:0;font-size:15px;line-height:1.48;}
.about-cta-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:42px;border-radius:34px;background:linear-gradient(120deg,#073322,#0a5838);box-shadow:var(--shadow-lg);}
.about-cta-panel h2,.about-cta-panel p{color:#fffdf2!important;}
.about-cta-panel p{opacity:.86;}
@media(max-width:900px){
  .about-hero{padding:18px 0 18px!important;}
  .about-hero-inner{width:calc(100% - 24px);min-height:430px;border-radius:28px;padding:28px;}
  .about-intro-grid,.about-values-panel,.about-guide-grid{grid-template-columns:1fr!important;}
  .about-cta-panel{display:block;padding:28px;border-radius:28px;}
  .about-cta-panel .cv-btn{width:100%;margin-top:18px;}
}


/* ==========================================================================
   UNIFIED PREMIUM SYSTEM: CARDS, BUTTONS & PACING
   Source of Truth for HANOITOUR.TOURS (20260513)
   ========================================================================== */

/* 1. Global Typography & Mobile-first Spacing */
h1, h2, h3, .cv-section h2, .cat-section h2, .td-section h2, .section h2 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.cv-section, .section, .cat-section, .td-section {
  padding-top: 48px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .cv-section, .section, .cat-section, .td-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

/* 2. Unified Premium Card Architecture (Flat & Subtle) */
.cv-feature-card, 
.cv-tour-card, 
.tour-card, 
.cat-booking-card, 
.td-book-card,
.cv-review-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  background: #ffffff;
  color: #09261a;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.cv-feature-card:hover, 
.cv-tour-card:hover, 
.tour-card:hover, 
.cat-booking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.td-book-card { padding: 30px; }

/* 3. Card Internal Structure (Contrast & Readability) */
.cv-tour-body, .tour-body { padding: 22px; display: flex; flex-direction: column; min-height: 330px; }
.cv-tour-body p, .tour-body p, .tour-card-desc { color: #53665d; opacity: 1; text-shadow: none; font-size: 14px; margin-top: 8px; line-height: 1.5; }
.cv-tour-body h3, .tour-body h3, .cv-tour-body h3 a, .tour-body h3 a { color: #09261a; text-shadow: none; font-weight: 800; text-decoration: none; }

/* Review Line */
.cv-tour-proof, .tour-proof-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; color: #53665d; }
.cv-tour-proof b, .tour-proof-row b { font-weight: 700; color: #003b25; font-size: 15px; }
.cv-tour-proof small, .tour-proof-row small { font-weight: 500; color: #6b8076; font-size: 13.5px; }
.cv-tour-proof span[aria-hidden], .tour-proof-row span[aria-hidden] { color: #d4af37; font-size: 14px; letter-spacing: 0.05em; opacity: 0.9; }

/* Price Block */
.cv-price, .tour-price-grid { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cv-price small, .tour-price-grid small { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #6b8076; font-weight: 700; }
.cv-price del, .tour-price-grid del { font-size: 14px; color: #8a9992; text-decoration: line-through; font-weight: 500; margin-right: 4px; }
.cv-price strong, .tour-price-grid strong, .td-book-card strong { font-size: 22px; font-weight: 800; color: #003b25; line-height: 1; text-shadow: none; }
.cv-price span, .tour-price-grid span { font-size: 13px; color: #6b8076; font-weight: 500; }

/* Fix Card Bottom alignment */
.cv-tour-bottom { margin-top: auto; }

/* 4. Unified Button System (Strictly NO NEON) */
.cv-tour-ctas { display: flex; gap: 10px; align-items: center; margin-top: auto; width: 100%; position: relative; z-index: 50; }

.cv-btn, .cat-btn, .td-btn, .cv-mini-btn, .cv-mini-link, .explore-btn, .td-book-card a {
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/* Primary Button (Solid Eco-Green) */
.cv-btn-primary, .cat-btn-primary, .td-btn-primary, .cv-mini-btn, .explore-btn, .td-book-card a, .booking-actions button, .matchmaker-panel button, .finder-submit, .footer-cta {
  background: #0f9b4f !important; /* Force override any lingering gradients in core */
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 155, 79, 0.15) !important;
}
.cv-btn-primary:hover, .cat-btn-primary:hover, .td-btn-primary:hover, .cv-mini-btn:hover, .explore-btn:hover, .td-book-card a:hover {
  background: #0d8744 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(15, 155, 79, 0.25) !important;
}

/* Secondary Button (Ghost/Subtle) */
.cv-mini-link, .cat-btn-ghost, .td-btn-ghost {
  background: transparent !important;
  color: #075a38 !important;
  border: 1px solid rgba(0, 59, 37, 0.15) !important;
  box-shadow: none !important;
}
.cv-btn-secondary {
  background: transparent !important;
  color: #075a38 !important;
  border: 1px solid rgba(0, 59, 37, 0.15) !important;
  box-shadow: none !important;
}
/* On dark backgrounds: story banner, reviews, mood */
.cv-story-banner .cv-btn-secondary,
.cv-reviews-section .cv-btn-secondary,
.cv-mood-panel .cv-btn-secondary {
  background: rgba(215,255,54,.18) !important;
  color: #d7ff36 !important;
  border: 1px solid rgba(215,255,54,.35) !important;
  font-weight: 800 !important;
}
.cv-mini-link:hover, .cv-btn-secondary:hover {
  background: rgba(0, 59, 37, 0.04) !important;
  border-color: rgba(0, 59, 37, 0.25) !important;
  transform: translateY(-1px) !important;
}
.cv-story-banner .cv-btn-secondary:hover,
.cv-reviews-section .cv-btn-secondary:hover {
  background: rgba(215,255,54,.28) !important;
  color: #d7ff36 !important;
}

/* Base button sizes */
.cv-mini-btn, .cv-mini-link { min-height: 44px; font-size: 14px; flex: 1; padding: 0 16px; }

/* 5. Trust Signals & Sticky CTA */
.cv-partner-row { filter: grayscale(100%) opacity(0.6); transition: all 0.3s ease; }
.cv-partner-row:hover { filter: grayscale(0%) opacity(1); }
/* .cv-benefit-grid span { background: #f4ecd5; color: #0f9b4f; } */

@media (max-width: 760px) {
  .cv-tour-ctas { flex-direction: column; }
  .cv-mini-btn, .cv-mini-link { width: 100%; }
  
  .mobile-book-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 43, 27, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    height: auto;
  }
  .mobile-book-bar a { min-height: 44px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* 6. Fix CLS Aspect Ratios & Focus States */
.cv-feature-media img, .cv-tour-media img, .td-gallery img, .tour-image img { aspect-ratio: 4/3; }
.cv-mood-card img { aspect-ratio: 16/9; }
a:focus-visible, button:focus-visible { outline: 2px solid #51d36d; outline-offset: 2px; }

/* Remove any weird text selection blocks from core */
.cv-tour-card::before, .cv-tour-card::after { display: none !important; }

/* ==========================================================================
   PREMIUM MOTION & INTERACTION SYSTEM (2026-05-13)
   ========================================================================== */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-hover: cubic-bezier(0.2, 0.8, 0.2, 1);
  
  --motion-fast: 0.15s var(--ease-out);
  --motion-normal: 0.3s var(--ease-out);
  --motion-slow: 0.6s var(--ease-out);
  --motion-reveal: 0.8s var(--ease-out);
}

/* 1. Scroll Reveal System (Hardware Accelerated) */
body .reveal {
  opacity: 0.01 !important; /* Overriding any global opacity */
  transform: translateY(16px) !important;
  transition: opacity var(--motion-reveal), transform var(--motion-reveal) !important;
  will-change: opacity, transform;
}
body .reveal.in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Protect Above-The-Fold Elements */
.cv-hero .reveal, .cv-hero .reveal.in,
.hero .reveal, .hero .reveal.in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Staggered Grid Reveal */
.cv-tour-grid > *:nth-child(1) { transition-delay: 0s !important; }
.cv-tour-grid > *:nth-child(2) { transition-delay: 0.05s !important; }
.cv-tour-grid > *:nth-child(3) { transition-delay: 0.1s !important; }
.cv-tour-grid > *:nth-child(4) { transition-delay: 0.15s !important; }
.cv-tour-grid > *:nth-child(n+5) { transition-delay: 0.16s !important; }

/* 2. Subtle Premium Hover System */
/* Depth of field image scale */
.cv-tour-media img, .td-gallery img, .cv-experience-card img {
  transition: transform var(--motion-slow);
}
.cv-tour-card:hover .cv-tour-media img,
.tour-card:hover .tour-image img,
.cat-booking-card:hover .cv-tour-media img,
.cv-experience-card:hover img {
  transform: scale(1.02);
}

/* Smooth Buttons */
.cv-btn, .cat-btn, .td-btn, .cv-mini-btn, .cv-mini-link, .explore-btn, .td-book-card a {
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast) !important;
}
.cv-btn:active, .cv-mini-btn:active, .explore-btn:active, .cv-mini-link:active {
  transform: scale(0.98) !important;
}

/* 3. Image Loading Polish */
@keyframes subtleFade {
  from { opacity: 0; filter: blur(2px); }
  to { opacity: 1; filter: blur(0); }
}
img[loading="lazy"] {
  animation: subtleFade 0.6s var(--ease-out) forwards;
}

/* 4. UI Polish / Depth */
.cv-experience-card {
  transition: transform var(--motion-normal), box-shadow var(--motion-normal);
}
.cv-experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.cv-experience-card p {
  color: #fff !important;
  opacity: 0.95 !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
  font-size: 14px !important;
  margin-bottom: 12px !important;
}
.cv-experience-card h3 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

/* 5. Mobile & Reduced Motion Safe */
@media (max-width: 760px) {
  body .reveal {
    transform: none !important;
    transition: opacity 0.5s ease !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   MEGA MENU REFINEMENT (Premium + Cleaner)
   ========================================================================== */

/* A. Layout */
.mega-menu {
  display: flex;
  gap: 32px;
  max-height: 85vh; /* Giảm chiều cao tổng menu */
}
.mega-left {
  flex: 0 0 300px; /* Cột trái fixed width 280-320px */
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mega-right {
  flex: 1;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; /* Khoảng cách đồng đều */
}

/* B. Tour cards */
.mega-tour {
  position: relative;
  aspect-ratio: 4/3; /* Aspect-ratio đồng nhất */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  text-decoration: none;
  background: #f7f7f7;
}
.mega-tour .thumb {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: var(--mega-img);
  background-size: cover;
  background-position: center;
  transition: transform var(--motion-slow);
}
.mega-tour::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.mega-tour span:not(.thumb) {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  padding-right: 32px; /* Không để text sát mép phải */
}
.mega-tour b {
  position: absolute;
  top: 12px; right: 12px;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  z-index: 2;
  transition: transform var(--motion-fast);
}

/* C. Hover effect */
.mega-tour:hover .thumb {
  transform: scale(1.02);
}
.mega-tour:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.mega-tour:hover b {
  transform: rotate(-8deg);
}

/* D. Typography */
.mega-cat strong {
  font-weight: 600;
  line-height: 1.4;
}
.mega-cat em {
  opacity: 0.7; /* Giảm opacity nhẹ */
}
/* Giảm tracking của text xanh */
.mega-cat.active strong, .mega-cat:hover strong {
  letter-spacing: normal;
}

/* E. Responsive Mega Menu */
@media (max-width: 900px) {
  .mega-menu {
    flex-direction: column;
    max-height: none;
  }
  .mega-left {
    flex: none;
    width: 100%;
  }
  .mega-right {
    width: 100%;
  }
  .mega-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 16px;
    margin: 0 -16px;
    padding-inline: 16px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  .mega-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Safari/Chrome */
  }
  .mega-tour {
    flex: 0 0 75%;
    scroll-snap-align: center;
  }
}

/* ==========================================================================
   TOUR FINDER REFINEMENT (Conversion-focused)
   ========================================================================== */

/* A. Layout & spacing */
.tour-finder-panel {
  padding: 40px 24px;
}
.finder-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 28px; /* Tăng vertical rhythm */
}
.finder-icon-options {
  margin-bottom: 8px;
}

/* B. Selection cards */
.finder-icon-options label {
  background: #fcfbf8; /* Cream nhẹ */
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 16px 12px;
  transition: background var(--motion-normal), border-color var(--motion-normal), box-shadow var(--motion-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 90px; /* Đồng đều height */
}
.finder-icon-options label:hover {
  background: #ffffff; /* Hover brighten nhẹ */
}
.finder-icon-options label:has(input:checked) {
  background: linear-gradient(145deg, #f0fdf4, #ffffff); /* Green gradient subtle */
  border-color: #0f9b4f;
  box-shadow: inset 0 0 0 1px rgba(15, 155, 79, 0.1), 0 4px 16px rgba(15, 155, 79, 0.08); /* Soft inner glow & outer shadow */
}

/* C. Inputs */
.finder-grid-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.finder-nice-fields select,
.finder-nice-fields input {
  height: 52px; /* Height đồng nhất */
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 0 16px;
  transition: all var(--motion-fast);
  background: #fff;
  width: 100%;
}
.finder-nice-fields select:focus,
.finder-nice-fields input:focus {
  outline: none;
  border-color: #0f9b4f;
  box-shadow: 0 0 0 3px rgba(15, 155, 79, 0.15), 0 2px 12px rgba(0,0,0,0.04);
}
.finder-nice-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* D. CTA Button */
.finder-submit-wrap {
  margin-top: 12px;
  text-align: center;
}
.finder-form-v2 .cv-btn-primary {
  width: 100%;
  max-width: 400px;
  height: 56px;
  display: inline-flex;
  margin: 0 auto;
}

/* E. Sticky Mobile CTA safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-book-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 760px) {
  .tour-finder-panel { padding: 32px 18px 100px; }
  .finder-form-v2 { gap: 24px; }
  .finder-form-v2 legend {
    color: #07351f !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    font-size: 16px !important;
    margin-bottom: 14px !important;
    display: block !important;
  }
  .finder-form-v2 .finder-icon-options {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }
  .finder-form-v2 .finder-icon-options.compact {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .finder-icon-options label {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
    padding: 12px 14px !important;
    min-height: 76px !important;
    gap: 10px !important;
  }
  .finder-icon-options label span {
    font-size: 24px !important;
    flex-shrink: 0;
    margin: 0 !important;
  }
  .finder-icon-options label strong {
    font-size: 13.5px !important;
    margin: 0 !important;
    display: block !important;
    line-height: 1.2;
  }
  .finder-icon-options label em {
    font-size: 11px !important;
    display: block !important;
    font-style: normal;
    color: #536b61;
    margin-top: 1px;
  }
  .finder-grid-inputs {
    grid-template-columns: 1fr;
    gap: 14px !important;
  }
  .finder-nice-fields select,
  .finder-nice-fields input {
    height: 48px !important;
    font-size: 15px !important;
  }
  .finder-submit {
    height: 52px !important;
    font-size: 15px !important;
  }
  .finder-nice-fields label {
    color: #07351f !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    margin-bottom: 4px;
  }
}





/* ==========================================================================
   HERO DESCRIPTION CONTRAST FIX
   ========================================================================== */
.cv-hero-copy p {
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  font-weight: 500 !important;
  max-width: 580px !important;
}

.cv-hero-actions .cv-btn-secondary {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  transition: all 0.2s ease !important;
}
.cv-hero-actions .cv-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Hero microcopy */
.cv-hero-microcopy {
  margin-top: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 13.5px !important;
  color: rgba(255,255,255,.78) !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.15) !important;
}
.cv-hero-microcopy span {
  display: flex;
  align-items: center;
  gap: 5px;
}
@media (max-width: 760px) {
  .cv-hero-microcopy { justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px !important; }
}

/* Partners & Stats */
.cv-partners {
  background: #fffdf4;
  padding: 100px 0 90px;
}
.cv-partners .cv-section-head {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 820px;
  margin: 0 auto 64px;
}
.cv-partners .cv-kicker {
  display: table;
  margin: 0 auto 20px;
  background: #efffd2;
  color: #0f9b4f;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.cv-partners .cv-section-head h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 auto 24px;
  text-wrap: pretty;
  max-width: 820px;
}
.cv-partners .cv-section-head p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 24px auto 0;
}
.cv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.cv-stat-card {
  padding: 34px 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 43, 27, 0.04);
}
.cv-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 43, 27, 0.08);
  background: #ffffff;
}
.cv-stat-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.cv-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

/* Marquee */
.cv-partners-marquee {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.cv-marquee-track {
  display: flex;
  width: max-content;
  animation: cv-marquee 40s linear infinite;
  gap: 18px;
}
.cv-partners-marquee:hover .cv-marquee-track {
  animation-play-state: paused;
}
@keyframes cv-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cv-partner-card {
  flex: 0 0 200px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cv-partner-card:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow-sm);
}
.cv-partner-card img {
  max-width: 100px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.3s ease;
}
.cv-partner-card:hover img {
  filter: grayscale(0) opacity(1);
}
.cv-partner-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.cv-partner-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5f7e8;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--forest);
  font-size: 18px;
}

/* Partners responsive */
@media (max-width: 991px) {
  .cv-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cv-stat-value { font-size: 34px; }
  .cv-marquee-track { animation-duration: 32s; }
}
@media (max-width: 640px) {
  .cv-partners { padding: 40px 0; }
  .cv-partners .cv-section-head { margin-bottom: 30px; }
  .cv-partners .cv-section-head h2 { font-size: 26px; }
  .cv-partners .cv-section-head p { font-size: 15px; }
  .cv-stats-grid { gap: 10px; margin-bottom: 30px; }
  .cv-stat-card { padding: 18px 10px; border-radius: 18px; }
  .cv-stat-value { font-size: 28px; }
  .cv-stat-label { font-size: 12.5px; }
  .cv-partner-card { flex: 0 0 150px; height: 110px; border-radius: 18px; }
  .cv-partner-card span { font-size: 12px; }
  .cv-partner-placeholder { width: 40px; height: 40px; font-size: 16px; }
  .cv-marquee-track { animation-duration: 55s; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cv-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 14px;
  }
  .cv-partner-card { flex: 0 0 auto; min-width: 140px; }
}

/* ==========================================================================
   HANOI TOURS PAGE REFINEMENT (.hanoi-tours-page)
   Visual polish only — no layout/structure changes
   ========================================================================== */

.hanoi-tours-page {
  --ht-container: 1280px;
  --ht-forest: #07351f;
  --ht-soft: #fffdf4;
  --ht-border: rgba(7, 53, 31, 0.08);
  background: var(--ht-soft);
}

/* 1. Layout & Section Spacing — scaled up ~10% */
.hanoi-tours-page .section {
  padding: 96px 0;
}
.hanoi-tours-page .hct-wrap {
  max-width: var(--ht-container);
  width: min(var(--ht-container), calc(100% - 64px));
  margin: 0 auto;
}
.hanoi-tours-page .section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hanoi-tours-page .section-head p {
  font-size: 17px;
  line-height: 1.65;
  color: #536b61;
  max-width: 720px;
}

/* 2. Hero — more presence + lime gradient */
.hanoi-tours-hero {
  background: linear-gradient(160deg, #073322 0%, #0a5e3a 50%, #0d7a4a 100%);
  color: #fff;
  padding: 120px 32px 120px !important;
  text-align: center;
  border-radius: 0 0 42px 42px;
  position: relative;
  z-index: 1;
}
.hanoi-tours-hero h1 {
  font-size: clamp(46px, 6.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hanoi-tours-hero p {
  font-size: 20px;
  opacity: 0.88;
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
body .hanoi-tours-page .hub-hero-proof {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.9) !important;
  flex-wrap: wrap !important;
  margin-top: 10px !important;
}
body .hanoi-tours-page .hub-hero-proof span {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  backdrop-filter: blur(4px) !important;
}

/* 3. Matchmaker (Finder) — wider, more prominent */
.hanoi-tours-page .tour-matchmaker {
  background: #fff;
  border-radius: 32px;
  padding: 56px;
  margin: -64px auto 0;
  max-width: var(--ht-container);
  width: min(var(--ht-container), calc(100% - 64px));
  box-shadow: 0 40px 100px rgba(7, 53, 31, 0.1);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(0,0,0,0.04);
}
.matchmaker-copy span {
  display: table;
  padding: 7px 16px;
  background: #efffd2;
  color: #0f9b4f;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.matchmaker-copy h2 {
  font-size: 38px;
  line-height: 1.08;
  color: var(--ht-forest);
  margin-bottom: 20px;
}
.matchmaker-copy p {
  color: #536b61;
  line-height: 1.65;
  font-size: 16px;
}
.matchmaker-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.matchmaker-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ht-forest);
}
.matchmaker-fields select {
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(7, 53, 31, 0.1);
  padding: 0 18px;
  background: #fcfbf8;
  font-weight: 500;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
}
.matchmaker-fields select:focus {
  border-color: #0f9b4f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 155, 79, 0.1);
}
.matchmaker-panel button {
  grid-column: 1 / -1;
  height: 58px;
  background: linear-gradient(135deg, #10a846, #00873b);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  margin-top: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 14px 28px rgba(0, 135, 59, 0.15);
}

/* 4. Filter Control Panel — roomier */
.hct-filters {
  background: #fff !important;
  border: 1px solid var(--ht-border) !important;
  border-radius: 28px !important;
  padding: 36px !important;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.025) !important;
  margin-bottom: 36px !important;
}
.hct-filter-group {
  margin: 14px 0 !important;
}
.hct-filter-group > span {
  min-width: 100px;
  font-size: 12.5px;
}
.hct-filter {
  background: #f1f5eb !important;
  color: #536b61 !important;
  padding: 11px 20px !important;
  font-size: 13px !important;
  transition: all 0.2s ease !important;
}
.hct-filter:hover {
  background: #e4ead9 !important;
  color: var(--ht-forest) !important;
}
.hct-filter.active {
  background: var(--ht-forest) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(7, 53, 31, 0.15);
}
.hct-tools {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  margin-bottom: 28px;
}
.hct-tools label {
  font-weight: 800 !important;
  font-size: 14px !important;
  color: var(--ht-forest) !important;
}
.hct-tools input, .hct-tools select {
  height: 56px !important;
  border-radius: 16px !important;
  border: 1px solid var(--ht-border) !important;
  background: #fff !important;
  font-size: 15px !important;
}
body .hanoi-tours-page .hct-result-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-align: left !important;
  margin: 32px 0 24px !important;
  width: 100% !important;
}
body .hanoi-tours-page .hct-result-bar strong {
  font-size: 18px !important;
  color: var(--ht-forest) !important;
}
body #hct-reset {
  margin-left: auto !important;
  background: #e8f5e9 !important;
  color: #073322 !important;
  border: 1px solid rgba(7, 51, 34, 0.1) !important;
}

/* 5. Tour Cards — New Professional White Design (v2) */
body .hct-grid {
  gap: 28px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: 48px !important;
}
.hct-card-v2 {
  background: #fff !important;
  border-radius: 28px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 12px 42px rgba(0,0,0,0.04) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1) !important;
  height: 100% !important;
}
.hct-card-v2:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 30px 60px rgba(7, 53, 31, 0.08) !important;
}
.hct-v2-media {
  position: relative !important;
  aspect-ratio: 1.25 / 1 !important;
  overflow: hidden !important;
}
.hct-v2-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s ease !important;
}
.hct-card-v2:hover .hct-v2-media img { transform: scale(1.06); }

.hct-v2-logo {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  width: 52px !important;
  height: 52px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.15)) !important;
  z-index: 5 !important;
}
.hct-v2-badge-top {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: #d9f99d !important;
  color: #1a2e05 !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.hct-v2-badge-bottom {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  background: rgba(7, 51, 34, 0.9) !important;
  color: #fff !important;
  padding: 6px 16px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  backdrop-filter: blur(4px) !important;
}

.hct-v2-body {
  padding: 22px 24px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
.hct-v2-proof {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}
.hct-v2-stars { color: #f59e0b !important; font-size: 13px !important; }
.hct-v2-proof strong { color: #073322 !important; font-size: 15px !important; font-weight: 800 !important; }
.hct-v2-proof small { color: #6b7280 !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: 0.01em !important; }

.hct-v2-body h3 {
  margin: 0 0 14px !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}
.hct-v2-body h3 a { color: #073322 !important; text-decoration: none !important; font-weight: 800 !important; }

.hct-v2-desc {
  color: #4b5563 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.hct-v2-divider {
  height: 1px !important;
  background: #f1f1f1 !important;
  margin-bottom: 20px !important;
}

.hct-v2-price-row {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin-bottom: 20px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.hct-v2-price-row del { font-size: 15px !important; color: #9ca3af !important; }
.hct-v2-price {
  font-size: 28px !important;
  color: #073322 !important;
  font-weight: 900 !important;
}
.hct-v2-unit { font-size: 15px !important; font-weight: 600 !important; }

.hct-v2-actions {
  display: grid !important;
  grid-template-columns: 1fr 1.6fr !important;
  gap: 12px !important;
  margin-top: auto !important;
}
.hct-v2-btn-ghost {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 54px !important;
  border-radius: 999px !important;
  border: 1px solid #e5e7eb !important;
  color: #073322 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.hct-v2-btn-ghost:hover { background: #f9fafb !important; border-color: #d1d5db !important; }

.hct-v2-btn-solid {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 54px !important;
  border-radius: 999px !important;
  background: #10a37f !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 163, 127, 0.2) !important;
  transition: all 0.2s ease !important;
}
.hct-v2-btn-solid:hover { background: #0d8a6b !important; transform: translateY(-2px) !important; box-shadow: 0 6px 20px rgba(16, 163, 127, 0.3) !important; }

/* 6. Which Tour Fits — centered & bolder */
body .hanoi-tours-page .hub-compare {
  background: #f1f5eb !important;
  border-radius: 42px !important;
  padding: 96px 64px !important;
  margin: 72px auto !important;
  max-width: var(--ht-container) !important;
  width: min(var(--ht-container), calc(100% - 64px)) !important;
  display: block !important;
}
body .hanoi-tours-page .hub-compare .section-head {
  text-align: center !important;
  max-width: 660px !important;
  margin: 0 auto 56px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
body .hanoi-tours-page .hub-compare .section-head h2 {
  font-size: clamp(30px, 4vw, 44px) !important;
  margin-bottom: 16px !important;
  color: var(--ht-forest) !important;
}
body .hanoi-tours-page .hub-compare .section-head p {
  max-width: 520px !important;
  text-align: center !important;
  margin: 0 auto !important;
}
body .hanoi-tours-page .compare-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  max-width: var(--ht-container) !important;
  margin: 0 auto !important;
}
body .hanoi-tours-page .compare-grid article {
  background: #fff !important;
  padding: 44px 32px !important;
  border-radius: 24px !important;
  text-align: center !important;
  border: 1px solid rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.02) !important;
}
body .hanoi-tours-page .compare-grid article:hover {
  border-color: #0f9b4f !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.06) !important;
  transform: translateY(-4px) !important;
}
body .hanoi-tours-page .compare-grid article strong {
  font-size: 20px !important;
  color: var(--ht-forest) !important;
  display: block !important;
  margin-bottom: 16px !important;
}
body .hanoi-tours-page .compare-grid article p {
  color: #536b61 !important;
  line-height: 1.65 !important;
  font-size: 14px !important;
  margin-bottom: 18px !important;
}
body .hanoi-tours-page .compare-grid article a {
  font-weight: 800 !important;
  color: #0f9b4f !important;
  font-size: 14px !important;
  text-decoration: none !important;
}

/* 7. FAQ — stronger contrast & presence */
.hanoi-tours-page .faq-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 24px !important;
}
.hanoi-tours-page .faq-block h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--ht-forest);
}
.hanoi-tours-page details {
  background: #fff;
  border: 1px solid rgba(7, 53, 31, 0.08);
  border-radius: 18px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.hanoi-tours-page details[open] {
  border-color: #0f9b4f;
  box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.hanoi-tours-page summary {
  padding: 22px 28px;
  font-weight: 800;
  font-size: 16px;
  color: var(--ht-forest);
  cursor: pointer;
}
.hanoi-tours-page details p {
  padding: 0 28px 22px;
  line-height: 1.7;
  color: #3d5a4d;
  font-size: 15px;
}

/* 8. Mobile — readability & spacing tweaks */
@media (max-width: 1024px) {
  body .hct-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 760px) {
  body .hanoi-tours-page .section { padding: 52px 0 !important; }
  body .hanoi-tours-page .hanoi-tours-hero { padding: 88px 20px 68px !important; }
  body .hanoi-tours-page .hanoi-tours-hero h1 { font-size: 34px !important; }
  body .hanoi-tours-page .hanoi-tours-hero p { font-size: 16px !important; margin-bottom: 24px !important; }

  body .hanoi-tours-page .hct-wrap { width: 100% !important; padding: 0 16px !important; }
  
  /* 1. Hero: Center kicker and pull proof pills closer */
  body .hanoi-tours-page .hanoi-tours-hero .script { 
    display: block !important; 
    text-align: center !important; 
    width: 100% !important; 
    margin-bottom: 12px !important; 
  }
  .hanoi-tours-hero p { margin-bottom: 20px !important; }
  body .hanoi-tours-page .hub-hero-proof { margin-top: 0 !important; }

  /* 2. Matchmaker: 2 columns and tighter spacing */
  .hanoi-tours-page .tour-matchmaker {
    grid-template-columns: 1fr !important;
    padding: 24px 16px !important;
    margin-top: -36px !important;
    gap: 16px !important;
  }
  .matchmaker-fields { 
    grid-template-columns: 1fr 1fr !important; 
    gap: 12px 10px !important; 
  }
  .matchmaker-fields > div label { font-size: 11px !important; margin-bottom: 4px !important; }
  .matchmaker-fields select { height: 44px !important; font-size: 13px !important; padding: 0 8px !important; }
  .matchmaker-panel button { height: 48px !important; margin-top: 4px !important; font-size: 14px !important; }

  /* 3. Filters: Tighter vertical spacing */
  .hct-filters { padding: 14px 12px !important; margin-bottom: 20px !important; }
  .hct-filter-group {
    margin: 0 0 6px !important;
    gap: 6px !important;
  }
  .hct-filter-group > span { min-width: 70px !important; font-size: 10px !important; }
  .hct-filter { padding: 6px 12px !important; font-size: 12px !important; }
  .hct-tools { 
    grid-template-columns: 1fr !important; 
    gap: 12px !important; 
    margin-top: 16px !important; 
  }
  .hct-tools > div { width: 100% !important; }
  .hct-tools input, .hct-tools select { width: 100% !important; }

  /* Align Result Bar (Count & Reset Button) */
  .hct-result-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 20px 0 10px !important;
    padding: 0 4px !important;
  }
  .hct-result-bar strong {
    margin: 0 !important;
    font-size: 15px !important;
    color: #073322 !important;
  }
  #hct-reset {
    margin: 0 !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
  }

  /* 4. Tour Cards — horizontal scroll sync */
  body .hct-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 16px !important;
    margin: 0 -16px !important;
    padding: 0 16px 32px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body .hct-grid::-webkit-scrollbar { display: none !important; }
  .hct-card-v2 {
    flex: 0 0 85vw !important;
    scroll-snap-align: center !important;
    min-width: 0 !important;
    border-radius: 24px !important;
  }
  .hct-v2-media { aspect-ratio: 1.4 / 1 !important; }
  .hct-v2-body { padding: 20px !important; }
  .hct-v2-body h3 { font-size: 20px !important; margin-bottom: 12px !important; }
  .hct-v2-desc { 
    font-size: 14px !important; 
    margin-bottom: 16px !important; 
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; 
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .hct-v2-price { font-size: 28px !important; }
  .hct-v2-actions { 
    display: grid !important;
    grid-template-columns: 1fr 1.6fr !important; 
    gap: 8px !important; 
    margin-top: 12px !important;
  }
  .hct-v2-btn-ghost, .hct-v2-btn-solid { 
    height: 48px !important; 
    font-size: 13.5px !important; 
    padding: 0 12px !important;
  }
  .hct-v2-divider, .hct-v2-price-row { margin-bottom: 16px !important; }
  .hct-v2-badge-top { padding: 6px 14px !important; font-size: 11px !important; }
  .hct-v2-logo { width: 36px !important; }
  .hct-swipe-hint, .hct-v2-swipe-hint { display: none !important; }

  /* 5. 'Which Tour Fits': Center the whole section */
  body .hanoi-tours-page .hub-compare { 
    padding: 40px 16px !important; 
    margin: 40px auto !important; 
    width: calc(100% - 32px) !important;
    border-radius: 28px !important;
    box-sizing: border-box !important;
  }
  body .hanoi-tours-page .compare-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 0 10px !important;
  }
  body .hanoi-tours-page .compare-grid article { 
    flex: 0 0 88% !important;
    scroll-snap-align: center !important;
    padding: 24px 20px !important; 
    border-radius: 24px !important; 
  }

  /* Compare section mobile — horizontal scroll */
  body .hanoi-tours-page .hub-compare {
    padding: 48px 16px !important;
    margin: 32px 8px !important;
    border-radius: 24px !important;
  }
  body .hanoi-tours-page .compare-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    margin: 0 -8px !important;
    padding: 0 8px 16px !important;
    scrollbar-width: none !important;
  }
  body .hanoi-tours-page .compare-grid::-webkit-scrollbar { display: none !important; }
  body .hanoi-tours-page .compare-grid article {
    flex: 0 0 76vw !important;
    scroll-snap-align: start !important;
    padding: 28px 20px !important;
    min-width: 0 !important;
  }

  body .hanoi-tours-page .faq-block { padding: 48px 16px !important; }
}

/* ==========================================================================
   TOUR DETAIL REFINEMENTS (Premium Scoped)
   ========================================================================== */

body .td-book-card {
  background: #fffdf5 !important;
  border: 1px solid #e7ead5 !important;
  padding: 32px !important;
  border-radius: 32px !important;
}
.td-btn-solid-full {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 56px !important;
  background: #0f9b4f !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  margin: 24px 0 20px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 14px rgba(15, 155, 79, 0.2) !important;
}
.td-btn-solid-full:hover {
  background: #0d8a46 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 155, 79, 0.3) !important;
}
.td-book-trust {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.td-book-trust li {
  font-size: 13.5px !important;
  color: #536b61 !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.td-book-trust li::before {
  content: "✓" !important;
  color: #0f9b4f !important;
  font-weight: 900 !important;
}

/* TD Decision Block Accordion (Desktop Cards, Mobile Dropbox) */
.td-decision-block {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}
.td-decision-block details {
  background: #fffdf5 !important;
  border: 1px solid #e7ead5 !important;
  border-radius: 20px !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
}
.td-decision-block summary {
  padding: 20px !important;
  font-weight: 800 !important;
  color: #002216 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.td-decision-block summary::-webkit-details-marker { display: none !important; }
.td-decision-block .td-details-content {
  padding: 0 20px 20px !important;
}
.td-decision-block .td-details-content p {
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: #536b61 !important;
}

@media (min-width: 1024px) {
  .td-decision-block details {
    pointer-events: none !important;
  }
  .td-decision-block details .td-details-content {
    display: block !important;
  }
}

@media (max-width: 1023px) {
  .td-decision-block {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .td-decision-block summary {
    padding: 16px !important;
    font-size: 12px !important;
  }
  .td-decision-block summary::after {
    content: "+" !important;
    font-size: 16px !important;
    color: #0f9b4f !important;
    transition: transform 0.3s ease !important;
  }
  .td-decision-block details[open] {
    grid-column: span 2 !important; /* Open accordion takes full width for readability */
  }
  .td-decision-block details[open] summary::after {
    content: "−" !important;
  }
  .td-decision-block details {
    border-radius: 16px !important;
  }
}






/* td-mini-nav mobile scrollbar hide */
.td-mini-nav::-webkit-scrollbar { display: none !important; }
