/* ============================================================
   NOBERFER VIỆT NAM — Website stylesheet v2
   Màu thương hiệu theo hồ sơ tập đoàn: đỏ crimson – đen than – trắng
   ============================================================ */
:root {
  --red:       #c1121f;
  --red-600:   #d7263d;
  --red-700:   #9d0e19;
  --red-50:    #fdeef0;
  --red-100:   #f9dadd;
  --dark-900:  #131418;
  --dark-800:  #1b1d23;
  --dark-700:  #24262e;
  --ink:       #191a1f;
  --ink-soft:  #565b66;
  --line:      #e6e8ec;
  --gray-bg:   #f5f6f8;
  --white:     #ffffff;
  --gold:      #e8c47c;
  --radius:    14px;
  --shadow:    0 12px 32px rgba(19, 20, 24, 0.12);
  --shadow-sm: 0 4px 14px rgba(19, 20, 24, 0.08);
  --shadow-red:0 8px 22px rgba(193, 18, 31, 0.32);
  --maxw:      1180px;
  --font:      "Inter", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark-900);
  color: #b9bcc5;
  font-size: 13px;
  border-bottom: 2px solid var(--red);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 12px; flex-wrap: wrap;
}
.topbar a { color: #b9bcc5; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .tb-left span { white-space: nowrap; }

/* Language switcher */
.lang-switch { display: flex; gap: 4px; }
.lang-switch button {
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  color: #b9bcc5; font-size: 12px; padding: 2px 9px; border-radius: 20px;
  cursor: pointer; font-family: inherit; transition: all .2s;
}
.lang-switch button:hover { border-color: #fff; color: #fff; }
.lang-switch button.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; flex: none;
  box-shadow: var(--shadow-red);
}
.brand-name { line-height: 1.15; }
.brand-name strong { display: block; font-size: 20px; letter-spacing: .5px; color: var(--dark-900); }
.brand-name span { font-size: 11px; color: var(--red); letter-spacing: .3px; white-space: nowrap; font-weight: 600; }

.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 14.5px;
  transition: all .18s;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--red-50); color: var(--red); }
.main-nav a.active { background: var(--red); color: #fff; }

/* ---------- Nav dropdown ---------- */
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #fff; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(19,20,24,.12); border: 1px solid var(--line);
  padding: 8px 0; z-index: 120; list-style: none; margin: 0;
}
.main-nav > ul > li:hover > .nav-dropdown { display: block; }
.nav-dropdown li { margin: 0; border: none; }
.nav-dropdown a {
  display: block; padding: 9px 18px; font-size: 13.5px; font-weight: 500;
  color: var(--dark-700); border-radius: 0; white-space: nowrap;
}
.nav-dropdown a:hover { background: var(--red-50); color: var(--red); padding-left: 22px; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--dark-900);
  margin: 5px auto; transition: all .25s;
}

/* Cart button */
.cart-btn {
  position: relative; background: none; border: 1.5px solid var(--line);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-900); transition: all .2s; flex: none;
}
.cart-btn:hover { border-color: var(--red); color: var(--red); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count.empty { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, var(--dark-900) 0%, var(--dark-700) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22;
}
.hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  background: linear-gradient(205deg, var(--red) 0%, var(--red-700) 90%);
  clip-path: polygon(72% 0, 100% 0, 100% 100%);
  opacity: .92;
}
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
  background: transparent;
  border-left: 1px solid rgba(193,18,31,.5);
  transform: skewX(-24deg) translateX(40%);
}
.hero .container {
  position: relative; padding: 110px 22px 120px; max-width: var(--maxw); z-index: 2;
}
.hero-kicker {
  display: inline-block; background: rgba(193,18,31,.18);
  border: 1px solid rgba(215,38,61,.55);
  color: #ffb9c0;
  padding: 5px 16px; border-radius: 30px; font-size: 13px; letter-spacing: .4px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.18; max-width: 780px; font-weight: 800; }
.hero p { margin-top: 18px; max-width: 640px; font-size: 17.5px; color: #c9ccd6; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 10px;
  font-weight: 700; font-size: 15px; transition: all .2s; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-outline { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.btn-outline:hover { background: var(--red-50); }
.btn-dark { background: var(--dark-900); color: #fff; }
.btn-dark:hover { background: var(--dark-700); }

/* ---------- Stats strip ---------- */
.stats {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: -58px auto 0; position: relative; z-index: 5;
  max-width: calc(var(--maxw) - 44px);
  border-top: 3px solid var(--red);
}
.stat { text-align: center; padding: 28px 14px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 34px; color: var(--red); font-weight: 800; }
.stat span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tint { background: var(--gray-bg); }
.section.dark { background: var(--dark-900); color: #e8e9ee; position: relative; overflow: hidden; }
.section.dark::before {
  content: ""; position: absolute; top: -80px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(193,18,31,.28), transparent 65%);
}
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  color: var(--red); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.6px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--dark-900); margin-top: 8px; line-height: 1.25; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 16.5px; }
.section.dark .section-head h2 { color: #fff; }
.section.dark .section-head p { color: #a3a7b3; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--red-50);
  color: var(--red); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; color: var(--dark-900); margin-bottom: 10px; }
.card p { font-size: 14.8px; color: var(--ink-soft); }
.card ul { margin-top: 12px; }
.card ul li {
  font-size: 14.3px; color: var(--ink-soft); padding: 4px 0 4px 22px; position: relative;
}
.card ul li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; }

/* Product cards */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .ph {
  background: linear-gradient(160deg, #f8f8fa, #ececf0);
  display: flex; align-items: center; justify-content: center;
  height: 230px; padding: 22px; position: relative;
}
.product-card .ph img { max-height: 100%; width: auto; object-fit: contain; }
.product-card .pb { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat {
  font-size: 11.5px; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 1px;
}
.product-card h3 { font-size: 17px; color: var(--dark-900); margin: 6px 0 8px; }
.product-card p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.product-card .tags { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px; background: var(--red-50); color: var(--red-700);
  border: 1px solid var(--red-100); padding: 3px 10px; border-radius: 20px; font-weight: 600;
}
.pc-actions { margin-top: 14px; display: flex; gap: 8px; }
.add-cart {
  flex: 1; background: var(--dark-900); color: #fff; border: none; cursor: pointer;
  padding: 10px 14px; border-radius: 9px; font-weight: 700; font-size: 13.5px;
  font-family: inherit; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.add-cart:hover { background: var(--red); }
.add-cart svg { width: 15px; height: 15px; }
.add-cart.added { background: #1d8348; }

/* ---------- Featured products (Sản phẩm tiêu biểu) — tông sáng/vàng luxury ---------- */
.fp-section {
  background:
    radial-gradient(120% 80% at 50% 0%, #fffdf7 0%, #fbf6ea 45%, #f4ead2 100%);
}
.fp-divider {
  width: 74px; height: 2px; margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.fp-divider::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 3px #fffdf7;
}
.fp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.fp-card {
  background: #fff;
  border: 1px solid #ecd9a6;
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: all .28s;
  box-shadow: 0 8px 22px rgba(180, 140, 50, .12);
}
.fp-card:hover { transform: translateY(-7px); box-shadow: 0 22px 44px rgba(180, 140, 50, .26); border-color: var(--gold); }
.fp-body {
  position: relative; padding: 20px 14px 14px; flex: 1;
  display: flex; align-items: center; justify-content: center; min-height: 222px;
  background:
    linear-gradient(158deg, #ffffff 0%, #fcf5e2 52%, #f2ddab 100%);
}
/* bệ trưng bày (pedestal) */
.fp-body::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 16px; height: 26px;
  background: radial-gradient(ellipse at center, rgba(197,160,74,.35), transparent 70%);
  border-radius: 50%;
}
.fp-badges {
  position: absolute; top: 12px; left: 10px; display: flex; flex-direction: column; gap: 7px; z-index: 2;
}
.fp-badges img {
  width: 30px; height: 30px; object-fit: contain;
  background: #fff; border-radius: 6px; padding: 2px;
  box-shadow: 0 2px 6px rgba(120,90,20,.18);
}
.fp-brand {
  position: absolute; top: 13px; right: 13px; z-index: 2;
  font-weight: 800; font-size: 15px; color: var(--red); letter-spacing: .8px;
}
.fp-img { max-height: 230px; max-width: 74%; object-fit: contain; position: relative; z-index: 1;
  filter: drop-shadow(0 10px 14px rgba(120,90,20,.22)); }
.fp-name {
  background: #fff; color: var(--dark-900); text-align: center;
  padding: 15px 12px 16px; font-weight: 700; font-size: 13.8px; line-height: 1.4;
  border-top: 2px solid #f0e0b4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.fp-name .add-cart {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-700));
  padding: 9px 10px; font-size: 12.5px;
  box-shadow: 0 4px 12px rgba(193,18,31,.28);
}
.fp-name .add-cart:hover { filter: brightness(1.08); }

/* ---------- Honor & Qualification — carousel chuyển động ---------- */
.honor-section {
  background: linear-gradient(180deg, #f6f7f9 0%, #eef0f3 100%);
  overflow: hidden;
}
.marquee {
  position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; gap: 22px; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cert-slide {
  flex: 0 0 auto; width: 210px; background: #fff; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 14px 14px 12px; text-align: center; transition: all .25s;
}
.cert-slide { cursor: pointer; }
.cert-slide:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gold); }
.cert-slide .cs-img {
  height: 210px; display: flex; align-items: center; justify-content: center;
  background: #fbfbfc; border-radius: 8px; overflow: hidden; cursor: pointer;
}
.cert-slide .cs-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-slide figcaption { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Floating contact (phone + Zalo) ---------- */
.fab-contact {
  position: fixed; right: 18px; bottom: 20px; z-index: 210;
  display: flex; flex-direction: column; gap: 12px;
}
.fab-contact a {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.22); position: relative; transition: transform .2s;
}
.fab-contact a:hover { transform: scale(1.08); }
.fab-contact a svg { width: 26px; height: 26px; }
.fab-phone { background: var(--red); animation: fab-ring 2.2s ease-in-out infinite; }
.fab-zalo { background: #0068ff; }
.fab-contact a::after {
  content: attr(data-label); position: absolute; right: 62px; white-space: nowrap;
  background: var(--dark-900); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 11px; border-radius: 7px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.fab-contact a:hover::after { opacity: 1; }
@keyframes fab-ring {
  0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,.22), 0 0 0 0 rgba(193,18,31,.5); }
  50% { box-shadow: 0 8px 20px rgba(0,0,0,.22), 0 0 0 10px rgba(193,18,31,0); }
}
@media (max-width: 760px) { .fab-contact a { width: 46px; height: 46px; } .fab-contact a svg { width: 22px; height: 22px; } }

/* ---------- Partners strip ---------- */
.partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.partners-grid .pl {
  background: var(--dark-800); border: 1px solid var(--dark-700);
  border-radius: 10px; height: 84px;
  display: flex; align-items: center; justify-content: center; padding: 18px 22px;
  transition: all .25s;
}
.partners-grid .pl:hover { border-color: rgba(215,38,61,.6); background: var(--dark-700); }
.partners-grid img { max-height: 40px; max-width: 100%; object-fit: contain; opacity: .85; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(24px, 3vw, 33px); color: var(--dark-900); line-height: 1.28; }
.split p { color: var(--ink-soft); margin-top: 14px; font-size: 15.8px; }

.checklist { margin-top: 20px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checklist li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red-50); color: var(--red); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ---------- Cert badges ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 18px; font-weight: 700; font-size: 14px; color: var(--dark-800);
  display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow-sm);
}
.badge::before { content: "●"; color: var(--red); font-size: 10px; }
.badge-img-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.badge-img-row img {
  height: 76px; width: auto; object-fit: contain;
  background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure {
  border-radius: 12px; overflow: hidden; position: relative; cursor: pointer;
  aspect-ratio: 4/3; background: var(--gray-bg);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(19,20,24,.88));
  color: #fff; font-size: 13.5px; font-weight: 600; padding: 26px 16px 12px;
}
.gallery figure.contain img { object-fit: contain; background: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(12, 13, 16, .93); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 24px; background: none; border: none;
  color: #fff; font-size: 38px; cursor: pointer; line-height: 1;
}

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid var(--line); position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 40px; font-weight: 800; color: var(--red-100);
  display: block; line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 16.5px; color: var(--dark-900); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.data th {
  background: var(--dark-900); color: #fff; text-align: left;
  padding: 13px 18px; font-size: 13.5px; letter-spacing: .3px; white-space: nowrap;
  border-bottom: 2px solid var(--red);
}
table.data td { padding: 12px 18px; border-top: 1px solid var(--line); color: var(--ink-soft); }
table.data tr:nth-child(even) td { background: var(--gray-bg); }
table.data td:first-child { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--dark-900) 30%, var(--red-700) 130%);
  color: #fff; border-radius: var(--radius);
  padding: 54px 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
  background: linear-gradient(205deg, var(--red), var(--red-700));
  clip-path: polygon(55% 0, 100% 0, 100% 100%); opacity: .9;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.3; }
.cta-band p { color: #d5c9cb; margin-top: 8px; max-width: 560px; }

/* ---------- News ---------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card .nh { aspect-ratio: 16/9; overflow: hidden; }
.news-card .nh img { width: 100%; height: 100%; object-fit: cover; }
.news-card .nb { padding: 22px 24px 26px; flex: 1; }
.news-card time { font-size: 12.5px; color: var(--red); font-weight: 700; }
.news-card h3 { font-size: 17.5px; color: var(--dark-900); margin: 8px 0 10px; line-height: 1.4; }
.news-card p { font-size: 14.3px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--dark-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff;
  transition: border-color .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Contact ---------- */
.contact-info { display: grid; gap: 16px; }
.ci-item {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; align-items: flex-start;
}
.ci-item .icon {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  background: var(--red-50); color: var(--red);
  display: flex; align-items: center; justify-content: center;
}
.ci-item .icon svg { width: 22px; height: 22px; }
.ci-item b { display: block; color: var(--dark-900); font-size: 14.5px; margin-bottom: 3px; }
.ci-item span, .ci-item a { font-size: 14.3px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-900); color: #a7abb6; margin-top: 90px; border-top: 3px solid var(--red); }
.site-footer .top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 60px 0 46px;
}
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .3px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #a7abb6; font-size: 14px; transition: color .2s; }
.site-footer a:hover { color: var(--red-600); }
.site-footer p { font-size: 14px; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.f-brand .brand-logo { width: 40px; height: 40px; }
.f-brand .brand-mark { width: 38px; height: 38px; font-size: 19px; }
.f-brand strong { color: #fff; font-size: 18px; letter-spacing: .5px; }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(115deg, var(--dark-900) 20%, var(--dark-700) 100%);
  color: #fff; padding: 66px 0 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36%;
  background: linear-gradient(205deg, var(--red), var(--red-700));
  clip-path: polygon(62% 0, 100% 0, 100% 100%); opacity: .9;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-hero .crumb { font-size: 13.5px; color: #8f939f; margin-bottom: 12px; }
.page-hero .crumb a { color: #c6c9d2; }
.page-hero p { margin-top: 12px; max-width: 640px; color: #b9bcc7; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(12,13,16,.55); z-index: 240;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: -430px; width: 420px; max-width: 96vw; height: 100vh;
  background: #fff; z-index: 250; box-shadow: -14px 0 44px rgba(12,13,16,.3);
  transition: right .3s; display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-head {
  background: var(--dark-900); color: #fff; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--red);
}
.cart-head h3 { font-size: 17px; }
.cart-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 40px 10px; font-size: 14.5px; }
.cart-item {
  display: flex; gap: 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 54px; height: 54px; object-fit: contain; flex: none;
  background: var(--gray-bg); border-radius: 8px; padding: 5px;
}
.cart-item .ci-name { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--dark-900); line-height: 1.35; }
.cart-qty { display: flex; align-items: center; gap: 6px; }
.cart-qty button {
  width: 24px; height: 24px; border: 1px solid var(--line); background: #fff;
  border-radius: 6px; cursor: pointer; font-weight: 700; color: var(--dark-900);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.cart-qty button:hover { border-color: var(--red); color: var(--red); }
.cart-qty b { min-width: 20px; text-align: center; font-size: 13.5px; }
.cart-remove { background: none; border: none; color: #b0b4bd; cursor: pointer; font-size: 17px; padding: 4px; }
.cart-remove:hover { color: var(--red); }
.cart-form { border-top: 1px solid var(--line); padding: 16px 22px 20px; background: var(--gray-bg); }
.cart-form .field { margin-bottom: 10px; }
.cart-form input, .cart-form textarea {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 13.5px; outline: none; background: #fff;
}
.cart-form input:focus, .cart-form textarea:focus { border-color: var(--red); }
.cart-form textarea { min-height: 56px; resize: vertical; }
.cart-form .btn { width: 100%; text-align: center; }
.cart-note { font-size: 12px; color: var(--ink-soft); margin-top: 8px; text-align: center; }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--dark-900); color: #fff; padding: 12px 22px; border-radius: 30px;
  font-size: 14px; font-weight: 600; z-index: 400; transition: transform .3s;
  border-left: 3px solid var(--red); box-shadow: var(--shadow);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utility ---------- */
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.center-text { text-align: center; }

/* ---------- Product layout: sidebar + search ---------- */
.product-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.product-sidebar { position: sticky; top: 100px; }
.product-sidebar h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--dark-500); margin-bottom: 12px; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { border-bottom: 1px solid var(--line); }
.sidebar-menu a { display: block; padding: 10px 0; font-size: 14.5px; color: var(--dark-700); text-decoration: none; transition: color .2s, padding-left .2s; }
.sidebar-menu a:hover { color: var(--red); padding-left: 6px; }
.search-bar { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 16px; max-width: 480px; }
.search-bar svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--dark-400); }
.search-bar input { border: none; outline: none; width: 100%; font-size: 15px; font-family: inherit; background: transparent; }
.search-results { margin-top: 16px; }
.search-results .product-card { margin-bottom: 12px; }
.search-no-result { padding: 20px; color: var(--dark-500); font-size: 14.5px; }

/* ============ Responsive ============ */

/* -- Tablet landscape & small desktop -- */
@media (max-width: 1080px) {
  html, body { overflow-x: hidden; }
  .main-nav {
    position: fixed; top: 0; right: -290px; width: 280px; height: 100vh;
    background: #fff; box-shadow: -10px 0 40px rgba(19,20,24,.18);
    transition: right .3s; z-index: 200; padding: 86px 22px 30px;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 13px 16px; font-size: 15.5px; }
  .nav-dropdown { position: static; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; min-width: 0; display: none; }
  .nav-dropdown a { font-size: 14px; padding: 10px 16px; }
  .main-nav > ul > li.dropdown-open > .nav-dropdown { display: block; }
  .nav-toggle { display: block; position: relative; z-index: 210; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fp-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
}

/* -- Tablet portrait & large phones -- */
@media (max-width: 760px) {
  .container { padding: 0 16px; }

  /* Topbar: stack vertically, smaller font */
  .topbar { font-size: 12px; }
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 16px; }
  .topbar .tb-left { gap: 10px; font-size: 12px; }
  .topbar .tb-left span.hide-m { display: none; }
  .lang-switch { margin-top: 2px; }

  /* Header: compact */
  .site-header .container { min-height: 58px; gap: 10px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name strong { font-size: 16px; }
  .brand-name span { font-size: 9.5px; }

  /* Hero */
  .hero .container { padding: 60px 16px 80px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; margin-top: 14px; }
  .hero-kicker { font-size: 11.5px; padding: 4px 12px; margin-bottom: 16px; }
  .hero-actions { margin-top: 24px; gap: 10px; }
  .hero-actions .btn { padding: 11px 20px; font-size: 14px; width: 100%; text-align: center; }
  .hero::after { display: none; }
  .hero::before { display: none; }

  /* Stats */
  .stats { margin: -40px 16px 0; border-radius: 12px; }
  .stat { padding: 18px 10px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 11.5px; }

  /* Sections */
  .section { padding: 50px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 14.5px; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  /* Product layout */
  .product-layout { grid-template-columns: 1fr; gap: 16px; }
  .product-sidebar { position: static; }
  .sidebar-menu { display: flex; flex-wrap: wrap; gap: 6px; }
  .sidebar-menu li { border: 1px solid var(--line); border-radius: 6px; }
  .sidebar-menu a { padding: 6px 12px; font-size: 13px; }

  /* Featured products: 2 cols */
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fp-body { min-height: 160px; padding: 14px 10px 10px; }
  .fp-img { max-height: 140px; max-width: 80%; }
  .fp-brand { font-size: 12px; top: 8px; right: 8px; }
  .fp-badges { top: 8px; left: 6px; }
  .fp-badges img { width: 22px; height: 22px; }
  .fp-name { padding: 10px 8px 12px; font-size: 12px; line-height: 1.35; }
  .fp-name .add-cart { padding: 7px 8px; font-size: 11px; }

  /* Product cards */
  .product-card .ph { height: 180px; padding: 16px; }
  .product-card .pb { padding: 16px; }
  .product-card h3 { font-size: 15px; }
  .product-card p { font-size: 13px; }

  /* Cards */
  .card { padding: 22px 18px; }
  .card h3 { font-size: 16px; }

  /* CTA band */
  .cta-band { padding: 32px 20px; flex-direction: column; text-align: center; }
  .cta-band::after { display: none; }
  .cta-band h2 { font-size: 20px; }
  .cta-band .btn { width: 100%; text-align: center; }

  /* Partners */
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .partners-grid .pl { height: 64px; padding: 12px 14px; }

  /* Split */
  .split { gap: 24px; }

  /* Page hero */
  .page-hero { padding: 46px 0 42px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero::after { display: none; }

  /* News */
  .news-card .nb { padding: 16px 18px 20px; }
  .news-card h3 { font-size: 16px; }

  /* Footer */
  .site-footer { margin-top: 50px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 30px; }
  .site-footer .bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }

  /* Lightbox */
  .lightbox { padding: 16px; }
  .lightbox img { max-width: 96vw; max-height: 80vh; }

  /* Badge rows */
  .badge-img-row { gap: 10px; }
  .badge-img-row img { height: 56px; }
  .badge { font-size: 12.5px; padding: 8px 12px; }
}

/* -- Small phones -- */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Topbar: hide phone numbers, keep email */
  .topbar .tb-left { gap: 8px; flex-wrap: wrap; }

  /* Header: even more compact */
  .site-header .container { min-height: 52px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-name strong { font-size: 15px; }
  .brand-name span { font-size: 9px; letter-spacing: 0; }
  .brand { gap: 8px; }
  .cart-btn { width: 36px; height: 36px; border-radius: 8px; }
  .nav-toggle { width: 36px; height: 36px; }

  /* Hero */
  .hero .container { padding: 48px 14px 70px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 14px; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; margin: -34px 14px 0; }
  .stat { padding: 14px 8px; }
  .stat b { font-size: 22px; }
  .stat span { font-size: 11px; }

  /* Section */
  .section { padding: 40px 0; }
  .section-head h2 { font-size: 20px; }

  /* Featured products */
  .fp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fp-body { min-height: 130px; }
  .fp-img { max-height: 110px; }
  .fp-name { font-size: 11px; padding: 8px 6px 10px; }
  .fp-name .add-cart { font-size: 10.5px; padding: 6px; gap: 4px; }
  .fp-name .add-cart svg { width: 12px; height: 12px; }

  /* Gallery */
  .gallery { grid-template-columns: 1fr; gap: 12px; }

  /* Partners */
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .partners-grid .pl { height: 56px; padding: 10px; }

  /* Cert slides */
  .cert-slide { width: 160px; padding: 10px; }
  .cert-slide .cs-img { height: 160px; }
  .cert-slide figcaption { font-size: 11px; }

  /* Forms */
  .field input, .field select, .field textarea { padding: 10px 12px; font-size: 14px; }

  /* Buttons */
  .btn { padding: 11px 20px; font-size: 14px; }

  /* Contact */
  .ci-item { padding: 14px 16px; gap: 12px; }
  .ci-item .icon { width: 38px; height: 38px; }
}
