/* ==========================================================================
   Fiber Zip — visual system rebuilt on the FS.com design language
   Palette, type scale, spacing, radii, shadows and interaction timings follow
   the computed styles of cn.fs.com (Open Sans / #0060bf / #19191a / #fafbfb).
   ========================================================================== */

:root {
  --primary: #0060bf;
  --primary-hover: #004c99;
  --primary-soft: #e8f1fb;
  --red: #c00000;
  --ink: #19191a;
  --text: #646466;
  --muted: #707070;
  --line: #e5e5e5;
  --line-soft: #eee;
  --surface: #fafbfb;
  --surface-2: #f6f6f8;
  --surface-3: #f7f7f7;
  --white: #fff;
  --font: "Open Sans", Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 4px;
  --shadow-menu: 0 3px 6px -2px rgba(0, 0, 0, .1);
  --shadow-card: 0 15px 15px -10px rgba(0, 0, 0, .15);
  --transition: .3s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
p { margin: 0 0 14px; }
ul { margin: 0; padding-left: 20px; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------------------
   Header: 32px utility bar + 70px main navigation
   -------------------------------------------------------------------------- */

.utility-bar {
  height: 32px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.utility-inner a { color: var(--text); }
.utility-inner a:hover { color: var(--primary); }
.utility-left, .utility-right { display: flex; align-items: center; gap: 18px; }
.utility-sep { color: #c9c9c9; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { justify-self: start; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: 0 0 auto; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 16px; font-weight: 700; letter-spacing: -.03em;
}
.logo-text { font-size: 19px; font-weight: 700; line-height: 20px; letter-spacing: -.02em; }
.logo-text small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .22em; color: var(--muted); line-height: 12px; }

.nav { display: flex; align-items: center; gap: 24px; height: 100%; justify-self: center; margin-left: 0; }
.nav > a, .nav-item > a {
  display: inline-flex; align-items: center; gap: 5px;
  height: 100%; padding: 0; color: var(--ink);
  font-size: 14px; line-height: 22px; font-weight: 500; white-space: nowrap;
  position: relative;
}
.nav > a:hover, .nav-item > a:hover { color: var(--primary); text-decoration: none; }
.nav > a.btn { height: auto; flex: 0 0 auto; }
.nav > a[aria-current="page"]::after, .nav-item > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary);
}
.caret { font-size: 10px; color: var(--muted); transition: transform var(--transition); }
.nav-item:hover .caret { transform: rotate(180deg); }

.nav-icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--ink); border-radius: var(--radius); font-size: 16px;
}
.nav-icon:hover { background: var(--surface-2); color: var(--primary); text-decoration: none; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); width: 38px; height: 38px; cursor: pointer; font-size: 17px;
}

/* Mega dropdown */
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.dropdown {
  display: none;
  position: fixed; top: 102px; left: 50%; transform: translateX(-50%);
  width: min(1000px, calc(100vw - 48px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-menu);
  padding: 20px 22px;
  z-index: 110;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.dropdown-head {
  font-size: 12px; font-weight: 600; color: var(--muted); text-align: center;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.dropdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; }
.dropdown-group { min-width: 0; text-align: center; }
.dropdown-group > a {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 6px 0; line-height: 18px;
}
.dropdown-group > a:hover { color: var(--primary); }
.dropdown-group .children { display: grid; gap: 2px; }
.dropdown-group .children a { display: block; font-size: 12px; color: var(--muted); padding: 3px 0; }
.dropdown-group .children a:hover { color: var(--primary); }
.dropdown-all {
  display: block; text-align: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  font-size: 13px; font-weight: 600; color: var(--primary);
}

/* --------------------------------------------------------------------------
   Hero: full-bleed photographic banner, 36px/48px headline
   -------------------------------------------------------------------------- */

.hero { position: relative; height: 420px; overflow: hidden; background: #0d2f57; color: #fff; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(22px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
  background-image:
    linear-gradient(90deg, rgba(4, 16, 36, .9) 0%, rgba(4, 16, 36, .58) 48%, rgba(4, 16, 36, .1) 100%),
    url("/assets/img/hero-bg.svg");
  background-size: cover;
  background-position: center;
}
.hero-slide.slide-2 {
  background-image:
    linear-gradient(90deg, rgba(3, 20, 44, .92) 0%, rgba(3, 20, 44, .6) 50%, rgba(3, 20, 44, .12) 100%),
    url("/assets/img/hero-bg-2.svg");
}
.hero-slide.active { opacity: 1; visibility: visible; transform: translateX(0); }
.hero-slide[style]::after { display: none; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-copy { flex: 1 1 auto; max-width: 620px; }
.hero .eyebrow { color: #9bc9f5; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1, .hero h2.hero-title { color: #fff; font-size: 36px; line-height: 48px; font-weight: 600; margin: 0 0 16px; }
.hero-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 26px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual {
  position: relative; flex: 0 0 330px; height: 278px; border-radius: 10px;
  background: rgba(255, 255, 255, .97); color: var(--ink);
  display: flex; align-items: center; justify-content: center; padding: 34px 20px 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3); text-decoration: none; overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px dashed rgba(0, 96, 191, .28); border-radius: 6px;
}
.hero-visual-label {
  position: absolute; top: 14px; left: 18px; z-index: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary);
}
.hero-visual img {
  display: block; max-width: 100%; max-height: 190px; width: auto; height: auto;
  object-fit: contain; transition: transform .5s ease;
}
.hero-visual:hover img { transform: scale(1.05); }
.hero-visual-link {
  position: absolute; right: 18px; bottom: 12px; z-index: 1;
  font-size: 12px; font-weight: 700; color: var(--primary);
}
.hero-dots { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button {
  width: 22px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .45); cursor: pointer; transition: background var(--transition), width var(--transition);
}
.hero-dots button.active { width: 36px; background: #fff; }
.hero-arrow {
  position: absolute; z-index: 4; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .2);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--primary); border-color: var(--primary); outline: none; }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

/* Category tab strip */
.cat-tabs { background: var(--white); border-bottom: 1px solid var(--line); }
.cat-tabs-inner { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs-inner::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: 0 0 132px; width: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 8px 14px; border-bottom: 2px solid transparent;
  color: var(--ink); font-size: 12px; line-height: 17px; white-space: nowrap;
}
.cat-tab span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cat-tab:hover, .cat-tab.active { color: var(--primary); border-bottom-color: var(--red); text-decoration: none; }
.cat-tab img, .cat-tab svg { width: 38px; height: 38px; object-fit: contain; }

/* --------------------------------------------------------------------------
   Sections and cards
   -------------------------------------------------------------------------- */

.section { padding: 56px 0; }
.section.alt { background: var(--surface); }
.section-tight { padding: 36px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 24px; line-height: 32px; font-weight: 600; margin-bottom: 8px; }
.section-head p { font-size: 14px; line-height: 22px; color: var(--text); max-width: 760px; margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card, .media-card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover, .media-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: #dcdcdc; }
.product-media { height: 176px; flex: 0 0 176px; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 18px; border-bottom: 1px solid var(--line-soft); overflow: hidden; box-sizing: border-box; }
.product-media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-media .media-link { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.product-media .media-link img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 14px; line-height: 22px; font-weight: 600; margin-bottom: 8px; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--primary); text-decoration: none; }
.product-body p { font-size: 13px; line-height: 20px; color: var(--text); margin-bottom: 12px; }
.card-link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--primary); }
.card-link:hover { text-decoration: underline; }
.sub-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.sub-link { font-size: 12px; color: var(--muted); }

.media { height: 158px; flex: 0 0 158px; overflow: hidden; background: var(--surface-2); box-sizing: border-box; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media .media-link { display: block; width: 100%; height: 100%; }
.media .media-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-card:hover .media img { transform: scale(1.04); }
.media-link:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.media-body { padding: 15px 16px 17px; }
.media-body h3 { font-size: 14px; line-height: 22px; font-weight: 600; margin-bottom: 8px; }
.media-body h3 a { color: var(--ink); }
.media-body h3 a:hover { color: var(--primary); text-decoration: none; }
.media-body p { font-size: 13px; line-height: 20px; color: var(--text); margin-bottom: 10px; }

/* Stats band */
.stats-band { background: var(--surface-2); padding: 48px 0; text-align: center; }
.stats-band h2 { font-size: 24px; line-height: 32px; margin-bottom: 6px; }
.stats-band .section-sub { color: var(--text); font-size: 14px; margin-bottom: 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stat { border-right: 1px solid #e0e0e0; padding: 6px 8px; }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: 27px; line-height: 34px; font-weight: 600; color: var(--primary); }
.stat-label { display: block; font-size: 12px; color: var(--text); margin-top: 4px; }

/* Service cards with line icons */
.service-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; transition: box-shadow var(--transition), transform var(--transition); }
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-icon { width: 44px; height: 44px; color: var(--ink); }
.service-card h3 { font-size: 14px; line-height: 22px; margin: 16px 0 6px; }
.service-card p { font-size: 13px; line-height: 20px; color: var(--text); margin: 0; }

/* Value list */
.value-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; }
.value-num { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.value-item h3 { font-size: 14px; line-height: 22px; margin-bottom: 4px; }
.value-item p { font-size: 13px; line-height: 20px; color: var(--text); margin: 0; }

/* CTA cards before footer */
.info-band { background: var(--white); border-top: 1px solid var(--line); padding: 44px 0; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.info-card svg { width: 40px; height: 40px; flex: 0 0 40px; color: var(--ink); }
.info-card h3 { font-size: 14px; line-height: 22px; margin-bottom: 4px; }
.info-card p { font-size: 13px; line-height: 20px; color: var(--text); margin: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 9px 20px; border-radius: var(--radius);
  font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-soft); color: var(--primary-hover); }
.btn-sm { min-height: 34px; padding: 6px 14px; font-size: 13px; }
.hero .btn-outline { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .1); }
.hero .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.cta-band {
  background: linear-gradient(100deg, var(--primary) 0%, #004c99 100%);
  color: #fff; padding: 38px 0; text-align: center;
}
.cta-band h2 { color: #fff; font-size: 24px; line-height: 32px; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .86); font-size: 14px; margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Inner pages: breadcrumbs, page hero, content, product detail
   -------------------------------------------------------------------------- */

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 16px 0 4px; font-size: 12px; color: var(--muted); text-align: center; }
.breadcrumbs a { color: var(--text); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span[aria-current] { color: var(--ink); }

.page-hero { padding: 26px 0 8px; }
.page-hero h1 { font-size: 32px; line-height: 42px; margin-bottom: 10px; }
.page-hero p { font-size: 14px; line-height: 23px; color: var(--text); max-width: 860px; margin: 0; }

.content-block { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 28px; }
.content-block h2 { font-size: 20px; line-height: 30px; margin: 26px 0 12px; }
.content-block h2:first-child { margin-top: 0; }
.content-block h3 { font-size: 15px; line-height: 24px; margin: 18px 0 6px; }
.content-block p, .content-block li { font-size: 14px; line-height: 24px; color: var(--text); }
.content-block a { color: var(--primary); }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 3px 0; }

.category-hero { display: block; width: auto; max-width: 100%; max-height: 320px; object-fit: contain; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface-2); margin: 0 auto 22px; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.product-figure { margin: 0; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; }
.product-figure img { display: block; width: auto; max-width: 100%; max-height: 240px; object-fit: contain; margin: 0 auto; }
.product-figure figcaption { font-size: 12px; color: var(--muted); text-align: center; padding-top: 12px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 36%; color: var(--ink); font-weight: 600; background: var(--surface); }
.spec-table td { color: var(--text); }

.faq details { border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 14px; }
.faq summary:hover { color: var(--primary); }
.faq p { margin: 10px 0 0; color: var(--text); font-size: 14px; }

.article { max-width: 860px; padding: 24px 0 64px; }
.article h1 { font-size: 32px; line-height: 44px; margin-bottom: 20px; }
.article h2 { font-size: 22px; line-height: 32px; margin: 32px 0 12px; }
.article p, .article li { font-size: 15px; line-height: 27px; color: var(--text); }
.article .article-meta { font-size: 13px; color: var(--muted); }
.article .hero-image { display: block; width: auto; max-width: 100%; max-height: 380px; object-fit: contain; border-radius: var(--radius); margin: 18px auto 26px; }
.article a { color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr); gap: 28px; }
.contact-grid form { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.contact-grid label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.contact-grid label:first-child { margin-top: 0; }
.contact-grid input, .contact-grid textarea {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 11px; font-size: 14px; transition: border-color var(--transition);
}
.contact-grid input:focus, .contact-grid textarea:focus { outline: none; border-color: var(--primary); }
.contact-grid textarea { min-height: 130px; resize: vertical; }
.contact-grid form .btn { margin-top: 18px; }
.contact-info { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.contact-info h2 { font-size: 18px; margin-bottom: 14px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-weight: 600; font-size: 13px; color: var(--ink); margin-top: 14px; }
.contact-info dd { margin: 4px 0 0; font-size: 14px; line-height: 22px; color: var(--text); }

.gallery-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gallery-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.gallery-grid img { width: 100%; height: 132px; object-fit: contain; padding: 8px; background: #fff; }
.gallery-grid figcaption { padding: 8px 10px; font-size: 11px; color: var(--muted); word-break: break-word; border-top: 1px solid var(--line-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--white); border-top: 1px solid var(--line); padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr 1.35fr; gap: 28px; padding-bottom: 36px; }
.footer-grid h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-grid p { font-size: 13px; line-height: 21px; color: var(--text); margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 700; color: var(--ink); }
.footer-brand .logo-mark { width: 28px; height: 28px; font-size: 12px; }
.footer-grid .list-clean a { display: block; font-size: 13px; line-height: 26px; color: var(--text); }
.footer-grid .list-clean a:hover { color: var(--primary); text-decoration: none; }
.newsletter { display: flex; margin: 12px 0 16px; }
.newsletter input {
  flex: 1; min-width: 0; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius) 0 0 var(--radius); padding: 8px 10px; font-size: 13px;
}
.newsletter input:focus { outline: none; border-color: var(--primary); }
.newsletter button {
  background: var(--red); color: #fff; border: 0; padding: 0 16px;
  font-size: 13px; font-weight: 600; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer;
  transition: background var(--transition);
}
.newsletter button:hover { background: #a00000; }
.footer-note { font-size: 12px; line-height: 20px; color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 0 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); margin-right: 14px; }
.footer-bottom a:hover { color: var(--primary); }

/* --------------------------------------------------------------------------
   Interaction helpers
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 17px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 96, 191, .28);
  opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition), background var(--transition);
}
.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary-hover); }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .stat:nth-child(3) { border-right: 0; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .utility-bar { display: none; }
  .header-inner { height: 62px; display: flex; align-items: center; justify-content: space-between; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    height: auto; max-height: calc(100vh - 62px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 6px 16px 18px;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-item > a { height: auto; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav > a[aria-current="page"]::after, .nav-item > a[aria-current="page"]::after { display: none; }
  .nav-item { display: block; height: auto; }
  .dropdown {
    position: static; display: none; width: 100%; box-shadow: none; border: 0;
    padding: 8px 0 12px; left: auto; transform: none;
  }
  .nav-item.open .dropdown { display: block; }
  .dropdown-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tabs-inner { justify-content: flex-start; }
  .nav .nav-icon { display: none; }
  .nav .btn { margin-top: 14px; }
  .hero { height: auto; min-height: 380px; }
  .hero-inner { display: block; }
  .hero-slide { position: relative; min-height: 380px; transform: none; }
  .hero-slide.active { transform: none; }
  .hero-slide:not(.active) { display: none; }
  .hero-visual, .hero-arrow { display: none; }
  .hero h1, .hero h2.hero-title { font-size: 30px; line-height: 40px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-dots { bottom: 14px; }
  .cat-tab { flex: 0 0 auto; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:nth-child(3) { border-right: 0; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2, .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 40px 0; }
  .hero h1, .hero h2.hero-title { font-size: 27px; line-height: 36px; }
  .page-hero h1, .article h1 { font-size: 27px; line-height: 36px; }
  .dropdown-grid { grid-template-columns: minmax(0, 1fr); }
}
