/* ==========================================================================
   ZUOYEAL — optical communication product site
   Light technical theme. Pure static, no build step.
   ========================================================================== */

:root {
  --bg: #f5f8fc;
  --bg-2: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f8fafd;

  --ink: #0b1b2b;
  --ink-2: #33465a;
  --muted: #62748a;
  --dim: #8b9cad;

  --line: #e3eaf2;
  --line-2: #d2dde9;

  --brand: #0b63ce;
  --brand-dark: #084a9c;
  --cyan: #12b3d6;
  --brand-soft: #eaf2fd;

  --grad: linear-gradient(96deg, #0b63ce 0%, #12b3d6 100%);
  --plate: linear-gradient(180deg, #ffffff 0%, #f2f7fc 100%);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 43, .05), 0 2px 10px rgba(11, 27, 43, .04);
  --shadow: 0 18px 40px -24px rgba(11, 27, 43, .28), 0 2px 8px rgba(11, 27, 43, .05);

  --header-h: 74px;
  --gutter: 24px;
  --max: 1240px;

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 680; line-height: 1.12; letter-spacing: -.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(11, 99, 206, .16); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(62px, 7.5vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(42px, 5vw, 64px) 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); letter-spacing: -.035em; line-height: 1.06; }
.h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

.lead { color: var(--muted); font-size: clamp(.98rem, 1.15vw, 1.06rem); line-height: 1.78; }
.small { font-size: .85rem; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }

.section-head { max-width: 720px; }
.section-head .h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-dark); box-shadow: 0 14px 28px -16px rgba(11, 99, 206, .75); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--brand-soft); border-color: rgba(11, 99, 206, .4); color: var(--brand-dark); box-shadow: none; }

.btn--sm { padding: 9px 16px; font-size: .82rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--brand);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(11, 27, 43, .5); }

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 26px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name { font-size: 1rem; font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.brand-sub { font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--ink); background: var(--brand-soft); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--grad);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}
.lang-switch button {
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .74rem;
  font-weight: 600;
  color: var(--dim);
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(11, 27, 43, .12); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span { position: relative; width: 16px; height: 1.5px; background: var(--ink); }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 82px) 0 clamp(36px, 4.5vw, 58px);
  background:
    radial-gradient(58% 70% at 82% 6%, rgba(18, 179, 214, .16), transparent 62%),
    radial-gradient(48% 60% at 6% 26%, rgba(11, 99, 206, .12), transparent 68%),
    var(--bg);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(11, 99, 206, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 99, 206, .05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(72% 68% at 55% 22%, #000 8%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 68% at 55% 22%, #000 8%, transparent 78%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.hero h1 { margin: 18px 0 0; }
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { margin-top: 20px; max-width: 50ch; }
.hero .btn-row { margin-top: 28px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.chip b { color: var(--brand); font-weight: 600; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.visual-ring {
  position: absolute;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(11, 99, 206, .14);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.visual-ring::after {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1px dashed rgba(18, 179, 214, .22);
  border-radius: 50%;
}
.visual-plate {
  position: relative;
  width: min(100%, 452px);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(11, 99, 206, .5), 0 2px 10px rgba(11, 27, 43, .05);
}
.visual-plate img { width: 100%; height: auto; border-radius: 10px; }
.visual-tag {
  position: absolute;
  right: 16px;
  bottom: -18px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(11, 27, 43, .45);
}
.visual-tag strong { display: block; font-family: var(--mono); font-size: .78rem; color: var(--brand); letter-spacing: .06em; }
.visual-tag small { display: block; font-size: .66rem; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }

/* metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 4.5vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.metrics > div { padding: 22px 26px; border-right: 1px solid var(--line); }
.metrics > div:last-child { border-right: 0; }
.metric-num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
}
.metric-num span { color: var(--brand); }
.metric-label { display: block; margin-top: 4px; font-size: .74rem; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }

/* ==========================================================================
   Category strip
   ========================================================================== */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(11, 99, 206, .35); }
.cat-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--plate);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cat-media img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  transition: transform .35s ease;
}
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: .98rem; }
.cat-body p { margin-top: 6px; font-size: .8rem; color: var(--muted); line-height: 1.55; }
.cat-body .link-arrow { margin-top: auto; padding-top: 14px; font-size: .8rem; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 99, 206, .38);
  box-shadow: var(--shadow);
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 10px 10px 0;
  border-radius: 10px;
  background: var(--plate);
  border: 1px solid #edf3f9;
  overflow: hidden;
}
.card-media img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
  transition: transform .35s ease;
}
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.card-body h3 { margin-top: 7px; font-size: 1.02rem; }
.card-body p { margin-top: 8px; font-size: .84rem; color: var(--muted); line-height: 1.6; }

.spec-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.spec-row span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .03em;
  color: var(--ink-2);
  background: var(--surface-2);
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand);
}
.dl svg { width: 13px; height: 13px; }

/* ---------- flagship datasheet cards ---------- */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.flag {
  position: relative;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.flag:hover { border-color: rgba(11, 99, 206, .4); transform: translateY(-2px); box-shadow: var(--shadow); }
.flag-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  background: var(--plate);
  border: 1px solid #edf3f9;
  overflow: hidden;
}
.flag-img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.flag h3 { font-size: .93rem; line-height: 1.3; }
.flag .model { margin-top: 4px; font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .05em; }
.flag .dl { margin-top: 8px; }

/* ==========================================================================
   Product blocks
   ========================================================================== */
.block { padding: clamp(44px, 5vw, 68px) 0; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; }

.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.block-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.block-head p { margin-top: 10px; max-width: 70ch; color: var(--muted); font-size: .94rem; line-height: 1.7; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.why {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.why:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: .85;
}
.why svg { width: 26px; height: 26px; color: var(--brand); }
.why h3 { margin-top: 16px; font-size: 1.04rem; }
.why p { margin-top: 10px; font-size: .86rem; color: var(--muted); line-height: 1.72; }
.why .num { position: absolute; right: 20px; top: 16px; font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .1em; }

/* ==========================================================================
   Split / company
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 62px);
  align-items: center;
}
.split-media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split .h2 { margin-top: 14px; }
.split .lead { margin-top: 16px; }

.fact-list { margin-top: 24px; border-top: 1px solid var(--line); }
.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
}
.fact-list .k { color: var(--dim); }
.fact-list .v { color: var(--ink); font-weight: 600; text-align: right; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 60px);
  background: var(--grad);
  color: rgba(255, 255, 255, .9);
  box-shadow: 0 30px 60px -34px rgba(11, 99, 206, .7);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 68px);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cta > * { position: relative; }
.cta .eyebrow { color: #fff; }
.cta .eyebrow::before { background: rgba(255, 255, 255, .8); }
.cta h2 { color: #fff; max-width: 26ch; text-wrap: balance; margin-top: 12px; }
.cta p { margin-top: 14px; max-width: 56ch; color: rgba(255, 255, 255, .86); }
.cta .btn-row { margin-top: 26px; }
.cta .btn { background: #fff; color: var(--brand-dark); }
.cta .btn:hover { background: #eaf4ff; }
.cta .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 74px) 0 clamp(36px, 4vw, 54px);
  background:
    radial-gradient(58% 90% at 86% 0%, rgba(18, 179, 214, .16), transparent 62%),
    radial-gradient(40% 60% at 4% 40%, rgba(11, 99, 206, .1), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 99, 206, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 99, 206, .05) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}
.page-hero > .container { position: relative; }
.page-hero h1 { margin-top: 14px; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.page-hero p { margin-top: 16px; max-width: 64ch; color: var(--muted); }

.crumbs { font-family: var(--mono); font-size: .72rem; color: var(--dim); letter-spacing: .05em; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- category nav ---------- */
.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.cat-nav ul { display: flex; gap: 4px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: block;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.cat-nav a:hover { color: var(--brand); background: var(--brand-soft); }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
thead th {
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
tbody td { padding: 12px 18px; border-bottom: 1px solid #eef3f8; color: var(--ink-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #f7fbff; }
td strong { color: var(--ink); font-weight: 600; }
td a { color: var(--brand); font-weight: 600; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-block + .contact-block { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.contact-value { margin-top: 7px; font-size: .93rem; color: var(--ink); line-height: 1.62; }
.contact-value a:hover { color: var(--brand); }

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  color: #128c7e;
}
.wa-link svg { width: 17px; height: 17px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; color: var(--muted); letter-spacing: .02em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 99, 206, .13);
}
.form-note { margin-top: 14px; font-size: .76rem; color: var(--dim); }

/* ==========================================================================
   Floating contact
   ========================================================================== */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .9);
  transition: transform .18s ease;
}
.float-contact a:hover { transform: translateY(-2px) scale(1.04); }
.float-contact a.mail { background: var(--brand); box-shadow: 0 10px 24px -10px rgba(11, 99, 206, .9); }
.float-contact svg { width: 24px; height: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #0a1a2b; color: rgba(255, 255, 255, .68); padding: clamp(44px, 5.5vw, 66px) 0 26px; font-size: .88rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: 96px; margin-bottom: 16px; }
.footer-brand .slogan { color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: .01em; }
.footer-brand p { margin-top: 10px; font-size: .82rem; color: rgba(255, 255, 255, .55); line-height: 1.7; max-width: 36ch; }

.footer-col h5 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: .82rem; color: rgba(255, 255, 255, .6); line-height: 1.7; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: .75rem;
  color: rgba(255, 255, 255, .42);
}

/* ==========================================================================
   Reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.instant { transition: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .flag:hover, .btn:hover, .cat-card:hover, .why:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .visual-plate { width: min(100%, 420px); }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flagship-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -28px rgba(11, 27, 43, .5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 12px 10px; font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .metrics > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .section-head--row { display: block; }
  .section-head--row .btn { margin-top: 18px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); }
  .visual-tag { position: static; margin: 12px 0 0; display: inline-block; }
  .cat-strip { grid-template-columns: 1fr; }
  .flagship-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .flag { grid-template-columns: 92px 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .float-contact { right: 14px; bottom: 14px; }
}
