/* =========================================================
   淮霆水处理 · 企业官网（高度美化）
   主色：深蓝海军 + 金色点缀 · 行业稳重风格
   ========================================================= */
:root {
  --navy-950: #061525;
  --navy-900: #0a2342;
  --navy-800: #123056;
  --navy-700: #1a4068;
  --navy-600: #245a8a;
  --steel-700: #3a4654;
  --steel-500: #6b7785;
  --steel-300: #a8b0ba;
  --steel-100: #e6ebf1;
  --steel-50: #f3f6f9;
  --accent: #c4a35a;
  --accent-dark: #a6853f;
  --accent-soft: rgba(196, 163, 90, .14);
  --success: #2f7d4a;
  --danger: #b33a3a;
  --warning: #c47d1a;
  --white: #fff;
  --shadow: 0 10px 36px rgba(6, 21, 37, .08);
  --shadow-lg: 0 22px 60px rgba(6, 21, 37, .14);
  --radius: 10px;
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: .2s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

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

/* Chips / dots */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--steel-50); color: var(--steel-700); border: 1px solid var(--steel-100);
}
.chip--sm { padding: 2px 8px; font-size: 11px; background: transparent; border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.78); }
.chip--accent { background: var(--accent-soft); color: var(--accent-dark); border-color: transparent; }
.chip--dark { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.12); }
.icon-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(196,163,90,.2);
}

/* Topbar */
.topbar {
  background: linear-gradient(90deg, #04111f, var(--navy-950) 40%, #0b2a4a);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(196,163,90,.12);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78); font-size: 11px; font-weight: 500;
}
.topbar-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.82); font-weight: 500;
}
.topbar-link:hover { color: var(--accent); }
.topbar-link--accent { color: var(--accent); font-weight: 600; }
.topbar-divider { opacity: .35; }

/* Header / Navigation */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(10, 35, 66, .06);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 30px rgba(6, 21, 37, .08);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 18px; position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(196,163,90,.35), transparent 45%),
    linear-gradient(145deg, var(--navy-700), var(--navy-950));
  color: var(--accent); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px rgba(6,21,37,.2);
}
.brand-mark span { line-height: 1; }
.brand-text strong {
  display: block; font-family: var(--font-display);
  font-size: 22px; color: var(--navy-900); line-height: 1.15; letter-spacing: .5px;
}
.brand-text span { font-size: 12px; color: var(--steel-500); }
.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-text span { color: rgba(255,255,255,.55); }

.nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 14px; flex: 1; min-width: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: rgba(243,246,249,.9);
  border: 1px solid rgba(10,35,66,.05);
}
.nav-link {
  padding: 9px 14px; color: var(--steel-700); font-weight: 500; font-size: 13.5px;
  border-radius: 999px; position: relative; white-space: nowrap;
  transition: .2s ease;
}
.nav-link:hover { color: var(--navy-900); background: rgba(255,255,255,.9); }
.nav-link.active {
  color: #fff; font-weight: 600;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 8px 18px rgba(10,35,66,.18);
}
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone {
  display: none; flex-direction: column; line-height: 1.2; text-align: right;
  padding-right: 12px; border-right: 1px solid var(--steel-100);
}
.nav-phone__label { font-size: 11px; color: var(--steel-500); }
.nav-phone strong { font-size: 14px; color: var(--navy-900); letter-spacing: .2px; }
@media (min-width: 1180px) {
  .nav-phone { display: flex; }
}
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--navy-950) !important;
  background: linear-gradient(135deg, #dfc17a, var(--accent-dark));
  box-shadow: 0 10px 22px rgba(166,133,63,.28);
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }

.menu-toggle {
  display: none; border: 1px solid var(--steel-100); background: #fff;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; gap: 5px; flex-direction: column; padding: 0;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--navy-900); transition: .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumb */
.breadcrumb {
  background: linear-gradient(180deg, #f7f9fb, #f1f5f9);
  border-bottom: 1px solid var(--steel-100);
  padding: 12px 0;
  font-size: 13px;
  color: var(--steel-500);
}
.breadcrumb-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.breadcrumb a {
  padding: 2px 6px; border-radius: 6px;
}
.breadcrumb a:hover { color: var(--navy-900); background: rgba(10,35,66,.04); }
.breadcrumb span { margin: 0 4px; opacity: .4; }
.breadcrumb [aria-current="page"] { color: var(--navy-800); font-weight: 600; }

/* Legacy nav a support (kept minimal) */
.nav > a { padding: 9px 13px; border-radius: 8px; }

/* Hero */
.hero {
  position: relative; min-height: 78vh;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, #1e4d6b 100%);
  color: #fff; overflow: hidden;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-slider { position: relative; min-height: 78vh; }
.hero-slide {
  display: none; min-height: 78vh; align-items: center;
  padding: 100px 0 110px; position: relative;
  background-size: cover; background-position: center;
}
.hero-slide.active { display: flex; animation: fadeUp .75s ease; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(6,21,37,.88) 8%, rgba(10,35,66,.62) 55%, rgba(6,21,37,.45) 100%),
    radial-gradient(ellipse at 75% 30%, rgba(196,163,90,.18), transparent 45%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-brand {
  font-family: var(--font-display); font-size: clamp(42px, 7vw, 68px);
  font-weight: 700; letter-spacing: 3px; margin-bottom: 10px; line-height: 1.05;
  background: linear-gradient(92deg, #fff 20%, #e4d09a 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 600; line-height: 1.3; margin: 0 0 14px;
}
.hero p { font-size: 17px; color: rgba(255,255,255,.84); max-width: 560px; margin: 0 0 28px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 30px; height: 3px; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.35); cursor: pointer; transition: .2s;
}
.hero-dots button.active { background: var(--accent); width: 42px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; font-weight: 600; transition: .2s; line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, #d4b56a, var(--accent-dark));
  color: var(--navy-950); box-shadow: 0 10px 24px rgba(166,133,63,.28);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.04); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark {
  background: var(--navy-900); color: #fff;
  box-shadow: 0 10px 22px rgba(10,35,66,.18);
}
.btn-dark:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; border-color: var(--steel-100); color: var(--navy-800); }
.btn-ghost:hover { border-color: var(--navy-600); color: var(--navy-900); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 92px 0; }
.section-alt {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f8 100%);
}
.section-dark {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(196,163,90,.12), transparent 40%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
}
.section-head { margin-bottom: 36px; max-width: 680px; }
.section-head .eyebrow,
.page-hero .eyebrow, .cta-band .eyebrow {
  color: var(--accent); font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 10px;
}
.section-head h2, .cta-band h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3; margin: 0 0 12px;
}
.section-head p { color: var(--steel-500); margin: 0; }
.section-dark .section-head p { color: rgba(255,255,255,.68); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-actions { text-align: center; margin-top: 36px; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* Split / stats */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.split__media .grid-2 { gap: 16px; }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin: 24px 0; }
.stat-item strong {
  display: block; font-family: var(--font-display); font-size: 28px;
  color: var(--navy-900); line-height: 1.1;
}
.stat-item span { font-size: 12px; color: var(--steel-500); }
.stat-row--footer .stat-item strong { color: var(--accent); font-size: 22px; }
.stat-row--footer .stat-item span { color: rgba(255,255,255,.55); }

/* Soft cards / features */
.soft-card {
  background: #fff; border: 1px solid rgba(10,35,66,.06);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
}
.soft-card--dark {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1);
  box-shadow: none; color: #fff;
}
.feature-item {
  padding: 24px 20px; border-left: 3px solid var(--accent);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow); transition: transform .25s;
}
.feature-item:hover { transform: translateY(-4px); }
.feature-item .num {
  font-family: var(--font-display); color: var(--accent); font-size: 26px; font-weight: 700;
}
.feature-item h3 { margin: 8px 0 6px; font-size: 17px; }
.feature-item p { color: var(--steel-500); font-size: 13px; margin: 0; }

/* Product cards */
.product-card {
  background: #fff; overflow: hidden; border: 1px solid rgba(10,35,66,.07);
  border-radius: 14px; transition: transform .28s, box-shadow .28s; display: block;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .thumb {
  aspect-ratio: 4/3; background: linear-gradient(145deg, #d7e2ec, #a9bbc9);
  position: relative; overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--navy-900); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.product-card__badge--hot { background: linear-gradient(135deg, #c47d1a, #a85a10); }
.product-card .body { padding: 18px; }
.product-card .cat { font-size: 12px; color: var(--accent-dark); margin-bottom: 4px; font-weight: 600; }
.product-card h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.35; }
.product-card .meta { font-size: 13px; color: var(--steel-500); }
.product-card .meta span { display: block; }

.media-cover {
  width: 100%; height: 100%; display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.media-cover--placeholder {
  background: linear-gradient(145deg, #c9d7e4, #8ea5b9);
  color: var(--navy-800); font-family: var(--font-display); font-size: 28px; font-weight: 700;
}

/* News / cases */
.news-item {
  display: grid; grid-template-columns: 88px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.section-alt .news-item, .news-list .news-item { border-bottom-color: var(--steel-100); }
.news-date {
  font-family: var(--font-display); text-align: center;
  border-right: 1px solid rgba(255,255,255,.12); padding-right: 12px;
}
.section-alt .news-date, .news-list .news-date { border-right-color: var(--steel-100); }
.news-date strong { display: block; font-size: 30px; line-height: 1; }
.news-date span { font-size: 12px; opacity: .7; }
.news-item h3 { font-size: 16px; margin: 6px 0; }
.news-item p { font-size: 13px; opacity: .75; margin: 0; }
.cases-stack { display: grid; gap: 14px; }
.case-teaser h3 { font-size: 17px; margin: 10px 0 6px; }
.case-teaser p { opacity: .72; font-size: 13px; margin: 0; }

/* Home news + cases: keep CTA buttons spaced & bottom-aligned */
.home-news-cases {
  gap: 56px;
  align-items: stretch;
}
.home-news-cases__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.home-news-cases__actions {
  margin-top: auto;
  padding-top: 28px;
}
@media (max-width: 900px) {
  .home-news-cases { gap: 36px; }
}

/* Facilities */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facility-item {
  aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  background: linear-gradient(145deg, #2a4a68, #0f2742);
  color: #fff; display: grid; place-items: end start; padding: 16px;
  position: relative;
}
.facility-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.facility-item:hover img { transform: scale(1.06); }
.facility-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(6,21,37,.75));
}
.facility-item__title, .facility-item > span {
  position: relative; z-index: 1; font-weight: 600; font-size: 15px;
}
.facility-placeholder { position: absolute; inset: 0; }

/* Page hero */
.page-hero {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(196,163,90,.28), transparent 42%),
    radial-gradient(ellipse at 10% 90%, rgba(36,90,138,.35), transparent 40%),
    linear-gradient(135deg, #061525 0%, #0f2f52 55%, #1a4a6e 100%);
  color: #fff; padding: 72px 0 58px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero--compact { padding: 48px 0 40px; }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); margin: 0;
  letter-spacing: .5px;
}
.page-hero p { opacity: .82; margin: 12px 0 0; max-width: 560px; font-size: 15px; }

/* Toolbar / filters */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  justify-content: space-between; margin-bottom: 28px;
}
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs a {
  padding: 8px 14px; border: 1px solid var(--steel-100); border-radius: 999px;
  font-size: 13px; color: var(--steel-700); background: #fff;
}
.filter-tabs a.active, .filter-tabs a:hover {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}
.search-box {
  display: flex; border: 1px solid var(--steel-100); background: #fff;
  overflow: hidden; border-radius: 10px; box-shadow: 0 2px 8px rgba(6,21,37,.04);
}
.search-box input { border: 0; padding: 11px 14px; min-width: 220px; outline: none; flex: 1; }
.search-box button {
  border: 0; background: var(--navy-900); color: #fff; padding: 0 18px; cursor: pointer; font-weight: 600;
}
.search-box--grow { flex: 1; min-width: 220px; }

/* Product catalog layout */
.catalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.catalog-side__card {
  background: #fff;
  border: 1px solid rgba(10,35,66,.07);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.catalog-side__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--steel-100);
  background: linear-gradient(180deg, #f8fafc, #fff);
}
.catalog-side__head h2 {
  margin: 0; font-size: 15px; font-family: var(--font-display); color: var(--navy-900);
}
.catalog-side__reset {
  font-size: 12px; color: var(--steel-500); padding: 4px 8px; border-radius: 6px;
}
.catalog-side__reset:hover { color: var(--navy-900); background: var(--steel-50); }

.catalog-nav { padding: 10px 8px 14px; }
.catalog-nav__item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--steel-700);
}
.catalog-nav__item:hover { background: var(--steel-50); color: var(--navy-900); }
.catalog-nav__item.is-active {
  background: var(--navy-900); color: #fff; font-weight: 600;
}
.catalog-nav__parent { font-weight: 600; color: var(--navy-800); }
.catalog-nav__count {
  min-width: 20px; height: 20px; border-radius: 999px;
  background: var(--steel-50); color: var(--steel-500);
  font-size: 11px; display: grid; place-items: center; font-weight: 600;
}
.catalog-nav__item.is-active .catalog-nav__count {
  background: rgba(255,255,255,.18); color: #fff;
}
.catalog-nav__children {
  display: grid; gap: 2px; padding: 2px 0 8px 12px; margin: 0 0 4px 8px;
  border-left: 2px solid var(--steel-100);
}
.catalog-nav__child {
  font-size: 13px; font-weight: 500; padding: 8px 12px; color: var(--steel-500);
}
.catalog-nav__child.is-active {
  background: var(--accent-soft); color: var(--accent-dark); border: none;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(10,35,66,.07);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.catalog-toolbar .search-box--grow {
  width: 100%;
  flex: none;
}
.catalog-toolbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--steel-100);
}
.catalog-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-quick__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--steel-500);
  letter-spacing: .04em;
  margin-right: 2px;
}
.catalog-chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--steel-50);
  color: var(--steel-700);
  border: 1px solid transparent;
  transition: .18s ease;
}
.catalog-chip:hover {
  border-color: var(--steel-100);
  color: var(--navy-900);
  background: #fff;
}
.catalog-chip.is-active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.toolbar-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 6px 8px 6px 14px;
  font-size: 13px;
  color: var(--steel-500);
  background: var(--steel-50);
  border: 1px solid var(--steel-100);
  border-radius: 999px;
}
.toolbar-sort label {
  font-weight: 600;
  white-space: nowrap;
  color: var(--steel-600);
}
.toolbar-sort select {
  border: 0;
  border-radius: 999px;
  padding: 7px 28px 7px 10px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6b7d' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-width: 88px;
}
.toolbar-sort select:focus {
  box-shadow: 0 0 0 2px rgba(10,35,66,.08);
}

.catalog-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px;
}
.catalog-meta__left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.catalog-meta__label { color: var(--steel-500); }
.catalog-meta__count { color: var(--steel-500); }
.catalog-meta__count strong { color: var(--navy-900); font-size: 15px; }
.catalog-tag {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 12px; font-weight: 600;
}
.catalog-meta__clear {
  color: var(--steel-500); text-decoration: underline; text-underline-offset: 2px;
}
.catalog-meta__clear:hover { color: var(--danger); }
.catalog-grid { gap: 18px; }

@media (max-width: 980px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog-side__card { position: static; overflow: visible; }
  .catalog-side__head { display: none; }
  .catalog-nav {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 12px;
  }
  .catalog-nav__group { display: contents; }
  .catalog-nav__children {
    display: contents;
  }
  .catalog-nav__item {
    border: 1px solid var(--steel-100);
    background: #fff;
    padding: 7px 12px;
    font-size: 13px;
  }
  .catalog-nav__parent { font-weight: 600; }
  .catalog-nav__child {
    font-weight: 500;
    border-style: dashed;
  }
  .catalog-nav__count { display: none; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-toolbar__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .toolbar-sort {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
  }
  .toolbar-sort select { flex: 1; min-width: 0; }
  .catalog-grid.grid-3 { grid-template-columns: 1fr 1fr; }
}

/* Product detail */
.detail-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.gallery-main {
  aspect-ratio: 1; border-radius: 16px; overflow: hidden;
  background: linear-gradient(145deg, #dce5ee, #b8c7d6);
  box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button, .gallery-thumbs .thumb-btn {
  width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent;
  padding: 0; cursor: pointer; background: var(--steel-100);
}
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .active { border-color: var(--accent); }

.param-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.param-table th, .param-table td {
  border: 1px solid var(--steel-100); padding: 11px 13px; text-align: left; font-size: 14px;
}
.param-table th { width: 30%; background: var(--steel-50); color: var(--steel-700); font-weight: 600; }
.param-table td.highlight { color: var(--navy-800); font-weight: 700; }
.safety-box {
  margin-top: 18px; padding: 18px; background: #fff8ea;
  border-left: 3px solid var(--warning); border-radius: 0 10px 10px 0;
}
.safety-box h4 { margin: 0 0 8px; color: var(--warning); }

.tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--steel-100);
  margin: 36px 0 20px; flex-wrap: wrap;
}
.tabs button {
  border: 0; background: transparent; padding: 12px 18px; cursor: pointer;
  color: var(--steel-500); font-weight: 600; border-bottom: 2px solid transparent;
}
.tabs button.active { color: var(--navy-900); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .35s ease; }

.form-card {
  background: #fff; border: 1px solid rgba(10,35,66,.07);
  padding: 26px; border-radius: 16px; box-shadow: var(--shadow);
}
.form-card--sticky { position: sticky; top: calc(var(--header-h) + 18px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 12px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; margin-bottom: 6px; font-size: 13px;
  color: var(--steel-700); font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; border: 1px solid var(--steel-100); padding: 11px 12px;
  border-radius: 8px; background: #fff; outline: none; transition: .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(36,90,138,.12);
}

/* Fancy select */
.select-wrap {
  position: relative;
  display: block;
}
.select-wrap .select-fancy,
.form-group select.select-fancy {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 44px;
  padding: 0 42px 0 12px;
  border: 1px solid var(--steel-100);
  border-radius: 8px;
  background: #fff;
  color: var(--navy-900);
  font-weight: 500;
  line-height: 42px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: none;
}
.form-group input {
  height: 44px;
  box-sizing: border-box;
}
.select-wrap .select-fancy:hover {
  border-color: #c5d0dc;
  background: #fff;
}
.select-wrap .select-fancy:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(36,90,138,.12);
  background: #fff;
}
.select-wrap .select-fancy:invalid,
.select-wrap .select-fancy.placeholder-shown,
.select-wrap .select-fancy option[value=""] {
  color: var(--steel-500);
}
.select-wrap .select-fancy option {
  color: var(--navy-900);
  font-weight: 500;
  padding: 8px;
  line-height: normal;
}
.select-wrap__icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--steel-700);
  background: var(--steel-50);
  border: 1px solid var(--steel-100);
  pointer-events: none;
  transition: .2s;
}
.select-wrap:focus-within .select-wrap__icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.form-group .help-tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--steel-500);
  font-weight: 400;
}

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #e8f6ee; color: var(--success); }
.alert-error { background: #fdecec; color: var(--danger); }

/* About / team / timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--steel-100));
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item::before {
  content: ""; position: absolute; left: -26px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(196,163,90,.2);
}
.timeline-item .year {
  font-family: var(--font-display); color: var(--accent-dark); font-weight: 700; font-size: 18px;
}
.team-card {
  text-align: center; padding: 28px 18px; background: #fff;
  border: 1px solid var(--steel-100); border-radius: 14px; box-shadow: var(--shadow);
}
.team-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-950));
  color: var(--accent); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(6,21,37,.18);
}

/* Qualifications */
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qual-card {
  border: 1px solid var(--steel-100); background: #fff; padding: 16px;
  text-align: center; border-radius: 14px; box-shadow: var(--shadow);
  transition: transform .25s;
}
.qual-card:hover { transform: translateY(-4px); }
.qual-card .img {
  aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; margin-bottom: 12px;
  background: linear-gradient(160deg, #eef3f8, #c9d6e4);
  display: grid; place-items: center; color: var(--navy-700); font-family: var(--font-display);
}
.qual-card .img img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(196,163,90,.2), transparent 40%),
    linear-gradient(120deg, var(--navy-950), var(--navy-700));
  color: #fff; padding: 64px 0;
}
.cta-band__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px; flex-wrap: wrap;
}
.cta-band__text h2 { margin-bottom: 8px; }
.cta-band__text p { margin: 0; opacity: .75; }

/* Contact */
.contact-panel {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 32px; border-radius: 16px; height: 100%;
}
.contact-panel h3, .contact-panel h4 {
  font-family: var(--font-display); font-size: 22px; margin: 0 0 16px;
}
.contact-panel li { margin-bottom: 12px; font-size: 14px; opacity: .92; }
.contact-panel--footer {
  background: transparent; padding: 0; border-radius: 0;
}
.contact-panel--footer h4 { font-size: 17px; color: #fff; }
.contact-label {
  display: inline-block; min-width: 36px; color: var(--accent); margin-right: 6px; font-size: 12px;
}
.footer-qr { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.footer-qr img { width: 72px; height: 72px; border-radius: 8px; background: #fff; }
.footer-qr span { font-size: 12px; opacity: .7; }

/* Footer */
.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #07182b, var(--navy-950));
  color: rgba(255,255,255,.72); padding: 72px 0 24px;
}
.footer-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -120px; top: -160px; pointer-events: none;
  background: radial-gradient(circle, rgba(196,163,90,.16), transparent 70%);
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.1fr; gap: 32px; margin-bottom: 36px;
}
.footer-desc { font-size: 14px; line-height: 1.8; margin: 16px 0 8px; opacity: .8; }
.site-footer h4 {
  color: #fff; font-family: var(--font-display); margin: 0 0 14px; font-size: 17px;
}
.footer-links a {
  display: inline-block; padding: 3px 0; position: relative;
}
.footer-links a::after {
  content: ""; position: absolute; left: 0; bottom: 1px; width: 0; height: 1px;
  background: var(--accent); transition: width .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::after { width: 100%; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer-contact .contact-label {
  display: inline-block; min-width: 36px; color: var(--accent); margin-right: 6px; font-size: 12px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px;
}
.footer-qr { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.footer-qr img { width: 72px; height: 72px; border-radius: 8px; background: #fff; }
.footer-qr span { font-size: 12px; opacity: .7; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--steel-100); padding: 0 10px; font-size: 13px;
  border-radius: 8px; background: #fff;
}
.pagination .active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.rich-content h2, .rich-content h3 { margin: 18px 0 10px; font-family: var(--font-display); }
.rich-content p { margin-bottom: 12px; }
.rich-content ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }

.empty {
  text-align: center; padding: 64px 24px; color: var(--steel-500);
  background: var(--steel-50); border: 1px dashed var(--steel-300); border-radius: 14px;
}

/* News/case list cards */
.article-card, .case-card {
  display: block; background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(10,35,66,.07); box-shadow: var(--shadow); transition: .25s;
}
.article-card:hover, .case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-card__cover, .case-card__cover {
  aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(145deg, #d7e2ec, #a9bbc9);
  position: relative;
}
.article-card__cover img, .case-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body, .case-card__body { padding: 18px; }
.article-card h3, .case-card h3 { margin: 8px 0; font-size: 17px; line-height: 1.35; }
.article-card p, .case-card p { color: var(--steel-500); font-size: 13px; margin: 0; }
.article-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 8px; font-size: 12px; color: var(--steel-500);
}
.article-card__meta time { color: var(--steel-500); }
.article-card--featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
}
.article-card--featured .article-card__cover { aspect-ratio: auto; min-height: 280px; }
.article-card--featured .article-card__body {
  padding: 28px 32px; display: flex; flex-direction: column; justify-content: center;
}
.article-card--featured h3 { font-size: clamp(20px, 2.5vw, 26px); }
.article-card--featured p { font-size: 14px; line-height: 1.7; }
.news-layout { display: grid; gap: 28px; }
.case-card__client {
  font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-bottom: 4px;
}
.media-cover__overlay {
  position: absolute; inset: auto 0 0 0; padding: 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(6,21,37,.75));
  color: #fff; font-size: 13px; font-weight: 600; z-index: 1;
}

/* Chip row / culture */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.culture-card { padding: 28px; }
.culture-card h3 { font-family: var(--font-display); margin: 0 0 10px; font-size: 20px; }
.culture-card--feature {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(196,163,90,.18), transparent 45%),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: #fff; border: none;
}
.culture-card--feature .eyebrow { color: var(--accent); }
.culture-card--feature .chip { background: rgba(255,255,255,.08); color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.12); }
.culture-motto { font-size: 16px; line-height: 1.75; margin: 0; opacity: .92; }
.culture-content { margin-top: 12px; font-size: 14px; opacity: .85; line-height: 1.7; }

/* Timeline cards */
.timeline { max-width: 760px; margin: 0 auto; }
.timeline-item.soft-card {
  padding: 22px 24px 22px 36px; margin-left: 0;
}
.timeline-item.soft-card h3 { margin: 6px 0 8px; font-size: 17px; }
.timeline-item.soft-card p { margin: 0; color: var(--steel-500); font-size: 14px; }

/* Team */
.team-card h3 { margin: 0 0 4px; font-size: 17px; }
.team-title { color: var(--accent-dark); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--steel-500); margin: 0; line-height: 1.6; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Qualifications */
.qual-section { margin-bottom: 52px; }
.qual-section:last-child { margin-bottom: 0; }
.qual-card h3 { font-size: 15px; margin: 0 0 6px; }
.qual-card p { font-size: 13px; color: var(--steel-500); margin: 0; line-height: 1.6; }
.stat-row--center { justify-content: center; margin-bottom: 48px; }

/* Article / case detail */
.detail-layout--article { align-items: start; }
.article-body { padding: 28px 32px; }
.article-cover { border-radius: 10px; overflow: hidden; margin-bottom: 22px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-lead {
  margin: 0 0 24px; padding: 16px 20px;
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 10px 10px 0; font-size: 16px; color: var(--steel-700); line-height: 1.75;
}
.article-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--steel-100);
}
.article-sidebar { display: grid; gap: 16px; align-content: start; }
.section-head--compact { margin-bottom: 18px; }
.section-head--compact h2 { font-size: 22px; margin-bottom: 0; }
.related-cards { display: grid; gap: 14px; }
.card-excerpt { color: var(--steel-500); font-size: 13px; margin: 0; line-height: 1.6; }

/* Contact page */
.contact-cards { margin-bottom: 32px; }
.contact-card {
  padding: 24px; background: #fff; border: 1px solid rgba(10,35,66,.07);
  border-radius: 14px; box-shadow: var(--shadow); height: 100%;
}
.contact-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 14px; margin-bottom: 14px;
}
.contact-card h3 { font-size: 14px; color: var(--steel-500); font-weight: 600; margin: 0 0 8px; }
.contact-card .contact-value { font-size: 15px; color: var(--navy-900); line-height: 1.5; }
.contact-card a.contact-value:hover { color: var(--navy-600); }
.contact-phone { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.contact-sub { font-size: 13px; color: var(--steel-500); margin-top: 6px; }
.contact-qr { margin-top: 20px; text-align: center; padding: 20px; background: var(--steel-50); border-radius: 12px; }
.contact-qr img { width: 120px; height: 120px; margin: 12px auto 0; border-radius: 10px; background: #fff; }
.map-embed { border-radius: 14px; overflow: hidden; border: 1px solid var(--steel-100); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-placeholder { aspect-ratio: 16/9; border-radius: 14px; min-height: 280px; }
.map-placeholder__inner { text-align: center; padding: 24px; }
.map-placeholder__inner p { margin: 10px 0 4px; font-weight: 600; }
.map-placeholder__inner small { color: var(--steel-500); font-size: 12px; }
.quick-links { display: grid; gap: 14px; margin-bottom: 0; }
.quick-links .feature-item { display: block; text-decoration: none; color: inherit; }

/* Inquiry form */
.detail-layout--inquiry { align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; line-height: 1.65; }
.contact-divider { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 20px 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; font-size: 14px; }
.contact-list a { color: #fff; }
.contact-list a:hover { color: var(--accent); }
.required { color: var(--danger); }
.form-note { font-size: 12px; color: var(--steel-500); margin-top: 14px; text-align: center; }
.form-note a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 2px; }
.product-selected { margin-top: 16px; padding: 20px; }
.product-selected__meta { font-size: 13px; color: var(--steel-500); margin-top: 6px; }
.product-selected__link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--accent-dark); font-weight: 600; }
.product-selected__link:hover { color: var(--navy-900); }

/* Privacy */
.privacy-content { padding: 32px 36px; max-width: 820px; margin: 0 auto; }
.privacy-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--steel-100); }
.privacy-contact h3 { font-family: var(--font-display); margin: 0 0 10px; font-size: 20px; }
.privacy-contact ul { list-style: none; padding: 0; margin: 12px 0 0; }
.privacy-contact li { margin-bottom: 8px; font-size: 14px; }
.privacy-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.empty__title { font-size: 18px; font-weight: 600; color: var(--navy-800); margin: 0 0 8px; }
.empty__desc { margin: 0 0 20px; font-size: 14px; }

.attachment-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border: 1px solid var(--steel-100); border-radius: 8px;
  margin-bottom: 8px; background: var(--steel-50);
}
.attachment-list a:hover { border-color: var(--accent); }

.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; opacity: .85; margin-top: 10px; }
.page-hero__sep { opacity: .45; }
.detail-title { font-family: var(--font-display); font-size: 28px; margin: 0 0 6px; }
.detail-subtitle { color: var(--steel-500); margin: 0 0 12px; }
.detail-summary { color: var(--steel-700); margin: 0 0 16px; line-height: 1.7; }
.gallery-thumbs__btn {
  width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--steel-100);
}
.gallery-thumbs__btn:hover, .gallery-thumbs__btn:focus { border-color: var(--accent); }
.gallery-thumbs__btn img { width: 100%; height: 100%; object-fit: cover; }
.detail-layout--product { grid-template-columns: 1fr 1fr; gap: 40px; }
.section-label { font-size: 13px; color: var(--steel-500); letter-spacing: 1px; margin-bottom: 8px; }

/* Product detail page */
.pd { padding-top: 36px; }
.pd-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
.pd-gallery {
  background: #fff;
  border: 1px solid rgba(10,35,66,.07);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.pd-gallery__main {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #dce5ee, #b8c7d6);
}
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-gallery__thumb {
  width: 68px; height: 68px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--steel-100);
}
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery__thumb.is-active, .pd-gallery__thumb:hover { border-color: var(--accent); }

.pd-aside { display: grid; gap: 16px; }
.pd-panel, .pd-inquiry, .pd-bottom__card {
  background: #fff;
  border: 1px solid rgba(10,35,66,.07);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.pd-panel { padding: 24px; }
.pd-panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px;
}
.pd-cat {
  font-size: 12px; font-weight: 700; color: var(--accent-dark);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}
.pd-badges { display: flex; gap: 6px; }
.pd-title {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 6px; line-height: 1.25; color: var(--navy-900);
}
.pd-en { margin: 0 0 10px; color: var(--steel-500); font-size: 14px; }
.pd-summary { margin: 0 0 16px; color: var(--steel-700); font-size: 14px; line-height: 1.7; }

.pd-specs {
  display: grid; gap: 0; margin: 0 0 16px;
  border: 1px solid var(--steel-100); border-radius: 10px; overflow: hidden;
}
.pd-specs__row {
  display: grid; grid-template-columns: 88px 1fr;
  border-top: 1px solid var(--steel-100);
}
.pd-specs__row:first-child { border-top: 0; }
.pd-specs__row dt {
  margin: 0; padding: 10px 12px; background: var(--steel-50);
  color: var(--steel-500); font-size: 13px; font-weight: 600;
}
.pd-specs__row dd {
  margin: 0; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--navy-900);
}

.pd-safety {
  padding: 12px 14px; border-radius: 10px; background: #fff8ea;
  border-left: 3px solid var(--warning); margin-bottom: 16px;
}
.pd-safety strong { display: block; color: var(--warning); font-size: 13px; margin-bottom: 4px; }
.pd-safety p { margin: 0; font-size: 13px; color: var(--steel-700); }

.pd-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.pd-phone { font-size: 13px; color: var(--steel-500); margin-left: auto; }
.pd-phone:hover { color: var(--navy-900); }

.pd-inquiry { padding: 20px 22px 22px; }
.pd-inquiry__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px; margin-bottom: 14px;
}
.pd-inquiry__head h2 {
  margin: 0; font-family: var(--font-display); font-size: 22px; color: var(--navy-900);
}
.pd-inquiry__hint { font-size: 12px; color: var(--steel-500); white-space: nowrap; }
.pd-inquiry__product {
  font-size: 13px; color: var(--steel-500); margin-bottom: 14px;
  padding: 8px 10px; background: var(--steel-50); border-radius: 8px;
}
.pd-inquiry__product strong { color: var(--navy-900); }
.btn-block { width: 100%; }
.form-error { display: block; color: var(--danger); font-size: 12px; margin-top: 4px; }
.text-muted { color: var(--steel-500); }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(6, 21, 37, .55);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative; z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 800px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 28px 26px 24px;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}
.modal.is-open .modal__dialog { transform: none; }
.modal__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 12px; margin-bottom: 14px; padding-right: 28px;
}
.modal__head h2 {
  margin: 0; font-family: var(--font-display); font-size: 24px; color: var(--navy-900);
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: var(--steel-50); color: var(--steel-700);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--steel-100); color: var(--navy-900); }
body.modal-open { overflow: hidden; }

.pd-bottom__card { padding: 8px 22px 22px; }
.pd-bottom .tabs { margin: 0 0 18px; }
.param-table--wide th { width: 160px; }

@media (max-width: 980px) {
  .pd-top { grid-template-columns: 1fr; }
  .pd-phone { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .pd-inquiry .form-grid, .modal__dialog .form-grid { grid-template-columns: 1fr; }
  .pd-gallery__thumb { width: 56px; height: 56px; }
  .modal__dialog { padding: 22px 18px 18px; }
}

/* Responsive */
@media (max-width: 980px) {
  .grid-4, .grid-3, .facility-grid, .footer-grid, .detail-layout, .form-grid, .qual-grid, .split {
    grid-template-columns: 1fr 1fr;
  }
  .article-card--featured { grid-template-columns: 1fr; }
  .contact-cards.grid-3 { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav-phone { display: none !important; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(255,255,255,.98); flex-direction: column; padding: 14px;
    border-bottom: 1px solid var(--steel-100); align-items: stretch;
    box-shadow: var(--shadow-lg); gap: 10px;
    backdrop-filter: blur(12px);
  }
  .nav.open { display: flex; }
  .nav-links {
    display: flex; flex-direction: column; width: 100%;
    background: transparent; border: 0; padding: 0; border-radius: 0; gap: 4px;
  }
  .nav-link {
    border-radius: 10px; padding: 12px 14px; width: 100%;
  }
  .nav-link.active {
    background: var(--navy-900);
  }
  .nav-actions {
    display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%;
    padding-top: 8px; border-top: 1px solid var(--steel-100);
  }
  .nav-cta { text-align: center; width: 100%; }
  .hero, .hero-slide, .hero-slider { min-height: 62vh; }
  .form-card--sticky { position: static; }
  .topbar-hide-mobile { display: none; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .facility-grid, .footer-grid, .detail-layout,
  .form-grid, .news-item, .qual-grid, .split, .contact-cards {
    grid-template-columns: 1fr;
  }
  .article-body { padding: 22px 20px; }
  .privacy-content { padding: 24px 20px; }
  .section { padding: 56px 0; }
  .news-date {
    border-right: 0; border-bottom: 1px solid var(--steel-100); padding: 0 0 8px;
    text-align: left; display: flex; gap: 8px; align-items: baseline;
  }
  .hero-brand { letter-spacing: 1px; }
  .header-inner { min-height: 70px; }
  .brand-text strong { font-size: 18px; }
}
