/* Hanhi Helmet Landing - luxury light, mobile-first (Google Ads friendly) */
.hanhi-wrap{
  /* Light premium palette */
  --bg:#f4f7ff;
  --bg2:#ffffff;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#475569;
  --line: rgba(15,23,42,.10);
  --shadow: 0 22px 60px rgba(2,6,23,.10);
  --shadow2: 0 12px 28px rgba(2,6,23,.10);
  --ring: rgba(59,130,246,.18);
  --primary:#0f172a;
  --primary2:#1e293b;
  --cta:#f97316;
  --cta2:#ea580c;
  --accent:#16a34a;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.hanhi-shell{ width:min(1160px, calc(100% - 40px)); margin:0 auto; }

/* Top bar */
.hanhi-topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,252,.82));
  border-bottom: 1px solid var(--line);
}
.hanhi-top-inner{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:16px; }
.hanhi-brand{ display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit; }
.hanhi-logo{
  width:46px; height:46px;
  border-radius:14px;
  background:#fff;
  padding:6px;
  object-fit:contain;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}
.hanhi-brandname{ font-weight:900; letter-spacing:.2px; }
.hanhi-brandtag{ font-size:12px; color: var(--muted); margin-top:2px; }
.hanhi-topcta{ display:flex; gap:10px; align-items:center; }

/* Buttons */
.hanhi-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:9px 12px; border-radius:12px;
  font-weight:700; font-size:14px; line-height:1.1;
  border:1px solid rgba(2,6,23,.10);
  background:rgba(255,255,255,.92);
  color:var(--text,#0f172a);
  box-shadow:0 10px 26px rgba(2,6,23,.10);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
  -webkit-tap-highlight-color:transparent;
}

.hanhi-btn:hover{ transform:translateY(-1px); box-shadow:0 16px 38px rgba(2,6,23,.14); filter:saturate(1.02); }

.hanhi-btn:active{ transform:translateY(0); box-shadow:0 10px 24px rgba(2,6,23,.12); }

.hanhi-btn-primary{ border:0; color:#fff; background:linear-gradient(135deg,var(--cta,var(--primary,#2563eb)),var(--primary2,#7c3aed)); box-shadow:0 14px 34px rgba(37,99,235,.28); }

.hanhi-btn-ghost{ background: rgba(255,255,255,.75); }
.hanhi-btn-lg{ padding:11px 14px; border-radius:14px; font-size:15px; }

.hanhi-btn-sm{ padding:7px 10px; border-radius:11px; font-size:13px; }


/* Hero */
.hanhi-hero{
  background:
    radial-gradient(1100px 520px at 12% 10%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(900px 480px at 82% 10%, rgba(124,58,237,.15), transparent 60%),
    radial-gradient(900px 520px at 55% 95%, rgba(22,163,74,.12), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  padding: 34px 0 26px;
}
.hanhi-hero-inner{ display:grid; grid-template-columns: 1.25fr .95fr; gap:24px; align-items:start; }
.hanhi-pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background: rgba(37,99,235,.08);
  border:1px solid rgba(37,99,235,.18);
  color:#1e3a8a;
  font-weight:900;
  font-size:13px;
}
.hanhi-h1{ font-size: clamp(28px, 3vw, 44px); line-height:1.06; margin:12px 0 10px; font-weight:950; letter-spacing:-.7px; }
.hanhi-highlight{
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hanhi-h2{ font-size: 22px; margin: 0 0 8px; font-weight:950; letter-spacing:-.3px; }
.hanhi-h3{ font-size: 16px; margin: 0 0 6px; font-weight:950; }
.hanhi-sub{ color: rgba(15,23,42,.82); font-size: 15px; line-height:1.65; margin: 0 0 12px; }
.hanhi-small{ color: rgba(71,85,105,.92); font-size: 13px; line-height:1.55; margin:0; }

.hanhi-kpis{ display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; margin:14px 0 16px; }
.hanhi-kpi{
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  border-radius:18px;
  padding:10px 10px 9px;
  box-shadow: var(--shadow2);
}
.hanhi-kpi b{ display:block; font-size:18px; }
.hanhi-kpi span{ display:block; color: rgba(71,85,105,.95); font-size:12px; margin-top:2px; }

.hanhi-cta-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 14px 0; }
.hanhi-trust{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.hanhi-trust-item{
  font-size:13px;
  color:#0b1220;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
}

/* Pro: hero visual block (fills the left empty area) */
.hanhi-hero-visual{ margin-top:16px; max-width:560px; }
.hanhi-hero-visual-main img{
  width:100%;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow: 0 22px 50px rgba(2,6,23,.12);
  display:block;
}
.hanhi-hero-visual-badges{ display:flex; gap:10px; flex-wrap:wrap; margin:12px 0 10px; }
.hanhi-badge-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(22,163,74,.20);
  background: rgba(236,253,245,.85);
  color:#047857;
  font-weight:700;
  font-size:12px;
}
.hanhi-hero-visual-gallery{ display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; }
.hanhi-hero-visual-gallery img{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow2);
  display:block;
}

/* Cards */
.hanhi-card{
  border:1px solid var(--line);
  border-radius:22px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hanhi-card-soft{ margin-top:12px; padding:16px; background: rgba(255,255,255,.86); }
.hanhi-card-head{ padding:16px 16px 8px; }
.hanhi-card-body{ padding: 0 16px 16px; }

.hanhi-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:950; font-size:12px;
  padding:6px 10px; border-radius:999px;
  background: rgba(22,163,74,.10);
  border:1px solid rgba(22,163,74,.22);
  color:#065f46;
}

.hanhi-list{ margin:10px 0 0; padding:0 0 0 18px; color: rgba(15,23,42,.9); }
.hanhi-list li{ margin:8px 0; }

/* Sections */
.hanhi-section{ padding: 32px 0; background: var(--bg); }
.hanhi-section-alt{ background: linear-gradient(180deg, #ffffff, #f6f8fc); }
.hanhi-sec-head{ margin-bottom: 14px; }

.hanhi-features{ display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
.hanhi-feature{
  padding:16px;
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.hanhi-ic{
  width:42px; height:42px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.18);
  margin-bottom:10px;
}

/* Tabs */
.hanhi-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin: 12px 0 14px; }
.hanhi-tab{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-weight:950;
  cursor:pointer;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.hanhi-tab:hover{ transform: translateY(-1px); }
.hanhi-tab.is-active{
  background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(124,58,237,.12));
  border-color: rgba(37,99,235,.22);
}
.hanhi-tabpanel{ display:none; }
.hanhi-tabpanel.is-active{ display:block; }
.hanhi-catdesc{ color: rgba(71,85,105,.95); margin-bottom: 12px; }

/* Products */
.hanhi-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.hanhi-product{
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.96);
  overflow:hidden;
  box-shadow: var(--shadow2);
}

/* =========================================================
   Catalog UI (tone màu xanh như mockup)
   Applied to product gallery section (#mau)
   ========================================================= */

#mau .hanhi-sec-head{ text-align:center; }
#mau .hanhi-sec-head .hanhi-h2{
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hanhi-catalog{
  --catalog-blue-1:#2b66a8;
  --catalog-blue-2:#255b9d;
  --catalog-red-1:#ff3b3b;
  --catalog-red-2:#d91515;

  background: linear-gradient(180deg, var(--catalog-blue-1), var(--catalog-blue-2));
  border-radius: 26px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(2,6,23,.22);
}

.hanhi-catalog .hanhi-tabs{ justify-content:center; margin: 2px 0 18px; }
.hanhi-catalog .hanhi-tab{
  background: rgba(255,255,255,.96);
  border: 0;
  box-shadow: 0 10px 26px rgba(2,6,23,.16);
}
.hanhi-catalog .hanhi-tab.is-active{
  color:#fff;
  background: linear-gradient(135deg, var(--catalog-red-1), var(--catalog-red-2));
  box-shadow: 0 14px 34px rgba(217,21,21,.30);
}

.hanhi-catalog .hanhi-catdesc{
  color: rgba(255,255,255,.86);
  text-align:center;
  margin: 0 auto 14px;
  max-width: 860px;
}

/* Product grid: 2 cols on mobile, 4 cols on desktop */
.hanhi-catalog .hanhi-grid{ grid-template-columns: repeat(2, 1fr); gap:14px; }
@media (min-width: 720px){
  .hanhi-catalog .hanhi-grid{ grid-template-columns: repeat(4, 1fr); }
}

.hanhi-catalog .hanhi-product{
  border-radius: 18px;
  border: 0;
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 36px rgba(2,6,23,.16);
}
.hanhi-catalog .hanhi-product-thumb{ background: #f6f9ff; }
.hanhi-catalog .hanhi-product-body{ padding: 12px 12px 14px; }
.hanhi-catalog .hanhi-h3{ text-align:center; font-size: 15px; }
.hanhi-catalog .hanhi-small{ display:none; }

.hanhi-catalog .hanhi-product-actions{ justify-content:center; }

/* Make the "Xem chi tiết" button look like mockup "XEM THÊM" */
.hanhi-catalog .hanhi-btn-ghost.hanhi-btn-sm{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--catalog-red-1), var(--catalog-red-2));
  box-shadow: 0 12px 26px rgba(217,21,21,.28);
  border-radius: 999px;
  padding: 9px 14px;
}

/* Secondary action inside cards: subtle outline */
.hanhi-catalog .hanhi-btn-primary.hanhi-btn-sm{
  background: rgba(255,255,255,.92);
  color: rgba(2,6,23,.92);
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: 0 10px 24px rgba(2,6,23,.10);
}

.hanhi-catalog-cta{ display:flex; justify-content:center; margin-top: 18px; }
.hanhi-catalog-cta .hanhi-btn-primary{
  border-radius: 999px;
  background: linear-gradient(135deg, var(--catalog-red-1), var(--catalog-red-2));
  box-shadow: 0 18px 42px rgba(217,21,21,.32);
}
.hanhi-product-thumb{
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(800px 250px at 50% 0%, rgba(37,99,235,.14), rgba(255,255,255,.85));
  display:flex; align-items:center; justify-content:center;
}
.hanhi-product-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hanhi-product-body{ padding:12px; }
.hanhi-product-actions{ display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }

/* Steps */
.hanhi-steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
.hanhi-step{
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding:14px;
  box-shadow: var(--shadow2);
}
.hanhi-step b{
  width:34px; height:34px;
  border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(124,58,237,.10);
  border:1px solid rgba(124,58,237,.18);
  margin-bottom:10px;
}
.hanhi-step span{ display:block; font-weight:950; margin-bottom:4px; }
.hanhi-step small{ color: rgba(71,85,105,.95); line-height:1.6; display:block; }

/* Proof */
.hanhi-proof{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.hanhi-proof-card{
  padding:16px;
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.hanhi-proof-card p{ margin: 8px 0; color: rgba(15,23,42,.88); line-height:1.6; }
.hanhi-proof-card a{ color:#1d4ed8; text-decoration:none; }

/* FAQ */
.hanhi-faq{ display:grid; gap:10px; }
.hanhi-faq-item{
  border-radius:22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding:12px 14px;
  box-shadow: var(--shadow2);
}
.hanhi-faq-item summary{ cursor:pointer; font-weight:950; }
.hanhi-faq-body{ color: rgba(15,23,42,.88); margin-top:8px; line-height:1.65; }

/* Alerts */
.hanhi-alert{
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(245,158,11,.22);
  background: rgba(245,158,11,.08);
  color:#7c2d12;
}

.hanhi-grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; margin-top:12px; }
.hanhi-center{ text-align:center; padding: 18px; }
.hanhi-mini{ margin-top:10px; color: rgba(71,85,105,.95); font-size:13px; line-height:1.7; }
.hanhi-mini a{ color:#1d4ed8; text-decoration:none; }
.hanhi-note{ margin-top:8px; font-size:12px; color: rgba(71,85,105,.9); }

/* Sticky mobile CTA */
.hanhi-sticky{ position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display:none; gap:10px; }
.hanhi-sticky-item{ display:flex; align-items:center; justify-content:center; gap:8px;
  padding:9px 10px; border-radius:14px; font-weight:800; font-size:13px;
  border:1px solid rgba(2,6,23,.10); background:rgba(255,255,255,.92);
  box-shadow:0 14px 30px rgba(2,6,23,.10); backdrop-filter:blur(8px) saturate(140%);
}

.hanhi-sticky-ic{ font-size:18px; }

/* CF7 styling */
.hanhi-wrap .wpcf7 form{ margin:0; }
.hanhi-wrap .wpcf7 .wpcf7-form-control-wrap{ display:block; margin-bottom:10px; }
.hanhi-wrap input[type="text"],
.hanhi-wrap input[type="email"],
.hanhi-wrap input[type="tel"],
.hanhi-wrap input[type="number"],
.hanhi-wrap select,
.hanhi-wrap textarea{
  width:100%;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  color: var(--text);
  outline:none;
  box-shadow: 0 8px 22px rgba(2,6,23,.06), 0 0 0 0 var(--ring);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.hanhi-wrap textarea{ min-height: 92px; resize: vertical; }
.hanhi-wrap input:focus, .hanhi-wrap textarea:focus, .hanhi-wrap select:focus{
  box-shadow: 0 10px 28px rgba(2,6,23,.08), 0 0 0 7px var(--ring);
  border-color: rgba(37,99,235,.26);
}
.hanhi-wrap .wpcf7-submit{
  width:100%;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(37,99,235,.22);
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color:#fff;
  font-weight:950;
  cursor:pointer;
  box-shadow: 0 16px 30px rgba(37,99,235,.18);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.hanhi-wrap .wpcf7-submit:hover{ transform: translateY(-1px); filter: brightness(1.02); box-shadow: 0 22px 42px rgba(37,99,235,.22); }
.hanhi-wrap .wpcf7-submit:active{ transform: translateY(0); }
.hanhi-wrap .wpcf7-response-output{ border-radius:14px; }
.hanhi-wrap .wpcf7-not-valid-tip{ color:#b91c1c; font-size:12px; margin-top:4px; }
.hanhi-wrap .wpcf7-spinner{ margin-top:10px; }

/* Modal */
.hanhi-modal{ display:none; position:fixed; inset:0; z-index:80; }
.hanhi-modal.is-open{ display:block; }
.hanhi-modal-backdrop{ position:absolute; inset:0; background: rgba(2,6,23,.55); }
.hanhi-modal-dialog{
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  width: min(640px, calc(100% - 20px));
  border-radius: 22px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: 0 30px 90px rgba(2,6,23,.30);
  overflow:hidden;
}
.hanhi-modal-close{
  position:absolute; right:12px; top:10px;
  width:40px; height:40px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  color: var(--text);
  font-size:22px;
  cursor:pointer;
}
.hanhi-modal-content{ padding: 18px 16px 16px; }
.hanhi-ty{ padding: 40px 0 60px; }

/* Social proof logos */
.hanhi-logos{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 10px; }
.hanhi-logo-pill{
  padding:10px 14px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  font-weight:800;
  font-size:13px;
  color: rgba(15,23,42,.85);
}
.hanhi-logos-img{ gap:12px; }
.hanhi-logo-img{
  width: 140px;
  height: 56px;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
}
.hanhi-logo-img img{ max-width:100%; max-height:100%; object-fit:contain; filter: saturate(90%); }

/* Responsive */
@media (max-width: 980px){
  .hanhi-hero-inner{ grid-template-columns: 1fr; }
  .hanhi-kpis{ grid-template-columns: repeat(2, 1fr); }
  .hanhi-features{ grid-template-columns: repeat(2, 1fr); }
  .hanhi-steps{ grid-template-columns: repeat(2, 1fr); }
  .hanhi-grid{ grid-template-columns: repeat(2, 1fr); }
  .hanhi-proof{ grid-template-columns: 1fr; }
  .hanhi-hide-sm{ display:none; }
}
@media (max-width: 520px){
  .hanhi-shell{ width: calc(100% - 26px); }
  .hanhi-features{ grid-template-columns: 1fr; }
  .hanhi-steps{ grid-template-columns: 1fr; }
  .hanhi-grid{ grid-template-columns: 1fr; }
  .hanhi-grid2{ grid-template-columns: 1fr; }
  .hanhi-sticky{ display:flex; }
  .hanhi-topbar{ position:sticky; }
}

/* Festive snow (optional) */
.hanhi-wrap{ position:relative; }
.hanhi-snow{ pointer-events:none; position:absolute; inset:0; overflow:hidden; z-index:1; }
.hanhi-flake{
  position:absolute; top:-12px;
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(2,6,23,.12);
  animation-name: hanhi_fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes hanhi_fall{
  0%{ transform: translate3d(0, -10px, 0); }
  100%{ transform: translate3d(0, calc(100vh + 40px), 0); }
}

/* Flatsome compatibility */
.hanhi-wrap a.hanhi-btn{ text-transform:none; letter-spacing:0; }
.hanhi-wrap a.hanhi-btn.button{ padding:inherit; }
