/* ==========================================================================
   EAK — Electric Accuracy Keystone
   Local static prototype · maps 1:1 to the planned WordPress theme templates
   Frontend stack: semantic HTML5 + native CSS3 (variables/flex/grid) + vanilla JS
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --teal: #017E7F;          /* accessible action teal; logo asset remains unchanged */
  --teal-dark: #006A6B;
  --teal-600: #017678;
  --teal-soft: #E6F5F5;
  --teal-tint: #F1FAFA;

  /* Base / structure */
  --navy: #0B2038;          /* deep navy base */
  --navy-2: #0E2A47;
  --navy-3: #12365B;

  /* Ink & text */
  --ink: #10212E;
  --body: #46586B;
  --muted: #5B6B78;
  --line: #E4EAEF;
  --line-2: #EEF2F6;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FA;
  --bg-softer: #FAFCFD;

  /* Accent for high-visibility CTA */
  --cta: #C2410C;
  --cta-dark: #9A3412;

  /* Scale */
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11,32,56,.06), 0 1px 3px rgba(11,32,56,.05);
  --shadow: 0 4px 14px rgba(11,32,56,.06), 0 12px 32px rgba(11,32,56,.05);
  --shadow-lg: 0 10px 30px rgba(11,32,56,.10), 0 24px 60px rgba(11,32,56,.08);

  --ease: cubic-bezier(.2, .7, .3, 1);
  --header-h: 92px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #F59E0B;
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 60px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 14px 0 0; }
.section-head p { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; font-weight: 650; font-size: .95rem;
  border: 1.5px solid transparent; transition: all .2s var(--ease); white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(2,160,161,.25); }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(2,160,161,.3); }
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 6px 16px rgba(255,122,69,.28); }
.btn--cta:hover { background: var(--cta-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.18); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1eb958; transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); font-weight: 650; font-size: .92rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.brand .brand-sub { display: none; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: .93rem; color: #26384a; transition: all .18s var(--ease);
}
.main-nav a.nav-link:hover { color: var(--teal-dark); background: var(--teal-tint); }
.has-sub { position: relative; }
.has-sub > .nav-link svg { width: 13px; height: 13px; opacity: .55; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .2s var(--ease);
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .9rem; font-weight: 550; color: #33465a; }
.submenu a:hover { background: var(--teal-tint); color: var(--teal-dark); }
.submenu a small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  display: inline-flex; align-items: center; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8rem; font-weight: 650;
}
.lang-toggle button {
  border: 0; background: transparent; color: var(--muted); padding: 5px 11px; border-radius: 999px; transition: all .18s var(--ease);
}
.lang-toggle button.active { background: var(--teal); color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 82% -8%, rgba(2,160,161,.28), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(18,54,91,.55), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0a1a2f 100%);
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 80% at 50% 30%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 92px 100px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(2,160,161,.14); border: 1px solid rgba(2,160,161,.4); color: #7fe9ea;
  font-size: .8rem; font-weight: 650; letter-spacing: .02em; margin-bottom: 24px;
}
.hero-badge span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(2,160,161,.25); }
.hero-title { color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; }
.hero-title em { font-style: normal; color: #45d3d4; }
.hero-lead { margin-top: 22px; font-size: 1.13rem; color: #b9cad9; max-width: 540px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 44px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.9rem; color: #fff; font-weight: 800; letter-spacing: -.02em; }
.hero-stats .stat span { font-size: .84rem; color: #93a9bd; }

/* Hero visual (SVG server / liquid-cooling illustration) */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: 24px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card svg { width: 100%; height: auto; display: block; }
.hero-float {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--ink);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-float .pill { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; }
.hero-float .pill svg { width: 22px; height: 22px; }
.hero-float strong { display: block; font-size: .95rem; }
.hero-float span { font-size: .78rem; color: var(--muted); }

/* Hero carousel (≤3 rotating banners, native JS) */
.hero-carousel { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .6s var(--ease); }
.hero-slide { min-width: 100%; }
.hero-slide .hero-inner { padding-block: 78px 82px; }
.hero-arrow {
  position: absolute; top: 44%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: background .18s var(--ease);
}
.hero-arrow:hover { background: rgba(255,255,255,.2); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 6; }
.hero-dots button { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; transition: all .25s var(--ease); position: relative; }
.hero-dots button::after { content: ""; position: absolute; inset: 17px; border-radius: 50%; background: rgba(255,255,255,.5); transition: all .25s var(--ease); }
.hero-dots button.active { width: 44px; background: transparent; }
.hero-dots button.active::after { inset-inline: 9px; border-radius: 6px; background: #45d3d4; }
.hero-statsbar { position: relative; border-top: 1px solid rgba(255,255,255,.1); }
.hero-statsbar .hero-stats { margin-top: 0; padding-block: 24px; }

/* Logo marquee / trust bar */
.trust { border-bottom: 1px solid var(--line-2); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: 30px; padding-block: 22px; flex-wrap: wrap; }
.trust-label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-tags span {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem;
  color: #3d5163; font-weight: 600; background: var(--bg-softer);
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: all .22s var(--ease); position: relative;
}
.card:hover { border-color: rgba(2,160,161,.4); box-shadow: var(--shadow); transform: translateY(-3px); }

.icon-box {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-dark); margin-bottom: 18px;
}
.icon-box svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; }
.card p { margin-top: 10px; font-size: .96rem; color: var(--muted); }
.card .link-arrow { margin-top: 18px; }

/* Product cards with visual */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-media {
  aspect-ratio: 16 / 11; display: grid; place-items: center; position: relative;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(2,160,161,.12), transparent 55%),
    linear-gradient(160deg, #EEF4F8, #E2ECF1);
  border-bottom: 1px solid var(--line);
}
.product-media svg { width: 46%; height: auto; color: var(--navy-3); opacity: .9; }
.product-media .tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--teal-dark);
  font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em;
}
.product-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.14rem; }
.product-body .model { font-size: .8rem; color: var(--teal-dark); font-weight: 650; margin-top: 4px; letter-spacing: .02em; }
.product-body p { margin-top: 10px; font-size: .92rem; color: var(--muted); flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.product-tags span { font-size: .74rem; font-weight: 600; color: #4a5d6f; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 6px; }
.product-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Real product imagery ---------- */
/* 产品渲染图多为白底 -> contain 保证整机完整可见；实拍照片 -> cover 铺满 */
.product-media img, .blog-media img, .figure-box img, .pd-main-img img, .pd-thumb img, .app-bg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-media { overflow: hidden; }
.product-media img { transition: transform .55s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media img.contain,
.pd-main-img img.contain,
.figure-box img.contain,
.pd-thumb img.contain { object-fit: contain; }
.product-media img.contain { padding: 10px; }
.pd-main-img { overflow: hidden; }
.pd-main-img img.contain { padding: 18px; }
.pd-thumb { overflow: hidden; padding: 0; }
.pd-thumb img.contain { padding: 5px; }
.figure-box img { border-radius: 0; }

/* Hero banner image card (white spotlight on navy) */
.hero-card.has-img { padding: 0; overflow: hidden; background: #fff; border-color: rgba(255,255,255,.3); }
.hero-card.has-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; display: block; }

/* Application cards with photo background */
.app-card .app-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .38;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.app-card:hover .app-bg { transform: scale(1.06); opacity: .5; }
.app-card > *:not(.app-bg) { position: relative; z-index: 2; }
.app-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,32,56,.35) 0%, rgba(11,32,56,.88) 78%);
}

/* Application detail rows (photo + text) */
.app-row { padding: 0; overflow: hidden; display: grid; grid-template-columns: 380px 1fr; align-items: stretch; }
.app-row .app-row-media { position: relative; background: var(--bg-soft); min-height: 240px; }
.app-row .app-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.app-row .app-row-body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.app-row .app-row-body .icon-box { width: 52px; height: 52px; margin-bottom: 14px; }
.app-row:nth-child(even) .app-row-media { order: 2; }

/* Services */
.service-item { display: flex; gap: 16px; align-items: flex-start; }
.service-item .icon-box { flex-shrink: 0; margin-bottom: 0; }
.service-item h3 { font-size: 1.06rem; }
.service-item p { margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* Applications */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.app-card {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 220px;
  padding: 26px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(11,32,56,.15), rgba(11,32,56,.82)), linear-gradient(160deg, #1a4a6b, #0b2038);
  transition: transform .22s var(--ease);
}
.app-card:hover { transform: translateY(-3px); }
.app-card.feature { grid-column: span 2; grid-row: span 2; min-height: 300px; }
.app-card .app-ico { position: absolute; top: 22px; left: 24px; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.app-card .app-ico svg { width: 22px; height: 22px; color: #7fe9ea; }
.app-card h3 { color: #fff; font-size: 1.2rem; }
.app-card.feature h3 { font-size: 1.6rem; }
.app-card p { margin-top: 8px; font-size: .9rem; color: #c3d3e0; }
.app-card .link-arrow { color: #7fe9ea; margin-top: 14px; }

/* Dual-entity relationship */
.entity-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; }
.entity {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
}
.entity .flag { font-size: 1.6rem; }
.entity .role { display: inline-block; margin: 14px 0 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 10px; border-radius: 6px; }
.entity h3 { font-size: 1.16rem; }
.entity .est { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.entity p { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.entity-link {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(2,160,161,.35); z-index: 2; border: 3px solid #fff;
}
.entity-link svg { width: 22px; height: 22px; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; }
.why-item h3 { font-size: 1.04rem; }
.why-item p { margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* Process stepper */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step { text-align: center; position: relative; padding-top: 8px; }
.step .dot {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--teal); color: var(--teal-dark); font-weight: 800; position: relative; z-index: 2;
}
.step .dot svg { width: 24px; height: 24px; }
.steps::before { content: ""; position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: .4; }
.step h3 { font-size: 1rem; }
.step p { margin-top: 6px; font-size: .85rem; color: var(--muted); }

/* Blog cards */
.blog-card { padding: 0; overflow: hidden; }
.blog-media { aspect-ratio: 16/9; background: linear-gradient(160deg, #12365B, #0b2038); position: relative; }
.blog-media .cat { position: absolute; bottom: 14px; left: 16px; background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.blog-media .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(127,233,234,.5); }
.blog-media .glyph svg { width: 64px; height: 64px; }
.blog-body { padding: 22px 24px 26px; }
.blog-body time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.blog-body h3 { font-size: 1.1rem; margin-top: 8px; }
.blog-body p { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius-lg); padding: 56px; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(2,160,161,.35), transparent 65%); }
.cta-band .inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin-top: 12px; color: #b9cad9; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background:
    radial-gradient(800px 320px at 88% -20%, rgba(2,160,161,.25), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; padding: 54px 0 60px;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: #9fb3c6; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { margin-top: 14px; color: #b9cad9; max-width: 640px; font-size: 1.05rem; }

/* ==========================================================================
   Products listing page
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: .9rem; color: #3d5163; transition: all .18s var(--ease);
}
.filter-bar button.active, .filter-bar button:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Product detail */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main-img {
  aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(120% 120% at 80% 0%, rgba(2,160,161,.1), transparent 55%), linear-gradient(160deg, #EEF4F8, #E2ECF1);
}
.pd-main-img svg { width: 44%; color: var(--navy-3); }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pd-thumb { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; cursor: pointer; }
.pd-thumb svg { width: 46%; color: var(--muted); }
.pd-thumb.active { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(2,160,161,.2); }
.pd-info .model { color: var(--teal-dark); font-weight: 700; font-size: .9rem; letter-spacing: .03em; }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 14px; }
.pd-info .lead { font-size: 1.05rem; color: var(--body); }
.spec-list { margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-list .row { display: grid; grid-template-columns: 42% 58%; }
.spec-list .row:nth-child(odd) { background: var(--bg-soft); }
.spec-list .row > div { padding: 12px 18px; font-size: .92rem; }
.spec-list .row .k { color: var(--muted); font-weight: 600; border-right: 1px solid var(--line); }
.spec-list .row .v { color: var(--ink); font-weight: 600; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pd-note { margin-top: 20px; padding: 16px 18px; background: var(--teal-tint); border: 1px solid var(--teal-soft); border-radius: 10px; font-size: .9rem; color: #2c6465; display: flex; gap: 10px; }
.pd-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal-dark); }

/* Tabs (product long content) */
.tabs { margin-top: 60px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tab-nav button { padding: 14px 20px; background: none; border: 0; border-bottom: 2px solid transparent; font-weight: 650; color: var(--muted); font-size: .96rem; margin-bottom: -1px; }
.tab-nav button.active { color: var(--teal-dark); border-color: var(--teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .3s var(--ease); }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 4px; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   About page
   ========================================================================== */
.about-lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.figure-box {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3;
  background: radial-gradient(120% 120% at 80% 0%, rgba(2,160,161,.12), transparent 55%), linear-gradient(160deg, #EEF4F8, #DDE9EF);
  display: grid; place-items: center; color: var(--navy-3);
}
.figure-box svg { width: 40%; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.stat-card { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat-card strong { display: block; font-size: 2.2rem; color: var(--teal-dark); font-weight: 800; letter-spacing: -.02em; }
.stat-card span { font-size: .88rem; color: var(--muted); margin-top: 4px; display: block; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 1.02rem; }
.contact-card p { margin-top: 4px; font-size: .9rem; color: var(--muted); }
.contact-card a { color: var(--teal-dark); font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 650; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--cta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .95rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(2,160,161,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { display: none; color: #d64545; font-size: .8rem; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none; align-items: center; gap: 12px; padding: 16px 18px; background: #E9F9EF;
  border: 1px solid #B8E9C8; color: #1b7a3d; border-radius: 10px; margin-bottom: 20px; font-weight: 600; font-size: .92rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #a9bccd; padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 48px; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; color: #8ba1b5; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cdd9e4; transition: all .18s var(--ease); }
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: .9rem; color: #a9bccd; }
.footer-col a:hover { color: var(--teal); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: .88rem; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--teal); margin-top: 3px; }
.footer-contact strong { color: #dce6ee; font-weight: 650; display: block; font-size: .82rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: .84rem; color: #7c93a8; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--teal); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    max-height: calc(100dvh - var(--header-h));
    margin-left: 0;
    padding: 12px 24px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 13px 12px; justify-content: space-between; }
  .submenu {
    position: static;
    margin: 2px 0 6px 12px;
    padding: 2px 0;
    transform: none;
    visibility: visible;
    opacity: 1;
    border: 0;
    border-left: 2px solid var(--teal-soft);
    border-radius: 0;
    box-shadow: none;
  }
  .has-sub > .nav-link svg { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn.btn--cta { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 72px; }
  .hero-visual { max-width: 460px; }
  .grid-3, .grid-4, .grid-2, .why-grid { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .app-card.feature { grid-column: span 2; grid-row: auto; min-height: 240px; }
  .steps { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .steps::before { display: none; }
  .pd-grid, .about-lead, .contact-grid { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { padding: 40px; }
}

@media (max-width: 720px) {
  :root { --header-h: 82px; }
  .container { padding-inline: 20px; }
  .section { padding: 60px 0; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 24px 22px; box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 13px 12px; justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--teal-soft); border-radius: 0; margin: 2px 0 6px 12px; padding: 2px 0; }
  .has-sub > .nav-link svg { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 50px; max-width: 150px; object-fit: contain; }
  .header-inner { gap: 14px; }
  .header-actions { gap: 8px; margin-left: auto; }
  .lang-toggle button { min-height: 36px; padding-inline: 10px; }
  .header-actions .btn.btn--cta { display: none; }
  .grid-3, .grid-4, .grid-2, .why-grid, .app-grid, .form-row, .stat-row, .entity-wrap { grid-template-columns: 1fr; }
  .entity-link { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; }
  .hero-arrow { display: none; }
  .app-grid { grid-auto-rows: auto; gap: 16px; }
  .app-card,
  .app-card.feature {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    min-height: 260px;
    padding: 24px 22px;
  }
  .app-card.feature { min-height: 280px; }
  .app-card > *:not(.app-bg) { max-width: 100%; min-width: 0; }
  .app-card .app-ico { top: 20px; left: 22px; }
  .app-card h3,
  .app-card.feature h3 { width: 100%; font-size: 1.3rem; overflow-wrap: anywhere; }
  .app-card p { width: 100%; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
  .app-card .link-arrow { width: max-content; max-width: 100%; }
  .app-row { grid-template-columns: 1fr; }
  .app-row .app-row-media { min-height: 200px; }
  .app-row:nth-child(even) .app-row-media { order: 0; }
  .pd-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .pd-actions .btn { width: 100%; min-height: 52px; white-space: normal; text-align: center; }
  .spec-list .row > div { padding: 12px 14px; overflow-wrap: anywhere; }
  .footer-top { gap: 28px; }
  .site-footer { padding-top: 48px; }
  .footer-col h4 { margin-bottom: 12px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 430px) {
  .container { padding-inline: 18px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p { font-size: 1rem; }
  .brand img { height: 44px; max-width: 136px; }
  .header-inner { gap: 10px; }
  .lang-toggle { font-size: .76rem; }
  .lang-toggle button { padding-inline: 9px; }
  .nav-toggle { width: 44px; height: 44px; flex: 0 0 44px; }
  .main-nav { padding-inline: 18px; }
  .app-card,
  .app-card.feature { min-height: 250px; border-radius: 14px; }
  .hero-inner { padding-block: 52px 64px; }
  .cta-band { padding: 28px 20px; }
  .pd-note { align-items: flex-start; }
}

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