/* ===================================================================
   Yarui — Global Trade from Hong Kong
   Shared stylesheet
   =================================================================== */

:root {
  --c-primary: #0a2540;
  --c-primary-700: #0f2e4e;
  --c-primary-600: #143a63;
  --c-accent: #f59e0b;
  --c-accent-600: #d97706;
  --c-accent-soft: #fef3c7;
  --c-text: #1a202c;
  --c-muted: #5b6b7c;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8fb;
  --c-bg-alt: #eef3f8;
  --c-border: #e2e8f0;
  --c-white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, .08), 0 1px 2px rgba(10, 37, 64, .04);
  --shadow: 0 10px 30px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);

  --container: 1180px;
  --header-h: 76px;

  --font-sans: "Open Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.2; font-weight: 700; color: var(--c-primary); letter-spacing: -.01em; font-family: var(--font-head); }
.brand { font-family: var(--font-head); }
.eyebrow { font-family: var(--font-head); }
.btn { font-family: var(--font-head); }
.stat-item .num, .hero-stats .num { font-family: var(--font-head); }
.tl-item .year { font-family: var(--font-head); }
.value-card .num { font-family: var(--font-head); }
p { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-primary); color: #cdd9e6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-accent);
  display: inline-block;
}
.section-dark .eyebrow { color: var(--c-accent); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--c-muted); margin: 0; }
.section-dark .section-head p { color: #aebfd2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #1a1206; box-shadow: 0 8px 22px rgba(245, 158, 11, .35); }
.btn-primary:hover { background: var(--c-accent-600); box-shadow: 0 12px 28px rgba(245, 158, 11, .45); }
.btn-light { background: var(--c-white); color: var(--c-primary); }
.btn-light:hover { background: #f1f5f9; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--c-primary); color: #fff; }
.btn-dark:hover { background: var(--c-primary-600); }
.btn-lg { padding: 17px 38px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; color: var(--c-primary); letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-600));
  color: var(--c-accent);
  font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .18em; color: var(--c-muted); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text);
}
.nav-links a:hover { color: var(--c-accent-600); background: var(--c-bg-soft); }
.nav-links a.active { color: var(--c-accent-600); background: var(--c-accent-soft); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 12px 24px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--c-border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--c-primary); transition: .25s;
}
.menu-toggle span { top: 50%; transform: translateY(-50%); }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(245,158,11,.10), transparent 60%), var(--c-primary);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,.42), rgba(10,37,64,.72));
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: var(--c-accent); }
.hero .eyebrow::before { background: var(--c-accent); }
.hero h1 {
  color: #fff;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--c-accent); }
.hero .lead {
  font-size: 19px;
  line-height: 1.7;
  color: #c3d2e4;
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 620px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 34px;
}
.hero-stats .num { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-stats .num .plus { color: var(--c-accent); }
.hero-stats .label { font-size: 14px; color: #9fb2c8; margin-top: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 60px;
  background: var(--c-primary);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .65; }

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }
.page-hero p { color: #c3d2e4; font-size: 17px; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: #9fb2c8; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { color: #6b7e93; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #9fb2c8; margin-top: 18px; }
.crumbs a:hover { color: var(--c-accent); }
.crumbs span { color: #6b7e93; }
.crumbs .cur { color: #fff; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--c-accent-soft);
  color: var(--c-accent-600);
  margin-bottom: 22px;
}
.feature-ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--c-muted); margin: 0; }

/* Feature card with media (image-top) */
.feature-grid-media { gap: 28px; }
.feature-card-media { padding: 0; overflow: hidden; }
.feature-card-media .feature-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-soft); }
.feature-card-media .feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card-media:hover .feature-media img { transform: scale(1.06); }
.feature-card-media .feature-body { padding: 26px 26px 30px; }
.feature-card-media .feature-ico { width: 48px; height: 48px; margin-bottom: 18px; }
.feature-card-media .feature-ico svg { width: 24px; height: 24px; }

/* ---------- Split / intro band ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(255,255,255,.95);
  color: var(--c-primary);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 700; font-size: 14px;
}
.split-media .badge small { display: block; font-weight: 500; font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.split h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 18px; }
.split p { color: var(--c-muted); font-size: 16.5px; }
.check-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--c-text); }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-accent-soft); color: var(--c-accent-600);
  display: grid; place-items: center; margin-top: 2px;
}
.check-list .tick svg { width: 14px; height: 14px; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 30px 16px; border-right: 1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: clamp(34px, 5vw, 50px); font-weight: 800; color: var(--c-accent); letter-spacing: -.02em; }
.stat-item .label { font-size: 14px; color: #aebfd2; margin-top: 8px; }
.section-soft .stat-item { border-color: var(--c-border); }
.section-soft .stat-item .num { color: var(--c-primary); }
.section-soft .stat-item .label { color: var(--c-muted); }

/* ---------- Core business ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.biz-media { aspect-ratio: 16 / 10; overflow: hidden; }
.biz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.biz-card:hover .biz-media img { transform: scale(1.06); }
.biz-body { padding: 26px 26px 30px; }
.biz-body h3 { font-size: 20px; margin-bottom: 10px; }
.biz-body p { color: var(--c-muted); font-size: 15px; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-primary);
  color: #fff;
  padding: 72px 60px;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 20% 0%, rgba(245,158,11,.30), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-banner p { color: #c3d2e4; font-size: 17px; max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact preview ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.contact-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--c-bg-soft); color: var(--c-accent-600); display: grid; place-items: center; margin-bottom: 18px; }
.contact-item .ico svg { width: 24px; height: 24px; }
.contact-item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); margin-bottom: 8px; font-weight: 600; }
.contact-item p { margin: 0; font-size: 15.5px; font-weight: 500; color: var(--c-text); word-break: break-word; }
.contact-item a:hover { color: var(--c-accent-600); }

/* ---------- Products page ---------- */
.product-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--c-border);
  background: #fff; font-weight: 600; font-size: 14px; color: var(--c-text);
  cursor: pointer; transition: all .2s ease;
}
.chip:hover { border-color: var(--c-accent); color: var(--c-accent-600); }
.chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .media {overflow: hidden; background: var(--c-bg-soft);padding-top: 100%;
    position: relative;}
.product-card .media img { width: 100%; height: 100%;transition: transform .5s ease;position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-accent-600); font-weight: 700; margin-bottom: 8px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.35; }
.product-card p { font-size: 14px; color: var(--c-muted); margin: 0 0 18px; flex: 1; }
.product-card .more { font-weight: 600; color: var(--c-primary); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.product-card:hover .more { color: var(--c-accent-600); }

/* Product detail */
.detail-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); background: var(--c-bg-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.gallery-thumbs .thumb { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 1; border: 2px solid transparent; transition: all .2s ease; }
.gallery-thumbs .thumb:hover, .gallery-thumbs .thumb.active { border-color: var(--c-accent); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-info .cat-tag { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-accent-600); font-weight: 700; margin-bottom: 10px; }
.detail-info h1 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 16px; }
.detail-info .summary { font-size: 17px; color: var(--c-muted); margin-bottom: 24px; }
.detail-info .spec-row { display: grid; grid-template-columns: 160px 1fr; padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.detail-info .spec-row:last-of-type { border-bottom: none; }
.detail-info .spec-row .lbl { color: var(--c-muted); font-weight: 500; }
.detail-info .spec-row .val { color: var(--c-text); font-weight: 600; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.desc-box { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 40px; margin-top: 48px; }
.desc-box h2 { font-size: 24px; margin-bottom: 20px; }
.desc-box .page-content { line-height: 1.8; font-size: 16px; }
.desc-box .page-content h2, .desc-box .page-content h3, .desc-box .page-content h4 { margin-top: 24px; margin-bottom: 12px; }
.desc-box .page-content ul, .desc-box .page-content ol { padding-left: 24px; margin-bottom: 16px; }
.desc-box .page-content li { list-style: disc; margin-bottom: 6px; }
.desc-box .page-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }

/* ---------- Products Toolbar & Search ---------- */
.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.toolbar .filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar-right { display: flex; align-items: center; gap: 16px; }
.toolbar-meta { margin-top: 18px; padding: 0 4px; }
.toolbar-meta .muted { font-size: 14px; }
.chip .count { font-weight: 400; opacity: .65; font-size: 12px; margin-left: 2px; }

/* Search box — distinctive pill style */
.search {
  display: flex; align-items: center;
  background: var(--c-bg-soft);
  border: 1.5px solid var(--c-border);
  border-radius: 999px;
  padding: 5px 5px 5px 20px;
  min-width: 300px;
  transition: all .25s ease;
}
.search:focus-within {
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,158,11,.12);
}
.search input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  font: inherit; font-size: 14px; color: var(--c-text);
  padding: 10px 8px;
}
.search input::placeholder { color: var(--c-muted); }
.search button {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--c-primary);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .2s ease;
}
.search button:hover { background: var(--c-accent); color: #1a1206; transform: scale(1.06); }

/* ---------- Pagination (pg-btn) ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 56px; }
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--c-border);
  background: #fff; color: var(--c-text);
  font-weight: 600; font-size: 14px; font-family: var(--font-head);
  transition: all .2s ease;
}
.pg-btn:hover { border-color: var(--c-accent); color: var(--c-accent-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pg-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); box-shadow: 0 6px 18px rgba(10,37,64,.22); }
.pg-btn.disabled { background: var(--c-bg-soft); color: var(--c-muted); cursor: not-allowed; opacity: .55; }
.pg-btn.disabled:hover { transform: none; box-shadow: none; border-color: var(--c-border); color: var(--c-muted); }
.pagination .dots { padding: 0 6px; color: var(--c-muted); font-weight: 700; }

/* ---------- Forms (product inquiry / generic) ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--c-text); letter-spacing: .01em; }
.field .req { color: #e53e3e; }
.input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit; font-size: 14px;
  color: var(--c-text);
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
}
.input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(245,158,11,.14); }
.input::placeholder { color: var(--c-muted); }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.6; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Product Detail extras ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: var(--c-bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
}
.spec-item .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); font-weight: 700; }
.spec-item .val { font-size: 14px; font-weight: 600; color: var(--c-text); }
.spec-item .val small { display: block; font-weight: 400; font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip.small { padding: 5px 12px; font-size: 12px; border-radius: 999px; border: 1px solid var(--c-border); background: #fff; font-weight: 600; }
.meta-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.meta-row .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 600; }
.meta-row .mon { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--c-text); }
.content-card { background: #fff; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-wrap { position: relative; }
.empty-state { text-align: center; padding: 80px 20px; }
.product-description { line-height: 1.8; }
.product-description h2, .product-description h3 { margin-top: 24px; margin-bottom: 12px; }
.product-description ul, .product-description ol { padding-left: 24px; margin-bottom: 16px; }
.product-description li { list-style: disc; margin-bottom: 6px; }

/* ---------- About Story (image-text fusion) ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-story-media {
  position: relative;
  padding-bottom: 28px;
  padding-right: 28px;
}
.about-story-media .media-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-story-media .media-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.about-story-media .media-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255,255,255,.95);
  color: var(--c-primary);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 13px;
  z-index: 2;
}
.about-story-media .media-badge small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--c-muted);
  margin-top: 2px;
}
.about-story-copy { padding: 8px 0; }
.about-story-copy .eyebrow { margin-bottom: 14px; }
.about-story-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.about-story-copy .lead {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--c-text);
  font-weight: 500;
  padding-left: 18px;
  border-left: 3px solid var(--c-accent);
  margin: 0 0 22px;
}
.about-story-copy .story-body { color: var(--c-muted); font-size: 16px; line-height: 1.8; }
.about-story-copy .story-body p { margin-bottom: 14px; }
.about-story-copy .story-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
@media (max-width: 880px) {
  .about-story { grid-template-columns: 1fr; gap: 48px; }
  .about-story-media { padding-right: 20px; padding-bottom: 22px; }
  .about-story-media .media-sub { width: 38%; }
  .about-story-copy .lead { font-size: 16px; padding-left: 14px; }
}

/* legacy value-grid still used */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); }
.value-card .num { font-size: 14px; font-weight: 800; color: var(--c-accent); letter-spacing: .1em; margin-bottom: 14px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { color: var(--c-muted); font-size: 15px; margin: 0; }

.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--c-border); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.tl-item .year { font-size: 13px; font-weight: 700; color: var(--c-accent-600); letter-spacing: .06em; }
.tl-item h4 { font-size: 18px; margin: 6px 0 8px; }
.tl-item p { color: var(--c-muted); font-size: 15px; margin: 0; }

/* ---------- Contact form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--c-text); }
.form-control {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  font: inherit; color: var(--c-text); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--c-muted); margin-top: 14px; }
.form-note.success { color: #0a7f3f; font-weight: 600; }
.form-note.error { color: #b91c1c; font-weight: 600; }
.contact-side .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.contact-side .contact-item .ico { flex: none; width: 42px; height: 42px; margin-bottom: 0; }
.contact-side .contact-item .ico svg { width: 20px; height: 20px; }
.contact-side .contact-item h4 { margin-bottom: 2px; font-size: 13px; }
.contact-side .contact-item p { font-size: 14.5px; margin: 0; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); margin-top: 22px; }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-group { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover { border-color: rgba(245,158,11,.5); box-shadow: var(--shadow-sm); }
.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
  text-align: left;
  transition: color .2s ease;
}
.faq-toggle:hover { color: var(--c-accent-600); }
.faq-toggle .chev {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-primary);
  display: grid; place-items: center;
  transition: transform .3s ease, background .2s ease, color .2s ease;
}
.faq-toggle .chev svg { width: 16px; height: 16px; }
.faq-item.open .faq-toggle { color: var(--c-accent-600); }
.faq-item.open .faq-toggle .chev { transform: rotate(180deg); background: var(--c-accent); color: #fff; }
.faq-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-content-inner { padding: 0 24px 22px; color: var(--c-muted); font-size: 15px; line-height: 1.75; margin: 0; }
.faq-item.open .faq-content { max-height: 320px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination li a, .pagination li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--c-border);
  background: #fff; color: var(--c-text); font-weight: 500; font-size: 14px;
  transition: all .2s ease;
}
.pagination li a:hover { border-color: var(--c-accent); color: var(--c-accent-600); }
.pagination li.active span { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination li.disabled span { background: var(--c-bg-soft); color: var(--c-muted); cursor: not-allowed; }

.result-info { margin-bottom: 32px; color: var(--c-muted); font-size: 15px; }
.result-info strong { color: var(--c-primary); }

/* ---------- Alert ---------- */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary); color: #aebfd2; padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand small { color: #6b7e93; }
.footer-brand p { color: #9fb2c8; font-size: 15px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aebfd2; font-size: 15px; }
.footer-col a:hover { color: var(--c-accent); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 15px; color: #aebfd2; }
.footer-contact .ico { flex: none; width: 20px; height: 20px; color: var(--c-accent); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 14px; color: #7e90a7; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: var(--c-accent); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #aebfd2; }
.social-row a:hover { background: var(--c-accent); border-color: var(--c-accent); color: #1a1206; }
.social-row svg { width: 17px; height: 17px; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 14px;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease; gap: 4px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-cta .btn-text { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 56px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; }
  .hero-stats .stat { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .feature-grid, .biz-grid, .product-grid, .stats-band, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border); padding-bottom: 22px; }
  .stat-item:last-child { border-bottom: none; }
  .cta-banner { padding: 48px 26px; }
  .toolbar { flex-direction: column; align-items: stretch; padding: 18px 18px; }
  .search { min-width: 0; width: 100%; }
  .form-card { padding: 28px 22px; }
  .section-head.center { text-align: left; }
  .section-head.center .eyebrow { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .desc-box { padding: 26px 20px; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}
