/* ============================================================
   BIẾN CHUNG (tokens): màu sắc, viền, font-size dùng khắp site
   ============================================================ */
:root{
  --navy:#061426;            /* xanh đen: header, footer, hero */
  --navy2:#0c2037;           /* xanh đen nhạt hơn (dự phòng) */
  --ink:#101820;             /* màu chữ chính */
  --cream:#f3f1ea;           /* nền kem (manifesto, stories) */
  --paper:#fbfaf6;           /* nền trắng giấy (body) */
  --line:rgba(16,24,32,.14); /* màu viền mảnh */
  --muted:#69727b;           /* chữ phụ, mờ */
  --accent:#c6ff36;          /* xanh lime nổi bật (CTA, badge) */
  --white:#fff;
  --radius:22px;             /* bo góc card */
}

/* ============================================================
   RESET & BASE: cài đặt mặc định cho toàn trang
   ============================================================ */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; } /* cuộn mượt khi bấm anchor link */
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"DM Sans",sans-serif;
  font-size:15px;
}
a{ color:inherit; text-decoration:none; }
button, input{ font:inherit; } /* nút/input kế thừa font của body */

/* ============================================================
   ANNOUNCEMENT BAR: thanh thông báo nhỏ trên cùng
   ============================================================ */
.announcement{
  height:32px;
  background:var(--accent);
  display:flex; justify-content:center; align-items:center;
  font-size:10px; font-weight:800; letter-spacing:.12em;
}
.announcement span{ margin:0 12px; }

/* ============================================================
   HEADER: logo, menu desktop, nút giỏ hàng, nút menu mobile
   ============================================================ */
/* Wrapper do includes.js nạp (chứa announcement + header).
   Sticky PHẢI đặt ở đây (con trực tiếp của body) thì header mới dính
   đúng khi cuộn — đặt sticky trên .site-header không ăn vì wrapper
   chỉ cao 108px, header bị cuộn trôi theo trang.
   top:-32px: announcement (cao 32px) tự trôi đi, header dính sát mép trên. */
div[data-include="header"]{
  position:sticky; top:-32px; z-index:50;
  transition:transform .3s ease;
}
/* Khi JS gắn .is-hidden vào header → kéo cả wrapper lên, giấu gọn */
div[data-include="header"]:has(.site-header.is-hidden){
  transform:translateY(-76px);
}
.site-header{
  height:76px; padding:0 4.2vw;
  display:flex; align-items:center; justify-content:space-between;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  transition:transform .3s ease; /* chuyển động mượt khi ẩn/hiện */
}
/* Trạng thái ẩn header khi cuộn xuống (JS gắn/bỏ class này).
   Giữ làm dự phòng cho trình duyệt cũ không hỗ trợ :has(). */
.site-header.is-hidden{ transform:translateY(-100%); }
.brand{
  display:flex; align-items:center; gap:9px;
  font-family:"Space Grotesk"; font-weight:700;
  letter-spacing:-.05em; font-size:18px;
}
.brand-mark{
  width:27px; height:27px; border-radius:50%;
  background:var(--navy); color:#fff;
  display:grid; place-items:center; font-size:13px;
}
.desktop-nav{ display:flex; gap:38px; margin-left:90px; }
.desktop-nav a, .header-actions{ font-size:12px; font-weight:600; }
.desktop-nav a:hover,
.under-link:hover,
.text-link:hover{ opacity:.55; }
.header-actions{ display:flex; align-items:center; gap:18px; }
.icon-btn, .menu-btn{ border:0; background:none; cursor:pointer; }
.cart-button{ font-weight:700; }
.cart-button span{
  display:inline-grid; place-items:center;
  background:var(--navy); color:#fff;
  border-radius:50%; width:19px; height:19px;
  margin-left:4px; font-size:9px;
}
.menu-btn{ display:none; font-size:20px; } /* chỉ hiện ở mobile */

/* Menu sổ xuống trên mobile (mặc định ẩn, mở bằng JS) */
.mobile-menu{ display:none; }
.mobile-menu.open{
  position:sticky; top:76px; z-index:49;
  display:flex; flex-direction:column;
  padding:8px 5vw 18px;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}
.mobile-menu a{ padding:12px 0; font-size:13px; font-weight:600; }

/* ============================================================
   HERO: khối banner đầu trang (2 cột: chữ + hình nón)
   ============================================================ */
.hero{
  min-height:calc(100vh - 108px);
  background:var(--navy); color:#fff;
  display:grid; grid-template-columns:46% 54%;
  position:relative; overflow:hidden;
}
.hero-copy{ padding:9vw 5vw 7vw 8vw; position:relative; z-index:2; }
.eyebrow{
  font-size:10px; letter-spacing:.16em; font-weight:700;
  margin:0 0 22px; text-transform:uppercase;
}
.hero h1{
  font-family:"Space Grotesk";
  font-size:clamp(74px,10vw,164px);
  line-height:.79; letter-spacing:-.075em; margin:0;
}
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero-lede{
  max-width:390px; font-size:17px; line-height:1.55;
  color:#c9d0d7; margin:36px 0;
}
.hero-cta{ display:flex; align-items:center; gap:24px; }
.btn{
  border:0; border-radius:999px; padding:15px 22px;
  font-weight:700; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:space-between; gap:30px;
}
.btn-light{ background:#fff; color:var(--navy); }
.btn-dark{ background:var(--navy); color:#fff; }
.text-link{ font-size:12px; font-weight:700; }

/* --- Nửa phải hero: nền + hình nón bảo hiểm vẽ bằng CSS --- */
.hero-art{
  position:relative; min-height:650px;
  background:radial-gradient(circle at 55% 42%, #1a3c5f 0, #0b2038 35%, #061426 72%);
  display:grid; place-items:center;
}
.orb{ position:absolute; border-radius:50%; border:1px solid rgba(255,255,255,.08); }
.orb-one{ width:62vw; height:62vw; }
.orb-two{ width:43vw; height:43vw; }
.helmet{
  position:relative;
  width:310px; height:330px;
  border-radius:49% 49% 43% 43%;
  background:linear-gradient(145deg,#2c4050,#101d28 65%);
  box-shadow:-30px 45px 65px rgba(0,0,0,.35),
             inset 15px 8px 20px rgba(255,255,255,.08);
  transform:rotate(-7deg);
}
.helmet:after{ /* bóng đổ dưới đáy nón */
  content:""; position:absolute; bottom:-9px; left:27px;
  width:256px; height:70px; border-radius:50%;
  background:#07121d; z-index:0;
}
.visor{ /* kính chắn gió */
  position:absolute; z-index:2; top:82px; right:-8px;
  width:205px; height:112px;
  border-radius:12px 55px 45px 18px; transform:skewY(-7deg);
  background:linear-gradient(145deg,rgba(168,215,240,.55),rgba(4,16,27,.95));
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 8px 8px 18px rgba(255,255,255,.1);
}
.shell-line{ /* đường viền trang trí trên vỏ nón */
  position:absolute; top:150px; left:28px;
  width:230px; height:2px;
  background:rgba(255,255,255,.12); transform:rotate(-10deg);
}
.vent{ /* khe thông gió */
  position:absolute; width:34px; height:8px; border-radius:99px;
  background:#06101a; box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
.vent-a{ top:54px; left:94px; transform:rotate(-10deg); }
.vent-b{ top:67px; left:88px; transform:rotate(-10deg); }
.helmet-logo{
  position:absolute; z-index:3; bottom:67px; left:76px;
  color:#fff; font-family:"Space Grotesk";
  font-weight:700; font-size:22px; letter-spacing:-.1em;
}
.helmet-hero{ transform:rotate(-8deg) scale(1.15); } /* nón trong hero, phóng to */
.hero-caption{
  position:absolute; bottom:36px; left:6%; right:6%;
  display:flex; justify-content:space-between;
  font-size:9px; letter-spacing:.13em; color:#8d9baa;
}
.hero-scroll{
  position:absolute; bottom:24px; left:5vw;
  font-size:9px; letter-spacing:.15em; color:#7d8995;
}
.hero-scroll span{ margin-left:14px; color:#fff; }

/* ============================================================
   TICKER: dải chữ chạy ngang (marquee)
   ============================================================ */
.ticker{
  overflow:hidden; background:var(--accent); white-space:nowrap;
  font-family:"Space Grotesk"; font-weight:700;
  font-size:18px; letter-spacing:-.02em; padding:12px 0;
}
.ticker div{ width:max-content; animation:marquee 22s linear infinite; }
.ticker b{ padding:0 28px; }
@keyframes marquee{ to{ transform:translateX(-50%); } }

/* ============================================================
   MANIFESTO: khối tuyên ngôn thương hiệu (2 cột)
   ============================================================ */
.manifesto{
  display:grid; grid-template-columns:25% 1fr; gap:10%;
  padding:150px 9vw; background:var(--cream);
}
.section-label{ font-size:10px; font-weight:700; letter-spacing:.15em; }

/* Tiêu đề lớn chung cho các section: manifesto, shop, feature, newsletter */
.manifesto h2, .section-head h2, .feature-copy h2, .newsletter h2{
  font-family:"Space Grotesk";
  font-size:clamp(50px,6.3vw,100px);
  letter-spacing:-.07em; line-height:.9; margin:0;
}
/* Chữ xám nhạt xen trong tiêu đề (span/i) */
.manifesto h2 span, .section-head h2 i,
.feature-copy h2 i, .newsletter h2 i{
  font-style:normal; color:#78828a;
}
.manifesto p{
  font-size:18px; line-height:1.65; max-width:690px;
  color:#4f5961; margin:40px 0;
}
.under-link{ /* link có gạch chân */
  font-weight:700; font-size:12px;
  border-bottom:1px solid currentColor; padding-bottom:5px;
}

/* ============================================================
   SHOP: lưới sản phẩm + bộ lọc
   ============================================================ */
.shop{ padding:130px 5vw; }
.section-head{
  display:flex; justify-content:space-between; align-items:end;
  margin-bottom:55px;
}
.filters{ display:flex; gap:8px; }
.filter{
  background:none; border:1px solid var(--line);
  padding:9px 14px; border-radius:99px;
  font-size:11px; cursor:pointer;
}
.filter.active{ background:var(--navy); color:#fff; border-color:var(--navy); }
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.product-card{ cursor:pointer; display:flex; flex-direction:column; gap:12px; }
.product-visual{
  position:relative; overflow:hidden; border-radius:14px;
  background:#101820; aspect-ratio:4/3;
  display:grid; place-items:center;
}
/* Ảnh sản phẩm thật (thay nón vẽ CSS) */
.product-image{
  width:100%; height:100%; object-fit:cover;
  transition:transform .3s ease, filter .3s ease;
}
.product-card:hover .product-image{ transform:scale(1.05); filter:brightness(1.08); }
.badge{ /* nhãn góc trái (ví dụ: NEW, SALE) */
  position:absolute; top:15px; left:15px;
  background:var(--accent); border-radius:99px;
  padding:7px 10px; font-size:9px; font-weight:800;
}
.product-meta{ padding:0; display:flex; justify-content:space-between; }
.product-meta h3{ font-family:"Space Grotesk"; font-size:15px; margin:0; }
.product-meta p{ margin:4px 0 0; color:var(--muted); font-size:11px; }
.price, .product-meta .price{ font-weight:700; font-size:14px; margin-top:6px; }

/* ============================================================
   FEATURE BAND: khối nổi bật xanh đen (ảnh + text + spec)
   ============================================================ */
.feature-band{
  background:var(--navy); color:#fff;
  display:grid; grid-template-columns:52% 48%;
  min-height:750px;
}
.feature-image{
  background:linear-gradient(145deg,#19344e,#061426);
  position:relative; display:grid; place-items:center; overflow:hidden;
}
.feature-image:before{ /* vòng tròn trang trí */
  content:""; position:absolute; width:75%; aspect-ratio:1;
  border:1px solid rgba(255,255,255,.08); border-radius:50%;
}
.helmet-side{ transform:rotate(7deg) scale(1.35); } /* nón nghiêng */
.image-note{
  position:absolute; bottom:35px; left:5vw;
  font-size:9px; letter-spacing:.14em; color:#8593a0;
}
.feature-copy{ padding:100px 8vw 90px 7vw; }
.feature-copy p:not(.eyebrow){
  color:#aeb9c2; font-size:16px; line-height:1.6;
  max-width:480px; margin:36px 0 55px;
}
/* Bảng thông số kỹ thuật */
.spec-list{ border-top:1px solid rgba(255,255,255,.14); }
.spec-list>div{
  display:grid; grid-template-columns:40px 1fr 1fr;
  padding:19px 0; align-items:center;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.spec-list strong{ color:var(--accent); font-size:11px; } /* số thứ tự */
.spec-list span{ font-weight:700; }  /* tên thông số */
.spec-list small{ color:#8996a2; }   /* giá trị */

/* ============================================================
   STATS: 4 ô số liệu thành tích
   ============================================================ */
.stats{
  display:grid; grid-template-columns:repeat(4,1fr);
  border-bottom:1px solid var(--line);
}
.stats>div{ padding:70px 4vw; border-right:1px solid var(--line); }
.stat-num{
  font-family:"Space Grotesk"; font-size:62px; letter-spacing:-.07em;
}
.stat-num span{ font-size:20px; letter-spacing:0; } /* đơn vị nhỏ */
.stats h3{ font-size:10px; letter-spacing:.12em; margin:25px 0 12px; }
.stats p{ color:var(--muted); font-size:12px; line-height:1.5; max-width:190px; }

/* ============================================================
   JOURNAL: lưới bài viết
   ============================================================ */
.journal{ padding:130px 5vw; }
.journal-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.journal-img{
  aspect-ratio:1.3; border-radius:var(--radius);
  position:relative; overflow:hidden;
  display:flex; align-items:end; padding:18px;
  font-size:9px; letter-spacing:.13em; font-weight:700;
}
.j1{ background:radial-gradient(circle at 70% 30%,#718a9e,#192c3e 52%,#071522); }
.j2{ background:linear-gradient(145deg,#d6dbd5,#53646b); }
.j3{ background:radial-gradient(circle at 30% 30%,#f1d5a9,#7b624d 45%,#1f2527); }
.journal-img img{ /* ảnh thật phủ kín card */
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; transition:transform .5s;
}
.journal article:hover .journal-img img{ transform:scale(1.04); } /* hover phóng nhẹ */
.journal-img span{
  position:relative; z-index:1; color:#fff;
  text-shadow:0 1px 5px rgba(0,0,0,.65);
}
.journal article>p{
  font-size:9px; font-weight:700; letter-spacing:.13em;
  margin:20px 0 8px;
}
.journal h3{
  font-family:"Space Grotesk"; font-size:22px;
  letter-spacing:-.04em; line-height:1.1;
  max-width:350px; margin:0 0 17px;
}
.journal article>a{ font-size:11px; font-weight:700; }
.journal h3 a:hover, .story-read-link:hover{ opacity:.55; }
.story-read-link{ display:inline-block; margin-top:18px; font-size:11px; font-weight:700; }

/* ============================================================
   CONTACT: form liên hệ (nền lime) — thay thế newsletter cũ
   ============================================================ */
.contact{
  /* nền vòng xoáy nón in logo doanh nghiệp — giữa ảnh trống để form rõ chữ */
  background:var(--accent) url('../img/contact-spiral-helmets.webp') center / cover no-repeat;
  padding:120px 9vw; text-align:center;
}
.contact .eyebrow{ color:#2f3c1c; }
.contact h2{ font-size:clamp(55px,7vw,100px); }
.contact form{
  max-width:640px; margin:50px auto 0;
  display:flex; flex-direction:column; gap:14px; text-align:left;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact input, .contact textarea{
  width:100%; font-family:inherit; font-size:14px; color:var(--ink);
  background:rgba(255,255,255,.45);
  border:1px solid rgba(23,32,0,.25); border-radius:12px;
  padding:14px 16px; outline:0;
  transition:border-color .2s, background .2s;
}
.contact input:focus, .contact textarea:focus{
  border-color:#172000; background:#fff;
}
.contact textarea{ resize:vertical; min-height:110px; }
.contact .btn{ justify-content:center; margin-top:6px; }
.contact .btn[disabled]{ opacity:.6; cursor:wait; }
.contact small{ font-size:10px; color:#53611f; text-align:center; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ background:var(--navy); color:#fff; padding:75px 5vw 25px; }
.footer-top{ display:flex; justify-content:space-between; gap:40px; padding-bottom:80px; }
.footer-brand{ max-width:340px; --footer-logo-h:100px; } /* cột logo + text */
.footer-brand .footer-logo{ display:inline-block; line-height:0; }
.footer-brand .footer-logo img{ display:block; height:var(--footer-logo-h); width:auto; } /* đổi biến trên để chỉnh cỡ logo */
.footer-brand p{ margin:20px 0 0; max-width:300px; text-align:left; color:#8996a2; font-size:12px; line-height:1.7; }
.footer-top p{ color:#8996a2; font-size:12px; margin-top:20px; }
.footer-links{ display:flex; gap:60px; } /* 4 cột link: đặt hàng + shop + info + help */
.footer-links div{ display:flex; flex-direction:column; gap:13px; }
.footer-links b{ font-size:9px; letter-spacing:.15em; color:#71808e; margin-bottom:6px; }
.footer-links a{ font-size:12px; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:20px; display:flex; justify-content:space-between;
  color:#71808e; font-size:9px; letter-spacing:.1em;
}

/* ============================================================
   CART DRAWER: ngăn giỏ hàng trượt từ phải
   ============================================================ */
.cart-drawer{
  position:fixed; z-index:100;
  right:-460px; top:0; height:100vh; /* giấu bên phải, mở bằng .open */
  width:min(430px,100%);
  background:var(--paper); padding:30px;
  transition:.4s; box-shadow:-20px 0 50px rgba(0,0,0,.12);
  display:flex; flex-direction:column;
}
.cart-drawer.open{ right:0; }
.drawer-head{
  display:flex; justify-content:space-between;
  border-bottom:1px solid var(--line); padding-bottom:20px;
}
.drawer-head h3{ font-family:"Space Grotesk"; margin:0; }
.drawer-head button, .modal-close{
  border:0; background:none; font-size:28px; cursor:pointer;
}
.overlay{ /* lớp phủ tối khi mở drawer/modal */
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  z-index:90; display:none;
}
.overlay.show{ display:block; }
.cart-item{
  display:flex; justify-content:space-between; gap:20px;
  padding:20px 0; border-bottom:1px solid var(--line);
}
.cart-item h4{ margin:0 0 6px; }
.cart-item p{ margin:0; color:var(--muted); font-size:11px; }
.qty{ display:flex; align-items:center; gap:10px; }
.qty button{
  border:1px solid var(--line); background:none;
  width:25px; height:25px; border-radius:50%;
}
.drawer-total{
  margin-top:auto; display:flex; justify-content:space-between;
  font-size:16px; padding:20px 0;
}
.checkout{ width:100%; }

/* ============================================================
   MODAL: popup xem chi tiết sản phẩm
   ============================================================ */
.modal{
  position:fixed; z-index:110;
  inset:50% auto auto 50%;
  transform:translate(-50%,-45%) scale(.97);
  width:min(900px,92vw); max-height:90vh; overflow:auto;
  background:var(--paper); padding:40px;
  opacity:0; pointer-events:none; transition:.25s;
}
.modal.open{
  opacity:1; pointer-events:auto;
  transform:translate(-50%,-50%) scale(1);
}
.modal-close{ position:absolute; right:20px; top:14px; }
.modal-product{
  display:grid; grid-template-columns:1fr 1fr; gap:45px;
  align-items:center;
}
.modal h2{
  font-family:"Space Grotesk"; font-size:50px;
  letter-spacing:-.06em; margin:0 0 10px;
}
.modal .price{ font-size:20px; margin:20px 0; }
.modal ul{ padding-left:18px; color:var(--muted); line-height:2; }
.add-btn{ width:100%; margin-top:20px; }
.modal-product-image{
  width:100%; height:auto; max-height:60vh;
  object-fit:contain; display:block; border-radius:14px;
}

/* ============================================================
   TOAST: thông báo nhỏ hiện ở dưới màn hình
   ============================================================ */
.toast{
  position:fixed; z-index:200;
  bottom:25px; left:50%;
  transform:translateX(-50%) translateY(20px);
  background:var(--navy); color:#fff;
  padding:13px 18px; border-radius:99px; font-size:11px;
  opacity:0; transition:.3s;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ============================================================
   STORIES (trang blog): intro + danh sách bài
   ============================================================ */
.stories-page{ background:var(--paper); }
.stories-intro{
  padding:110px 9vw 100px; position:relative;
  background:var(--cream); overflow:hidden;
  isolation:isolate; /* stacking context riêng: chữ luôn nằm trên lớp phủ */
  color:#fff; /* chữ sáng trên nền phủ tối */
}
.stories-intro::before{ /* ảnh nền mờ */
  content:""; position:absolute; inset:0;
  background:url('../img/journal.png') center/cover no-repeat;
  background-blend-mode:darken; opacity:0.5; z-index:1;
}
.stories-intro .eyebrow{ color:var(--accent); } /* eyebrow nổi bật trên nền tối */
.stories-intro::after{ /* lớp phủ tối dần trên ảnh nền */
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(135deg,rgba(6,20,38,.75),rgba(6,20,38,.35));
}
.stories-intro > *{ position:relative; z-index:2; } /* chữ nổi lên trên */
.stories-intro h1{
  font-family:"Space Grotesk";
  font-size:clamp(68px,11vw,150px);
  letter-spacing:-.08em; line-height:.82; margin:0;
}
.stories-intro h1 i{ font-style:normal; color:var(--accent); }
.stories-intro>p:not(.eyebrow){
  max-width:490px; font-size:17px; line-height:1.6;
  color:#c9d0d7; margin:30px 0;
}
.stories-list{ padding:100px 5vw 130px; }
.stories-list article>p.story-summary{
  font-size:13px; line-height:1.6; color:var(--muted);
  letter-spacing:0; font-weight:400;
  margin:12px 0 0; max-width:420px;
}

/* ============================================================
   STORY (trang đọc bài): header, nội dung, nút quay lại
   ============================================================ */
.story-page{ min-height:55vh; padding-bottom:110px; background:var(--paper); }
.story-header{ padding:104px 9vw 64px; background:var(--cream); }
.story-header .eyebrow{ margin-bottom:18px; }
.story-category{
  font-size:10px; font-weight:700; letter-spacing:.14em;
  color:var(--muted); margin:0 0 24px;
}
.story-header h1, .story-page>h1{
  max-width:880px; font-family:"Space Grotesk";
  font-size:clamp(34px,4.6vw,62px);
  line-height:1.14; letter-spacing:-.03em; margin:0;
}
.story-excerpt{
  max-width:780px; margin:28px 0 22px;
  color:#4f5961; font-size:18px; line-height:1.6;
}
.story-meta{
  display:flex; gap:18px; flex-wrap:wrap;
  color:var(--muted); font-size:11px; letter-spacing:.04em;
}
.story-hero{ width:min(1100px,90vw); margin:48px auto 0; }
.story-hero img{
  display:block; width:100%; max-height:620px;
  aspect-ratio:16/8; object-fit:cover; border-radius:var(--radius);
}
.story-hero figcaption{ margin-top:10px; color:var(--muted); font-size:11px; }
.story-body{ width:min(760px,88vw); margin:64px auto 56px; }
.story-body section+section{ margin-top:48px; }
.story-body h2{
  font-family:"Space Grotesk";
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.04em; line-height:1.15; margin:0 0 18px;
}
.story-body p, .story-body li, .story-page>p:not(.eyebrow){
  color:#4f5961; font-size:16px; line-height:1.8;
}
.story-body p{ margin:0 0 18px; }
.story-body ul{ padding-left:23px; }
.story-body li{ padding-left:5px; margin:0 0 18px; }
.story-body li strong{ color:var(--ink); }
.story-back{ /* nút quay về danh sách */
  display:inline-block;
  margin-left:max(6vw, calc((100vw - 760px) / 2));
}

/* ============================================================
   RESPONSIVE: màn hình tablet (<=900px)
   ============================================================ */
@media(max-width:900px){
  .desktop-nav{ display:none; }       /* ẩn menu desktop */
  .menu-btn{ display:block; }         /* hiện nút hamburger */
  .hero{ grid-template-columns:1fr; } /* hero xếp dọc */
  .hero-copy{ padding:70px 7vw 45px; }
  .hero-art{ min-height:520px; }
  .hero-scroll{ display:none; }
  .manifesto{ grid-template-columns:1fr; padding:90px 7vw; gap:45px; }
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .feature-band{ grid-template-columns:1fr; }
  .feature-image{ min-height:540px; }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ flex-direction:column; gap:55px; }
  .footer-links{ display:grid; grid-template-columns:repeat(2,1fr); gap:40px 55px; }
  .stories-intro{ padding:90px 7vw 80px; }
  .stories-list{ padding:85px 5vw; }
  .story-header{ padding:75px 7vw 60px; }
  .story-body{ margin-top:60px; }
}

/* ============================================================
   RESPONSIVE: màn hình mobile (<=600px)
   ============================================================ */
@media(max-width:600px){
  .announcement{ font-size:8px; }
  .site-header{ padding:0 5vw; }
  .header-actions .icon-btn:first-child{ display:none; }
  .hero-copy{ padding-top:60px; }
  .hero h1{ font-size:72px; }
  .hero-lede{ font-size:15px; }
  .hero-art{ min-height:430px; }
  .helmet-hero{ transform:scale(.8) rotate(-8deg); }
  .manifesto h2, .section-head h2, .feature-copy h2{ font-size:55px; }
  .shop, .journal{ padding:85px 5vw; }
  .section-head{ display:block; }
  .filters{ margin-top:25px; overflow:auto; padding-bottom:4px; }
  .form-row{ grid-template-columns:1fr; }
  .contact{ padding:85px 6vw; }
  .product-grid, .journal-grid{ grid-template-columns:1fr; }
  .product-visual{ aspect-ratio:1/1; }
  .feature-copy{ padding:80px 7vw; }
  .spec-list>div{ grid-template-columns:30px 1fr; }
  .spec-list small{ display:none; } /* ẩn cột giá trị cho gọn */
  .stats{ grid-template-columns:1fr; }
  .stats>div{ border-right:0; border-bottom:1px solid var(--line); padding:45px 7vw; }
  .footer-links{ display:grid; grid-template-columns:repeat(2,1fr); gap:35px; }
  .footer-bottom{ flex-direction:column; gap:10px; }
  .modal{ padding:25px; }
  .modal-product{ grid-template-columns:1fr; }
  .modal h2{ font-size:38px; }
  .modal-product-image{ max-height:70vh; }
  .stories-intro{ padding:75px 6vw; }
  .stories-intro h1{ font-size:68px; }
  .stories-list{ padding:70px 5vw 85px; }
  .story-header{ padding:65px 6vw 50px; }
  .story-body{ width:88vw; margin:45px auto; }
  .story-body p, .story-body li{ font-size:15px; }
  .story-back{ margin-left:6vw; }
  .story-hero{ width:88vw; margin-top:35px; }
  .story-hero img{ aspect-ratio:4/3; }
}

/* ============================================================
   OVERRIDE / ĐIỀU CHỈNH CUỐI FILE
   (các rule ghi đè thêm sau, nên để ở cuối cho dễ theo dõi)
   ============================================================ */
.hero-art .hero-image{ /* ảnh thật thay nền hero */
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block;
}
.brand{ width:64px; height:64px; flex:0 0 64px; } /* logo to hơn mặc định */
.brand-logo{ display:block; width:400%; height:100%; object-fit:cover; }

/* ============================================================
   NÚT GỌI ĐIỆN NỔI (call FAB) + popup hotline góc dưới-phải
   ============================================================ */
.call-fab-wrap{
  position:fixed; right:22px; bottom:22px; z-index:80;
  display:flex; flex-direction:column; align-items:flex-end; gap:14px;
}
.call-fab{
  width:58px; height:58px; border-radius:50%; border:0; cursor:pointer;
  background:var(--accent); color:#062066;
  display:grid; place-items:center;
  box-shadow:0 10px 25px rgba(23, 255, 2, 0.35);
  position:relative;
}
.call-fab::before{ /* vòng lan tỏa */
  content:""; position:absolute; inset:0; border-radius:50%;
  border:2px solid var(--accent);
  animation:callPulse 2s ease-out infinite;
}
@keyframes callPulse{
  0%{ transform:scale(1); opacity:.7; }
  100%{ transform:scale(1.6); opacity:0; }
}
.call-fab svg{ width:24px; height:24px; }
.call-popup{
  background:var(--paper);
  border:1px solid var(--line); border-radius:16px;
  padding:20px 22px; min-width:230px;
  box-shadow:0 18px 45px rgba(4, 235, 35, 0.18);
  text-align:center;
  transform:translateY(10px) scale(.97); transform-origin:bottom right;
  opacity:0; pointer-events:none; transition:.25s;
}
.call-fab-wrap.open .call-popup{ opacity:1; transform:none; pointer-events:auto; }
.call-popup-title{
  margin:0 0 6px; font-size:10px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--muted);
}
.call-popup-number{
  display:block; margin-bottom:14px;
  font-family:"Space Grotesk"; font-size:26px; font-weight:700;
  letter-spacing:-.02em; color:var(--accent);
}
.call-popup-btn{ width:100%; justify-content:center; }

/* ============================================================
   BOOTSTRAP 5 — LỚP TƯƠNG THÍCH (thêm khi chuyển sang tĩnh)
   Các lưới chính (sản phẩm, bài viết, feature-band, footer)
   đã chuyển sang hệ lưới Bootstrap (row/col). Rule dưới đây
   gỡ grid tự viết cũ để .row của Bootstrap làm việc, đồng thời
   giữ nguyên toàn bộ nhận diện thương hiệu phía trên.
   ============================================================ */
.product-grid.row, .journal-grid.row, .feature-band.row, .footer-top.row{ display:flex; gap:0; }
.product-grid .col, .journal-grid .col{ display:flex; }
.product-grid .product-card, .journal-grid .col article{ width:100%; }
/* Xung đột tên class với Bootstrap — khôi phục hành vi gốc của NONPRO:
   .modal custom dùng opacity (không dùng display:none như Bootstrap),
   .badge phải chữ tối trên nền lime (Bootstrap mặc định chữ trắng),
   .toast giữ dạng viên thuốc gọn theo nội dung. */
.modal{ display:block; }
.badge{ color:var(--ink); }
.toast{ width:auto; border:0; box-shadow:none; }
/* Form liên hệ dùng form-control của Bootstrap nhưng giữ đúng
   màu nền mờ + viền của thiết kế gốc (nền ảnh xoáy lime). */
.contact .form-control{
  width:100%; font-family:inherit; font-size:14px; color:var(--ink);
  background:rgba(255,255,255,.45);
  border:1px solid rgba(23,32,0,.25); border-radius:12px;
  padding:14px 16px; outline:0;
  transition:border-color .2s, background .2s;
}
.contact .form-control:focus{
  background:#fff; border-color:#172000; box-shadow:none;
}
.contact .form-control::placeholder{ color:#5c6650; }


/* ============================================================
   LIQUID GLASS (thêm 2026-10-26 theo mẫu Figma anh gửi)
   Giữ đúng 2 tông chủ đạo của NONPRO: navy #061426 + lime #c6ff36
   (quầng sáng cam/vàng của mẫu được thay bằng lime + xanh navy).
   Trang chủ dùng nền tối + panel kính; trang bài viết giữ nền
   sáng để dễ đọc nhưng vẫn có hiệu ứng hiện dần + hover nhấc thẻ.
   Hiệu ứng này do anh yêu cầu nên KHÔNG tắt theo
   prefers-reduced-motion (máy anh đang bật chế độ đó).
   ============================================================ */
/* --- Hiện dần khi cuộn: mờ + trồi lên, lệch nhau theo --reveal-i --- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease-out, transform .7s cubic-bezier(.22,1,.36,1); transition-delay:calc(var(--reveal-i, 0) * 100ms); }
.reveal.revealed{ opacity:1; transform:none; }
/* --- Hover nhấc thẻ (mọi trang) --- */
.product-card, .journal-grid article{ transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.product-card:hover, .journal-grid article:hover{ transform:translateY(-6px); }
/* --- Nền tối + quầng sáng cố định (chỉ trang chủ) --- */
body.glass-home{ background:#04070f; color:#e8edf2; }
body.glass-home::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(42vw 42vw at 10% 12%, rgba(198,255,54,.16), transparent 70%),
    radial-gradient(38vw 38vw at 90% 26%, rgba(38,110,220,.20), transparent 70%),
    radial-gradient(55vw 45vw at 50% 78%, rgba(10,30,60,.42), transparent 70%);
}
body.glass-home main{ position:relative; z-index:1; }
body.glass-home div[data-include="footer"]{ position:relative; z-index:1; }
/* --- Panel kính: các section chính nổi lên như tấm kính --- */
body.glass-home .hero{
  background:rgba(10,22,44,.55); backdrop-filter:blur(20px) saturate(140%); -webkit-backdrop-filter:blur(20px) saturate(140%);
  border:1px solid rgba(255,255,255,.10); border-radius:28px; margin:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
/* Ảnh hero là file cắt nền trong suốt: bỏ gradient riêng của cụm ảnh
   để nền sau mẫu đồng nhất với nền kính bên chữ, không tách tông */
body.glass-home .hero-art{ background:transparent; }
body.glass-home .manifesto, body.glass-home .shop, body.glass-home .feature-band, body.glass-home .stats, body.glass-home .journal, body.glass-home .contact{
  background:rgba(10,22,44,.45); backdrop-filter:blur(16px) saturate(140%); -webkit-backdrop-filter:blur(16px) saturate(140%);
  border:1px solid rgba(255,255,255,.09); border-radius:24px; margin:0 24px 24px; overflow:hidden;
}
/* --- Chữ sáng trên nền kính --- */
body.glass-home .manifesto h2, body.glass-home .section-head h2,
body.glass-home .product-meta h3, body.glass-home .price,
body.glass-home .stat-num, body.glass-home .stats h3,
body.glass-home .journal h3 a, body.glass-home .journal article>a, body.glass-home .story-read-link,
body.glass-home .contact h2, body.glass-home .contact h3, body.glass-home .under-link{ color:#fff; }
body.glass-home .manifesto p, body.glass-home .stats p,
body.glass-home .journal-grid p, body.glass-home .product-meta p{ color:#c3ccd4; }
body.glass-home .manifesto h2 span, body.glass-home .section-head h2 i{ color:#e8ecf0; }
body.glass-home .section-label, body.glass-home .eyebrow{ color:var(--accent); }
body.glass-home .stats>div{ border-color:rgba(255,255,255,.12); }
body.glass-home .filter{ color:#fff; border-color:rgba(255,255,255,.35); }
body.glass-home .filter.active{ background:var(--accent); color:#172000; border-color:var(--accent); }
body.glass-home .contact small{ color:#9aa5ad; }
/* --- Thẻ kính + hover viền lime phát sáng --- */
body.glass-home .product-card, body.glass-home .journal-grid article{
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09); border-radius:18px; padding:16px;
}
body.glass-home .product-card:hover, body.glass-home .journal-grid article:hover{
  border-color:rgba(198,255,54,.45);
  box-shadow:0 18px 40px rgba(0,0,0,.45), 0 8px 30px rgba(198,255,54,.12);
}
/* --- Nút CTA chính chuyển sang lime --- */
body.glass-home .btn-dark{ background:var(--accent); color:#172000; border-color:var(--accent); }
body.glass-home .btn-dark:hover{ filter:brightness(1.08); box-shadow:0 8px 24px rgba(198,255,54,.25); }
/* --- Footer kính --- */
body.glass-home footer{
  background:rgba(6,12,24,.60); backdrop-filter:blur(16px) saturate(140%); -webkit-backdrop-filter:blur(16px) saturate(140%);
  border-top:1px solid rgba(255,255,255,.10);
}
/* --- Menu kính: trong suốt ở đầu trang, mờ đậm khi cuộn --- */
body.glass-home .site-header{
  background:rgba(4,8,18,.35); border-bottom:1px solid transparent;
  backdrop-filter:blur(16px) saturate(140%); -webkit-backdrop-filter:blur(16px) saturate(140%);
}
body.glass-home .site-header.is-scrolled{ background:rgba(4,8,18,.72); border-bottom-color:rgba(255,255,255,.10); }
body.glass-home .desktop-nav a, body.glass-home .header-actions a,
body.glass-home .header-actions button, body.glass-home .menu-btn{ color:#fff; }
body.glass-home .brand-logo{ filter:brightness(0) invert(1); }
body.glass-home .mobile-menu.open{ background:rgba(4,8,18,.95); }
body.glass-home .mobile-menu a{ color:#fff; }
/* Khối liên hệ: giữ lại ảnh xoáy nón gốc, phủ tối để chữ trắng đọc được */
body.glass-home .contact{
  background:
    linear-gradient(rgba(4,8,18,.72), rgba(4,8,18,.72)),
    url('../img/contact-spiral-helmets.webp') center / cover no-repeat;
}
