/* 中科东亚企业官网主题
 * 视觉方向：工业科技官网骨架 + 纳米材料晶格语言
 */
:root {
  --c-primary: #076ca8;
  --c-primary-deep: #063b67;
  --c-primary-dark: #052b4b;
  --c-cyan: #31b8d5;
  --c-ice: #eaf5fa;
  --c-sky: #d6edf7;
  --c-text: #182a36;
  --c-text-soft: #687b88;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8fa;
  --c-border: #dfe8ed;
  --c-dark: #071d2c;
  --shadow-soft: 0 18px 55px rgb(18 65 91 / 0.09);
  --shadow-card: 0 12px 38px rgb(18 65 91 / 0.08);
  --font-display: "DIN Alternate", "Arial Narrow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-w: 1320px;
  --header-h: 92px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--c-text);
  background: var(--c-bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-primary-deep);
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--c-text);
  line-height: 1.3;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  letter-spacing: -0.035em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.14rem;
}

::selection {
  color: #fff;
  background: var(--c-primary);
}

.container {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: 32px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 18px;
  color: #fff;
  background: var(--c-primary-deep);
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgb(49 184 213 / 0.7);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  background: rgb(255 255 255 / 0.98);
  border-bottom: 1px solid transparent;
  transition: height 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  height: 76px;
  border-color: var(--c-border);
  box-shadow: 0 10px 35px rgb(6 43 75 / 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 190px;
  color: var(--c-text);
}

.brand:hover {
  color: var(--c-text);
}

.brand-logo {
  width: 182px;
  height: auto;
  transition: width 0.25s ease, height 0.25s ease;
}

.is-scrolled .brand-logo {
  width: 158px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.22rem;
  letter-spacing: 0.06em;
}

.brand-copy small,
.footer-logo small {
  margin-top: 6px;
  color: #7f929e;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.site-nav {
  flex: 1 1 auto;
  align-self: stretch;
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #273b47;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-list > li > a::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-list > li:hover > a,
.nav-list > li:focus-within > a {
  color: var(--c-primary);
}

.nav-list > li:hover > a::after,
.nav-list > li:focus-within > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.has-children > a::before {
  content: "+";
  order: 2;
  margin-left: 7px;
  color: var(--c-primary);
  font-size: 0.95rem;
  font-weight: 300;
}

.sub-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: grid;
  visibility: hidden;
  min-width: 210px;
  margin: 0;
  padding: 12px;
  list-style: none;
  background: #fff;
  border-top: 3px solid var(--c-primary);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-children:hover .sub-menu,
.has-children:focus-within .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.sub-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--c-text);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--c-border);
}

.sub-menu li:last-child a {
  border-bottom: 0;
}

.sub-menu a:hover {
  padding-left: 18px;
  color: var(--c-primary);
}

.header-contact {
  display: grid;
  flex: 0 0 auto;
  padding-left: 22px;
  border-left: 1px solid var(--c-border);
  line-height: 1.25;
}

.header-contact span {
  color: var(--c-text-soft);
  font-size: 0.7rem;
}

.header-contact strong {
  margin-top: 4px;
  color: var(--c-primary-deep);
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--c-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding-top: var(--header-h);
}

/* ---------- Hero ---------- */
.hero {
  /* A landscape banner aligned with the site's content, with space on all
   * four sides. Uploaded image dimensions never determine the frame height. */
  --hero-space: 32px;
  position: relative;
  width: calc(min(100%, var(--max-w)) - var(--hero-space) * 2);
  height: auto;
  aspect-ratio: 12 / 5;
  margin: var(--hero-space) auto;
  overflow: hidden;
  color: #fff;
  background: var(--c-bg);
}

.hero-slides,
.hero-slide,
.hero-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  display: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.hero-slide.is-active {
  display: block;
  animation: hero-copy-in 0.65s ease both;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(56%, 730px);
  padding: 76px 0 120px;
  overflow-wrap: anywhere;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  color: #73d8eb;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 4rem);
  font-weight: 700;
}

.hero-subtitle {
  margin-bottom: 20px;
  color: #a9e1ed;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: 0.16em;
}

.hero .hero-desc {
  max-width: 600px;
  margin-bottom: 34px;
  color: rgb(226 242 248 / 0.75);
  font-size: 1rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 11px 25px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  color: #fff;
  background: var(--c-primary-deep);
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--c-primary);
}

.btn-primary:hover {
  color: #fff;
  background: var(--c-cyan);
}

.btn-ghost {
  color: #fff;
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.35);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--c-primary-deep);
}

.btn-dark {
  color: #fff;
  background: var(--c-primary-deep);
}

.hero-visual {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: max(3vw, calc((100vw - var(--max-w)) / 2));
  width: min(46vw, 650px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 13%;
  background: radial-gradient(circle, rgb(54 213 233 / 0.2), transparent 68%);
  filter: blur(12px);
}

.orbit {
  position: absolute;
  inset: 15%;
  border: 1px solid rgb(145 224 236 / 0.3);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #87e2ef;
  border-radius: 50%;
  box-shadow: 0 0 18px #46cde5;
}

.orbit::before {
  top: 16%;
  left: 11%;
}

.orbit::after {
  right: 5%;
  bottom: 26%;
}

.orbit-a {
  animation: orbit-spin 22s linear infinite;
}

.orbit-b {
  inset: 28% 8%;
  transform: rotate(58deg);
  animation: orbit-spin-reverse 18s linear infinite;
}

.nano-core {
  position: absolute;
  inset: 22%;
  animation: core-float 5s ease-in-out infinite;
}

.particle {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  background: radial-gradient(circle at 34% 28%, #eaffff 0, #6ed7e7 14%, #08739f 50%, #052e4c 76%);
  border: 1px solid rgb(216 253 255 / 0.65);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgb(49 184 213 / 0.05), 0 0 30px rgb(53 205 227 / 0.35);
}

.p1 { top: 4%; left: 40%; }
.p2 { top: 28%; left: 8%; width: 68px; height: 68px; }
.p3 { top: 27%; right: 4%; width: 76px; height: 76px; }
.p4 { top: 56%; left: 37%; width: 88px; height: 88px; }
.p5 { bottom: 1%; left: 7%; width: 42px; height: 42px; }
.p6 { right: 3%; bottom: 5%; width: 45px; height: 45px; }
.p7 { top: 4%; right: 2%; width: 34px; height: 34px; }
.p8 { left: 0; top: 2%; width: 30px; height: 30px; }

.bond {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(143 227 239 / 0.8), transparent);
  transform-origin: left center;
}

.b1 { top: 18%; left: 18%; width: 132px; transform: rotate(-18deg); }
.b2 { top: 24%; left: 49%; width: 142px; transform: rotate(22deg); }
.b3 { top: 48%; left: 21%; width: 155px; transform: rotate(30deg); }
.b4 { top: 48%; left: 49%; width: 142px; transform: rotate(-25deg); }
.b5 { top: 72%; left: 16%; width: 145px; transform: rotate(-20deg); }
.b6 { top: 72%; left: 52%; width: 125px; transform: rotate(23deg); }

.visual-label {
  position: absolute;
  color: rgb(204 243 249 / 0.58);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.17em;
}

.label-a { top: 15%; right: 9%; }
.label-b { left: 2%; bottom: 17%; transform: rotate(-90deg); }

.hero-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.hero-dots {
  display: flex;
  gap: 13px;
}

.hero-dots .dot {
  position: relative;
  width: 34px;
  height: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hero-dots .dot::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgb(255 255 255 / 0.3);
  box-shadow: 0 0 3px rgb(0 0 0 / 0.75);
}

.hero-dots .dot.is-active::before {
  background: var(--c-cyan);
}

.hero-arrows {
  display: flex;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: rgb(2 24 41 / 0.45);
  border: 1px solid rgb(255 255 255 / 0.28);
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-arrow + .hero-arrow {
  border-left: 0;
}

.hero-arrow:hover {
  background: var(--c-primary);
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-spin-reverse {
  from { transform: rotate(58deg); }
  to { transform: rotate(-302deg); }
}

@keyframes core-float {
  0%, 100% { transform: translateY(-7px) rotate(-1deg); }
  50% { transform: translateY(8px) rotate(1deg); }
}

/* ---------- Section headings ---------- */
.section {
  padding-block: 108px;
}

.section-title {
  position: relative;
  margin-bottom: 44px;
}

.section-title-centered {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-en {
  position: absolute;
  z-index: 0;
  top: -76px;
  left: -8px;
  color: #eef4f6;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 9vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
}

.section-title-centered .section-en {
  left: 50%;
  transform: translateX(-50%);
}

.section-kicker,
.eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--c-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-title h2,
.section-head h1,
.section-head h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.section-title h2::after,
.section-head h1::after,
.section-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 18px;
  background: var(--c-primary);
}

.section-title-centered h2::after {
  margin-right: auto;
  margin-left: auto;
}

.section-intro,
.section-head > p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-text-soft);
}

/* ---------- Product cards ---------- */
.products-section {
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card);
  transform: translateY(-8px);
}

.product-visual {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 36%, rgb(130 225 236 / 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 69%, rgb(130 225 236 / 0.4) 0 3px, transparent 4px),
    linear-gradient(145deg, #edf8fb 0%, #d7edf5 50%, #b6dae8 100%);
}

.product-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-visual > img {
  transform: scale(1.045);
}

.product-visual.has-cover::before,
.product-visual.has-cover::after {
  display: none;
}

.product-card:nth-child(2n) .product-visual {
  background: linear-gradient(145deg, #eef7fa, #c6e4ee 55%, #92c4d8);
}

.product-card:nth-child(3n) .product-visual {
  background: linear-gradient(145deg, #f1f7f8, #d9ecef 50%, #9ac8d4);
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transition: transform 0.45s ease;
}

.product-visual::before {
  right: -45px;
  bottom: -78px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.95), rgb(53 160 193 / 0.5) 34%, rgb(5 77 116 / 0.92) 69%, #052d4b 100%);
  box-shadow: -36px -24px 0 -8px rgb(255 255 255 / 0.42), -76px 9px 0 -25px rgb(6 108 168 / 0.36);
}

.product-visual::after {
  top: 32px;
  left: 48%;
  width: 52px;
  height: 52px;
  background: radial-gradient(circle at 32% 28%, #fff, #58c6d9 30%, #066599 70%);
  box-shadow: -88px 40px 0 -12px rgb(9 112 160 / 0.72), 62px 40px 0 -19px rgb(7 83 127 / 0.72);
}

.product-card:hover .product-visual::before {
  transform: scale(1.06) translate(-6px, -4px);
}

.product-card:hover .product-visual::after {
  transform: translateY(-8px);
}

.product-index {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 24px;
  color: rgb(5 72 109 / 0.35);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
}

.product-symbol {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.product-symbol i {
  position: absolute;
  height: 1px;
  background: rgb(7 108 168 / 0.3);
  transform-origin: left;
}

.product-symbol i:nth-child(1) { width: 130px; left: 37%; top: 27%; transform: rotate(34deg); }
.product-symbol i:nth-child(2) { width: 108px; left: 34%; top: 52%; transform: rotate(-22deg); }
.product-symbol i:nth-child(3) { width: 112px; left: 50%; top: 59%; transform: rotate(30deg); }
.product-symbol i:nth-child(4) { width: 88px; left: 23%; top: 67%; transform: rotate(-46deg); }

.product-info {
  padding: 26px 28px 30px;
}

.product-type {
  margin-bottom: 8px;
  color: #93a4ae;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.product-info h3 {
  margin-bottom: 11px;
  font-size: 1.25rem;
}

.product-info h3 a,
.card h3 a,
.news-card h3 a,
.news-row h3 a {
  color: var(--c-text);
}

.product-info > p:not(.product-type) {
  display: -webkit-box;
  min-height: 52px;
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--c-text-soft);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--c-primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* ---------- About ---------- */
.about-section {
  overflow: hidden;
  background: var(--c-bg-soft);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
}

.about-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgb(1 26 44 / 0.35), rgb(4 75 108 / 0.14)),
    radial-gradient(circle at 70% 30%, #2da9c4, #086893 36%, #063b60 68%, #041f35);
  box-shadow: var(--shadow-soft);
}

.lab-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(140deg, #000, transparent 78%);
}

.about-visual::before {
  content: "NANO";
  position: absolute;
  left: 34px;
  top: 20px;
  color: rgb(255 255 255 / 0.08);
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.material-disc {
  position: absolute;
  border-radius: 50%;
}

.material-disc-a {
  top: 20%;
  right: 9%;
  width: 250px;
  height: 250px;
  background:
    radial-gradient(circle at 67% 32%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 35% 61%, rgb(255 255 255 / 0.8) 0 3px, transparent 4px),
    radial-gradient(circle at 38% 30%, #c7f7f4, #4bc2d4 20%, #087aa4 47%, #04395e 73%);
  border: 1px solid rgb(255 255 255 / 0.5);
  box-shadow: 0 40px 80px rgb(0 18 31 / 0.4), inset 20px 20px 45px rgb(255 255 255 / 0.2);
}

.material-disc-b {
  left: 12%;
  bottom: 18%;
  width: 155px;
  height: 155px;
  background: radial-gradient(circle at 38% 34%, #d3fbff, #59c9d8 21%, #076d99 55%, #042c4a 78%);
  box-shadow: 0 0 0 24px rgb(109 217 230 / 0.07), 0 30px 60px rgb(0 19 32 / 0.4);
}

.material-disc-b::before,
.material-disc-b::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  background: #55c9d9;
  border: 1px solid rgb(255 255 255 / 0.6);
  border-radius: 50%;
}

.material-disc-b::before { top: -64px; right: -94px; }
.material-disc-b::after { right: -132px; bottom: -24px; width: 22px; height: 22px; }

.about-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 210px;
  padding: 25px 30px;
  color: #fff;
  background: var(--c-primary);
}

.about-stamp strong {
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 1;
}

.about-stamp span {
  margin-top: 8px;
  color: rgb(255 255 255 / 0.72);
  font-size: 0.78rem;
}

.about-content .section-title {
  margin-bottom: 30px;
}

.about-content > p {
  margin-bottom: 16px;
  color: var(--c-text-soft);
}

.about-values {
  display: grid;
  margin: 30px 0 34px;
  border-top: 1px solid var(--c-border);
}

.about-values > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
}

.about-values strong {
  color: var(--c-primary-deep);
  font-size: 0.94rem;
}

.about-values span {
  color: var(--c-text-soft);
  font-size: 0.9rem;
}

/* ---------- Capability ---------- */
.capability-strip {
  color: #fff;
  background:
    linear-gradient(90deg, rgb(4 43 73 / 0.96), rgb(5 91 126 / 0.9)),
    var(--c-primary-deep);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.capability-grid > div {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 180px;
  padding: 28px 34px;
  border-left: 1px solid rgb(255 255 255 / 0.15);
}

.capability-grid > div:last-child {
  border-right: 1px solid rgb(255 255 255 / 0.15);
}

.capability-grid strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
}

.capability-grid sup {
  color: #68d3e6;
  font-size: 0.42em;
}

.capability-grid span {
  margin-top: 13px;
  color: rgb(255 255 255 / 0.68);
  font-size: 0.84rem;
}

/* ---------- News ---------- */
.news-section {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.news-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-primary-deep);
}

.news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-cover img {
  transform: scale(1.045);
}

.news-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(5 42 70 / 0.2), rgb(14 125 158 / 0.25)),
    radial-gradient(circle at 70% 35%, #1aa4bf, #086589 45%, #04334f 100%);
}

.news-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

.news-placeholder b {
  position: relative;
  color: rgb(255 255 255 / 0.13);
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: 0.05em;
}

.news-placeholder i {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 32% 25%, #fff, #70d8e2 28%, #08749b 70%);
  border-radius: 50%;
  box-shadow: 0 0 22px rgb(72 204 223 / 0.5);
}

.news-placeholder i:nth-child(1) { top: 22%; left: 27%; }
.news-placeholder i:nth-child(2) { top: 48%; right: 26%; width: 54px; height: 54px; }
.news-placeholder i:nth-child(3) { bottom: 18%; left: 43%; width: 22px; height: 22px; }

.news-content {
  padding: 25px 27px 28px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  color: #8a9aa4;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.news-meta span {
  color: var(--c-primary);
}

.news-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin-bottom: 12px;
  overflow: hidden;
  font-size: 1.08rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card h3 a:hover,
.product-info h3 a:hover,
.card h3 a:hover,
.news-row h3 a:hover {
  color: var(--c-primary);
}

.news-content > p {
  display: -webkit-box;
  min-height: 49px;
  margin-bottom: 20px;
  overflow: hidden;
  color: var(--c-text-soft);
  font-size: 0.86rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ---------- Contact banner ---------- */
.contact-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(112deg, #076ca8, #07547e 60%, #063b67);
}

.contact-banner::before {
  content: "";
  position: absolute;
  top: -170px;
  right: 8%;
  width: 480px;
  height: 480px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgb(255 255 255 / 0.03), 0 0 0 140px rgb(255 255 255 / 0.025);
}

.contact-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 300px;
  padding-block: 54px;
}

.contact-banner span {
  color: #8ce2ed;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.contact-banner h2 {
  max-width: 700px;
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.contact-banner p {
  margin: 0;
  color: rgb(255 255 255 / 0.67);
}

.contact-number {
  display: grid;
  flex: 0 0 auto;
  min-width: 300px;
  padding: 22px 28px;
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  border-left: 3px solid #6ed8e8;
}

.contact-number:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.14);
}

.contact-number small {
  color: rgb(255 255 255 / 0.6);
  font-size: 0.75rem;
}

.contact-number strong {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
}

/* ---------- Inner pages ---------- */
.breadcrumbs {
  margin-top: 40px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--c-text-soft);
  font-size: 0.8rem;
  list-style: none;
}

.breadcrumbs a {
  color: var(--c-text-soft);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #b6c2c8;
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-head h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-alt {
  background: var(--c-bg-soft);
}

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

.card {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.card-cover {
  display: block;
  margin: -28px -28px 22px;
  overflow: hidden;
}

.card-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body h3,
.card > h3 {
  margin: 12px 0;
}

.card-excerpt,
.card p {
  margin-bottom: 0;
  color: var(--c-text-soft);
  font-size: 0.9rem;
}

.card-time {
  display: inline-block;
  margin-top: 18px;
  color: #91a0aa;
  font-size: 0.76rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  color: var(--c-primary);
  background: var(--c-ice);
  font-size: 0.72rem;
}

.tag a {
  color: inherit;
}

.news-list {
  display: grid;
}

.news-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-border);
}

.news-row:first-child {
  border-top: 1px solid var(--c-border);
}

.news-row time {
  color: #8b9ca6;
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.news-row h3 {
  margin: 0;
}

.news-row .card-excerpt {
  grid-column: 2 / -1;
  margin-top: -17px;
}

.more-link {
  margin-top: 30px;
}

.empty-hint {
  padding: 50px 0;
  color: var(--c-text-soft);
  text-align: center;
}

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

.value-card {
  padding: 28px;
  background: #fff;
  border-top: 3px solid var(--c-primary);
  box-shadow: var(--shadow-card);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--c-primary);
  border-radius: 50%;
}

.value-card p {
  margin: 0;
  color: var(--c-text-soft);
}

.post-article {
  padding-top: 38px;
}

.post-article > .container {
  max-width: 980px;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--c-border);
}

.post-header h1 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
}

.post-meta {
  color: #83939d;
  font-size: 0.84rem;
}

.post-lead {
  margin: 25px 0 0;
  padding: 18px 22px;
  color: var(--c-text-soft);
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-primary);
}

.prose {
  max-width: 880px;
  color: #31434d;
  font-size: 1.02rem;
  line-height: 1.95;
}

.prose p {
  margin: 1em 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.7em 0 0.65em;
}

.prose h2 {
  padding-bottom: 12px;
  font-size: 1.65rem;
  border-bottom: 1px solid var(--c-border);
}

.prose h3 {
  font-size: 1.25rem;
}

.prose img {
  margin: 28px auto;
}

.prose blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  color: var(--c-primary-deep);
  background: var(--c-ice);
  border-left: 3px solid var(--c-primary);
}

.prose table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid var(--c-border);
}

.prose th {
  color: var(--c-primary-deep);
  background: var(--c-ice);
}

.post-footer {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
}

.search-form {
  display: flex;
  max-width: 600px;
  margin-top: 28px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-right: 0;
  border-radius: 0;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
}

.page-btn {
  padding: 8px 17px;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.page-btn:hover {
  color: #fff;
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.page-info {
  color: var(--c-text-soft);
  font-size: 0.82rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 74px;
  color: rgb(255 255 255 / 0.65);
  background:
    linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px),
    var(--c-dark);
  background-size: 60px 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  gap: clamp(50px, 8vw, 120px);
  padding-bottom: 62px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: #fff;
}

.footer-logo img {
  width: 190px;
  height: auto;
  padding: 9px 12px;
  background: #fff;
  border-radius: 2px;
}

.footer-logo > div {
  display: grid;
  line-height: 1.1;
}

.footer-logo strong {
  font-size: 1.22rem;
  letter-spacing: 0.07em;
}

.footer-desc {
  margin-bottom: 7px;
  color: #fff;
  font-size: 1rem;
}

.footer-intro {
  max-width: 410px;
  color: rgb(255 255 255 / 0.48);
  font-size: 0.86rem;
}

.footer-col h3 {
  margin-bottom: 22px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 0.94rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.footer-col ul {
  display: grid;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav ul {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
}

.footer-col a {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.86rem;
}

.footer-col a:hover {
  color: #76d9e8;
}

.footer-contact li {
  display: grid;
  gap: 5px;
}

.footer-contact li > span {
  color: rgb(255 255 255 / 0.4);
  font-size: 0.72rem;
}

.footer-contact p {
  margin: 0;
  color: rgb(255 255 255 / 0.68);
  font-size: 0.86rem;
}

.footer-contact .footer-phone {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 18px;
  color: rgb(255 255 255 / 0.36);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.74rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.legal-links a {
  color: inherit;
}

.floating-tools {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 26px;
  display: grid;
  gap: 1px;
  box-shadow: 0 10px 35px rgb(4 37 59 / 0.18);
}

.floating-contact,
.back-to-top {
  display: grid;
  place-items: center;
  width: 64px;
  min-height: 62px;
  color: #fff;
  background: var(--c-primary);
  border: 0;
  cursor: pointer;
}

.floating-contact--ai {
  min-height: 68px;
  background: var(--c-primary);
}

.floating-contact--ai svg {
  width: 23px;
  height: 23px;
  margin-bottom: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-contact span {
  font-size: 1.2rem;
  line-height: 1;
}

.floating-contact strong {
  font-size: 0.64rem;
  font-weight: 500;
}

.floating-contact:hover,
.back-to-top:hover {
  color: #fff;
  background: var(--c-primary-deep);
}

.back-to-top {
  visibility: hidden;
  min-height: 44px;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s, background 0.2s ease;
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
}

body.ai-consult-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ai-consult[hidden] {
  display: none;
}

.ai-consult {
  position: fixed;
  z-index: 120;
  inset: 0;
}

.ai-consult__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(5 28 45 / 0.34);
  backdrop-filter: blur(3px);
}

.ai-consult__panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(410px, calc(100vw - 32px));
  height: min(650px, calc(100vh - 48px));
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 90px rgb(4 37 59 / 0.28);
  animation: ai-panel-in 0.25s ease both;
}

.ai-consult__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(120deg, var(--c-primary-deep), var(--c-primary));
}

.ai-consult__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-consult__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
}

.ai-consult__identity > div {
  display: grid;
}

.ai-consult__identity strong {
  color: #fff;
  font-size: 1rem;
}

.ai-consult__identity span:last-child {
  color: rgb(255 255 255 / 0.7);
  font-size: 0.72rem;
}

.ai-consult__identity i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  background: #79e5c3;
  border-radius: 50%;
}

.ai-consult__close {
  width: 38px;
  height: 38px;
  padding: 0;
  color: rgb(255 255 255 / 0.8);
  background: transparent;
  border: 0;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.ai-consult__messages {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 18px 12px;
  background: #f4f8fa;
}

.ai-message {
  display: flex;
  margin-bottom: 14px;
}

.ai-message--user {
  justify-content: flex-end;
}

.ai-message__bubble {
  max-width: 84%;
  padding: 11px 14px;
  color: #334953;
  background: #fff;
  border: 1px solid var(--c-border);
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ai-message__bubble.is-markdown {
  white-space: normal;
}

.ai-message__bubble.is-markdown > :first-child {
  margin-top: 0;
}

.ai-message__bubble.is-markdown > :last-child {
  margin-bottom: 0;
}

.ai-message__bubble.is-markdown p,
.ai-message__bubble.is-markdown ul,
.ai-message__bubble.is-markdown ol,
.ai-message__bubble.is-markdown blockquote,
.ai-message__bubble.is-markdown pre {
  margin: 0 0 0.8em;
}

.ai-message__bubble.is-markdown h2,
.ai-message__bubble.is-markdown h3,
.ai-message__bubble.is-markdown h4,
.ai-message__bubble.is-markdown h5 {
  margin: 1em 0 0.45em;
  color: var(--c-primary-deep);
  font-size: 0.96rem;
  line-height: 1.4;
}

.ai-message__bubble.is-markdown ul,
.ai-message__bubble.is-markdown ol {
  padding-left: 1.35em;
}

.ai-message__bubble.is-markdown li + li {
  margin-top: 0.35em;
}

.ai-message__bubble.is-markdown blockquote {
  padding: 0.15em 0 0.15em 0.8em;
  color: var(--c-text-soft);
  border-left: 3px solid var(--c-primary);
}

.ai-message__bubble.is-markdown code {
  padding: 0.12em 0.32em;
  color: var(--c-primary-deep);
  background: #e8f1f5;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
}

.ai-message__bubble.is-markdown pre {
  overflow-x: auto;
  padding: 0.8em;
  background: #e8f1f5;
}

.ai-message__bubble.is-markdown pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  white-space: pre;
}

.ai-message__bubble.is-markdown a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ai-message__bubble.is-markdown hr {
  margin: 0.9em 0;
  border: 0;
  border-top: 1px solid var(--c-border);
}

.ai-message--assistant .ai-message__bubble {
  border-radius: 3px 15px 15px 15px;
}

.ai-message--user .ai-message__bubble {
  color: #fff;
  background: var(--c-primary);
  border-color: var(--c-primary);
  border-radius: 15px 3px 15px 15px;
}

.ai-message--error .ai-message__bubble {
  color: #9b3f34;
  background: #fff5f2;
  border-color: #f0d1ca;
}

.ai-message--loading .ai-message__bubble::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  animation: ai-thinking 0.9s ease-in-out infinite alternate;
}

.ai-consult__suggestions {
  display: flex;
  gap: 7px;
  padding: 10px 18px;
  overflow-x: auto;
  background: #f4f8fa;
}

.ai-consult__suggestions button {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--c-primary-deep);
  background: #fff;
  border: 1px solid #cbdde6;
  border-radius: 999px;
  font-size: 0.72rem;
  cursor: pointer;
}

.ai-consult__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: end;
  padding: 14px 16px 8px;
  background: #fff;
  border-top: 1px solid var(--c-border);
}

.ai-consult__form textarea {
  width: 100%;
  max-height: 104px;
  padding: 9px 0;
  resize: none;
  color: var(--c-text);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ai-consult__form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--c-primary);
  border: 0;
  cursor: pointer;
}

.ai-consult__form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.ai-consult__form svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ai-consult__notice {
  margin: 0;
  padding: 0 16px 11px;
  color: #94a2aa;
  background: #fff;
  font-size: 0.64rem;
  text-align: center;
}

@keyframes ai-panel-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes ai-thinking {
  from { opacity: 0.25; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1.15); }
}

/* ---------- Motion ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .header-contact { display: none; }
}

@media (max-width: 1180px) {
  :root { --header-h: 82px; }

  .brand { min-width: auto; }
  .brand-name { font-size: 1.06rem; }
  .nav-list > li > a { padding-inline: 12px; font-size: 0.88rem; }
  .hero-visual { right: -3vw; width: 51vw; }
}

@media (max-width: 920px) {
  .container { padding-inline: 24px; }
  .hero {
    --hero-space: 24px;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: none;
    overflow-y: auto;
    background: #fff;
  }

  .site-nav.is-open { display: block; }

  .nav-list {
    display: block;
    height: auto;
    padding: 22px 24px 60px;
  }

  .nav-list > li {
    display: block;
    border-bottom: 1px solid var(--c-border);
  }

  .nav-list > li > a {
    min-height: 58px;
    padding: 0;
    font-size: 1rem;
  }

  .nav-list > li > a::after { display: none; }

  .has-children > a::before {
    margin-left: auto;
  }

  .sub-menu {
    position: static;
    visibility: visible;
    display: grid;
    min-width: 0;
    padding: 0 0 12px 18px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .sub-menu a { padding: 8px 0; border: 0; color: var(--c-text-soft); }

  .hero-copy { width: 60%; }
  .hero-visual { right: -13%; width: 62vw; opacity: 0.78; }

  .product-grid,
  .news-grid,
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-layout { grid-template-columns: 1fr; gap: 70px; }
  .about-visual { min-height: 500px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid > div:nth-child(2) { border-right: 1px solid rgb(255 255 255 / 0.15); }

  .contact-banner-inner { align-items: flex-start; flex-direction: column; }
  .contact-number { min-width: min(100%, 340px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }

  .container { padding-inline: 18px; }
  .site-header.is-scrolled { height: 66px; }
  .brand { min-width: 0; }
  .brand-logo, .is-scrolled .brand-logo { width: 136px; height: auto; }
  .brand-name { font-size: 0.98rem; }
  .brand-copy small { font-size: 0.52rem; }
  .site-nav { top: var(--header-h); }

  .hero { aspect-ratio: 16 / 10; --hero-space: 18px; }

  .hero-copy {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 70px 0 132px;
  }

  .hero h1 { max-width: 470px; font-size: clamp(2.25rem, 11vw, 3.45rem); }
  .hero-subtitle { font-size: 1.06rem; }
  .hero .hero-desc { max-width: 92%; font-size: 0.9rem; }
  .hero-kicker { font-size: 0.62rem; letter-spacing: 0.14em; }

  .hero-visual {
    right: -52%;
    top: 48%;
    width: 115vw;
    opacity: 0.35;
  }

  .hero-controls { bottom: 23px; }
  .hero-arrows { display: none; }
  .hero-dots .dot { width: 28px; }

  .section { padding-block: 78px; }
  .section-en { top: -50px; font-size: 4.5rem; }
  .section-title { margin-bottom: 34px; }

  .product-grid,
  .news-grid,
  .card-grid,
  .value-grid { grid-template-columns: 1fr; }

  .product-visual { height: 205px; }
  .about-visual { min-height: 410px; }
  .material-disc-a { width: 190px; height: 190px; }
  .material-disc-b { width: 115px; height: 115px; }
  .about-stamp { width: 180px; padding: 20px 24px; }
  .about-stamp strong { font-size: 2.3rem; }
  .about-values > div { grid-template-columns: 95px 1fr; gap: 12px; }

  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid > div { min-height: 140px; padding: 23px 18px; }
  .capability-grid strong { font-size: 2.25rem; }

  .contact-banner-inner { min-height: 0; padding-block: 64px; }
  .contact-number { min-width: 100%; }
  .contact-number strong { font-size: 1.6rem; }

  .news-row { grid-template-columns: 1fr; gap: 5px; }
  .news-row .card-excerpt { grid-column: auto; margin-top: 0; }

  .search-form { flex-direction: column; }
  .search-form input { border-right: 1px solid var(--c-border); }

  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-legal { align-items: flex-start; flex-direction: column; }
  .legal-links { justify-content: flex-start; }

  .floating-tools { right: 12px; bottom: 14px; }
  .floating-contact, .back-to-top { width: 52px; }
  .floating-contact strong { display: none; }

  .ai-consult__panel {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    height: min(680px, calc(100dvh - 16px));
  }
}

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