/* ATN Travel – Trang chủ v4 (11.2026): bản đồ tuyến là lối vào chính của danh mục.
   Nạp sau home.css; chỉ dùng cho index.html. Header, footer, thẻ tour, form dùng lại từ home.css / lt.css / contact.css. */
.hp{--paper:#fbf8f2;--paper-2:#f4eee2;--map-ink:#13284a;--h:#0b4d75}
.hp h2{font-size:clamp(28px,3.6vw,42px);line-height:1.12;font-weight:800;letter-spacing:-.02em;color:var(--h);text-wrap:balance}
.hp-k{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--or-btn);margin-bottom:10px}
.hp-sub{font-size:17px;color:var(--txt);max-width:640px;margin-top:12px}
.hp-h{margin-bottom:32px}
.hp-h-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 24px}
.hp-h-row .flt{margin:0;padding:0}
.hp-sec{padding:88px 0}
.hp-tint{background:var(--tint)}
@media(max-width:767px){.hp-sec{padding:56px 0}.hp-h{margin-bottom:24px}.hp-h-row .flt{margin:0 calc(var(--gut)*-1);padding:0 var(--gut);width:calc(100% + var(--gut)*2)}}
.hp-link{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:15px;color:var(--navy);text-decoration:none;border-bottom:1.5px solid currentColor;padding-bottom:2px}
.hp-link:hover{color:var(--or-btn)}
.hp-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ===== HERO ===== */
.hp-hero{position:relative;margin:-70px 12px 0;border-radius:0 0 28px 28px;overflow:hidden;min-height:min(86vh,760px);display:flex;align-items:flex-end;color:#fff}
.hp-hero-media{position:absolute;inset:0}
.hp-hero-media img{width:100%;height:100%;object-fit:cover;object-position:70% 25%}
.hp-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,27,54,.2) 0%,rgba(9,27,54,.45) 40%,rgba(9,27,54,.93) 100%)}
@media(min-width:1024px){.hp-hero-media::after{background:linear-gradient(90deg,rgba(9,27,54,.9) 0%,rgba(9,27,54,.62) 42%,rgba(9,27,54,.08) 75%),linear-gradient(0deg,rgba(9,27,54,.75) 0%,rgba(9,27,54,0) 38%)}}
.hp-hero-in{position:relative;z-index:1;width:100%;padding-top:150px;padding-bottom:36px}
.hp-hero-txt{max-width:700px}
.hp-eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ffd2a8}
.hp-hero h1{font-size:clamp(36px,6vw,64px);line-height:1.06;font-weight:800;letter-spacing:-.025em;margin:12px 0 18px;text-wrap:balance}
.hp-lead{font-size:clamp(16px,1.6vw,19px);line-height:1.55;color:rgba(255,255,255,.9);max-width:600px}
.hp-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
@media(max-width:520px){.hp-cta .btn{width:100%}}
.hp-num{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin-top:44px;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.18);backdrop-filter:blur(6px)}
.hp-num li{background:rgba(9,27,54,.45);padding:14px 18px}
.hp-num b{display:block;font-size:clamp(24px,2.6vw,32px);font-weight:800;line-height:1.1;letter-spacing:-.01em}
.hp-num span{font-size:13.5px;color:rgba(255,255,255,.78)}
@media(min-width:768px){.hp-num{grid-template-columns:repeat(4,1fr);max-width:820px}}
.hp-hero .lt-credit{z-index:2}

/* tin mới */
.hp-news-bar{padding:18px 0 0}
.hp-news{display:grid;gap:10px}
.hp-news-k{font-size:12.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);align-self:center}
.hp-news a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 12px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;background:#fff;text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.hp-news a:hover{border-color:#b9d7ea;box-shadow:var(--sh-soft)}
.hp-news b{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--or-btn);border-radius:999px;padding:3px 10px;white-space:nowrap}
.hp-news span{font-size:14.5px;font-weight:600;line-height:1.4}
.hp-news svg{width:18px;height:18px;fill:none;stroke:var(--navy);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:559px){.hp-news a{grid-template-columns:1fr auto}.hp-news b{justify-self:start}.hp-news span{grid-column:1}.hp-news svg{grid-row:1/3;grid-column:2}}
@media(min-width:1024px){.hp-news{grid-template-columns:auto 1fr 1fr;gap:14px}}

/* ===== BẢN ĐỒ ===== */
.hp-map{margin:56px 12px 0;border-radius:28px;background:var(--paper);border:1px solid #ece4d4;padding:64px 0 44px;color:var(--map-ink)}
@media(min-width:1024px){.hp-map{margin:72px 15px 0;border-radius:36px;padding:80px 0 56px}}
.hp-map-h{display:grid;gap:18px}
@media(min-width:1024px){.hp-map-h{grid-template-columns:1.1fr .9fr;gap:56px;align-items:end}}
.hp-map h2{color:var(--h)}
.hp-map .hp-k{color:#c25e10}
.hp-map-q{font-size:17px;line-height:1.6;color:#4a5568;border-left:3px solid var(--or);padding-left:18px}
.hp-map-steps{list-style:none;display:grid;gap:10px;margin:32px 0 24px}
@media(min-width:768px){.hp-map-steps{grid-template-columns:repeat(3,1fr);gap:16px}}
.hp-map-steps li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.5;color:#2b3f60}
.hp-map-steps b{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--map-ink);color:#fff;font-size:13px}
.hp-map-frame{position:relative;border-radius:20px;overflow:hidden;background:#f3ede1;border:1px solid #e3dccd;box-shadow:0 20px 50px rgba(19,40,74,.12);aspect-ratio:5/3}
@media(min-width:960px) and (pointer:fine){.hp-map-frame{aspect-ratio:auto;height:min(78vh,720px);min-height:560px}}
.hp-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .4s}
.hp-map-frame.is-live iframe{opacity:1}
.hp-map-frame.is-live .hp-map-poster{visibility:hidden}
.hp-map-poster{position:absolute;inset:0;display:block;color:#fff;text-decoration:none}
.hp-map-poster img{width:100%;height:100%;object-fit:cover}
.hp-map-open{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:var(--map-ink);color:#fff;font-weight:700;font-size:15px;padding:12px 20px;border-radius:999px;box-shadow:0 10px 26px rgba(19,40,74,.3)}
.hp-map-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hp-map-poster:hover .hp-map-open{background:var(--or-btn)}
.hp-map-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 24px;margin-top:16px}
.hp-map-foot p{font-size:13px;color:#6b7280}
.hp-map .hp-link{color:var(--map-ink)}
.hp-map .hp-link:hover{color:#c25e10}
/* tuyến nhanh: hiện khi không có bản đồ tương tác nhúng */
.hp-routes{margin-top:28px}
.hp-routes-k{font-size:12.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#8a7b62;margin-bottom:12px}
.hp-routes ul{list-style:none;display:grid;grid-template-columns:1fr;gap:8px}
@media(min-width:560px){.hp-routes ul{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.hp-routes ul{grid-template-columns:repeat(3,1fr)}}
.hp-routes a{display:grid;grid-template-columns:12px 1fr;column-gap:12px;align-items:center;padding:11px 14px;border-radius:12px;background:#fff;border:1px solid #ece4d4;text-decoration:none;color:var(--map-ink);transition:border-color .15s}
.hp-routes a:hover{border-color:var(--c)}
.hp-routes i{width:12px;height:12px;border-radius:3px;background:var(--c);grid-row:1/3}
.hp-routes b{font-size:14.5px;font-weight:700;line-height:1.3}
.hp-routes small{font-size:12.5px;color:#6b7280;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:960px) and (pointer:fine){.hp-routes{display:none}}

/* ===== BỐN MẢNG ===== */
.hp-sol{display:grid;gap:16px}
@media(min-width:768px){.hp-sol{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.hp-sol{grid-template-columns:1.35fr 1fr 1fr;grid-template-rows:repeat(2,minmax(250px,auto))}.sol-xl{grid-row:1/3}.sol:nth-child(4){grid-column:2/4}}
.sol{position:relative;display:flex;align-items:flex-end;min-height:280px;border-radius:24px;overflow:hidden;color:#fff;text-decoration:none;isolation:isolate}
.sol img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .7s}
.sol::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(9,27,54,0) 25%,rgba(9,27,54,.88) 100%)}
.sol:hover img{transform:scale(1.04)}
.sol-t{padding:24px 24px 22px;max-width:520px}
.sol-n{font-size:13px;font-weight:800;color:#ffb86b;letter-spacing:.08em}
.sol h3{font-size:24px;font-weight:800;line-height:1.2;margin:4px 0 6px}
.sol-xl h3{font-size:clamp(26px,2.6vw,34px)}
.sol p{font-size:15px;line-height:1.5;color:rgba(255,255,255,.88)}
.sol-go{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:700;font-size:14.5px}
.sol-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;transition:transform .2s}
.sol:hover .sol-go svg{transform:translateX(3px)}

/* ===== LAND TOUR ===== */
#tour .tours{margin-top:4px}
.hp-cats{display:grid;gap:12px;margin-top:32px}
@media(min-width:640px){.hp-cats{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.hp-cats{grid-template-columns:repeat(4,1fr)}}
.hp-cats a{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-radius:16px;background:#fff;border:1px solid var(--line2);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.hp-cats a:hover{border-color:#a9cde3;box-shadow:var(--sh-soft)}
.hp-cats b{font-size:16px;color:var(--navy);font-weight:700}
.hp-cats span{font-size:14px;color:var(--txt);line-height:1.45}
.hp-cats .hp-cats-all{background:var(--navy);border-color:var(--navy)}
.hp-cats .hp-cats-all b,.hp-cats .hp-cats-all span{color:#fff}
.hp-cats .hp-cats-all span{opacity:.85}

/* ===== CÁCH LÀM VIỆC (nền tối) ===== */
.hp-way{margin:0 12px;border-radius:28px;background:var(--navy-dd);color:#fff;padding:72px 0}
@media(min-width:1024px){.hp-way{margin:0 15px;border-radius:36px;padding:88px 0}}
.hp-way h2{color:#fff}
.hp-way .hp-k{color:#ffb86b}
.hp-way .hp-sub{color:rgba(255,255,255,.78)}
.way{list-style:none;display:grid;gap:14px;counter-reset:w}
@media(min-width:768px){.way{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.way{grid-template-columns:repeat(4,1fr);gap:0}.way li{border-radius:0;border-right:0}.way li:first-child{border-radius:20px 0 0 20px}.way li:last-child{border-radius:0 20px 20px 0;border-right:1px solid rgba(255,255,255,.12)}}
.way li{padding:24px 22px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.04)}
.way-n{font-size:32px;font-weight:800;color:var(--or);line-height:1}
.way-who{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6);margin:14px 0 4px}
.way h3{font-size:19px;font-weight:700;margin-bottom:6px}
.way p{font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.78)}
.way li:last-child .way-n{color:#ffb86b}
.hp-way .vals{display:grid;gap:12px;margin-top:40px;padding-top:32px;border-top:1px solid rgba(255,255,255,.14)}
@media(min-width:768px){.hp-way .vals{grid-template-columns:repeat(3,1fr);gap:32px}}
.hp-way .vals h3{font-size:20px;font-weight:800;margin-bottom:6px}
.hp-way .vals h3::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--or);margin-right:10px;vertical-align:middle;position:relative;top:-2px}
.hp-way .vals p{font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.75)}

/* ===== VỀ ATN ===== */
.hp-about{display:grid;gap:32px;align-items:center}
@media(min-width:1024px){.hp-about{grid-template-columns:1fr 1fr;gap:64px}}
.hp-about-img{position:relative;border-radius:24px;overflow:hidden}
.hp-about-img img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.hp-about-img figcaption{position:absolute;left:14px;bottom:12px;font-size:12px;color:#fff;background:rgba(9,27,54,.55);padding:3px 10px;border-radius:999px}
.hp-about-t > p{font-size:16px;color:var(--txt);margin-top:14px}
.hp-stats{list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin:24px 0 8px;background:var(--line);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.hp-stats li{background:#fff;padding:16px 18px}
.hp-stats b{display:block;font-size:30px;font-weight:800;color:var(--navy);line-height:1.1}
.hp-stats span{font-size:14px;color:var(--txt)}
.hp-src{font-size:12.5px !important;color:var(--muted) !important;margin-top:0 !important}
.hp-reg{display:flex;align-items:center;gap:12px;margin:20px 0 24px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;max-width:440px}
.hp-reg a{display:block;font-weight:800;color:var(--navy);font-size:16px}
.hp-reg span{font-size:13px;color:var(--muted)}

/* ===== CÔNG CỤ ===== */
.tools{display:grid;gap:12px}
@media(min-width:640px){.tools{grid-template-columns:1fr 1fr}}
@media(min-width:1100px){.tools{grid-template-columns:repeat(5,1fr)}}
.tools a{display:flex;flex-direction:column;gap:6px;padding:20px;border-radius:16px;background:#fff;border:1px solid var(--line2);text-decoration:none;color:var(--ink);transition:border-color .15s,transform .15s}
.tools a:hover{border-color:#a9cde3;transform:translateY(-2px)}
.tools b{font-size:16px;color:var(--navy);line-height:1.3}
.tools span{font-size:14px;color:var(--txt);line-height:1.5}

/* ===== CẨM NANG ===== */
.pc-img{position:relative}
@media(min-width:1024px){.hp-posts{grid-template-columns:repeat(4,1fr) !important;gap:20px !important}}
.hp-posts .pc h3{font-size:16.5px}

/* form và đối tác */
.hp .hm-form{margin-top:0}
.hp .sec-logos{padding-top:72px}
@media(min-width:1024px){.hp #doi-tac{margin-top:0}}
.hp .lt-form h2{color:#fff}
@media(max-width:559px){
  .hp-routes ul{grid-template-columns:1fr 1fr;gap:6px}
  .hp-routes a{grid-template-columns:10px 1fr;column-gap:8px;padding:9px 10px;min-height:48px}
  .hp-routes i{width:10px;height:10px;grid-row:auto}
  .hp-routes b{font-size:13px}
  .hp-routes small{display:none}
  .hp-map{padding:44px 0 32px}
  .hp-map-q{font-size:15.5px}
  .hp-map-steps li{font-size:14px}
}
