/* ===========================================================
   Annest Travel — Giao diện 2026-11
   Tham khảo phong cách laviatravel.vn: font Inter, nền trắng sạch,
   viền xám nhạt, ô tìm kiếm có tab, thẻ tour có đánh giá + nút "Đặt ngay",
   nút liên hệ nổi. Nạp SAU travel.css; xóa link trong _Layout để quay lại.
   =========================================================== */
:root {
  --brand: #0a9cc0;
  --brand-dark: #08779a;
  --brand-deep: #0a3343;
  --accent: #ff6b3d;
  --accent-dark: #ee4f22;
  --ink: #142a33;
  --muted: #66777f;
  --line: #e4eaed;
  --bg-soft: #f5f8fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 18px rgba(16, 42, 51, .07);
  --shadow-lg: 0 18px 44px rgba(16, 42, 51, .14);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
}
body { font-size: 15.5px; letter-spacing: -.005em; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.section { padding: 76px 0; }
.section--soft { background: linear-gradient(180deg, #f5f8fa 0%, #eef4f7 100%); }

/* ---------- Buttons ---------- */
.btn2 { border-radius: 12px; font-weight: 700; padding: 13px 24px; }
.btn2--accent { background: linear-gradient(135deg, #ff7f45, var(--accent-dark)); box-shadow: 0 8px 18px rgba(238,79,34,.28); }
.btn2--outline { border-color: var(--brand); color: var(--brand-dark); background: #fff; }
.btn2--outline:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Section heading ---------- */
.sec-head { margin-bottom: 40px; }
.sec-head .eyebrow {
  color: var(--brand-dark); background: rgba(10,156,192,.09); padding: 6px 14px; border-radius: 999px;
  letter-spacing: 1.2px; font-size: 12px;
}
.sec-head h2 { position: relative; padding-bottom: 16px; margin-bottom: 14px; }
.sec-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.sec-head p { font-size: 16px; }

/* ===========================================================
   HEADER
   =========================================================== */
.topbar { background: var(--brand-deep); font-size: 13px; }
.topbar .container { height: 36px; }
.site-header { background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16,42,51,.09); border-bottom-color: var(--line); }
.brand2 { font-weight: 800; letter-spacing: -.02em; }
.mainmenu a { position: relative; font-weight: 600; font-size: 15px; border-radius: 8px; background: none !important; }
.mainmenu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .22s;
}
.mainmenu a:hover, .mainmenu a.active { color: var(--brand-dark); }
.mainmenu a:hover::after, .mainmenu a.active::after { transform: scaleX(1); }
.lang-btn { border-radius: 10px; }

/* Nút hotline trên header */
.nav-hotline { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); white-space: nowrap; }
.nav-hotline:hover { color: var(--accent-dark); }
.nav-hotline .nh-ic {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #ff7f45, var(--accent-dark)); color: #fff; font-size: 16px;
}
.nav-hotline .nh-ic::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(238,79,34,.35);
  animation: fcPulse 1.8s ease-out infinite;
}
.nav-hotline .nh-txt { display: flex; flex-direction: column; line-height: 1.15; }
.nav-hotline .nh-txt small { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.nav-hotline .nh-txt b { font-size: 15.5px; font-weight: 800; color: var(--accent-dark); }
@media (max-width: 1499px) { .nav-hotline .nh-txt { display: none; } }
@media (max-width: 480px) {
  .nav-hotline .nh-ic { width: 34px; height: 34px; font-size: 14px; }
  .nav-hotline .nh-ic::before { display: none; }
}
@media (max-width: 1120px) {
  .mainmenu a::after { display: none; }
  .mainmenu a:hover, .mainmenu a.active { background: var(--bg-soft) !important; }
}
.site-header.nav-collapsed .mainmenu a::after { display: none; }
.site-header.nav-collapsed .mainmenu a:hover, .site-header.nav-collapsed .mainmenu a.active { background: var(--bg-soft) !important; }

/* ===========================================================
   HERO + SEARCH (tab kiểu Lavia)
   =========================================================== */
.hero-overlay { background: linear-gradient(100deg, rgba(6,32,44,.78) 0%, rgba(6,32,44,.45) 45%, rgba(6,32,44,.12) 100%) !important; }
.hero h1 { font-weight: 900; }
.hero .badge2 { border-radius: 999px; }

.search-wrap { position: relative; z-index: 20; margin-top: -78px; }
.search-wrap .search-box { margin-top: 0; border-radius: 0 var(--radius) var(--radius) var(--radius); background: #fff; border: none; padding: 22px; }
[dir="rtl"] .search-wrap .search-box { border-radius: var(--radius) 0 var(--radius) var(--radius); }
.search-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.search-tabs::-webkit-scrollbar { display: none; }
.st-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: none; cursor: pointer;
  border-radius: 12px 12px 0 0; background: rgba(10,51,67,.72); color: #e6f4f8; font-weight: 700; font-size: 14.5px;
  backdrop-filter: blur(6px); transition: background .2s, color .2s; font-family: inherit;
}
.st-tab:hover { background: rgba(10,51,67,.88); color: #fff; }
.st-tab.is-active { background: #fff; color: var(--brand-dark); }
.st-tab.is-active i { color: var(--accent-dark); }
.search-box.no-guests { grid-template-columns: 1.4fr 1fr auto; }
.search-box.no-guests .guests-field { display: none; }
.search-field label { font-size: 12px; letter-spacing: .4px; }
.search-field .ctrl { background: #fff; border-radius: 10px; }
.search-box .btn2 { height: 50px; padding: 0 30px; }
@media (max-width: 992px) { .search-box.no-guests { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .search-wrap { margin-top: -54px; }
  .search-wrap .search-box { padding: 16px; }
  .search-box.no-guests { grid-template-columns: 1fr; }
  .st-tab { padding: 10px 14px; font-size: 13.5px; }
}

/* ===========================================================
   CATEGORIES
   =========================================================== */
.cat-card { border-radius: 16px; padding: 24px 12px 20px; box-shadow: 0 2px 10px rgba(16,42,51,.04); }
.cat-card .ic {
  width: 64px; height: 64px; border-radius: 50%; font-size: 26px;
  background: linear-gradient(135deg, rgba(10,156,192,.12), rgba(255,107,61,.12)); color: var(--brand-dark);
}
.cat-card:hover { border-color: var(--brand); }
.cat-card:hover .ic { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.cat-card h4 { font-weight: 700; font-size: 15px; }

/* ===========================================================
   TOUR CARD (kiểu Lavia: badge trên ảnh, sao, giá, nút Đặt ngay)
   =========================================================== */
.tour-card { border-radius: 16px; border-color: var(--line); box-shadow: 0 2px 14px rgba(16,42,51,.06); }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tour-thumb { aspect-ratio: 4/3; }
.tour-thumb::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,.42), transparent);
}
.tour-badges { z-index: 3; }
.chip { border-radius: 6px; padding: 4px 10px; font-size: 11.5px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.chip--sale { background: #e5332a; }
.tour-thumb .tour-cat {
  z-index: 3; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px);
  background: rgba(255,255,255,.95); color: var(--brand-deep); border-radius: 8px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
.tour-thumb .tour-cat i { color: var(--accent-dark); }
.tour-thumb.slideshow .tour-cat { bottom: 30px; }      /* chừa chỗ cho chấm slideshow */
.tour-body { padding: 16px 18px 18px; }
.tc-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.tc-rating i { color: var(--gold); }
.tc-rating b { color: var(--ink); }
.tour-body h3 { font-size: 17px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-sum { font-size: 13.8px; }
.tour-facts { gap: 6px; }
.tour-facts li { font-size: 13.5px; color: #3c535c; }
.tour-prices { border-top: 1px dashed var(--line); }
.tour-prices .tp-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.tour-prices .tp-val { color: #e5332a; font-size: 18px; }
.tour-prices .tp-child { font-size: 15px; }
.tc-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.tc-actions .tour-detail-link { margin-top: 0; font-size: 14px; }
.tc-book {
  display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 10px; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, #ff7f45, var(--accent-dark)); color: #fff; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(238,79,34,.25); transition: transform .2s, box-shadow .2s;
}
.tc-book:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(238,79,34,.35); }

/* Thẻ khách sạn / xe / vé dùng chung kiểu viền & bo góc */
.tk-card, .hotel-card, .car-card { border-radius: 16px; }

/* ===========================================================
   WHY / TESTIMONIALS / CTA
   =========================================================== */
.why-card { border-radius: 16px; text-align: start; padding: 26px 22px; }
.why-card .ic { margin: 0 0 16px; width: 58px; height: 58px; border-radius: 14px; font-size: 25px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 10px 20px rgba(10,156,192,.25); }
.why-grid .why-card:nth-child(even) .ic { background: linear-gradient(135deg, #ff7f45, var(--accent-dark)); box-shadow: 0 10px 20px rgba(238,79,34,.22); }
.tm-card { position: relative; border-radius: 16px; box-shadow: 0 2px 14px rgba(16,42,51,.06); }
.tm-card::before {
  content: "\201C"; position: absolute; top: 6px; inset-inline-end: 20px; font-size: 76px; line-height: 1;
  color: rgba(10,156,192,.14); font-family: Georgia, serif;
}
.tm-card p { font-style: normal; color: #34484f; }
.cta-band { border-radius: 22px; background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%) !important; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -90px; top: -120px;
  background: radial-gradient(circle, rgba(255,127,69,.45), transparent 70%); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: #082a37; margin-top: 0; }
.site-footer h4 { position: relative; padding-bottom: 10px; font-size: 16px; text-transform: uppercase; letter-spacing: .6px; }
.site-footer h4::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .2s; }
.footer-links a::before { content: "\203A"; color: var(--accent); font-weight: 800; }
.footer-links a:hover { transform: translateX(3px); }
.newsletter input { border-radius: 10px; }
.newsletter .btn2 { border-radius: 10px; }
.footer-bottom { background: #061f29; }

/* ===========================================================
   NÚT LIÊN HỆ NỔI + LÊN ĐẦU TRANG
   =========================================================== */
.fixed-contact {
  position: fixed; z-index: 890; bottom: 22px; inset-inline-start: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.fc-item {
  position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 21px; box-shadow: 0 8px 18px rgba(0,0,0,.2); transition: transform .2s;
}
.fc-item:hover { color: #fff; transform: scale(1.08); }
.fc-phone { background: linear-gradient(135deg, #ff7f45, #e5332a); }
.fc-phone::before, .fc-phone::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(229,51,42,.45); z-index: -1;
  animation: fcPulse 1.8s ease-out infinite;
}
.fc-phone::after { animation-delay: .9s; }
.fc-phone i { animation: fcShake 1.6s ease-in-out infinite; }
.fc-zalo { background: #0068ff; }
.fc-zalo .zalo-txt { font-size: 13px; font-weight: 800; letter-spacing: -.2px; }
.fc-fb { background: linear-gradient(135deg, #00b2ff, #006aff); }
.fc-tip {
  position: absolute; inset-inline-start: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(-6px);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 8px;
  white-space: nowrap; opacity: 0; visibility: hidden; transition: .2s; pointer-events: none;
}
.fc-item:hover .fc-tip { opacity: 1; visibility: visible; transform: translateY(-50%); }
@keyframes fcPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fcShake { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }

.to-top {
  position: fixed; z-index: 880; inset-inline-end: 24px; bottom: 96px; width: 44px; height: 44px; border-radius: 12px;
  border: none; cursor: pointer; background: #fff; color: var(--brand-dark); font-size: 17px;
  box-shadow: 0 8px 20px rgba(16,42,51,.18); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; }

@media (max-width: 640px) {
  .section { padding: 54px 0; }
  .fixed-contact { bottom: 16px; inset-inline-start: 12px; gap: 10px; }
  .fc-item { width: 44px; height: 44px; font-size: 18px; }
  .fc-tip { display: none; }
  .to-top { inset-inline-end: 16px; bottom: 86px; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-phone::before, .fc-phone::after, .fc-phone i, .nav-hotline .nh-ic::before { animation: none; }
}
@media print { .fixed-contact, .to-top { display: none !important; } }

/* Mũi tên cuộn của hero đè lên hàng tab tìm kiếm -> ẩn */
.hero-scroll { display: none !important; }
/* Điện thoại: đã có nút gọi nổi -> ẩn nút hotline trên header cho khỏi tràn ngang */
@media (max-width: 640px) { .nav-hotline { display: none; } }
