/*
Theme Name: Hùng Minh Logistics
Theme URI: https://hungminhlogistics.com.vn
Author: Công ty TNHH Bốc Xếp Vận Tải Hùng Minh
Description: Theme dạng khối cho website xuất nhập khẩu Hùng Minh Logistics: banner ảnh tự chuyển, dịch vụ, đội bốc xếp riêng, quy trình, bảng giá, khu vực phục vụ, hồ sơ năng lực. Màu xanh và đỏ theo logo.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hungminh-logistics
*/

:root{--hm-red:#C8102E;--hm-blue:#0B7BC4;--hm-blue-dark:#0A5E99;--hm-deep:#06578F;--hm-ink:#1E2329;--hm-muted:#5B6472;--hm-line:#E8ECF1;--hm-light:#F6F8FA}
body{-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
.hm-section{padding-top:96px;padding-bottom:96px}
.hm-section.is-tight{padding-top:56px;padding-bottom:56px}
.hm-bg-sky{background:linear-gradient(180deg,#EAF4FC 0%,#F7FBFE 100%)}
.hm-bg-sky2{background:linear-gradient(135deg,#EAF4FC 0%,#F4F9FD 100%)}
.hm-bg-peach{background:linear-gradient(180deg,#FFF6F2 0%,#FFFFFF 100%)}
.hm-bg-rose{background:linear-gradient(180deg,#FFEFEA 0%,#FFF8F6 100%)}
.hm-bg-light{background:var(--hm-light)}
.hm-bg-blue{background:linear-gradient(135deg,#0B7BC4 0%,#0A5E99 100%);color:#fff}
.hm-bg-blue h2,.hm-bg-blue h3{color:#fff}
.hm-eyebrow{font-size:12px!important;font-weight:700!important;letter-spacing:.14em;text-transform:uppercase;color:var(--hm-red);margin-bottom:12px!important}
.hm-bg-blue .hm-eyebrow{color:#FFD6CF}
.hm-h2{font-size:clamp(30px,4vw,44px)!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.03em;margin-top:0!important}
.hm-lead{font-size:17px;line-height:1.75;color:var(--hm-muted)}
.hm-center{text-align:center;max-width:720px;margin-left:auto!important;margin-right:auto!important}
.hm-muted{color:var(--hm-muted)}
.hm-small{font-size:13px;color:#8A919C}

/* ---------- buttons */
.wp-block-button.is-style-hm-red .wp-block-button__link{background:var(--hm-red);color:#fff;border-radius:999px;font-weight:700;padding:16px 28px;box-shadow:0 10px 24px rgba(200,16,46,.28)}
.wp-block-button.is-style-hm-ghost .wp-block-button__link{background:rgba(14,17,22,.45);color:#fff;border:1.5px solid rgba(255,255,255,.75);border-radius:999px;font-weight:700;padding:16px 28px}
.wp-block-button.is-style-hm-outline .wp-block-button__link{background:#fff;color:var(--hm-ink);border:1px solid #DDE3EA;border-radius:999px;font-weight:700;padding:14px 24px}
.wp-block-button.is-style-hm-dark .wp-block-button__link{background:var(--hm-ink);color:#fff;border-radius:999px;font-weight:700;padding:14px 24px}

/* ---------- header */
header.wp-block-template-part{position:sticky;top:0;z-index:60;box-shadow:0 6px 24px rgba(6,60,100,.18)}
body.admin-bar header.wp-block-template-part{top:32px}
@media (max-width:782px){body.admin-bar header.wp-block-template-part{top:46px}}
.hm-topbar{background:var(--hm-deep);color:#D9EEFB;font-size:13px;padding-top:8px!important;padding-bottom:8px!important}
.hm-topbar p{margin:0;font-size:13px}
.hm-topbar a{color:#fff;text-decoration:none;font-weight:700}
.hm-mainbar{background:linear-gradient(90deg,#0B7BC4 0%,#0A6FB3 55%,#0A64A3 100%);padding-top:12px!important;padding-bottom:12px!important}
.hm-brand{gap:14px!important}
.hm-brand .wp-block-image{margin:0;background:#fff;border-radius:12px;padding:4px;box-shadow:0 6px 16px rgba(4,40,70,.25)}
.hm-brand .wp-block-image img{width:46px;height:46px;object-fit:contain;display:block}
.hm-brand-name{margin:0!important;color:#fff;font-size:20px!important;font-weight:800!important;letter-spacing:.03em;line-height:1.1!important}
.hm-brand-name a{color:#fff;text-decoration:none}
.hm-brand-sub{margin:0!important;color:#CDE9FA;font-size:11px!important;font-weight:700;letter-spacing:.28em;line-height:1.2!important}
.hm-nav{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:5px}
.hm-nav .wp-block-navigation-item__content{color:#fff!important;font-size:14.5px;font-weight:600;padding:10px 16px!important;border-radius:999px;text-decoration:none}
.hm-nav .wp-block-navigation-item__content:hover{background:rgba(255,255,255,.18)}
.hm-nav .current-menu-item>.wp-block-navigation-item__content,.hm-nav .wp-block-navigation-item__content[aria-current="page"]{background:#fff;color:#0A5E99!important;font-weight:800;box-shadow:0 4px 12px rgba(4,40,70,.22)}
.hm-mainbar .wp-block-navigation__responsive-container-open{color:#fff}
.wp-block-navigation__responsive-container.is-menu-open{background:#0A5E99!important;color:#fff!important}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:#fff!important;font-size:18px}
@media (max-width:600px){.hm-nav{background:none;border:0}}

/* ---------- hero */
.hm-hero{position:relative;min-height:640px;overflow:hidden;background:#1E2329;color:#fff;padding-top:110px!important;padding-bottom:170px!important}
.hm-hero>*{position:relative;z-index:2}
.hm-hero .hm-hero-slides{position:absolute!important;inset:0;z-index:0;margin:0!important;max-width:none!important;width:100%}
.hm-hero-slides figure{position:absolute;inset:0;margin:0!important;opacity:0;animation:hmFade 18s infinite}
.hm-hero-slides figure img{width:100%;height:100%;object-fit:cover}
.hm-hero-slides figure:nth-child(1){animation-delay:0s}
.hm-hero-slides figure:nth-child(2){animation-delay:6s}
.hm-hero-slides figure:nth-child(3){animation-delay:12s}
@keyframes hmFade{0%{opacity:0;transform:scale(1)}5%{opacity:1}33%{opacity:1}38%{opacity:0;transform:scale(1.05)}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.hm-hero-slides figure{animation:none}.hm-hero-slides figure:first-child{opacity:1}}
.hm-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(14,17,22,.88) 0%,rgba(14,17,22,.72) 38%,rgba(14,17,22,.35) 65%,rgba(14,17,22,.1) 100%)}
.hm-hero-badge{display:inline-block;background:rgba(14,17,22,.55);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:7px 16px;font-size:13px!important;font-weight:600;color:#fff}
.hm-hero-badge strong{background:var(--hm-red);border-radius:999px;padding:3px 10px;font-size:11px;letter-spacing:.08em;margin-right:8px}
.hm-hero h1{font-size:clamp(36px,5vw,60px)!important;line-height:1.05!important;font-weight:800!important;letter-spacing:-.035em;color:#fff;max-width:760px;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.hm-hero-text{font-size:19px;line-height:1.65;color:#fff;font-weight:500;max-width:580px;text-shadow:0 1px 10px rgba(0,0,0,.55)}

/* ---------- quote bar (Jetpack form) */
.hm-quote{margin-top:-80px!important;position:relative;z-index:5}
.hm-quote-card{background:#fff;border-radius:18px;padding:24px 26px!important;box-shadow:0 20px 50px rgba(30,35,41,.14);border:1px solid var(--hm-line)}
.hm-quote-card .hm-quote-title{margin:0 0 12px!important;font-size:18px!important;font-weight:800!important}
.hm-quote-form form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;align-items:end}
.hm-quote-form label{font-size:12px;font-weight:700;letter-spacing:.04em;color:#6B7280;text-transform:uppercase}
.hm-quote-form input,.hm-quote-form select{border:1px solid #DDE3EA!important;border-radius:10px!important;min-height:48px;background:#F7F9FB!important;padding:10px 14px!important;font-size:15px}
.hm-quote-form .wp-block-button__link,.hm-quote-form button{background:var(--hm-red)!important;color:#fff!important;border:0;border-radius:10px!important;min-height:48px;font-weight:700;width:100%}

/* ---------- clients strip */
.hm-clients{text-align:center}
.hm-clients-names{font-size:17px!important;font-weight:700;color:#7B88A3;word-spacing:.2em;line-height:2}

/* ---------- stats */
.hm-stat{border-radius:20px;padding:28px!important;color:#fff}
.hm-stat .hm-stat-n{margin:0!important;font-size:44px!important;font-weight:800!important;letter-spacing:-.04em;line-height:1!important;color:#fff}
.hm-stat .hm-stat-t{margin:8px 0 0!important;font-size:14px;font-weight:600;color:#fff;opacity:.95}
.hm-stat.s-blue{background:linear-gradient(140deg,#0B7BC4,#0A5E99);box-shadow:0 14px 30px rgba(11,123,196,.3)}
.hm-stat.s-red{background:linear-gradient(140deg,#D21633,#A50E26);box-shadow:0 14px 30px rgba(200,16,46,.28)}
.hm-stat.s-orange{background:linear-gradient(140deg,#D9480F,#B83A0B);box-shadow:0 14px 30px rgba(217,72,15,.28)}
.hm-stat.s-green{background:linear-gradient(140deg,#178352,#106B42);box-shadow:0 14px 30px rgba(23,131,82,.28)}

/* ---------- about */
.hm-values .hm-value{background:var(--hm-light);border:1px solid var(--hm-line);border-radius:16px;padding:18px 20px 18px 66px!important;position:relative}
.hm-values .hm-value::before{content:"";position:absolute;left:18px;top:18px;width:36px;height:36px;border-radius:10px;background:#FFF1EE url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C8102E%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E") center/18px no-repeat}
.hm-value h3{font-size:16px!important;margin:0 0 4px!important}
.hm-value p{font-size:14px;line-height:1.55;color:var(--hm-muted);margin:0}
.hm-legal{font-size:13px;color:#6B7280;border-top:1px solid var(--hm-line);padding-top:16px}
.hm-img-round img{border-radius:24px;box-shadow:0 20px 50px rgba(30,35,41,.14);width:100%;object-fit:cover}
.hm-img-tall img{height:460px}
.hm-badge-float{background:#fff;border-radius:18px;padding:16px 22px!important;box-shadow:0 16px 40px rgba(30,35,41,.14);border:1px solid var(--hm-line);display:inline-flex!important;align-items:center;gap:14px;margin-top:-56px!important;margin-left:24px!important;position:relative}
.hm-badge-float p{margin:0}
.hm-badge-float .hm-badge-n{font-size:34px;font-weight:800;color:var(--hm-red);letter-spacing:-.04em;line-height:1}

/* ---------- service cards */
.hm-card{border:1px solid var(--hm-line);border-top:5px solid;border-radius:20px;padding:30px 32px!important;box-shadow:0 14px 34px rgba(30,35,41,.07)}
.hm-card::before{content:"";display:block;width:58px;height:58px;border-radius:16px;background:#fff center/26px no-repeat;box-shadow:0 8px 18px rgba(30,35,41,.1);margin-bottom:16px}
.hm-card h3{font-size:21px!important;font-weight:700!important;line-height:1.3!important;margin:0 0 10px!important}
.hm-card p{font-size:15px;line-height:1.7;color:var(--hm-muted);margin:0}
.hm-card.c1{background:#FFF1EE;border-color:#F7D2CB;border-top-color:#C8102E}
.hm-card.c1::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C8102E%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V7Z%22/%3E%3Cpath%20d%3D%22M14%202v4a2%202%200%200%200%202%202h4%22/%3E%3Cpath%20d%3D%22M8%2013h8%22/%3E%3Cpath%20d%3D%22M8%2017h5%22/%3E%3C/svg%3E")}
.hm-card.c2{background:#EAF5FC;border-color:#CDE5F6;border-top-color:#0B7BC4}
.hm-card.c2::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230B7BC4%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2021c.6.5%201.2%201%202.5%201%202.5%200%202.5-2%205-2%201.3%200%201.9.5%202.5%201s1.2%201%202.5%201c2.5%200%202.5-2%205-2%201.3%200%201.9.5%202.5%201%22/%3E%3Cpath%20d%3D%22M19.4%2020A11.6%2011.6%200%200%200%2021%2014l-9-4-9%204c0%202.9.9%205.3%202.8%207.8%22/%3E%3Cpath%20d%3D%22M19%2013V7a2%202%200%200%200-2-2H7a2%202%200%200%200-2%202v6%22/%3E%3Cpath%20d%3D%22M12%202v8%22/%3E%3C/svg%3E")}
.hm-card.c3{background:#EEF7F1;border-color:#D3EBDC;border-top-color:#1F8A4C}
.hm-card.c3::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231F8A4C%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M17.8%2019.2%2016%2011l3.5-3.5C21%206%2021.5%204%2021%203c-1-.5-3%200-4.5%201.5L13%208%204.8%206.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1%201%20.3%201.3L9%2012l-2%203H4l-1%201%203%202%202%203%201-1v-3l3-2%203.5%205.3c.3.4.8.5%201.3.3l.5-.2c.4-.3.6-.7.5-1.2z%22/%3E%3C/svg%3E")}
.hm-card.c4{background:#FFF6E8;border-color:#F6E2BF;border-top-color:#B86E00}
.hm-card.c4::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23B86E00%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%2018V6a2%202%200%200%200-2-2H4a2%202%200%200%200-2%202v11a1%201%200%200%200%201%201h2%22/%3E%3Cpath%20d%3D%22M15%2018H9%22/%3E%3Cpath%20d%3D%22M19%2018h2a1%201%200%200%200%201-1v-3.7a1%201%200%200%200-.2-.6l-3.5-4.3a1%201%200%200%200-.8-.4H14%22/%3E%3Cpath%20d%3D%22M5%2018a2%202%200%201%200%204%200a2%202%200%201%200-4%200M15%2018a2%202%200%201%200%204%200a2%202%200%201%200-4%200%22/%3E%3C/svg%3E")}
.hm-card.c5{background:#F1EEFB;border-color:#DDD6F3;border-top-color:#5B47B0}
.hm-card.c5::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%235B47B0%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%208a2%202%200%200%200-1-1.7l-7-4a2%202%200%200%200-2%200l-7%204A2%202%200%200%200%203%208v8a2%202%200%200%200%201%201.7l7%204a2%202%200%200%200%202%200l7-4a2%202%200%200%200%201-1.7Z%22/%3E%3Cpath%20d%3D%22m3.3%207%208.7%205%208.7-5%22/%3E%3Cpath%20d%3D%22M12%2022V12%22/%3E%3C/svg%3E")}
.hm-card.c6{background:#EAF6F8;border-color:#C9E8ED;border-top-color:#1A7F8E}
.hm-card.c6::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231A7F8E%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%208.4V20a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V8.4a2%202%200%200%201%201.3-1.9l8-3.2a2%202%200%200%201%201.4%200l8%203.2A2%202%200%200%201%2022%208.4Z%22/%3E%3Cpath%20d%3D%22M6%2018h12%22/%3E%3Cpath%20d%3D%22M6%2014h12%22/%3E%3Cpath%20d%3D%22M6%2010h12v12H6z%22/%3E%3C/svg%3E")}

/* ---------- team */
.hm-team-photo{position:relative;border-radius:24px;overflow:hidden;min-height:520px;color:#fff}
.hm-team-photo .wp-block-image{position:absolute;inset:0;margin:0}
.hm-team-photo .wp-block-image img{width:100%;height:100%;object-fit:cover}
.hm-team-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,24,30,.1) 0%,rgba(20,24,30,.35) 45%,rgba(20,24,30,.85) 100%)}
.hm-team-text{position:absolute!important;left:0;right:0;bottom:0;z-index:2;padding:40px!important}
.hm-team-text .hm-big{font-size:110px!important;font-weight:800!important;letter-spacing:-.06em;line-height:.9!important;margin:0!important;color:#fff}
.hm-team-text p{color:#fff;margin:8px 0 0}
.hm-team-tag{position:absolute!important;left:24px;top:24px;z-index:2;background:var(--hm-red);color:#fff;border-radius:999px;padding:6px 14px;font-size:12px!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0!important}
.hm-handling .hm-item{background:#fff;border:1px solid #F5D9D2;border-left:5px solid var(--hm-red);border-radius:16px;padding:20px 22px!important;box-shadow:0 10px 24px rgba(200,16,46,.08)}
.hm-item h3{font-size:17px!important;margin:0 0 4px!important}
.hm-item p{font-size:15px;line-height:1.6;color:var(--hm-muted);margin:0}
.hm-pills{font-size:14px;color:var(--hm-muted)}

/* ---------- process */
.hm-steps{padding-top:28px}
.hm-step{background:#fff;color:var(--hm-ink);border-radius:20px;padding:0 18px 24px!important;text-align:center;box-shadow:0 16px 34px rgba(4,40,70,.25)}
.hm-step .hm-step-no{width:56px;height:56px;border-radius:50%;margin:-28px auto 12px!important;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;background:#fff;color:var(--hm-ink);border:2px solid #BFD9EC}
.hm-step.is-hl .hm-step-no{background:var(--hm-red);color:#fff;border-color:var(--hm-red);box-shadow:0 8px 20px rgba(200,16,46,.3)}
.hm-step .hm-step-tag{display:inline-block;font-size:11px!important;font-weight:700;letter-spacing:.12em;border-radius:999px;padding:4px 10px;background:#E3F1FA;color:#0B6AA8;margin:0 0 10px!important}
.hm-step.is-hl .hm-step-tag{background:#FFE3DE;color:var(--hm-red)}
.hm-step h3{font-size:18px!important;color:var(--hm-ink)!important;margin:0 0 8px!important}
.hm-step p{font-size:14px;line-height:1.65;color:var(--hm-muted);margin:0}

/* ---------- price table */
.hm-price{border-radius:20px;overflow:hidden;background:#fff;border:1px solid var(--hm-line);box-shadow:0 20px 50px rgba(30,35,41,.08);margin:0}
.hm-price table{border-collapse:collapse;width:100%}
.hm-price th{background:#F6F8FA;color:#6B7280;font-size:12px;letter-spacing:.1em;text-transform:uppercase;text-align:left;padding:18px 24px;border:0}
.hm-price td{padding:20px 24px;border:0;border-top:1px solid #EEF1F4;font-size:15px}
.hm-price td+td,.hm-price th+th{text-align:right;font-weight:800;font-size:17px;white-space:nowrap}
.hm-price th+th{font-size:12px;font-weight:700}
.hm-price figcaption{font-size:13px;color:#8A919C;padding:14px 24px;margin:0;background:#FBFCFE;border-top:1px solid #EEF1F4;text-align:left}

/* ---------- areas */
.hm-area{border:1px solid var(--hm-line);border-top:5px solid;border-radius:20px;padding:24px!important;box-shadow:0 10px 28px rgba(30,35,41,.05)}
.hm-area.a1{background:#FFF1EE;border-color:#F7D2CB;border-top-color:#C8102E}
.hm-area.a2{background:#EAF5FC;border-color:#CDE5F6;border-top-color:#0B7BC4}
.hm-area.a3{background:#EEF7F1;border-color:#D3EBDC;border-top-color:#1F8A4C}
.hm-area.a4{background:#FFF6E8;border-color:#F6E2BF;border-top-color:#B86E00}
.hm-area.a5{background:#F1EEFB;border-color:#DDD6F3;border-top-color:#5B47B0}
.hm-area h3{font-size:20px!important;font-weight:800!important;margin:0 0 2px!important}
.hm-area .hm-area-note{font-size:12px;color:#8A919C;margin:0 0 12px!important}
.hm-area .hm-area-port{font-size:13px;color:var(--hm-muted);margin:12px 0 0!important}
.hm-area .hm-area-link{font-size:14px;font-weight:700;margin:10px 0 0!important}
.hm-area .hm-area-link a{color:var(--hm-red);text-decoration:none}
.hm-area.is-hq h3::after{content:"TRỤ SỞ";margin-left:10px;vertical-align:middle;background:var(--hm-red);color:#fff;border-radius:999px;padding:3px 9px;font-size:10px;letter-spacing:.06em}
.hm-area-all{background:linear-gradient(150deg,#0B7BC4 0%,#0A5E99 100%);color:#fff;border-radius:20px;padding:24px!important;box-shadow:0 14px 34px rgba(11,123,196,.28)}
.hm-area-all h3,.hm-area-all p,.hm-area-all a{color:#fff!important}
.hm-area-all .hm-area-note{color:#CDE9FA}
.hm-chips{list-style:none;padding:0!important;margin:0!important;display:flex;flex-wrap:wrap;gap:6px}
.hm-chips li{background:#fff;border:1px solid var(--hm-line);border-radius:8px;padding:4px 9px;font-size:12.5px;font-weight:600;color:#3F4752}
.hm-area-all .hm-chips li{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28);color:#fff}
.hm-ports{background:#fff;border:1px solid #D9EAF5;border-radius:18px;padding:20px 22px!important}
.hm-ports .hm-chips li{color:#0B6AA8;border-color:#D9EAF5;border-radius:999px;font-weight:700}

/* ---------- reviews */
.hm-review{background:#fff;border-radius:20px;padding:36px!important;border:1px solid #F3E3DF;box-shadow:0 12px 30px rgba(30,35,41,.05)}
.hm-review .wp-block-quote{border:0;margin:0;padding:0}
.hm-review .wp-block-quote p{font-size:17px;line-height:1.7;color:#2D333B}
.hm-review .wp-block-quote cite{display:block;margin-top:18px;padding-top:16px;border-top:1px solid #F3EAE7;font-style:normal;font-size:14px;color:var(--hm-muted)}
.hm-sample{display:inline-block;font-size:11px!important;font-weight:700;letter-spacing:.08em;color:#B86E00;background:#FFF6E8;border:1px solid #F5DDB5;border-radius:999px;padding:4px 10px;margin:0 0 14px!important}

/* ---------- posts */
.hm-posts.wp-block-latest-posts{gap:24px}
.hm-posts.wp-block-latest-posts li{background:#fff;border:1px solid var(--hm-line);border-radius:20px;padding:0 0 24px;overflow:hidden;box-shadow:0 10px 28px rgba(30,35,41,.05)}
.hm-posts .wp-block-latest-posts__featured-image img{width:100%;height:190px;object-fit:cover;margin:0}
.hm-posts .wp-block-latest-posts__post-title{display:block;padding:20px 24px 0;font-size:20px;font-weight:700;line-height:1.35;color:var(--hm-ink);text-decoration:none}
.hm-posts .wp-block-latest-posts__post-excerpt{padding:8px 24px 0;color:var(--hm-muted);font-size:15px;line-height:1.65}

/* ---------- faq */
.hm-faq{background:#fff;border:1px solid var(--hm-line);border-radius:14px;padding:0!important;margin:0 0 10px!important}
.hm-faq summary{cursor:pointer;list-style:none;padding:20px 60px 20px 24px;font-size:17px;font-weight:700;position:relative}
.hm-faq summary::-webkit-details-marker{display:none}
.hm-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:#F6F8FA;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600}
.hm-faq[open] summary::after{content:"−";background:var(--hm-red);color:#fff}
.hm-faq p{padding:0 24px 22px;margin:0;font-size:15px;line-height:1.75;color:var(--hm-muted)}

/* ---------- CTA */
.hm-cta{background:radial-gradient(circle at 90% 10%,#FFE3DC 0,rgba(255,227,220,0) 40%),linear-gradient(135deg,#EAF5FC 0%,#F6F9FE 100%);border:1px solid #D9EAF5;border-radius:28px;padding:56px!important}
.hm-person{gap:14px!important}
.hm-person .wp-block-image{margin:0}
.hm-person .wp-block-image img{width:60px;height:60px;border-radius:50%;object-fit:cover;object-position:center 20%;border:3px solid #fff;box-shadow:0 6px 16px rgba(30,35,41,.18)}
.hm-person p{margin:0;line-height:1.35}

/* ---------- footer */
.hm-footer{background:var(--hm-ink);color:#B5BBC4;font-size:14px}
.hm-footer a{color:#B5BBC4;text-decoration:none}
.hm-footer a:hover{color:#fff}
.hm-footer h3{color:#fff!important;font-size:12px!important;letter-spacing:.14em;text-transform:uppercase;margin:0 0 12px!important}
.hm-footer p{margin:0 0 8px}
.hm-footer .hm-footer-phone a{color:#fff;font-size:18px;font-weight:700}
.hm-map{border-radius:20px;overflow:hidden;border:1px solid #343A42;background:#262B32}
.hm-map iframe{display:block;width:100%;height:300px;border:0}
.hm-copy{border-top:1px solid #343A42;padding-top:20px!important;font-size:13px;color:#8A919C}

/* ---------- floating contact */
.hm-float{position:fixed;right:20px;bottom:20px;z-index:70;display:flex;flex-direction:column;gap:12px}
.hm-float a{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:13px;text-decoration:none;box-shadow:0 6px 16px rgba(30,35,41,.25)}
.hm-float .z{background:#0068FF}.hm-float .p{background:var(--hm-red)}

/* ---------- profile page */
.hm-cover{background:radial-gradient(circle at 92% 8%,#FFE3DC 0,rgba(255,227,220,0) 34%),radial-gradient(circle at 0% 100%,#D8EEFB 0,rgba(216,238,251,0) 40%),linear-gradient(180deg,#F1F8FD 0%,#FFFFFF 100%)}
.hm-cover h1{font-size:clamp(34px,4.5vw,52px)!important;line-height:1.08!important;font-weight:800!important;letter-spacing:-.035em}
.hm-mini-stats{background:#fff;border:1px solid var(--hm-line);border-radius:18px;overflow:hidden;gap:0!important}
.hm-mini-stats>*{padding:16px!important;border-right:1px solid var(--hm-line);margin:0!important}
.hm-mini-stats>*:last-child{border-right:0}
.hm-mini-stats .n{font-size:28px;font-weight:800;letter-spacing:-.04em;margin:0}
.hm-mini-stats .t{font-size:12px;color:#6B7280;margin:0}
.hm-director .wp-block-image img{border-radius:24px;box-shadow:24px 24px 0 #C8102E,0 20px 50px rgba(30,35,41,.18)}
.hm-quote-line{border-left:4px solid var(--hm-red)!important;padding:8px 0 8px 20px!important;margin:0!important}
.hm-quote-line p{font-size:21px;font-weight:700;line-height:1.5;color:var(--hm-ink)}
.hm-info{background:#fff;border:1px solid var(--hm-line);border-radius:16px;padding:20px 22px!important}
.hm-info .k{font-size:11px!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8A919C;margin:0 0 6px!important}
.hm-info .v{font-size:16px;font-weight:700;line-height:1.5;margin:0}
.hm-org-top{background:var(--hm-ink);color:#fff;border-radius:18px;padding:20px 36px!important;text-align:center;max-width:320px;margin:0 auto!important}
.hm-org-top p{margin:0;color:#B5BBC4;font-size:13px}.hm-org-top h3{color:#fff!important;margin:0!important;font-size:18px!important}
.hm-dept{background:#fff;border:1px solid var(--hm-line);border-top:4px solid var(--hm-blue);border-radius:16px;padding:20px!important;box-shadow:0 10px 26px rgba(30,35,41,.05)}
.hm-dept.d2{border-top-color:var(--hm-red)}.hm-dept.d3{border-top-color:#1F8A4C}.hm-dept.d4{border-top-color:#B86E00}.hm-dept.d5{border-top-color:#5B47B0}
.hm-dept h3{font-size:16px!important;margin:0 0 6px!important}.hm-dept p{font-size:14px;line-height:1.6;color:var(--hm-muted);margin:0}
.hm-vision{border-radius:24px;padding:40px!important}
.hm-vision.v1{background:linear-gradient(160deg,#EAF5FC,#F6FAFD);border:1px solid #D9EAF5}
.hm-vision.v2{background:linear-gradient(160deg,#FFF1EE,#FFF8F6);border:1px solid #F8DCD5}
.hm-tile{background:#fff;border:1px solid var(--hm-line);border-radius:18px;padding:20px!important}
.hm-tile h3{font-size:16px!important;margin:0 0 6px!important}.hm-tile p{font-size:14px;line-height:1.55;color:var(--hm-muted);margin:0}
.hm-office{background:#fff;border:1px solid var(--hm-line);border-radius:24px;padding:32px!important}
.hm-office li{list-style:none;position:relative;padding-left:40px;margin-bottom:12px}
.hm-office li::before{content:"";position:absolute;left:0;top:0;width:28px;height:28px;border-radius:8px;background:#EAF5FC url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230B7BC4%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E") center/14px no-repeat}
.hm-office ul{padding:0}
.hm-logo-grid .wp-block-image{margin:0;background:#fff;border:1px solid var(--hm-line);border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(30,35,41,.04)}
.hm-logo-grid .wp-block-image img{display:block;width:100%;aspect-ratio:677/312;object-fit:cover}
.hm-logo-grid .wp-block-image figcaption{margin:0;padding:12px 16px;border-top:1px solid #EEF1F4;font-size:13px;font-weight:700;color:#3F4752;text-align:left}
.hm-commit{background:linear-gradient(160deg,#FFF1EE,#FDE3DE);border:1px solid #F8D5CE;border-radius:24px;padding:32px 40px!important}
.hm-commit .n{font-size:64px;font-weight:800;letter-spacing:-.06em;color:var(--hm-red);margin:0;line-height:1}

/* ---------- blog / single */
.hm-page-head{background:linear-gradient(180deg,#EAF4FC 0%,#F7FBFE 100%);padding-top:64px!important;padding-bottom:48px!important}
.hm-page-head h1{font-size:clamp(30px,4vw,44px)!important;font-weight:800!important;letter-spacing:-.03em;margin:0!important}
.hm-content{padding-top:48px!important;padding-bottom:80px!important}
.hm-content h2{font-size:28px;font-weight:800;letter-spacing:-.02em;margin-top:40px}
.hm-content h3{font-size:21px;font-weight:700;margin-top:28px}
.hm-content p,.hm-content li{font-size:17px;line-height:1.8}
.hm-post-card{background:#fff;border:1px solid var(--hm-line);border-radius:20px;overflow:hidden;padding-bottom:20px!important;box-shadow:0 10px 28px rgba(30,35,41,.05)}
.hm-post-card .wp-block-post-featured-image img{height:200px;object-fit:cover}
.hm-post-card .wp-block-post-title{padding:0 22px;font-size:20px!important;margin:16px 0 6px!important}
.hm-post-card .wp-block-post-title a{text-decoration:none;color:var(--hm-ink)}
.hm-post-card .wp-block-post-excerpt{padding:0 22px;color:var(--hm-muted);font-size:15px}

@media (max-width:781px){
  .hm-section{padding-top:64px;padding-bottom:64px}
  .hm-cta{padding:32px!important}
  .hm-team-text .hm-big{font-size:80px!important}
  .hm-quote{margin-top:-40px!important}
  .hm-mini-stats>*{border-right:0;border-bottom:1px solid var(--hm-line)}
}

/* ---------- 1.0.1 fixes */
/* hero: căn trái toàn bộ chữ theo cùng một lề */
.hm-hero>:not(.hm-hero-slides){margin-left:max(0px,calc((100% - 1200px)/2))!important;margin-right:auto!important}
/* số liệu: 2 cột ở màn vừa, 4 cột ở màn rộng */
.is-layout-grid:has(>.hm-stat){grid-template-columns:repeat(4,1fr)!important}
@media (max-width:1000px){.is-layout-grid:has(>.hm-stat){grid-template-columns:repeat(2,1fr)!important}}
@media (max-width:520px){.is-layout-grid:has(>.hm-stat){grid-template-columns:1fr!important}}
/* form báo giá */
.hm-qform{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:14px;align-items:end}
.hm-qform label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;letter-spacing:.04em;color:#6B7280;text-transform:uppercase}
.hm-qform input,.hm-qform select{border:1px solid #DDE3EA;border-radius:10px;min-height:48px;background:#F7F9FB;padding:10px 14px;font-size:15px;font-family:inherit;text-transform:none;letter-spacing:0;color:var(--hm-ink);width:100%;box-sizing:border-box}
.hm-qform button{background:var(--hm-red);color:#fff;border:0;border-radius:10px;min-height:48px;padding:0 26px;font-weight:700;font-size:15px;font-family:inherit;cursor:pointer;box-shadow:0 10px 24px rgba(200,16,46,.25)}
.hm-qform button:hover{background:#A50D26}
.hm-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.hm-form-msg{padding:12px 16px;border-radius:10px;font-weight:600;margin:0 0 14px!important}
.hm-form-msg.is-ok{background:#E8F6EE;color:#14663D}
.hm-form-msg.is-err{background:#FDECEE;color:#A50D26}
@media (max-width:900px){.hm-qform{grid-template-columns:1fr 1fr}.hm-qform button{grid-column:1/-1}}
@media (max-width:520px){.hm-qform{grid-template-columns:1fr}}

/* =========================================================
   1.1.0 – làm đẹp toàn trang
   ========================================================= */
/* bỏ khoảng trắng giữa header và nội dung */
.wp-site-blocks>main,.wp-site-blocks>footer,.wp-site-blocks>*+*{margin-block-start:0!important}
main.wp-block-group{margin-top:0!important}
main>.entry-content,main .wp-block-post-content{margin-top:0!important}

/* ---------- menu mới: chữ trắng gọn, nút đang chọn là viên trắng */
.hm-mainbar>.wp-block-group{flex-wrap:nowrap!important;gap:28px!important}
.hm-brand{flex:0 0 auto}
.hm-nav{flex:0 1 auto;margin-left:auto;background:none!important;border:0!important;padding:0!important;box-shadow:none!important}
.hm-nav .wp-block-navigation__container{flex-wrap:nowrap!important;gap:4px!important;background:none!important}
.hm-nav .wp-block-navigation-item{background:none!important;border:0!important;box-shadow:none!important}
.hm-nav .wp-block-navigation-item__content{white-space:nowrap;font-size:14.5px!important;font-weight:600!important;padding:9px 15px!important;border-radius:999px;background:transparent!important;color:#fff!important;transition:background .2s,color .2s;position:relative}
.hm-nav .wp-block-navigation-item__content:hover{background:rgba(255,255,255,.16)!important}
.hm-nav .current-menu-item>.wp-block-navigation-item__content,.hm-nav .wp-block-navigation-item__content[aria-current="page"]{background:#fff!important;color:#0A5E99!important;font-weight:800!important;box-shadow:0 6px 16px rgba(4,40,70,.25)}
@media (min-width:1121px){
  .hm-nav .wp-block-navigation__responsive-container-open{display:none!important}
  .hm-nav .wp-block-navigation__responsive-container{display:block!important;position:static!important;background:none!important}
}
@media (max-width:1120px){
  .hm-nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex!important}
  .hm-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none!important}
  .hm-mainbar .wp-block-navigation__responsive-container-open svg{width:30px;height:30px;fill:#fff}
  .hm-nav .is-menu-open .wp-block-navigation__container{flex-direction:column;align-items:flex-start!important;gap:6px!important}
  .hm-nav .is-menu-open .wp-block-navigation-item__content{font-size:19px!important;padding:10px 4px!important}
}

/* ---------- tiêu đề mục: 1 hàng trên máy tính */
.hm-center{max-width:1040px!important}
.hm-center .hm-h2{font-size:clamp(28px,3.1vw,42px)!important;text-wrap:balance}
.hm-center .hm-lead,.hm-center p:not(.hm-eyebrow){max-width:760px;margin-left:auto!important;margin-right:auto!important}
.wp-block-column .hm-h2{font-size:clamp(28px,2.7vw,38px)!important;text-wrap:balance}
.hm-hl{color:var(--hm-red);position:relative;white-space:nowrap}
.hm-hl::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.18em;background:rgba(200,16,46,.15);border-radius:4px;z-index:-1}

/* ---------- logo khách hàng */
.hm-clients{background:#fff;border-bottom:1px solid var(--hm-line)}
.hm-clients .hm-eyebrow{text-align:center}
.hm-logo-row{gap:14px!important;margin-top:18px!important;grid-template-columns:repeat(8,1fr)!important}
.hm-logo-item{margin:0!important;background:#fff;border:1px solid var(--hm-line);border-radius:14px;overflow:hidden;transition:transform .25s,box-shadow .25s;filter:grayscale(.15)}
.hm-logo-item:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(30,35,41,.10);filter:none}
.hm-logo-item img{display:block;width:100%;aspect-ratio:677/312;object-fit:cover}
.hm-clients-more{text-align:center;color:var(--hm-muted);font-size:14.5px;margin-top:16px!important}
@media (max-width:1000px){.hm-logo-row{grid-template-columns:repeat(4,1fr)!important}}
@media (max-width:520px){.hm-logo-row{grid-template-columns:repeat(2,1fr)!important}}

/* ---------- Giới thiệu: nổi bật, ảnh cân giữa */
.hm-about-cols{gap:64px!important}
.hm-lead-strong{font-size:20px!important;color:var(--hm-ink)!important;font-weight:600;line-height:1.6!important}
.hm-about-diff{background:linear-gradient(90deg,#FFF1EE,#FFF8F6);border-left:4px solid var(--hm-red);border-radius:0 14px 14px 0;padding:14px 18px!important;font-size:15.5px;color:var(--hm-ink)}
.hm-values{gap:14px!important;margin-top:22px!important}
.hm-values .hm-value{background:#fff;border:1px solid var(--hm-line);border-radius:18px;padding:20px 20px 20px 76px!important;box-shadow:0 8px 22px rgba(30,35,41,.05);transition:transform .25s,box-shadow .25s}
.hm-values .hm-value:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(30,35,41,.10)}
.hm-values .hm-value::before{left:20px;top:20px;width:42px;height:42px;border-radius:12px;background-size:20px}
.hm-values .hm-value.c1::before{background-color:#E6F2FB;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230B7BC4%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E")}
.hm-values .hm-value.c2::before{background-color:#FDECEE}
.hm-values .hm-value.c3::before{background-color:#FFF0E6;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23D9480F%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E")}
.hm-values .hm-value.c4::before{background-color:#E7F5EC;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23178352%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E")}
.hm-value h3{font-size:16.5px!important}
.hm-legal{display:flex;flex-wrap:wrap;gap:8px;border-top:0!important;padding-top:0!important;margin-top:20px!important}
.hm-legal span{background:var(--hm-light);border:1px solid var(--hm-line);border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:600;color:#4B5563}
.hm-legal span:first-child{background:#E6F2FB;border-color:#CFE5F6;color:#0A5E99}
.hm-about-media{position:relative}
.hm-about-media .hm-img-tall{margin:0!important}
.hm-about-media .hm-img-tall img{height:600px;width:100%;object-fit:cover;border-radius:28px;box-shadow:0 30px 60px rgba(30,35,41,.18)}
.hm-about-media::before{content:"";position:absolute;right:-18px;top:-18px;width:55%;height:60%;border-radius:28px;background:linear-gradient(135deg,#0B7BC4,#0A5E99);z-index:-1;opacity:.9}
.hm-about-media .hm-badge-float{position:absolute!important;left:-28px;bottom:48px;margin:0!important}
.hm-about-media .hm-badge-2{left:auto;right:-20px;bottom:auto;top:44px}
.hm-badge-2 .hm-badge-n{color:#0A5E99!important}
@media (max-width:781px){
  .hm-about-media .hm-img-tall img{height:380px}
  .hm-about-media .hm-badge-float{left:12px;bottom:16px}
  .hm-about-media .hm-badge-2{right:12px;top:16px}
  .hm-about-media::before{display:none}
}

/* ---------- Hồ sơ: thư ngỏ không bị che chữ */
.hm-director .wp-block-image img{box-shadow:-20px 20px 0 #C8102E,0 20px 50px rgba(30,35,41,.18)!important}
#thu-ngo .wp-block-columns{gap:72px!important}
#thu-ngo .wp-block-column:first-child{padding-left:20px}

/* ---------- Hồ sơ: tầm nhìn, sứ mệnh ra giữa, cân đối */
.is-layout-grid:has(>.hm-vision){grid-template-columns:repeat(2,minmax(0,520px))!important;justify-content:center;gap:24px!important}
.hm-vision{height:100%}
.wp-block-group:has(>.is-layout-grid>.hm-vision) .hm-eyebrow,.wp-block-group:has(>.is-layout-grid>.hm-vision) .hm-h2{text-align:center}
.hm-section:has(.hm-vision) > .wp-block-group:first-child{text-align:center}
@media (max-width:900px){.is-layout-grid:has(>.hm-vision){grid-template-columns:1fr!important}}

/* ---------- thẻ hover cho các khối dịch vụ, khu vực */
.hm-card,.hm-area{transition:transform .25s,box-shadow .25s}
.hm-card:hover,.hm-area:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(30,35,41,.10)}

/* ---------- footer có logo */
.hm-footer-logo{margin:0 0 14px!important}
.hm-footer-logo img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:14px;padding:6px}

/* ---------- Vì sao chọn Hùng Minh */
.hm-why{background:linear-gradient(180deg,#FFF4F1 0%,#F3F8FD 100%)}
.hm-why-grid{grid-template-columns:repeat(3,1fr)!important;gap:22px!important;margin-top:34px!important}
.hm-why-card{background:#fff;border:1px solid var(--hm-line);border-radius:22px;padding:30px 28px 28px!important;box-shadow:0 10px 30px rgba(30,35,41,.06);position:relative;overflow:hidden;transition:transform .25s,box-shadow .25s}
.hm-why-card::after{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--w)}
.hm-why-card:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(30,35,41,.12)}
.hm-why-icon{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.hm-why-icon svg{width:54px;height:54px;padding:14px;border-radius:16px;background:var(--wl);color:var(--w);box-sizing:border-box}
.hm-why-icon span{font-size:40px;font-weight:800;letter-spacing:-.04em;color:var(--wl2);line-height:1}
.hm-why-card h3{font-size:19px!important;font-weight:800!important;margin:0 0 8px!important;color:var(--hm-ink)}
.hm-why-card p{font-size:15px;line-height:1.65;color:var(--hm-muted);margin:0}
.w-blue{--w:#0B7BC4;--wl:#E6F2FB;--wl2:#D3E7F7}
.w-red{--w:#C8102E;--wl:#FDECEE;--wl2:#F9D6DB}
.w-orange{--w:#D9480F;--wl:#FFF0E6;--wl2:#FCDCC8}
.w-green{--w:#178352;--wl:#E7F5EC;--wl2:#CDEBD9}
.w-purple{--w:#6941C6;--wl:#F1ECFB;--wl2:#E0D6F6}
.w-teal{--w:#0E7C86;--wl:#E3F4F5;--wl2:#C9E8EA}
@media (max-width:1000px){.hm-why-grid{grid-template-columns:repeat(2,1fr)!important}}
@media (max-width:600px){.hm-why-grid{grid-template-columns:1fr!important}}

/* ---------- Hồ sơ pháp lý: 8 ô đều 2 hàng, có biểu tượng */
.hm-legal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}
.lg-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--hm-line);border-radius:18px;padding:20px;box-shadow:0 8px 22px rgba(30,35,41,.04);transition:transform .25s,box-shadow .25s}
.lg-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(30,35,41,.09)}
.lg-ico{flex:0 0 42px;height:42px;border-radius:12px;background:#E6F2FB;color:#0B7BC4;display:flex;align-items:center;justify-content:center}
.lg-ico svg{width:21px;height:21px}
.lg-card:nth-child(4n+2) .lg-ico{background:#FDECEE;color:#C8102E}
.lg-card:nth-child(4n+3) .lg-ico{background:#E7F5EC;color:#178352}
.lg-card:nth-child(4n+4) .lg-ico{background:#FFF0E6;color:#D9480F}
.lg-k{font-size:11px!important;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#8A919C;margin:2px 0 6px!important}
.lg-v{font-size:15.5px;font-weight:700;line-height:1.5;color:var(--hm-ink);margin:0!important}
.lg-v a{color:var(--hm-ink);text-decoration:none}.lg-v a:hover{color:var(--hm-red)}
.lg-tags{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.lg-tags span::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--hm-red);margin-right:8px;vertical-align:middle}
@media (max-width:1100px){.hm-legal-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.hm-legal-grid{grid-template-columns:1fr}}

/* ---------- nhãn MST/ngành nghề 1 hàng */
.hm-legal{flex-wrap:nowrap!important;gap:6px!important}
.hm-legal span{white-space:nowrap;padding:6px 11px!important;font-size:12.5px!important}
@media (max-width:560px){.hm-legal{flex-wrap:wrap!important}}

/* ---------- Sơ đồ tổ chức dạng cây */
.hm-orgchart{margin-top:36px}
.oc-top{display:flex;align-items:center;gap:16px;width:max-content;max-width:100%;margin:0 auto;background:linear-gradient(135deg,#1E2329,#2B323B);color:#fff;border-radius:20px;padding:14px 28px 14px 14px;box-shadow:0 18px 40px rgba(30,35,41,.22);position:relative;z-index:1}
.oc-top img{width:62px;height:62px;border-radius:14px;object-fit:cover;object-position:top;border:2px solid rgba(255,255,255,.25)}
.oc-top-t{margin:0!important;font-size:19px;font-weight:800;color:#fff}
.oc-top-s{margin:2px 0 0!important;font-size:13.5px;color:#B5BBC4}
.oc-stem{width:2px;height:34px;background:#9DBAD3;margin:0 auto}
.oc-row{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;position:relative;padding-top:30px}
.oc-row::before{content:"";position:absolute;top:0;left:10%;right:10%;height:2px;background:#9DBAD3}
.oc-node{position:relative;background:#fff;border:1px solid var(--hm-line);border-radius:18px;padding:22px 18px 18px;text-align:center;box-shadow:0 10px 26px rgba(30,35,41,.06);transition:transform .25s,box-shadow .25s}
.oc-node::before{content:"";position:absolute;top:-31px;left:50%;width:2px;height:30px;background:#9DBAD3}
.oc-node::after{content:"";position:absolute;top:-36px;left:calc(50% - 5px);width:10px;height:10px;border-radius:50%;background:var(--w);box-shadow:0 0 0 3px #EAF4FC}
.oc-node:hover{transform:translateY(-5px);box-shadow:0 20px 40px rgba(30,35,41,.12)}
.oc-ico{width:52px;height:52px;margin:0 auto 12px;border-radius:16px;background:var(--wl);color:var(--w);display:flex;align-items:center;justify-content:center}
.oc-ico svg{width:24px;height:24px}
.oc-node h4{font-size:16px;font-weight:800;margin:0 0 10px;color:var(--hm-ink);line-height:1.3}
.oc-node ul{list-style:none;margin:0;padding:10px 0 0;border-top:1px dashed var(--hm-line)}
.oc-node li{font-size:13.5px;color:var(--hm-muted);line-height:1.5;padding:3px 0}
.oc-field{margin:34px auto 0;max-width:900px;background:#fff;border:1px solid var(--hm-line);border-radius:20px;padding:20px 24px;box-shadow:0 10px 26px rgba(30,35,41,.05)}
.oc-field-t{text-align:center;font-size:12px!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--hm-red);margin:0 0 14px!important}
.oc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.oc-step{position:relative;display:flex;align-items:center;gap:10px;background:var(--hm-light);border-radius:14px;padding:12px 14px}
.oc-step b{flex:0 0 30px;height:30px;border-radius:50%;background:#0B7BC4;color:#fff;font-size:14px;display:flex;align-items:center;justify-content:center}
.oc-step span{font-weight:700;font-size:14.5px;color:var(--hm-ink)}
.oc-step:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:10px;height:10px;border-top:2px solid #9DBAD3;border-right:2px solid #9DBAD3;transform:translateY(-50%) rotate(45deg)}
@media (max-width:1000px){
  .oc-row{grid-template-columns:repeat(2,1fr);padding-top:0}
  .oc-row::before,.oc-node::before,.oc-node::after{display:none}
  .oc-stem{height:20px}
  .oc-steps{grid-template-columns:repeat(2,1fr)}
  .oc-step::after{display:none}
}
@media (max-width:560px){.oc-row{grid-template-columns:1fr}.oc-top{padding-right:18px}}

/* =========================================================
   1.2.0 – rà soát toàn trang: thẳng hàng, điện thoại, in PDF
   ========================================================= */
/* tiêu đề thẻ cao bằng nhau để đoạn mô tả thẳng hàng */
@media (min-width:1001px){
  .hm-card h3{min-height:2.6em;display:flex;align-items:flex-end}
  .hm-step h3{min-height:2.6em;display:flex;align-items:center;justify-content:center}
  .hm-why-card h3{min-height:2.6em;display:flex;align-items:flex-end}
  .hm-step{display:flex;flex-direction:column}
}
.hm-card h3,.hm-step h3,.hm-why-card h3,.oc-node h4{text-wrap:balance}

/* Đội bốc xếp: số 300+ gọn, không che mặt người */
.hm-team-photo::after{background:linear-gradient(180deg,rgba(20,24,30,0) 0%,rgba(20,24,30,0) 40%,rgba(20,24,30,.78) 72%,rgba(20,24,30,.92) 100%)!important}
.hm-team-text{padding:32px 34px!important}
.hm-team-text .hm-big{font-size:72px!important;line-height:1!important}
.hm-team-text p{font-size:15px;line-height:1.55}
.hm-handling{width:100%}
.hm-handling>.hm-item{width:100%;box-sizing:border-box}
.hm-pills{background:#fff;border:1px solid var(--hm-line);border-radius:14px;padding:12px 16px!important;font-size:13.5px}

/* Trang chính sách */
.hm-legal-page h2{font-size:21px!important;margin:34px 0 10px!important}
.hm-legal-page p{font-size:16px;line-height:1.8;color:#3F4752}

/* ---------- điện thoại */
@media (max-width:782px){
  .hm-topbar{display:none}
  .hm-mainbar{padding-top:10px!important;padding-bottom:10px!important}
  .hm-brand .wp-block-image img{width:40px;height:40px}
  .hm-brand-name{font-size:18px!important}
  .hm-hero{min-height:0;padding-top:64px!important;padding-bottom:130px!important}
  .hm-hero-badge{font-size:11.5px!important;padding:6px 12px}
  .hm-hero-badge strong{display:block;width:max-content;margin:0 0 6px}
  .hm-hero-text{font-size:16.5px}
  .hm-section{padding-top:64px;padding-bottom:64px}
  .hm-center .hm-h2,.wp-block-column .hm-h2,.hm-h2{font-size:28px!important}
  .hm-about-cols{gap:36px!important}
  .hm-legal{flex-wrap:wrap!important}
}
@media (max-width:520px){
  .is-layout-grid:has(>.hm-stat){grid-template-columns:repeat(2,1fr)!important;gap:12px!important}
  .hm-stat{padding:18px 16px!important;border-radius:16px!important}
  .hm-stat .hm-stat-n,.hm-stat-n{font-size:32px!important}
  .hm-stat p:not(.hm-stat-n){font-size:12.5px!important;line-height:1.45}
  .hm-qform button{width:100%}
}
.hm-float a,.hm-fab a,.hm-floating a{width:52px!important;height:52px!important}
@media (max-width:782px){.hm-float,.hm-fab,.hm-floating{right:12px!important;bottom:14px!important}}

/* ---------- in / lưu PDF hồ sơ năng lực */
@media print{
  header.wp-block-template-part,footer.wp-block-template-part,#wpadminbar,.hm-float,.hm-fab,.hm-floating,.wp-block-buttons{display:none!important}
  body{background:#fff!important}
  .hm-section{padding-top:28px!important;padding-bottom:28px!important;break-inside:avoid}
  .hm-node,.oc-node,.lg-card,.hm-vision{break-inside:avoid;box-shadow:none!important}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ---------- Trang Giới thiệu */
.hm-ab-hero{background:linear-gradient(135deg,#EAF4FC 0%,#FFF6F2 100%)}
.hm-ab-title{font-size:clamp(32px,3.6vw,50px)!important;line-height:1.12!important}
.hm-ab-img img{width:100%;height:460px;object-fit:cover;border-radius:28px;box-shadow:0 26px 56px rgba(30,35,41,.16)}
.hm-ab-stats{grid-template-columns:repeat(4,1fr)!important;gap:18px!important}
.hm-ab-svcs{grid-template-columns:repeat(3,1fr)!important;gap:20px!important;margin-top:30px!important}
.hm-ab-svc{background:#fff;border:1px solid var(--hm-line);border-radius:20px;padding:26px!important;box-shadow:0 10px 26px rgba(30,35,41,.05);border-top:4px solid var(--hm-blue);transition:transform .25s,box-shadow .25s}
.hm-ab-svc:nth-child(2){border-top-color:var(--hm-red)}.hm-ab-svc:nth-child(3){border-top-color:#178352}.hm-ab-svc:nth-child(4){border-top-color:#D9480F}.hm-ab-svc:nth-child(5){border-top-color:#6941C6}.hm-ab-svc:nth-child(6){border-top-color:#0E7C86}
.hm-ab-svc:hover,.hm-ab-val:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(30,35,41,.10)}
.hm-ab-svc h3,.hm-ab-val h3{font-size:18px!important;font-weight:800!important;margin:0 0 8px!important;text-wrap:balance}
.hm-ab-svc p,.hm-ab-val p{font-size:15px;line-height:1.65;color:var(--hm-muted);margin:0}
.hm-ab-vals{grid-template-columns:repeat(4,1fr)!important;gap:20px!important;margin-top:30px!important}
.hm-ab-val{background:#fff;border:1px solid var(--hm-line);border-radius:20px;padding:26px!important;position:relative;overflow:hidden;box-shadow:0 10px 26px rgba(30,35,41,.05);transition:transform .25s,box-shadow .25s}
.hm-ab-val::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--w)}
.hm-ab-val h3{color:var(--w)!important;font-size:22px!important}
.hm-ab-letter{background:#fff;border:1px solid var(--hm-line);border-radius:24px;padding:28px!important;box-shadow:0 14px 34px rgba(30,35,41,.07)}
.hm-ab-letter .wp-block-columns{gap:24px!important;margin:0}
.hm-ab-ceo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top;border-radius:18px}
.hm-ab-letter .hm-quote-line p{font-size:17px!important;line-height:1.65}
.hm-ab-sign{font-size:14px;color:var(--hm-muted);margin-top:12px!important}
@media (max-width:1000px){.hm-ab-svcs,.hm-ab-vals,.hm-ab-stats{grid-template-columns:repeat(2,1fr)!important}}
@media (max-width:600px){.hm-ab-svcs,.hm-ab-vals{grid-template-columns:1fr!important}.hm-ab-img img{height:300px}}

.hm-card h3 a{color:inherit;text-decoration:none}.hm-card h3 a:hover{color:var(--hm-red)}
.hm-card-more{margin-top:14px!important}.hm-card-more a{font-weight:700;color:var(--hm-red);text-decoration:none;font-size:14.5px}

/* bảng giá */
.hm-price-table{margin:0!important}
.hm-price-table table{border-collapse:collapse;width:100%;font-size:15px}
.hm-price-table th{background:#F6F8FA;color:#6B7280;font-size:12px;letter-spacing:.08em;text-transform:uppercase;text-align:left;padding:12px 14px;border:0;border-bottom:1px solid var(--hm-line)}
.hm-price-table td{padding:14px;border:0;border-bottom:1px dashed #E8ECF1;color:var(--hm-ink)}
.hm-price-table tr:last-child td{border-bottom:0}
.hm-price-table td strong{color:var(--hm-red);font-size:16px}
.hm-price-table tbody tr:hover{background:#FFF8F6}

/* bài viết kiến thức */
.hm-tldr{background:linear-gradient(135deg,#EAF4FC,#F6FAFD);border:1px solid #D9EAF5;border-left:5px solid #0B7BC4;border-radius:16px;padding:20px 24px!important;margin:28px 0!important}
.hm-tldr>p:first-child{margin:0 0 6px!important;font-size:17px}
.hm-post-cta{background:linear-gradient(135deg,#FFF1EE,#FFF8F6);border:1px solid #F8DCD5;border-radius:16px;padding:18px 22px!important;margin-top:32px!important}
.hm-post-cta a{color:var(--hm-red);font-weight:700}
.wp-block-post-content h2.wp-block-heading{font-size:clamp(24px,2.4vw,30px);margin-top:44px!important;letter-spacing:-.02em}
.wp-block-post-content h3.wp-block-heading{font-size:20px;margin-top:28px!important}
.wp-block-post-content>p,.wp-block-post-content li{font-size:17px;line-height:1.8;color:#2F3640}
.wp-block-post-content figure.wp-block-image img{border-radius:16px;box-shadow:0 12px 30px rgba(30,35,41,.08)}
.wp-block-post-content figcaption{text-align:center;font-size:14px;color:#6B7280}
.schema-faq-section{background:#fff;border:1px solid var(--hm-line);border-radius:14px;padding:16px 20px;margin:0 0 12px}
.schema-faq-question{display:block;font-size:17px;margin-bottom:6px;color:var(--hm-ink)}
.schema-faq-answer{margin:0!important}

/* v1.4 – canh giữa tiêu đề trang bài viết / chuyên mục */
.hm-page-head{text-align:center}
.hm-page-head h1{margin:10px auto 10px!important;max-width:980px!important;line-height:1.2}
.hm-page-head .wp-block-post-terms a{text-decoration:none;color:var(--hm-red);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.hm-page-head .wp-block-post-date{color:var(--hm-muted);font-size:15px}
.hm-page-head .wp-block-term-description{max-width:720px!important;margin:12px auto 0!important;color:var(--hm-muted)}

/* v1.4 – slider bài viết Kiến thức (trang chủ) */
.hm-slider{position:relative;max-width:1200px;margin:0 auto 8px}
.hm-slider ul.hm-posts.wp-block-latest-posts{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px;padding:8px 4px 28px!important;margin:0!important;scrollbar-width:none}
.hm-slider ul.hm-posts::-webkit-scrollbar{display:none}
.hm-slider ul.hm-posts li{flex:0 0 calc((100% - 48px)/3)!important;width:auto!important;max-width:none!important;margin:0!important;scroll-snap-align:start}
.hm-sl-btn{position:absolute;top:100px;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid var(--hm-line);background:#fff;color:var(--hm-ink);font-size:24px;line-height:1;cursor:pointer;z-index:3;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(30,35,41,.12);transition:.2s}
.hm-sl-btn:hover{background:var(--hm-red);color:#fff;border-color:var(--hm-red)}
.hm-sl-prev{left:-22px}.hm-sl-next{right:-22px}
.hm-sl-dots{display:flex;justify-content:center;gap:8px;margin:0 0 24px}
.hm-sl-dots button{width:9px;height:9px;border-radius:9px;border:0;padding:0;background:#D5DCE3;cursor:pointer;transition:.25s}
.hm-sl-dots button.on{width:26px;background:var(--hm-red)}
@media(max-width:1000px){.hm-slider ul.hm-posts li{flex-basis:calc((100% - 24px)/2)!important}.hm-sl-prev{left:4px}.hm-sl-next{right:4px}}
@media(max-width:640px){.hm-slider ul.hm-posts li{flex-basis:86%!important}.hm-sl-btn{width:40px;height:40px;top:90px}}

#kien-thuc .wp-block-buttons{justify-content:center}
#kien-thuc .hm-h2{margin-bottom:28px!important}

/* Thẻ dịch vụ Đại lý hải quan */
.hm-card.c7{background:#FDECEF;border-color:#F4C9D1;border-top-color:#C8102E}
.hm-card.c7::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C8102E%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H6v18h12V7z%22/%3E%3Cpath%20d%3D%22M14%203v4h4M9%2012h6M9%2016h4%22/%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%2217.5%22%20r%3D%222.5%22/%3E%3C/svg%3E")}

/* === Khoảng cách giữa các phần (01/12/2026) === */
body .entry-content > .alignfull + .alignfull,
body .wp-site-blocks .hm-section{margin-block-start:0}
body .hm-section{padding-top:64px;padding-bottom:64px}
body .hm-section.is-tight{padding-top:40px;padding-bottom:40px}
@media (max-width:781px){
  body .hm-section{padding-top:44px;padding-bottom:44px}
  body .hm-section.is-tight{padding-top:30px;padding-bottom:30px}
}
/* === hết khoảng cách === */

/* === Cân đối chữ & điện thoại (01/12/2026) === */
body h1, body h2, body h3, body h4, body summary{text-wrap:balance}
body p, body li{text-wrap:pretty}
body .entry-content p:not([class*="has-text-align"]):not(.hm-eyebrow):not(.hm-crumb):not(.hm-svc-more):not(.hm-card-more):not(.hm-center *):not(.hm-svc-no),
body .entry-content li:not(.hm-center *){text-align:justify;text-justify:inter-word;hyphens:none}
body .wp-block-table, body figure.hm-price{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:781px){
  body .entry-content p, body .entry-content li{font-size:16px;line-height:1.65}
  body .entry-content p.hm-lead{font-size:17px;line-height:1.65}
  body .entry-content p.hm-lead-strong{font-size:18px!important;line-height:1.6}
  body .entry-content .hm-card p, body .entry-content .hm-svc-card p, body .entry-content p.hm-small{font-size:15px;line-height:1.6}
  body h1, body .hm-ab-title{font-size:30px;line-height:1.18}
  body h2.hm-h2{font-size:26px;line-height:1.2}
  body .hm-hl{white-space:normal}
  html body .entry-content .hm-svc-steps.is-layout-grid{grid-template-columns:1fr!important}
  body .hm-orgchart{overflow-x:auto}
}
@media (min-width:782px) and (max-width:1000px){html body .entry-content .hm-svc-steps.is-layout-grid{grid-template-columns:repeat(2,1fr)!important}}
/* === hết cân đối chữ === */
