/* =========================================================
   Devil Motor Speed — Premium Performance / Modern Industrial
   ========================================================= */
:root {
  --black: #070707;
  --bg: #0b0b0c;
  --panel: #131314;
  --panel-2: #1a1a1c;
  --line: #2a2a2d;
  --line-soft: rgba(255, 255, 255, .08);
  --red: #e3121b;
  --red-hot: #ff2a33;
  --red-deep: #9e0b11;
  --white: #ffffff;
  --text: #ececec;
  --muted: #a3a3a8;
  --radius: 10px;
  --header-h: 84px;
  --container: 1240px;
  --shadow-red: 0 10px 30px -10px rgba(227, 18, 27, .6);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }
body {
  margin: 0;
  font-family: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--white); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.text-red { color: var(--red-hot); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Component placeholders: reserve space to avoid layout shift */
[data-include="header"] { min-height: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  --cut: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.8em;
  font-weight: 600; font-style: italic; font-size: 1.05rem; letter-spacing: .01em;
  border: 0; border-radius: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-red { background: linear-gradient(100deg, var(--red-deep), var(--red) 45%, var(--red-hot)); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-outline { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-outline:hover { background: #fff; color: var(--black); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.15rem; padding: .9em 2.2em; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 6px; }
.link-btn:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(8, 8, 9, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(5, 5, 6, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand img { width: 128px; height: auto; }

.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 8px 14px;
  font-weight: 400; font-size: 1.02rem; color: #e6e6e6;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--red-hot); }
.nav-mobile-cta { display: none; }

.header-search {
  margin-left: auto; position: relative; display: flex; align-items: center;
  width: min(360px, 32vw); height: 44px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s, box-shadow .2s;
}
.header-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 18, 27, .2); }
.header-search > .icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); }
.header-search input {
  flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 42px;
  background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: .92rem;
}
.header-search input::placeholder { color: #8d8d92; }
.header-search button { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.header-search button .icon { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 0; color: #fff; transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn .icon { width: 26px; height: 26px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: .72rem; font-weight: 600; line-height: 20px; text-align: center;
  box-shadow: 0 0 0 2px var(--black);
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.search-toggle, .burger { display: none; }
.lang-switch {
  display: grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px; margin: 0 4px;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: #fff;
  transition: background .2s, border-color .2s, color .2s;
}
.lang-switch:hover { background: var(--red); border-color: var(--red); }
.footer-lang { color: #bbb; text-decoration: underline; }
.footer-lang:hover { color: #fff; }
.burger { flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.is-open { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--panel); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.cart-drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.25rem; font-style: italic; }
.drawer-list { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.drawer-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #fff; flex: none; }
.drawer-list .item-name { flex: 1; font-size: .92rem; line-height: 1.4; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel-2); }
.qty button:hover { border-color: var(--red); }
.qty span { min-width: 22px; text-align: center; }
.drawer-empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.drawer-empty a { color: var(--red-hot); text-decoration: underline; }
.drawer-foot { padding: 18px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-note { font-size: .85rem; color: var(--muted); margin: 0 0 4px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 150%); opacity: 0;
  max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 8px;
  background: #fff; color: var(--black); font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease), opacity .35s;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 760px);
  display: flex; align-items: center;
  padding: 64px 0 96px;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, .96) 0%, rgba(5, 5, 6, .82) 32%, rgba(5, 5, 6, .25) 60%, rgba(5, 5, 6, 0) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 22%);
}
.hero-content { position: relative; max-width: 780px; }
.hero-logo { width: min(420px, 78%); margin: 0 0 18px -6px; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; font-style: italic;
  letter-spacing: -.01em; margin-bottom: .3em; text-shadow: 0 4px 24px rgba(0, 0, 0, .6);
}
.hero-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35em .7em;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem); font-weight: 700; font-style: italic; color: var(--red-hot);
  margin-bottom: .45em;
}
.hero-tags .sep { color: rgba(255, 255, 255, .5); font-weight: 300; font-style: normal; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 400; font-style: italic; color: #f0f0f0; margin-bottom: 1.6em; }
.hero-sub span + span::before { content: ""; display: inline-block; width: 1em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stripes { position: absolute; right: -6%; bottom: -10%; width: 34%; height: 70%; z-index: -1; pointer-events: none; }
.hero-stripes i {
  position: absolute; bottom: 0; width: 18px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--red));
  transform: skewX(-32deg); opacity: .75;
}
.hero-stripes i:nth-child(1) { right: 55%; height: 70%; }
.hero-stripes i:nth-child(2) { right: 45%; width: 8px; opacity: .5; }
.hero-stripes i:nth-child(3) { right: 30%; height: 55%; width: 30px; opacity: .35; }

/* ---------- Feature strip ---------- */
.features {
  position: relative; z-index: 2; margin-top: -56px;
  background: linear-gradient(180deg, #121213, #0c0c0d);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.features-inner { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; align-items: stretch; }
.feature { display: flex; gap: 16px; align-items: center; padding: 26px 22px; position: relative; }
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px;
  background: rgba(255, 255, 255, .14); transform: skewX(-18deg);
}
.feature svg { width: 50px; height: 50px; flex: none; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.08rem; margin: 0 0 2px; white-space: nowrap; }
.feature p { margin: 0; color: var(--muted); font-size: .9rem; }
.features-brand {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
  padding: 18px 20px 18px 60px; text-align: right; overflow: hidden;
}
.features-brand::before {
  content: ""; position: absolute; inset: 0 -20px 0 0;
  background: linear-gradient(110deg, transparent 0 18%, var(--red) 18% 21%, transparent 21% 25%, var(--red-deep) 25% 27%, transparent 27%);
}
.features-brand strong { position: relative; font-size: 1.7rem; font-weight: 800; font-style: italic; color: var(--red-hot); line-height: 1; }
.features-brand span { position: relative; font-size: 1.05rem; font-weight: 600; font-style: italic; color: #fff; letter-spacing: .04em; }
.features-brand span em { color: var(--red-hot); font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #0e0e0f, #111113); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-texture {
  background-color: #0d0d0e;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 6px),
    radial-gradient(ellipse at 100% 0, rgba(227, 18, 27, .12), transparent 55%);
}
.section-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600; font-style: italic; letter-spacing: .14em; text-transform: uppercase; color: var(--red-hot);
  margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; font-style: italic; margin: 0; }
.section-lead { color: var(--muted); max-width: 620px; margin: 10px 0 0; font-size: 1.05rem; }
.section-head.center .section-lead { margin-inline: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .hero-bg img { object-position: 75% 55%; opacity: .55; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 7, 8, .97) 0%, rgba(7, 7, 8, .85) 45%, rgba(7, 7, 8, .45) 100%);
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-style: italic; font-weight: 700; margin: 6px 0 12px; }
.page-hero p { max-width: 640px; color: #d4d4d8; font-size: 1.08rem; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #555; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--red-hot); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 26px 12px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.cat-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .35s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(227, 18, 27, .5); box-shadow: 0 18px 40px -20px rgba(227, 18, 27, .5); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-card svg { width: 46px; height: 46px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cat-card h3 { font-size: 1rem; margin: 0; }
.cat-card p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Products ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: -14px 0 26px; }
.chip {
  padding: 7px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: #ddd; font-size: .95rem; transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(227, 18, 27, .6); color: #fff; }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.search-status { margin: -18px 0 24px; color: var(--muted); min-height: 1.5em; }
.search-status strong { color: #fff; }
.search-status a { color: var(--red-hot); text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(227, 18, 27, .55); box-shadow: 0 22px 44px -24px rgba(227, 18, 27, .55); }
.product-card[hidden] { display: none; }
.product-media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; cursor: zoom-in; }
.product-media::after {
  content: "ดูรายละเอียด"; position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px);
  padding: 6px 16px; border-radius: 999px; background: rgba(10, 10, 11, .85); color: #fff;
  font-size: .85rem; font-weight: 500; opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none;
}
.product-card:hover .product-media::after, .product-media:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.product-body h3 a { color: inherit; transition: color .2s; }
.product-body h3 a:hover { color: var(--red-hot); }

/* ---------- Product detail popup ---------- */
.pmodal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 24px 16px; }
.pm-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.pm-panel {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 48px); overflow-y: auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s, transform .35s var(--ease);
}
.pm-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2; background: linear-gradient(90deg, var(--red-deep), var(--red), transparent); border-radius: 14px 14px 0 0; }
.pmodal.is-open .pm-backdrop { opacity: 1; }
.pmodal.is-open .pm-panel { opacity: 1; transform: none; }
.pm-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); background: rgba(10, 10, 11, .8); color: #fff;
}
.pm-close:hover { background: var(--red); border-color: var(--red); }
.pm-gallery { padding: 20px; background: #0e0e0f; border-right: 1px solid var(--line); border-radius: 14px 0 0 14px; }
.pm-main { position: relative; aspect-ratio: 1; background: #fff; border-radius: 10px; overflow: hidden; }
.pm-main img { width: 100%; height: 100%; object-fit: contain; }
.pm-main .badge { z-index: 1; }
.pm-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: rgba(10, 10, 11, .65); color: #fff; transition: background .2s;
}
.pm-nav:hover { background: var(--red); }
.pm-prev { left: 10px; }
.pm-next { right: 10px; }
.pm-count { position: absolute; right: 12px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(10, 10, 11, .7); color: #fff; font-size: .8rem; }
.pm-count:empty { display: none; }
.pmodal.is-single .pm-nav { display: none; }
.pm-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pm-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; aspect-ratio: 1; opacity: .6; transition: opacity .2s, border-color .2s; }
.pm-thumbs button:hover { opacity: 1; }
.pm-thumbs button.is-active { opacity: 1; border-color: var(--red); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: 32px 28px 28px; display: flex; flex-direction: column; }
.pm-info h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.35; margin: 6px 40px 10px 0; }
.pm-price { font-size: 1.5rem; font-weight: 700; font-style: italic; color: var(--red-hot); margin: 0 0 8px; }
.pm-short { color: #d9d9dd; margin: 0 0 18px; }
.pm-short:empty { display: none; }
.pm-desc-wrap { padding: 16px 18px; border-radius: 10px; background: #0e0e0f; border: 1px solid var(--line); margin-bottom: 18px; }
.pm-desc-wrap h3 { font-size: .95rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.pm-desc { margin: 0; color: #ececec; white-space: pre-line; }
.pm-perks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 22px; font-size: .9rem; color: #cfcfd3; }
.pm-perks li::before { content: "✓"; color: var(--red-hot); font-weight: 700; margin-right: 6px; }
.pm-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm-actions .btn { font-size: .98rem; padding: .75em 1em; --cut: 10px; }
.pm-actions .btn-red { grid-column: 1 / -1; }

@media (max-width: 820px) {
  .pmodal { padding: 0; align-items: end; }
  .pm-panel { grid-template-columns: 1fr; max-height: 92svh; border-radius: 16px 16px 0 0; }
  .pm-gallery { border-right: 0; border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; padding: 14px; }
  .pm-main { aspect-ratio: 4 / 3; }
  .pm-info { padding: 20px 16px 24px; }
  .pm-thumbs { grid-template-columns: repeat(6, 1fr); }
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 0; padding: 3px 14px 3px 10px;
  background: var(--red); color: #fff; font-size: .78rem; font-weight: 600; font-style: italic;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.product-body { flex: 1; display: flex; flex-direction: column; padding: 16px 16px 18px; }
.product-cat { font-size: .78rem; color: var(--red-hot); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.product-body h3 { font-size: 1.02rem; font-weight: 500; margin: 4px 0 6px; line-height: 1.4; }
.product-fit { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.product-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price .price { font-weight: 600; font-style: italic; color: #fff; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 12px; }
.product-actions .btn { font-size: .92rem; padding: .6em 1em; --cut: 10px; }
.btn-icon-only { padding: .6em .9em !important; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); }
.split-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--red); border-radius: var(--radius);
}
.check-list { display: grid; gap: 14px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}
.check-list strong { color: #fff; font-weight: 500; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; overflow: hidden;
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(227, 18, 27, .5); }
.service-card .num {
  position: absolute; right: 18px; top: 8px;
  font-size: 4.2rem; font-weight: 800; font-style: italic; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
}
.service-card svg { width: 48px; height: 48px; color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.service-card h3 { font-size: 1.25rem; font-style: italic; }
.service-card p { color: var(--muted); margin: 0; }
.service-card ul { margin-top: 14px; display: grid; gap: 6px; font-size: .92rem; }
.service-card li::before { content: "—"; color: var(--red); margin-right: 8px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 24px; border-top: 3px solid var(--red); background: var(--panel); border-radius: 0 0 var(--radius) var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2rem; font-weight: 800; font-style: italic; color: var(--red-hot); line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: 14px;
  background: linear-gradient(110deg, #160406 0%, #3b0508 45%, var(--red-deep) 100%);
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-60deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #f1d5d6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { background: #fff; color: var(--red-deep); box-shadow: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.faq details[open] { border-color: rgba(227, 18, 27, .5); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 56px 18px 22px; font-weight: 500; color: #fff; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--red-hot); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Gallery / reviews ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  position: relative; display: block; padding: 0; border: 0; overflow: hidden;
  border-radius: var(--radius); background: #fff; aspect-ratio: 1; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0 0;
  padding: 26px 14px 12px; text-align: left; font-size: .88rem; color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { transform: none; }
.gallery-item.wide { grid-column: span 2; grid-row: span 2; }

.review-sources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.source-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
}
.source-card .source-top { display: flex; align-items: center; gap: 14px; }
.source-card .source-icon { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.source-card .source-icon svg { width: 28px; height: 28px; }
.source-card h3 { margin: 0; font-size: 1.3rem; font-style: italic; }
.source-card p { color: var(--muted); margin: 0; }
.source-card .btn { align-self: flex-start; margin-top: auto; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.review-card .stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 16px; color: #e3e3e3; }
.review-card cite { font-style: normal; color: var(--muted); font-size: .9rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(860px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 8px; background: #fff; }
.lightbox figcaption { text-align: center; margin-top: 12px; color: #ddd; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .4); color: #fff; display: grid; place-items: center; }
.lightbox .lb-btn:hover { background: var(--red); border-color: var(--red); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease);
}
.contact-card:hover { border-color: var(--red); transform: translateX(4px); }
.contact-card .ci { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(227, 18, 27, .14); color: var(--red-hot); flex: none; }
.contact-card .ci svg { width: 26px; height: 26px; }
.contact-card h3 { margin: 0; font-size: 1.08rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; word-break: break-word; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.form-card h2 { font-style: italic; font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 400; color: #ddd; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  background: #0c0c0d; border: 1px solid var(--line); color: #fff; font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 18, 27, .2); }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.line-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.line-card .section-lead { margin: 0 auto 22px; }
.line-pill { display: inline-block; margin-bottom: 12px; padding: 4px 14px; border-radius: 999px; background: rgba(6, 199, 85, .15); color: #3ddc84; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.line-qr { display: block; padding: 14px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 4px rgba(6, 199, 85, .35), 0 20px 40px -20px rgba(0, 0, 0, .8); margin-bottom: 24px; transition: transform .25s var(--ease); }
.line-qr:hover { transform: scale(1.02); }
.line-qr img { width: min(260px, 60vw); height: auto; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05b04b; transform: translateY(-2px); }
.form-note a { color: #fff; text-decoration: underline; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; font-style: italic; margin-top: 2em; padding-left: 14px; border-left: 3px solid var(--red); }
.prose p, .prose li { color: #cfcfd3; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--red-hot); text-decoration: underline; }

/* ---------- Error pages ---------- */
.error-page { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 80px 0; position: relative; overflow: hidden; isolation: isolate; }
.error-code {
  font-size: clamp(7rem, 22vw, 15rem); font-weight: 800; font-style: italic; line-height: .9;
  color: transparent; -webkit-text-stroke: 2px var(--red);
  text-shadow: 0 0 60px rgba(227, 18, 27, .35);
}
.error-page h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-style: italic; margin: 10px 0; }
.error-page p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.error-page .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #060606; border-top: 1px solid var(--line-soft); position: relative; margin-top: 0; }
.footer-stripe { height: 4px; background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-deep)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 360px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 20px; height: 20px; }
.footer-col h2 { font-size: 1.05rem; font-style: italic; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--red); }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 18px 0; font-size: .88rem; color: #7c7c82; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom p { margin: 0; }
.footer-tag { font-weight: 600; font-style: italic; color: #bbb; letter-spacing: .05em; }
.footer-tag em { color: var(--red-hot); }

/* Floating contact menu (button → all contact channels) */
.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-toggle {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--red); color: #fff;
  box-shadow: var(--shadow-red), 0 0 0 0 rgba(227, 18, 27, .6);
  animation: pulse 2.6s infinite; transition: background .25s, transform .25s var(--ease);
}
.fab-toggle:hover { transform: scale(1.05); }
.fab-toggle svg { width: 28px; height: 28px; }
.fab-toggle > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s, transform .3s var(--ease); }
.fab-ico-close { opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab-toggle { background: #1c1c1f; animation: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.fab.is-open .fab-ico-open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab-ico-close { opacity: 1; transform: none; }
@keyframes pulse { 70% { box-shadow: var(--shadow-red), 0 0 0 16px rgba(227, 18, 27, 0); } 100% { box-shadow: var(--shadow-red), 0 0 0 0 rgba(227, 18, 27, 0); } }

.fab-menu {
  width: 250px; padding: 14px; border-radius: 14px;
  background: rgba(19, 19, 20, .97); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96); transform-origin: bottom right;
  transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.fab.is-open .fab-menu { opacity: 1; visibility: visible; transform: none; }
.fab-title { margin: 0 4px 10px; font-size: .85rem; font-weight: 600; font-style: italic; letter-spacing: .06em; color: var(--red-hot); text-transform: uppercase; }
.fab-menu ul { display: grid; gap: 8px; }
.fab-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 14px; border-radius: 10px; background: #0d0d0e; border: 1px solid var(--line-soft);
  transition: border-color .2s, transform .2s var(--ease);
}
.fab-item:hover { border-color: rgba(255, 255, 255, .25); transform: translateX(-3px); }
.fab-text { display: grid; line-height: 1.3; }
.fab-text strong { font-weight: 600; color: #fff; font-size: .98rem; }
.fab-text small { color: var(--muted); font-size: .8rem; }
.fab-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.fab-icon svg { width: 22px; height: 22px; }
.fab-line .fab-icon { background: #06c755; }
.fab-messenger .fab-icon { background: linear-gradient(135deg, #00b2ff, #006aff 55%, #a033ff); }
.fab-facebook .fab-icon { background: #1877f2; }
.fab-lazada .fab-icon { background: linear-gradient(135deg, #f57224, #e3121b); }
.fab.is-open .fab-menu li { animation: fabIn .35s var(--ease) both; }
.fab.is-open .fab-menu li:nth-child(2) { animation-delay: .04s; }
.fab.is-open .fab-menu li:nth-child(3) { animation-delay: .08s; }
.fab.is-open .fab-menu li:nth-child(4) { animation-delay: .12s; }
@keyframes fabIn { from { opacity: 0; transform: translateY(8px); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .main-nav a { padding: 8px 10px; font-size: .98rem; }
  .header-search { width: 240px; }
  .features-inner { grid-template-columns: repeat(2, 1fr); }
  .features-brand { grid-column: 1 / -1; align-items: center; text-align: center; padding: 18px; }
  .feature:nth-child(3)::before { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand img { width: 104px; }
  .burger, .search-toggle { display: flex; }
  /* backdrop-filter would make the header the containing block of the fixed menu and clip it */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #080809; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    padding: 20px 16px calc(32px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    background: #080809;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 16px 6px; font-size: 1.2rem; border-bottom: 1px solid var(--line-soft); }
  .main-nav a::after { display: none; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
  .main-nav .nav-mobile-cta .btn { display: flex; justify-content: center; padding: .85em 1.6em; font-size: 1.05rem; border-bottom: 0; }
  .header-search {
    position: absolute; top: 100%; left: 0; right: 0; width: auto; height: 56px; margin: 0;
    border-radius: 0; border-width: 1px 0; background: #0a0a0b;
    display: none;
  }
  .header-search.is-open { display: flex; }
  .header-actions { margin-left: auto; gap: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  /* leave room on the right for the offset red frame so it never overflows the screen */
  .split-media { max-width: 560px; margin-right: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* iOS zooms into inputs smaller than 16px; keep them at 16px so the page never zooms */
  input, select, textarea, .header-search input { font-size: 16px; }
  .hero { padding: 40px 0 88px; min-height: 0; }
  .hero-bg img { object-position: 78% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, rgba(5, 5, 6, .85) 55%, var(--bg) 100%); }
  .hero-logo { width: min(300px, 80%); }
  .hero-sub span { display: block; }
  .hero-sub span + span::before { display: none; }
  .features { margin-top: -40px; }
  .feature { padding: 18px 12px; gap: 10px; flex-direction: column; text-align: center; min-width: 0; }
  .feature h3 { white-space: normal; }
  .source-card { padding: 24px 20px; }
  .feature svg { width: 40px; height: 40px; }
  .feature + .feature::before { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: .94rem; }
  .product-actions { grid-template-columns: 1fr; }
  .btn-icon-only { display: none !important; }
  .service-grid, .review-grid, .review-sources { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 32px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  /* narrow phones: logo + 4 header icons must fit inside 320px */
  .header-inner { gap: 8px; }
  .brand img { width: 92px; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn .icon { width: 24px; height: 24px; }
  .btn { white-space: normal; text-align: center; } /* longer English labels may wrap instead of overflowing */
  .lang-switch { margin: 0 2px; min-width: 38px; padding: 0 8px; }
  .steps { grid-template-columns: 1fr; }
  .btn { padding: .75em 1.3em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
