/* 杭州云创芯电子 — 企业官网 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&family=Orbitron:wght@500;600;700&display=swap');

:root {
  --blue-deep: #0a2744;
  --blue-mid: #0e4a7a;
  --blue-bright: #1a7abf;
  --blue-soft: #3d9dd9;
  --slate: #2a3340;
  --slate-soft: #4a5568;
  --ink: #121820;
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: rgba(10, 39, 68, 0.12);
  --shadow: 0 18px 48px rgba(10, 39, 68, 0.12);
  --radius: 4px;
  --max: 1180px;
  --nav-h: 72px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }

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

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

.site-header.is-solid,
.site-header.page-nav {
  background: rgba(10, 39, 68, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 40px;
  border: 2px solid var(--blue-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-soft);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(61, 157, 217, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-text span {
  font-size: 11px;
  opacity: 0.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  padding: 8px 12px;
  position: relative;
  transition: color .25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--blue-soft);
  transform: scaleX(0);
  transition: transform .28s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 8px;
  background: var(--blue-bright);
  color: var(--white) !important;
  padding: 10px 18px !important;
  transition: background .25s ease, transform .25s ease;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 24, 42, 0.94) 0%, rgba(10, 50, 90, 0.82) 48%, rgba(14, 74, 122, 0.62) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(61, 157, 217, 0.25), transparent 60%),
    linear-gradient(160deg, #0a2744 0%, #0e4a7a 45%, #1a2332 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
  animation: gridDrift 28s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(64px); }
}

.hero-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 157, 217, 0.28) 0%, transparent 68%);
  animation: orbPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(90deg, transparent 48%, rgba(61, 157, 217, 0.5) 50%, transparent 52%) 70% 20% / 120px 2px no-repeat,
    linear-gradient(transparent 48%, rgba(61, 157, 217, 0.5) 50%, transparent 52%) 70% 20% / 2px 100px no-repeat,
    linear-gradient(90deg, transparent 48%, rgba(61, 157, 217, 0.35) 50%, transparent 52%) 82% 45% / 160px 2px no-repeat,
    linear-gradient(transparent 48%, rgba(61, 157, 217, 0.35) 50%, transparent 52%) 82% 45% / 2px 140px no-repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 36px) 0 48px;
}

.hero-main {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  opacity: 0;
  animation: riseIn .9s ease forwards .1s;
}

.hero-brand em {
  font-style: normal;
  color: var(--blue-soft);
}

.hero h1 {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  max-width: 16em;
  margin-bottom: 18px;
  opacity: 0;
  animation: riseIn .9s ease forwards .25s;
}

.hero-intro {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36em;
  margin-bottom: 28px;
  opacity: 0;
  animation: riseIn .9s ease forwards .4s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: riseIn .9s ease forwards .55s;
}

.hero-aside {
  opacity: 0;
  animation: riseIn 1s ease forwards .35s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.hero-showcase {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.hero-showcase::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(61, 157, 217, 0.35);
  pointer-events: none;
}

.hero-showcase img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
  animation: floatY 5.5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-points {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 4px;
}

.hero-points li {
  padding: 14px 12px 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background .25s ease;
}

.hero-points li:last-child { border-bottom: none; }

.hero-points li:hover {
  background: rgba(61, 157, 217, 0.1);
}

.hero-points strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--blue-soft);
}

.hero-points span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.hero-adv {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  animation: riseIn .9s ease forwards .7s;
}

.hero-adv-item {
  padding: 22px 16px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-adv-item:last-child { border-right: none; }

.hero-adv-item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-soft);
  margin-bottom: 6px;
}

.hero-adv-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.btn-primary {
  background: var(--blue-bright);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--blue-deep);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-deep);
  border: 1px solid var(--blue-mid);
}

.btn-outline:hover {
  background: var(--blue-deep);
  color: var(--white);
}

/* ——— Sections ——— */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(145deg, var(--blue-deep) 0%, #0d3558 55%, var(--slate) 100%);
  color: var(--white);
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-family: var(--font-display);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-dark .eyebrow { color: var(--blue-soft); }

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--blue-deep);
}

.section-dark .section-head h2 { color: var(--white); }

.section-head p {
  color: var(--slate-soft);
  font-size: 15px;
}

.section-dark .section-head p { color: rgba(255, 255, 255, 0.72); }

/* ——— Team highlight ——— */
.team-highlight {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-year {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(145deg, var(--blue-deep), var(--blue-mid));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.team-year::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.team-year strong {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 108px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--blue-soft);
  position: relative;
}

.team-year > span {
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: top;
  margin-top: 18px;
  position: relative;
}

.team-year p {
  position: relative;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 14em;
  margin-inline: auto;
}

.team-copy h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--blue-deep);
  margin-bottom: 18px;
  font-weight: 600;
}

.team-copy ul {
  margin-bottom: 24px;
}

.team-copy li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
}

.team-copy li b {
  color: var(--blue-deep);
  font-weight: 600;
}
.adv-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.adv-item {
  padding: 32px 20px;
  border-right: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition: background .3s ease;
}

.adv-item:last-child { border-right: none; }

.adv-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, background .3s ease;
}

.adv-item:hover { background: rgba(26, 122, 191, 0.04); }

.adv-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.adv-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--blue-deep);
}

.adv-item p {
  font-size: 13px;
  color: var(--slate-soft);
  line-height: 1.55;
}

/* ——— Product grid ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}

.product-tile {
  background: var(--white);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: background .3s ease;
  position: relative;
  overflow: hidden;
}

.product-tile::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--blue-bright);
  transition: height .35s ease;
}

.product-tile:hover {
  background: #eef5fb;
}

.product-tile:hover::before { height: 100%; }

.product-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--blue-mid);
}

.product-tile h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.product-tile p {
  font-size: 14px;
  color: var(--slate-soft);
  flex: 1;
  margin-bottom: 18px;
}

.product-link {
  font-size: 14px;
  color: var(--blue-bright);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link span {
  transition: transform .25s ease;
}

.product-tile:hover .product-link span {
  transform: translateX(4px);
}

/* ——— Split / strength ——— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-visual {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(10, 39, 68, 0.9), rgba(14, 74, 122, 0.75)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    );
  overflow: hidden;
}

.split-visual.factory {
  background:
    linear-gradient(145deg, rgba(10, 39, 68, 0.88), rgba(42, 51, 64, 0.75)),
    radial-gradient(circle at 30% 70%, rgba(61, 157, 217, 0.3), transparent 50%),
    linear-gradient(160deg, #0a2744, #2a3340);
}

.split-visual .visual-label {
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: var(--white);
}

.split-visual .visual-label strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.split-visual .visual-label span {
  font-size: 13px;
  opacity: 0.7;
}

.visual-lines {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.visual-lines::before,
.visual-lines::after {
  content: '';
  position: absolute;
  background: rgba(61, 157, 217, 0.5);
}

.visual-lines::before {
  width: 40%;
  height: 1px;
  top: 30%;
  left: 10%;
}

.visual-lines::after {
  width: 1px;
  height: 35%;
  top: 30%;
  left: 10%;
}

.split-copy h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--blue-deep);
  margin-bottom: 16px;
  font-weight: 600;
}

.split-copy p {
  color: var(--slate-soft);
  margin-bottom: 14px;
  font-size: 15px;
}

.split-copy .btn { margin-top: 12px; }

/* ——— Market strip ——— */
.market-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.market-block {
  padding: 40px 36px;
  background: rgba(255, 255, 255, 0.04);
  transition: background .3s ease;
}

.market-block:hover {
  background: rgba(255, 255, 255, 0.08);
}

.market-block h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.market-block p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  max-width: 36em;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.market-tags span {
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(61, 157, 217, 0.55);
  color: var(--blue-soft);
}

/* ——— CTA band ——— */
.cta-band {
  padding: 64px 0;
  background: var(--blue-deep);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 64px;
  background:
    linear-gradient(125deg, rgba(10, 39, 68, 0.95) 0%, rgba(14, 74, 122, 0.88) 60%, rgba(26, 122, 191, 0.7) 100%),
    linear-gradient(160deg, #0a2744, #1a2332);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0;
  animation: riseIn .7s ease forwards .1s;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36em;
  opacity: 0;
  animation: riseIn .7s ease forwards .25s;
}

/* ——— Prose ——— */
.prose {
  max-width: 780px;
}

.prose p {
  margin-bottom: 18px;
  color: var(--slate);
  font-size: 16px;
}

.prose h3 {
  font-size: 20px;
  color: var(--blue-deep);
  margin: 36px 0 14px;
  font-weight: 600;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.fact {
  padding-top: 16px;
  border-top: 2px solid var(--blue-bright);
}

.fact strong {
  display: block;
  font-size: 28px;
  font-family: var(--font-display);
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.fact span {
  font-size: 14px;
  color: var(--slate-soft);
}

/* ——— Capability list ——— */
.cap-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  margin-top: 32px;
}

.cap-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cap-list .idx {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--blue-bright);
  font-weight: 600;
  min-width: 28px;
  padding-top: 2px;
}

.cap-list h4 {
  font-size: 16px;
  color: var(--blue-deep);
  margin-bottom: 4px;
  font-weight: 600;
}

.cap-list p {
  font-size: 14px;
  color: var(--slate-soft);
  margin: 0;
}

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-family: var(--font-display);
  margin-bottom: 4px;
  margin-top: 22px;
}

.contact-info dt:first-child { margin-top: 0; }

.contact-info dd {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.contact-info a {
  color: var(--blue-mid);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.contact-info a:hover { border-color: var(--blue-mid); }

.contact-form {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--line);
}

.contact-form h3 {
  font-size: 20px;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 14px;
  color: var(--slate-soft);
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-bright);
  background: var(--white);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-msg {
  margin-top: 14px;
  font-size: 14px;
  min-height: 1.4em;
  color: var(--blue-mid);
}

.form-msg.is-error { color: #b33; }

/* ——— Product catalog ——— */
.catalog-nav {
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--slate-soft);
  line-height: 2;
}

.catalog-nav a {
  color: var(--blue-mid);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.catalog-nav a:hover {
  color: var(--blue-bright);
  border-color: var(--blue-bright);
}

.catalog-section {
  margin-bottom: 64px;
}

.catalog-section:last-child { margin-bottom: 0; }

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

.catalog-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.catalog-card:hover {
  border-color: rgba(26, 122, 191, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.catalog-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #eef3f8, #f7f9fb);
  position: relative;
  overflow: hidden;
}

.catalog-photo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  max-width: calc(100% - 36px);
  max-height: calc(100% - 36px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.catalog-card:hover .catalog-photo img {
  transform: translate(-50%, -50%) scale(0.92);
}

.catalog-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-model {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
  font-weight: 600;
  margin-bottom: 6px;
}

.catalog-body h3 {
  font-size: 17px;
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-weight: 600;
}

.catalog-body p {
  font-size: 13px;
  color: var(--slate-soft);
  flex: 1;
  margin-bottom: 14px;
  line-height: 1.55;
}

/* ——— Product detail ——— */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.product-photo {
  background: linear-gradient(160deg, #eef3f8, #f7f9fb);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.zoom-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.product-photo img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform .3s ease;
}

.zoom-trigger:hover img {
  transform: scale(1.03);
}

.zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
  color: var(--white);
  background: rgba(10, 39, 68, 0.72);
  padding: 6px 10px;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 16, 28, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  cursor: zoom-out;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.96);
  transition: transform .25s ease;
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.detail-name {
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 10px;
}

.detail-summary {
  color: var(--slate-soft);
  font-size: 15px;
  margin-bottom: 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  color: var(--slate-soft);
  font-weight: 500;
  background: rgba(14, 74, 122, 0.03);
}

.spec-table td {
  color: var(--ink);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-block { margin-top: 64px; }

.related-title {
  font-size: 24px;
  color: var(--blue-deep);
  margin-bottom: 20px;
  font-weight: 600;
}

.related-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-products a {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: background .25s ease, border-color .25s ease;
}

.related-products a:hover {
  background: #eef5fb;
  border-color: rgba(26, 122, 191, 0.3);
}

.related-products img {
  width: 100%;
  height: auto;
  max-height: 220px;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
  background: #f3f6f9;
  margin-bottom: 12px;
}

.related-products h4 {
  font-size: 14px;
  font-family: var(--font-display);
  color: var(--blue-bright);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.related-products p {
  font-size: 13px;
  color: var(--slate-soft);
}

/* home product cards with photos */
.home-catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-catalog .catalog-card .catalog-photo {
  aspect-ratio: 3 / 4;
}

.home-catalog .catalog-card .catalog-photo img {
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  transform: translate(-50%, -50%) scale(0.82);
}

.home-catalog .catalog-card:hover .catalog-photo img {
  transform: translate(-50%, -50%) scale(0.88);
}

/* ——— Photo galleries ——— */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.photo-tile {
  position: relative;
  overflow: hidden;
  background: #0a1624;
  aspect-ratio: 3 / 4;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.photo-tile:hover img {
  transform: scale(1.05);
}

.photo-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(transparent, rgba(10, 22, 36, 0.88));
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.collection-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  margin: 28px 0 40px;
  align-items: start;
}

.collection-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.collection-card:hover {
  border-color: rgba(26, 122, 191, 0.35);
  box-shadow: var(--shadow);
}

.collection-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.collection-card .collection-meta {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
}

.collection-card .collection-meta strong {
  display: block;
  font-size: 16px;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.collection-card .collection-meta span {
  font-size: 13px;
  color: var(--slate-soft);
}

.split-visual.has-photo {
  background: none;
  padding: 0;
  min-height: 360px;
}

.split-visual.has-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.split-visual.has-photo .visual-label {
  background: linear-gradient(transparent, rgba(10, 22, 36, 0.85));
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 28px 28px;
}

/* ——— Footer ——— */
.site-footer {
  background: #0a1624;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 28em;
  line-height: 1.65;
  font-size: 13px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a,
.footer-col li {
  display: block;
  margin-bottom: 10px;
  transition: color .2s ease;
}

.footer-col a:hover { color: var(--blue-soft); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Mobile ——— */
@media (max-width: 980px) {
  .adv-row { grid-template-columns: repeat(3, 1fr); }
  .adv-item:nth-child(3) { border-right: none; }
  .adv-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .home-catalog { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-showcase { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-visual { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout,
  .detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .related-products { grid-template-columns: 1fr 1fr; }
  .hero-main { grid-template-columns: 1fr; gap: 32px; }
  .hero-aside { max-width: 520px; }
  .hero-adv { grid-template-columns: repeat(2, 1fr); }
  .hero-adv-item:nth-child(2) { border-right: none; }
  .hero-adv-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .team-highlight { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: rgba(10, 39, 68, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 28px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav a::after { display: none; }

  .nav-cta {
    margin: 16px 0 0;
    text-align: center;
    justify-content: center;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .adv-row { grid-template-columns: 1fr 1fr; }
  .adv-item { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .adv-item:nth-child(2n) { border-right: none; }
  .product-grid,
  .catalog-grid,
  .home-catalog { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .market-strip { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 16px; }
  .cap-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .related-products { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 40px; padding-top: calc(var(--nav-h) + 28px); }
  .hero-aside { grid-template-columns: 1fr; max-width: none; }
  .hero-showcase { min-height: 260px; }
  .hero-showcase img { max-height: 240px; }
  .hero-points {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }
  .hero-points li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .hero-points li:nth-child(2n) { border-right: none; }
  .hero-adv { margin-top: 28px; }
  .section { padding: 64px 0; }
  .brand-text span { display: none; }
  .product-photo { min-height: 260px; }
}

@media (max-width: 420px) {
  .adv-row { grid-template-columns: 1fr; }
  .adv-item { border-right: none !important; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-adv { grid-template-columns: 1fr; }
  .hero-adv-item {
    border-right: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .hero-points { grid-template-columns: 1fr; }
  .hero-points li { border-right: none !important; }
}
